public static final class DaiSession.AdPod extends GeneratedMessage implements DaiSession.AdPodOrBuilder
Information about a single decisioned ad pod in this session. This message
pertains to the smallest unit of ads to insert in a session, and
might be a pod fragment.
Protobuf type google.ads.admanager.v1.DaiSession.AdPod
Inherited Members
com.google.protobuf.GeneratedMessage.<ContainingT,T>newFileScopedGeneratedExtension(java.lang.Class<?>,com.google.protobuf.Message)
com.google.protobuf.GeneratedMessage.<ContainingT,T>newMessageScopedGeneratedExtension(com.google.protobuf.Message,int,java.lang.Class<?>,com.google.protobuf.Message)
com.google.protobuf.GeneratedMessage.<ListT>makeMutableCopy(ListT)
com.google.protobuf.GeneratedMessage.<ListT>makeMutableCopy(ListT,int)
com.google.protobuf.GeneratedMessage.<T>emptyList(java.lang.Class<T>)
com.google.protobuf.GeneratedMessage.<V>serializeBooleanMapTo(com.google.protobuf.CodedOutputStream,com.google.protobuf.MapField<java.lang.Boolean,V>,com.google.protobuf.MapEntry<java.lang.Boolean,V>,int)
com.google.protobuf.GeneratedMessage.<V>serializeIntegerMapTo(com.google.protobuf.CodedOutputStream,com.google.protobuf.MapField<java.lang.Integer,V>,com.google.protobuf.MapEntry<java.lang.Integer,V>,int)
com.google.protobuf.GeneratedMessage.<V>serializeLongMapTo(com.google.protobuf.CodedOutputStream,com.google.protobuf.MapField<java.lang.Long,V>,com.google.protobuf.MapEntry<java.lang.Long,V>,int)
com.google.protobuf.GeneratedMessage.<V>serializeStringMapTo(com.google.protobuf.CodedOutputStream,com.google.protobuf.MapField<java.lang.String,V>,com.google.protobuf.MapEntry<java.lang.String,V>,int)
com.google.protobuf.GeneratedMessage.canUseUnsafe()
com.google.protobuf.GeneratedMessage.emptyBooleanList()
com.google.protobuf.GeneratedMessage.emptyDoubleList()
com.google.protobuf.GeneratedMessage.emptyFloatList()
com.google.protobuf.GeneratedMessage.emptyIntList()
com.google.protobuf.GeneratedMessage.emptyLongList()
com.google.protobuf.GeneratedMessage.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessage.isStringEmpty(java.lang.Object)
com.google.protobuf.GeneratedMessage.mergeFromAndMakeImmutableInternal(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite)
com.google.protobuf.GeneratedMessage.newInstance(com.google.protobuf.GeneratedMessage.UnusedPrivateParameter)
com.google.protobuf.GeneratedMessage.parseUnknownFieldProto3(com.google.protobuf.CodedInputStream,com.google.protobuf.UnknownFieldSet.Builder,com.google.protobuf.ExtensionRegistryLite,int)
Static Fields
AD_BREAK_ID_FIELD_NUMBER
public static final int AD_BREAK_ID_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
|
AD_REQUEST_KEY_FIELD_NUMBER
public static final int AD_REQUEST_KEY_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
|
CREATIVES_FIELD_NUMBER
public static final int CREATIVES_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
|
LABEL_FIELD_NUMBER
public static final int LABEL_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
|
PREFETCH_STAGE_FIELD_NUMBER
public static final int PREFETCH_STAGE_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
|
REQUESTED_BREAK_TYPE_FIELD_NUMBER
public static final int REQUESTED_BREAK_TYPE_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
|
Static Methods
getDefaultInstance()
public static DaiSession.AdPod getDefaultInstance()
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
newBuilder()
public static DaiSession.AdPod.Builder newBuilder()
newBuilder(DaiSession.AdPod prototype)
public static DaiSession.AdPod.Builder newBuilder(DaiSession.AdPod prototype)
public static DaiSession.AdPod parseDelimitedFrom(InputStream input)
public static DaiSession.AdPod parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(byte[] data)
public static DaiSession.AdPod parseFrom(byte[] data)
| Parameter |
| Name |
Description |
data |
byte[]
|
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static DaiSession.AdPod parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteString data)
public static DaiSession.AdPod parseFrom(ByteString data)
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static DaiSession.AdPod parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static DaiSession.AdPod parseFrom(CodedInputStream input)
public static DaiSession.AdPod parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static DaiSession.AdPod parseFrom(InputStream input)
public static DaiSession.AdPod parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteBuffer data)
public static DaiSession.AdPod parseFrom(ByteBuffer data)
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static DaiSession.AdPod parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
parser()
public static Parser<DaiSession.AdPod> parser()
Methods
containsCreatives(long key)
public boolean containsCreatives(long key)
Output only. The creatives in this ad pod. Keyed by a unique ID used to
reference this creative from a different submessage.
map<int64, .google.ads.admanager.v1.DaiSession.Creative> creatives = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter |
| Name |
Description |
key |
long
|
equals(Object obj)
public boolean equals(Object obj)
| Parameter |
| Name |
Description |
obj |
Object
|
Overrides
getAdBreakId()
public String getAdBreakId()
Output only. Publisher-provided or DAI-generated break ID for the Ad
break API or pod serving
API.
optional string ad_break_id = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns |
| Type |
Description |
String |
The adBreakId.
|
getAdBreakIdBytes()
public ByteString getAdBreakIdBytes()
Output only. Publisher-provided or DAI-generated break ID for the Ad
break API or pod serving
API.
optional string ad_break_id = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns |
| Type |
Description |
ByteString |
The bytes for adBreakId.
|
getAdRequestKey()
public long getAdRequestKey()
Output only. Ad request ID that links to the ad request that resulted in
this ad pod.
optional int64 ad_request_key = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns |
| Type |
Description |
long |
The adRequestKey.
|
getCreatives() (deprecated)
public Map<Long,DaiSession.Creative> getCreatives()
getCreativesCount()
public int getCreativesCount()
Output only. The creatives in this ad pod. Keyed by a unique ID used to
reference this creative from a different submessage.
map<int64, .google.ads.admanager.v1.DaiSession.Creative> creatives = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns |
| Type |
Description |
int |
|
getCreativesMap()
public Map<Long,DaiSession.Creative> getCreativesMap()
Output only. The creatives in this ad pod. Keyed by a unique ID used to
reference this creative from a different submessage.
map<int64, .google.ads.admanager.v1.DaiSession.Creative> creatives = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
getCreativesOrDefault(long key, DaiSession.Creative defaultValue)
public DaiSession.Creative getCreativesOrDefault(long key, DaiSession.Creative defaultValue)
Output only. The creatives in this ad pod. Keyed by a unique ID used to
reference this creative from a different submessage.
map<int64, .google.ads.admanager.v1.DaiSession.Creative> creatives = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
getCreativesOrThrow(long key)
public DaiSession.Creative getCreativesOrThrow(long key)
Output only. The creatives in this ad pod. Keyed by a unique ID used to
reference this creative from a different submessage.
map<int64, .google.ads.admanager.v1.DaiSession.Creative> creatives = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter |
| Name |
Description |
key |
long
|
getDefaultInstanceForType()
public DaiSession.AdPod getDefaultInstanceForType()
getLabel()
Output only. Descriptive label for this ad pod, used to distinguish ad
pods from one another in this session. e.g. "midroll-1", "2".
optional string label = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns |
| Type |
Description |
String |
The label.
|
getLabelBytes()
public ByteString getLabelBytes()
Output only. Descriptive label for this ad pod, used to distinguish ad
pods from one another in this session. e.g. "midroll-1", "2".
optional string label = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns |
| Type |
Description |
ByteString |
The bytes for label.
|
getParserForType()
public Parser<DaiSession.AdPod> getParserForType()
Overrides
getPrefetchStage()
public PrefetchStageTypeEnum.PrefetchStageType getPrefetchStage()
Output only. Indicates the prefetch stage for this ad pod. If prefetch is
not enabled this stage is set to the
PrefetchStageType.DISABLED
value.
optional .google.ads.admanager.v1.PrefetchStageTypeEnum.PrefetchStageType prefetch_stage = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
getPrefetchStageValue()
public int getPrefetchStageValue()
Output only. Indicates the prefetch stage for this ad pod. If prefetch is
not enabled this stage is set to the
PrefetchStageType.DISABLED
value.
optional .google.ads.admanager.v1.PrefetchStageTypeEnum.PrefetchStageType prefetch_stage = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns |
| Type |
Description |
int |
The enum numeric value on the wire for prefetchStage.
|
getRequestedBreakType()
public BreakTypeEnum.BreakType getRequestedBreakType()
Output only. Type of ad break this ad pod was decisioned for.
optional .google.ads.admanager.v1.BreakTypeEnum.BreakType requested_break_type = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
getRequestedBreakTypeValue()
public int getRequestedBreakTypeValue()
Output only. Type of ad break this ad pod was decisioned for.
optional .google.ads.admanager.v1.BreakTypeEnum.BreakType requested_break_type = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns |
| Type |
Description |
int |
The enum numeric value on the wire for requestedBreakType.
|
getSerializedSize()
public int getSerializedSize()
| Returns |
| Type |
Description |
int |
|
Overrides
hasAdBreakId()
public boolean hasAdBreakId()
Output only. Publisher-provided or DAI-generated break ID for the Ad
break API or pod serving
API.
optional string ad_break_id = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns |
| Type |
Description |
boolean |
Whether the adBreakId field is set.
|
hasAdRequestKey()
public boolean hasAdRequestKey()
Output only. Ad request ID that links to the ad request that resulted in
this ad pod.
optional int64 ad_request_key = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns |
| Type |
Description |
boolean |
Whether the adRequestKey field is set.
|
hasLabel()
public boolean hasLabel()
Output only. Descriptive label for this ad pod, used to distinguish ad
pods from one another in this session. e.g. "midroll-1", "2".
optional string label = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns |
| Type |
Description |
boolean |
Whether the label field is set.
|
hasPrefetchStage()
public boolean hasPrefetchStage()
Output only. Indicates the prefetch stage for this ad pod. If prefetch is
not enabled this stage is set to the
PrefetchStageType.DISABLED
value.
optional .google.ads.admanager.v1.PrefetchStageTypeEnum.PrefetchStageType prefetch_stage = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns |
| Type |
Description |
boolean |
Whether the prefetchStage field is set.
|
hasRequestedBreakType()
public boolean hasRequestedBreakType()
Output only. Type of ad break this ad pod was decisioned for.
optional .google.ads.admanager.v1.BreakTypeEnum.BreakType requested_break_type = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns |
| Type |
Description |
boolean |
Whether the requestedBreakType field is set.
|
hashCode()
| Returns |
| Type |
Description |
int |
|
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
internalGetMapFieldReflection(int number)
protected MapFieldReflectionAccessor internalGetMapFieldReflection(int number)
| Parameter |
| Name |
Description |
number |
int
|
| Returns |
| Type |
Description |
com.google.protobuf.MapFieldReflectionAccessor |
|
Overrides
com.google.protobuf.GeneratedMessage.internalGetMapFieldReflection(int)
isInitialized()
public final boolean isInitialized()
Overrides
newBuilderForType()
public DaiSession.AdPod.Builder newBuilderForType()
newBuilderForType(AbstractMessage.BuilderParent parent)
protected DaiSession.AdPod.Builder newBuilderForType(AbstractMessage.BuilderParent parent)
Overrides
toBuilder()
public DaiSession.AdPod.Builder toBuilder()
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Overrides