public static final class DaiSession.AdBreak.Builder extends GeneratedMessage.Builder<DaiSession.AdBreak.Builder> implements DaiSession.AdBreakOrBuilderInformation about an ad break in this session. Includes statuses such as ad and slate durations.
Protobuf type google.ads.admanager.v1.DaiSession.AdBreak
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > DaiSession.AdBreak.BuilderImplements
DaiSession.AdBreakOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
addAllPodKeys(Iterable<? extends Long> values)
public DaiSession.AdBreak.Builder addAllPodKeys(Iterable<? extends Long> values)Output only. Ad pod ID that links to one or more decisioned ad pods for this break. Most types of sessions will have a single pod key, but in the case of prefetched pods there will be two pod keys.
repeated int64 pod_keys = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
values |
Iterable<? extends java.lang.Long>The podKeys to add. |
| Returns | |
|---|---|
| Type | Description |
DaiSession.AdBreak.Builder |
This builder for chaining. |
addPodKeys(long value)
public DaiSession.AdBreak.Builder addPodKeys(long value)Output only. Ad pod ID that links to one or more decisioned ad pods for this break. Most types of sessions will have a single pod key, but in the case of prefetched pods there will be two pod keys.
repeated int64 pod_keys = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
value |
longThe podKeys to add. |
| Returns | |
|---|---|
| Type | Description |
DaiSession.AdBreak.Builder |
This builder for chaining. |
build()
public DaiSession.AdBreak build()| Returns | |
|---|---|
| Type | Description |
DaiSession.AdBreak |
|
buildPartial()
public DaiSession.AdBreak buildPartial()| Returns | |
|---|---|
| Type | Description |
DaiSession.AdBreak |
|
clear()
public DaiSession.AdBreak.Builder clear()| Returns | |
|---|---|
| Type | Description |
DaiSession.AdBreak.Builder |
|
clearAdBreakId()
public DaiSession.AdBreak.Builder clearAdBreakId()Output only. Publisher-provided or DAI-generated break ID for the Ad break API or pod serving API.
optional string ad_break_id = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
DaiSession.AdBreak.Builder |
This builder for chaining. |
clearBreakSequence()
public DaiSession.AdBreak.Builder clearBreakSequence()Output only. The index of this ad break in the session.
optional int64 break_sequence = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
DaiSession.AdBreak.Builder |
This builder for chaining. |
clearBreakType()
public DaiSession.AdBreak.Builder clearBreakType()Output only. Type of break this represents.
optional .google.ads.admanager.v1.BreakTypeEnum.BreakType break_type = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
DaiSession.AdBreak.Builder |
This builder for chaining. |
clearExecutedBreakDuration()
public DaiSession.AdBreak.Builder clearExecutedBreakDuration()Output only. The total duration of the break as it was served by DAI. In VOD, this value is the duration of ads inserted in between content. In linear, this value is the duration between cue out and cue in.
.google.protobuf.Duration executed_break_duration = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
DaiSession.AdBreak.Builder |
|
clearLinear()
public DaiSession.AdBreak.Builder clearLinear()Output only. Information on the break for a linear session.
.google.ads.admanager.v1.DaiSession.AdBreak.LinearBreak linear = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
DaiSession.AdBreak.Builder |
|
clearPodKeys()
public DaiSession.AdBreak.Builder clearPodKeys()Output only. Ad pod ID that links to one or more decisioned ad pods for this break. Most types of sessions will have a single pod key, but in the case of prefetched pods there will be two pod keys.
repeated int64 pod_keys = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
DaiSession.AdBreak.Builder |
This builder for chaining. |
clearServedAdsDuration()
public DaiSession.AdBreak.Builder clearServedAdsDuration()Output only. The duration of ads that were inserted for this break.
.google.protobuf.Duration served_ads_duration = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
DaiSession.AdBreak.Builder |
|
clearStreamTypeInfo()
public DaiSession.AdBreak.Builder clearStreamTypeInfo()| Returns | |
|---|---|
| Type | Description |
DaiSession.AdBreak.Builder |
|
clearTrackingPings()
public DaiSession.AdBreak.Builder clearTrackingPings()| Returns | |
|---|---|
| Type | Description |
DaiSession.AdBreak.Builder |
|
clearVod()
public DaiSession.AdBreak.Builder clearVod()Output only. Information on the break for a VOD session.
.google.ads.admanager.v1.DaiSession.AdBreak.VodBreak vod = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
DaiSession.AdBreak.Builder |
|
containsTrackingPings(long key)
public boolean containsTrackingPings(long key)Output only. Tracking pings that were issued for this break. Keyed by a unique ID to reference this tracking ping from a different submessage.
map<int64, .google.ads.admanager.v1.DaiSession.AdBreak.TrackingPing> tracking_pings = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
key |
long |
| Returns | |
|---|---|
| Type | Description |
boolean |
|
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 = 2 [(.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 = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for adBreakId. |
getBreakSequence()
public long getBreakSequence()Output only. The index of this ad break in the session.
optional int64 break_sequence = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
long |
The breakSequence. |
getBreakType()
public BreakTypeEnum.BreakType getBreakType()Output only. Type of break this represents.
optional .google.ads.admanager.v1.BreakTypeEnum.BreakType break_type = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
BreakTypeEnum.BreakType |
The breakType. |
getBreakTypeValue()
public int getBreakTypeValue()Output only. Type of break this represents.
optional .google.ads.admanager.v1.BreakTypeEnum.BreakType break_type = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
int |
The enum numeric value on the wire for breakType. |
getDefaultInstanceForType()
public DaiSession.AdBreak getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
DaiSession.AdBreak |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
getExecutedBreakDuration()
public Duration getExecutedBreakDuration()Output only. The total duration of the break as it was served by DAI. In VOD, this value is the duration of ads inserted in between content. In linear, this value is the duration between cue out and cue in.
.google.protobuf.Duration executed_break_duration = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
Duration |
The executedBreakDuration. |
getExecutedBreakDurationBuilder()
public Duration.Builder getExecutedBreakDurationBuilder()Output only. The total duration of the break as it was served by DAI. In VOD, this value is the duration of ads inserted in between content. In linear, this value is the duration between cue out and cue in.
.google.protobuf.Duration executed_break_duration = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
Builder |
|
getExecutedBreakDurationOrBuilder()
public DurationOrBuilder getExecutedBreakDurationOrBuilder()Output only. The total duration of the break as it was served by DAI. In VOD, this value is the duration of ads inserted in between content. In linear, this value is the duration between cue out and cue in.
.google.protobuf.Duration executed_break_duration = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
DurationOrBuilder |
|
getLinear()
public DaiSession.AdBreak.LinearBreak getLinear()Output only. Information on the break for a linear session.
.google.ads.admanager.v1.DaiSession.AdBreak.LinearBreak linear = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
DaiSession.AdBreak.LinearBreak |
The linear. |
getLinearBuilder()
public DaiSession.AdBreak.LinearBreak.Builder getLinearBuilder()Output only. Information on the break for a linear session.
.google.ads.admanager.v1.DaiSession.AdBreak.LinearBreak linear = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
DaiSession.AdBreak.LinearBreak.Builder |
|
getLinearOrBuilder()
public DaiSession.AdBreak.LinearBreakOrBuilder getLinearOrBuilder()Output only. Information on the break for a linear session.
.google.ads.admanager.v1.DaiSession.AdBreak.LinearBreak linear = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
DaiSession.AdBreak.LinearBreakOrBuilder |
|
getMutableTrackingPings() (deprecated)
public Map<Long,DaiSession.AdBreak.TrackingPing> getMutableTrackingPings()Use alternate mutation accessors instead.
| Returns | |
|---|---|
| Type | Description |
Map<Long,TrackingPing> |
|
getPodKeys(int index)
public long getPodKeys(int index)Output only. Ad pod ID that links to one or more decisioned ad pods for this break. Most types of sessions will have a single pod key, but in the case of prefetched pods there will be two pod keys.
repeated int64 pod_keys = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
index |
intThe index of the element to return. |
| Returns | |
|---|---|
| Type | Description |
long |
The podKeys at the given index. |
getPodKeysCount()
public int getPodKeysCount()Output only. Ad pod ID that links to one or more decisioned ad pods for this break. Most types of sessions will have a single pod key, but in the case of prefetched pods there will be two pod keys.
repeated int64 pod_keys = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
int |
The count of podKeys. |
getPodKeysList()
public List<Long> getPodKeysList()Output only. Ad pod ID that links to one or more decisioned ad pods for this break. Most types of sessions will have a single pod key, but in the case of prefetched pods there will be two pod keys.
repeated int64 pod_keys = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
List<Long> |
A list containing the podKeys. |
getServedAdsDuration()
public Duration getServedAdsDuration()Output only. The duration of ads that were inserted for this break.
.google.protobuf.Duration served_ads_duration = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
Duration |
The servedAdsDuration. |
getServedAdsDurationBuilder()
public Duration.Builder getServedAdsDurationBuilder()Output only. The duration of ads that were inserted for this break.
.google.protobuf.Duration served_ads_duration = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
Builder |
|
getServedAdsDurationOrBuilder()
public DurationOrBuilder getServedAdsDurationOrBuilder()Output only. The duration of ads that were inserted for this break.
.google.protobuf.Duration served_ads_duration = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
DurationOrBuilder |
|
getStreamTypeInfoCase()
public DaiSession.AdBreak.StreamTypeInfoCase getStreamTypeInfoCase()| Returns | |
|---|---|
| Type | Description |
DaiSession.AdBreak.StreamTypeInfoCase |
|
getTrackingPings() (deprecated)
public Map<Long,DaiSession.AdBreak.TrackingPing> getTrackingPings()Use #getTrackingPingsMap() instead.
| Returns | |
|---|---|
| Type | Description |
Map<Long,TrackingPing> |
|
getTrackingPingsCount()
public int getTrackingPingsCount()Output only. Tracking pings that were issued for this break. Keyed by a unique ID to reference this tracking ping from a different submessage.
map<int64, .google.ads.admanager.v1.DaiSession.AdBreak.TrackingPing> tracking_pings = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
int |
|
getTrackingPingsMap()
public Map<Long,DaiSession.AdBreak.TrackingPing> getTrackingPingsMap()Output only. Tracking pings that were issued for this break. Keyed by a unique ID to reference this tracking ping from a different submessage.
map<int64, .google.ads.admanager.v1.DaiSession.AdBreak.TrackingPing> tracking_pings = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
Map<Long,TrackingPing> |
|
getTrackingPingsOrDefault(long key, DaiSession.AdBreak.TrackingPing defaultValue)
public DaiSession.AdBreak.TrackingPing getTrackingPingsOrDefault(long key, DaiSession.AdBreak.TrackingPing defaultValue)Output only. Tracking pings that were issued for this break. Keyed by a unique ID to reference this tracking ping from a different submessage.
map<int64, .google.ads.admanager.v1.DaiSession.AdBreak.TrackingPing> tracking_pings = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameters | |
|---|---|
| Name | Description |
key |
long |
defaultValue |
DaiSession.AdBreak.TrackingPing |
| Returns | |
|---|---|
| Type | Description |
DaiSession.AdBreak.TrackingPing |
|
getTrackingPingsOrThrow(long key)
public DaiSession.AdBreak.TrackingPing getTrackingPingsOrThrow(long key)Output only. Tracking pings that were issued for this break. Keyed by a unique ID to reference this tracking ping from a different submessage.
map<int64, .google.ads.admanager.v1.DaiSession.AdBreak.TrackingPing> tracking_pings = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
key |
long |
| Returns | |
|---|---|
| Type | Description |
DaiSession.AdBreak.TrackingPing |
|
getVod()
public DaiSession.AdBreak.VodBreak getVod()Output only. Information on the break for a VOD session.
.google.ads.admanager.v1.DaiSession.AdBreak.VodBreak vod = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
DaiSession.AdBreak.VodBreak |
The vod. |
getVodBuilder()
public DaiSession.AdBreak.VodBreak.Builder getVodBuilder()Output only. Information on the break for a VOD session.
.google.ads.admanager.v1.DaiSession.AdBreak.VodBreak vod = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
DaiSession.AdBreak.VodBreak.Builder |
|
getVodOrBuilder()
public DaiSession.AdBreak.VodBreakOrBuilder getVodOrBuilder()Output only. Information on the break for a VOD session.
.google.ads.admanager.v1.DaiSession.AdBreak.VodBreak vod = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
DaiSession.AdBreak.VodBreakOrBuilder |
|
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 = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the adBreakId field is set. |
hasBreakSequence()
public boolean hasBreakSequence()Output only. The index of this ad break in the session.
optional int64 break_sequence = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the breakSequence field is set. |
hasBreakType()
public boolean hasBreakType()Output only. Type of break this represents.
optional .google.ads.admanager.v1.BreakTypeEnum.BreakType break_type = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the breakType field is set. |
hasExecutedBreakDuration()
public boolean hasExecutedBreakDuration()Output only. The total duration of the break as it was served by DAI. In VOD, this value is the duration of ads inserted in between content. In linear, this value is the duration between cue out and cue in.
.google.protobuf.Duration executed_break_duration = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the executedBreakDuration field is set. |
hasLinear()
public boolean hasLinear()Output only. Information on the break for a linear session.
.google.ads.admanager.v1.DaiSession.AdBreak.LinearBreak linear = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the linear field is set. |
hasServedAdsDuration()
public boolean hasServedAdsDuration()Output only. The duration of ads that were inserted for this break.
.google.protobuf.Duration served_ads_duration = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the servedAdsDuration field is set. |
hasVod()
public boolean hasVod()Output only. Information on the break for a VOD session.
.google.ads.admanager.v1.DaiSession.AdBreak.VodBreak vod = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the vod 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 |
|
mergeExecutedBreakDuration(Duration value)
public DaiSession.AdBreak.Builder mergeExecutedBreakDuration(Duration value)Output only. The total duration of the break as it was served by DAI. In VOD, this value is the duration of ads inserted in between content. In linear, this value is the duration between cue out and cue in.
.google.protobuf.Duration executed_break_duration = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
value |
Duration |
| Returns | |
|---|---|
| Type | Description |
DaiSession.AdBreak.Builder |
|
mergeFrom(DaiSession.AdBreak other)
public DaiSession.AdBreak.Builder mergeFrom(DaiSession.AdBreak other)| Parameter | |
|---|---|
| Name | Description |
other |
DaiSession.AdBreak |
| Returns | |
|---|---|
| Type | Description |
DaiSession.AdBreak.Builder |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public DaiSession.AdBreak.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
DaiSession.AdBreak.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public DaiSession.AdBreak.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
DaiSession.AdBreak.Builder |
|
mergeLinear(DaiSession.AdBreak.LinearBreak value)
public DaiSession.AdBreak.Builder mergeLinear(DaiSession.AdBreak.LinearBreak value)Output only. Information on the break for a linear session.
.google.ads.admanager.v1.DaiSession.AdBreak.LinearBreak linear = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
value |
DaiSession.AdBreak.LinearBreak |
| Returns | |
|---|---|
| Type | Description |
DaiSession.AdBreak.Builder |
|
mergeServedAdsDuration(Duration value)
public DaiSession.AdBreak.Builder mergeServedAdsDuration(Duration value)Output only. The duration of ads that were inserted for this break.
.google.protobuf.Duration served_ads_duration = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
value |
Duration |
| Returns | |
|---|---|
| Type | Description |
DaiSession.AdBreak.Builder |
|
mergeVod(DaiSession.AdBreak.VodBreak value)
public DaiSession.AdBreak.Builder mergeVod(DaiSession.AdBreak.VodBreak value)Output only. Information on the break for a VOD session.
.google.ads.admanager.v1.DaiSession.AdBreak.VodBreak vod = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
value |
DaiSession.AdBreak.VodBreak |
| Returns | |
|---|---|
| Type | Description |
DaiSession.AdBreak.Builder |
|
putAllTrackingPings(Map<Long,DaiSession.AdBreak.TrackingPing> values)
public DaiSession.AdBreak.Builder putAllTrackingPings(Map<Long,DaiSession.AdBreak.TrackingPing> values)Output only. Tracking pings that were issued for this break. Keyed by a unique ID to reference this tracking ping from a different submessage.
map<int64, .google.ads.admanager.v1.DaiSession.AdBreak.TrackingPing> tracking_pings = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
values |
Map<Long,TrackingPing> |
| Returns | |
|---|---|
| Type | Description |
DaiSession.AdBreak.Builder |
|
putTrackingPings(long key, DaiSession.AdBreak.TrackingPing value)
public DaiSession.AdBreak.Builder putTrackingPings(long key, DaiSession.AdBreak.TrackingPing value)Output only. Tracking pings that were issued for this break. Keyed by a unique ID to reference this tracking ping from a different submessage.
map<int64, .google.ads.admanager.v1.DaiSession.AdBreak.TrackingPing> tracking_pings = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameters | |
|---|---|
| Name | Description |
key |
long |
value |
DaiSession.AdBreak.TrackingPing |
| Returns | |
|---|---|
| Type | Description |
DaiSession.AdBreak.Builder |
|
putTrackingPingsBuilderIfAbsent(long key)
public DaiSession.AdBreak.TrackingPing.Builder putTrackingPingsBuilderIfAbsent(long key)Output only. Tracking pings that were issued for this break. Keyed by a unique ID to reference this tracking ping from a different submessage.
map<int64, .google.ads.admanager.v1.DaiSession.AdBreak.TrackingPing> tracking_pings = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
key |
long |
| Returns | |
|---|---|
| Type | Description |
DaiSession.AdBreak.TrackingPing.Builder |
|
removeTrackingPings(long key)
public DaiSession.AdBreak.Builder removeTrackingPings(long key)Output only. Tracking pings that were issued for this break. Keyed by a unique ID to reference this tracking ping from a different submessage.
map<int64, .google.ads.admanager.v1.DaiSession.AdBreak.TrackingPing> tracking_pings = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
key |
long |
| Returns | |
|---|---|
| Type | Description |
DaiSession.AdBreak.Builder |
|
setAdBreakId(String value)
public DaiSession.AdBreak.Builder setAdBreakId(String value)Output only. Publisher-provided or DAI-generated break ID for the Ad break API or pod serving API.
optional string ad_break_id = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe adBreakId to set. |
| Returns | |
|---|---|
| Type | Description |
DaiSession.AdBreak.Builder |
This builder for chaining. |
setAdBreakIdBytes(ByteString value)
public DaiSession.AdBreak.Builder setAdBreakIdBytes(ByteString value)Output only. Publisher-provided or DAI-generated break ID for the Ad break API or pod serving API.
optional string ad_break_id = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for adBreakId to set. |
| Returns | |
|---|---|
| Type | Description |
DaiSession.AdBreak.Builder |
This builder for chaining. |
setBreakSequence(long value)
public DaiSession.AdBreak.Builder setBreakSequence(long value)Output only. The index of this ad break in the session.
optional int64 break_sequence = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
value |
longThe breakSequence to set. |
| Returns | |
|---|---|
| Type | Description |
DaiSession.AdBreak.Builder |
This builder for chaining. |
setBreakType(BreakTypeEnum.BreakType value)
public DaiSession.AdBreak.Builder setBreakType(BreakTypeEnum.BreakType value)Output only. Type of break this represents.
optional .google.ads.admanager.v1.BreakTypeEnum.BreakType break_type = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
value |
BreakTypeEnum.BreakTypeThe breakType to set. |
| Returns | |
|---|---|
| Type | Description |
DaiSession.AdBreak.Builder |
This builder for chaining. |
setBreakTypeValue(int value)
public DaiSession.AdBreak.Builder setBreakTypeValue(int value)Output only. Type of break this represents.
optional .google.ads.admanager.v1.BreakTypeEnum.BreakType break_type = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
value |
intThe enum numeric value on the wire for breakType to set. |
| Returns | |
|---|---|
| Type | Description |
DaiSession.AdBreak.Builder |
This builder for chaining. |
setExecutedBreakDuration(Duration value)
public DaiSession.AdBreak.Builder setExecutedBreakDuration(Duration value)Output only. The total duration of the break as it was served by DAI. In VOD, this value is the duration of ads inserted in between content. In linear, this value is the duration between cue out and cue in.
.google.protobuf.Duration executed_break_duration = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
value |
Duration |
| Returns | |
|---|---|
| Type | Description |
DaiSession.AdBreak.Builder |
|
setExecutedBreakDuration(Duration.Builder builderForValue)
public DaiSession.AdBreak.Builder setExecutedBreakDuration(Duration.Builder builderForValue)Output only. The total duration of the break as it was served by DAI. In VOD, this value is the duration of ads inserted in between content. In linear, this value is the duration between cue out and cue in.
.google.protobuf.Duration executed_break_duration = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
builderForValue |
Builder |
| Returns | |
|---|---|
| Type | Description |
DaiSession.AdBreak.Builder |
|
setLinear(DaiSession.AdBreak.LinearBreak value)
public DaiSession.AdBreak.Builder setLinear(DaiSession.AdBreak.LinearBreak value)Output only. Information on the break for a linear session.
.google.ads.admanager.v1.DaiSession.AdBreak.LinearBreak linear = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
value |
DaiSession.AdBreak.LinearBreak |
| Returns | |
|---|---|
| Type | Description |
DaiSession.AdBreak.Builder |
|
setLinear(DaiSession.AdBreak.LinearBreak.Builder builderForValue)
public DaiSession.AdBreak.Builder setLinear(DaiSession.AdBreak.LinearBreak.Builder builderForValue)Output only. Information on the break for a linear session.
.google.ads.admanager.v1.DaiSession.AdBreak.LinearBreak linear = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
builderForValue |
DaiSession.AdBreak.LinearBreak.Builder |
| Returns | |
|---|---|
| Type | Description |
DaiSession.AdBreak.Builder |
|
setPodKeys(int index, long value)
public DaiSession.AdBreak.Builder setPodKeys(int index, long value)Output only. Ad pod ID that links to one or more decisioned ad pods for this break. Most types of sessions will have a single pod key, but in the case of prefetched pods there will be two pod keys.
repeated int64 pod_keys = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameters | |
|---|---|
| Name | Description |
index |
intThe index to set the value at. |
value |
longThe podKeys to set. |
| Returns | |
|---|---|
| Type | Description |
DaiSession.AdBreak.Builder |
This builder for chaining. |
setServedAdsDuration(Duration value)
public DaiSession.AdBreak.Builder setServedAdsDuration(Duration value)Output only. The duration of ads that were inserted for this break.
.google.protobuf.Duration served_ads_duration = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
value |
Duration |
| Returns | |
|---|---|
| Type | Description |
DaiSession.AdBreak.Builder |
|
setServedAdsDuration(Duration.Builder builderForValue)
public DaiSession.AdBreak.Builder setServedAdsDuration(Duration.Builder builderForValue)Output only. The duration of ads that were inserted for this break.
.google.protobuf.Duration served_ads_duration = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
builderForValue |
Builder |
| Returns | |
|---|---|
| Type | Description |
DaiSession.AdBreak.Builder |
|
setVod(DaiSession.AdBreak.VodBreak value)
public DaiSession.AdBreak.Builder setVod(DaiSession.AdBreak.VodBreak value)Output only. Information on the break for a VOD session.
.google.ads.admanager.v1.DaiSession.AdBreak.VodBreak vod = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
value |
DaiSession.AdBreak.VodBreak |
| Returns | |
|---|---|
| Type | Description |
DaiSession.AdBreak.Builder |
|
setVod(DaiSession.AdBreak.VodBreak.Builder builderForValue)
public DaiSession.AdBreak.Builder setVod(DaiSession.AdBreak.VodBreak.Builder builderForValue)Output only. Information on the break for a VOD session.
.google.ads.admanager.v1.DaiSession.AdBreak.VodBreak vod = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
builderForValue |
DaiSession.AdBreak.VodBreak.Builder |
| Returns | |
|---|---|
| Type | Description |
DaiSession.AdBreak.Builder |
|