Package com.google.openrtb
Interface OpenRtb.NativeResponse.Asset.DataOrBuilder
-
- All Superinterfaces:
com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<OpenRtb.NativeResponse.Asset.Data>,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
OpenRtb.NativeResponse.Asset.Data,OpenRtb.NativeResponse.Asset.Data.Builder
- Enclosing class:
- OpenRtb.NativeResponse.Asset
public static interface OpenRtb.NativeResponse.Asset.DataOrBuilder extends com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<OpenRtb.NativeResponse.Asset.Data>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Deprecated Methods Modifier and Type Method Description StringgetLabel()Deprecated.com.google.openrtb.NativeResponse.Asset.Data.label is deprecated.com.google.protobuf.ByteStringgetLabelBytes()Deprecated.com.google.openrtb.NativeResponse.Asset.Data.label is deprecated.intgetLen()The length of the data element being submitted.OpenRtb.DataAssetTypegetType()The type of data element being submitted from the DataAssetTypes enum.StringgetValue()The formatted string of data to be displayed.com.google.protobuf.ByteStringgetValueBytes()The formatted string of data to be displayed.booleanhasLabel()Deprecated.com.google.openrtb.NativeResponse.Asset.Data.label is deprecated.booleanhasLen()The length of the data element being submitted.booleanhasType()The type of data element being submitted from the DataAssetTypes enum.booleanhasValue()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
-
-
-
-
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=1838DEPRECATED 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=1838DEPRECATED 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=1838DEPRECATED 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.
-
-