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

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

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

        public Recommendation.TargetAdjustmentInfo buildPartial()
        Specified by:
        buildPartial in interface com.google.protobuf.Message.Builder
        Specified by:
        buildPartial in interface com.google.protobuf.MessageLite.Builder
      • isInitialized

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

        public Recommendation.TargetAdjustmentInfo.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<Recommendation.TargetAdjustmentInfo.Builder>
        Throws:
        java.io.IOException
      • hasSharedSet

        public boolean hasSharedSet()
         Output only. The shared set resource name of the portfolio bidding
         strategy where the target is defined. Only populated if the
         recommendation is portfolio level.
         
        optional string shared_set = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Specified by:
        hasSharedSet in interface Recommendation.TargetAdjustmentInfoOrBuilder
        Returns:
        Whether the sharedSet field is set.
      • getSharedSet

        public java.lang.String getSharedSet()
         Output only. The shared set resource name of the portfolio bidding
         strategy where the target is defined. Only populated if the
         recommendation is portfolio level.
         
        optional string shared_set = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Specified by:
        getSharedSet in interface Recommendation.TargetAdjustmentInfoOrBuilder
        Returns:
        The sharedSet.
      • getSharedSetBytes

        public com.google.protobuf.ByteString getSharedSetBytes()
         Output only. The shared set resource name of the portfolio bidding
         strategy where the target is defined. Only populated if the
         recommendation is portfolio level.
         
        optional string shared_set = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Specified by:
        getSharedSetBytes in interface Recommendation.TargetAdjustmentInfoOrBuilder
        Returns:
        The bytes for sharedSet.
      • setSharedSet

        public Recommendation.TargetAdjustmentInfo.Builder setSharedSet​(java.lang.String value)
         Output only. The shared set resource name of the portfolio bidding
         strategy where the target is defined. Only populated if the
         recommendation is portfolio level.
         
        optional string shared_set = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Parameters:
        value - The sharedSet to set.
        Returns:
        This builder for chaining.
      • clearSharedSet

        public Recommendation.TargetAdjustmentInfo.Builder clearSharedSet()
         Output only. The shared set resource name of the portfolio bidding
         strategy where the target is defined. Only populated if the
         recommendation is portfolio level.
         
        optional string shared_set = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Returns:
        This builder for chaining.
      • setSharedSetBytes

        public Recommendation.TargetAdjustmentInfo.Builder setSharedSetBytes​(com.google.protobuf.ByteString value)
         Output only. The shared set resource name of the portfolio bidding
         strategy where the target is defined. Only populated if the
         recommendation is portfolio level.
         
        optional string shared_set = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Parameters:
        value - The bytes for sharedSet to set.
        Returns:
        This builder for chaining.
      • getRecommendedTargetMultiplier

        public double getRecommendedTargetMultiplier()
         Output only. The factor by which we recommend the target to be adjusted
         by.
         
        double recommended_target_multiplier = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Specified by:
        getRecommendedTargetMultiplier in interface Recommendation.TargetAdjustmentInfoOrBuilder
        Returns:
        The recommendedTargetMultiplier.
      • setRecommendedTargetMultiplier

        public Recommendation.TargetAdjustmentInfo.Builder setRecommendedTargetMultiplier​(double value)
         Output only. The factor by which we recommend the target to be adjusted
         by.
         
        double recommended_target_multiplier = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Parameters:
        value - The recommendedTargetMultiplier to set.
        Returns:
        This builder for chaining.
      • clearRecommendedTargetMultiplier

        public Recommendation.TargetAdjustmentInfo.Builder clearRecommendedTargetMultiplier()
         Output only. The factor by which we recommend the target to be adjusted
         by.
         
        double recommended_target_multiplier = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Returns:
        This builder for chaining.
      • getCurrentAverageTargetMicros

        public long getCurrentAverageTargetMicros()
         Output only. The current average target of the campaign or portfolio
         targeted by this recommendation.
         
        int64 current_average_target_micros = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Specified by:
        getCurrentAverageTargetMicros in interface Recommendation.TargetAdjustmentInfoOrBuilder
        Returns:
        The currentAverageTargetMicros.
      • setCurrentAverageTargetMicros

        public Recommendation.TargetAdjustmentInfo.Builder setCurrentAverageTargetMicros​(long value)
         Output only. The current average target of the campaign or portfolio
         targeted by this recommendation.
         
        int64 current_average_target_micros = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Parameters:
        value - The currentAverageTargetMicros to set.
        Returns:
        This builder for chaining.
      • clearCurrentAverageTargetMicros

        public Recommendation.TargetAdjustmentInfo.Builder clearCurrentAverageTargetMicros()
         Output only. The current average target of the campaign or portfolio
         targeted by this recommendation.
         
        int64 current_average_target_micros = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Returns:
        This builder for chaining.