Class MutateCustomerFeedsRequest.Builder

  • All Implemented Interfaces:
    MutateCustomerFeedsRequestOrBuilder, com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, java.lang.Cloneable
    Enclosing class:
    MutateCustomerFeedsRequest

    public static final class MutateCustomerFeedsRequest.Builder
    extends com.google.protobuf.GeneratedMessageV3.Builder<MutateCustomerFeedsRequest.Builder>
    implements MutateCustomerFeedsRequestOrBuilder
     Request message for [CustomerFeedService.MutateCustomerFeeds][google.ads.googleads.v10.services.CustomerFeedService.MutateCustomerFeeds].
     
    Protobuf type google.ads.googleads.v10.services.MutateCustomerFeedsRequest
    • 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<MutateCustomerFeedsRequest.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<MutateCustomerFeedsRequest.Builder>
      • getDefaultInstanceForType

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

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

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

        public MutateCustomerFeedsRequest.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<MutateCustomerFeedsRequest.Builder>
      • addRepeatedField

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

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

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

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

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

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

        public MutateCustomerFeedsRequest.Builder setCustomerIdBytes​(com.google.protobuf.ByteString value)
         Required. The ID of the customer whose customer feeds 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.
      • getOperationsList

        public java.util.List<CustomerFeedOperation> getOperationsList()
         Required. The list of operations to perform on individual customer feeds.
         
        repeated .google.ads.googleads.v10.services.CustomerFeedOperation operations = 2 [(.google.api.field_behavior) = REQUIRED];
        Specified by:
        getOperationsList in interface MutateCustomerFeedsRequestOrBuilder
      • getOperationsCount

        public int getOperationsCount()
         Required. The list of operations to perform on individual customer feeds.
         
        repeated .google.ads.googleads.v10.services.CustomerFeedOperation operations = 2 [(.google.api.field_behavior) = REQUIRED];
        Specified by:
        getOperationsCount in interface MutateCustomerFeedsRequestOrBuilder
      • getOperations

        public CustomerFeedOperation getOperations​(int index)
         Required. The list of operations to perform on individual customer feeds.
         
        repeated .google.ads.googleads.v10.services.CustomerFeedOperation operations = 2 [(.google.api.field_behavior) = REQUIRED];
        Specified by:
        getOperations in interface MutateCustomerFeedsRequestOrBuilder
      • setOperations

        public MutateCustomerFeedsRequest.Builder setOperations​(int index,
                                                                CustomerFeedOperation value)
         Required. The list of operations to perform on individual customer feeds.
         
        repeated .google.ads.googleads.v10.services.CustomerFeedOperation operations = 2 [(.google.api.field_behavior) = REQUIRED];
      • setOperations

        public MutateCustomerFeedsRequest.Builder setOperations​(int index,
                                                                CustomerFeedOperation.Builder builderForValue)
         Required. The list of operations to perform on individual customer feeds.
         
        repeated .google.ads.googleads.v10.services.CustomerFeedOperation operations = 2 [(.google.api.field_behavior) = REQUIRED];
      • addOperations

        public MutateCustomerFeedsRequest.Builder addOperations​(CustomerFeedOperation value)
         Required. The list of operations to perform on individual customer feeds.
         
        repeated .google.ads.googleads.v10.services.CustomerFeedOperation operations = 2 [(.google.api.field_behavior) = REQUIRED];
      • addOperations

        public MutateCustomerFeedsRequest.Builder addOperations​(int index,
                                                                CustomerFeedOperation value)
         Required. The list of operations to perform on individual customer feeds.
         
        repeated .google.ads.googleads.v10.services.CustomerFeedOperation operations = 2 [(.google.api.field_behavior) = REQUIRED];
      • addOperations

        public MutateCustomerFeedsRequest.Builder addOperations​(CustomerFeedOperation.Builder builderForValue)
         Required. The list of operations to perform on individual customer feeds.
         
        repeated .google.ads.googleads.v10.services.CustomerFeedOperation operations = 2 [(.google.api.field_behavior) = REQUIRED];
      • addOperations

        public MutateCustomerFeedsRequest.Builder addOperations​(int index,
                                                                CustomerFeedOperation.Builder builderForValue)
         Required. The list of operations to perform on individual customer feeds.
         
        repeated .google.ads.googleads.v10.services.CustomerFeedOperation operations = 2 [(.google.api.field_behavior) = REQUIRED];
      • addAllOperations

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

        public MutateCustomerFeedsRequest.Builder clearOperations()
         Required. The list of operations to perform on individual customer feeds.
         
        repeated .google.ads.googleads.v10.services.CustomerFeedOperation operations = 2 [(.google.api.field_behavior) = REQUIRED];
      • removeOperations

        public MutateCustomerFeedsRequest.Builder removeOperations​(int index)
         Required. The list of operations to perform on individual customer feeds.
         
        repeated .google.ads.googleads.v10.services.CustomerFeedOperation operations = 2 [(.google.api.field_behavior) = REQUIRED];
      • getOperationsBuilder

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

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

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

        public java.util.List<CustomerFeedOperation.Builder> getOperationsBuilderList()
         Required. The list of operations to perform on individual customer feeds.
         
        repeated .google.ads.googleads.v10.services.CustomerFeedOperation 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 MutateCustomerFeedsRequestOrBuilder
        Returns:
        The partialFailure.
      • setPartialFailure

        public MutateCustomerFeedsRequest.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 MutateCustomerFeedsRequest.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.
      • getValidateOnly

        public boolean getValidateOnly()
         If true, the request is validated but not executed. Only errors are
         returned, not results.
         
        bool validate_only = 4;
        Specified by:
        getValidateOnly in interface MutateCustomerFeedsRequestOrBuilder
        Returns:
        The validateOnly.
      • setValidateOnly

        public MutateCustomerFeedsRequest.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 MutateCustomerFeedsRequest.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.
      • 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 = 5;
        Specified by:
        getResponseContentTypeValue in interface MutateCustomerFeedsRequestOrBuilder
        Returns:
        The enum numeric value on the wire for responseContentType.
      • setResponseContentTypeValue

        public MutateCustomerFeedsRequest.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 = 5;
        Parameters:
        value - The enum numeric value on the wire for responseContentType to set.
        Returns:
        This builder for chaining.
      • setResponseContentType

        public MutateCustomerFeedsRequest.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 = 5;
        Parameters:
        value - The responseContentType to set.
        Returns:
        This builder for chaining.
      • clearResponseContentType

        public MutateCustomerFeedsRequest.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 = 5;
        Returns:
        This builder for chaining.
      • setUnknownFields

        public final MutateCustomerFeedsRequest.Builder setUnknownFields​(com.google.protobuf.UnknownFieldSet unknownFields)
        Specified by:
        setUnknownFields in interface com.google.protobuf.Message.Builder
        Overrides:
        setUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<MutateCustomerFeedsRequest.Builder>
      • mergeUnknownFields

        public final MutateCustomerFeedsRequest.Builder mergeUnknownFields​(com.google.protobuf.UnknownFieldSet unknownFields)
        Specified by:
        mergeUnknownFields in interface com.google.protobuf.Message.Builder
        Overrides:
        mergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<MutateCustomerFeedsRequest.Builder>