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

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

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

        public AccessibleBiddingStrategy.TargetCpa 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<AccessibleBiddingStrategy.TargetCpa.Builder>
      • mergeFrom

        public AccessibleBiddingStrategy.TargetCpa.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<AccessibleBiddingStrategy.TargetCpa.Builder>
        Throws:
        java.io.IOException
      • hasTargetCpaMicros

        public boolean hasTargetCpaMicros()
         Output only. Average CPA target.
         This target should be greater than or equal to minimum billable unit
         based on the currency for the account.
         
        optional int64 target_cpa_micros = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Specified by:
        hasTargetCpaMicros in interface AccessibleBiddingStrategy.TargetCpaOrBuilder
        Returns:
        Whether the targetCpaMicros field is set.
      • getTargetCpaMicros

        public long getTargetCpaMicros()
         Output only. Average CPA target.
         This target should be greater than or equal to minimum billable unit
         based on the currency for the account.
         
        optional int64 target_cpa_micros = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Specified by:
        getTargetCpaMicros in interface AccessibleBiddingStrategy.TargetCpaOrBuilder
        Returns:
        The targetCpaMicros.
      • setTargetCpaMicros

        public AccessibleBiddingStrategy.TargetCpa.Builder setTargetCpaMicros​(long value)
         Output only. Average CPA target.
         This target should be greater than or equal to minimum billable unit
         based on the currency for the account.
         
        optional int64 target_cpa_micros = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Parameters:
        value - The targetCpaMicros to set.
        Returns:
        This builder for chaining.
      • clearTargetCpaMicros

        public AccessibleBiddingStrategy.TargetCpa.Builder clearTargetCpaMicros()
         Output only. Average CPA target.
         This target should be greater than or equal to minimum billable unit
         based on the currency for the account.
         
        optional int64 target_cpa_micros = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Returns:
        This builder for chaining.