Interface OpenRtb.BidRequest.Imp.MetricOrBuilder

    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      String getType()
      Type of metric being presented using exchange curated string names which should be published to bidders a priori.
      com.google.protobuf.ByteString getTypeBytes()
      Type of metric being presented using exchange curated string names which should be published to bidders a priori.
      double getValue()
      Number representing the value of the metric.
      String getVendor()
      Source of the value using exchange curated string names which should be published to bidders a priori.
      com.google.protobuf.ByteString getVendorBytes()
      Source of the value using exchange curated string names which should be published to bidders a priori.
      boolean hasType()
      Type of metric being presented using exchange curated string names which should be published to bidders a priori.
      boolean hasValue()
      Number representing the value of the metric.
      boolean hasVendor()
      Source of the value using exchange curated string names which should be published to bidders a priori.
      • Methods inherited from interface com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder

        getDefaultInstanceForType, getExtension, getExtension, getExtension, getExtension, getExtension, getExtension, getExtensionCount, getExtensionCount, getExtensionCount, hasExtension, hasExtension, hasExtension
      • Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder

        isInitialized
      • Methods inherited from interface com.google.protobuf.MessageOrBuilder

        findInitializationErrors, getAllFields, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
    • Method Detail

      • hasType

        boolean hasType()
         Type of metric being presented using exchange curated string
         names which should be published to bidders a priori.
         REQUIRED by the OpenRTB specification.
         
        optional string type = 1;
        Returns:
        Whether the type field is set.
      • getType

        String getType()
         Type of metric being presented using exchange curated string
         names which should be published to bidders a priori.
         REQUIRED by the OpenRTB specification.
         
        optional string type = 1;
        Returns:
        The type.
      • getTypeBytes

        com.google.protobuf.ByteString getTypeBytes()
         Type of metric being presented using exchange curated string
         names which should be published to bidders a priori.
         REQUIRED by the OpenRTB specification.
         
        optional string type = 1;
        Returns:
        The bytes for type.
      • hasValue

        boolean hasValue()
         Number representing the value of the metric.
         Probabilities must be in the range 0.0 - 1.0.
         REQUIRED by the OpenRTB specification.
         
        optional double value = 2;
        Returns:
        Whether the value field is set.
      • getValue

        double getValue()
         Number representing the value of the metric.
         Probabilities must be in the range 0.0 - 1.0.
         REQUIRED by the OpenRTB specification.
         
        optional double value = 2;
        Returns:
        The value.
      • hasVendor

        boolean hasVendor()
         Source of the value using exchange curated string names
         which should be published to bidders a priori.
         If the exchange itself is the source versus a third party,
         "EXCHANGE" is recommended.
         RECOMMENDED by the OpenRTB specification.
         
        optional string vendor = 3;
        Returns:
        Whether the vendor field is set.
      • getVendor

        String getVendor()
         Source of the value using exchange curated string names
         which should be published to bidders a priori.
         If the exchange itself is the source versus a third party,
         "EXCHANGE" is recommended.
         RECOMMENDED by the OpenRTB specification.
         
        optional string vendor = 3;
        Returns:
        The vendor.
      • getVendorBytes

        com.google.protobuf.ByteString getVendorBytes()
         Source of the value using exchange curated string names
         which should be published to bidders a priori.
         If the exchange itself is the source versus a third party,
         "EXCHANGE" is recommended.
         RECOMMENDED by the OpenRTB specification.
         
        optional string vendor = 3;
        Returns:
        The bytes for vendor.