Class AccountBudget
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite
-
- com.google.protobuf.AbstractMessage
-
- com.google.protobuf.GeneratedMessageV3
-
- com.google.ads.googleads.v10.resources.AccountBudget
-
- All Implemented Interfaces:
AccountBudgetOrBuilder,com.google.protobuf.Message,com.google.protobuf.MessageLite,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,java.io.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 (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- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classAccountBudget.AdjustedSpendingLimitCasestatic classAccountBudget.ApprovedEndTimeCasestatic classAccountBudget.ApprovedSpendingLimitCasestatic classAccountBudget.BuilderAn account-level budget.static classAccountBudget.PendingAccountBudgetProposalA pending proposal associated with the enclosing account-level budget, if applicable.static interfaceAccountBudget.PendingAccountBudgetProposalOrBuilderstatic classAccountBudget.ProposedEndTimeCasestatic classAccountBudget.ProposedSpendingLimitCase-
Nested classes/interfaces inherited from class com.google.protobuf.GeneratedMessageV3
com.google.protobuf.GeneratedMessageV3.BuilderParent, com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage,BuilderType extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageType,BuilderType>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage>, com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage>, com.google.protobuf.GeneratedMessageV3.FieldAccessorTable, com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter
-
-
Field Summary
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(java.lang.Object obj)AccountBudget.AdjustedSpendingLimitCasegetAdjustedSpendingLimitCase()longgetAdjustedSpendingLimitMicros()Output only.SpendingLimitTypeEnum.SpendingLimitTypegetAdjustedSpendingLimitType()Output only.intgetAdjustedSpendingLimitTypeValue()Output only.longgetAmountServedMicros()Output only.java.lang.StringgetApprovedEndDateTime()Output only.com.google.protobuf.ByteStringgetApprovedEndDateTimeBytes()Output only.AccountBudget.ApprovedEndTimeCasegetApprovedEndTimeCase()TimeTypeEnum.TimeTypegetApprovedEndTimeType()Output only.intgetApprovedEndTimeTypeValue()Output only.AccountBudget.ApprovedSpendingLimitCasegetApprovedSpendingLimitCase()longgetApprovedSpendingLimitMicros()Output only.SpendingLimitTypeEnum.SpendingLimitTypegetApprovedSpendingLimitType()Output only.intgetApprovedSpendingLimitTypeValue()Output only.java.lang.StringgetApprovedStartDateTime()Output only.com.google.protobuf.ByteStringgetApprovedStartDateTimeBytes()Output only.java.lang.StringgetBillingSetup()Output only.com.google.protobuf.ByteStringgetBillingSetupBytes()Output only.static AccountBudgetgetDefaultInstance()AccountBudgetgetDefaultInstanceForType()static com.google.protobuf.Descriptors.DescriptorgetDescriptor()longgetId()Output only.java.lang.StringgetName()Output only.com.google.protobuf.ByteStringgetNameBytes()Output only.java.lang.StringgetNotes()Output only.com.google.protobuf.ByteStringgetNotesBytes()Output only.com.google.protobuf.Parser<AccountBudget>getParserForType()AccountBudget.PendingAccountBudgetProposalgetPendingProposal()Output only.AccountBudget.PendingAccountBudgetProposalOrBuildergetPendingProposalOrBuilder()Output only.java.lang.StringgetProposedEndDateTime()Output only.com.google.protobuf.ByteStringgetProposedEndDateTimeBytes()Output only.AccountBudget.ProposedEndTimeCasegetProposedEndTimeCase()TimeTypeEnum.TimeTypegetProposedEndTimeType()Output only.intgetProposedEndTimeTypeValue()Output only.AccountBudget.ProposedSpendingLimitCasegetProposedSpendingLimitCase()longgetProposedSpendingLimitMicros()Output only.SpendingLimitTypeEnum.SpendingLimitTypegetProposedSpendingLimitType()Output only.intgetProposedSpendingLimitTypeValue()Output only.java.lang.StringgetProposedStartDateTime()Output only.com.google.protobuf.ByteStringgetProposedStartDateTimeBytes()Output only.java.lang.StringgetPurchaseOrderNumber()Output only.com.google.protobuf.ByteStringgetPurchaseOrderNumberBytes()Output only.java.lang.StringgetResourceName()Output only.com.google.protobuf.ByteStringgetResourceNameBytes()Output only.intgetSerializedSize()AccountBudgetStatusEnum.AccountBudgetStatusgetStatus()Output only.intgetStatusValue()Output only.longgetTotalAdjustmentsMicros()Output only.com.google.protobuf.UnknownFieldSetgetUnknownFields()booleanhasAdjustedSpendingLimitMicros()Output only.booleanhasAdjustedSpendingLimitType()Output only.booleanhasApprovedEndDateTime()Output only.booleanhasApprovedEndTimeType()Output only.booleanhasApprovedSpendingLimitMicros()Output only.booleanhasApprovedSpendingLimitType()Output only.booleanhasApprovedStartDateTime()Output only.booleanhasBillingSetup()Output only.inthashCode()booleanhasId()Output only.booleanhasName()Output only.booleanhasNotes()Output only.booleanhasPendingProposal()Output only.booleanhasProposedEndDateTime()Output only.booleanhasProposedEndTimeType()Output only.booleanhasProposedSpendingLimitMicros()Output only.booleanhasProposedSpendingLimitType()Output only.booleanhasProposedStartDateTime()Output only.booleanhasPurchaseOrderNumber()Output only.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()booleanisInitialized()static AccountBudget.BuildernewBuilder()static AccountBudget.BuildernewBuilder(AccountBudget prototype)AccountBudget.BuildernewBuilderForType()protected AccountBudget.BuildernewBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)protected java.lang.ObjectnewInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)static AccountBudgetparseDelimitedFrom(java.io.InputStream input)static AccountBudgetparseDelimitedFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static AccountBudgetparseFrom(byte[] data)static AccountBudgetparseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static AccountBudgetparseFrom(com.google.protobuf.ByteString data)static AccountBudgetparseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static AccountBudgetparseFrom(com.google.protobuf.CodedInputStream input)static AccountBudgetparseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static AccountBudgetparseFrom(java.io.InputStream input)static AccountBudgetparseFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static AccountBudgetparseFrom(java.nio.ByteBuffer data)static AccountBudgetparseFrom(java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static com.google.protobuf.Parser<AccountBudget>parser()AccountBudget.BuildertoBuilder()voidwriteTo(com.google.protobuf.CodedOutputStream output)-
Methods inherited from class com.google.protobuf.GeneratedMessageV3
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, hasField, hasOneof, internalGetMapField, isStringEmpty, makeExtensionsImmutable, mergeFromAndMakeImmutableInternal, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, newBooleanList, newBuilderForType, newDoubleList, newFloatList, newIntList, newLongList, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTag
-
Methods inherited from class com.google.protobuf.AbstractMessage
findInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toString
-
Methods inherited from class com.google.protobuf.AbstractMessageLite
addAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeTo
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
-
-
-
Field Detail
-
RESOURCE_NAME_FIELD_NUMBER
public static final int RESOURCE_NAME_FIELD_NUMBER
- See Also:
- Constant Field Values
-
ID_FIELD_NUMBER
public static final int ID_FIELD_NUMBER
- See Also:
- Constant Field Values
-
BILLING_SETUP_FIELD_NUMBER
public static final int BILLING_SETUP_FIELD_NUMBER
- See Also:
- Constant Field Values
-
STATUS_FIELD_NUMBER
public static final int STATUS_FIELD_NUMBER
- See Also:
- Constant Field Values
-
NAME_FIELD_NUMBER
public static final int NAME_FIELD_NUMBER
- See Also:
- Constant Field Values
-
PROPOSED_START_DATE_TIME_FIELD_NUMBER
public static final int PROPOSED_START_DATE_TIME_FIELD_NUMBER
- See Also:
- Constant Field Values
-
APPROVED_START_DATE_TIME_FIELD_NUMBER
public static final int APPROVED_START_DATE_TIME_FIELD_NUMBER
- See Also:
- Constant Field Values
-
TOTAL_ADJUSTMENTS_MICROS_FIELD_NUMBER
public static final int TOTAL_ADJUSTMENTS_MICROS_FIELD_NUMBER
- See Also:
- Constant Field Values
-
AMOUNT_SERVED_MICROS_FIELD_NUMBER
public static final int AMOUNT_SERVED_MICROS_FIELD_NUMBER
- See Also:
- Constant Field Values
-
PURCHASE_ORDER_NUMBER_FIELD_NUMBER
public static final int PURCHASE_ORDER_NUMBER_FIELD_NUMBER
- See Also:
- Constant Field Values
-
NOTES_FIELD_NUMBER
public static final int NOTES_FIELD_NUMBER
- See Also:
- Constant Field Values
-
PENDING_PROPOSAL_FIELD_NUMBER
public static final int PENDING_PROPOSAL_FIELD_NUMBER
- See Also:
- Constant Field Values
-
PROPOSED_END_DATE_TIME_FIELD_NUMBER
public static final int PROPOSED_END_DATE_TIME_FIELD_NUMBER
- See Also:
- Constant Field Values
-
PROPOSED_END_TIME_TYPE_FIELD_NUMBER
public static final int PROPOSED_END_TIME_TYPE_FIELD_NUMBER
- See Also:
- Constant Field Values
-
APPROVED_END_DATE_TIME_FIELD_NUMBER
public static final int APPROVED_END_DATE_TIME_FIELD_NUMBER
- See Also:
- Constant Field Values
-
APPROVED_END_TIME_TYPE_FIELD_NUMBER
public static final int APPROVED_END_TIME_TYPE_FIELD_NUMBER
- See Also:
- Constant Field Values
-
PROPOSED_SPENDING_LIMIT_MICROS_FIELD_NUMBER
public static final int PROPOSED_SPENDING_LIMIT_MICROS_FIELD_NUMBER
- See Also:
- Constant Field Values
-
PROPOSED_SPENDING_LIMIT_TYPE_FIELD_NUMBER
public static final int PROPOSED_SPENDING_LIMIT_TYPE_FIELD_NUMBER
- See Also:
- Constant Field Values
-
APPROVED_SPENDING_LIMIT_MICROS_FIELD_NUMBER
public static final int APPROVED_SPENDING_LIMIT_MICROS_FIELD_NUMBER
- See Also:
- Constant Field Values
-
APPROVED_SPENDING_LIMIT_TYPE_FIELD_NUMBER
public static final int APPROVED_SPENDING_LIMIT_TYPE_FIELD_NUMBER
- See Also:
- Constant Field Values
-
ADJUSTED_SPENDING_LIMIT_MICROS_FIELD_NUMBER
public static final int ADJUSTED_SPENDING_LIMIT_MICROS_FIELD_NUMBER
- See Also:
- Constant Field Values
-
ADJUSTED_SPENDING_LIMIT_TYPE_FIELD_NUMBER
public static final int ADJUSTED_SPENDING_LIMIT_TYPE_FIELD_NUMBER
- See Also:
- Constant Field Values
-
-
Method Detail
-
newInstance
protected java.lang.Object newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
- Overrides:
newInstancein classcom.google.protobuf.GeneratedMessageV3
-
getUnknownFields
public final com.google.protobuf.UnknownFieldSet getUnknownFields()
- Specified by:
getUnknownFieldsin interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3
-
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
-
getProposedEndTimeCase
public AccountBudget.ProposedEndTimeCase getProposedEndTimeCase()
- Specified by:
getProposedEndTimeCasein interfaceAccountBudgetOrBuilder
-
getApprovedEndTimeCase
public AccountBudget.ApprovedEndTimeCase getApprovedEndTimeCase()
- Specified by:
getApprovedEndTimeCasein interfaceAccountBudgetOrBuilder
-
getProposedSpendingLimitCase
public AccountBudget.ProposedSpendingLimitCase getProposedSpendingLimitCase()
- Specified by:
getProposedSpendingLimitCasein interfaceAccountBudgetOrBuilder
-
getApprovedSpendingLimitCase
public AccountBudget.ApprovedSpendingLimitCase getApprovedSpendingLimitCase()
- Specified by:
getApprovedSpendingLimitCasein interfaceAccountBudgetOrBuilder
-
getAdjustedSpendingLimitCase
public AccountBudget.AdjustedSpendingLimitCase getAdjustedSpendingLimitCase()
- Specified by:
getAdjustedSpendingLimitCasein interfaceAccountBudgetOrBuilder
-
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.
-
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.
-
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.
-
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.
-
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.
-
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.
-
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.
-
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.
-
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.
-
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.
-
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.
-
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.
-
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.
-
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.
-
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.
-
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.
-
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.
-
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.
-
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.
-
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.
-
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.
-
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.
-
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.
-
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.
-
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.
-
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.
-
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.
-
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.
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3
-
writeTo
public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException- Specified by:
writeToin interfacecom.google.protobuf.MessageLite- Overrides:
writeToin classcom.google.protobuf.GeneratedMessageV3- Throws:
java.io.IOException
-
getSerializedSize
public int getSerializedSize()
- Specified by:
getSerializedSizein interfacecom.google.protobuf.MessageLite- Overrides:
getSerializedSizein classcom.google.protobuf.GeneratedMessageV3
-
equals
public boolean equals(java.lang.Object obj)
- Specified by:
equalsin interfacecom.google.protobuf.Message- Overrides:
equalsin classcom.google.protobuf.AbstractMessage
-
hashCode
public int hashCode()
- Specified by:
hashCodein interfacecom.google.protobuf.Message- Overrides:
hashCodein classcom.google.protobuf.AbstractMessage
-
parseFrom
public static AccountBudget parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static AccountBudget parseFrom(java.nio.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(java.io.InputStream input) throws java.io.IOException
- Throws:
java.io.IOException
-
parseFrom
public static AccountBudget parseFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
- Throws:
java.io.IOException
-
parseDelimitedFrom
public static AccountBudget parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException
- Throws:
java.io.IOException
-
parseDelimitedFrom
public static AccountBudget parseDelimitedFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
- Throws:
java.io.IOException
-
parseFrom
public static AccountBudget parseFrom(com.google.protobuf.CodedInputStream input) throws java.io.IOException
- Throws:
java.io.IOException
-
parseFrom
public static AccountBudget parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
- Throws:
java.io.IOException
-
newBuilderForType
public AccountBudget.Builder newBuilderForType()
- Specified by:
newBuilderForTypein interfacecom.google.protobuf.Message- Specified by:
newBuilderForTypein interfacecom.google.protobuf.MessageLite
-
newBuilder
public static AccountBudget.Builder newBuilder()
-
newBuilder
public static AccountBudget.Builder newBuilder(AccountBudget prototype)
-
toBuilder
public AccountBudget.Builder toBuilder()
- Specified by:
toBuilderin interfacecom.google.protobuf.Message- Specified by:
toBuilderin interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected AccountBudget.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
- Specified by:
newBuilderForTypein classcom.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:
getParserForTypein interfacecom.google.protobuf.Message- Specified by:
getParserForTypein interfacecom.google.protobuf.MessageLite- Overrides:
getParserForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstanceForType
public AccountBudget getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
-