Interface OpenRtb.NativeRequest.Asset.DataOrBuilder

    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      int getLen()
      Maximum length of the text in the element's response.
      OpenRtb.DataAssetType getType()
      Type ID of the element supported by the publisher.
      boolean hasLen()
      Maximum length of the text in the element's response.
      boolean hasType()
      Type ID of the element supported by the publisher.
      • 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 ID of the element supported by the publisher. The publisher can
         display this information in an appropriate format.
         REQUIRED by the OpenRTB Native specification.
         
        required .com.google.openrtb.DataAssetType type = 1;
        Returns:
        Whether the type field is set.
      • getType

        OpenRtb.DataAssetType getType()
         Type ID of the element supported by the publisher. The publisher can
         display this information in an appropriate format.
         REQUIRED by the OpenRTB Native specification.
         
        required .com.google.openrtb.DataAssetType type = 1;
        Returns:
        The type.
      • hasLen

        boolean hasLen()
         Maximum length of the text in the element's response. Longer strings
         may be truncated and ellipsized by Ad Exchange or the publisher during
         rendering.
         
        optional int32 len = 2;
        Returns:
        Whether the len field is set.
      • getLen

        int getLen()
         Maximum length of the text in the element's response. Longer strings
         may be truncated and ellipsized by Ad Exchange or the publisher during
         rendering.
         
        optional int32 len = 2;
        Returns:
        The len.