Class AccountBudget.PendingAccountBudgetProposal.Builder

    • Method Detail

      • 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.Builder<AccountBudget.PendingAccountBudgetProposal.Builder>
      • getDescriptorForType

        public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
        Specified by:
        getDescriptorForType in interface com.google.protobuf.Message.Builder
        Specified by:
        getDescriptorForType in interface com.google.protobuf.MessageOrBuilder
        Overrides:
        getDescriptorForType in class com.google.protobuf.GeneratedMessageV3.Builder<AccountBudget.PendingAccountBudgetProposal.Builder>
      • getDefaultInstanceForType

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

        public AccountBudget.PendingAccountBudgetProposal build()
        Specified by:
        build in interface com.google.protobuf.Message.Builder
        Specified by:
        build in interface com.google.protobuf.MessageLite.Builder
      • buildPartial

        public AccountBudget.PendingAccountBudgetProposal buildPartial()
        Specified by:
        buildPartial in interface com.google.protobuf.Message.Builder
        Specified by:
        buildPartial in interface com.google.protobuf.MessageLite.Builder
      • isInitialized

        public final boolean isInitialized()
        Specified by:
        isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
        Overrides:
        isInitialized in class com.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 interface com.google.protobuf.Message.Builder
        Specified by:
        mergeFrom in interface com.google.protobuf.MessageLite.Builder
        Overrides:
        mergeFrom in class com.google.protobuf.AbstractMessage.Builder<AccountBudget.PendingAccountBudgetProposal.Builder>
        Throws:
        java.io.IOException
      • 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 interface AccountBudget.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 interface AccountBudget.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 interface AccountBudget.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 interface AccountBudget.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.
      • 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 interface AccountBudget.PendingAccountBudgetProposalOrBuilder
        Returns:
        Whether the name field is set.
      • 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 interface AccountBudget.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 interface AccountBudget.PendingAccountBudgetProposalOrBuilder
        Returns:
        Whether the startDateTime field is set.
      • 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 interface AccountBudget.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 interface AccountBudget.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 interface AccountBudget.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 interface AccountBudget.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.
      • 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.
      • 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 interface AccountBudget.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 interface AccountBudget.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 interface AccountBudget.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.
      • 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 interface AccountBudget.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 interface AccountBudget.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.
      • 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 interface AccountBudget.PendingAccountBudgetProposalOrBuilder
        Returns:
        Whether the spendingLimitMicros field is set.
      • 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 interface AccountBudget.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 interface AccountBudget.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.
      • 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.