Interface OpenRtb.NativeRequest.Asset.ImageOrBuilder

    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      int getH()
      Height of the image in pixels.
      int getHmin()
      The minimum requested height of the image in pixels.
      String getMimes​(int index)
      Allowlist of content MIME types supported.
      com.google.protobuf.ByteString getMimesBytes​(int index)
      Allowlist of content MIME types supported.
      int getMimesCount()
      Allowlist of content MIME types supported.
      List<String> getMimesList()
      Allowlist of content MIME types supported.
      OpenRtb.ImageAssetType getType()
      Type ID of the image element supported by the publisher.
      int getW()
      Width of the image in pixels.
      int getWmin()
      The minimum requested width of the image in pixels.
      boolean hasH()
      Height of the image in pixels.
      boolean hasHmin()
      The minimum requested height of the image in pixels.
      boolean hasType()
      Type ID of the image element supported by the publisher.
      boolean hasW()
      Width of the image in pixels.
      boolean hasWmin()
      The minimum requested width of the image in pixels.
      • 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 image element supported by the publisher.
         The publisher can display this information in an appropriate format.
         
        optional .com.google.openrtb.ImageAssetType type = 1;
        Returns:
        Whether the type field is set.
      • getType

        OpenRtb.ImageAssetType getType()
         Type ID of the image element supported by the publisher.
         The publisher can display this information in an appropriate format.
         
        optional .com.google.openrtb.ImageAssetType type = 1;
        Returns:
        The type.
      • hasW

        boolean hasW()
         Width of the image in pixels.
         
        optional int32 w = 2;
        Returns:
        Whether the w field is set.
      • getW

        int getW()
         Width of the image in pixels.
         
        optional int32 w = 2;
        Returns:
        The w.
      • hasH

        boolean hasH()
         Height of the image in pixels.
         
        optional int32 h = 3;
        Returns:
        Whether the h field is set.
      • getH

        int getH()
         Height of the image in pixels.
         
        optional int32 h = 3;
        Returns:
        The h.
      • hasWmin

        boolean hasWmin()
         The minimum requested width of the image in pixels. This option should
         be used for any rescaling of images by the client. Either w or wmin
         should be transmitted. If only w is included, it should be considered
         an exact requirement.
         RECOMMENDED by the OpenRTB Native specification.
         
        optional int32 wmin = 4;
        Returns:
        Whether the wmin field is set.
      • getWmin

        int getWmin()
         The minimum requested width of the image in pixels. This option should
         be used for any rescaling of images by the client. Either w or wmin
         should be transmitted. If only w is included, it should be considered
         an exact requirement.
         RECOMMENDED by the OpenRTB Native specification.
         
        optional int32 wmin = 4;
        Returns:
        The wmin.
      • hasHmin

        boolean hasHmin()
         The minimum requested height of the image in pixels. This option should
         be used for any rescaling of images by the client. Either h or hmin
         should be transmitted. If only h is included, it should be considered
         an exact requirement.
         RECOMMENDED by the OpenRTB Native specification.
         
        optional int32 hmin = 5;
        Returns:
        Whether the hmin field is set.
      • getHmin

        int getHmin()
         The minimum requested height of the image in pixels. This option should
         be used for any rescaling of images by the client. Either h or hmin
         should be transmitted. If only h is included, it should be considered
         an exact requirement.
         RECOMMENDED by the OpenRTB Native specification.
         
        optional int32 hmin = 5;
        Returns:
        The hmin.
      • getMimesList

        List<String> getMimesList()
         Allowlist of content MIME types supported. Popular MIME types include,
         but are not limited to "image/jpg" and "image/gif". Each implementing
         Exchange should have their own list of supported types in the
         integration docs. See Wikipedia's MIME page for more information and
         links to all IETF RFCs. If blank, assume all types are allowed.
         
        repeated string mimes = 6;
        Returns:
        A list containing the mimes.
      • getMimesCount

        int getMimesCount()
         Allowlist of content MIME types supported. Popular MIME types include,
         but are not limited to "image/jpg" and "image/gif". Each implementing
         Exchange should have their own list of supported types in the
         integration docs. See Wikipedia's MIME page for more information and
         links to all IETF RFCs. If blank, assume all types are allowed.
         
        repeated string mimes = 6;
        Returns:
        The count of mimes.
      • getMimes

        String getMimes​(int index)
         Allowlist of content MIME types supported. Popular MIME types include,
         but are not limited to "image/jpg" and "image/gif". Each implementing
         Exchange should have their own list of supported types in the
         integration docs. See Wikipedia's MIME page for more information and
         links to all IETF RFCs. If blank, assume all types are allowed.
         
        repeated string mimes = 6;
        Parameters:
        index - The index of the element to return.
        Returns:
        The mimes at the given index.
      • getMimesBytes

        com.google.protobuf.ByteString getMimesBytes​(int index)
         Allowlist of content MIME types supported. Popular MIME types include,
         but are not limited to "image/jpg" and "image/gif". Each implementing
         Exchange should have their own list of supported types in the
         integration docs. See Wikipedia's MIME page for more information and
         links to all IETF RFCs. If blank, assume all types are allowed.
         
        repeated string mimes = 6;
        Parameters:
        index - The index of the value to return.
        Returns:
        The bytes of the mimes at the given index.