Class AccountBudget.PendingAccountBudgetProposal.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder
-
- com.google.protobuf.AbstractMessage.Builder<BuilderType>
-
- com.google.protobuf.GeneratedMessageV3.Builder<AccountBudget.PendingAccountBudgetProposal.Builder>
-
- com.google.ads.googleads.v9.resources.AccountBudget.PendingAccountBudgetProposal.Builder
-
- All Implemented Interfaces:
AccountBudget.PendingAccountBudgetProposalOrBuilder
,com.google.protobuf.Message.Builder
,com.google.protobuf.MessageLite.Builder
,com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
,java.lang.Cloneable
- Enclosing class:
- AccountBudget.PendingAccountBudgetProposal
public static final class AccountBudget.PendingAccountBudgetProposal.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<AccountBudget.PendingAccountBudgetProposal.Builder> implements AccountBudget.PendingAccountBudgetProposalOrBuilder
A pending proposal associated with the enclosing account-level budget, if applicable.
Protobuf typegoogle.ads.googleads.v9.resources.AccountBudget.PendingAccountBudgetProposal
-
-
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:
internalGetFieldAccessorTable
in classcom.google.protobuf.GeneratedMessageV3.Builder<AccountBudget.PendingAccountBudgetProposal.Builder>
-
clear
public AccountBudget.PendingAccountBudgetProposal.Builder clear()
- Specified by:
clear
in interfacecom.google.protobuf.Message.Builder
- Specified by:
clear
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
clear
in classcom.google.protobuf.GeneratedMessageV3.Builder<AccountBudget.PendingAccountBudgetProposal.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.Message.Builder
- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.MessageOrBuilder
- Overrides:
getDescriptorForType
in classcom.google.protobuf.GeneratedMessageV3.Builder<AccountBudget.PendingAccountBudgetProposal.Builder>
-
getDefaultInstanceForType
public AccountBudget.PendingAccountBudgetProposal getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-
build
public AccountBudget.PendingAccountBudgetProposal build()
- Specified by:
build
in interfacecom.google.protobuf.Message.Builder
- Specified by:
build
in interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public AccountBudget.PendingAccountBudgetProposal buildPartial()
- Specified by:
buildPartial
in interfacecom.google.protobuf.Message.Builder
- Specified by:
buildPartial
in interfacecom.google.protobuf.MessageLite.Builder
-
clone
public AccountBudget.PendingAccountBudgetProposal.Builder clone()
- Specified by:
clone
in interfacecom.google.protobuf.Message.Builder
- Specified by:
clone
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
clone
in classcom.google.protobuf.GeneratedMessageV3.Builder<AccountBudget.PendingAccountBudgetProposal.Builder>
-
setField
public AccountBudget.PendingAccountBudgetProposal.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)
- Specified by:
setField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setField
in classcom.google.protobuf.GeneratedMessageV3.Builder<AccountBudget.PendingAccountBudgetProposal.Builder>
-
clearField
public AccountBudget.PendingAccountBudgetProposal.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
- Specified by:
clearField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
clearField
in classcom.google.protobuf.GeneratedMessageV3.Builder<AccountBudget.PendingAccountBudgetProposal.Builder>
-
clearOneof
public AccountBudget.PendingAccountBudgetProposal.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
- Specified by:
clearOneof
in interfacecom.google.protobuf.Message.Builder
- Overrides:
clearOneof
in classcom.google.protobuf.GeneratedMessageV3.Builder<AccountBudget.PendingAccountBudgetProposal.Builder>
-
setRepeatedField
public AccountBudget.PendingAccountBudgetProposal.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value)
- Specified by:
setRepeatedField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setRepeatedField
in classcom.google.protobuf.GeneratedMessageV3.Builder<AccountBudget.PendingAccountBudgetProposal.Builder>
-
addRepeatedField
public AccountBudget.PendingAccountBudgetProposal.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)
- Specified by:
addRepeatedField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
addRepeatedField
in classcom.google.protobuf.GeneratedMessageV3.Builder<AccountBudget.PendingAccountBudgetProposal.Builder>
-
mergeFrom
public AccountBudget.PendingAccountBudgetProposal.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<AccountBudget.PendingAccountBudgetProposal.Builder>
-
mergeFrom
public AccountBudget.PendingAccountBudgetProposal.Builder mergeFrom(AccountBudget.PendingAccountBudgetProposal other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in classcom.google.protobuf.GeneratedMessageV3.Builder<AccountBudget.PendingAccountBudgetProposal.Builder>
-
mergeFrom
public AccountBudget.PendingAccountBudgetProposal.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Specified by:
mergeFrom
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<AccountBudget.PendingAccountBudgetProposal.Builder>
- Throws:
java.io.IOException
-
getEndTimeCase
public AccountBudget.PendingAccountBudgetProposal.EndTimeCase getEndTimeCase()
- Specified by:
getEndTimeCase
in interfaceAccountBudget.PendingAccountBudgetProposalOrBuilder
-
clearEndTime
public AccountBudget.PendingAccountBudgetProposal.Builder clearEndTime()
-
getSpendingLimitCase
public AccountBudget.PendingAccountBudgetProposal.SpendingLimitCase getSpendingLimitCase()
- Specified by:
getSpendingLimitCase
in interfaceAccountBudget.PendingAccountBudgetProposalOrBuilder
-
clearSpendingLimit
public AccountBudget.PendingAccountBudgetProposal.Builder clearSpendingLimit()
-
hasAccountBudgetProposal
public boolean hasAccountBudgetProposal()
Output only. The resource name of the proposal. AccountBudgetProposal resource names have the form: `customers/{customer_id}/accountBudgetProposals/{account_budget_proposal_id}`
optional string account_budget_proposal = 12 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }
- Specified by:
hasAccountBudgetProposal
in interfaceAccountBudget.PendingAccountBudgetProposalOrBuilder
- Returns:
- Whether the accountBudgetProposal field is set.
-
getAccountBudgetProposal
public java.lang.String getAccountBudgetProposal()
Output only. The resource name of the proposal. AccountBudgetProposal resource names have the form: `customers/{customer_id}/accountBudgetProposals/{account_budget_proposal_id}`
optional string account_budget_proposal = 12 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }
- Specified by:
getAccountBudgetProposal
in interfaceAccountBudget.PendingAccountBudgetProposalOrBuilder
- Returns:
- The accountBudgetProposal.
-
getAccountBudgetProposalBytes
public com.google.protobuf.ByteString getAccountBudgetProposalBytes()
Output only. The resource name of the proposal. AccountBudgetProposal resource names have the form: `customers/{customer_id}/accountBudgetProposals/{account_budget_proposal_id}`
optional string account_budget_proposal = 12 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }
- Specified by:
getAccountBudgetProposalBytes
in interfaceAccountBudget.PendingAccountBudgetProposalOrBuilder
- Returns:
- The bytes for accountBudgetProposal.
-
setAccountBudgetProposal
public AccountBudget.PendingAccountBudgetProposal.Builder setAccountBudgetProposal(java.lang.String value)
Output only. The resource name of the proposal. AccountBudgetProposal resource names have the form: `customers/{customer_id}/accountBudgetProposals/{account_budget_proposal_id}`
optional string account_budget_proposal = 12 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }
- Parameters:
value
- The accountBudgetProposal to set.- Returns:
- This builder for chaining.
-
clearAccountBudgetProposal
public AccountBudget.PendingAccountBudgetProposal.Builder clearAccountBudgetProposal()
Output only. The resource name of the proposal. AccountBudgetProposal resource names have the form: `customers/{customer_id}/accountBudgetProposals/{account_budget_proposal_id}`
optional string account_budget_proposal = 12 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }
- Returns:
- This builder for chaining.
-
setAccountBudgetProposalBytes
public AccountBudget.PendingAccountBudgetProposal.Builder setAccountBudgetProposalBytes(com.google.protobuf.ByteString value)
Output only. The resource name of the proposal. AccountBudgetProposal resource names have the form: `customers/{customer_id}/accountBudgetProposals/{account_budget_proposal_id}`
optional string account_budget_proposal = 12 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }
- Parameters:
value
- The bytes for accountBudgetProposal to set.- Returns:
- This builder for chaining.
-
getProposalTypeValue
public int getProposalTypeValue()
Output only. The type of this proposal, e.g. END to end the budget associated with this proposal.
.google.ads.googleads.v9.enums.AccountBudgetProposalTypeEnum.AccountBudgetProposalType proposal_type = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Specified by:
getProposalTypeValue
in interfaceAccountBudget.PendingAccountBudgetProposalOrBuilder
- Returns:
- The enum numeric value on the wire for proposalType.
-
setProposalTypeValue
public AccountBudget.PendingAccountBudgetProposal.Builder setProposalTypeValue(int value)
Output only. The type of this proposal, e.g. END to end the budget associated with this proposal.
.google.ads.googleads.v9.enums.AccountBudgetProposalTypeEnum.AccountBudgetProposalType proposal_type = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Parameters:
value
- The enum numeric value on the wire for proposalType to set.- Returns:
- This builder for chaining.
-
getProposalType
public AccountBudgetProposalTypeEnum.AccountBudgetProposalType getProposalType()
Output only. The type of this proposal, e.g. END to end the budget associated with this proposal.
.google.ads.googleads.v9.enums.AccountBudgetProposalTypeEnum.AccountBudgetProposalType proposal_type = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Specified by:
getProposalType
in interfaceAccountBudget.PendingAccountBudgetProposalOrBuilder
- Returns:
- The proposalType.
-
setProposalType
public AccountBudget.PendingAccountBudgetProposal.Builder setProposalType(AccountBudgetProposalTypeEnum.AccountBudgetProposalType value)
Output only. The type of this proposal, e.g. END to end the budget associated with this proposal.
.google.ads.googleads.v9.enums.AccountBudgetProposalTypeEnum.AccountBudgetProposalType proposal_type = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Parameters:
value
- The proposalType to set.- Returns:
- This builder for chaining.
-
clearProposalType
public AccountBudget.PendingAccountBudgetProposal.Builder clearProposalType()
Output only. The type of this proposal, e.g. END to end the budget associated with this proposal.
.google.ads.googleads.v9.enums.AccountBudgetProposalTypeEnum.AccountBudgetProposalType proposal_type = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Returns:
- This builder for chaining.
-
hasName
public boolean hasName()
Output only. The name to assign to the account-level budget.
optional string name = 13 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Specified by:
hasName
in interfaceAccountBudget.PendingAccountBudgetProposalOrBuilder
- Returns:
- Whether the name field is set.
-
getName
public java.lang.String getName()
Output only. The name to assign to the account-level budget.
optional string name = 13 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Specified by:
getName
in interfaceAccountBudget.PendingAccountBudgetProposalOrBuilder
- Returns:
- The name.
-
getNameBytes
public com.google.protobuf.ByteString getNameBytes()
Output only. The name to assign to the account-level budget.
optional string name = 13 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Specified by:
getNameBytes
in interfaceAccountBudget.PendingAccountBudgetProposalOrBuilder
- Returns:
- The bytes for name.
-
setName
public AccountBudget.PendingAccountBudgetProposal.Builder setName(java.lang.String value)
Output only. The name to assign to the account-level budget.
optional string name = 13 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Parameters:
value
- The name to set.- Returns:
- This builder for chaining.
-
clearName
public AccountBudget.PendingAccountBudgetProposal.Builder clearName()
Output only. The name to assign to the account-level budget.
optional string name = 13 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Returns:
- This builder for chaining.
-
setNameBytes
public AccountBudget.PendingAccountBudgetProposal.Builder setNameBytes(com.google.protobuf.ByteString value)
Output only. The name to assign to the account-level budget.
optional string name = 13 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Parameters:
value
- The bytes for name to set.- Returns:
- This builder for chaining.
-
hasStartDateTime
public boolean hasStartDateTime()
Output only. The start time in yyyy-MM-dd HH:mm:ss format.
optional string start_date_time = 14 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Specified by:
hasStartDateTime
in interfaceAccountBudget.PendingAccountBudgetProposalOrBuilder
- Returns:
- Whether the startDateTime field is set.
-
getStartDateTime
public java.lang.String getStartDateTime()
Output only. The start time in yyyy-MM-dd HH:mm:ss format.
optional string start_date_time = 14 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Specified by:
getStartDateTime
in interfaceAccountBudget.PendingAccountBudgetProposalOrBuilder
- Returns:
- The startDateTime.
-
getStartDateTimeBytes
public com.google.protobuf.ByteString getStartDateTimeBytes()
Output only. The start time in yyyy-MM-dd HH:mm:ss format.
optional string start_date_time = 14 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Specified by:
getStartDateTimeBytes
in interfaceAccountBudget.PendingAccountBudgetProposalOrBuilder
- Returns:
- The bytes for startDateTime.
-
setStartDateTime
public AccountBudget.PendingAccountBudgetProposal.Builder setStartDateTime(java.lang.String value)
Output only. The start time in yyyy-MM-dd HH:mm:ss format.
optional string start_date_time = 14 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Parameters:
value
- The startDateTime to set.- Returns:
- This builder for chaining.
-
clearStartDateTime
public AccountBudget.PendingAccountBudgetProposal.Builder clearStartDateTime()
Output only. The start time in yyyy-MM-dd HH:mm:ss format.
optional string start_date_time = 14 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Returns:
- This builder for chaining.
-
setStartDateTimeBytes
public AccountBudget.PendingAccountBudgetProposal.Builder setStartDateTimeBytes(com.google.protobuf.ByteString value)
Output only. The start time in yyyy-MM-dd HH:mm:ss format.
optional string start_date_time = 14 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Parameters:
value
- The bytes for startDateTime to set.- 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 = 17 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Specified by:
hasPurchaseOrderNumber
in interfaceAccountBudget.PendingAccountBudgetProposalOrBuilder
- 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 = 17 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Specified by:
getPurchaseOrderNumber
in interfaceAccountBudget.PendingAccountBudgetProposalOrBuilder
- 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 = 17 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Specified by:
getPurchaseOrderNumberBytes
in interfaceAccountBudget.PendingAccountBudgetProposalOrBuilder
- Returns:
- The bytes for purchaseOrderNumber.
-
setPurchaseOrderNumber
public AccountBudget.PendingAccountBudgetProposal.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 = 17 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Parameters:
value
- The purchaseOrderNumber to set.- Returns:
- This builder for chaining.
-
clearPurchaseOrderNumber
public AccountBudget.PendingAccountBudgetProposal.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 = 17 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Returns:
- This builder for chaining.
-
setPurchaseOrderNumberBytes
public AccountBudget.PendingAccountBudgetProposal.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 = 17 [(.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 this budget.
optional string notes = 18 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Specified by:
hasNotes
in interfaceAccountBudget.PendingAccountBudgetProposalOrBuilder
- Returns:
- Whether the notes field is set.
-
getNotes
public java.lang.String getNotes()
Output only. Notes associated with this budget.
optional string notes = 18 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Specified by:
getNotes
in interfaceAccountBudget.PendingAccountBudgetProposalOrBuilder
- Returns:
- The notes.
-
getNotesBytes
public com.google.protobuf.ByteString getNotesBytes()
Output only. Notes associated with this budget.
optional string notes = 18 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Specified by:
getNotesBytes
in interfaceAccountBudget.PendingAccountBudgetProposalOrBuilder
- Returns:
- The bytes for notes.
-
setNotes
public AccountBudget.PendingAccountBudgetProposal.Builder setNotes(java.lang.String value)
Output only. Notes associated with this budget.
optional string notes = 18 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Parameters:
value
- The notes to set.- Returns:
- This builder for chaining.
-
clearNotes
public AccountBudget.PendingAccountBudgetProposal.Builder clearNotes()
Output only. Notes associated with this budget.
optional string notes = 18 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Returns:
- This builder for chaining.
-
setNotesBytes
public AccountBudget.PendingAccountBudgetProposal.Builder setNotesBytes(com.google.protobuf.ByteString value)
Output only. Notes associated with this budget.
optional string notes = 18 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Parameters:
value
- The bytes for notes to set.- Returns:
- This builder for chaining.
-
hasCreationDateTime
public boolean hasCreationDateTime()
Output only. The time when this account-level budget proposal was created. Formatted as yyyy-MM-dd HH:mm:ss.
optional string creation_date_time = 19 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Specified by:
hasCreationDateTime
in interfaceAccountBudget.PendingAccountBudgetProposalOrBuilder
- Returns:
- Whether the creationDateTime field is set.
-
getCreationDateTime
public java.lang.String getCreationDateTime()
Output only. The time when this account-level budget proposal was created. Formatted as yyyy-MM-dd HH:mm:ss.
optional string creation_date_time = 19 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Specified by:
getCreationDateTime
in interfaceAccountBudget.PendingAccountBudgetProposalOrBuilder
- Returns:
- The creationDateTime.
-
getCreationDateTimeBytes
public com.google.protobuf.ByteString getCreationDateTimeBytes()
Output only. The time when this account-level budget proposal was created. Formatted as yyyy-MM-dd HH:mm:ss.
optional string creation_date_time = 19 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Specified by:
getCreationDateTimeBytes
in interfaceAccountBudget.PendingAccountBudgetProposalOrBuilder
- Returns:
- The bytes for creationDateTime.
-
setCreationDateTime
public AccountBudget.PendingAccountBudgetProposal.Builder setCreationDateTime(java.lang.String value)
Output only. The time when this account-level budget proposal was created. Formatted as yyyy-MM-dd HH:mm:ss.
optional string creation_date_time = 19 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Parameters:
value
- The creationDateTime to set.- Returns:
- This builder for chaining.
-
clearCreationDateTime
public AccountBudget.PendingAccountBudgetProposal.Builder clearCreationDateTime()
Output only. The time when this account-level budget proposal was created. Formatted as yyyy-MM-dd HH:mm:ss.
optional string creation_date_time = 19 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Returns:
- This builder for chaining.
-
setCreationDateTimeBytes
public AccountBudget.PendingAccountBudgetProposal.Builder setCreationDateTimeBytes(com.google.protobuf.ByteString value)
Output only. The time when this account-level budget proposal was created. Formatted as yyyy-MM-dd HH:mm:ss.
optional string creation_date_time = 19 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Parameters:
value
- The bytes for creationDateTime to set.- Returns:
- This builder for chaining.
-
hasEndDateTime
public boolean hasEndDateTime()
Output only. The end time in yyyy-MM-dd HH:mm:ss format.
string end_date_time = 15 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Specified by:
hasEndDateTime
in interfaceAccountBudget.PendingAccountBudgetProposalOrBuilder
- Returns:
- Whether the endDateTime field is set.
-
getEndDateTime
public java.lang.String getEndDateTime()
Output only. The end time in yyyy-MM-dd HH:mm:ss format.
string end_date_time = 15 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Specified by:
getEndDateTime
in interfaceAccountBudget.PendingAccountBudgetProposalOrBuilder
- Returns:
- The endDateTime.
-
getEndDateTimeBytes
public com.google.protobuf.ByteString getEndDateTimeBytes()
Output only. The end time in yyyy-MM-dd HH:mm:ss format.
string end_date_time = 15 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Specified by:
getEndDateTimeBytes
in interfaceAccountBudget.PendingAccountBudgetProposalOrBuilder
- Returns:
- The bytes for endDateTime.
-
setEndDateTime
public AccountBudget.PendingAccountBudgetProposal.Builder setEndDateTime(java.lang.String value)
Output only. The end time in yyyy-MM-dd HH:mm:ss format.
string end_date_time = 15 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Parameters:
value
- The endDateTime to set.- Returns:
- This builder for chaining.
-
clearEndDateTime
public AccountBudget.PendingAccountBudgetProposal.Builder clearEndDateTime()
Output only. The end time in yyyy-MM-dd HH:mm:ss format.
string end_date_time = 15 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Returns:
- This builder for chaining.
-
setEndDateTimeBytes
public AccountBudget.PendingAccountBudgetProposal.Builder setEndDateTimeBytes(com.google.protobuf.ByteString value)
Output only. The end time in yyyy-MM-dd HH:mm:ss format.
string end_date_time = 15 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Parameters:
value
- The bytes for endDateTime to set.- Returns:
- This builder for chaining.
-
hasEndTimeType
public boolean hasEndTimeType()
Output only. The end time as a well-defined type, e.g. FOREVER.
.google.ads.googleads.v9.enums.TimeTypeEnum.TimeType end_time_type = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Specified by:
hasEndTimeType
in interfaceAccountBudget.PendingAccountBudgetProposalOrBuilder
- Returns:
- Whether the endTimeType field is set.
-
getEndTimeTypeValue
public int getEndTimeTypeValue()
Output only. The end time as a well-defined type, e.g. FOREVER.
.google.ads.googleads.v9.enums.TimeTypeEnum.TimeType end_time_type = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Specified by:
getEndTimeTypeValue
in interfaceAccountBudget.PendingAccountBudgetProposalOrBuilder
- Returns:
- The enum numeric value on the wire for endTimeType.
-
setEndTimeTypeValue
public AccountBudget.PendingAccountBudgetProposal.Builder setEndTimeTypeValue(int value)
Output only. The end time as a well-defined type, e.g. FOREVER.
.google.ads.googleads.v9.enums.TimeTypeEnum.TimeType end_time_type = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Parameters:
value
- The enum numeric value on the wire for endTimeType to set.- Returns:
- This builder for chaining.
-
getEndTimeType
public TimeTypeEnum.TimeType getEndTimeType()
Output only. The end time as a well-defined type, e.g. FOREVER.
.google.ads.googleads.v9.enums.TimeTypeEnum.TimeType end_time_type = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Specified by:
getEndTimeType
in interfaceAccountBudget.PendingAccountBudgetProposalOrBuilder
- Returns:
- The endTimeType.
-
setEndTimeType
public AccountBudget.PendingAccountBudgetProposal.Builder setEndTimeType(TimeTypeEnum.TimeType value)
Output only. The end time as a well-defined type, e.g. FOREVER.
.google.ads.googleads.v9.enums.TimeTypeEnum.TimeType end_time_type = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Parameters:
value
- The endTimeType to set.- Returns:
- This builder for chaining.
-
clearEndTimeType
public AccountBudget.PendingAccountBudgetProposal.Builder clearEndTimeType()
Output only. The end time as a well-defined type, e.g. FOREVER.
.google.ads.googleads.v9.enums.TimeTypeEnum.TimeType end_time_type = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Returns:
- This builder for chaining.
-
hasSpendingLimitMicros
public boolean hasSpendingLimitMicros()
Output only. The spending limit in micros. One million is equivalent to one unit.
int64 spending_limit_micros = 16 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Specified by:
hasSpendingLimitMicros
in interfaceAccountBudget.PendingAccountBudgetProposalOrBuilder
- Returns:
- Whether the spendingLimitMicros field is set.
-
getSpendingLimitMicros
public long getSpendingLimitMicros()
Output only. The spending limit in micros. One million is equivalent to one unit.
int64 spending_limit_micros = 16 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Specified by:
getSpendingLimitMicros
in interfaceAccountBudget.PendingAccountBudgetProposalOrBuilder
- Returns:
- The spendingLimitMicros.
-
setSpendingLimitMicros
public AccountBudget.PendingAccountBudgetProposal.Builder setSpendingLimitMicros(long value)
Output only. The spending limit in micros. One million is equivalent to one unit.
int64 spending_limit_micros = 16 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Parameters:
value
- The spendingLimitMicros to set.- Returns:
- This builder for chaining.
-
clearSpendingLimitMicros
public AccountBudget.PendingAccountBudgetProposal.Builder clearSpendingLimitMicros()
Output only. The spending limit in micros. One million is equivalent to one unit.
int64 spending_limit_micros = 16 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Returns:
- This builder for chaining.
-
hasSpendingLimitType
public boolean hasSpendingLimitType()
Output only. The spending limit as a well-defined type, e.g. INFINITE.
.google.ads.googleads.v9.enums.SpendingLimitTypeEnum.SpendingLimitType spending_limit_type = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Specified by:
hasSpendingLimitType
in interfaceAccountBudget.PendingAccountBudgetProposalOrBuilder
- Returns:
- Whether the spendingLimitType field is set.
-
getSpendingLimitTypeValue
public int getSpendingLimitTypeValue()
Output only. The spending limit as a well-defined type, e.g. INFINITE.
.google.ads.googleads.v9.enums.SpendingLimitTypeEnum.SpendingLimitType spending_limit_type = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Specified by:
getSpendingLimitTypeValue
in interfaceAccountBudget.PendingAccountBudgetProposalOrBuilder
- Returns:
- The enum numeric value on the wire for spendingLimitType.
-
setSpendingLimitTypeValue
public AccountBudget.PendingAccountBudgetProposal.Builder setSpendingLimitTypeValue(int value)
Output only. The spending limit as a well-defined type, e.g. INFINITE.
.google.ads.googleads.v9.enums.SpendingLimitTypeEnum.SpendingLimitType spending_limit_type = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Parameters:
value
- The enum numeric value on the wire for spendingLimitType to set.- Returns:
- This builder for chaining.
-
getSpendingLimitType
public SpendingLimitTypeEnum.SpendingLimitType getSpendingLimitType()
Output only. The spending limit as a well-defined type, e.g. INFINITE.
.google.ads.googleads.v9.enums.SpendingLimitTypeEnum.SpendingLimitType spending_limit_type = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Specified by:
getSpendingLimitType
in interfaceAccountBudget.PendingAccountBudgetProposalOrBuilder
- Returns:
- The spendingLimitType.
-
setSpendingLimitType
public AccountBudget.PendingAccountBudgetProposal.Builder setSpendingLimitType(SpendingLimitTypeEnum.SpendingLimitType value)
Output only. The spending limit as a well-defined type, e.g. INFINITE.
.google.ads.googleads.v9.enums.SpendingLimitTypeEnum.SpendingLimitType spending_limit_type = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Parameters:
value
- The spendingLimitType to set.- Returns:
- This builder for chaining.
-
clearSpendingLimitType
public AccountBudget.PendingAccountBudgetProposal.Builder clearSpendingLimitType()
Output only. The spending limit as a well-defined type, e.g. INFINITE.
.google.ads.googleads.v9.enums.SpendingLimitTypeEnum.SpendingLimitType spending_limit_type = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Returns:
- This builder for chaining.
-
setUnknownFields
public final AccountBudget.PendingAccountBudgetProposal.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
setUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<AccountBudget.PendingAccountBudgetProposal.Builder>
-
mergeUnknownFields
public final AccountBudget.PendingAccountBudgetProposal.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<AccountBudget.PendingAccountBudgetProposal.Builder>
-
-