public final class DaiSession extends GeneratedMessage implements DaiSessionOrBuilder
Representation of an individual Dynamic Ad Insertion (DAI) session watching a
LiveStream resource or VOD
Content resource. Use the
Stream Activity Monitor (SAM) on the Google Ad Manager UI to look up this
session. For details, see Locate a DAI session ID or debug
key.
Protobuf type google.ads.admanager.v1.DaiSession
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_BREAKS_FIELD_NUMBER
public static final int AD_BREAKS_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
|
AD_PODS_FIELD_NUMBER
public static final int AD_PODS_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
|
AD_SELECTIONS_FIELD_NUMBER
public static final int AD_SELECTIONS_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
|
CREATION_CONTEXT_FIELD_NUMBER
public static final int CREATION_CONTEXT_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
|
FINDINGS_FIELD_NUMBER
public static final int FINDINGS_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
|
NAME_FIELD_NUMBER
public static final int NAME_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
|
SESSION_DURATION_FIELD_NUMBER
public static final int SESSION_DURATION_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
|
SLATE_FIELD_NUMBER
public static final int SLATE_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
|
Static Methods
getDefaultInstance()
public static DaiSession getDefaultInstance()
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
newBuilder()
public static DaiSession.Builder newBuilder()
newBuilder(DaiSession prototype)
public static DaiSession.Builder newBuilder(DaiSession prototype)
public static DaiSession parseDelimitedFrom(InputStream input)
public static DaiSession parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(byte[] data)
public static DaiSession parseFrom(byte[] data)
| Parameter |
| Name |
Description |
data |
byte[]
|
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static DaiSession parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteString data)
public static DaiSession parseFrom(ByteString data)
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static DaiSession parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static DaiSession parseFrom(CodedInputStream input)
public static DaiSession parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static DaiSession parseFrom(InputStream input)
public static DaiSession parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteBuffer data)
public static DaiSession parseFrom(ByteBuffer data)
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static DaiSession parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
parser()
public static Parser<DaiSession> parser()
Methods
containsAdBreaks(long key)
public boolean containsAdBreaks(long key)
Output only. All DAI ad breaks for this session. Contains information such
as ad duration, slate duration, and various ad statuses. Keyed by a unique
ID to reference an ad break from a different submessage.
map<int64, .google.ads.admanager.v1.DaiSession.AdBreak> ad_breaks = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter |
| Name |
Description |
key |
long
|
containsAdPods(long key)
public boolean containsAdPods(long key)
Output only. All decisioned ad pods for this session, disregarding serving
status. Keyed by a unique ID to reference an ad pod from a different
submessage.
map<int64, .google.ads.admanager.v1.DaiSession.AdPod> ad_pods = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter |
| Name |
Description |
key |
long
|
containsAdSelections(long key)
public boolean containsAdSelections(long key)
Output only. The ad requests, ad responses and nested ads in the DAI
session.
map<int64, .google.ads.admanager.v1.DaiSession.AdSelection> ad_selections = 5 [(.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
getAdBreaks() (deprecated)
public Map<Long,DaiSession.AdBreak> getAdBreaks()
getAdBreaksCount()
public int getAdBreaksCount()
Output only. All DAI ad breaks for this session. Contains information such
as ad duration, slate duration, and various ad statuses. Keyed by a unique
ID to reference an ad break from a different submessage.
map<int64, .google.ads.admanager.v1.DaiSession.AdBreak> ad_breaks = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns |
| Type |
Description |
int |
|
getAdBreaksMap()
public Map<Long,DaiSession.AdBreak> getAdBreaksMap()
Output only. All DAI ad breaks for this session. Contains information such
as ad duration, slate duration, and various ad statuses. Keyed by a unique
ID to reference an ad break from a different submessage.
map<int64, .google.ads.admanager.v1.DaiSession.AdBreak> ad_breaks = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
getAdBreaksOrDefault(long key, DaiSession.AdBreak defaultValue)
public DaiSession.AdBreak getAdBreaksOrDefault(long key, DaiSession.AdBreak defaultValue)
Output only. All DAI ad breaks for this session. Contains information such
as ad duration, slate duration, and various ad statuses. Keyed by a unique
ID to reference an ad break from a different submessage.
map<int64, .google.ads.admanager.v1.DaiSession.AdBreak> ad_breaks = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
getAdBreaksOrThrow(long key)
public DaiSession.AdBreak getAdBreaksOrThrow(long key)
Output only. All DAI ad breaks for this session. Contains information such
as ad duration, slate duration, and various ad statuses. Keyed by a unique
ID to reference an ad break from a different submessage.
map<int64, .google.ads.admanager.v1.DaiSession.AdBreak> ad_breaks = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter |
| Name |
Description |
key |
long
|
getAdPods() (deprecated)
public Map<Long,DaiSession.AdPod> getAdPods()
getAdPodsCount()
public int getAdPodsCount()
Output only. All decisioned ad pods for this session, disregarding serving
status. Keyed by a unique ID to reference an ad pod from a different
submessage.
map<int64, .google.ads.admanager.v1.DaiSession.AdPod> ad_pods = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns |
| Type |
Description |
int |
|
getAdPodsMap()
public Map<Long,DaiSession.AdPod> getAdPodsMap()
Output only. All decisioned ad pods for this session, disregarding serving
status. Keyed by a unique ID to reference an ad pod from a different
submessage.
map<int64, .google.ads.admanager.v1.DaiSession.AdPod> ad_pods = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
getAdPodsOrDefault(long key, DaiSession.AdPod defaultValue)
public DaiSession.AdPod getAdPodsOrDefault(long key, DaiSession.AdPod defaultValue)
Output only. All decisioned ad pods for this session, disregarding serving
status. Keyed by a unique ID to reference an ad pod from a different
submessage.
map<int64, .google.ads.admanager.v1.DaiSession.AdPod> ad_pods = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
getAdPodsOrThrow(long key)
public DaiSession.AdPod getAdPodsOrThrow(long key)
Output only. All decisioned ad pods for this session, disregarding serving
status. Keyed by a unique ID to reference an ad pod from a different
submessage.
map<int64, .google.ads.admanager.v1.DaiSession.AdPod> ad_pods = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter |
| Name |
Description |
key |
long
|
getAdSelections() (deprecated)
public Map<Long,DaiSession.AdSelection> getAdSelections()
getAdSelectionsCount()
public int getAdSelectionsCount()
Output only. The ad requests, ad responses and nested ads in the DAI
session.
map<int64, .google.ads.admanager.v1.DaiSession.AdSelection> ad_selections = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns |
| Type |
Description |
int |
|
getAdSelectionsMap()
public Map<Long,DaiSession.AdSelection> getAdSelectionsMap()
Output only. The ad requests, ad responses and nested ads in the DAI
session.
map<int64, .google.ads.admanager.v1.DaiSession.AdSelection> ad_selections = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
getAdSelectionsOrDefault(long key, DaiSession.AdSelection defaultValue)
public DaiSession.AdSelection getAdSelectionsOrDefault(long key, DaiSession.AdSelection defaultValue)
Output only. The ad requests, ad responses and nested ads in the DAI
session.
map<int64, .google.ads.admanager.v1.DaiSession.AdSelection> ad_selections = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
getAdSelectionsOrThrow(long key)
public DaiSession.AdSelection getAdSelectionsOrThrow(long key)
Output only. The ad requests, ad responses and nested ads in the DAI
session.
map<int64, .google.ads.admanager.v1.DaiSession.AdSelection> ad_selections = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter |
| Name |
Description |
key |
long
|
getCreationContext()
public DaiSession.CreationContext getCreationContext()
Output only. Context data to create the DAI session.
.google.ads.admanager.v1.DaiSession.CreationContext creation_context = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
getCreationContextOrBuilder()
public DaiSession.CreationContextOrBuilder getCreationContextOrBuilder()
Output only. Context data to create the DAI session.
.google.ads.admanager.v1.DaiSession.CreationContext creation_context = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
getDefaultInstanceForType()
public DaiSession getDefaultInstanceForType()
getFindings(int index)
public DaiSession.Finding getFindings(int index)
Output only. Information about errors or notable discoveries that occurred
during a session.
repeated .google.ads.admanager.v1.DaiSession.Finding findings = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter |
| Name |
Description |
index |
int
|
getFindingsCount()
public int getFindingsCount()
Output only. Information about errors or notable discoveries that occurred
during a session.
repeated .google.ads.admanager.v1.DaiSession.Finding findings = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns |
| Type |
Description |
int |
|
getFindingsList()
public List<DaiSession.Finding> getFindingsList()
Output only. Information about errors or notable discoveries that occurred
during a session.
repeated .google.ads.admanager.v1.DaiSession.Finding findings = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
getFindingsOrBuilder(int index)
public DaiSession.FindingOrBuilder getFindingsOrBuilder(int index)
Output only. Information about errors or notable discoveries that occurred
during a session.
repeated .google.ads.admanager.v1.DaiSession.Finding findings = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter |
| Name |
Description |
index |
int
|
getFindingsOrBuilderList()
public List<? extends DaiSession.FindingOrBuilder> getFindingsOrBuilderList()
Output only. Information about errors or notable discoveries that occurred
during a session.
repeated .google.ads.admanager.v1.DaiSession.Finding findings = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns |
| Type |
Description |
List<? extends com.google.ads.admanager.v1.DaiSession.FindingOrBuilder> |
|
getName()
Identifier. The resource name of the DaiSession.
string name = 1 [(.google.api.field_behavior) = IDENTIFIER];
| Returns |
| Type |
Description |
String |
The name.
|
getNameBytes()
public ByteString getNameBytes()
Identifier. The resource name of the DaiSession.
string name = 1 [(.google.api.field_behavior) = IDENTIFIER];
| Returns |
| Type |
Description |
ByteString |
The bytes for name.
|
getParserForType()
public Parser<DaiSession> getParserForType()
Overrides
getSerializedSize()
public int getSerializedSize()
| Returns |
| Type |
Description |
int |
|
Overrides
getSessionDuration()
public Duration getSessionDuration()
Output only. The duration of the DAI session, calculated as the difference
between the timestamp of DAI's latest recorded event and the timestamp of
the session create request.
.google.protobuf.Duration session_duration = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns |
| Type |
Description |
Duration |
The sessionDuration.
|
getSessionDurationOrBuilder()
public DurationOrBuilder getSessionDurationOrBuilder()
Output only. The duration of the DAI session, calculated as the difference
between the timestamp of DAI's latest recorded event and the timestamp of
the session create request.
.google.protobuf.Duration session_duration = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];
getSlate()
public DaiSession.Creative getSlate()
Output only. Slate creative to use in the DAI session for unfilled ad
durations.
.google.ads.admanager.v1.DaiSession.Creative slate = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
getSlateOrBuilder()
public DaiSession.CreativeOrBuilder getSlateOrBuilder()
Output only. Slate creative to use in the DAI session for unfilled ad
durations.
.google.ads.admanager.v1.DaiSession.Creative slate = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
hasCreationContext()
public boolean hasCreationContext()
Output only. Context data to create the DAI session.
.google.ads.admanager.v1.DaiSession.CreationContext creation_context = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns |
| Type |
Description |
boolean |
Whether the creationContext field is set.
|
hasSessionDuration()
public boolean hasSessionDuration()
Output only. The duration of the DAI session, calculated as the difference
between the timestamp of DAI's latest recorded event and the timestamp of
the session create request.
.google.protobuf.Duration session_duration = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns |
| Type |
Description |
boolean |
Whether the sessionDuration field is set.
|
hasSlate()
public boolean hasSlate()
Output only. Slate creative to use in the DAI session for unfilled ad
durations.
.google.ads.admanager.v1.DaiSession.Creative slate = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns |
| Type |
Description |
boolean |
Whether the slate 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.Builder newBuilderForType()
newBuilderForType(AbstractMessage.BuilderParent parent)
protected DaiSession.Builder newBuilderForType(AbstractMessage.BuilderParent parent)
Overrides
toBuilder()
public DaiSession.Builder toBuilder()
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Overrides