Package com.google.openrtb
Interface OpenRtb.NativeRequest.Asset.DataOrBuilder
-
- All Superinterfaces:
com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<OpenRtb.NativeRequest.Asset.Data>,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
OpenRtb.NativeRequest.Asset.Data,OpenRtb.NativeRequest.Asset.Data.Builder
- Enclosing class:
- OpenRtb.NativeRequest.Asset
public static interface OpenRtb.NativeRequest.Asset.DataOrBuilder extends com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<OpenRtb.NativeRequest.Asset.Data>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description intgetLen()Maximum length of the text in the element's response.OpenRtb.DataAssetTypegetType()Type ID of the element supported by the publisher.booleanhasLen()Maximum length of the text in the element's response.booleanhasType()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
-
-
-
-
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.
-
-