Interface OpenRtb.NativeResponse.Asset.DataOrBuilder

    • Method Summary

      All Methods Instance Methods Abstract Methods Deprecated Methods 
      Modifier and Type Method Description
      String getLabel()
      Deprecated.
      com.google.openrtb.NativeResponse.Asset.Data.label is deprecated.
      com.google.protobuf.ByteString getLabelBytes()
      Deprecated.
      com.google.openrtb.NativeResponse.Asset.Data.label is deprecated.
      int getLen()
      The length of the data element being submitted.
      OpenRtb.DataAssetType getType()
      The type of data element being submitted from the DataAssetTypes enum.
      String getValue()
      The formatted string of data to be displayed.
      com.google.protobuf.ByteString getValueBytes()
      The formatted string of data to be displayed.
      boolean hasLabel()
      Deprecated.
      com.google.openrtb.NativeResponse.Asset.Data.label is deprecated.
      boolean hasLen()
      The length of the data element being submitted.
      boolean hasType()
      The type of data element being submitted from the DataAssetTypes enum.
      boolean hasValue()
      The formatted string of data to be displayed.
      • 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()
         The type of data element being submitted from the DataAssetTypes enum.
         REQUIRED in 1.2 for assetsurl or dcourl responses.
         
        optional .com.google.openrtb.DataAssetType type = 3;
        Returns:
        Whether the type field is set.
      • getType

        OpenRtb.DataAssetType getType()
         The type of data element being submitted from the DataAssetTypes enum.
         REQUIRED in 1.2 for assetsurl or dcourl responses.
         
        optional .com.google.openrtb.DataAssetType type = 3;
        Returns:
        The type.
      • hasLen

        boolean hasLen()
         The length of the data element being submitted. Where applicable, must
         comply with the recommended maximum lengths in the DataAssetType enum.
         REQUIRED in 1.2 for assetsurl or dcourl responses.
         
        optional int32 len = 4;
        Returns:
        Whether the len field is set.
      • getLen

        int getLen()
         The length of the data element being submitted. Where applicable, must
         comply with the recommended maximum lengths in the DataAssetType enum.
         REQUIRED in 1.2 for assetsurl or dcourl responses.
         
        optional int32 len = 4;
        Returns:
        The len.
      • hasLabel

        @Deprecated
        boolean hasLabel()
        Deprecated.
        com.google.openrtb.NativeResponse.Asset.Data.label is deprecated. See openrtb.proto;l=1838
         DEPRECATED in OpenRTB Native 1.2+. No replacement.
         The optional formatted string name of the data type to be displayed.
         
        optional string label = 1 [deprecated = true];
        Returns:
        Whether the label field is set.
      • getLabel

        @Deprecated
        String getLabel()
        Deprecated.
        com.google.openrtb.NativeResponse.Asset.Data.label is deprecated. See openrtb.proto;l=1838
         DEPRECATED in OpenRTB Native 1.2+. No replacement.
         The optional formatted string name of the data type to be displayed.
         
        optional string label = 1 [deprecated = true];
        Returns:
        The label.
      • getLabelBytes

        @Deprecated
        com.google.protobuf.ByteString getLabelBytes()
        Deprecated.
        com.google.openrtb.NativeResponse.Asset.Data.label is deprecated. See openrtb.proto;l=1838
         DEPRECATED in OpenRTB Native 1.2+. No replacement.
         The optional formatted string name of the data type to be displayed.
         
        optional string label = 1 [deprecated = true];
        Returns:
        The bytes for label.
      • hasValue

        boolean hasValue()
         The formatted string of data to be displayed. Can contain a formatted
         value such as "5 stars" or "$10" or "3.4 stars out of 5".
         REQUIRED by the OpenRTB Native specification.
         
        required string value = 2;
        Returns:
        Whether the value field is set.
      • getValue

        String getValue()
         The formatted string of data to be displayed. Can contain a formatted
         value such as "5 stars" or "$10" or "3.4 stars out of 5".
         REQUIRED by the OpenRTB Native specification.
         
        required string value = 2;
        Returns:
        The value.
      • getValueBytes

        com.google.protobuf.ByteString getValueBytes()
         The formatted string of data to be displayed. Can contain a formatted
         value such as "5 stars" or "$10" or "3.4 stars out of 5".
         REQUIRED by the OpenRTB Native specification.
         
        required string value = 2;
        Returns:
        The bytes for value.