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

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

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

        public MutateKeywordPlanCampaignsRequest 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<MutateKeywordPlanCampaignsRequest.Builder>
      • mergeFrom

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

        public java.lang.String getCustomerId()
         Required. The ID of the customer whose Keyword Plan campaigns are being modified.
         
        string customer_id = 1 [(.google.api.field_behavior) = REQUIRED];
        Specified by:
        getCustomerId in interface MutateKeywordPlanCampaignsRequestOrBuilder
        Returns:
        The customerId.
      • getCustomerIdBytes

        public com.google.protobuf.ByteString getCustomerIdBytes()
         Required. The ID of the customer whose Keyword Plan campaigns are being modified.
         
        string customer_id = 1 [(.google.api.field_behavior) = REQUIRED];
        Specified by:
        getCustomerIdBytes in interface MutateKeywordPlanCampaignsRequestOrBuilder
        Returns:
        The bytes for customerId.
      • setCustomerId

        public MutateKeywordPlanCampaignsRequest.Builder setCustomerId​(java.lang.String value)
         Required. The ID of the customer whose Keyword Plan campaigns are being modified.
         
        string customer_id = 1 [(.google.api.field_behavior) = REQUIRED];
        Parameters:
        value - The customerId to set.
        Returns:
        This builder for chaining.
      • clearCustomerId

        public MutateKeywordPlanCampaignsRequest.Builder clearCustomerId()
         Required. The ID of the customer whose Keyword Plan campaigns are being modified.
         
        string customer_id = 1 [(.google.api.field_behavior) = REQUIRED];
        Returns:
        This builder for chaining.
      • setCustomerIdBytes

        public MutateKeywordPlanCampaignsRequest.Builder setCustomerIdBytes​(com.google.protobuf.ByteString value)
         Required. The ID of the customer whose Keyword Plan campaigns are being modified.
         
        string customer_id = 1 [(.google.api.field_behavior) = REQUIRED];
        Parameters:
        value - The bytes for customerId to set.
        Returns:
        This builder for chaining.
      • getOperationsCount

        public int getOperationsCount()
         Required. The list of operations to perform on individual Keyword Plan campaigns.
         
        repeated .google.ads.googleads.v10.services.KeywordPlanCampaignOperation operations = 2 [(.google.api.field_behavior) = REQUIRED];
        Specified by:
        getOperationsCount in interface MutateKeywordPlanCampaignsRequestOrBuilder
      • setOperations

        public MutateKeywordPlanCampaignsRequest.Builder setOperations​(int index,
                                                                       KeywordPlanCampaignOperation value)
         Required. The list of operations to perform on individual Keyword Plan campaigns.
         
        repeated .google.ads.googleads.v10.services.KeywordPlanCampaignOperation operations = 2 [(.google.api.field_behavior) = REQUIRED];
      • addOperations

        public MutateKeywordPlanCampaignsRequest.Builder addOperations​(int index,
                                                                       KeywordPlanCampaignOperation value)
         Required. The list of operations to perform on individual Keyword Plan campaigns.
         
        repeated .google.ads.googleads.v10.services.KeywordPlanCampaignOperation operations = 2 [(.google.api.field_behavior) = REQUIRED];
      • addAllOperations

        public MutateKeywordPlanCampaignsRequest.Builder addAllOperations​(java.lang.Iterable<? extends KeywordPlanCampaignOperation> values)
         Required. The list of operations to perform on individual Keyword Plan campaigns.
         
        repeated .google.ads.googleads.v10.services.KeywordPlanCampaignOperation operations = 2 [(.google.api.field_behavior) = REQUIRED];
      • clearOperations

        public MutateKeywordPlanCampaignsRequest.Builder clearOperations()
         Required. The list of operations to perform on individual Keyword Plan campaigns.
         
        repeated .google.ads.googleads.v10.services.KeywordPlanCampaignOperation operations = 2 [(.google.api.field_behavior) = REQUIRED];
      • removeOperations

        public MutateKeywordPlanCampaignsRequest.Builder removeOperations​(int index)
         Required. The list of operations to perform on individual Keyword Plan campaigns.
         
        repeated .google.ads.googleads.v10.services.KeywordPlanCampaignOperation operations = 2 [(.google.api.field_behavior) = REQUIRED];
      • getOperationsBuilder

        public KeywordPlanCampaignOperation.Builder getOperationsBuilder​(int index)
         Required. The list of operations to perform on individual Keyword Plan campaigns.
         
        repeated .google.ads.googleads.v10.services.KeywordPlanCampaignOperation operations = 2 [(.google.api.field_behavior) = REQUIRED];
      • addOperationsBuilder

        public KeywordPlanCampaignOperation.Builder addOperationsBuilder()
         Required. The list of operations to perform on individual Keyword Plan campaigns.
         
        repeated .google.ads.googleads.v10.services.KeywordPlanCampaignOperation operations = 2 [(.google.api.field_behavior) = REQUIRED];
      • addOperationsBuilder

        public KeywordPlanCampaignOperation.Builder addOperationsBuilder​(int index)
         Required. The list of operations to perform on individual Keyword Plan campaigns.
         
        repeated .google.ads.googleads.v10.services.KeywordPlanCampaignOperation operations = 2 [(.google.api.field_behavior) = REQUIRED];
      • getOperationsBuilderList

        public java.util.List<KeywordPlanCampaignOperation.Builder> getOperationsBuilderList()
         Required. The list of operations to perform on individual Keyword Plan campaigns.
         
        repeated .google.ads.googleads.v10.services.KeywordPlanCampaignOperation operations = 2 [(.google.api.field_behavior) = REQUIRED];
      • getPartialFailure

        public boolean getPartialFailure()
         If true, successful operations will be carried out and invalid
         operations will return errors. If false, all operations will be carried
         out in one transaction if and only if they are all valid.
         Default is false.
         
        bool partial_failure = 3;
        Specified by:
        getPartialFailure in interface MutateKeywordPlanCampaignsRequestOrBuilder
        Returns:
        The partialFailure.
      • setPartialFailure

        public MutateKeywordPlanCampaignsRequest.Builder setPartialFailure​(boolean value)
         If true, successful operations will be carried out and invalid
         operations will return errors. If false, all operations will be carried
         out in one transaction if and only if they are all valid.
         Default is false.
         
        bool partial_failure = 3;
        Parameters:
        value - The partialFailure to set.
        Returns:
        This builder for chaining.
      • clearPartialFailure

        public MutateKeywordPlanCampaignsRequest.Builder clearPartialFailure()
         If true, successful operations will be carried out and invalid
         operations will return errors. If false, all operations will be carried
         out in one transaction if and only if they are all valid.
         Default is false.
         
        bool partial_failure = 3;
        Returns:
        This builder for chaining.
      • setValidateOnly

        public MutateKeywordPlanCampaignsRequest.Builder setValidateOnly​(boolean value)
         If true, the request is validated but not executed. Only errors are
         returned, not results.
         
        bool validate_only = 4;
        Parameters:
        value - The validateOnly to set.
        Returns:
        This builder for chaining.
      • clearValidateOnly

        public MutateKeywordPlanCampaignsRequest.Builder clearValidateOnly()
         If true, the request is validated but not executed. Only errors are
         returned, not results.
         
        bool validate_only = 4;
        Returns:
        This builder for chaining.