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

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

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

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

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

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

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

        public MutateCustomConversionGoalsRequest.Builder setCustomerId​(java.lang.String value)
         Required. The ID of the customer whose custom conversion goals 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 MutateCustomConversionGoalsRequest.Builder clearCustomerId()
         Required. The ID of the customer whose custom conversion goals are being modified.
         
        string customer_id = 1 [(.google.api.field_behavior) = REQUIRED];
        Returns:
        This builder for chaining.
      • setCustomerIdBytes

        public MutateCustomConversionGoalsRequest.Builder setCustomerIdBytes​(com.google.protobuf.ByteString value)
         Required. The ID of the customer whose custom conversion goals 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 custom conversion goal.
         
        repeated .google.ads.googleads.v10.services.CustomConversionGoalOperation operations = 2 [(.google.api.field_behavior) = REQUIRED];
        Specified by:
        getOperationsCount in interface MutateCustomConversionGoalsRequestOrBuilder
      • addAllOperations

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

        public MutateCustomConversionGoalsRequest.Builder clearOperations()
         Required. The list of operations to perform on individual custom conversion goal.
         
        repeated .google.ads.googleads.v10.services.CustomConversionGoalOperation operations = 2 [(.google.api.field_behavior) = REQUIRED];
      • removeOperations

        public MutateCustomConversionGoalsRequest.Builder removeOperations​(int index)
         Required. The list of operations to perform on individual custom conversion goal.
         
        repeated .google.ads.googleads.v10.services.CustomConversionGoalOperation operations = 2 [(.google.api.field_behavior) = REQUIRED];
      • getOperationsBuilder

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

        public CustomConversionGoalOperation.Builder addOperationsBuilder()
         Required. The list of operations to perform on individual custom conversion goal.
         
        repeated .google.ads.googleads.v10.services.CustomConversionGoalOperation operations = 2 [(.google.api.field_behavior) = REQUIRED];
      • addOperationsBuilder

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

        public java.util.List<CustomConversionGoalOperation.Builder> getOperationsBuilderList()
         Required. The list of operations to perform on individual custom conversion goal.
         
        repeated .google.ads.googleads.v10.services.CustomConversionGoalOperation operations = 2 [(.google.api.field_behavior) = REQUIRED];
      • setValidateOnly

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

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

        public int getResponseContentTypeValue()
         The response content type setting. Determines whether the mutable resource
         or just the resource name should be returned post mutation.
         
        .google.ads.googleads.v10.enums.ResponseContentTypeEnum.ResponseContentType response_content_type = 4;
        Specified by:
        getResponseContentTypeValue in interface MutateCustomConversionGoalsRequestOrBuilder
        Returns:
        The enum numeric value on the wire for responseContentType.
      • setResponseContentTypeValue

        public MutateCustomConversionGoalsRequest.Builder setResponseContentTypeValue​(int value)
         The response content type setting. Determines whether the mutable resource
         or just the resource name should be returned post mutation.
         
        .google.ads.googleads.v10.enums.ResponseContentTypeEnum.ResponseContentType response_content_type = 4;
        Parameters:
        value - The enum numeric value on the wire for responseContentType to set.
        Returns:
        This builder for chaining.
      • setResponseContentType

        public MutateCustomConversionGoalsRequest.Builder setResponseContentType​(ResponseContentTypeEnum.ResponseContentType value)
         The response content type setting. Determines whether the mutable resource
         or just the resource name should be returned post mutation.
         
        .google.ads.googleads.v10.enums.ResponseContentTypeEnum.ResponseContentType response_content_type = 4;
        Parameters:
        value - The responseContentType to set.
        Returns:
        This builder for chaining.
      • clearResponseContentType

        public MutateCustomConversionGoalsRequest.Builder clearResponseContentType()
         The response content type setting. Determines whether the mutable resource
         or just the resource name should be returned post mutation.
         
        .google.ads.googleads.v10.enums.ResponseContentTypeEnum.ResponseContentType response_content_type = 4;
        Returns:
        This builder for chaining.