Class GraduateExperimentRequest

  • All Implemented Interfaces:
    GraduateExperimentRequestOrBuilder, com.google.protobuf.Message, com.google.protobuf.MessageLite, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, java.io.Serializable

    public final class GraduateExperimentRequest
    extends com.google.protobuf.GeneratedMessageV3
    implements GraduateExperimentRequestOrBuilder
     Request message for [ExperimentService.GraduateExperiment][google.ads.googleads.v10.services.ExperimentService.GraduateExperiment].
     
    Protobuf type google.ads.googleads.v10.services.GraduateExperimentRequest
    See Also:
    Serialized Form
    • Field Detail

      • EXPERIMENT_FIELD_NUMBER

        public static final int EXPERIMENT_FIELD_NUMBER
        See Also:
        Constant Field Values
      • CAMPAIGN_BUDGET_MAPPINGS_FIELD_NUMBER

        public static final int CAMPAIGN_BUDGET_MAPPINGS_FIELD_NUMBER
        See Also:
        Constant Field Values
      • VALIDATE_ONLY_FIELD_NUMBER

        public static final int VALIDATE_ONLY_FIELD_NUMBER
        See Also:
        Constant Field Values
    • Method Detail

      • newInstance

        protected java.lang.Object newInstance​(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
        Overrides:
        newInstance in class com.google.protobuf.GeneratedMessageV3
      • getUnknownFields

        public final com.google.protobuf.UnknownFieldSet getUnknownFields()
        Specified by:
        getUnknownFields in interface com.google.protobuf.MessageOrBuilder
        Overrides:
        getUnknownFields in class com.google.protobuf.GeneratedMessageV3
      • 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
      • 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.
      • 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.v10.services.CampaignBudgetMapping campaign_budget_mappings = 2 [(.google.api.field_behavior) = REQUIRED];
        Specified by:
        getCampaignBudgetMappingsList 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.v10.services.CampaignBudgetMapping campaign_budget_mappings = 2 [(.google.api.field_behavior) = REQUIRED];
        Specified by:
        getCampaignBudgetMappingsOrBuilderList 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.v10.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.v10.services.CampaignBudgetMapping campaign_budget_mappings = 2 [(.google.api.field_behavior) = REQUIRED];
        Specified by:
        getCampaignBudgetMappings in interface GraduateExperimentRequestOrBuilder
      • 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.v10.services.CampaignBudgetMapping campaign_budget_mappings = 2 [(.google.api.field_behavior) = REQUIRED];
        Specified by:
        getCampaignBudgetMappingsOrBuilder in interface GraduateExperimentRequestOrBuilder
      • 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.
      • isInitialized

        public final boolean isInitialized()
        Specified by:
        isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
        Overrides:
        isInitialized in class com.google.protobuf.GeneratedMessageV3
      • writeTo

        public void writeTo​(com.google.protobuf.CodedOutputStream output)
                     throws java.io.IOException
        Specified by:
        writeTo in interface com.google.protobuf.MessageLite
        Overrides:
        writeTo in class com.google.protobuf.GeneratedMessageV3
        Throws:
        java.io.IOException
      • getSerializedSize

        public int getSerializedSize()
        Specified by:
        getSerializedSize in interface com.google.protobuf.MessageLite
        Overrides:
        getSerializedSize in class com.google.protobuf.GeneratedMessageV3
      • equals

        public boolean equals​(java.lang.Object obj)
        Specified by:
        equals in interface com.google.protobuf.Message
        Overrides:
        equals in class com.google.protobuf.AbstractMessage
      • hashCode

        public int hashCode()
        Specified by:
        hashCode in interface com.google.protobuf.Message
        Overrides:
        hashCode in class com.google.protobuf.AbstractMessage
      • parseFrom

        public static GraduateExperimentRequest parseFrom​(java.nio.ByteBuffer data)
                                                   throws com.google.protobuf.InvalidProtocolBufferException
        Throws:
        com.google.protobuf.InvalidProtocolBufferException
      • parseFrom

        public static GraduateExperimentRequest parseFrom​(java.nio.ByteBuffer data,
                                                          com.google.protobuf.ExtensionRegistryLite extensionRegistry)
                                                   throws com.google.protobuf.InvalidProtocolBufferException
        Throws:
        com.google.protobuf.InvalidProtocolBufferException
      • parseFrom

        public static GraduateExperimentRequest parseFrom​(com.google.protobuf.ByteString data)
                                                   throws com.google.protobuf.InvalidProtocolBufferException
        Throws:
        com.google.protobuf.InvalidProtocolBufferException
      • parseFrom

        public static GraduateExperimentRequest parseFrom​(com.google.protobuf.ByteString data,
                                                          com.google.protobuf.ExtensionRegistryLite extensionRegistry)
                                                   throws com.google.protobuf.InvalidProtocolBufferException
        Throws:
        com.google.protobuf.InvalidProtocolBufferException
      • parseFrom

        public static GraduateExperimentRequest parseFrom​(byte[] data)
                                                   throws com.google.protobuf.InvalidProtocolBufferException
        Throws:
        com.google.protobuf.InvalidProtocolBufferException
      • parseFrom

        public static GraduateExperimentRequest parseFrom​(byte[] data,
                                                          com.google.protobuf.ExtensionRegistryLite extensionRegistry)
                                                   throws com.google.protobuf.InvalidProtocolBufferException
        Throws:
        com.google.protobuf.InvalidProtocolBufferException
      • parseFrom

        public static GraduateExperimentRequest parseFrom​(java.io.InputStream input)
                                                   throws java.io.IOException
        Throws:
        java.io.IOException
      • parseFrom

        public static GraduateExperimentRequest parseFrom​(java.io.InputStream input,
                                                          com.google.protobuf.ExtensionRegistryLite extensionRegistry)
                                                   throws java.io.IOException
        Throws:
        java.io.IOException
      • parseDelimitedFrom

        public static GraduateExperimentRequest parseDelimitedFrom​(java.io.InputStream input)
                                                            throws java.io.IOException
        Throws:
        java.io.IOException
      • parseDelimitedFrom

        public static GraduateExperimentRequest parseDelimitedFrom​(java.io.InputStream input,
                                                                   com.google.protobuf.ExtensionRegistryLite extensionRegistry)
                                                            throws java.io.IOException
        Throws:
        java.io.IOException
      • parseFrom

        public static GraduateExperimentRequest parseFrom​(com.google.protobuf.CodedInputStream input)
                                                   throws java.io.IOException
        Throws:
        java.io.IOException
      • parseFrom

        public static GraduateExperimentRequest parseFrom​(com.google.protobuf.CodedInputStream input,
                                                          com.google.protobuf.ExtensionRegistryLite extensionRegistry)
                                                   throws java.io.IOException
        Throws:
        java.io.IOException
      • newBuilderForType

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

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

        protected GraduateExperimentRequest.Builder newBuilderForType​(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
        Specified by:
        newBuilderForType in class com.google.protobuf.GeneratedMessageV3
      • getParserForType

        public com.google.protobuf.Parser<GraduateExperimentRequest> getParserForType()
        Specified by:
        getParserForType in interface com.google.protobuf.Message
        Specified by:
        getParserForType in interface com.google.protobuf.MessageLite
        Overrides:
        getParserForType in class com.google.protobuf.GeneratedMessageV3
      • getDefaultInstanceForType

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