Class GraduateExperimentRequest.Builder

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

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

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

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

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

        public GraduateExperimentRequest.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<GraduateExperimentRequest.Builder>
      • setRepeatedField

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

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

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

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

        public java.lang.String getExperiment()
         Required. The experiment to be graduated.
         
        string experiment = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
        Specified by:
        getExperiment in interface GraduateExperimentRequestOrBuilder
        Returns:
        The experiment.
      • getExperimentBytes

        public com.google.protobuf.ByteString getExperimentBytes()
         Required. The experiment to be graduated.
         
        string experiment = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
        Specified by:
        getExperimentBytes in interface GraduateExperimentRequestOrBuilder
        Returns:
        The bytes for experiment.
      • setExperiment

        public GraduateExperimentRequest.Builder setExperiment​(java.lang.String value)
         Required. The experiment to be graduated.
         
        string experiment = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
        Parameters:
        value - The experiment to set.
        Returns:
        This builder for chaining.
      • clearExperiment

        public GraduateExperimentRequest.Builder clearExperiment()
         Required. The experiment to be graduated.
         
        string experiment = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
        Returns:
        This builder for chaining.
      • setExperimentBytes

        public GraduateExperimentRequest.Builder setExperimentBytes​(com.google.protobuf.ByteString value)
         Required. The experiment to be graduated.
         
        string experiment = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
        Parameters:
        value - The bytes for experiment to set.
        Returns:
        This builder for chaining.
      • getCampaignBudgetMappingsList

        public java.util.List<CampaignBudgetMapping> getCampaignBudgetMappingsList()
         Required. List of campaign budget mappings for graduation. Each campaign
         that appears here will graduate, and will be assigned a new budget that is
         paired with it in the mapping. The maximum size is one.
         
        repeated .google.ads.googleads.v13.services.CampaignBudgetMapping campaign_budget_mappings = 2 [(.google.api.field_behavior) = REQUIRED];
        Specified by:
        getCampaignBudgetMappingsList in interface GraduateExperimentRequestOrBuilder
      • getCampaignBudgetMappingsCount

        public int getCampaignBudgetMappingsCount()
         Required. List of campaign budget mappings for graduation. Each campaign
         that appears here will graduate, and will be assigned a new budget that is
         paired with it in the mapping. The maximum size is one.
         
        repeated .google.ads.googleads.v13.services.CampaignBudgetMapping campaign_budget_mappings = 2 [(.google.api.field_behavior) = REQUIRED];
        Specified by:
        getCampaignBudgetMappingsCount in interface GraduateExperimentRequestOrBuilder
      • getCampaignBudgetMappings

        public CampaignBudgetMapping getCampaignBudgetMappings​(int index)
         Required. List of campaign budget mappings for graduation. Each campaign
         that appears here will graduate, and will be assigned a new budget that is
         paired with it in the mapping. The maximum size is one.
         
        repeated .google.ads.googleads.v13.services.CampaignBudgetMapping campaign_budget_mappings = 2 [(.google.api.field_behavior) = REQUIRED];
        Specified by:
        getCampaignBudgetMappings in interface GraduateExperimentRequestOrBuilder
      • setCampaignBudgetMappings

        public GraduateExperimentRequest.Builder setCampaignBudgetMappings​(int index,
                                                                           CampaignBudgetMapping value)
         Required. List of campaign budget mappings for graduation. Each campaign
         that appears here will graduate, and will be assigned a new budget that is
         paired with it in the mapping. The maximum size is one.
         
        repeated .google.ads.googleads.v13.services.CampaignBudgetMapping campaign_budget_mappings = 2 [(.google.api.field_behavior) = REQUIRED];
      • setCampaignBudgetMappings

        public GraduateExperimentRequest.Builder setCampaignBudgetMappings​(int index,
                                                                           CampaignBudgetMapping.Builder builderForValue)
         Required. List of campaign budget mappings for graduation. Each campaign
         that appears here will graduate, and will be assigned a new budget that is
         paired with it in the mapping. The maximum size is one.
         
        repeated .google.ads.googleads.v13.services.CampaignBudgetMapping campaign_budget_mappings = 2 [(.google.api.field_behavior) = REQUIRED];
      • addCampaignBudgetMappings

        public GraduateExperimentRequest.Builder addCampaignBudgetMappings​(CampaignBudgetMapping value)
         Required. List of campaign budget mappings for graduation. Each campaign
         that appears here will graduate, and will be assigned a new budget that is
         paired with it in the mapping. The maximum size is one.
         
        repeated .google.ads.googleads.v13.services.CampaignBudgetMapping campaign_budget_mappings = 2 [(.google.api.field_behavior) = REQUIRED];
      • addCampaignBudgetMappings

        public GraduateExperimentRequest.Builder addCampaignBudgetMappings​(int index,
                                                                           CampaignBudgetMapping value)
         Required. List of campaign budget mappings for graduation. Each campaign
         that appears here will graduate, and will be assigned a new budget that is
         paired with it in the mapping. The maximum size is one.
         
        repeated .google.ads.googleads.v13.services.CampaignBudgetMapping campaign_budget_mappings = 2 [(.google.api.field_behavior) = REQUIRED];
      • addCampaignBudgetMappings

        public GraduateExperimentRequest.Builder addCampaignBudgetMappings​(CampaignBudgetMapping.Builder builderForValue)
         Required. List of campaign budget mappings for graduation. Each campaign
         that appears here will graduate, and will be assigned a new budget that is
         paired with it in the mapping. The maximum size is one.
         
        repeated .google.ads.googleads.v13.services.CampaignBudgetMapping campaign_budget_mappings = 2 [(.google.api.field_behavior) = REQUIRED];
      • addCampaignBudgetMappings

        public GraduateExperimentRequest.Builder addCampaignBudgetMappings​(int index,
                                                                           CampaignBudgetMapping.Builder builderForValue)
         Required. List of campaign budget mappings for graduation. Each campaign
         that appears here will graduate, and will be assigned a new budget that is
         paired with it in the mapping. The maximum size is one.
         
        repeated .google.ads.googleads.v13.services.CampaignBudgetMapping campaign_budget_mappings = 2 [(.google.api.field_behavior) = REQUIRED];
      • addAllCampaignBudgetMappings

        public GraduateExperimentRequest.Builder addAllCampaignBudgetMappings​(java.lang.Iterable<? extends CampaignBudgetMapping> values)
         Required. List of campaign budget mappings for graduation. Each campaign
         that appears here will graduate, and will be assigned a new budget that is
         paired with it in the mapping. The maximum size is one.
         
        repeated .google.ads.googleads.v13.services.CampaignBudgetMapping campaign_budget_mappings = 2 [(.google.api.field_behavior) = REQUIRED];
      • clearCampaignBudgetMappings

        public GraduateExperimentRequest.Builder clearCampaignBudgetMappings()
         Required. List of campaign budget mappings for graduation. Each campaign
         that appears here will graduate, and will be assigned a new budget that is
         paired with it in the mapping. The maximum size is one.
         
        repeated .google.ads.googleads.v13.services.CampaignBudgetMapping campaign_budget_mappings = 2 [(.google.api.field_behavior) = REQUIRED];
      • removeCampaignBudgetMappings

        public GraduateExperimentRequest.Builder removeCampaignBudgetMappings​(int index)
         Required. List of campaign budget mappings for graduation. Each campaign
         that appears here will graduate, and will be assigned a new budget that is
         paired with it in the mapping. The maximum size is one.
         
        repeated .google.ads.googleads.v13.services.CampaignBudgetMapping campaign_budget_mappings = 2 [(.google.api.field_behavior) = REQUIRED];
      • getCampaignBudgetMappingsBuilder

        public CampaignBudgetMapping.Builder getCampaignBudgetMappingsBuilder​(int index)
         Required. List of campaign budget mappings for graduation. Each campaign
         that appears here will graduate, and will be assigned a new budget that is
         paired with it in the mapping. The maximum size is one.
         
        repeated .google.ads.googleads.v13.services.CampaignBudgetMapping campaign_budget_mappings = 2 [(.google.api.field_behavior) = REQUIRED];
      • getCampaignBudgetMappingsOrBuilder

        public CampaignBudgetMappingOrBuilder getCampaignBudgetMappingsOrBuilder​(int index)
         Required. List of campaign budget mappings for graduation. Each campaign
         that appears here will graduate, and will be assigned a new budget that is
         paired with it in the mapping. The maximum size is one.
         
        repeated .google.ads.googleads.v13.services.CampaignBudgetMapping campaign_budget_mappings = 2 [(.google.api.field_behavior) = REQUIRED];
        Specified by:
        getCampaignBudgetMappingsOrBuilder in interface GraduateExperimentRequestOrBuilder
      • getCampaignBudgetMappingsOrBuilderList

        public java.util.List<? extends CampaignBudgetMappingOrBuilder> getCampaignBudgetMappingsOrBuilderList()
         Required. List of campaign budget mappings for graduation. Each campaign
         that appears here will graduate, and will be assigned a new budget that is
         paired with it in the mapping. The maximum size is one.
         
        repeated .google.ads.googleads.v13.services.CampaignBudgetMapping campaign_budget_mappings = 2 [(.google.api.field_behavior) = REQUIRED];
        Specified by:
        getCampaignBudgetMappingsOrBuilderList in interface GraduateExperimentRequestOrBuilder
      • addCampaignBudgetMappingsBuilder

        public CampaignBudgetMapping.Builder addCampaignBudgetMappingsBuilder()
         Required. List of campaign budget mappings for graduation. Each campaign
         that appears here will graduate, and will be assigned a new budget that is
         paired with it in the mapping. The maximum size is one.
         
        repeated .google.ads.googleads.v13.services.CampaignBudgetMapping campaign_budget_mappings = 2 [(.google.api.field_behavior) = REQUIRED];
      • addCampaignBudgetMappingsBuilder

        public CampaignBudgetMapping.Builder addCampaignBudgetMappingsBuilder​(int index)
         Required. List of campaign budget mappings for graduation. Each campaign
         that appears here will graduate, and will be assigned a new budget that is
         paired with it in the mapping. The maximum size is one.
         
        repeated .google.ads.googleads.v13.services.CampaignBudgetMapping campaign_budget_mappings = 2 [(.google.api.field_behavior) = REQUIRED];
      • getCampaignBudgetMappingsBuilderList

        public java.util.List<CampaignBudgetMapping.Builder> getCampaignBudgetMappingsBuilderList()
         Required. List of campaign budget mappings for graduation. Each campaign
         that appears here will graduate, and will be assigned a new budget that is
         paired with it in the mapping. The maximum size is one.
         
        repeated .google.ads.googleads.v13.services.CampaignBudgetMapping campaign_budget_mappings = 2 [(.google.api.field_behavior) = REQUIRED];
      • getValidateOnly

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

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

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

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