public static final class DaiSession.Builder extends GeneratedMessage.Builder<DaiSession.Builder> implements DaiSessionOrBuilderRepresentation 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
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > DaiSession.BuilderImplements
DaiSessionOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
addAllFindings(Iterable<? extends DaiSession.Finding> values)
public DaiSession.Builder addAllFindings(Iterable<? extends DaiSession.Finding> values)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 |
values |
Iterable<? extends com.google.ads.admanager.v1.DaiSession.Finding> |
| Returns | |
|---|---|
| Type | Description |
DaiSession.Builder |
|
addFindings(DaiSession.Finding value)
public DaiSession.Builder addFindings(DaiSession.Finding value)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 |
value |
DaiSession.Finding |
| Returns | |
|---|---|
| Type | Description |
DaiSession.Builder |
|
addFindings(DaiSession.Finding.Builder builderForValue)
public DaiSession.Builder addFindings(DaiSession.Finding.Builder builderForValue)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 |
builderForValue |
DaiSession.Finding.Builder |
| Returns | |
|---|---|
| Type | Description |
DaiSession.Builder |
|
addFindings(int index, DaiSession.Finding value)
public DaiSession.Builder addFindings(int index, DaiSession.Finding value)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];
| Parameters | |
|---|---|
| Name | Description |
index |
int |
value |
DaiSession.Finding |
| Returns | |
|---|---|
| Type | Description |
DaiSession.Builder |
|
addFindings(int index, DaiSession.Finding.Builder builderForValue)
public DaiSession.Builder addFindings(int index, DaiSession.Finding.Builder builderForValue)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];
| Parameters | |
|---|---|
| Name | Description |
index |
int |
builderForValue |
DaiSession.Finding.Builder |
| Returns | |
|---|---|
| Type | Description |
DaiSession.Builder |
|
addFindingsBuilder()
public DaiSession.Finding.Builder addFindingsBuilder()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 |
DaiSession.Finding.Builder |
|
addFindingsBuilder(int index)
public DaiSession.Finding.Builder addFindingsBuilder(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 |
| Returns | |
|---|---|
| Type | Description |
DaiSession.Finding.Builder |
|
build()
public DaiSession build()| Returns | |
|---|---|
| Type | Description |
DaiSession |
|
buildPartial()
public DaiSession buildPartial()| Returns | |
|---|---|
| Type | Description |
DaiSession |
|
clear()
public DaiSession.Builder clear()| Returns | |
|---|---|
| Type | Description |
DaiSession.Builder |
|
clearAdBreaks()
public DaiSession.Builder clearAdBreaks()| Returns | |
|---|---|
| Type | Description |
DaiSession.Builder |
|
clearAdPods()
public DaiSession.Builder clearAdPods()| Returns | |
|---|---|
| Type | Description |
DaiSession.Builder |
|
clearAdSelections()
public DaiSession.Builder clearAdSelections()| Returns | |
|---|---|
| Type | Description |
DaiSession.Builder |
|
clearCreationContext()
public DaiSession.Builder clearCreationContext()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 |
DaiSession.Builder |
|
clearFindings()
public DaiSession.Builder clearFindings()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 |
DaiSession.Builder |
|
clearName()
public DaiSession.Builder clearName() Identifier. The resource name of the DaiSession.
string name = 1 [(.google.api.field_behavior) = IDENTIFIER];
| Returns | |
|---|---|
| Type | Description |
DaiSession.Builder |
This builder for chaining. |
clearSessionDuration()
public DaiSession.Builder clearSessionDuration()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 |
DaiSession.Builder |
|
clearSlate()
public DaiSession.Builder clearSlate()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 |
DaiSession.Builder |
|
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 |
| Returns | |
|---|---|
| Type | Description |
boolean |
|
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 |
| Returns | |
|---|---|
| Type | Description |
boolean |
|
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 |
| Returns | |
|---|---|
| Type | Description |
boolean |
|
getAdBreaks() (deprecated)
public Map<Long,DaiSession.AdBreak> getAdBreaks()Use #getAdBreaksMap() instead.
| Returns | |
|---|---|
| Type | Description |
Map<Long,AdBreak> |
|
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];
| Returns | |
|---|---|
| Type | Description |
Map<Long,AdBreak> |
|
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];
| Parameters | |
|---|---|
| Name | Description |
key |
long |
defaultValue |
DaiSession.AdBreak |
| Returns | |
|---|---|
| Type | Description |
DaiSession.AdBreak |
|
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 |
| Returns | |
|---|---|
| Type | Description |
DaiSession.AdBreak |
|
getAdPods() (deprecated)
public Map<Long,DaiSession.AdPod> getAdPods()Use #getAdPodsMap() instead.
| Returns | |
|---|---|
| Type | Description |
Map<Long,AdPod> |
|
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];
| Returns | |
|---|---|
| Type | Description |
Map<Long,AdPod> |
|
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];
| Parameters | |
|---|---|
| Name | Description |
key |
long |
defaultValue |
DaiSession.AdPod |
| Returns | |
|---|---|
| Type | Description |
DaiSession.AdPod |
|
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 |
| Returns | |
|---|---|
| Type | Description |
DaiSession.AdPod |
|
getAdSelections() (deprecated)
public Map<Long,DaiSession.AdSelection> getAdSelections()Use #getAdSelectionsMap() instead.
| Returns | |
|---|---|
| Type | Description |
Map<Long,AdSelection> |
|
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];
| Returns | |
|---|---|
| Type | Description |
Map<Long,AdSelection> |
|
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];
| Parameters | |
|---|---|
| Name | Description |
key |
long |
defaultValue |
DaiSession.AdSelection |
| Returns | |
|---|---|
| Type | Description |
DaiSession.AdSelection |
|
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 |
| Returns | |
|---|---|
| Type | Description |
DaiSession.AdSelection |
|
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];
| Returns | |
|---|---|
| Type | Description |
DaiSession.CreationContext |
The creationContext. |
getCreationContextBuilder()
public DaiSession.CreationContext.Builder getCreationContextBuilder()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 |
DaiSession.CreationContext.Builder |
|
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];
| Returns | |
|---|---|
| Type | Description |
DaiSession.CreationContextOrBuilder |
|
getDefaultInstanceForType()
public DaiSession getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
DaiSession |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
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 |
| Returns | |
|---|---|
| Type | Description |
DaiSession.Finding |
|
getFindingsBuilder(int index)
public DaiSession.Finding.Builder getFindingsBuilder(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 |
| Returns | |
|---|---|
| Type | Description |
DaiSession.Finding.Builder |
|
getFindingsBuilderList()
public List<DaiSession.Finding.Builder> getFindingsBuilderList()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<Builder> |
|
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];
| Returns | |
|---|---|
| Type | Description |
List<Finding> |
|
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 |
| Returns | |
|---|---|
| Type | Description |
DaiSession.FindingOrBuilder |
|
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> |
|
getMutableAdBreaks() (deprecated)
public Map<Long,DaiSession.AdBreak> getMutableAdBreaks()Use alternate mutation accessors instead.
| Returns | |
|---|---|
| Type | Description |
Map<Long,AdBreak> |
|
getMutableAdPods() (deprecated)
public Map<Long,DaiSession.AdPod> getMutableAdPods()Use alternate mutation accessors instead.
| Returns | |
|---|---|
| Type | Description |
Map<Long,AdPod> |
|
getMutableAdSelections() (deprecated)
public Map<Long,DaiSession.AdSelection> getMutableAdSelections()Use alternate mutation accessors instead.
| Returns | |
|---|---|
| Type | Description |
Map<Long,AdSelection> |
|
getName()
public String 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. |
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. |
getSessionDurationBuilder()
public Duration.Builder getSessionDurationBuilder()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 |
Builder |
|
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];
| Returns | |
|---|---|
| Type | Description |
DurationOrBuilder |
|
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];
| Returns | |
|---|---|
| Type | Description |
DaiSession.Creative |
The slate. |
getSlateBuilder()
public DaiSession.Creative.Builder getSlateBuilder()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 |
DaiSession.Creative.Builder |
|
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];
| Returns | |
|---|---|
| Type | Description |
DaiSession.CreativeOrBuilder |
|
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. |
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
internalGetMapFieldReflection(int number)
protected MapFieldReflectionAccessor internalGetMapFieldReflection(int number)| Parameter | |
|---|---|
| Name | Description |
number |
int |
| Returns | |
|---|---|
| Type | Description |
com.google.protobuf.MapFieldReflectionAccessor |
|
internalGetMutableMapFieldReflection(int number)
protected MapFieldReflectionAccessor internalGetMutableMapFieldReflection(int number)| Parameter | |
|---|---|
| Name | Description |
number |
int |
| Returns | |
|---|---|
| Type | Description |
com.google.protobuf.MapFieldReflectionAccessor |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
mergeCreationContext(DaiSession.CreationContext value)
public DaiSession.Builder mergeCreationContext(DaiSession.CreationContext value)Output only. Context data to create the DAI session.
.google.ads.admanager.v1.DaiSession.CreationContext creation_context = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
value |
DaiSession.CreationContext |
| Returns | |
|---|---|
| Type | Description |
DaiSession.Builder |
|
mergeFrom(DaiSession other)
public DaiSession.Builder mergeFrom(DaiSession other)| Parameter | |
|---|---|
| Name | Description |
other |
DaiSession |
| Returns | |
|---|---|
| Type | Description |
DaiSession.Builder |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public DaiSession.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
DaiSession.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public DaiSession.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
DaiSession.Builder |
|
mergeSessionDuration(Duration value)
public DaiSession.Builder mergeSessionDuration(Duration value)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];
| Parameter | |
|---|---|
| Name | Description |
value |
Duration |
| Returns | |
|---|---|
| Type | Description |
DaiSession.Builder |
|
mergeSlate(DaiSession.Creative value)
public DaiSession.Builder mergeSlate(DaiSession.Creative value)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];
| Parameter | |
|---|---|
| Name | Description |
value |
DaiSession.Creative |
| Returns | |
|---|---|
| Type | Description |
DaiSession.Builder |
|
putAdBreaks(long key, DaiSession.AdBreak value)
public DaiSession.Builder putAdBreaks(long key, DaiSession.AdBreak value)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];
| Parameters | |
|---|---|
| Name | Description |
key |
long |
value |
DaiSession.AdBreak |
| Returns | |
|---|---|
| Type | Description |
DaiSession.Builder |
|
putAdBreaksBuilderIfAbsent(long key)
public DaiSession.AdBreak.Builder putAdBreaksBuilderIfAbsent(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 |
| Returns | |
|---|---|
| Type | Description |
DaiSession.AdBreak.Builder |
|
putAdPods(long key, DaiSession.AdPod value)
public DaiSession.Builder putAdPods(long key, DaiSession.AdPod value)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];
| Parameters | |
|---|---|
| Name | Description |
key |
long |
value |
DaiSession.AdPod |
| Returns | |
|---|---|
| Type | Description |
DaiSession.Builder |
|
putAdPodsBuilderIfAbsent(long key)
public DaiSession.AdPod.Builder putAdPodsBuilderIfAbsent(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 |
| Returns | |
|---|---|
| Type | Description |
DaiSession.AdPod.Builder |
|
putAdSelections(long key, DaiSession.AdSelection value)
public DaiSession.Builder putAdSelections(long key, DaiSession.AdSelection value)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];
| Parameters | |
|---|---|
| Name | Description |
key |
long |
value |
DaiSession.AdSelection |
| Returns | |
|---|---|
| Type | Description |
DaiSession.Builder |
|
putAdSelectionsBuilderIfAbsent(long key)
public DaiSession.AdSelection.Builder putAdSelectionsBuilderIfAbsent(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 |
| Returns | |
|---|---|
| Type | Description |
DaiSession.AdSelection.Builder |
|
putAllAdBreaks(Map<Long,DaiSession.AdBreak> values)
public DaiSession.Builder putAllAdBreaks(Map<Long,DaiSession.AdBreak> values)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 |
values |
Map<Long,AdBreak> |
| Returns | |
|---|---|
| Type | Description |
DaiSession.Builder |
|
putAllAdPods(Map<Long,DaiSession.AdPod> values)
public DaiSession.Builder putAllAdPods(Map<Long,DaiSession.AdPod> values)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 |
values |
Map<Long,AdPod> |
| Returns | |
|---|---|
| Type | Description |
DaiSession.Builder |
|
putAllAdSelections(Map<Long,DaiSession.AdSelection> values)
public DaiSession.Builder putAllAdSelections(Map<Long,DaiSession.AdSelection> values)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 |
values |
Map<Long,AdSelection> |
| Returns | |
|---|---|
| Type | Description |
DaiSession.Builder |
|
removeAdBreaks(long key)
public DaiSession.Builder removeAdBreaks(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 |
| Returns | |
|---|---|
| Type | Description |
DaiSession.Builder |
|
removeAdPods(long key)
public DaiSession.Builder removeAdPods(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 |
| Returns | |
|---|---|
| Type | Description |
DaiSession.Builder |
|
removeAdSelections(long key)
public DaiSession.Builder removeAdSelections(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 |
| Returns | |
|---|---|
| Type | Description |
DaiSession.Builder |
|
removeFindings(int index)
public DaiSession.Builder removeFindings(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 |
| Returns | |
|---|---|
| Type | Description |
DaiSession.Builder |
|
setCreationContext(DaiSession.CreationContext value)
public DaiSession.Builder setCreationContext(DaiSession.CreationContext value)Output only. Context data to create the DAI session.
.google.ads.admanager.v1.DaiSession.CreationContext creation_context = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
value |
DaiSession.CreationContext |
| Returns | |
|---|---|
| Type | Description |
DaiSession.Builder |
|
setCreationContext(DaiSession.CreationContext.Builder builderForValue)
public DaiSession.Builder setCreationContext(DaiSession.CreationContext.Builder builderForValue)Output only. Context data to create the DAI session.
.google.ads.admanager.v1.DaiSession.CreationContext creation_context = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
builderForValue |
DaiSession.CreationContext.Builder |
| Returns | |
|---|---|
| Type | Description |
DaiSession.Builder |
|
setFindings(int index, DaiSession.Finding value)
public DaiSession.Builder setFindings(int index, DaiSession.Finding value)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];
| Parameters | |
|---|---|
| Name | Description |
index |
int |
value |
DaiSession.Finding |
| Returns | |
|---|---|
| Type | Description |
DaiSession.Builder |
|
setFindings(int index, DaiSession.Finding.Builder builderForValue)
public DaiSession.Builder setFindings(int index, DaiSession.Finding.Builder builderForValue)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];
| Parameters | |
|---|---|
| Name | Description |
index |
int |
builderForValue |
DaiSession.Finding.Builder |
| Returns | |
|---|---|
| Type | Description |
DaiSession.Builder |
|
setName(String value)
public DaiSession.Builder setName(String value) Identifier. The resource name of the DaiSession.
string name = 1 [(.google.api.field_behavior) = IDENTIFIER];
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe name to set. |
| Returns | |
|---|---|
| Type | Description |
DaiSession.Builder |
This builder for chaining. |
setNameBytes(ByteString value)
public DaiSession.Builder setNameBytes(ByteString value) Identifier. The resource name of the DaiSession.
string name = 1 [(.google.api.field_behavior) = IDENTIFIER];
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for name to set. |
| Returns | |
|---|---|
| Type | Description |
DaiSession.Builder |
This builder for chaining. |
setSessionDuration(Duration value)
public DaiSession.Builder setSessionDuration(Duration value)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];
| Parameter | |
|---|---|
| Name | Description |
value |
Duration |
| Returns | |
|---|---|
| Type | Description |
DaiSession.Builder |
|
setSessionDuration(Duration.Builder builderForValue)
public DaiSession.Builder setSessionDuration(Duration.Builder builderForValue)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];
| Parameter | |
|---|---|
| Name | Description |
builderForValue |
Builder |
| Returns | |
|---|---|
| Type | Description |
DaiSession.Builder |
|
setSlate(DaiSession.Creative value)
public DaiSession.Builder setSlate(DaiSession.Creative value)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];
| Parameter | |
|---|---|
| Name | Description |
value |
DaiSession.Creative |
| Returns | |
|---|---|
| Type | Description |
DaiSession.Builder |
|
setSlate(DaiSession.Creative.Builder builderForValue)
public DaiSession.Builder setSlate(DaiSession.Creative.Builder builderForValue)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];
| Parameter | |
|---|---|
| Name | Description |
builderForValue |
DaiSession.Creative.Builder |
| Returns | |
|---|---|
| Type | Description |
DaiSession.Builder |
|