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

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

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

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

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

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

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

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

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

        public long getRequiredBudgetAmountMicros()
         Projected required daily budget that the advertiser must set in order to
         receive the estimated traffic, in micros of advertiser currency.
         
        int64 required_budget_amount_micros = 19;
        Specified by:
        getRequiredBudgetAmountMicros in interface TargetCpaSimulationPointOrBuilder
        Returns:
        The requiredBudgetAmountMicros.
      • setRequiredBudgetAmountMicros

        public TargetCpaSimulationPoint.Builder setRequiredBudgetAmountMicros​(long value)
         Projected required daily budget that the advertiser must set in order to
         receive the estimated traffic, in micros of advertiser currency.
         
        int64 required_budget_amount_micros = 19;
        Parameters:
        value - The requiredBudgetAmountMicros to set.
        Returns:
        This builder for chaining.
      • clearRequiredBudgetAmountMicros

        public TargetCpaSimulationPoint.Builder clearRequiredBudgetAmountMicros()
         Projected required daily budget that the advertiser must set in order to
         receive the estimated traffic, in micros of advertiser currency.
         
        int64 required_budget_amount_micros = 19;
        Returns:
        This builder for chaining.
      • hasBiddableConversions

        public boolean hasBiddableConversions()
         Projected number of biddable conversions.
         
        optional double biddable_conversions = 9;
        Specified by:
        hasBiddableConversions in interface TargetCpaSimulationPointOrBuilder
        Returns:
        Whether the biddableConversions field is set.
      • setBiddableConversions

        public TargetCpaSimulationPoint.Builder setBiddableConversions​(double value)
         Projected number of biddable conversions.
         
        optional double biddable_conversions = 9;
        Parameters:
        value - The biddableConversions to set.
        Returns:
        This builder for chaining.
      • clearBiddableConversions

        public TargetCpaSimulationPoint.Builder clearBiddableConversions()
         Projected number of biddable conversions.
         
        optional double biddable_conversions = 9;
        Returns:
        This builder for chaining.
      • hasBiddableConversionsValue

        public boolean hasBiddableConversionsValue()
         Projected total value of biddable conversions.
         
        optional double biddable_conversions_value = 10;
        Specified by:
        hasBiddableConversionsValue in interface TargetCpaSimulationPointOrBuilder
        Returns:
        Whether the biddableConversionsValue field is set.
      • getBiddableConversionsValue

        public double getBiddableConversionsValue()
         Projected total value of biddable conversions.
         
        optional double biddable_conversions_value = 10;
        Specified by:
        getBiddableConversionsValue in interface TargetCpaSimulationPointOrBuilder
        Returns:
        The biddableConversionsValue.
      • setBiddableConversionsValue

        public TargetCpaSimulationPoint.Builder setBiddableConversionsValue​(double value)
         Projected total value of biddable conversions.
         
        optional double biddable_conversions_value = 10;
        Parameters:
        value - The biddableConversionsValue to set.
        Returns:
        This builder for chaining.
      • clearBiddableConversionsValue

        public TargetCpaSimulationPoint.Builder clearBiddableConversionsValue()
         Projected total value of biddable conversions.
         
        optional double biddable_conversions_value = 10;
        Returns:
        This builder for chaining.
      • setAppInstalls

        public TargetCpaSimulationPoint.Builder setAppInstalls​(double value)
         Projected number of app installs.
         
        double app_installs = 15;
        Parameters:
        value - The appInstalls to set.
        Returns:
        This builder for chaining.
      • clearAppInstalls

        public TargetCpaSimulationPoint.Builder clearAppInstalls()
         Projected number of app installs.
         
        double app_installs = 15;
        Returns:
        This builder for chaining.
      • setInAppActions

        public TargetCpaSimulationPoint.Builder setInAppActions​(double value)
         Projected number of in-app actions.
         
        double in_app_actions = 16;
        Parameters:
        value - The inAppActions to set.
        Returns:
        This builder for chaining.
      • clearInAppActions

        public TargetCpaSimulationPoint.Builder clearInAppActions()
         Projected number of in-app actions.
         
        double in_app_actions = 16;
        Returns:
        This builder for chaining.
      • hasClicks

        public boolean hasClicks()
         Projected number of clicks.
         
        optional int64 clicks = 11;
        Specified by:
        hasClicks in interface TargetCpaSimulationPointOrBuilder
        Returns:
        Whether the clicks field is set.
      • setClicks

        public TargetCpaSimulationPoint.Builder setClicks​(long value)
         Projected number of clicks.
         
        optional int64 clicks = 11;
        Parameters:
        value - The clicks to set.
        Returns:
        This builder for chaining.
      • clearClicks

        public TargetCpaSimulationPoint.Builder clearClicks()
         Projected number of clicks.
         
        optional int64 clicks = 11;
        Returns:
        This builder for chaining.
      • hasCostMicros

        public boolean hasCostMicros()
         Projected cost in micros.
         
        optional int64 cost_micros = 12;
        Specified by:
        hasCostMicros in interface TargetCpaSimulationPointOrBuilder
        Returns:
        Whether the costMicros field is set.
      • setCostMicros

        public TargetCpaSimulationPoint.Builder setCostMicros​(long value)
         Projected cost in micros.
         
        optional int64 cost_micros = 12;
        Parameters:
        value - The costMicros to set.
        Returns:
        This builder for chaining.
      • clearCostMicros

        public TargetCpaSimulationPoint.Builder clearCostMicros()
         Projected cost in micros.
         
        optional int64 cost_micros = 12;
        Returns:
        This builder for chaining.
      • hasImpressions

        public boolean hasImpressions()
         Projected number of impressions.
         
        optional int64 impressions = 13;
        Specified by:
        hasImpressions in interface TargetCpaSimulationPointOrBuilder
        Returns:
        Whether the impressions field is set.
      • setImpressions

        public TargetCpaSimulationPoint.Builder setImpressions​(long value)
         Projected number of impressions.
         
        optional int64 impressions = 13;
        Parameters:
        value - The impressions to set.
        Returns:
        This builder for chaining.
      • clearImpressions

        public TargetCpaSimulationPoint.Builder clearImpressions()
         Projected number of impressions.
         
        optional int64 impressions = 13;
        Returns:
        This builder for chaining.
      • hasTopSlotImpressions

        public boolean hasTopSlotImpressions()
         Projected number of top slot impressions.
         Only search advertising channel type supports this field.
         
        optional int64 top_slot_impressions = 14;
        Specified by:
        hasTopSlotImpressions in interface TargetCpaSimulationPointOrBuilder
        Returns:
        Whether the topSlotImpressions field is set.
      • getTopSlotImpressions

        public long getTopSlotImpressions()
         Projected number of top slot impressions.
         Only search advertising channel type supports this field.
         
        optional int64 top_slot_impressions = 14;
        Specified by:
        getTopSlotImpressions in interface TargetCpaSimulationPointOrBuilder
        Returns:
        The topSlotImpressions.
      • setTopSlotImpressions

        public TargetCpaSimulationPoint.Builder setTopSlotImpressions​(long value)
         Projected number of top slot impressions.
         Only search advertising channel type supports this field.
         
        optional int64 top_slot_impressions = 14;
        Parameters:
        value - The topSlotImpressions to set.
        Returns:
        This builder for chaining.
      • clearTopSlotImpressions

        public TargetCpaSimulationPoint.Builder clearTopSlotImpressions()
         Projected number of top slot impressions.
         Only search advertising channel type supports this field.
         
        optional int64 top_slot_impressions = 14;
        Returns:
        This builder for chaining.
      • hasTargetCpaMicros

        public boolean hasTargetCpaMicros()
         The simulated target CPA upon which projected metrics are based.
         
        int64 target_cpa_micros = 17;
        Specified by:
        hasTargetCpaMicros in interface TargetCpaSimulationPointOrBuilder
        Returns:
        Whether the targetCpaMicros field is set.
      • getTargetCpaMicros

        public long getTargetCpaMicros()
         The simulated target CPA upon which projected metrics are based.
         
        int64 target_cpa_micros = 17;
        Specified by:
        getTargetCpaMicros in interface TargetCpaSimulationPointOrBuilder
        Returns:
        The targetCpaMicros.
      • setTargetCpaMicros

        public TargetCpaSimulationPoint.Builder setTargetCpaMicros​(long value)
         The simulated target CPA upon which projected metrics are based.
         
        int64 target_cpa_micros = 17;
        Parameters:
        value - The targetCpaMicros to set.
        Returns:
        This builder for chaining.
      • clearTargetCpaMicros

        public TargetCpaSimulationPoint.Builder clearTargetCpaMicros()
         The simulated target CPA upon which projected metrics are based.
         
        int64 target_cpa_micros = 17;
        Returns:
        This builder for chaining.
      • hasTargetCpaScalingModifier

        public boolean hasTargetCpaScalingModifier()
         The simulated scaling modifier upon which projected metrics are based.
         All CPA targets relevant to the simulated entity are scaled by this
         modifier.
         
        double target_cpa_scaling_modifier = 18;
        Specified by:
        hasTargetCpaScalingModifier in interface TargetCpaSimulationPointOrBuilder
        Returns:
        Whether the targetCpaScalingModifier field is set.
      • getTargetCpaScalingModifier

        public double getTargetCpaScalingModifier()
         The simulated scaling modifier upon which projected metrics are based.
         All CPA targets relevant to the simulated entity are scaled by this
         modifier.
         
        double target_cpa_scaling_modifier = 18;
        Specified by:
        getTargetCpaScalingModifier in interface TargetCpaSimulationPointOrBuilder
        Returns:
        The targetCpaScalingModifier.
      • setTargetCpaScalingModifier

        public TargetCpaSimulationPoint.Builder setTargetCpaScalingModifier​(double value)
         The simulated scaling modifier upon which projected metrics are based.
         All CPA targets relevant to the simulated entity are scaled by this
         modifier.
         
        double target_cpa_scaling_modifier = 18;
        Parameters:
        value - The targetCpaScalingModifier to set.
        Returns:
        This builder for chaining.
      • clearTargetCpaScalingModifier

        public TargetCpaSimulationPoint.Builder clearTargetCpaScalingModifier()
         The simulated scaling modifier upon which projected metrics are based.
         All CPA targets relevant to the simulated entity are scaled by this
         modifier.
         
        double target_cpa_scaling_modifier = 18;
        Returns:
        This builder for chaining.
      • setUnknownFields

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

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