Package com.google.openrtb
Interface OpenRtb.BidRequest.Imp.NativeOrBuilder
-
- All Superinterfaces:
com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<OpenRtb.BidRequest.Imp.Native>,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
OpenRtb.BidRequest.Imp.Native,OpenRtb.BidRequest.Imp.Native.Builder
- Enclosing class:
- OpenRtb.BidRequest.Imp
public static interface OpenRtb.BidRequest.Imp.NativeOrBuilder extends com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<OpenRtb.BidRequest.Imp.Native>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description OpenRtb.APIFrameworkgetApi(int index)List of supported API frameworks for this impression.intgetApiCount()List of supported API frameworks for this impression.List<OpenRtb.APIFramework>getApiList()List of supported API frameworks for this impression.OpenRtb.CreativeAttributegetBattr(int index)Blocked creative attributes.intgetBattrCount()Blocked creative attributes.List<OpenRtb.CreativeAttribute>getBattrList()Blocked creative attributes.StringgetRequest()Request payload complying with the Native Ad Specification.com.google.protobuf.ByteStringgetRequestBytes()Request payload complying with the Native Ad Specification.OpenRtb.NativeRequestgetRequestNative()Request payload complying with the Native Ad Specification.OpenRtb.NativeRequestOrBuildergetRequestNativeOrBuilder()Request payload complying with the Native Ad Specification.OpenRtb.BidRequest.Imp.Native.RequestOneofCasegetRequestOneofCase()StringgetVer()Version of the Native Ad Specification to which request complies.com.google.protobuf.ByteStringgetVerBytes()Version of the Native Ad Specification to which request complies.booleanhasRequest()Request payload complying with the Native Ad Specification.booleanhasRequestNative()Request payload complying with the Native Ad Specification.booleanhasVer()Version of the Native Ad Specification to which request complies.-
Methods inherited from interface com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder
getDefaultInstanceForType, getExtension, getExtension, getExtension, getExtension, getExtension, getExtension, getExtensionCount, getExtensionCount, getExtensionCount, hasExtension, hasExtension, hasExtension
-
-
-
-
Method Detail
-
hasRequest
boolean hasRequest()
Request payload complying with the Native Ad Specification. Exactly one of {request, request_native} should be used; this is the OpenRTB-compliant field for JSON serialization.string request = 1;- Returns:
- Whether the request field is set.
-
getRequest
String getRequest()
Request payload complying with the Native Ad Specification. Exactly one of {request, request_native} should be used; this is the OpenRTB-compliant field for JSON serialization.string request = 1;- Returns:
- The request.
-
getRequestBytes
com.google.protobuf.ByteString getRequestBytes()
Request payload complying with the Native Ad Specification. Exactly one of {request, request_native} should be used; this is the OpenRTB-compliant field for JSON serialization.string request = 1;- Returns:
- The bytes for request.
-
hasRequestNative
boolean hasRequestNative()
Request payload complying with the Native Ad Specification. Exactly one of {request, request_native} should be used; this is an alternate field preferred for Protobuf serialization..com.google.openrtb.NativeRequest request_native = 50;- Returns:
- Whether the requestNative field is set.
-
getRequestNative
OpenRtb.NativeRequest getRequestNative()
Request payload complying with the Native Ad Specification. Exactly one of {request, request_native} should be used; this is an alternate field preferred for Protobuf serialization..com.google.openrtb.NativeRequest request_native = 50;- Returns:
- The requestNative.
-
getRequestNativeOrBuilder
OpenRtb.NativeRequestOrBuilder getRequestNativeOrBuilder()
Request payload complying with the Native Ad Specification. Exactly one of {request, request_native} should be used; this is an alternate field preferred for Protobuf serialization..com.google.openrtb.NativeRequest request_native = 50;
-
hasVer
boolean hasVer()
Version of the Native Ad Specification to which request complies. RECOMMENDED by the OpenRTB specification.
optional string ver = 2;- Returns:
- Whether the ver field is set.
-
getVer
String getVer()
Version of the Native Ad Specification to which request complies. RECOMMENDED by the OpenRTB specification.
optional string ver = 2;- Returns:
- The ver.
-
getVerBytes
com.google.protobuf.ByteString getVerBytes()
Version of the Native Ad Specification to which request complies. RECOMMENDED by the OpenRTB specification.
optional string ver = 2;- Returns:
- The bytes for ver.
-
getApiList
List<OpenRtb.APIFramework> getApiList()
List of supported API frameworks for this impression. If an API is not explicitly listed, it is assumed not to be supported.
repeated .com.google.openrtb.APIFramework api = 3 [packed = true];- Returns:
- A list containing the api.
-
getApiCount
int getApiCount()
List of supported API frameworks for this impression. If an API is not explicitly listed, it is assumed not to be supported.
repeated .com.google.openrtb.APIFramework api = 3 [packed = true];- Returns:
- The count of api.
-
getApi
OpenRtb.APIFramework getApi(int index)
List of supported API frameworks for this impression. If an API is not explicitly listed, it is assumed not to be supported.
repeated .com.google.openrtb.APIFramework api = 3 [packed = true];- Parameters:
index- The index of the element to return.- Returns:
- The api at the given index.
-
getBattrList
List<OpenRtb.CreativeAttribute> getBattrList()
Blocked creative attributes.
repeated .com.google.openrtb.CreativeAttribute battr = 4 [packed = true];- Returns:
- A list containing the battr.
-
getBattrCount
int getBattrCount()
Blocked creative attributes.
repeated .com.google.openrtb.CreativeAttribute battr = 4 [packed = true];- Returns:
- The count of battr.
-
getBattr
OpenRtb.CreativeAttribute getBattr(int index)
Blocked creative attributes.
repeated .com.google.openrtb.CreativeAttribute battr = 4 [packed = true];- Parameters:
index- The index of the element to return.- Returns:
- The battr at the given index.
-
getRequestOneofCase
OpenRtb.BidRequest.Imp.Native.RequestOneofCase getRequestOneofCase()
-
-