com.google.api.ads.admanager.jaxws.v202405.AdBreak Maven / Gradle / Ivy
Show all versions of dfp-appengine Show documentation
// Copyright 2024 Google LLC
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in writing, software
// distributed under the License is distributed on an "AS IS" BASIS,
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
// See the License for the specific language governing permissions and
// limitations under the License.
package com.google.api.ads.admanager.jaxws.v202405;
import java.util.ArrayList;
import java.util.List;
import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlType;
/**
* Java class for AdBreak complex type.
*
*
The following schema fragment specifies the expected content contained within this class.
*
*
* <complexType name="AdBreak">
* <complexContent>
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* <sequence>
* <element name="rootAdResponses" type="{https://www.google.com/apis/ads/publisher/v202405}AdResponse" maxOccurs="unbounded" minOccurs="0"/>
* <element name="adDecisionCreatives" type="{https://www.google.com/apis/ads/publisher/v202405}AdDecisionCreative" maxOccurs="unbounded" minOccurs="0"/>
* <element name="podNum" type="{http://www.w3.org/2001/XMLSchema}int" minOccurs="0"/>
* <element name="linearAbsolutePodNum" type="{http://www.w3.org/2001/XMLSchema}int" minOccurs="0"/>
* <element name="adBreakDurationMillis" type="{http://www.w3.org/2001/XMLSchema}long" minOccurs="0"/>
* <element name="filledDurationMillis" type="{http://www.w3.org/2001/XMLSchema}long" minOccurs="0"/>
* <element name="servedDurationMillis" type="{http://www.w3.org/2001/XMLSchema}long" minOccurs="0"/>
* <element name="startDateTime" type="{https://www.google.com/apis/ads/publisher/v202405}DateTime" minOccurs="0"/>
* <element name="startTimeOffsetMillis" type="{http://www.w3.org/2001/XMLSchema}long" minOccurs="0"/>
* <element name="samError" type="{https://www.google.com/apis/ads/publisher/v202405}SamError" minOccurs="0"/>
* <element name="midrollIndex" type="{http://www.w3.org/2001/XMLSchema}int" minOccurs="0"/>
* <element name="decisionedAds" type="{http://www.w3.org/2001/XMLSchema}boolean" minOccurs="0"/>
* <element name="trackingEvents" type="{https://www.google.com/apis/ads/publisher/v202405}TrackingEvent" maxOccurs="unbounded" minOccurs="0"/>
* </sequence>
* </restriction>
* </complexContent>
* </complexType>
*
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "AdBreak", propOrder = {
"rootAdResponses",
"adDecisionCreatives",
"podNum",
"linearAbsolutePodNum",
"adBreakDurationMillis",
"filledDurationMillis",
"servedDurationMillis",
"startDateTime",
"startTimeOffsetMillis",
"samError",
"midrollIndex",
"decisionedAds",
"trackingEvents"
})
public class AdBreak {
protected List rootAdResponses;
protected List adDecisionCreatives;
protected Integer podNum;
protected Integer linearAbsolutePodNum;
protected Long adBreakDurationMillis;
protected Long filledDurationMillis;
protected Long servedDurationMillis;
protected DateTime startDateTime;
protected Long startTimeOffsetMillis;
protected SamError samError;
protected Integer midrollIndex;
protected Boolean decisionedAds;
protected List trackingEvents;
/**
* Gets the value of the rootAdResponses property.
*
*
* This accessor method returns a reference to the live list,
* not a snapshot. Therefore any modification you make to the
* returned list will be present inside the JAXB object.
* This is why there is not a set
method for the rootAdResponses property.
*
*
* For example, to add a new item, do as follows:
*
* getRootAdResponses().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link AdResponse }
*
*
*/
public List getRootAdResponses() {
if (rootAdResponses == null) {
rootAdResponses = new ArrayList();
}
return this.rootAdResponses;
}
/**
* Gets the value of the adDecisionCreatives property.
*
*
* This accessor method returns a reference to the live list,
* not a snapshot. Therefore any modification you make to the
* returned list will be present inside the JAXB object.
* This is why there is not a set
method for the adDecisionCreatives property.
*
*
* For example, to add a new item, do as follows:
*
* getAdDecisionCreatives().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link AdDecisionCreative }
*
*
*/
public List getAdDecisionCreatives() {
if (adDecisionCreatives == null) {
adDecisionCreatives = new ArrayList();
}
return this.adDecisionCreatives;
}
/**
* Gets the value of the podNum property.
*
* @return
* possible object is
* {@link Integer }
*
*/
public Integer getPodNum() {
return podNum;
}
/**
* Sets the value of the podNum property.
*
* @param value
* allowed object is
* {@link Integer }
*
*/
public void setPodNum(Integer value) {
this.podNum = value;
}
/**
* Gets the value of the linearAbsolutePodNum property.
*
* @return
* possible object is
* {@link Integer }
*
*/
public Integer getLinearAbsolutePodNum() {
return linearAbsolutePodNum;
}
/**
* Sets the value of the linearAbsolutePodNum property.
*
* @param value
* allowed object is
* {@link Integer }
*
*/
public void setLinearAbsolutePodNum(Integer value) {
this.linearAbsolutePodNum = value;
}
/**
* Gets the value of the adBreakDurationMillis property.
*
* @return
* possible object is
* {@link Long }
*
*/
public Long getAdBreakDurationMillis() {
return adBreakDurationMillis;
}
/**
* Sets the value of the adBreakDurationMillis property.
*
* @param value
* allowed object is
* {@link Long }
*
*/
public void setAdBreakDurationMillis(Long value) {
this.adBreakDurationMillis = value;
}
/**
* Gets the value of the filledDurationMillis property.
*
* @return
* possible object is
* {@link Long }
*
*/
public Long getFilledDurationMillis() {
return filledDurationMillis;
}
/**
* Sets the value of the filledDurationMillis property.
*
* @param value
* allowed object is
* {@link Long }
*
*/
public void setFilledDurationMillis(Long value) {
this.filledDurationMillis = value;
}
/**
* Gets the value of the servedDurationMillis property.
*
* @return
* possible object is
* {@link Long }
*
*/
public Long getServedDurationMillis() {
return servedDurationMillis;
}
/**
* Sets the value of the servedDurationMillis property.
*
* @param value
* allowed object is
* {@link Long }
*
*/
public void setServedDurationMillis(Long value) {
this.servedDurationMillis = value;
}
/**
* Gets the value of the startDateTime property.
*
* @return
* possible object is
* {@link DateTime }
*
*/
public DateTime getStartDateTime() {
return startDateTime;
}
/**
* Sets the value of the startDateTime property.
*
* @param value
* allowed object is
* {@link DateTime }
*
*/
public void setStartDateTime(DateTime value) {
this.startDateTime = value;
}
/**
* Gets the value of the startTimeOffsetMillis property.
*
* @return
* possible object is
* {@link Long }
*
*/
public Long getStartTimeOffsetMillis() {
return startTimeOffsetMillis;
}
/**
* Sets the value of the startTimeOffsetMillis property.
*
* @param value
* allowed object is
* {@link Long }
*
*/
public void setStartTimeOffsetMillis(Long value) {
this.startTimeOffsetMillis = value;
}
/**
* Gets the value of the samError property.
*
* @return
* possible object is
* {@link SamError }
*
*/
public SamError getSamError() {
return samError;
}
/**
* Sets the value of the samError property.
*
* @param value
* allowed object is
* {@link SamError }
*
*/
public void setSamError(SamError value) {
this.samError = value;
}
/**
* Gets the value of the midrollIndex property.
*
* @return
* possible object is
* {@link Integer }
*
*/
public Integer getMidrollIndex() {
return midrollIndex;
}
/**
* Sets the value of the midrollIndex property.
*
* @param value
* allowed object is
* {@link Integer }
*
*/
public void setMidrollIndex(Integer value) {
this.midrollIndex = value;
}
/**
* Gets the value of the decisionedAds property.
*
* @return
* possible object is
* {@link Boolean }
*
*/
public Boolean isDecisionedAds() {
return decisionedAds;
}
/**
* Sets the value of the decisionedAds property.
*
* @param value
* allowed object is
* {@link Boolean }
*
*/
public void setDecisionedAds(Boolean value) {
this.decisionedAds = value;
}
/**
* Gets the value of the trackingEvents property.
*
*
* This accessor method returns a reference to the live list,
* not a snapshot. Therefore any modification you make to the
* returned list will be present inside the JAXB object.
* This is why there is not a set
method for the trackingEvents property.
*
*
* For example, to add a new item, do as follows:
*
* getTrackingEvents().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link TrackingEvent }
*
*
*/
public List getTrackingEvents() {
if (trackingEvents == null) {
trackingEvents = new ArrayList();
}
return this.trackingEvents;
}
}