Class AccountBudgetProposalOperation.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<AccountBudgetProposalOperation.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<AccountBudgetProposalOperation.Builder>
      • getDefaultInstanceForType

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

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

        public AccountBudgetProposalOperation buildPartial()
        Specified by:
        buildPartial in interface com.google.protobuf.Message.Builder
        Specified by:
        buildPartial in interface com.google.protobuf.MessageLite.Builder
      • setRepeatedField

        public AccountBudgetProposalOperation.Builder setRepeatedField​(com.google.protobuf.Descriptors.FieldDescriptor field,
                                                                       int index,
                                                                       java.lang.Object value)
        Specified by:
        setRepeatedField in interface com.google.protobuf.Message.Builder
        Overrides:
        setRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<AccountBudgetProposalOperation.Builder>
      • isInitialized

        public final boolean isInitialized()
        Specified by:
        isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
        Overrides:
        isInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<AccountBudgetProposalOperation.Builder>
      • mergeFrom

        public AccountBudgetProposalOperation.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<AccountBudgetProposalOperation.Builder>
        Throws:
        java.io.IOException
      • hasUpdateMask

        public boolean hasUpdateMask()
         FieldMask that determines which budget fields are modified.  While budgets
         may be modified, proposals that propose such modifications are final.
         Therefore, update operations are not supported for proposals.
         Proposals that modify budgets have the 'update' proposal type.  Specifying
         a mask for any other proposal type is considered an error.
         
        .google.protobuf.FieldMask update_mask = 3;
        Specified by:
        hasUpdateMask in interface AccountBudgetProposalOperationOrBuilder
        Returns:
        Whether the updateMask field is set.
      • getUpdateMask

        public com.google.protobuf.FieldMask getUpdateMask()
         FieldMask that determines which budget fields are modified.  While budgets
         may be modified, proposals that propose such modifications are final.
         Therefore, update operations are not supported for proposals.
         Proposals that modify budgets have the 'update' proposal type.  Specifying
         a mask for any other proposal type is considered an error.
         
        .google.protobuf.FieldMask update_mask = 3;
        Specified by:
        getUpdateMask in interface AccountBudgetProposalOperationOrBuilder
        Returns:
        The updateMask.
      • setUpdateMask

        public AccountBudgetProposalOperation.Builder setUpdateMask​(com.google.protobuf.FieldMask value)
         FieldMask that determines which budget fields are modified.  While budgets
         may be modified, proposals that propose such modifications are final.
         Therefore, update operations are not supported for proposals.
         Proposals that modify budgets have the 'update' proposal type.  Specifying
         a mask for any other proposal type is considered an error.
         
        .google.protobuf.FieldMask update_mask = 3;
      • setUpdateMask

        public AccountBudgetProposalOperation.Builder setUpdateMask​(com.google.protobuf.FieldMask.Builder builderForValue)
         FieldMask that determines which budget fields are modified.  While budgets
         may be modified, proposals that propose such modifications are final.
         Therefore, update operations are not supported for proposals.
         Proposals that modify budgets have the 'update' proposal type.  Specifying
         a mask for any other proposal type is considered an error.
         
        .google.protobuf.FieldMask update_mask = 3;
      • mergeUpdateMask

        public AccountBudgetProposalOperation.Builder mergeUpdateMask​(com.google.protobuf.FieldMask value)
         FieldMask that determines which budget fields are modified.  While budgets
         may be modified, proposals that propose such modifications are final.
         Therefore, update operations are not supported for proposals.
         Proposals that modify budgets have the 'update' proposal type.  Specifying
         a mask for any other proposal type is considered an error.
         
        .google.protobuf.FieldMask update_mask = 3;
      • clearUpdateMask

        public AccountBudgetProposalOperation.Builder clearUpdateMask()
         FieldMask that determines which budget fields are modified.  While budgets
         may be modified, proposals that propose such modifications are final.
         Therefore, update operations are not supported for proposals.
         Proposals that modify budgets have the 'update' proposal type.  Specifying
         a mask for any other proposal type is considered an error.
         
        .google.protobuf.FieldMask update_mask = 3;
      • getUpdateMaskBuilder

        public com.google.protobuf.FieldMask.Builder getUpdateMaskBuilder()
         FieldMask that determines which budget fields are modified.  While budgets
         may be modified, proposals that propose such modifications are final.
         Therefore, update operations are not supported for proposals.
         Proposals that modify budgets have the 'update' proposal type.  Specifying
         a mask for any other proposal type is considered an error.
         
        .google.protobuf.FieldMask update_mask = 3;
      • getUpdateMaskOrBuilder

        public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder()
         FieldMask that determines which budget fields are modified.  While budgets
         may be modified, proposals that propose such modifications are final.
         Therefore, update operations are not supported for proposals.
         Proposals that modify budgets have the 'update' proposal type.  Specifying
         a mask for any other proposal type is considered an error.
         
        .google.protobuf.FieldMask update_mask = 3;
        Specified by:
        getUpdateMaskOrBuilder in interface AccountBudgetProposalOperationOrBuilder
      • hasCreate

        public boolean hasCreate()
         Create operation: A new proposal to create a new budget, edit an
         existing budget, end an actively running budget, or remove an approved
         budget scheduled to start in the future.
         No resource name is expected for the new proposal.
         
        .google.ads.googleads.v10.resources.AccountBudgetProposal create = 2;
        Specified by:
        hasCreate in interface AccountBudgetProposalOperationOrBuilder
        Returns:
        Whether the create field is set.
      • getCreate

        public AccountBudgetProposal getCreate()
         Create operation: A new proposal to create a new budget, edit an
         existing budget, end an actively running budget, or remove an approved
         budget scheduled to start in the future.
         No resource name is expected for the new proposal.
         
        .google.ads.googleads.v10.resources.AccountBudgetProposal create = 2;
        Specified by:
        getCreate in interface AccountBudgetProposalOperationOrBuilder
        Returns:
        The create.
      • setCreate

        public AccountBudgetProposalOperation.Builder setCreate​(AccountBudgetProposal value)
         Create operation: A new proposal to create a new budget, edit an
         existing budget, end an actively running budget, or remove an approved
         budget scheduled to start in the future.
         No resource name is expected for the new proposal.
         
        .google.ads.googleads.v10.resources.AccountBudgetProposal create = 2;
      • setCreate

        public AccountBudgetProposalOperation.Builder setCreate​(AccountBudgetProposal.Builder builderForValue)
         Create operation: A new proposal to create a new budget, edit an
         existing budget, end an actively running budget, or remove an approved
         budget scheduled to start in the future.
         No resource name is expected for the new proposal.
         
        .google.ads.googleads.v10.resources.AccountBudgetProposal create = 2;
      • mergeCreate

        public AccountBudgetProposalOperation.Builder mergeCreate​(AccountBudgetProposal value)
         Create operation: A new proposal to create a new budget, edit an
         existing budget, end an actively running budget, or remove an approved
         budget scheduled to start in the future.
         No resource name is expected for the new proposal.
         
        .google.ads.googleads.v10.resources.AccountBudgetProposal create = 2;
      • clearCreate

        public AccountBudgetProposalOperation.Builder clearCreate()
         Create operation: A new proposal to create a new budget, edit an
         existing budget, end an actively running budget, or remove an approved
         budget scheduled to start in the future.
         No resource name is expected for the new proposal.
         
        .google.ads.googleads.v10.resources.AccountBudgetProposal create = 2;
      • getCreateBuilder

        public AccountBudgetProposal.Builder getCreateBuilder()
         Create operation: A new proposal to create a new budget, edit an
         existing budget, end an actively running budget, or remove an approved
         budget scheduled to start in the future.
         No resource name is expected for the new proposal.
         
        .google.ads.googleads.v10.resources.AccountBudgetProposal create = 2;
      • getCreateOrBuilder

        public AccountBudgetProposalOrBuilder getCreateOrBuilder()
         Create operation: A new proposal to create a new budget, edit an
         existing budget, end an actively running budget, or remove an approved
         budget scheduled to start in the future.
         No resource name is expected for the new proposal.
         
        .google.ads.googleads.v10.resources.AccountBudgetProposal create = 2;
        Specified by:
        getCreateOrBuilder in interface AccountBudgetProposalOperationOrBuilder
      • hasRemove

        public boolean hasRemove()
         Remove operation: A resource name for the removed proposal is expected,
         in this format:
         `customers/{customer_id}/accountBudgetProposals/{account_budget_proposal_id}`
         A request may be cancelled iff it is pending.
         
        string remove = 1 [(.google.api.resource_reference) = { ... }
        Specified by:
        hasRemove in interface AccountBudgetProposalOperationOrBuilder
        Returns:
        Whether the remove field is set.
      • getRemove

        public java.lang.String getRemove()
         Remove operation: A resource name for the removed proposal is expected,
         in this format:
         `customers/{customer_id}/accountBudgetProposals/{account_budget_proposal_id}`
         A request may be cancelled iff it is pending.
         
        string remove = 1 [(.google.api.resource_reference) = { ... }
        Specified by:
        getRemove in interface AccountBudgetProposalOperationOrBuilder
        Returns:
        The remove.
      • getRemoveBytes

        public com.google.protobuf.ByteString getRemoveBytes()
         Remove operation: A resource name for the removed proposal is expected,
         in this format:
         `customers/{customer_id}/accountBudgetProposals/{account_budget_proposal_id}`
         A request may be cancelled iff it is pending.
         
        string remove = 1 [(.google.api.resource_reference) = { ... }
        Specified by:
        getRemoveBytes in interface AccountBudgetProposalOperationOrBuilder
        Returns:
        The bytes for remove.
      • setRemove

        public AccountBudgetProposalOperation.Builder setRemove​(java.lang.String value)
         Remove operation: A resource name for the removed proposal is expected,
         in this format:
         `customers/{customer_id}/accountBudgetProposals/{account_budget_proposal_id}`
         A request may be cancelled iff it is pending.
         
        string remove = 1 [(.google.api.resource_reference) = { ... }
        Parameters:
        value - The remove to set.
        Returns:
        This builder for chaining.
      • clearRemove

        public AccountBudgetProposalOperation.Builder clearRemove()
         Remove operation: A resource name for the removed proposal is expected,
         in this format:
         `customers/{customer_id}/accountBudgetProposals/{account_budget_proposal_id}`
         A request may be cancelled iff it is pending.
         
        string remove = 1 [(.google.api.resource_reference) = { ... }
        Returns:
        This builder for chaining.
      • setRemoveBytes

        public AccountBudgetProposalOperation.Builder setRemoveBytes​(com.google.protobuf.ByteString value)
         Remove operation: A resource name for the removed proposal is expected,
         in this format:
         `customers/{customer_id}/accountBudgetProposals/{account_budget_proposal_id}`
         A request may be cancelled iff it is pending.
         
        string remove = 1 [(.google.api.resource_reference) = { ... }
        Parameters:
        value - The bytes for remove to set.
        Returns:
        This builder for chaining.