Class MutateFeedItemSetsRequest.Builder

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

    public static final class MutateFeedItemSetsRequest.Builder
    extends com.google.protobuf.GeneratedMessageV3.Builder<MutateFeedItemSetsRequest.Builder>
    implements MutateFeedItemSetsRequestOrBuilder
     Request message for
     [FeedItemSetService.MutateFeedItemSets][google.ads.googleads.v13.services.FeedItemSetService.MutateFeedItemSets].
     
    Protobuf type google.ads.googleads.v13.services.MutateFeedItemSetsRequest
    • 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<MutateFeedItemSetsRequest.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<MutateFeedItemSetsRequest.Builder>
      • getDefaultInstanceForType

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

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

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

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

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

        public MutateFeedItemSetsRequest.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<MutateFeedItemSetsRequest.Builder>
      • isInitialized

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

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

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

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

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

        public MutateFeedItemSetsRequest.Builder setCustomerIdBytes​(com.google.protobuf.ByteString value)
         Required. The ID of the customer whose feed item sets 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<FeedItemSetOperation> getOperationsList()
         Required. The list of operations to perform on individual feed item sets.
         
        repeated .google.ads.googleads.v13.services.FeedItemSetOperation operations = 2 [(.google.api.field_behavior) = REQUIRED];
        Specified by:
        getOperationsList in interface MutateFeedItemSetsRequestOrBuilder
      • getOperationsCount

        public int getOperationsCount()
         Required. The list of operations to perform on individual feed item sets.
         
        repeated .google.ads.googleads.v13.services.FeedItemSetOperation operations = 2 [(.google.api.field_behavior) = REQUIRED];
        Specified by:
        getOperationsCount in interface MutateFeedItemSetsRequestOrBuilder
      • getOperations

        public FeedItemSetOperation getOperations​(int index)
         Required. The list of operations to perform on individual feed item sets.
         
        repeated .google.ads.googleads.v13.services.FeedItemSetOperation operations = 2 [(.google.api.field_behavior) = REQUIRED];
        Specified by:
        getOperations in interface MutateFeedItemSetsRequestOrBuilder
      • setOperations

        public MutateFeedItemSetsRequest.Builder setOperations​(int index,
                                                               FeedItemSetOperation value)
         Required. The list of operations to perform on individual feed item sets.
         
        repeated .google.ads.googleads.v13.services.FeedItemSetOperation operations = 2 [(.google.api.field_behavior) = REQUIRED];
      • setOperations

        public MutateFeedItemSetsRequest.Builder setOperations​(int index,
                                                               FeedItemSetOperation.Builder builderForValue)
         Required. The list of operations to perform on individual feed item sets.
         
        repeated .google.ads.googleads.v13.services.FeedItemSetOperation operations = 2 [(.google.api.field_behavior) = REQUIRED];
      • addOperations

        public MutateFeedItemSetsRequest.Builder addOperations​(FeedItemSetOperation value)
         Required. The list of operations to perform on individual feed item sets.
         
        repeated .google.ads.googleads.v13.services.FeedItemSetOperation operations = 2 [(.google.api.field_behavior) = REQUIRED];
      • addOperations

        public MutateFeedItemSetsRequest.Builder addOperations​(int index,
                                                               FeedItemSetOperation value)
         Required. The list of operations to perform on individual feed item sets.
         
        repeated .google.ads.googleads.v13.services.FeedItemSetOperation operations = 2 [(.google.api.field_behavior) = REQUIRED];
      • addOperations

        public MutateFeedItemSetsRequest.Builder addOperations​(FeedItemSetOperation.Builder builderForValue)
         Required. The list of operations to perform on individual feed item sets.
         
        repeated .google.ads.googleads.v13.services.FeedItemSetOperation operations = 2 [(.google.api.field_behavior) = REQUIRED];
      • addOperations

        public MutateFeedItemSetsRequest.Builder addOperations​(int index,
                                                               FeedItemSetOperation.Builder builderForValue)
         Required. The list of operations to perform on individual feed item sets.
         
        repeated .google.ads.googleads.v13.services.FeedItemSetOperation operations = 2 [(.google.api.field_behavior) = REQUIRED];
      • addAllOperations

        public MutateFeedItemSetsRequest.Builder addAllOperations​(java.lang.Iterable<? extends FeedItemSetOperation> values)
         Required. The list of operations to perform on individual feed item sets.
         
        repeated .google.ads.googleads.v13.services.FeedItemSetOperation operations = 2 [(.google.api.field_behavior) = REQUIRED];
      • clearOperations

        public MutateFeedItemSetsRequest.Builder clearOperations()
         Required. The list of operations to perform on individual feed item sets.
         
        repeated .google.ads.googleads.v13.services.FeedItemSetOperation operations = 2 [(.google.api.field_behavior) = REQUIRED];
      • removeOperations

        public MutateFeedItemSetsRequest.Builder removeOperations​(int index)
         Required. The list of operations to perform on individual feed item sets.
         
        repeated .google.ads.googleads.v13.services.FeedItemSetOperation operations = 2 [(.google.api.field_behavior) = REQUIRED];
      • getOperationsBuilder

        public FeedItemSetOperation.Builder getOperationsBuilder​(int index)
         Required. The list of operations to perform on individual feed item sets.
         
        repeated .google.ads.googleads.v13.services.FeedItemSetOperation operations = 2 [(.google.api.field_behavior) = REQUIRED];
      • addOperationsBuilder

        public FeedItemSetOperation.Builder addOperationsBuilder()
         Required. The list of operations to perform on individual feed item sets.
         
        repeated .google.ads.googleads.v13.services.FeedItemSetOperation operations = 2 [(.google.api.field_behavior) = REQUIRED];
      • addOperationsBuilder

        public FeedItemSetOperation.Builder addOperationsBuilder​(int index)
         Required. The list of operations to perform on individual feed item sets.
         
        repeated .google.ads.googleads.v13.services.FeedItemSetOperation operations = 2 [(.google.api.field_behavior) = REQUIRED];
      • getOperationsBuilderList

        public java.util.List<FeedItemSetOperation.Builder> getOperationsBuilderList()
         Required. The list of operations to perform on individual feed item sets.
         
        repeated .google.ads.googleads.v13.services.FeedItemSetOperation 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 MutateFeedItemSetsRequestOrBuilder
        Returns:
        The partialFailure.
      • setPartialFailure

        public MutateFeedItemSetsRequest.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 MutateFeedItemSetsRequest.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 MutateFeedItemSetsRequestOrBuilder
        Returns:
        The validateOnly.
      • setValidateOnly

        public MutateFeedItemSetsRequest.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 MutateFeedItemSetsRequest.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.
      • setUnknownFields

        public final MutateFeedItemSetsRequest.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<MutateFeedItemSetsRequest.Builder>
      • mergeUnknownFields

        public final MutateFeedItemSetsRequest.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<MutateFeedItemSetsRequest.Builder>