index int64 | repo_id string | file_path string | content string |
|---|---|---|---|
0 | java-sources/ai/test/sdk/test-ai-appium/0.1.0/ai/test | java-sources/ai/test/sdk/test-ai-appium/0.1.0/ai/test/sdk/NetUtils.java | package ai.test.sdk;
import java.io.IOException;
import java.security.SecureRandom;
import java.security.cert.CertificateException;
import java.security.cert.X509Certificate;
import java.time.Duration;
import java.util.HashMap;
import javax.net.ssl.HostnameVerifier;
import javax.net.ssl.SSLContext;
import javax.net.ssl.SSLSession;
import javax.net.ssl.TrustManager;
import javax.net.ssl.X509TrustManager;
import okhttp3.FormBody;
import okhttp3.HttpUrl;
import okhttp3.OkHttpClient;
import okhttp3.Request;
import okhttp3.Response;
/**
* Shared network/http-related utilities and functionality
*
* @author Alexander Wu (alec@test.ai)
*
*/
final class NetUtils
{
/**
* Performs a simple form POST to the specified url with the provided client and form data.
*
* @param client The OkHTTP client to use
* @param baseURL The base URL to target
* @param endpoint The endpoint on the baseURL to target.
* @param form The form data to POST
* @return The response from the server, in the form of a {@code Response} object
* @throws IOException Network error
*/
public static Response basicPOST(OkHttpClient client, HttpUrl baseURL, String endpoint, HashMap<String, String> form) throws IOException
{
FormBody.Builder fb = new FormBody.Builder();
form.forEach(fb::add);
return client.newCall(new Request.Builder().url(baseURL.newBuilder().addPathSegment(endpoint).build()).post(fb.build()).build()).execute();
}
/**
* Convenience method, creates a new OkHttpBuilder with timeouts configured.
*
* @return A OkHttpClient builder with reasonable timeouts configured.
*/
static OkHttpClient.Builder basicClient()
{
Duration d = Duration.ofSeconds(30);
return new OkHttpClient.Builder().connectTimeout(d).writeTimeout(d).readTimeout(d).callTimeout(d);
}
/**
* Creates a new {@code OkHttpClient} which ignores expired/invalid ssl certificates. Normally, OkHttp will raise an exception if it encounters bad certificates.
*
* @return A new {@code OkHttpClient} which ignores expired/invalid ssl certificates.
*/
public static OkHttpClient unsafeClient()
{
try
{
TrustManager tl[] = { new TrustAllX509Manager() };
SSLContext sslContext = SSLContext.getInstance("SSL");
sslContext.init(null, tl, new SecureRandom());
return basicClient().sslSocketFactory(sslContext.getSocketFactory(), (X509TrustManager) tl[0]).hostnameVerifier(new TrustAllHostnameVerifier()).build();
}
catch (Throwable e) // highly unlikely, shut up compiler
{
return null;
}
}
/**
* A dummy {@code HostnameVerifier} which doesn't actually do any hostname checking.
*
* @author Alexander Wu (alec@test.ai)
*
*/
private static class TrustAllHostnameVerifier implements HostnameVerifier
{
@Override
public boolean verify(String hostname, SSLSession session)
{
return true;
}
}
/**
* A dummy {@code X509TrustManager} which doesn't actually do any certificate verification.
*
* @author Alexander Wu (alec@test.ai)
*
*/
private static class TrustAllX509Manager implements X509TrustManager
{
@Override
public void checkClientTrusted(X509Certificate[] chain, String authType) throws CertificateException
{
}
@Override
public void checkServerTrusted(X509Certificate[] chain, String authType) throws CertificateException
{
}
@Override
public X509Certificate[] getAcceptedIssuers()
{
return new X509Certificate[0];
}
}
}
|
0 | java-sources/ai/test/sdk/test-ai-appium/0.1.0/ai/test | java-sources/ai/test/sdk/test-ai-appium/0.1.0/ai/test/sdk/TestAiDriver.java | package ai.test.sdk;
import java.io.IOException;
import java.net.URL;
import java.util.Collection;
import java.util.HashMap;
import java.util.List;
import java.util.Map;
import java.util.Objects;
import java.util.Set;
import java.util.UUID;
import java.util.concurrent.TimeUnit;
import java.util.function.Function;
import java.util.logging.Level;
import javax.imageio.ImageIO;
import org.openqa.selenium.By;
import org.openqa.selenium.Capabilities;
import org.openqa.selenium.DeviceRotation;
import org.openqa.selenium.NoSuchElementException;
import org.openqa.selenium.OutputType;
import org.openqa.selenium.Rectangle;
import org.openqa.selenium.ScreenOrientation;
import org.openqa.selenium.WebDriver;
import org.openqa.selenium.WebDriver.Navigation;
import org.openqa.selenium.WebDriver.Options;
import org.openqa.selenium.WebDriver.TargetLocator;
import org.openqa.selenium.WebElement;
import org.openqa.selenium.html5.Location;
import org.openqa.selenium.interactions.Keyboard;
import org.openqa.selenium.interactions.Mouse;
import org.openqa.selenium.interactions.Sequence;
import org.openqa.selenium.remote.CommandExecutor;
import org.openqa.selenium.remote.ErrorHandler;
import org.openqa.selenium.remote.ExecuteMethod;
import org.openqa.selenium.remote.FileDetector;
import org.openqa.selenium.remote.SessionId;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import com.google.gson.JsonObject;
import io.appium.java_client.AppiumDriver;
import io.appium.java_client.MobileElement;
import okhttp3.HttpUrl;
import okhttp3.OkHttpClient;
import okhttp3.Response;
/**
* A convenient wrapper around {@code AppiumDriver} which calls out to Test.ai to improve the accuracy of identified elements.
*
* @author Alexander Wu (alec@test.ai)
*
* @param <T> The element type to return, must be a subclass of MobileElement.
*/
@SuppressWarnings({ "unchecked", "deprecation" })
public class TestAiDriver<T extends WebElement> // extends AppiumDriver<T>
{
/**
* The logger for this class
*/
private static Logger log = LoggerFactory.getLogger(TestAiDriver.class);
/**
* The client to use for making http requests
*/
private OkHttpClient client;
/**
* The driver used by the user that we're wrapping.
*/
private AppiumDriver<T> driver;
/**
* The user's fluffy dragon API key
*/
private String apiKey;
/**
* The base URL of the target server (e.g. {@code https://sdk.test.ai})
*/
private HttpUrl serverURL;
/**
* The test case name. Used in live/interactive mode.
*/
private String testCaseName;
/**
* Indicates whether Test.ai should be used to improve the accuracy of returned elements
*/
// private boolean train;
/**
* The run id. This should be randomly generated each run.
*/
private String runID = UUID.randomUUID().toString();
/**
* The UUID of the last screenshot in live/interactive mode.
*/
// private String lastTestCaseScreenshotUUID;
/**
* The screen density multiplier
*/
private double multiplier;
/**
* Constructor, creates a new TestAiDriver.
*
* @param driver The AppiumDriver to wrap
* @param apiKey Your API key, acquired from <a href="https://sdk.test.ai">sdk.test.ai</a>.
* @param serverURL The server URL. Set {@code null} to use the default of <a href="https://sdk.test.ai">sdk.test.ai</a>.
* @param testCaseName The test case name to use for interactive mode. Setting this to something other than {@code null} enables interactive mode.
* @param train Set `true` to enable training for each encountered element.
* @throws IOException If there was an initialization error.
*/
public TestAiDriver(AppiumDriver<T> driver, String apiKey, String serverURL, String testCaseName, boolean train) throws IOException
{
// super(driver.getCapabilities());
this.driver = driver;
this.apiKey = apiKey;
this.testCaseName = testCaseName;
// this.train = train;
this.serverURL = HttpUrl.parse(serverURL != null ? serverURL : Objects.requireNonNullElse(System.getenv("TESTAI_FLUFFY_DRAGON_URL"), "https://sdk.test.ai"));
client = this.serverURL.equals(HttpUrl.parse("https://sdk.dev.test.ai")) ? NetUtils.unsafeClient() : NetUtils.basicClient().build();
multiplier = 1.0 * ImageIO.read(driver.getScreenshotAs(OutputType.FILE)).getWidth() / driver.manage().window().getSize().width;
log.debug("The screen multiplier is {}", multiplier);
}
/**
* Constructor, creates a new TestAiDriver with the default server url (<a href="https://sdk.test.ai">sdk.test.ai</a>), non-interactive mode, and with training enabled.
*
* @param driver The AppiumDriver to wrap
* @param apiKey Your API key, acquired from <a href="https://sdk.test.ai">sdk.test.ai</a>.
* @throws IOException If there was an initialization error.
*/
public TestAiDriver(AppiumDriver<T> driver, String apiKey) throws IOException
{
this(driver, apiKey, null, null, true);
}
/**
* Convenience method, implicitly wait for the specified amount of time.
*
* @param waitTime The number of seconds to implicitly wait.
* @return This {@code TestAiDriver}, for chaining convenience.
*/
public TestAiDriver<T> implicitlyWait(long waitTime)
{
driver.manage().timeouts().implicitlyWait(waitTime, TimeUnit.SECONDS);
return this;
}
public WebDriver context(String name)
{
return driver.context(name);
}
public org.openqa.selenium.remote.Response execute(String command)
{
return driver.execute(command);
}
public org.openqa.selenium.remote.Response execute(String command, Map<String, ?> parameters)
{
return driver.execute(command, parameters);
}
public T findElement(By locator)
{
return driver.findElement(locator);
}
public T findElement(String by, String using)
{
return driver.findElement(by, using);
}
public String getContext()
{
return driver.getContext();
}
public Set<String> getContextHandles()
{
return driver.getContextHandles();
}
public ExecuteMethod getExecuteMethod()
{
return driver.getExecuteMethod();
}
public ScreenOrientation getOrientation()
{
return driver.getOrientation();
}
public URL getRemoteAddress()
{
return driver.getRemoteAddress();
}
public Map<String, Object> getStatus()
{
return driver.getStatus();
}
public boolean isBrowser()
{
return driver.isBrowser();
}
public Location location()
{
return driver.location();
}
public void rotate(DeviceRotation rotation)
{
driver.rotate(rotation);
}
public void rotate(ScreenOrientation orientation)
{
driver.rotate(orientation);
}
public DeviceRotation rotation()
{
return driver.rotation();
}
public void setLocation(Location location)
{
driver.setLocation(location);
}
public String toString()
{
return driver.toString();
}
public Object executeAsyncScript(String script, Object... args)
{
return driver.executeAsyncScript(script, args);
}
public Object executeScript(String script, Object... args)
{
return driver.executeScript(script, args);
}
public Capabilities getCapabilities()
{
return driver.getCapabilities();
}
public CommandExecutor getCommandExecutor()
{
return driver.getCommandExecutor();
}
public String getCurrentUrl()
{
return driver.getCurrentUrl();
}
public ErrorHandler getErrorHandler()
{
return driver.getErrorHandler();
}
public FileDetector getFileDetector()
{
return driver.getFileDetector();
}
public Keyboard getKeyboard()
{
return driver.getKeyboard();
}
public Mouse getMouse()
{
return driver.getMouse();
}
public String getPageSource()
{
return driver.getPageSource();
}
public <X> X getScreenshotAs(OutputType<X> outputType)
{
return driver.getScreenshotAs(outputType);
}
public SessionId getSessionId()
{
return driver.getSessionId();
}
public String getTitle()
{
return driver.getTitle();
}
public String getWindowHandle()
{
return driver.getWindowHandle();
}
public Set<String> getWindowHandles()
{
return driver.getWindowHandles();
}
public Options manage()
{
return driver.manage();
}
public Navigation navigate()
{
return driver.navigate();
}
public void perform(Collection<Sequence> actions)
{
driver.perform(actions);
}
public void quit()
{
driver.quit();
}
public void resetInputState()
{
driver.resetInputState();
}
public void setErrorHandler(ErrorHandler handler)
{
driver.setErrorHandler(handler);
}
public void setFileDetector(FileDetector detector)
{
driver.setFileDetector(detector);
}
public void setLogLevel(Level level)
{
driver.setLogLevel(level);
}
public TargetLocator switchTo()
{
return driver.switchTo();
}
/**
* Attempts to find an element by accessibility id.
*
* @param using The accessibility id of the element to find
* @param elementName The label name of the element to be classified. Optional, set {@code null} to auto generate an element name.
* @return The element that was found. Raises an exception otherwise.
*/
public T findElementByAccessibilityId(String using, String elementName)
{
return findElementByGeneric(using, elementName, "accessibility_id", driver::findElementByAccessibilityId);
}
/**
* Attempts to find an element by accessibility id.
*
* @param using The accessibility id of the element to find
* @return The element that was found. Raises an exception otherwise.
*/
public T findElementByAccessibilityId(String using)
{
return findElementByAccessibilityId(using, null);
}
/**
* Attempts to find all elements with the matching accessibility id.
*
* @param using The accessibility id of the elements to find.
* @return A {@code List} with any elements that were found, or an empty {@code List} if no matches were found.
*/
public List<T> findElementsByAccessibilityId(String using)
{
return driver.findElementsByAccessibilityId(using);
}
/**
* Attempts to find an element by class name.
*
* @param using The class name of the element to find
* @param elementName The label name of the element to be classified. Optional, set {@code null} to auto generate an element name.
* @return The element that was found. Raises an exception otherwise.
*/
public T findElementByClassName(String using, String elementName)
{
return findElementByGeneric(using, elementName, "class_name", driver::findElementByClassName);
}
/**
* Attempts to find an element by class name.
*
* @param using The class name of the element to find
* @return The element that was found. Raises an exception otherwise.
*/
public T findElementByClassName(String using)
{
return findElementByClassName(using, null);
}
/**
* Attempts to find all elements with the matching class name.
*
* @param using The class name of the elements to find.
* @return A {@code List} with any elements that were found, or an empty {@code List} if no matches were found.
*/
public List findElementsByClassName(String using)
{
return driver.findElementsByClassName(using);
}
/**
* Attempts to find an element by css selector.
*
* @param using The css selector of the element to find
* @param elementName The label name of the element to be classified. Optional, set {@code null} to auto generate an element name.
* @return The element that was found. Raises an exception otherwise.
*/
public T findElementByCssSelector(String using, String elementName)
{
return findElementByGeneric(using, elementName, "class_name", driver::findElementByCssSelector);
}
/**
* Attempts to find an element by css selector.
*
* @param using The css selector of the element to find
* @return The element that was found. Raises an exception otherwise.
*/
public T findElementByCssSelector(String using)
{
return findElementByCssSelector(using, null);
}
/**
* Attempts to find all elements with the matching css selector.
*
* @param using The css selector of the elements to find.
* @return A {@code List} with any elements that were found, or an empty {@code List} if no matches were found.
*/
public List findElementsByCssSelector(String using)
{
return driver.findElementsByCssSelector(using);
}
/**
* Attempts to find an element by id.
*
* @param using The id of the element to find
* @param elementName The label name of the element to be classified. Optional, set {@code null} to auto generate an element name.
* @return The element that was found. Raises an exception otherwise.
*/
public T findElementById(String using, String elementName)
{
return findElementByGeneric(using, elementName, "class_name", driver::findElementById);
}
/**
* Attempts to find an element by id.
*
* @param using The id of the element to find
* @return The element that was found. Raises an exception otherwise.
*/
public T findElementById(String using)
{
return findElementById(using, null);
}
/**
* Attempts to find all elements with the matching id.
*
* @param using The id of the elements to find.
* @return A {@code List} with any elements that were found, or an empty {@code List} if no matches were found.
*/
public List findElementsById(String using)
{
return driver.findElementsById(using);
}
/**
* Attempts to find an element by link text.
*
* @param using The link text of the element to find
* @param elementName The label name of the element to be classified. Optional, set {@code null} to auto generate an element name.
* @return The element that was found. Raises an exception otherwise.
*/
public T findElementByLinkText(String using, String elementName)
{
return findElementByGeneric(using, elementName, "class_name", driver::findElementByLinkText);
}
/**
* Attempts to find an element by link text.
*
* @param using The link text of the element to find
* @return The element that was found. Raises an exception otherwise.
*/
public T findElementByLinkText(String using)
{
return findElementByLinkText(using, null);
}
/**
* Attempts to find all elements with the matching link text.
*
* @param using The link text of the elements to find.
* @return A {@code List} with any elements that were found, or an empty {@code List} if no matches were found.
*/
public List findElementsByLinkText(String using)
{
return driver.findElementsByLinkText(using);
}
/**
* Attempts to find an element by name.
*
* @param using The name of the element to find
* @param elementName The label name of the element to be classified. Optional, set {@code null} to auto generate an element name.
* @return The element that was found. Raises an exception otherwise.
*/
public T findElementByName(String using, String elementName)
{
return findElementByGeneric(using, elementName, "name", driver::findElementByName);
}
/**
* Attempts to find an element by name.
*
* @param using The name of the element to find
* @return The element that was found. Raises an exception otherwise.
*/
public T findElementByName(String using)
{
return findElementByName(using, null);
}
/**
* Attempts to find all elements with the matching name.
*
* @param using The name of the elements to find.
* @return A {@code List} with any elements that were found, or an empty {@code List} if no matches were found.
*/
public List findElementsByName(String using)
{
return driver.findElementsByName(using);
}
/**
* Attempts to find an element by partial link text.
*
* @param using The partial link text of the element to find
* @param elementName The label name of the element to be classified. Optional, set {@code null} to auto generate an element name.
* @return The element that was found. Raises an exception otherwise.
*/
public T findElementByPartialLinkText(String using, String elementName)
{
return findElementByGeneric(using, elementName, "name", driver::findElementByPartialLinkText);
}
/**
* Attempts to find an element by partial link text.
*
* @param using The partial link text of the element to find
* @return The element that was found. Raises an exception otherwise.
*/
public T findElementByPartialLinkText(String using)
{
return findElementByPartialLinkText(using, null);
}
/**
* Attempts to find all elements with the matching partial link text.
*
* @param using The partial link text of the elements to find.
* @return A {@code List} with any elements that were found, or an empty {@code List} if no matches were found.
*/
public List findElementsByPartialLinkText(String using)
{
return driver.findElementsByPartialLinkText(using);
}
/**
* Attempts to find an element by tag name.
*
* @param using The tag name of the element to find
* @param elementName The label name of the element to be classified. Optional, set {@code null} to auto generate an element name.
* @return The element that was found. Raises an exception otherwise.
*/
public T findElementByTagName(String using, String elementName)
{
return findElementByGeneric(using, elementName, "name", driver::findElementByTagName);
}
/**
* Attempts to find an element by tag name.
*
* @param using The tag name of the element to find
* @return The element that was found. Raises an exception otherwise.
*/
public T findElementByTagName(String using)
{
return findElementByTagName(using, null);
}
/**
* Attempts to find all elements with the matching tag name.
*
* @param using The tag name of the elements to find.
* @return A {@code List} with any elements that were found, or an empty {@code List} if no matches were found.
*/
public List findElementsByTagName(String using)
{
return driver.findElementsByTagName(using);
}
/**
* Attempts to find an element by xpath.
*
* @param using The xpath of the element to find
* @param elementName The label name of the element to be classified. Optional, set {@code null} to auto generate an element name.
* @return The element that was found. Raises an exception otherwise.
*/
public T findElementByXPath(String using, String elementName)
{
return findElementByGeneric(using, elementName, "xpath", driver::findElementByXPath);
}
/**
* Attempts to find an element by xpath.
*
* @param using The xpath of the element to find
* @return The element that was found. Raises an exception otherwise.
*/
public T findElementByXPath(String using)
{
return findElementByXPath(using, null);
}
/**
* Attempts to find all elements with the matching xpath.
*
* @param using The xpath of the elements to find.
* @return A {@code List} with any elements that were found, or an empty {@code List} if no matches were found.
*/
public List findElementsByXPath(String using)
{
return driver.findElementsByXPath(using);
}
/**
* Finds an element by {@code elementName}.
*
* @param elementName The label name of the element to be classified.
* @return An element associated with {@code elementName}. Throws NoSuchElementException otherwise.
*/
public MobileElement findByElementName(String elementName)
{
ClassifyResult r = classify(elementName);
if (r.e == null)
throw new NoSuchElementException(r.msg);
return r.e;
}
/**
* Shared {@code findElementBy} functionality. This serves as the base logic for most find by methods exposed to the end user.
*
* @param using The search term to use when looking for an element.
* @param elementName The label name of the element to be classified. This is what the element will be stored under in the test.ai db.
* @param shortcode The short identifier for the type of lookup being performed. This will be used to aut-generate an {@code elementName} if the user did not specify one.
* @param fn The appium function to call with {@code using}, which will be used to fetch what Appium thinks is the target element.
* @return The TestAiElement
*/
private T findElementByGeneric(String using, String elementName, String shortcode, Function<String, T> fn)
{
if (elementName == null)
elementName = String.format("element_name_by_%s_%s", shortcode, using.replace('.', '_'));
elementName = elementName.replace(' ', '_');
try
{
T driverElement = fn.apply(using);
if (driverElement != null)
{
ClassifyResult result = classify(elementName);
updateElement(driverElement, result.key, elementName, true);
}
return driverElement;
}
catch (Throwable x)
{
log.info("Element '{}' was not found by Appium, trying with test.ai...", elementName);
ClassifyResult result = classify(elementName);
if (result.e != null)
return (T) result.e;
log.error("test.ai was also unable to find the element with name '{}'", elementName);
throw x;
}
}
/**
* Updates the entry for an element as it is known to the test.ai servers.
*
* @param elem The element to update
* @param key The key associated with this element
* @param elementName The name associated with this element
* @param trainIfNecessary Set {@code true} if the model on the server should also be trained with this element.
*/
private void updateElement(T elem, String key, String elementName, boolean trainIfNecessary)
{
Rectangle rect = ((MobileElement) elem).getRect();
HashMap<String, String> form = CollectionUtils.keyValuesToHM("key", key, "api_key", apiKey, "run_id", runID, "x", Integer.toString(rect.x), "y", Integer.toString(rect.y), "width",
Integer.toString(rect.width), "height", Integer.toString(rect.height), "multiplier", Double.toString(multiplier), "train_if_necessary", Boolean.toString(trainIfNecessary));
try (Response r = NetUtils.basicPOST(client, serverURL, "add_action", form))
{
}
catch (Throwable e)
{
e.printStackTrace();
}
}
/**
* Perform additional classification on an element by querying the test.ai server.
*
* @param elementName The name of the element to run classification on.
* @return The result of the classification.
*/
private ClassifyResult classify(String elementName)
{
if (testCaseName != null)
return null; // TODO: add test case creation/interactive mode
String pageSource = "", msg = "test.ai driver exception", key = null;
try
{
pageSource = driver.getPageSource();
}
catch (Throwable e)
{
}
try
{
String screenshotBase64 = driver.getScreenshotAs(OutputType.BASE64);
// Files.write(Paths.get("/tmp/scnshot.png"), Base64.getMimeDecoder().decode(screenshotBase64));
JsonObject r = JsonUtils.responseAsJson(NetUtils.basicPOST(client, serverURL, "classify",
CollectionUtils.keyValuesToHM("screenshot", screenshotBase64, "source", pageSource, "api_key", apiKey, "label", elementName, "run_id", runID)));
key = JsonUtils.stringFromJson(r, "key");
if (JsonUtils.booleanFromJson(r, "success"))
{
log.info("Successfully classified: {}", elementName);
return new ClassifyResult(new TestAiElement(r.get("elem").getAsJsonObject(), driver, multiplier), key);
}
String rawMsg = JsonUtils.stringFromJson(r, "message");
if (rawMsg != null)
{
String cFailedBase = "Classification failed for element_name: ";
if (rawMsg.contains("Please label") || rawMsg.contains("Did not find"))
msg = String.format("%s%s - Please visit %s/label/%s to classify", cFailedBase, elementName, serverURL, elementName);
else if (rawMsg.contains("frozen label"))
msg = String.format("%s%s - However this element is frozen, so no new screenshot was uploaded. Please unfreeze the element if you want to add this screenshot to training", cFailedBase,
elementName);
else
msg = String.format("%s: Unknown error, here was the API response: %s", msg, r);
}
}
catch (Throwable e)
{
e.printStackTrace();
}
log.warn(msg);
return new ClassifyResult(null, key, msg);
}
/**
* Simple container for encapsulating results of calls to {@code classify()}.
*
* @author Alexander Wu (alec@test.ai)
*
*/
private static class ClassifyResult
{
/**
* The TestAiElement created by the call to classify
*/
public TestAiElement e;
/**
* The key returned by the call to classify
*/
public String key;
/**
* The message associated with this result
*/
public String msg;
/**
* Constructor, creates a new ClassifyResult.
*
* @param e The TestAiElement to to use
* @param key The key to use
* @param msg The message to associate with this result
*/
ClassifyResult(TestAiElement e, String key, String msg)
{
this.e = e;
this.key = key;
this.msg = msg;
}
/**
* Constructor, creates a new ClassifyResult, where the {@code msg} is set to the empty String by default.
*
* @param e
* @param key
*/
ClassifyResult(TestAiElement e, String key)
{
this(e, key, "");
}
}
}
|
0 | java-sources/ai/test/sdk/test-ai-appium/0.1.0/ai/test | java-sources/ai/test/sdk/test-ai-appium/0.1.0/ai/test/sdk/TestAiElement.java | package ai.test.sdk;
import com.google.gson.JsonObject;
import io.appium.java_client.AppiumDriver;
import io.appium.java_client.MobileElement;
import io.appium.java_client.TouchAction;
import io.appium.java_client.touch.offset.PointOption;
import org.openqa.selenium.Dimension;
import org.openqa.selenium.Point;
import org.openqa.selenium.Rectangle;
import org.openqa.selenium.WebElement;
import org.openqa.selenium.interactions.Actions;
/**
* An enhanced RemoteWebElement which uses the results of the Test.ai classifier for improved accuracy.
*
* @author Alexander Wu (alec@test.ai)
*
*/
@SuppressWarnings("unchecked")
public class TestAiElement extends MobileElement
{
/**
* The webdriver the user is using. We wrap this for when the user calls methods that interact with appium.
*/
@SuppressWarnings("rawtypes")
private AppiumDriver driver;
/**
* The text in this element, as determined by test.ai's classifier
*/
private String text;
/**
* The size of this element, in pixels
*/
private Dimension size;
/**
* The location of this element, in pixels (offset from the upper left corner of the screen)
*/
private Point location;
/**
* The rectangle that can be drawn around this element. Basically combines size and location.
*/
private Rectangle rectangle;
/**
* The tag name of this element, as determined by test.ai's classifier
*/
private String tagName;
/**
* Coordinates for clicking/taping this element.
*
* @see #click()
*/
private int cX, cY;
/**
* Constructor, creates a new TestAiElement
*
* @param elem The element data returned by the FD API, as JSON
* @param driver The driver the user is using to interact with their app
* @param multiplier The screen density multiplier to use
*/
TestAiElement(JsonObject elem, @SuppressWarnings("rawtypes") AppiumDriver driver, double multiplier)
{
this.driver = driver;
setParent(driver);
text = JsonUtils.stringFromJson(elem, "text");
size = new Dimension(JsonUtils.intFromJson(elem, "width") / (int) multiplier, JsonUtils.intFromJson(elem, "height") / (int) multiplier);
location = new Point(JsonUtils.intFromJson(elem, "x") / (int) multiplier, JsonUtils.intFromJson(elem, "y") / (int) multiplier);
// this.property = property //TODO: not referenced/implemented on python side??
rectangle = new Rectangle(location, size);
tagName = JsonUtils.stringFromJson(elem, "class");
cX = location.x / (int) multiplier + size.width / (int) multiplier / 2;
cY = location.y / (int) multiplier + size.height / (int) multiplier / 2;
}
@Override
public String getText()
{
return text;
}
@Override
public Dimension getSize()
{
return size;
}
@Override
public Point getLocation()
{
return location;
}
@Override
public Rectangle getRect()
{
return rectangle;
}
@Override
public String getTagName()
{
return tagName;
}
@Override
@SuppressWarnings("rawtypes")
public void click()
{
new TouchAction(driver).tap(PointOption.point(new Point(cX, cY))).perform();
}
@Override
public void sendKeys(CharSequence... keysToSend)
{
sendKeys(String.join("", keysToSend), true);
}
/**
* Attempts to type the specified String ({@code value}) into this element.
*
* @param value The String to type into this element.
* @param clickFirst Set {@code true} to tap this element (e.g. to focus it) first before sending keys.
*/
public void sendKeys(String value, boolean clickFirst)
{
if (clickFirst)
click();
new Actions(driver).sendKeys(value).perform();
}
@Override
public void submit()
{
sendKeys("\n", false);
}
@Override
public String getAttribute(String name)
{
return null;
}
@Override
public String getCssValue(String propertyName)
{
throw new UnsupportedOperationException();
}
@Override
public boolean isDisplayed()
{
throw new UnsupportedOperationException();
}
@Override
public boolean isEnabled()
{
throw new UnsupportedOperationException();
}
@Override
public boolean isSelected()
{
throw new UnsupportedOperationException();
}
}
|
0 | java-sources/ai/test/sdk/test-ai-appium/0.1.0/ai/test | java-sources/ai/test/sdk/test-ai-appium/0.1.0/ai/test/sdk/package-info.java | /**
* Contains the main classes for the Test.ai (Fluffy Dragon) SDK. These classes provide simple wrappers around existing appium functionality to seamlessly incorporate Test.ai's powerful element
* classification technology.
*/
package ai.test.sdk; |
0 | java-sources/ai/test/sdk/test-ai-selenium/0.2.0/ai/test | java-sources/ai/test/sdk/test-ai-selenium/0.2.0/ai/test/sdk/CollectionUtils.java | package ai.test.sdk;
import java.util.HashMap;
import com.google.gson.JsonObject;
/**
* Shared classes and methods enhancing collections functionality.
*
* @author Alexander Wu (alec@test.ai)
*
*/
final class CollectionUtils
{
/**
* Builds a {@code HashMap} out of a list of {@code String}s. Pass in values such that {@code [ k1, v1, k2, v2, k3, v3... ]}.
*
* @param sl The {@code String}s to use
* @return A {@code HashMap} derived from the values in {@code sl}
*/
public static HashMap<String, String> keyValuesToHM(String... sl)
{
HashMap<String, String> m = new HashMap<>();
for (int i = 0; i < sl.length; i += 2)
m.put(sl[i], sl[i + 1]);
return m;
}
/**
* Builds a new {@code JsonObject} from the list of Objects. Pass in values such that {@code [ k1, v1, k2, v2, k3, v3... ]}.
*
* @param ol The {@code Object}s to use
* @return A {@code JsonObject} derived from the values in {@code ol}
*/
public static JsonObject keyValuesToJO(Object... ol)
{
JsonObject jo = new JsonObject();
for (int i = 0; i < ol.length; i += 2)
{
String k = (String) ol[i];
Object v = ol[i + 1];
if (v instanceof String)
jo.addProperty(k, (String) v);
else if (v instanceof Number)
jo.addProperty(k, (Number) v);
else if (v instanceof Boolean)
jo.addProperty(k, (Boolean) v);
else if (v instanceof Character)
jo.addProperty(k, (Character) v);
else
throw new IllegalArgumentException(String.format("'%s' is not an acceptable type for JSON!", v));
}
return jo;
}
/**
* Simple Tuple implementation. A Tuple is an immutable two-pair of values. It may consist of any two Objects, which may or may not be in of the same type.
*
* @author Alexander Wu (alec@test.ai)
*
* @param <K> The type of Object allowed for the first Object in the tuple.
* @param <V> The type of Object allowed for the second Object in the tuple.
*/
public static class Tuple<K, V>
{
/**
* The k value of the tuple
*/
public final K k;
/**
* The v value of the tuple
*/
public final V v;
/**
* Constructor, creates a new Tuple from the specified values.
*
* @param k The first entry in the Tuple.
* @param v The second entry in the Tuple.
*/
public Tuple(K k, V v)
{
this.k = k;
this.v = v;
}
}
}
|
0 | java-sources/ai/test/sdk/test-ai-selenium/0.2.0/ai/test | java-sources/ai/test/sdk/test-ai-selenium/0.2.0/ai/test/sdk/MatchUtils.java | package ai.test.sdk;
import java.util.ArrayList;
import java.util.Collections;
import java.util.HashMap;
import java.util.List;
import java.util.Map;
import java.util.stream.Collectors;
import org.openqa.selenium.NoSuchElementException;
import org.openqa.selenium.Rectangle;
import org.openqa.selenium.StaleElementReferenceException;
import org.openqa.selenium.WebElement;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import com.google.gson.JsonObject;
import ai.test.sdk.CollectionUtils.Tuple;
/**
* Static methods for matching bounding boxes to underlying Selenium elements.
*
* @author Alexander Wu (alec@test.ai)
*
*/
class MatchUtils
{
/**
* The logger for this class
*/
private static Logger log = LoggerFactory.getLogger(MatchUtils.class);
/**
* Matches a bounding box returned by the test.ai API to a selenium WebElement on the current page.
*
* @param boundingBox The json representing the element returned by the test.ai API.
* @param driver The {@code TestAiDriver} to use
* @return The best-matching, underlying {@code WebElement} which best fits the parameters specified by {@code boudingBox}
*/
public static WebElement matchBoundingBoxToSeleniumElement(JsonObject boundingBox, TestAiDriver driver)
{
HashMap<String, Double> newBox = new HashMap<>();
newBox.put("x", boundingBox.get("x").getAsDouble() / driver.multiplier);
newBox.put("y", boundingBox.get("y").getAsDouble() / driver.multiplier);
newBox.put("width", boundingBox.get("width").getAsDouble() / driver.multiplier);
newBox.put("height", boundingBox.get("height").getAsDouble() / driver.multiplier);
List<WebElement> elements = driver.driver.findElementsByXPath("//*");
List<Double> iouScores = new ArrayList<>();
for (WebElement e : elements)
try
{
iouScores.add(iouBoxes(newBox, e.getRect()));
}
catch (StaleElementReferenceException x)
{
log.debug("Stale reference to element '{}', setting score of 0", e);
iouScores.add(0.0);
}
List<Tuple<Double, WebElement>> composite = new ArrayList<>();
for (int i = 0; i < iouScores.size(); i++)
composite.add(new Tuple<>(iouScores.get(i), elements.get(i)));
Collections.sort(composite, (o1, o2) -> o2.k.compareTo(o1.k)); // sort the composite values in reverse (descending) order
composite = composite.stream().filter(x -> x.k > 0).filter(x -> centerHit(newBox, x.v.getRect())).collect(Collectors.toList());
if (composite.size() == 0)
throw new NoSuchElementException("Could not find any web element under the center of the bounding box");
for (Tuple<Double, WebElement> t : composite)
if (t.v.getTagName().equals("input") || t.v.getTagName().equals(("button")) && t.k > composite.get(0).k * 0.9)
return t.v;
return composite.get(0).v;
}
/**
* Calculate the IOU score of two rectangles. This is derived from the overlap and areas of both rectangles.
*
* @param box1 The first box The first rectangle to check (the json returned from the test.ai API)
* @param box2 The second box The second rectangle to check (the Rectangle from the selenium WebElement)
* @return The IOU score of the two rectangles. Higher score means relative to other scores (obtained from comparisons between other pairs of rectangles) means better match.
*/
private static double iouBoxes(Map<String, Double> box1, Rectangle box2)
{
return iou(box1.get("x"), box1.get("y"), box1.get("width"), box1.get("height"), (double) box2.x, (double) box2.y, (double) box2.width, (double) box2.height);
}
/**
* Calculate the IOU score of two rectangles. This is derived from the overlap and areas of both rectangles.
*
* @param x The x coordinate of the first box (upper left corner)
* @param y The y coordinate of the first box (upper left corner)
* @param w The width of the first box
* @param h The height of the first box
* @param xx The x coordinate of the second box (upper left corner)
* @param yy The y coordinate of the second box (upper left corner)
* @param ww The width of the second box
* @param hh The height of the second box
* @return The IOU value of both boxes.
*/
private static double iou(double x, double y, double w, double h, double xx, double yy, double ww, double hh)
{
double overlap = areaOverlap(x, y, w, h, xx, yy, ww, hh);
return overlap / (area(w, h) + area(ww, hh) - overlap);
}
/**
* Determines the amount of area overlap between two rectangles
*
* @param x The x coordinate of the first box (upper left corner)
* @param y The y coordinate of the first box (upper left corner)
* @param w The width of the first box
* @param h The height of the first box
* @param xx The x coordinate of the second box (upper left corner)
* @param yy The y coordinate of the second box (upper left corner)
* @param ww The width of the second box
* @param hh The height of the second box
* @return The amount of overlap, in square pixels.
*/
private static double areaOverlap(double x, double y, double w, double h, double xx, double yy, double ww, double hh)
{
double dx = Math.min(x + w, xx + ww) - Math.max(x, xx), dy = Math.min(y + h, yy + hh) - Math.max(y, yy);
return dx >= 0 && dy >= 0 ? dx * dy : 0;
}
/**
* Convenience function, calculates the area of a rectangle
*
* @param w The width of the rectangle
* @param h The height of the rectangle
* @return The area of the rectangle
*/
private static double area(double w, double h)
{
return w * h;
}
/**
* Determines if center point of {@code box1} falls within the area of {@code box2}
*
* @param box1 The first rectangle to check (the json returned from the test.ai API)
* @param box2 The second rectangle to check (the Rectangle from the selenium WebElement)
* @return {@code true} if the center point of {@code box1} falls within the area of {@code box2}
*/
private static boolean centerHit(Map<String, Double> box1, Rectangle box2)
{
double centerX = box1.get("x") + box1.get("width") / 2, centerY = box1.get("y") + box1.get("height") / 2;
return centerX > box2.x && centerX < box2.x + box2.width && centerY > box2.y && centerY < box2.y + box2.height;
}
}
|
0 | java-sources/ai/test/sdk/test-ai-selenium/0.2.0/ai/test | java-sources/ai/test/sdk/test-ai-selenium/0.2.0/ai/test/sdk/NetUtils.java | package ai.test.sdk;
import java.io.IOException;
import java.security.SecureRandom;
import java.security.cert.CertificateException;
import java.security.cert.X509Certificate;
import java.time.Duration;
import java.util.HashMap;
import javax.net.ssl.HostnameVerifier;
import javax.net.ssl.SSLContext;
import javax.net.ssl.SSLSession;
import javax.net.ssl.TrustManager;
import javax.net.ssl.X509TrustManager;
import com.google.gson.JsonObject;
import okhttp3.FormBody;
import okhttp3.HttpUrl;
import okhttp3.MediaType;
import okhttp3.OkHttpClient;
import okhttp3.Request;
import okhttp3.RequestBody;
import okhttp3.Response;
/**
* Shared network/http-related utilities and functionality
*
* @author Alexander Wu (alec@test.ai)
*
*/
final class NetUtils
{
/**
* The {@code MediaType} representing the json MIME type.
*/
private static final MediaType JSON = MediaType.get("application/json; charset=utf-8");
/**
* Performs a simple POST to the specified url with the provided client and {@code RequestBody}.
*
* @param client The OkHttp client to use
* @param baseURL The base URL to target
* @param endpoint The endpoint on the baseURL to target.
* @param b The request body to POST.
* @return The response from the server, in the form of a {@code Response} object
* @throws IOException Network error
*/
private static Response basicPOST(OkHttpClient client, HttpUrl baseURL, String endpoint, RequestBody b) throws IOException
{
return client.newCall(new Request.Builder().url(baseURL.newBuilder().addPathSegment(endpoint).build()).post(b).build()).execute();
}
/**
* Performs a simple POST to the specified url with the provided client and json data.
*
* @param client The OkHttp client to use
* @param baseURL The base URL to target
* @param endpoint The endpoint on the baseURL to target.
* @param jo The JsonObject to put in the request body
* @return The response from the server, in the form of a {@code Response} object
* @throws IOException Network error
*/
public static Response basicPOST(OkHttpClient client, HttpUrl baseURL, String endpoint, JsonObject jo) throws IOException
{
return basicPOST(client, baseURL, endpoint, RequestBody.create(jo.toString(), JSON));
}
/**
* Performs a simple form POST to the specified url with the provided client and form data.
*
* @param client The OkHttp client to use
* @param baseURL The base URL to target
* @param endpoint The endpoint on the baseURL to target.
* @param form The form data to POST
* @return The response from the server, in the form of a {@code Response} object
* @throws IOException Network error
*/
public static Response basicPOST(OkHttpClient client, HttpUrl baseURL, String endpoint, HashMap<String, String> form) throws IOException
{
FormBody.Builder fb = new FormBody.Builder();
form.forEach(fb::add);
return basicPOST(client, baseURL, endpoint, fb.build());
}
/**
* Convenience method, creates a new OkHttpBuilder with timeouts configured.
*
* @return A OkHttpClient builder with reasonable timeouts configured.
*/
static OkHttpClient.Builder basicClient()
{
Duration d = Duration.ofSeconds(60);
return new OkHttpClient.Builder().connectTimeout(d).writeTimeout(d).readTimeout(d).callTimeout(d);
}
/**
* Creates a new {@code OkHttpClient} which ignores expired/invalid ssl certificates. Normally, OkHttp will raise an exception if it encounters bad certificates.
*
* @return A new {@code OkHttpClient} which ignores expired/invalid ssl certificates.
*/
public static OkHttpClient unsafeClient()
{
try
{
TrustManager tl[] = { new TrustAllX509Manager() };
SSLContext sslContext = SSLContext.getInstance("SSL");
sslContext.init(null, tl, new SecureRandom());
return basicClient().sslSocketFactory(sslContext.getSocketFactory(), (X509TrustManager) tl[0]).hostnameVerifier(new TrustAllHostnameVerifier()).build();
}
catch (Throwable e) // highly unlikely, shut up compiler
{
return null;
}
}
/**
* A dummy {@code HostnameVerifier} which doesn't actually do any hostname checking.
*
* @author Alexander Wu (alec@test.ai)
*
*/
private static class TrustAllHostnameVerifier implements HostnameVerifier
{
@Override
public boolean verify(String hostname, SSLSession session)
{
return true;
}
}
/**
* A dummy {@code X509TrustManager} which doesn't actually do any certificate verification.
*
* @author Alexander Wu (alec@test.ai)
*
*/
private static class TrustAllX509Manager implements X509TrustManager
{
@Override
public void checkClientTrusted(X509Certificate[] chain, String authType) throws CertificateException
{
}
@Override
public void checkServerTrusted(X509Certificate[] chain, String authType) throws CertificateException
{
}
@Override
public X509Certificate[] getAcceptedIssuers()
{
return new X509Certificate[0];
}
}
}
|
0 | java-sources/ai/test/sdk/test-ai-selenium/0.2.0/ai/test | java-sources/ai/test/sdk/test-ai-selenium/0.2.0/ai/test/sdk/TestAiDriver.java | package ai.test.sdk;
import java.io.IOException;
import java.util.Collection;
import java.util.List;
import java.util.Objects;
import java.util.Set;
import java.util.UUID;
import java.util.concurrent.TimeUnit;
import java.util.function.Function;
import java.util.logging.Level;
import javax.imageio.ImageIO;
import org.openqa.selenium.By;
import org.openqa.selenium.Capabilities;
import org.openqa.selenium.NoSuchElementException;
import org.openqa.selenium.OutputType;
import org.openqa.selenium.Rectangle;
import org.openqa.selenium.WebElement;
import org.openqa.selenium.interactions.Keyboard;
import org.openqa.selenium.interactions.Mouse;
import org.openqa.selenium.interactions.Sequence;
import org.openqa.selenium.remote.CommandExecutor;
import org.openqa.selenium.remote.ErrorHandler;
import org.openqa.selenium.remote.FileDetector;
import org.openqa.selenium.remote.RemoteWebDriver;
import org.openqa.selenium.remote.SessionId;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import com.google.gson.JsonObject;
import okhttp3.HttpUrl;
import okhttp3.OkHttpClient;
import okhttp3.Response;
/**
* A convenient wrapper around {@code RemoteWebDriver} which calls out to Test.ai to improve the accuracy of identified elements.
*
* @author Alexander Wu (alec@test.ai)
*/
@SuppressWarnings("deprecation")
public class TestAiDriver extends RemoteWebDriver
{
/**
* The current version of the SDK
*/
private static String SDK_VERSION = "0.2.0";
/**
* The logger for this class
*/
private static Logger log = LoggerFactory.getLogger(TestAiDriver.class);
/**
* The client to use for making http requests
*/
private OkHttpClient client;
/**
* The driver used by the user that we're wrapping.
*/
RemoteWebDriver driver;
/**
* The user's fluffy dragon API key
*/
private String apiKey;
/**
* The base URL of the target server (e.g. {@code https://sdk.test.ai})
*/
private HttpUrl serverURL;
/**
* The test case name. Used in live/interactive mode.
*/
private String testCaseName;
/**
* Indicates whether Test.ai should be used to improve the accuracy of returned elements
*/
// private boolean train;
/**
* The run id. This should be randomly generated each run.
*/
private String runID = UUID.randomUUID().toString();
/**
* The UUID of the last screenshot in live/interactive mode.
*/
// private String lastTestCaseScreenshotUUID;
/**
* The screen density multiplier
*/
double multiplier;
/**
* Constructor, creates a new TestAiDriver.
*
* @param driver The selenium driver to wrap
* @param apiKey Your API key, acquired from <a href="https://sdk.test.ai">sdk.test.ai</a>.
* @param serverURL The server URL. Set {@code null} to use the default of <a href="https://sdk.test.ai">sdk.test.ai</a>.
* @param testCaseName The test case name to use for interactive mode. Setting this to something other than {@code null} enables interactive mode.
* @param train Set `true` to enable training for each encountered element.
* @throws IOException If there was an initialization error.
*/
public TestAiDriver(RemoteWebDriver driver, String apiKey, String serverURL, String testCaseName, boolean train) throws IOException
{
this.driver = driver;
this.apiKey = apiKey;
this.testCaseName = testCaseName;
// this.train = train;
if (testCaseName == null)
{
StackTraceElement[] sl = Thread.currentThread().getStackTrace();
if (sl.length > 0)
{
StackTraceElement bottom = sl[sl.length - 1];
this.testCaseName = String.format("%s.%s", bottom.getClassName(), bottom.getMethodName());
log.info("No test case name was specified, defaulting to {}", this.testCaseName);
}
else
this.testCaseName = "My first test case";
}
this.serverURL = HttpUrl.parse(serverURL != null ? serverURL : Objects.requireNonNullElse(System.getenv("TESTAI_FLUFFY_DRAGON_URL"), "https://sdk.test.ai"));
client = this.serverURL.equals(HttpUrl.parse("https://sdk.dev.test.ai")) ? NetUtils.unsafeClient() : NetUtils.basicClient().build();
multiplier = 1.0 * ImageIO.read(driver.getScreenshotAs(OutputType.FILE)).getWidth() / driver.manage().window().getSize().width;
log.debug("The screen multiplier is {}", multiplier);
try
{
JsonObject payload = CollectionUtils.keyValuesToJO("api_key", apiKey, "os",
String.format("%s-%s-%s", System.getProperty("os.name"), System.getProperty("os.version"), System.getProperty("os.arch")), "sdk_version", SDK_VERSION, "language",
String.format("java-%s", System.getProperty("java.version")), "test_case_uuid", runID);
log.debug("Checking in with: {}", payload.toString());
JsonObject r = JsonUtils.responseAsJson(NetUtils.basicPOST(client, this.serverURL, "sdk_checkin", payload));
if (!JsonUtils.booleanFromJson(r, "success"))
log.debug("Error during checkin, server said: {}", r);
}
catch (Throwable e)
{
log.debug("Checkin failed catastrophically: {}", e.getMessage());
}
}
/**
* Constructor, creates a new TestAiDriver with the default server url (<a href="https://sdk.test.ai">sdk.test.ai</a>), non-interactive mode, and with training enabled.
*
* @param driver The {@code RemoteWebDriver} to wrap
* @param apiKey Your API key, acquired from <a href="https://sdk.test.ai">sdk.test.ai</a>.
* @throws IOException If there was an initialization error.
*/
public TestAiDriver(RemoteWebDriver driver, String apiKey) throws IOException
{
this(driver, apiKey, null, null, true);
}
/**
* Convenience method, implicitly wait for the specified amount of time.
*
* @param waitTime The number of seconds to implicitly wait.
* @return This {@code TestAiDriver}, for chaining convenience.
*/
public TestAiDriver implicitlyWait(long waitTime)
{
driver.manage().timeouts().implicitlyWait(waitTime, TimeUnit.SECONDS);
return this;
}
@Override
public Object executeAsyncScript(String script, Object... args)
{
return driver.executeAsyncScript(script, args);
}
@Override
public Object executeScript(String script, Object... args)
{
return driver.executeScript(script, args);
}
/**
* Opens a web browser and directs it to {@code url}.
*
* @param url The URL to launch the browser to.
*/
@Override
public void get(String url)
{
driver.get(url);
}
@Override
public WebElement findElement(By locator)
{
return driver.findElement(locator);
}
@Override
public List<WebElement> findElements(By locator)
{
return driver.findElements(locator);
}
@Override
public Capabilities getCapabilities()
{
return driver.getCapabilities();
}
@Override
public CommandExecutor getCommandExecutor()
{
return driver.getCommandExecutor();
}
@Override
public String getCurrentUrl()
{
return driver.getCurrentUrl();
}
@Override
public ErrorHandler getErrorHandler()
{
return driver.getErrorHandler();
}
@Override
public FileDetector getFileDetector()
{
return driver.getFileDetector();
}
@Override
public Keyboard getKeyboard()
{
return driver.getKeyboard();
}
@Override
public Mouse getMouse()
{
return driver.getMouse();
}
@Override
public String getPageSource()
{
return driver.getPageSource();
}
@Override
public <X> X getScreenshotAs(OutputType<X> outputType)
{
return driver.getScreenshotAs(outputType);
}
@Override
public SessionId getSessionId()
{
return driver.getSessionId();
}
@Override
public String getTitle()
{
return driver.getTitle();
}
@Override
public String getWindowHandle()
{
return driver.getWindowHandle();
}
@Override
public Set<String> getWindowHandles()
{
return driver.getWindowHandles();
}
@Override
public Options manage()
{
return driver.manage();
}
@Override
public Navigation navigate()
{
return driver.navigate();
}
@Override
public void perform(Collection<Sequence> actions)
{
driver.perform(actions);
}
@Override
public void quit()
{
driver.quit();
}
@Override
public void resetInputState()
{
driver.resetInputState();
}
@Override
public void setErrorHandler(ErrorHandler handler)
{
driver.setErrorHandler(handler);
}
@Override
public void setFileDetector(FileDetector detector)
{
driver.setFileDetector(detector);
}
@Override
public void setLogLevel(Level level)
{
driver.setLogLevel(level);
}
@Override
public TargetLocator switchTo()
{
return driver.switchTo();
}
@Override
public String toString()
{
return driver.toString();
}
/**
* Attempts to find an element by class name.
*
* @param using The class name of the element to find
* @param elementName The label name of the element to be classified. Optional, set {@code null} to auto generate an element name.
* @return The element that was found. Raises an exception otherwise.
*/
public WebElement findElementByClassName(String using, String elementName)
{
return findElementByGeneric(using, elementName, "class_name", driver::findElementByClassName);
}
/**
* Attempts to find an element by class name.
*
* @param using The class name of the element to find
* @return The element that was found. Raises an exception otherwise.
*/
@Override
public WebElement findElementByClassName(String using)
{
return findElementByClassName(using, null);
}
/**
* Attempts to find all elements with the matching class name.
*
* @param using The class name of the elements to find.
* @return A {@code List} with any elements that were found, or an empty {@code List} if no matches were found.
*/
@Override
public List<WebElement> findElementsByClassName(String using)
{
return driver.findElementsByClassName(using);
}
/**
* Attempts to find an element by css selector.
*
* @param using The css selector of the element to find
* @param elementName The label name of the element to be classified. Optional, set {@code null} to auto generate an element name.
* @return The element that was found. Raises an exception otherwise.
*/
public WebElement findElementByCssSelector(String using, String elementName)
{
return findElementByGeneric(using, elementName, "class_name", driver::findElementByCssSelector);
}
/**
* Attempts to find an element by css selector.
*
* @param using The css selector of the element to find
* @return The element that was found. Raises an exception otherwise.
*/
@Override
public WebElement findElementByCssSelector(String using)
{
return findElementByCssSelector(using, null);
}
/**
* Attempts to find all elements with the matching css selector.
*
* @param using The css selector of the elements to find.
* @return A {@code List} with any elements that were found, or an empty {@code List} if no matches were found.
*/
@Override
public List<WebElement> findElementsByCssSelector(String using)
{
return driver.findElementsByCssSelector(using);
}
/**
* Attempts to find an element by id.
*
* @param using The id of the element to find
* @param elementName The label name of the element to be classified. Optional, set {@code null} to auto generate an element name.
* @return The element that was found. Raises an exception otherwise.
*/
public WebElement findElementById(String using, String elementName)
{
return findElementByGeneric(using, elementName, "class_name", driver::findElementById);
}
/**
* Attempts to find an element by id.
*
* @param using The id of the element to find
* @return The element that was found. Raises an exception otherwise.
*/
@Override
public WebElement findElementById(String using)
{
return findElementById(using, null);
}
/**
* Attempts to find all elements with the matching id.
*
* @param using The id of the elements to find.
* @return A {@code List} with any elements that were found, or an empty {@code List} if no matches were found.
*/
@Override
public List<WebElement> findElementsById(String using)
{
return driver.findElementsById(using);
}
/**
* Attempts to find an element by link text.
*
* @param using The link text of the element to find
* @param elementName The label name of the element to be classified. Optional, set {@code null} to auto generate an element name.
* @return The element that was found. Raises an exception otherwise.
*/
public WebElement findElementByLinkText(String using, String elementName)
{
return findElementByGeneric(using, elementName, "class_name", driver::findElementByLinkText);
}
/**
* Attempts to find an element by link text.
*
* @param using The link text of the element to find
* @return The element that was found. Raises an exception otherwise.
*/
@Override
public WebElement findElementByLinkText(String using)
{
return findElementByLinkText(using, null);
}
/**
* Attempts to find all elements with the matching link text.
*
* @param using The link text of the elements to find.
* @return A {@code List} with any elements that were found, or an empty {@code List} if no matches were found.
*/
@Override
public List<WebElement> findElementsByLinkText(String using)
{
return driver.findElementsByLinkText(using);
}
/**
* Attempts to find an element by name.
*
* @param using The name of the element to find
* @param elementName The label name of the element to be classified. Optional, set {@code null} to auto generate an element name.
* @return The element that was found. Raises an exception otherwise.
*/
public WebElement findElementByName(String using, String elementName)
{
return findElementByGeneric(using, elementName, "name", driver::findElementByName);
}
/**
* Attempts to find an element by name.
*
* @param using The name of the element to find
* @return The element that was found. Raises an exception otherwise.
*/
@Override
public WebElement findElementByName(String using)
{
return findElementByName(using, null);
}
/**
* Attempts to find all elements with the matching name.
*
* @param using The name of the elements to find.
* @return A {@code List} with any elements that were found, or an empty {@code List} if no matches were found.
*/
@Override
public List<WebElement> findElementsByName(String using)
{
return driver.findElementsByName(using);
}
/**
* Attempts to find an element by partial link text.
*
* @param using The partial link text of the element to find
* @param elementName The label name of the element to be classified. Optional, set {@code null} to auto generate an element name.
* @return The element that was found. Raises an exception otherwise.
*/
public WebElement findElementByPartialLinkText(String using, String elementName)
{
return findElementByGeneric(using, elementName, "name", driver::findElementByPartialLinkText);
}
/**
* Attempts to find an element by partial link text.
*
* @param using The partial link text of the element to find
* @return The element that was found. Raises an exception otherwise.
*/
@Override
public WebElement findElementByPartialLinkText(String using)
{
return findElementByPartialLinkText(using, null);
}
/**
* Attempts to find all elements with the matching partial link text.
*
* @param using The partial link text of the elements to find.
* @return A {@code List} with any elements that were found, or an empty {@code List} if no matches were found.
*/
@Override
public List<WebElement> findElementsByPartialLinkText(String using)
{
return driver.findElementsByPartialLinkText(using);
}
/**
* Attempts to find an element by tag name.
*
* @param using The tag name of the element to find
* @param elementName The label name of the element to be classified. Optional, set {@code null} to auto generate an element name.
* @return The element that was found. Raises an exception otherwise.
*/
public WebElement findElementByTagName(String using, String elementName)
{
return findElementByGeneric(using, elementName, "name", driver::findElementByTagName);
}
/**
* Attempts to find an element by tag name.
*
* @param using The tag name of the element to find
* @return The element that was found. Raises an exception otherwise.
*/
@Override
public WebElement findElementByTagName(String using)
{
return findElementByTagName(using, null);
}
/**
* Attempts to find all elements with the matching tag name.
*
* @param using The tag name of the elements to find.
* @return A {@code List} with any elements that were found, or an empty {@code List} if no matches were found.
*/
@Override
public List<WebElement> findElementsByTagName(String using)
{
return driver.findElementsByTagName(using);
}
/**
* Attempts to find an element by xpath.
*
* @param using The xpath of the element to find
* @param elementName The label name of the element to be classified. Optional, set {@code null} to auto generate an element name.
* @return The element that was found. Raises an exception otherwise.
*/
public WebElement findElementByXPath(String using, String elementName)
{
return findElementByGeneric(using, elementName, "xpath", driver::findElementByXPath);
}
/**
* Attempts to find an element by xpath.
*
* @param using The xpath of the element to find
* @return The element that was found. Raises an exception otherwise.
*/
@Override
public WebElement findElementByXPath(String using)
{
return findElementByXPath(using, null);
}
/**
* Attempts to find all elements with the matching xpath.
*
* @param using The xpath of the elements to find.
* @return A {@code List} with any elements that were found, or an empty {@code List} if no matches were found.
*/
@Override
public List<WebElement> findElementsByXPath(String using)
{
return driver.findElementsByXPath(using);
}
/**
* Finds an element by {@code elementName}. Please use {@link #findElementByElementName(String)} instead.
*
* @param elementName The label name of the element to be classified.
* @return An element associated with {@code elementName}. Throws NoSuchElementException otherwise.
*/
@Deprecated
public WebElement findByElementName(String elementName)
{
return findElementByElementName(elementName);
}
/**
* Finds an element by {@code elementName}.
*
* @param elementName The label name of the element to be classified.
* @return An element associated with {@code elementName}. Throws NoSuchElementException otherwise.
*/
public WebElement findElementByElementName(String elementName)
{
ClassifyResult r = classify(elementName);
if (r.e == null)
throw new NoSuchElementException(r.msg);
return r.e;
}
/**
* Shared {@code findElementBy} functionality. This serves as the base logic for most find by methods exposed to the end user.
*
* @param using The search term to use when looking for an element.
* @param elementName The label name of the element to be classified. This is what the element will be stored under in the test.ai db.
* @param shortcode The short identifier for the type of lookup being performed. This will be used to aut-generate an {@code elementName} if the user did not specify one.
* @param fn The selenium function to call with {@code using}, which will be used to fetch what selenium thinks is the target element.
* @return The TestAiElement
*/
private WebElement findElementByGeneric(String using, String elementName, String shortcode, Function<String, WebElement> fn)
{
if (elementName == null)
elementName = String.format("element_name_by_%s_%s", shortcode, using.replace('.', '_'));
elementName = elementName.replace(' ', '_');
try
{
WebElement driverElement = fn.apply(using);
if (driverElement != null)
{
ClassifyResult result = classify(elementName);
updateElement(driverElement, result.key, elementName, true);
}
return driverElement;
}
catch (Throwable x)
{
log.info("Element '{}' was not found by Selenium, trying with test.ai...", elementName);
ClassifyResult result = classify(elementName);
if (result.e != null)
return result.e;
log.error("test.ai was also unable to find the element with name '{}'", elementName);
throw x;
}
}
/**
* Updates the entry for an element as it is known to the test.ai servers.
*
* @param elem The element to update
* @param key The key associated with this element
* @param elementName The name associated with this element
* @param trainIfNecessary Set {@code true} if the model on the server should also be trained with this element.
*/
private void updateElement(WebElement elem, String key, String elementName, boolean trainIfNecessary)
{
Rectangle rect = elem.getRect();
JsonObject form = CollectionUtils.keyValuesToJO("key", key, "api_key", apiKey, "label", elementName, "run_id", runID, "x", rect.x * multiplier, "y", rect.y * multiplier, "width",
rect.width * multiplier, "height", rect.height * multiplier, "multiplier", multiplier, "train_if_necessary", trainIfNecessary, "test_case_uuid", testCaseName);
try (Response r = NetUtils.basicPOST(client, serverURL, "add_action", form))
{
log.debug("Updated element {}, response from the server was '{}'", elementName, r.body().string());
}
catch (Throwable e)
{
e.printStackTrace();
}
}
/**
* Perform additional classification on an element by querying the test.ai server.
*
* @param elementName The name of the element to run classification on.
* @return The result of the classification.
*/
private ClassifyResult classify(String elementName)
{
// if (testCaseName != null)
// return null; // TODO: add test case creation/interactive mode
String pageSource = "", msg = "test.ai driver exception", key = null;
try
{
pageSource = driver.getPageSource();
}
catch (Throwable e)
{
}
try
{
String screenshotBase64 = driver.getScreenshotAs(OutputType.BASE64);
// Files.write(Paths.get("/tmp/scnshot.png"), Base64.getMimeDecoder().decode(screenshotBase64));
JsonObject r = JsonUtils.responseAsJson(NetUtils.basicPOST(client, serverURL, "classify",
CollectionUtils.keyValuesToHM("screenshot", screenshotBase64, "source", pageSource, "api_key", apiKey, "label", elementName, "run_id", runID)));
key = JsonUtils.stringFromJson(r, "key");
if (JsonUtils.booleanFromJson(r, "success"))
{
log.info("Successfully classified: {}", elementName);
return new ClassifyResult(new TestAiElement(r.get("elem").getAsJsonObject(), this), key);
}
String rawMsg = JsonUtils.stringFromJson(r, "message");
if (rawMsg != null)
{
String cFailedBase = "Classification failed for element_name: ";
if (rawMsg.contains("Please label") || rawMsg.contains("Did not find"))
msg = String.format("%s%s - Please visit %s/label/%s to classify", cFailedBase, elementName, serverURL, elementName);
else if (rawMsg.contains("frozen label"))
msg = String.format("%s%s - However this element is frozen, so no new screenshot was uploaded. Please unfreeze the element if you want to add this screenshot to training", cFailedBase,
elementName);
else
msg = String.format("%s: Unknown error, here was the API response: %s", msg, r);
}
}
catch (Throwable e)
{
e.printStackTrace();
}
log.warn(msg);
return new ClassifyResult(null, key, msg);
}
/**
* Simple container for encapsulating results of calls to {@code classify()}.
*
* @author Alexander Wu (alec@test.ai)
*
*/
private static class ClassifyResult
{
/**
* The TestAiElement created by the call to classify
*/
public TestAiElement e;
/**
* The key returned by the call to classify
*/
public String key;
/**
* The message associated with this result
*/
public String msg;
/**
* Constructor, creates a new ClassifyResult.
*
* @param e The TestAiElement to to use
* @param key The key to use
* @param msg The message to associate with this result
*/
ClassifyResult(TestAiElement e, String key, String msg)
{
this.e = e;
this.key = key;
this.msg = msg;
}
/**
* Constructor, creates a new ClassifyResult, where the {@code msg} is set to the empty String by default.
*
* @param e
* @param key
*/
ClassifyResult(TestAiElement e, String key)
{
this(e, key, "");
}
}
}
|
0 | java-sources/ai/test/sdk/test-ai-selenium/0.2.0/ai/test | java-sources/ai/test/sdk/test-ai-selenium/0.2.0/ai/test/sdk/TestAiElement.java | package ai.test.sdk;
import com.google.gson.JsonObject;
import java.util.List;
import org.openqa.selenium.By;
import org.openqa.selenium.Dimension;
import org.openqa.selenium.Point;
import org.openqa.selenium.Rectangle;
import org.openqa.selenium.WebElement;
import org.openqa.selenium.remote.RemoteWebDriver;
import org.openqa.selenium.remote.RemoteWebElement;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
/**
* An enhanced RemoteWebElement which uses the results of the Test.ai classifier for improved accuracy.
*
* @author Alexander Wu (alec@test.ai)
*
*/
public class TestAiElement extends RemoteWebElement
{
/**
* The logger for this class
*/
private static Logger log = LoggerFactory.getLogger(TestAiElement.class);
/**
* The webdriver the user is using. We wrap this for when the user calls methods that interact with selenium.
*/
private RemoteWebDriver driver;
/**
* The underlying {@code WebElement} used for performing actions in the browser.
*/
private WebElement realElement;
/**
* The text in this element, as determined by test.ai's classifier
*/
private String text;
/**
* The size of this element, in pixels
*/
private Dimension size;
/**
* The location of this element, in pixels (offset from the upper left corner of the screen)
*/
private Point location;
/**
* The rectangle that can be drawn around this element. Basically combines size and location.
*/
private Rectangle rectangle;
/**
* The tag name of this element, as determined by test.ai's classifier
*/
private String tagName;
/**
* Constructor, creates a new TestAiElement
*
* @param elem The element data returned by the FD API, as JSON
* @param driver The {@code TestAiDriver} to associate with this {@code TestAiElement}.
*/
TestAiElement(JsonObject elem, TestAiDriver driver)
{
log.debug("Creating new TestAiElement w/ {}", elem);
this.driver = driver.driver;
this.realElement = MatchUtils.matchBoundingBoxToSeleniumElement(elem, driver);
text = JsonUtils.stringFromJson(elem, "text");
size = new Dimension(JsonUtils.intFromJson(elem, "width") / (int) driver.multiplier, JsonUtils.intFromJson(elem, "height") / (int) driver.multiplier);
location = new Point(JsonUtils.intFromJson(elem, "x") / (int) driver.multiplier, JsonUtils.intFromJson(elem, "y") / (int) driver.multiplier);
// this.property = property //TODO: not referenced/implemented on python side??
rectangle = new Rectangle(location, size);
tagName = JsonUtils.stringFromJson(elem, "class");
}
@Override
public String getText()
{
return text;
}
@Override
public Dimension getSize()
{
return size;
}
@Override
public Point getLocation()
{
return location;
}
@Override
public Rectangle getRect()
{
return rectangle;
}
@Override
public String getTagName()
{
return tagName;
}
@Override
public void clear()
{
realElement.clear();
}
@Override
public WebElement findElement(By by)
{
return driver.findElement(by);
}
@Override
public List<WebElement> findElements(By by)
{
return driver.findElements(by);
}
@Override
public String getAttribute(String name)
{
return realElement.getAttribute(name);
}
@Override
public String getCssValue(String propertyName)
{
return realElement.getCssValue(propertyName);
}
@Override
public boolean isDisplayed()
{
return realElement.isDisplayed();
}
@Override
public boolean isEnabled()
{
return realElement.isEnabled();
}
@Override
public boolean isSelected()
{
return realElement.isSelected();
}
@Override
public void click()
{
realElement.click();
}
@Override
public void sendKeys(CharSequence... keysToSend)
{
realElement.sendKeys(keysToSend);
}
@Override
public void submit()
{
realElement.submit();
}
}
|
0 | java-sources/ai/test/sdk/test-ai-selenium/0.2.0/ai/test | java-sources/ai/test/sdk/test-ai-selenium/0.2.0/ai/test/sdk/package-info.java | /**
* Contains the main classes for the Test.ai (Fluffy Dragon) SDK. These classes provide simple wrappers around existing selenium functionality to seamlessly incorporate Test.ai's powerful element
* classification technology.
*/
package ai.test.sdk; |
0 | java-sources/ai/themsp/mes-android-sdk/0.15.0/main/com/particles/mes | java-sources/ai/themsp/mes-android-sdk/0.15.0/main/com/particles/mes/protos/Ad.java | // Generated by the protocol buffer compiler. DO NOT EDIT!
// source: monetization/common.proto
package com.particles.mes.protos;
/**
* Protobuf type {@code com.newsbreak.monetization.common.Ad}
*/
public final class Ad extends
com.google.protobuf.GeneratedMessageLite<
Ad, Ad.Builder> implements
// @@protoc_insertion_point(message_implements:com.newsbreak.monetization.common.Ad)
AdOrBuilder {
private Ad() {
title_ = "";
body_ = "";
advertiser_ = "";
fullScreenshot_ = com.google.protobuf.ByteString.EMPTY;
adScreenshot_ = com.google.protobuf.ByteString.EMPTY;
key_ = "";
adsetId_ = "";
}
public static final int TS_MS_FIELD_NUMBER = 1;
private long tsMs_;
/**
* <pre>
* timestamp when bid is received
* </pre>
*
* <code>uint64 ts_ms = 1;</code>
* @return The tsMs.
*/
@java.lang.Override
public long getTsMs() {
return tsMs_;
}
/**
* <pre>
* timestamp when bid is received
* </pre>
*
* <code>uint64 ts_ms = 1;</code>
* @param value The tsMs to set.
*/
private void setTsMs(long value) {
tsMs_ = value;
}
/**
* <pre>
* timestamp when bid is received
* </pre>
*
* <code>uint64 ts_ms = 1;</code>
*/
private void clearTsMs() {
tsMs_ = 0L;
}
public static final int SEAT_BID_FIELD_NUMBER = 2;
private com.particles.mes.protos.openrtb.BidResponse.SeatBid seatBid_;
/**
* <code>.com.google.openrtb.BidResponse.SeatBid seat_bid = 2;</code>
*/
@java.lang.Override
public boolean hasSeatBid() {
return seatBid_ != null;
}
/**
* <code>.com.google.openrtb.BidResponse.SeatBid seat_bid = 2;</code>
*/
@java.lang.Override
public com.particles.mes.protos.openrtb.BidResponse.SeatBid getSeatBid() {
return seatBid_ == null ? com.particles.mes.protos.openrtb.BidResponse.SeatBid.getDefaultInstance() : seatBid_;
}
/**
* <code>.com.google.openrtb.BidResponse.SeatBid seat_bid = 2;</code>
*/
private void setSeatBid(com.particles.mes.protos.openrtb.BidResponse.SeatBid value) {
value.getClass();
seatBid_ = value;
}
/**
* <code>.com.google.openrtb.BidResponse.SeatBid seat_bid = 2;</code>
*/
@java.lang.SuppressWarnings({"ReferenceEquality"})
private void mergeSeatBid(com.particles.mes.protos.openrtb.BidResponse.SeatBid value) {
value.getClass();
if (seatBid_ != null &&
seatBid_ != com.particles.mes.protos.openrtb.BidResponse.SeatBid.getDefaultInstance()) {
seatBid_ =
com.particles.mes.protos.openrtb.BidResponse.SeatBid.newBuilder(seatBid_).mergeFrom(value).buildPartial();
} else {
seatBid_ = value;
}
}
/**
* <code>.com.google.openrtb.BidResponse.SeatBid seat_bid = 2;</code>
*/
private void clearSeatBid() { seatBid_ = null;
}
public static final int TITLE_FIELD_NUMBER = 3;
private java.lang.String title_;
/**
* <code>string title = 3;</code>
* @return The title.
*/
@java.lang.Override
public java.lang.String getTitle() {
return title_;
}
/**
* <code>string title = 3;</code>
* @return The bytes for title.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getTitleBytes() {
return com.google.protobuf.ByteString.copyFromUtf8(title_);
}
/**
* <code>string title = 3;</code>
* @param value The title to set.
*/
private void setTitle(
java.lang.String value) {
java.lang.Class<?> valueClass = value.getClass();
title_ = value;
}
/**
* <code>string title = 3;</code>
*/
private void clearTitle() {
title_ = getDefaultInstance().getTitle();
}
/**
* <code>string title = 3;</code>
* @param value The bytes for title to set.
*/
private void setTitleBytes(
com.google.protobuf.ByteString value) {
checkByteStringIsUtf8(value);
title_ = value.toStringUtf8();
}
public static final int BODY_FIELD_NUMBER = 4;
private java.lang.String body_;
/**
* <code>string body = 4;</code>
* @return The body.
*/
@java.lang.Override
public java.lang.String getBody() {
return body_;
}
/**
* <code>string body = 4;</code>
* @return The bytes for body.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getBodyBytes() {
return com.google.protobuf.ByteString.copyFromUtf8(body_);
}
/**
* <code>string body = 4;</code>
* @param value The body to set.
*/
private void setBody(
java.lang.String value) {
java.lang.Class<?> valueClass = value.getClass();
body_ = value;
}
/**
* <code>string body = 4;</code>
*/
private void clearBody() {
body_ = getDefaultInstance().getBody();
}
/**
* <code>string body = 4;</code>
* @param value The bytes for body to set.
*/
private void setBodyBytes(
com.google.protobuf.ByteString value) {
checkByteStringIsUtf8(value);
body_ = value.toStringUtf8();
}
public static final int TYPE_FIELD_NUMBER = 5;
private int type_;
/**
* <code>.com.newsbreak.monetization.common.AdType type = 5;</code>
* @return The enum numeric value on the wire for type.
*/
@java.lang.Override
public int getTypeValue() {
return type_;
}
/**
* <code>.com.newsbreak.monetization.common.AdType type = 5;</code>
* @return The type.
*/
@java.lang.Override
public com.particles.mes.protos.AdType getType() {
com.particles.mes.protos.AdType result = com.particles.mes.protos.AdType.forNumber(type_);
return result == null ? com.particles.mes.protos.AdType.UNRECOGNIZED : result;
}
/**
* <code>.com.newsbreak.monetization.common.AdType type = 5;</code>
* @param value The enum numeric value on the wire for type to set.
*/
private void setTypeValue(int value) {
type_ = value;
}
/**
* <code>.com.newsbreak.monetization.common.AdType type = 5;</code>
* @param value The type to set.
*/
private void setType(com.particles.mes.protos.AdType value) {
type_ = value.getNumber();
}
/**
* <code>.com.newsbreak.monetization.common.AdType type = 5;</code>
*/
private void clearType() {
type_ = 0;
}
public static final int ADVERTISER_FIELD_NUMBER = 6;
private java.lang.String advertiser_;
/**
* <code>string advertiser = 6;</code>
* @return The advertiser.
*/
@java.lang.Override
public java.lang.String getAdvertiser() {
return advertiser_;
}
/**
* <code>string advertiser = 6;</code>
* @return The bytes for advertiser.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getAdvertiserBytes() {
return com.google.protobuf.ByteString.copyFromUtf8(advertiser_);
}
/**
* <code>string advertiser = 6;</code>
* @param value The advertiser to set.
*/
private void setAdvertiser(
java.lang.String value) {
java.lang.Class<?> valueClass = value.getClass();
advertiser_ = value;
}
/**
* <code>string advertiser = 6;</code>
*/
private void clearAdvertiser() {
advertiser_ = getDefaultInstance().getAdvertiser();
}
/**
* <code>string advertiser = 6;</code>
* @param value The bytes for advertiser to set.
*/
private void setAdvertiserBytes(
com.google.protobuf.ByteString value) {
checkByteStringIsUtf8(value);
advertiser_ = value.toStringUtf8();
}
public static final int FULL_SCREENSHOT_FIELD_NUMBER = 7;
private com.google.protobuf.ByteString fullScreenshot_;
/**
* <code>bytes full_screenshot = 7;</code>
* @return The fullScreenshot.
*/
@java.lang.Override
public com.google.protobuf.ByteString getFullScreenshot() {
return fullScreenshot_;
}
/**
* <code>bytes full_screenshot = 7;</code>
* @param value The fullScreenshot to set.
*/
private void setFullScreenshot(com.google.protobuf.ByteString value) {
java.lang.Class<?> valueClass = value.getClass();
fullScreenshot_ = value;
}
/**
* <code>bytes full_screenshot = 7;</code>
*/
private void clearFullScreenshot() {
fullScreenshot_ = getDefaultInstance().getFullScreenshot();
}
public static final int AD_SCREENSHOT_FIELD_NUMBER = 8;
private com.google.protobuf.ByteString adScreenshot_;
/**
* <code>bytes ad_screenshot = 8;</code>
* @return The adScreenshot.
*/
@java.lang.Override
public com.google.protobuf.ByteString getAdScreenshot() {
return adScreenshot_;
}
/**
* <code>bytes ad_screenshot = 8;</code>
* @param value The adScreenshot to set.
*/
private void setAdScreenshot(com.google.protobuf.ByteString value) {
java.lang.Class<?> valueClass = value.getClass();
adScreenshot_ = value;
}
/**
* <code>bytes ad_screenshot = 8;</code>
*/
private void clearAdScreenshot() {
adScreenshot_ = getDefaultInstance().getAdScreenshot();
}
public static final int KEY_FIELD_NUMBER = 9;
private java.lang.String key_;
/**
* <code>string key = 9;</code>
* @return The key.
*/
@java.lang.Override
public java.lang.String getKey() {
return key_;
}
/**
* <code>string key = 9;</code>
* @return The bytes for key.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getKeyBytes() {
return com.google.protobuf.ByteString.copyFromUtf8(key_);
}
/**
* <code>string key = 9;</code>
* @param value The key to set.
*/
private void setKey(
java.lang.String value) {
java.lang.Class<?> valueClass = value.getClass();
key_ = value;
}
/**
* <code>string key = 9;</code>
*/
private void clearKey() {
key_ = getDefaultInstance().getKey();
}
/**
* <code>string key = 9;</code>
* @param value The bytes for key to set.
*/
private void setKeyBytes(
com.google.protobuf.ByteString value) {
checkByteStringIsUtf8(value);
key_ = value.toStringUtf8();
}
public static final int FULL_SCREENSHOT_TYPE_FIELD_NUMBER = 10;
private int fullScreenshotType_;
/**
* <code>.com.newsbreak.monetization.common.ImageType full_screenshot_type = 10;</code>
* @return The enum numeric value on the wire for fullScreenshotType.
*/
@java.lang.Override
public int getFullScreenshotTypeValue() {
return fullScreenshotType_;
}
/**
* <code>.com.newsbreak.monetization.common.ImageType full_screenshot_type = 10;</code>
* @return The fullScreenshotType.
*/
@java.lang.Override
public com.particles.mes.protos.ImageType getFullScreenshotType() {
com.particles.mes.protos.ImageType result = com.particles.mes.protos.ImageType.forNumber(fullScreenshotType_);
return result == null ? com.particles.mes.protos.ImageType.UNRECOGNIZED : result;
}
/**
* <code>.com.newsbreak.monetization.common.ImageType full_screenshot_type = 10;</code>
* @param value The enum numeric value on the wire for fullScreenshotType to set.
*/
private void setFullScreenshotTypeValue(int value) {
fullScreenshotType_ = value;
}
/**
* <code>.com.newsbreak.monetization.common.ImageType full_screenshot_type = 10;</code>
* @param value The fullScreenshotType to set.
*/
private void setFullScreenshotType(com.particles.mes.protos.ImageType value) {
fullScreenshotType_ = value.getNumber();
}
/**
* <code>.com.newsbreak.monetization.common.ImageType full_screenshot_type = 10;</code>
*/
private void clearFullScreenshotType() {
fullScreenshotType_ = 0;
}
public static final int AD_SCREENSHOT_TYPE_FIELD_NUMBER = 11;
private int adScreenshotType_;
/**
* <code>.com.newsbreak.monetization.common.ImageType ad_screenshot_type = 11;</code>
* @return The enum numeric value on the wire for adScreenshotType.
*/
@java.lang.Override
public int getAdScreenshotTypeValue() {
return adScreenshotType_;
}
/**
* <code>.com.newsbreak.monetization.common.ImageType ad_screenshot_type = 11;</code>
* @return The adScreenshotType.
*/
@java.lang.Override
public com.particles.mes.protos.ImageType getAdScreenshotType() {
com.particles.mes.protos.ImageType result = com.particles.mes.protos.ImageType.forNumber(adScreenshotType_);
return result == null ? com.particles.mes.protos.ImageType.UNRECOGNIZED : result;
}
/**
* <code>.com.newsbreak.monetization.common.ImageType ad_screenshot_type = 11;</code>
* @param value The enum numeric value on the wire for adScreenshotType to set.
*/
private void setAdScreenshotTypeValue(int value) {
adScreenshotType_ = value;
}
/**
* <code>.com.newsbreak.monetization.common.ImageType ad_screenshot_type = 11;</code>
* @param value The adScreenshotType to set.
*/
private void setAdScreenshotType(com.particles.mes.protos.ImageType value) {
adScreenshotType_ = value.getNumber();
}
/**
* <code>.com.newsbreak.monetization.common.ImageType ad_screenshot_type = 11;</code>
*/
private void clearAdScreenshotType() {
adScreenshotType_ = 0;
}
public static final int ADSET_ID_FIELD_NUMBER = 12;
private java.lang.String adsetId_;
/**
* <code>string adset_id = 12;</code>
* @return The adsetId.
*/
@java.lang.Override
public java.lang.String getAdsetId() {
return adsetId_;
}
/**
* <code>string adset_id = 12;</code>
* @return The bytes for adsetId.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getAdsetIdBytes() {
return com.google.protobuf.ByteString.copyFromUtf8(adsetId_);
}
/**
* <code>string adset_id = 12;</code>
* @param value The adsetId to set.
*/
private void setAdsetId(
java.lang.String value) {
java.lang.Class<?> valueClass = value.getClass();
adsetId_ = value;
}
/**
* <code>string adset_id = 12;</code>
*/
private void clearAdsetId() {
adsetId_ = getDefaultInstance().getAdsetId();
}
/**
* <code>string adset_id = 12;</code>
* @param value The bytes for adsetId to set.
*/
private void setAdsetIdBytes(
com.google.protobuf.ByteString value) {
checkByteStringIsUtf8(value);
adsetId_ = value.toStringUtf8();
}
public static com.particles.mes.protos.Ad parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, data);
}
public static com.particles.mes.protos.Ad parseFrom(
java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, data, extensionRegistry);
}
public static com.particles.mes.protos.Ad parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, data);
}
public static com.particles.mes.protos.Ad parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, data, extensionRegistry);
}
public static com.particles.mes.protos.Ad parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, data);
}
public static com.particles.mes.protos.Ad parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, data, extensionRegistry);
}
public static com.particles.mes.protos.Ad parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, input);
}
public static com.particles.mes.protos.Ad parseFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, input, extensionRegistry);
}
public static com.particles.mes.protos.Ad parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return parseDelimitedFrom(DEFAULT_INSTANCE, input);
}
public static com.particles.mes.protos.Ad parseDelimitedFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return parseDelimitedFrom(DEFAULT_INSTANCE, input, extensionRegistry);
}
public static com.particles.mes.protos.Ad parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, input);
}
public static com.particles.mes.protos.Ad parseFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, input, extensionRegistry);
}
public static Builder newBuilder() {
return (Builder) DEFAULT_INSTANCE.createBuilder();
}
public static Builder newBuilder(com.particles.mes.protos.Ad prototype) {
return (Builder) DEFAULT_INSTANCE.createBuilder(prototype);
}
/**
* Protobuf type {@code com.newsbreak.monetization.common.Ad}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageLite.Builder<
com.particles.mes.protos.Ad, Builder> implements
// @@protoc_insertion_point(builder_implements:com.newsbreak.monetization.common.Ad)
com.particles.mes.protos.AdOrBuilder {
// Construct using com.particles.mes.protos.Ad.newBuilder()
private Builder() {
super(DEFAULT_INSTANCE);
}
/**
* <pre>
* timestamp when bid is received
* </pre>
*
* <code>uint64 ts_ms = 1;</code>
* @return The tsMs.
*/
@java.lang.Override
public long getTsMs() {
return instance.getTsMs();
}
/**
* <pre>
* timestamp when bid is received
* </pre>
*
* <code>uint64 ts_ms = 1;</code>
* @param value The tsMs to set.
* @return This builder for chaining.
*/
public Builder setTsMs(long value) {
copyOnWrite();
instance.setTsMs(value);
return this;
}
/**
* <pre>
* timestamp when bid is received
* </pre>
*
* <code>uint64 ts_ms = 1;</code>
* @return This builder for chaining.
*/
public Builder clearTsMs() {
copyOnWrite();
instance.clearTsMs();
return this;
}
/**
* <code>.com.google.openrtb.BidResponse.SeatBid seat_bid = 2;</code>
*/
@java.lang.Override
public boolean hasSeatBid() {
return instance.hasSeatBid();
}
/**
* <code>.com.google.openrtb.BidResponse.SeatBid seat_bid = 2;</code>
*/
@java.lang.Override
public com.particles.mes.protos.openrtb.BidResponse.SeatBid getSeatBid() {
return instance.getSeatBid();
}
/**
* <code>.com.google.openrtb.BidResponse.SeatBid seat_bid = 2;</code>
*/
public Builder setSeatBid(com.particles.mes.protos.openrtb.BidResponse.SeatBid value) {
copyOnWrite();
instance.setSeatBid(value);
return this;
}
/**
* <code>.com.google.openrtb.BidResponse.SeatBid seat_bid = 2;</code>
*/
public Builder setSeatBid(
com.particles.mes.protos.openrtb.BidResponse.SeatBid.Builder builderForValue) {
copyOnWrite();
instance.setSeatBid(builderForValue.build());
return this;
}
/**
* <code>.com.google.openrtb.BidResponse.SeatBid seat_bid = 2;</code>
*/
public Builder mergeSeatBid(com.particles.mes.protos.openrtb.BidResponse.SeatBid value) {
copyOnWrite();
instance.mergeSeatBid(value);
return this;
}
/**
* <code>.com.google.openrtb.BidResponse.SeatBid seat_bid = 2;</code>
*/
public Builder clearSeatBid() { copyOnWrite();
instance.clearSeatBid();
return this;
}
/**
* <code>string title = 3;</code>
* @return The title.
*/
@java.lang.Override
public java.lang.String getTitle() {
return instance.getTitle();
}
/**
* <code>string title = 3;</code>
* @return The bytes for title.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getTitleBytes() {
return instance.getTitleBytes();
}
/**
* <code>string title = 3;</code>
* @param value The title to set.
* @return This builder for chaining.
*/
public Builder setTitle(
java.lang.String value) {
copyOnWrite();
instance.setTitle(value);
return this;
}
/**
* <code>string title = 3;</code>
* @return This builder for chaining.
*/
public Builder clearTitle() {
copyOnWrite();
instance.clearTitle();
return this;
}
/**
* <code>string title = 3;</code>
* @param value The bytes for title to set.
* @return This builder for chaining.
*/
public Builder setTitleBytes(
com.google.protobuf.ByteString value) {
copyOnWrite();
instance.setTitleBytes(value);
return this;
}
/**
* <code>string body = 4;</code>
* @return The body.
*/
@java.lang.Override
public java.lang.String getBody() {
return instance.getBody();
}
/**
* <code>string body = 4;</code>
* @return The bytes for body.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getBodyBytes() {
return instance.getBodyBytes();
}
/**
* <code>string body = 4;</code>
* @param value The body to set.
* @return This builder for chaining.
*/
public Builder setBody(
java.lang.String value) {
copyOnWrite();
instance.setBody(value);
return this;
}
/**
* <code>string body = 4;</code>
* @return This builder for chaining.
*/
public Builder clearBody() {
copyOnWrite();
instance.clearBody();
return this;
}
/**
* <code>string body = 4;</code>
* @param value The bytes for body to set.
* @return This builder for chaining.
*/
public Builder setBodyBytes(
com.google.protobuf.ByteString value) {
copyOnWrite();
instance.setBodyBytes(value);
return this;
}
/**
* <code>.com.newsbreak.monetization.common.AdType type = 5;</code>
* @return The enum numeric value on the wire for type.
*/
@java.lang.Override
public int getTypeValue() {
return instance.getTypeValue();
}
/**
* <code>.com.newsbreak.monetization.common.AdType type = 5;</code>
* @param value The type to set.
* @return This builder for chaining.
*/
public Builder setTypeValue(int value) {
copyOnWrite();
instance.setTypeValue(value);
return this;
}
/**
* <code>.com.newsbreak.monetization.common.AdType type = 5;</code>
* @return The type.
*/
@java.lang.Override
public com.particles.mes.protos.AdType getType() {
return instance.getType();
}
/**
* <code>.com.newsbreak.monetization.common.AdType type = 5;</code>
* @param value The enum numeric value on the wire for type to set.
* @return This builder for chaining.
*/
public Builder setType(com.particles.mes.protos.AdType value) {
copyOnWrite();
instance.setType(value);
return this;
}
/**
* <code>.com.newsbreak.monetization.common.AdType type = 5;</code>
* @return This builder for chaining.
*/
public Builder clearType() {
copyOnWrite();
instance.clearType();
return this;
}
/**
* <code>string advertiser = 6;</code>
* @return The advertiser.
*/
@java.lang.Override
public java.lang.String getAdvertiser() {
return instance.getAdvertiser();
}
/**
* <code>string advertiser = 6;</code>
* @return The bytes for advertiser.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getAdvertiserBytes() {
return instance.getAdvertiserBytes();
}
/**
* <code>string advertiser = 6;</code>
* @param value The advertiser to set.
* @return This builder for chaining.
*/
public Builder setAdvertiser(
java.lang.String value) {
copyOnWrite();
instance.setAdvertiser(value);
return this;
}
/**
* <code>string advertiser = 6;</code>
* @return This builder for chaining.
*/
public Builder clearAdvertiser() {
copyOnWrite();
instance.clearAdvertiser();
return this;
}
/**
* <code>string advertiser = 6;</code>
* @param value The bytes for advertiser to set.
* @return This builder for chaining.
*/
public Builder setAdvertiserBytes(
com.google.protobuf.ByteString value) {
copyOnWrite();
instance.setAdvertiserBytes(value);
return this;
}
/**
* <code>bytes full_screenshot = 7;</code>
* @return The fullScreenshot.
*/
@java.lang.Override
public com.google.protobuf.ByteString getFullScreenshot() {
return instance.getFullScreenshot();
}
/**
* <code>bytes full_screenshot = 7;</code>
* @param value The fullScreenshot to set.
* @return This builder for chaining.
*/
public Builder setFullScreenshot(com.google.protobuf.ByteString value) {
copyOnWrite();
instance.setFullScreenshot(value);
return this;
}
/**
* <code>bytes full_screenshot = 7;</code>
* @return This builder for chaining.
*/
public Builder clearFullScreenshot() {
copyOnWrite();
instance.clearFullScreenshot();
return this;
}
/**
* <code>bytes ad_screenshot = 8;</code>
* @return The adScreenshot.
*/
@java.lang.Override
public com.google.protobuf.ByteString getAdScreenshot() {
return instance.getAdScreenshot();
}
/**
* <code>bytes ad_screenshot = 8;</code>
* @param value The adScreenshot to set.
* @return This builder for chaining.
*/
public Builder setAdScreenshot(com.google.protobuf.ByteString value) {
copyOnWrite();
instance.setAdScreenshot(value);
return this;
}
/**
* <code>bytes ad_screenshot = 8;</code>
* @return This builder for chaining.
*/
public Builder clearAdScreenshot() {
copyOnWrite();
instance.clearAdScreenshot();
return this;
}
/**
* <code>string key = 9;</code>
* @return The key.
*/
@java.lang.Override
public java.lang.String getKey() {
return instance.getKey();
}
/**
* <code>string key = 9;</code>
* @return The bytes for key.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getKeyBytes() {
return instance.getKeyBytes();
}
/**
* <code>string key = 9;</code>
* @param value The key to set.
* @return This builder for chaining.
*/
public Builder setKey(
java.lang.String value) {
copyOnWrite();
instance.setKey(value);
return this;
}
/**
* <code>string key = 9;</code>
* @return This builder for chaining.
*/
public Builder clearKey() {
copyOnWrite();
instance.clearKey();
return this;
}
/**
* <code>string key = 9;</code>
* @param value The bytes for key to set.
* @return This builder for chaining.
*/
public Builder setKeyBytes(
com.google.protobuf.ByteString value) {
copyOnWrite();
instance.setKeyBytes(value);
return this;
}
/**
* <code>.com.newsbreak.monetization.common.ImageType full_screenshot_type = 10;</code>
* @return The enum numeric value on the wire for fullScreenshotType.
*/
@java.lang.Override
public int getFullScreenshotTypeValue() {
return instance.getFullScreenshotTypeValue();
}
/**
* <code>.com.newsbreak.monetization.common.ImageType full_screenshot_type = 10;</code>
* @param value The fullScreenshotType to set.
* @return This builder for chaining.
*/
public Builder setFullScreenshotTypeValue(int value) {
copyOnWrite();
instance.setFullScreenshotTypeValue(value);
return this;
}
/**
* <code>.com.newsbreak.monetization.common.ImageType full_screenshot_type = 10;</code>
* @return The fullScreenshotType.
*/
@java.lang.Override
public com.particles.mes.protos.ImageType getFullScreenshotType() {
return instance.getFullScreenshotType();
}
/**
* <code>.com.newsbreak.monetization.common.ImageType full_screenshot_type = 10;</code>
* @param value The enum numeric value on the wire for fullScreenshotType to set.
* @return This builder for chaining.
*/
public Builder setFullScreenshotType(com.particles.mes.protos.ImageType value) {
copyOnWrite();
instance.setFullScreenshotType(value);
return this;
}
/**
* <code>.com.newsbreak.monetization.common.ImageType full_screenshot_type = 10;</code>
* @return This builder for chaining.
*/
public Builder clearFullScreenshotType() {
copyOnWrite();
instance.clearFullScreenshotType();
return this;
}
/**
* <code>.com.newsbreak.monetization.common.ImageType ad_screenshot_type = 11;</code>
* @return The enum numeric value on the wire for adScreenshotType.
*/
@java.lang.Override
public int getAdScreenshotTypeValue() {
return instance.getAdScreenshotTypeValue();
}
/**
* <code>.com.newsbreak.monetization.common.ImageType ad_screenshot_type = 11;</code>
* @param value The adScreenshotType to set.
* @return This builder for chaining.
*/
public Builder setAdScreenshotTypeValue(int value) {
copyOnWrite();
instance.setAdScreenshotTypeValue(value);
return this;
}
/**
* <code>.com.newsbreak.monetization.common.ImageType ad_screenshot_type = 11;</code>
* @return The adScreenshotType.
*/
@java.lang.Override
public com.particles.mes.protos.ImageType getAdScreenshotType() {
return instance.getAdScreenshotType();
}
/**
* <code>.com.newsbreak.monetization.common.ImageType ad_screenshot_type = 11;</code>
* @param value The enum numeric value on the wire for adScreenshotType to set.
* @return This builder for chaining.
*/
public Builder setAdScreenshotType(com.particles.mes.protos.ImageType value) {
copyOnWrite();
instance.setAdScreenshotType(value);
return this;
}
/**
* <code>.com.newsbreak.monetization.common.ImageType ad_screenshot_type = 11;</code>
* @return This builder for chaining.
*/
public Builder clearAdScreenshotType() {
copyOnWrite();
instance.clearAdScreenshotType();
return this;
}
/**
* <code>string adset_id = 12;</code>
* @return The adsetId.
*/
@java.lang.Override
public java.lang.String getAdsetId() {
return instance.getAdsetId();
}
/**
* <code>string adset_id = 12;</code>
* @return The bytes for adsetId.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getAdsetIdBytes() {
return instance.getAdsetIdBytes();
}
/**
* <code>string adset_id = 12;</code>
* @param value The adsetId to set.
* @return This builder for chaining.
*/
public Builder setAdsetId(
java.lang.String value) {
copyOnWrite();
instance.setAdsetId(value);
return this;
}
/**
* <code>string adset_id = 12;</code>
* @return This builder for chaining.
*/
public Builder clearAdsetId() {
copyOnWrite();
instance.clearAdsetId();
return this;
}
/**
* <code>string adset_id = 12;</code>
* @param value The bytes for adsetId to set.
* @return This builder for chaining.
*/
public Builder setAdsetIdBytes(
com.google.protobuf.ByteString value) {
copyOnWrite();
instance.setAdsetIdBytes(value);
return this;
}
// @@protoc_insertion_point(builder_scope:com.newsbreak.monetization.common.Ad)
}
private byte memoizedIsInitialized = 2;
@java.lang.Override
@java.lang.SuppressWarnings({"unchecked", "fallthrough"})
protected final java.lang.Object dynamicMethod(
com.google.protobuf.GeneratedMessageLite.MethodToInvoke method,
java.lang.Object arg0, java.lang.Object arg1) {
switch (method) {
case NEW_MUTABLE_INSTANCE: {
return new com.particles.mes.protos.Ad();
}
case NEW_BUILDER: {
return new Builder();
}
case BUILD_MESSAGE_INFO: {
java.lang.Object[] objects = new java.lang.Object[] {
"tsMs_",
"seatBid_",
"title_",
"body_",
"type_",
"advertiser_",
"fullScreenshot_",
"adScreenshot_",
"key_",
"fullScreenshotType_",
"adScreenshotType_",
"adsetId_",
};
java.lang.String info =
"\u0000\f\u0000\u0000\u0001\f\f\u0000\u0000\u0001\u0001\u0003\u0002\u0409\u0003\u0208" +
"\u0004\u0208\u0005\f\u0006\u0208\u0007\n\b\n\t\u0208\n\f\u000b\f\f\u0208";
return newMessageInfo(DEFAULT_INSTANCE, info, objects);
}
// fall through
case GET_DEFAULT_INSTANCE: {
return DEFAULT_INSTANCE;
}
case GET_PARSER: {
com.google.protobuf.Parser<com.particles.mes.protos.Ad> parser = PARSER;
if (parser == null) {
synchronized (com.particles.mes.protos.Ad.class) {
parser = PARSER;
if (parser == null) {
parser =
new DefaultInstanceBasedParser<com.particles.mes.protos.Ad>(
DEFAULT_INSTANCE);
PARSER = parser;
}
}
}
return parser;
}
case GET_MEMOIZED_IS_INITIALIZED: {
return memoizedIsInitialized;
}
case SET_MEMOIZED_IS_INITIALIZED: {
memoizedIsInitialized = (byte) (arg0 == null ? 0 : 1);
return null;
}
}
throw new UnsupportedOperationException();
}
// @@protoc_insertion_point(class_scope:com.newsbreak.monetization.common.Ad)
private static final com.particles.mes.protos.Ad DEFAULT_INSTANCE;
static {
Ad defaultInstance = new Ad();
// New instances are implicitly immutable so no need to make
// immutable.
DEFAULT_INSTANCE = defaultInstance;
com.google.protobuf.GeneratedMessageLite.registerDefaultInstance(
Ad.class, defaultInstance);
}
public static com.particles.mes.protos.Ad getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static volatile com.google.protobuf.Parser<Ad> PARSER;
public static com.google.protobuf.Parser<Ad> parser() {
return DEFAULT_INSTANCE.getParserForType();
}
}
|
0 | java-sources/ai/themsp/mes-android-sdk/0.15.0/main/com/particles/mes | java-sources/ai/themsp/mes-android-sdk/0.15.0/main/com/particles/mes/protos/AdClickEvent.java | // Generated by the protocol buffer compiler. DO NOT EDIT!
// source: mes_events/ad_click.proto
package com.particles.mes.protos;
/**
* Protobuf type {@code com.newsbreak.mes.events.AdClickEvent}
*/
public final class AdClickEvent extends
com.google.protobuf.GeneratedMessageLite<
AdClickEvent, AdClickEvent.Builder> implements
// @@protoc_insertion_point(message_implements:com.newsbreak.mes.events.AdClickEvent)
AdClickEventOrBuilder {
private AdClickEvent() {
org_ = "";
app_ = "";
mspSdkVersion_ = "";
}
public static final int TS_MS_FIELD_NUMBER = 1;
private long tsMs_;
/**
* <code>uint64 ts_ms = 1;</code>
* @return The tsMs.
*/
@java.lang.Override
public long getTsMs() {
return tsMs_;
}
/**
* <code>uint64 ts_ms = 1;</code>
* @param value The tsMs to set.
*/
private void setTsMs(long value) {
tsMs_ = value;
}
/**
* <code>uint64 ts_ms = 1;</code>
*/
private void clearTsMs() {
tsMs_ = 0L;
}
public static final int REQUEST_CONTEXT_FIELD_NUMBER = 2;
private com.particles.mes.protos.RequestContext requestContext_;
/**
* <code>.com.newsbreak.monetization.common.RequestContext request_context = 2;</code>
*/
@java.lang.Override
public boolean hasRequestContext() {
return requestContext_ != null;
}
/**
* <code>.com.newsbreak.monetization.common.RequestContext request_context = 2;</code>
*/
@java.lang.Override
public com.particles.mes.protos.RequestContext getRequestContext() {
return requestContext_ == null ? com.particles.mes.protos.RequestContext.getDefaultInstance() : requestContext_;
}
/**
* <code>.com.newsbreak.monetization.common.RequestContext request_context = 2;</code>
*/
private void setRequestContext(com.particles.mes.protos.RequestContext value) {
value.getClass();
requestContext_ = value;
}
/**
* <code>.com.newsbreak.monetization.common.RequestContext request_context = 2;</code>
*/
@java.lang.SuppressWarnings({"ReferenceEquality"})
private void mergeRequestContext(com.particles.mes.protos.RequestContext value) {
value.getClass();
if (requestContext_ != null &&
requestContext_ != com.particles.mes.protos.RequestContext.getDefaultInstance()) {
requestContext_ =
com.particles.mes.protos.RequestContext.newBuilder(requestContext_).mergeFrom(value).buildPartial();
} else {
requestContext_ = value;
}
}
/**
* <code>.com.newsbreak.monetization.common.RequestContext request_context = 2;</code>
*/
private void clearRequestContext() { requestContext_ = null;
}
public static final int AD_FIELD_NUMBER = 3;
private com.particles.mes.protos.Ad ad_;
/**
* <code>.com.newsbreak.monetization.common.Ad ad = 3;</code>
*/
@java.lang.Override
public boolean hasAd() {
return ad_ != null;
}
/**
* <code>.com.newsbreak.monetization.common.Ad ad = 3;</code>
*/
@java.lang.Override
public com.particles.mes.protos.Ad getAd() {
return ad_ == null ? com.particles.mes.protos.Ad.getDefaultInstance() : ad_;
}
/**
* <code>.com.newsbreak.monetization.common.Ad ad = 3;</code>
*/
private void setAd(com.particles.mes.protos.Ad value) {
value.getClass();
ad_ = value;
}
/**
* <code>.com.newsbreak.monetization.common.Ad ad = 3;</code>
*/
@java.lang.SuppressWarnings({"ReferenceEquality"})
private void mergeAd(com.particles.mes.protos.Ad value) {
value.getClass();
if (ad_ != null &&
ad_ != com.particles.mes.protos.Ad.getDefaultInstance()) {
ad_ =
com.particles.mes.protos.Ad.newBuilder(ad_).mergeFrom(value).buildPartial();
} else {
ad_ = value;
}
}
/**
* <code>.com.newsbreak.monetization.common.Ad ad = 3;</code>
*/
private void clearAd() { ad_ = null;
}
public static final int OS_FIELD_NUMBER = 4;
private int os_;
/**
* <code>.com.newsbreak.monetization.common.OsType os = 4;</code>
* @return The enum numeric value on the wire for os.
*/
@java.lang.Override
public int getOsValue() {
return os_;
}
/**
* <code>.com.newsbreak.monetization.common.OsType os = 4;</code>
* @return The os.
*/
@java.lang.Override
public com.particles.mes.protos.OsType getOs() {
com.particles.mes.protos.OsType result = com.particles.mes.protos.OsType.forNumber(os_);
return result == null ? com.particles.mes.protos.OsType.UNRECOGNIZED : result;
}
/**
* <code>.com.newsbreak.monetization.common.OsType os = 4;</code>
* @param value The enum numeric value on the wire for os to set.
*/
private void setOsValue(int value) {
os_ = value;
}
/**
* <code>.com.newsbreak.monetization.common.OsType os = 4;</code>
* @param value The os to set.
*/
private void setOs(com.particles.mes.protos.OsType value) {
os_ = value.getNumber();
}
/**
* <code>.com.newsbreak.monetization.common.OsType os = 4;</code>
*/
private void clearOs() {
os_ = 0;
}
public static final int ORG_FIELD_NUMBER = 5;
private java.lang.String org_;
/**
* <code>string org = 5;</code>
* @return The org.
*/
@java.lang.Override
public java.lang.String getOrg() {
return org_;
}
/**
* <code>string org = 5;</code>
* @return The bytes for org.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getOrgBytes() {
return com.google.protobuf.ByteString.copyFromUtf8(org_);
}
/**
* <code>string org = 5;</code>
* @param value The org to set.
*/
private void setOrg(
java.lang.String value) {
java.lang.Class<?> valueClass = value.getClass();
org_ = value;
}
/**
* <code>string org = 5;</code>
*/
private void clearOrg() {
org_ = getDefaultInstance().getOrg();
}
/**
* <code>string org = 5;</code>
* @param value The bytes for org to set.
*/
private void setOrgBytes(
com.google.protobuf.ByteString value) {
checkByteStringIsUtf8(value);
org_ = value.toStringUtf8();
}
public static final int APP_FIELD_NUMBER = 6;
private java.lang.String app_;
/**
* <code>string app = 6;</code>
* @return The app.
*/
@java.lang.Override
public java.lang.String getApp() {
return app_;
}
/**
* <code>string app = 6;</code>
* @return The bytes for app.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getAppBytes() {
return com.google.protobuf.ByteString.copyFromUtf8(app_);
}
/**
* <code>string app = 6;</code>
* @param value The app to set.
*/
private void setApp(
java.lang.String value) {
java.lang.Class<?> valueClass = value.getClass();
app_ = value;
}
/**
* <code>string app = 6;</code>
*/
private void clearApp() {
app_ = getDefaultInstance().getApp();
}
/**
* <code>string app = 6;</code>
* @param value The bytes for app to set.
*/
private void setAppBytes(
com.google.protobuf.ByteString value) {
checkByteStringIsUtf8(value);
app_ = value.toStringUtf8();
}
public static final int MSP_SDK_VERSION_FIELD_NUMBER = 7;
private java.lang.String mspSdkVersion_;
/**
* <code>string msp_sdk_version = 7;</code>
* @return The mspSdkVersion.
*/
@java.lang.Override
public java.lang.String getMspSdkVersion() {
return mspSdkVersion_;
}
/**
* <code>string msp_sdk_version = 7;</code>
* @return The bytes for mspSdkVersion.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getMspSdkVersionBytes() {
return com.google.protobuf.ByteString.copyFromUtf8(mspSdkVersion_);
}
/**
* <code>string msp_sdk_version = 7;</code>
* @param value The mspSdkVersion to set.
*/
private void setMspSdkVersion(
java.lang.String value) {
java.lang.Class<?> valueClass = value.getClass();
mspSdkVersion_ = value;
}
/**
* <code>string msp_sdk_version = 7;</code>
*/
private void clearMspSdkVersion() {
mspSdkVersion_ = getDefaultInstance().getMspSdkVersion();
}
/**
* <code>string msp_sdk_version = 7;</code>
* @param value The bytes for mspSdkVersion to set.
*/
private void setMspSdkVersionBytes(
com.google.protobuf.ByteString value) {
checkByteStringIsUtf8(value);
mspSdkVersion_ = value.toStringUtf8();
}
public static com.particles.mes.protos.AdClickEvent parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, data);
}
public static com.particles.mes.protos.AdClickEvent parseFrom(
java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, data, extensionRegistry);
}
public static com.particles.mes.protos.AdClickEvent parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, data);
}
public static com.particles.mes.protos.AdClickEvent parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, data, extensionRegistry);
}
public static com.particles.mes.protos.AdClickEvent parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, data);
}
public static com.particles.mes.protos.AdClickEvent parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, data, extensionRegistry);
}
public static com.particles.mes.protos.AdClickEvent parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, input);
}
public static com.particles.mes.protos.AdClickEvent parseFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, input, extensionRegistry);
}
public static com.particles.mes.protos.AdClickEvent parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return parseDelimitedFrom(DEFAULT_INSTANCE, input);
}
public static com.particles.mes.protos.AdClickEvent parseDelimitedFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return parseDelimitedFrom(DEFAULT_INSTANCE, input, extensionRegistry);
}
public static com.particles.mes.protos.AdClickEvent parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, input);
}
public static com.particles.mes.protos.AdClickEvent parseFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, input, extensionRegistry);
}
public static Builder newBuilder() {
return (Builder) DEFAULT_INSTANCE.createBuilder();
}
public static Builder newBuilder(com.particles.mes.protos.AdClickEvent prototype) {
return (Builder) DEFAULT_INSTANCE.createBuilder(prototype);
}
/**
* Protobuf type {@code com.newsbreak.mes.events.AdClickEvent}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageLite.Builder<
com.particles.mes.protos.AdClickEvent, Builder> implements
// @@protoc_insertion_point(builder_implements:com.newsbreak.mes.events.AdClickEvent)
com.particles.mes.protos.AdClickEventOrBuilder {
// Construct using com.particles.mes.protos.AdClickEvent.newBuilder()
private Builder() {
super(DEFAULT_INSTANCE);
}
/**
* <code>uint64 ts_ms = 1;</code>
* @return The tsMs.
*/
@java.lang.Override
public long getTsMs() {
return instance.getTsMs();
}
/**
* <code>uint64 ts_ms = 1;</code>
* @param value The tsMs to set.
* @return This builder for chaining.
*/
public Builder setTsMs(long value) {
copyOnWrite();
instance.setTsMs(value);
return this;
}
/**
* <code>uint64 ts_ms = 1;</code>
* @return This builder for chaining.
*/
public Builder clearTsMs() {
copyOnWrite();
instance.clearTsMs();
return this;
}
/**
* <code>.com.newsbreak.monetization.common.RequestContext request_context = 2;</code>
*/
@java.lang.Override
public boolean hasRequestContext() {
return instance.hasRequestContext();
}
/**
* <code>.com.newsbreak.monetization.common.RequestContext request_context = 2;</code>
*/
@java.lang.Override
public com.particles.mes.protos.RequestContext getRequestContext() {
return instance.getRequestContext();
}
/**
* <code>.com.newsbreak.monetization.common.RequestContext request_context = 2;</code>
*/
public Builder setRequestContext(com.particles.mes.protos.RequestContext value) {
copyOnWrite();
instance.setRequestContext(value);
return this;
}
/**
* <code>.com.newsbreak.monetization.common.RequestContext request_context = 2;</code>
*/
public Builder setRequestContext(
com.particles.mes.protos.RequestContext.Builder builderForValue) {
copyOnWrite();
instance.setRequestContext(builderForValue.build());
return this;
}
/**
* <code>.com.newsbreak.monetization.common.RequestContext request_context = 2;</code>
*/
public Builder mergeRequestContext(com.particles.mes.protos.RequestContext value) {
copyOnWrite();
instance.mergeRequestContext(value);
return this;
}
/**
* <code>.com.newsbreak.monetization.common.RequestContext request_context = 2;</code>
*/
public Builder clearRequestContext() { copyOnWrite();
instance.clearRequestContext();
return this;
}
/**
* <code>.com.newsbreak.monetization.common.Ad ad = 3;</code>
*/
@java.lang.Override
public boolean hasAd() {
return instance.hasAd();
}
/**
* <code>.com.newsbreak.monetization.common.Ad ad = 3;</code>
*/
@java.lang.Override
public com.particles.mes.protos.Ad getAd() {
return instance.getAd();
}
/**
* <code>.com.newsbreak.monetization.common.Ad ad = 3;</code>
*/
public Builder setAd(com.particles.mes.protos.Ad value) {
copyOnWrite();
instance.setAd(value);
return this;
}
/**
* <code>.com.newsbreak.monetization.common.Ad ad = 3;</code>
*/
public Builder setAd(
com.particles.mes.protos.Ad.Builder builderForValue) {
copyOnWrite();
instance.setAd(builderForValue.build());
return this;
}
/**
* <code>.com.newsbreak.monetization.common.Ad ad = 3;</code>
*/
public Builder mergeAd(com.particles.mes.protos.Ad value) {
copyOnWrite();
instance.mergeAd(value);
return this;
}
/**
* <code>.com.newsbreak.monetization.common.Ad ad = 3;</code>
*/
public Builder clearAd() { copyOnWrite();
instance.clearAd();
return this;
}
/**
* <code>.com.newsbreak.monetization.common.OsType os = 4;</code>
* @return The enum numeric value on the wire for os.
*/
@java.lang.Override
public int getOsValue() {
return instance.getOsValue();
}
/**
* <code>.com.newsbreak.monetization.common.OsType os = 4;</code>
* @param value The os to set.
* @return This builder for chaining.
*/
public Builder setOsValue(int value) {
copyOnWrite();
instance.setOsValue(value);
return this;
}
/**
* <code>.com.newsbreak.monetization.common.OsType os = 4;</code>
* @return The os.
*/
@java.lang.Override
public com.particles.mes.protos.OsType getOs() {
return instance.getOs();
}
/**
* <code>.com.newsbreak.monetization.common.OsType os = 4;</code>
* @param value The enum numeric value on the wire for os to set.
* @return This builder for chaining.
*/
public Builder setOs(com.particles.mes.protos.OsType value) {
copyOnWrite();
instance.setOs(value);
return this;
}
/**
* <code>.com.newsbreak.monetization.common.OsType os = 4;</code>
* @return This builder for chaining.
*/
public Builder clearOs() {
copyOnWrite();
instance.clearOs();
return this;
}
/**
* <code>string org = 5;</code>
* @return The org.
*/
@java.lang.Override
public java.lang.String getOrg() {
return instance.getOrg();
}
/**
* <code>string org = 5;</code>
* @return The bytes for org.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getOrgBytes() {
return instance.getOrgBytes();
}
/**
* <code>string org = 5;</code>
* @param value The org to set.
* @return This builder for chaining.
*/
public Builder setOrg(
java.lang.String value) {
copyOnWrite();
instance.setOrg(value);
return this;
}
/**
* <code>string org = 5;</code>
* @return This builder for chaining.
*/
public Builder clearOrg() {
copyOnWrite();
instance.clearOrg();
return this;
}
/**
* <code>string org = 5;</code>
* @param value The bytes for org to set.
* @return This builder for chaining.
*/
public Builder setOrgBytes(
com.google.protobuf.ByteString value) {
copyOnWrite();
instance.setOrgBytes(value);
return this;
}
/**
* <code>string app = 6;</code>
* @return The app.
*/
@java.lang.Override
public java.lang.String getApp() {
return instance.getApp();
}
/**
* <code>string app = 6;</code>
* @return The bytes for app.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getAppBytes() {
return instance.getAppBytes();
}
/**
* <code>string app = 6;</code>
* @param value The app to set.
* @return This builder for chaining.
*/
public Builder setApp(
java.lang.String value) {
copyOnWrite();
instance.setApp(value);
return this;
}
/**
* <code>string app = 6;</code>
* @return This builder for chaining.
*/
public Builder clearApp() {
copyOnWrite();
instance.clearApp();
return this;
}
/**
* <code>string app = 6;</code>
* @param value The bytes for app to set.
* @return This builder for chaining.
*/
public Builder setAppBytes(
com.google.protobuf.ByteString value) {
copyOnWrite();
instance.setAppBytes(value);
return this;
}
/**
* <code>string msp_sdk_version = 7;</code>
* @return The mspSdkVersion.
*/
@java.lang.Override
public java.lang.String getMspSdkVersion() {
return instance.getMspSdkVersion();
}
/**
* <code>string msp_sdk_version = 7;</code>
* @return The bytes for mspSdkVersion.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getMspSdkVersionBytes() {
return instance.getMspSdkVersionBytes();
}
/**
* <code>string msp_sdk_version = 7;</code>
* @param value The mspSdkVersion to set.
* @return This builder for chaining.
*/
public Builder setMspSdkVersion(
java.lang.String value) {
copyOnWrite();
instance.setMspSdkVersion(value);
return this;
}
/**
* <code>string msp_sdk_version = 7;</code>
* @return This builder for chaining.
*/
public Builder clearMspSdkVersion() {
copyOnWrite();
instance.clearMspSdkVersion();
return this;
}
/**
* <code>string msp_sdk_version = 7;</code>
* @param value The bytes for mspSdkVersion to set.
* @return This builder for chaining.
*/
public Builder setMspSdkVersionBytes(
com.google.protobuf.ByteString value) {
copyOnWrite();
instance.setMspSdkVersionBytes(value);
return this;
}
// @@protoc_insertion_point(builder_scope:com.newsbreak.mes.events.AdClickEvent)
}
private byte memoizedIsInitialized = 2;
@java.lang.Override
@java.lang.SuppressWarnings({"unchecked", "fallthrough"})
protected final java.lang.Object dynamicMethod(
com.google.protobuf.GeneratedMessageLite.MethodToInvoke method,
java.lang.Object arg0, java.lang.Object arg1) {
switch (method) {
case NEW_MUTABLE_INSTANCE: {
return new com.particles.mes.protos.AdClickEvent();
}
case NEW_BUILDER: {
return new Builder();
}
case BUILD_MESSAGE_INFO: {
java.lang.Object[] objects = new java.lang.Object[] {
"tsMs_",
"requestContext_",
"ad_",
"os_",
"org_",
"app_",
"mspSdkVersion_",
};
java.lang.String info =
"\u0000\u0007\u0000\u0000\u0001\u0007\u0007\u0000\u0000\u0002\u0001\u0003\u0002\u0409" +
"\u0003\u0409\u0004\f\u0005\u0208\u0006\u0208\u0007\u0208";
return newMessageInfo(DEFAULT_INSTANCE, info, objects);
}
// fall through
case GET_DEFAULT_INSTANCE: {
return DEFAULT_INSTANCE;
}
case GET_PARSER: {
com.google.protobuf.Parser<com.particles.mes.protos.AdClickEvent> parser = PARSER;
if (parser == null) {
synchronized (com.particles.mes.protos.AdClickEvent.class) {
parser = PARSER;
if (parser == null) {
parser =
new DefaultInstanceBasedParser<com.particles.mes.protos.AdClickEvent>(
DEFAULT_INSTANCE);
PARSER = parser;
}
}
}
return parser;
}
case GET_MEMOIZED_IS_INITIALIZED: {
return memoizedIsInitialized;
}
case SET_MEMOIZED_IS_INITIALIZED: {
memoizedIsInitialized = (byte) (arg0 == null ? 0 : 1);
return null;
}
}
throw new UnsupportedOperationException();
}
// @@protoc_insertion_point(class_scope:com.newsbreak.mes.events.AdClickEvent)
private static final com.particles.mes.protos.AdClickEvent DEFAULT_INSTANCE;
static {
AdClickEvent defaultInstance = new AdClickEvent();
// New instances are implicitly immutable so no need to make
// immutable.
DEFAULT_INSTANCE = defaultInstance;
com.google.protobuf.GeneratedMessageLite.registerDefaultInstance(
AdClickEvent.class, defaultInstance);
}
public static com.particles.mes.protos.AdClickEvent getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static volatile com.google.protobuf.Parser<AdClickEvent> PARSER;
public static com.google.protobuf.Parser<AdClickEvent> parser() {
return DEFAULT_INSTANCE.getParserForType();
}
}
|
0 | java-sources/ai/themsp/mes-android-sdk/0.15.0/main/com/particles/mes | java-sources/ai/themsp/mes-android-sdk/0.15.0/main/com/particles/mes/protos/AdClickEventOrBuilder.java | // Generated by the protocol buffer compiler. DO NOT EDIT!
// source: mes_events/ad_click.proto
package com.particles.mes.protos;
public interface AdClickEventOrBuilder extends
// @@protoc_insertion_point(interface_extends:com.newsbreak.mes.events.AdClickEvent)
com.google.protobuf.MessageLiteOrBuilder {
/**
* <code>uint64 ts_ms = 1;</code>
* @return The tsMs.
*/
long getTsMs();
/**
* <code>.com.newsbreak.monetization.common.RequestContext request_context = 2;</code>
* @return Whether the requestContext field is set.
*/
boolean hasRequestContext();
/**
* <code>.com.newsbreak.monetization.common.RequestContext request_context = 2;</code>
* @return The requestContext.
*/
com.particles.mes.protos.RequestContext getRequestContext();
/**
* <code>.com.newsbreak.monetization.common.Ad ad = 3;</code>
* @return Whether the ad field is set.
*/
boolean hasAd();
/**
* <code>.com.newsbreak.monetization.common.Ad ad = 3;</code>
* @return The ad.
*/
com.particles.mes.protos.Ad getAd();
/**
* <code>.com.newsbreak.monetization.common.OsType os = 4;</code>
* @return The enum numeric value on the wire for os.
*/
int getOsValue();
/**
* <code>.com.newsbreak.monetization.common.OsType os = 4;</code>
* @return The os.
*/
com.particles.mes.protos.OsType getOs();
/**
* <code>string org = 5;</code>
* @return The org.
*/
java.lang.String getOrg();
/**
* <code>string org = 5;</code>
* @return The bytes for org.
*/
com.google.protobuf.ByteString
getOrgBytes();
/**
* <code>string app = 6;</code>
* @return The app.
*/
java.lang.String getApp();
/**
* <code>string app = 6;</code>
* @return The bytes for app.
*/
com.google.protobuf.ByteString
getAppBytes();
/**
* <code>string msp_sdk_version = 7;</code>
* @return The mspSdkVersion.
*/
java.lang.String getMspSdkVersion();
/**
* <code>string msp_sdk_version = 7;</code>
* @return The bytes for mspSdkVersion.
*/
com.google.protobuf.ByteString
getMspSdkVersionBytes();
}
|
0 | java-sources/ai/themsp/mes-android-sdk/0.15.0/main/com/particles/mes | java-sources/ai/themsp/mes-android-sdk/0.15.0/main/com/particles/mes/protos/AdClickEvents.java | // Generated by the protocol buffer compiler. DO NOT EDIT!
// source: mes_events/ad_click.proto
package com.particles.mes.protos;
public final class AdClickEvents {
private AdClickEvents() {}
public static void registerAllExtensions(
com.google.protobuf.ExtensionRegistryLite registry) {
}
static {
}
// @@protoc_insertion_point(outer_class_scope)
}
|
0 | java-sources/ai/themsp/mes-android-sdk/0.15.0/main/com/particles/mes | java-sources/ai/themsp/mes-android-sdk/0.15.0/main/com/particles/mes/protos/AdHideEvent.java | // Generated by the protocol buffer compiler. DO NOT EDIT!
// source: mes_events/ad_hide.proto
package com.particles.mes.protos;
/**
* <pre>
* Maps to the event that user hide an ad.
* </pre>
*
* Protobuf type {@code com.newsbreak.mes.events.AdHideEvent}
*/
public final class AdHideEvent extends
com.google.protobuf.GeneratedMessageLite<
AdHideEvent, AdHideEvent.Builder> implements
// @@protoc_insertion_point(message_implements:com.newsbreak.mes.events.AdHideEvent)
AdHideEventOrBuilder {
private AdHideEvent() {
reason_ = "";
org_ = "";
app_ = "";
mspSdkVersion_ = "";
}
public static final int TS_MS_FIELD_NUMBER = 1;
private long tsMs_;
/**
* <code>uint64 ts_ms = 1;</code>
* @return The tsMs.
*/
@java.lang.Override
public long getTsMs() {
return tsMs_;
}
/**
* <code>uint64 ts_ms = 1;</code>
* @param value The tsMs to set.
*/
private void setTsMs(long value) {
tsMs_ = value;
}
/**
* <code>uint64 ts_ms = 1;</code>
*/
private void clearTsMs() {
tsMs_ = 0L;
}
public static final int REQUEST_CONTEXT_FIELD_NUMBER = 2;
private com.particles.mes.protos.RequestContext requestContext_;
/**
* <code>.com.newsbreak.monetization.common.RequestContext request_context = 2;</code>
*/
@java.lang.Override
public boolean hasRequestContext() {
return requestContext_ != null;
}
/**
* <code>.com.newsbreak.monetization.common.RequestContext request_context = 2;</code>
*/
@java.lang.Override
public com.particles.mes.protos.RequestContext getRequestContext() {
return requestContext_ == null ? com.particles.mes.protos.RequestContext.getDefaultInstance() : requestContext_;
}
/**
* <code>.com.newsbreak.monetization.common.RequestContext request_context = 2;</code>
*/
private void setRequestContext(com.particles.mes.protos.RequestContext value) {
value.getClass();
requestContext_ = value;
}
/**
* <code>.com.newsbreak.monetization.common.RequestContext request_context = 2;</code>
*/
@java.lang.SuppressWarnings({"ReferenceEquality"})
private void mergeRequestContext(com.particles.mes.protos.RequestContext value) {
value.getClass();
if (requestContext_ != null &&
requestContext_ != com.particles.mes.protos.RequestContext.getDefaultInstance()) {
requestContext_ =
com.particles.mes.protos.RequestContext.newBuilder(requestContext_).mergeFrom(value).buildPartial();
} else {
requestContext_ = value;
}
}
/**
* <code>.com.newsbreak.monetization.common.RequestContext request_context = 2;</code>
*/
private void clearRequestContext() { requestContext_ = null;
}
public static final int AD_FIELD_NUMBER = 3;
private com.particles.mes.protos.Ad ad_;
/**
* <code>.com.newsbreak.monetization.common.Ad ad = 3;</code>
*/
@java.lang.Override
public boolean hasAd() {
return ad_ != null;
}
/**
* <code>.com.newsbreak.monetization.common.Ad ad = 3;</code>
*/
@java.lang.Override
public com.particles.mes.protos.Ad getAd() {
return ad_ == null ? com.particles.mes.protos.Ad.getDefaultInstance() : ad_;
}
/**
* <code>.com.newsbreak.monetization.common.Ad ad = 3;</code>
*/
private void setAd(com.particles.mes.protos.Ad value) {
value.getClass();
ad_ = value;
}
/**
* <code>.com.newsbreak.monetization.common.Ad ad = 3;</code>
*/
@java.lang.SuppressWarnings({"ReferenceEquality"})
private void mergeAd(com.particles.mes.protos.Ad value) {
value.getClass();
if (ad_ != null &&
ad_ != com.particles.mes.protos.Ad.getDefaultInstance()) {
ad_ =
com.particles.mes.protos.Ad.newBuilder(ad_).mergeFrom(value).buildPartial();
} else {
ad_ = value;
}
}
/**
* <code>.com.newsbreak.monetization.common.Ad ad = 3;</code>
*/
private void clearAd() { ad_ = null;
}
public static final int REASON_FIELD_NUMBER = 4;
private java.lang.String reason_;
/**
* <code>string reason = 4;</code>
* @return The reason.
*/
@java.lang.Override
public java.lang.String getReason() {
return reason_;
}
/**
* <code>string reason = 4;</code>
* @return The bytes for reason.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getReasonBytes() {
return com.google.protobuf.ByteString.copyFromUtf8(reason_);
}
/**
* <code>string reason = 4;</code>
* @param value The reason to set.
*/
private void setReason(
java.lang.String value) {
java.lang.Class<?> valueClass = value.getClass();
reason_ = value;
}
/**
* <code>string reason = 4;</code>
*/
private void clearReason() {
reason_ = getDefaultInstance().getReason();
}
/**
* <code>string reason = 4;</code>
* @param value The bytes for reason to set.
*/
private void setReasonBytes(
com.google.protobuf.ByteString value) {
checkByteStringIsUtf8(value);
reason_ = value.toStringUtf8();
}
public static final int OS_FIELD_NUMBER = 5;
private int os_;
/**
* <code>.com.newsbreak.monetization.common.OsType os = 5;</code>
* @return The enum numeric value on the wire for os.
*/
@java.lang.Override
public int getOsValue() {
return os_;
}
/**
* <code>.com.newsbreak.monetization.common.OsType os = 5;</code>
* @return The os.
*/
@java.lang.Override
public com.particles.mes.protos.OsType getOs() {
com.particles.mes.protos.OsType result = com.particles.mes.protos.OsType.forNumber(os_);
return result == null ? com.particles.mes.protos.OsType.UNRECOGNIZED : result;
}
/**
* <code>.com.newsbreak.monetization.common.OsType os = 5;</code>
* @param value The enum numeric value on the wire for os to set.
*/
private void setOsValue(int value) {
os_ = value;
}
/**
* <code>.com.newsbreak.monetization.common.OsType os = 5;</code>
* @param value The os to set.
*/
private void setOs(com.particles.mes.protos.OsType value) {
os_ = value.getNumber();
}
/**
* <code>.com.newsbreak.monetization.common.OsType os = 5;</code>
*/
private void clearOs() {
os_ = 0;
}
public static final int ORG_FIELD_NUMBER = 6;
private java.lang.String org_;
/**
* <code>string org = 6;</code>
* @return The org.
*/
@java.lang.Override
public java.lang.String getOrg() {
return org_;
}
/**
* <code>string org = 6;</code>
* @return The bytes for org.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getOrgBytes() {
return com.google.protobuf.ByteString.copyFromUtf8(org_);
}
/**
* <code>string org = 6;</code>
* @param value The org to set.
*/
private void setOrg(
java.lang.String value) {
java.lang.Class<?> valueClass = value.getClass();
org_ = value;
}
/**
* <code>string org = 6;</code>
*/
private void clearOrg() {
org_ = getDefaultInstance().getOrg();
}
/**
* <code>string org = 6;</code>
* @param value The bytes for org to set.
*/
private void setOrgBytes(
com.google.protobuf.ByteString value) {
checkByteStringIsUtf8(value);
org_ = value.toStringUtf8();
}
public static final int APP_FIELD_NUMBER = 7;
private java.lang.String app_;
/**
* <code>string app = 7;</code>
* @return The app.
*/
@java.lang.Override
public java.lang.String getApp() {
return app_;
}
/**
* <code>string app = 7;</code>
* @return The bytes for app.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getAppBytes() {
return com.google.protobuf.ByteString.copyFromUtf8(app_);
}
/**
* <code>string app = 7;</code>
* @param value The app to set.
*/
private void setApp(
java.lang.String value) {
java.lang.Class<?> valueClass = value.getClass();
app_ = value;
}
/**
* <code>string app = 7;</code>
*/
private void clearApp() {
app_ = getDefaultInstance().getApp();
}
/**
* <code>string app = 7;</code>
* @param value The bytes for app to set.
*/
private void setAppBytes(
com.google.protobuf.ByteString value) {
checkByteStringIsUtf8(value);
app_ = value.toStringUtf8();
}
public static final int MSP_SDK_VERSION_FIELD_NUMBER = 8;
private java.lang.String mspSdkVersion_;
/**
* <code>string msp_sdk_version = 8;</code>
* @return The mspSdkVersion.
*/
@java.lang.Override
public java.lang.String getMspSdkVersion() {
return mspSdkVersion_;
}
/**
* <code>string msp_sdk_version = 8;</code>
* @return The bytes for mspSdkVersion.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getMspSdkVersionBytes() {
return com.google.protobuf.ByteString.copyFromUtf8(mspSdkVersion_);
}
/**
* <code>string msp_sdk_version = 8;</code>
* @param value The mspSdkVersion to set.
*/
private void setMspSdkVersion(
java.lang.String value) {
java.lang.Class<?> valueClass = value.getClass();
mspSdkVersion_ = value;
}
/**
* <code>string msp_sdk_version = 8;</code>
*/
private void clearMspSdkVersion() {
mspSdkVersion_ = getDefaultInstance().getMspSdkVersion();
}
/**
* <code>string msp_sdk_version = 8;</code>
* @param value The bytes for mspSdkVersion to set.
*/
private void setMspSdkVersionBytes(
com.google.protobuf.ByteString value) {
checkByteStringIsUtf8(value);
mspSdkVersion_ = value.toStringUtf8();
}
public static com.particles.mes.protos.AdHideEvent parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, data);
}
public static com.particles.mes.protos.AdHideEvent parseFrom(
java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, data, extensionRegistry);
}
public static com.particles.mes.protos.AdHideEvent parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, data);
}
public static com.particles.mes.protos.AdHideEvent parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, data, extensionRegistry);
}
public static com.particles.mes.protos.AdHideEvent parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, data);
}
public static com.particles.mes.protos.AdHideEvent parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, data, extensionRegistry);
}
public static com.particles.mes.protos.AdHideEvent parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, input);
}
public static com.particles.mes.protos.AdHideEvent parseFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, input, extensionRegistry);
}
public static com.particles.mes.protos.AdHideEvent parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return parseDelimitedFrom(DEFAULT_INSTANCE, input);
}
public static com.particles.mes.protos.AdHideEvent parseDelimitedFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return parseDelimitedFrom(DEFAULT_INSTANCE, input, extensionRegistry);
}
public static com.particles.mes.protos.AdHideEvent parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, input);
}
public static com.particles.mes.protos.AdHideEvent parseFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, input, extensionRegistry);
}
public static Builder newBuilder() {
return (Builder) DEFAULT_INSTANCE.createBuilder();
}
public static Builder newBuilder(com.particles.mes.protos.AdHideEvent prototype) {
return (Builder) DEFAULT_INSTANCE.createBuilder(prototype);
}
/**
* <pre>
* Maps to the event that user hide an ad.
* </pre>
*
* Protobuf type {@code com.newsbreak.mes.events.AdHideEvent}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageLite.Builder<
com.particles.mes.protos.AdHideEvent, Builder> implements
// @@protoc_insertion_point(builder_implements:com.newsbreak.mes.events.AdHideEvent)
com.particles.mes.protos.AdHideEventOrBuilder {
// Construct using com.particles.mes.protos.AdHideEvent.newBuilder()
private Builder() {
super(DEFAULT_INSTANCE);
}
/**
* <code>uint64 ts_ms = 1;</code>
* @return The tsMs.
*/
@java.lang.Override
public long getTsMs() {
return instance.getTsMs();
}
/**
* <code>uint64 ts_ms = 1;</code>
* @param value The tsMs to set.
* @return This builder for chaining.
*/
public Builder setTsMs(long value) {
copyOnWrite();
instance.setTsMs(value);
return this;
}
/**
* <code>uint64 ts_ms = 1;</code>
* @return This builder for chaining.
*/
public Builder clearTsMs() {
copyOnWrite();
instance.clearTsMs();
return this;
}
/**
* <code>.com.newsbreak.monetization.common.RequestContext request_context = 2;</code>
*/
@java.lang.Override
public boolean hasRequestContext() {
return instance.hasRequestContext();
}
/**
* <code>.com.newsbreak.monetization.common.RequestContext request_context = 2;</code>
*/
@java.lang.Override
public com.particles.mes.protos.RequestContext getRequestContext() {
return instance.getRequestContext();
}
/**
* <code>.com.newsbreak.monetization.common.RequestContext request_context = 2;</code>
*/
public Builder setRequestContext(com.particles.mes.protos.RequestContext value) {
copyOnWrite();
instance.setRequestContext(value);
return this;
}
/**
* <code>.com.newsbreak.monetization.common.RequestContext request_context = 2;</code>
*/
public Builder setRequestContext(
com.particles.mes.protos.RequestContext.Builder builderForValue) {
copyOnWrite();
instance.setRequestContext(builderForValue.build());
return this;
}
/**
* <code>.com.newsbreak.monetization.common.RequestContext request_context = 2;</code>
*/
public Builder mergeRequestContext(com.particles.mes.protos.RequestContext value) {
copyOnWrite();
instance.mergeRequestContext(value);
return this;
}
/**
* <code>.com.newsbreak.monetization.common.RequestContext request_context = 2;</code>
*/
public Builder clearRequestContext() { copyOnWrite();
instance.clearRequestContext();
return this;
}
/**
* <code>.com.newsbreak.monetization.common.Ad ad = 3;</code>
*/
@java.lang.Override
public boolean hasAd() {
return instance.hasAd();
}
/**
* <code>.com.newsbreak.monetization.common.Ad ad = 3;</code>
*/
@java.lang.Override
public com.particles.mes.protos.Ad getAd() {
return instance.getAd();
}
/**
* <code>.com.newsbreak.monetization.common.Ad ad = 3;</code>
*/
public Builder setAd(com.particles.mes.protos.Ad value) {
copyOnWrite();
instance.setAd(value);
return this;
}
/**
* <code>.com.newsbreak.monetization.common.Ad ad = 3;</code>
*/
public Builder setAd(
com.particles.mes.protos.Ad.Builder builderForValue) {
copyOnWrite();
instance.setAd(builderForValue.build());
return this;
}
/**
* <code>.com.newsbreak.monetization.common.Ad ad = 3;</code>
*/
public Builder mergeAd(com.particles.mes.protos.Ad value) {
copyOnWrite();
instance.mergeAd(value);
return this;
}
/**
* <code>.com.newsbreak.monetization.common.Ad ad = 3;</code>
*/
public Builder clearAd() { copyOnWrite();
instance.clearAd();
return this;
}
/**
* <code>string reason = 4;</code>
* @return The reason.
*/
@java.lang.Override
public java.lang.String getReason() {
return instance.getReason();
}
/**
* <code>string reason = 4;</code>
* @return The bytes for reason.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getReasonBytes() {
return instance.getReasonBytes();
}
/**
* <code>string reason = 4;</code>
* @param value The reason to set.
* @return This builder for chaining.
*/
public Builder setReason(
java.lang.String value) {
copyOnWrite();
instance.setReason(value);
return this;
}
/**
* <code>string reason = 4;</code>
* @return This builder for chaining.
*/
public Builder clearReason() {
copyOnWrite();
instance.clearReason();
return this;
}
/**
* <code>string reason = 4;</code>
* @param value The bytes for reason to set.
* @return This builder for chaining.
*/
public Builder setReasonBytes(
com.google.protobuf.ByteString value) {
copyOnWrite();
instance.setReasonBytes(value);
return this;
}
/**
* <code>.com.newsbreak.monetization.common.OsType os = 5;</code>
* @return The enum numeric value on the wire for os.
*/
@java.lang.Override
public int getOsValue() {
return instance.getOsValue();
}
/**
* <code>.com.newsbreak.monetization.common.OsType os = 5;</code>
* @param value The os to set.
* @return This builder for chaining.
*/
public Builder setOsValue(int value) {
copyOnWrite();
instance.setOsValue(value);
return this;
}
/**
* <code>.com.newsbreak.monetization.common.OsType os = 5;</code>
* @return The os.
*/
@java.lang.Override
public com.particles.mes.protos.OsType getOs() {
return instance.getOs();
}
/**
* <code>.com.newsbreak.monetization.common.OsType os = 5;</code>
* @param value The enum numeric value on the wire for os to set.
* @return This builder for chaining.
*/
public Builder setOs(com.particles.mes.protos.OsType value) {
copyOnWrite();
instance.setOs(value);
return this;
}
/**
* <code>.com.newsbreak.monetization.common.OsType os = 5;</code>
* @return This builder for chaining.
*/
public Builder clearOs() {
copyOnWrite();
instance.clearOs();
return this;
}
/**
* <code>string org = 6;</code>
* @return The org.
*/
@java.lang.Override
public java.lang.String getOrg() {
return instance.getOrg();
}
/**
* <code>string org = 6;</code>
* @return The bytes for org.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getOrgBytes() {
return instance.getOrgBytes();
}
/**
* <code>string org = 6;</code>
* @param value The org to set.
* @return This builder for chaining.
*/
public Builder setOrg(
java.lang.String value) {
copyOnWrite();
instance.setOrg(value);
return this;
}
/**
* <code>string org = 6;</code>
* @return This builder for chaining.
*/
public Builder clearOrg() {
copyOnWrite();
instance.clearOrg();
return this;
}
/**
* <code>string org = 6;</code>
* @param value The bytes for org to set.
* @return This builder for chaining.
*/
public Builder setOrgBytes(
com.google.protobuf.ByteString value) {
copyOnWrite();
instance.setOrgBytes(value);
return this;
}
/**
* <code>string app = 7;</code>
* @return The app.
*/
@java.lang.Override
public java.lang.String getApp() {
return instance.getApp();
}
/**
* <code>string app = 7;</code>
* @return The bytes for app.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getAppBytes() {
return instance.getAppBytes();
}
/**
* <code>string app = 7;</code>
* @param value The app to set.
* @return This builder for chaining.
*/
public Builder setApp(
java.lang.String value) {
copyOnWrite();
instance.setApp(value);
return this;
}
/**
* <code>string app = 7;</code>
* @return This builder for chaining.
*/
public Builder clearApp() {
copyOnWrite();
instance.clearApp();
return this;
}
/**
* <code>string app = 7;</code>
* @param value The bytes for app to set.
* @return This builder for chaining.
*/
public Builder setAppBytes(
com.google.protobuf.ByteString value) {
copyOnWrite();
instance.setAppBytes(value);
return this;
}
/**
* <code>string msp_sdk_version = 8;</code>
* @return The mspSdkVersion.
*/
@java.lang.Override
public java.lang.String getMspSdkVersion() {
return instance.getMspSdkVersion();
}
/**
* <code>string msp_sdk_version = 8;</code>
* @return The bytes for mspSdkVersion.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getMspSdkVersionBytes() {
return instance.getMspSdkVersionBytes();
}
/**
* <code>string msp_sdk_version = 8;</code>
* @param value The mspSdkVersion to set.
* @return This builder for chaining.
*/
public Builder setMspSdkVersion(
java.lang.String value) {
copyOnWrite();
instance.setMspSdkVersion(value);
return this;
}
/**
* <code>string msp_sdk_version = 8;</code>
* @return This builder for chaining.
*/
public Builder clearMspSdkVersion() {
copyOnWrite();
instance.clearMspSdkVersion();
return this;
}
/**
* <code>string msp_sdk_version = 8;</code>
* @param value The bytes for mspSdkVersion to set.
* @return This builder for chaining.
*/
public Builder setMspSdkVersionBytes(
com.google.protobuf.ByteString value) {
copyOnWrite();
instance.setMspSdkVersionBytes(value);
return this;
}
// @@protoc_insertion_point(builder_scope:com.newsbreak.mes.events.AdHideEvent)
}
private byte memoizedIsInitialized = 2;
@java.lang.Override
@java.lang.SuppressWarnings({"unchecked", "fallthrough"})
protected final java.lang.Object dynamicMethod(
com.google.protobuf.GeneratedMessageLite.MethodToInvoke method,
java.lang.Object arg0, java.lang.Object arg1) {
switch (method) {
case NEW_MUTABLE_INSTANCE: {
return new com.particles.mes.protos.AdHideEvent();
}
case NEW_BUILDER: {
return new Builder();
}
case BUILD_MESSAGE_INFO: {
java.lang.Object[] objects = new java.lang.Object[] {
"tsMs_",
"requestContext_",
"ad_",
"reason_",
"os_",
"org_",
"app_",
"mspSdkVersion_",
};
java.lang.String info =
"\u0000\b\u0000\u0000\u0001\b\b\u0000\u0000\u0002\u0001\u0003\u0002\u0409\u0003\u0409" +
"\u0004\u0208\u0005\f\u0006\u0208\u0007\u0208\b\u0208";
return newMessageInfo(DEFAULT_INSTANCE, info, objects);
}
// fall through
case GET_DEFAULT_INSTANCE: {
return DEFAULT_INSTANCE;
}
case GET_PARSER: {
com.google.protobuf.Parser<com.particles.mes.protos.AdHideEvent> parser = PARSER;
if (parser == null) {
synchronized (com.particles.mes.protos.AdHideEvent.class) {
parser = PARSER;
if (parser == null) {
parser =
new DefaultInstanceBasedParser<com.particles.mes.protos.AdHideEvent>(
DEFAULT_INSTANCE);
PARSER = parser;
}
}
}
return parser;
}
case GET_MEMOIZED_IS_INITIALIZED: {
return memoizedIsInitialized;
}
case SET_MEMOIZED_IS_INITIALIZED: {
memoizedIsInitialized = (byte) (arg0 == null ? 0 : 1);
return null;
}
}
throw new UnsupportedOperationException();
}
// @@protoc_insertion_point(class_scope:com.newsbreak.mes.events.AdHideEvent)
private static final com.particles.mes.protos.AdHideEvent DEFAULT_INSTANCE;
static {
AdHideEvent defaultInstance = new AdHideEvent();
// New instances are implicitly immutable so no need to make
// immutable.
DEFAULT_INSTANCE = defaultInstance;
com.google.protobuf.GeneratedMessageLite.registerDefaultInstance(
AdHideEvent.class, defaultInstance);
}
public static com.particles.mes.protos.AdHideEvent getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static volatile com.google.protobuf.Parser<AdHideEvent> PARSER;
public static com.google.protobuf.Parser<AdHideEvent> parser() {
return DEFAULT_INSTANCE.getParserForType();
}
}
|
0 | java-sources/ai/themsp/mes-android-sdk/0.15.0/main/com/particles/mes | java-sources/ai/themsp/mes-android-sdk/0.15.0/main/com/particles/mes/protos/AdHideEventOrBuilder.java | // Generated by the protocol buffer compiler. DO NOT EDIT!
// source: mes_events/ad_hide.proto
package com.particles.mes.protos;
public interface AdHideEventOrBuilder extends
// @@protoc_insertion_point(interface_extends:com.newsbreak.mes.events.AdHideEvent)
com.google.protobuf.MessageLiteOrBuilder {
/**
* <code>uint64 ts_ms = 1;</code>
* @return The tsMs.
*/
long getTsMs();
/**
* <code>.com.newsbreak.monetization.common.RequestContext request_context = 2;</code>
* @return Whether the requestContext field is set.
*/
boolean hasRequestContext();
/**
* <code>.com.newsbreak.monetization.common.RequestContext request_context = 2;</code>
* @return The requestContext.
*/
com.particles.mes.protos.RequestContext getRequestContext();
/**
* <code>.com.newsbreak.monetization.common.Ad ad = 3;</code>
* @return Whether the ad field is set.
*/
boolean hasAd();
/**
* <code>.com.newsbreak.monetization.common.Ad ad = 3;</code>
* @return The ad.
*/
com.particles.mes.protos.Ad getAd();
/**
* <code>string reason = 4;</code>
* @return The reason.
*/
java.lang.String getReason();
/**
* <code>string reason = 4;</code>
* @return The bytes for reason.
*/
com.google.protobuf.ByteString
getReasonBytes();
/**
* <code>.com.newsbreak.monetization.common.OsType os = 5;</code>
* @return The enum numeric value on the wire for os.
*/
int getOsValue();
/**
* <code>.com.newsbreak.monetization.common.OsType os = 5;</code>
* @return The os.
*/
com.particles.mes.protos.OsType getOs();
/**
* <code>string org = 6;</code>
* @return The org.
*/
java.lang.String getOrg();
/**
* <code>string org = 6;</code>
* @return The bytes for org.
*/
com.google.protobuf.ByteString
getOrgBytes();
/**
* <code>string app = 7;</code>
* @return The app.
*/
java.lang.String getApp();
/**
* <code>string app = 7;</code>
* @return The bytes for app.
*/
com.google.protobuf.ByteString
getAppBytes();
/**
* <code>string msp_sdk_version = 8;</code>
* @return The mspSdkVersion.
*/
java.lang.String getMspSdkVersion();
/**
* <code>string msp_sdk_version = 8;</code>
* @return The bytes for mspSdkVersion.
*/
com.google.protobuf.ByteString
getMspSdkVersionBytes();
}
|
0 | java-sources/ai/themsp/mes-android-sdk/0.15.0/main/com/particles/mes | java-sources/ai/themsp/mes-android-sdk/0.15.0/main/com/particles/mes/protos/AdHideEvents.java | // Generated by the protocol buffer compiler. DO NOT EDIT!
// source: mes_events/ad_hide.proto
package com.particles.mes.protos;
public final class AdHideEvents {
private AdHideEvents() {}
public static void registerAllExtensions(
com.google.protobuf.ExtensionRegistryLite registry) {
}
static {
}
// @@protoc_insertion_point(outer_class_scope)
}
|
0 | java-sources/ai/themsp/mes-android-sdk/0.15.0/main/com/particles/mes | java-sources/ai/themsp/mes-android-sdk/0.15.0/main/com/particles/mes/protos/AdImpressionEvent.java | // Generated by the protocol buffer compiler. DO NOT EDIT!
// source: mes_events/ad_impression.proto
package com.particles.mes.protos;
/**
* <pre>
* it is not a dup of AdAuction, more fields will be added,
* like ad position, viewability etc
* </pre>
*
* Protobuf type {@code com.newsbreak.mes.events.AdImpressionEvent}
*/
public final class AdImpressionEvent extends
com.google.protobuf.GeneratedMessageLite<
AdImpressionEvent, AdImpressionEvent.Builder> implements
// @@protoc_insertion_point(message_implements:com.newsbreak.mes.events.AdImpressionEvent)
AdImpressionEventOrBuilder {
private AdImpressionEvent() {
org_ = "";
app_ = "";
mspSdkVersion_ = "";
}
public static final int TS_MS_FIELD_NUMBER = 1;
private long tsMs_;
/**
* <code>uint64 ts_ms = 1;</code>
* @return The tsMs.
*/
@java.lang.Override
public long getTsMs() {
return tsMs_;
}
/**
* <code>uint64 ts_ms = 1;</code>
* @param value The tsMs to set.
*/
private void setTsMs(long value) {
tsMs_ = value;
}
/**
* <code>uint64 ts_ms = 1;</code>
*/
private void clearTsMs() {
tsMs_ = 0L;
}
public static final int REQUEST_CONTEXT_FIELD_NUMBER = 2;
private com.particles.mes.protos.RequestContext requestContext_;
/**
* <code>.com.newsbreak.monetization.common.RequestContext request_context = 2;</code>
*/
@java.lang.Override
public boolean hasRequestContext() {
return requestContext_ != null;
}
/**
* <code>.com.newsbreak.monetization.common.RequestContext request_context = 2;</code>
*/
@java.lang.Override
public com.particles.mes.protos.RequestContext getRequestContext() {
return requestContext_ == null ? com.particles.mes.protos.RequestContext.getDefaultInstance() : requestContext_;
}
/**
* <code>.com.newsbreak.monetization.common.RequestContext request_context = 2;</code>
*/
private void setRequestContext(com.particles.mes.protos.RequestContext value) {
value.getClass();
requestContext_ = value;
}
/**
* <code>.com.newsbreak.monetization.common.RequestContext request_context = 2;</code>
*/
@java.lang.SuppressWarnings({"ReferenceEquality"})
private void mergeRequestContext(com.particles.mes.protos.RequestContext value) {
value.getClass();
if (requestContext_ != null &&
requestContext_ != com.particles.mes.protos.RequestContext.getDefaultInstance()) {
requestContext_ =
com.particles.mes.protos.RequestContext.newBuilder(requestContext_).mergeFrom(value).buildPartial();
} else {
requestContext_ = value;
}
}
/**
* <code>.com.newsbreak.monetization.common.RequestContext request_context = 2;</code>
*/
private void clearRequestContext() { requestContext_ = null;
}
public static final int AD_FIELD_NUMBER = 3;
private com.particles.mes.protos.Ad ad_;
/**
* <code>.com.newsbreak.monetization.common.Ad ad = 3;</code>
*/
@java.lang.Override
public boolean hasAd() {
return ad_ != null;
}
/**
* <code>.com.newsbreak.monetization.common.Ad ad = 3;</code>
*/
@java.lang.Override
public com.particles.mes.protos.Ad getAd() {
return ad_ == null ? com.particles.mes.protos.Ad.getDefaultInstance() : ad_;
}
/**
* <code>.com.newsbreak.monetization.common.Ad ad = 3;</code>
*/
private void setAd(com.particles.mes.protos.Ad value) {
value.getClass();
ad_ = value;
}
/**
* <code>.com.newsbreak.monetization.common.Ad ad = 3;</code>
*/
@java.lang.SuppressWarnings({"ReferenceEquality"})
private void mergeAd(com.particles.mes.protos.Ad value) {
value.getClass();
if (ad_ != null &&
ad_ != com.particles.mes.protos.Ad.getDefaultInstance()) {
ad_ =
com.particles.mes.protos.Ad.newBuilder(ad_).mergeFrom(value).buildPartial();
} else {
ad_ = value;
}
}
/**
* <code>.com.newsbreak.monetization.common.Ad ad = 3;</code>
*/
private void clearAd() { ad_ = null;
}
public static final int OS_FIELD_NUMBER = 4;
private int os_;
/**
* <code>.com.newsbreak.monetization.common.OsType os = 4;</code>
* @return The enum numeric value on the wire for os.
*/
@java.lang.Override
public int getOsValue() {
return os_;
}
/**
* <code>.com.newsbreak.monetization.common.OsType os = 4;</code>
* @return The os.
*/
@java.lang.Override
public com.particles.mes.protos.OsType getOs() {
com.particles.mes.protos.OsType result = com.particles.mes.protos.OsType.forNumber(os_);
return result == null ? com.particles.mes.protos.OsType.UNRECOGNIZED : result;
}
/**
* <code>.com.newsbreak.monetization.common.OsType os = 4;</code>
* @param value The enum numeric value on the wire for os to set.
*/
private void setOsValue(int value) {
os_ = value;
}
/**
* <code>.com.newsbreak.monetization.common.OsType os = 4;</code>
* @param value The os to set.
*/
private void setOs(com.particles.mes.protos.OsType value) {
os_ = value.getNumber();
}
/**
* <code>.com.newsbreak.monetization.common.OsType os = 4;</code>
*/
private void clearOs() {
os_ = 0;
}
public static final int ORG_FIELD_NUMBER = 5;
private java.lang.String org_;
/**
* <code>string org = 5;</code>
* @return The org.
*/
@java.lang.Override
public java.lang.String getOrg() {
return org_;
}
/**
* <code>string org = 5;</code>
* @return The bytes for org.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getOrgBytes() {
return com.google.protobuf.ByteString.copyFromUtf8(org_);
}
/**
* <code>string org = 5;</code>
* @param value The org to set.
*/
private void setOrg(
java.lang.String value) {
java.lang.Class<?> valueClass = value.getClass();
org_ = value;
}
/**
* <code>string org = 5;</code>
*/
private void clearOrg() {
org_ = getDefaultInstance().getOrg();
}
/**
* <code>string org = 5;</code>
* @param value The bytes for org to set.
*/
private void setOrgBytes(
com.google.protobuf.ByteString value) {
checkByteStringIsUtf8(value);
org_ = value.toStringUtf8();
}
public static final int APP_FIELD_NUMBER = 6;
private java.lang.String app_;
/**
* <code>string app = 6;</code>
* @return The app.
*/
@java.lang.Override
public java.lang.String getApp() {
return app_;
}
/**
* <code>string app = 6;</code>
* @return The bytes for app.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getAppBytes() {
return com.google.protobuf.ByteString.copyFromUtf8(app_);
}
/**
* <code>string app = 6;</code>
* @param value The app to set.
*/
private void setApp(
java.lang.String value) {
java.lang.Class<?> valueClass = value.getClass();
app_ = value;
}
/**
* <code>string app = 6;</code>
*/
private void clearApp() {
app_ = getDefaultInstance().getApp();
}
/**
* <code>string app = 6;</code>
* @param value The bytes for app to set.
*/
private void setAppBytes(
com.google.protobuf.ByteString value) {
checkByteStringIsUtf8(value);
app_ = value.toStringUtf8();
}
public static final int MSP_SDK_VERSION_FIELD_NUMBER = 7;
private java.lang.String mspSdkVersion_;
/**
* <code>string msp_sdk_version = 7;</code>
* @return The mspSdkVersion.
*/
@java.lang.Override
public java.lang.String getMspSdkVersion() {
return mspSdkVersion_;
}
/**
* <code>string msp_sdk_version = 7;</code>
* @return The bytes for mspSdkVersion.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getMspSdkVersionBytes() {
return com.google.protobuf.ByteString.copyFromUtf8(mspSdkVersion_);
}
/**
* <code>string msp_sdk_version = 7;</code>
* @param value The mspSdkVersion to set.
*/
private void setMspSdkVersion(
java.lang.String value) {
java.lang.Class<?> valueClass = value.getClass();
mspSdkVersion_ = value;
}
/**
* <code>string msp_sdk_version = 7;</code>
*/
private void clearMspSdkVersion() {
mspSdkVersion_ = getDefaultInstance().getMspSdkVersion();
}
/**
* <code>string msp_sdk_version = 7;</code>
* @param value The bytes for mspSdkVersion to set.
*/
private void setMspSdkVersionBytes(
com.google.protobuf.ByteString value) {
checkByteStringIsUtf8(value);
mspSdkVersion_ = value.toStringUtf8();
}
public static com.particles.mes.protos.AdImpressionEvent parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, data);
}
public static com.particles.mes.protos.AdImpressionEvent parseFrom(
java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, data, extensionRegistry);
}
public static com.particles.mes.protos.AdImpressionEvent parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, data);
}
public static com.particles.mes.protos.AdImpressionEvent parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, data, extensionRegistry);
}
public static com.particles.mes.protos.AdImpressionEvent parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, data);
}
public static com.particles.mes.protos.AdImpressionEvent parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, data, extensionRegistry);
}
public static com.particles.mes.protos.AdImpressionEvent parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, input);
}
public static com.particles.mes.protos.AdImpressionEvent parseFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, input, extensionRegistry);
}
public static com.particles.mes.protos.AdImpressionEvent parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return parseDelimitedFrom(DEFAULT_INSTANCE, input);
}
public static com.particles.mes.protos.AdImpressionEvent parseDelimitedFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return parseDelimitedFrom(DEFAULT_INSTANCE, input, extensionRegistry);
}
public static com.particles.mes.protos.AdImpressionEvent parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, input);
}
public static com.particles.mes.protos.AdImpressionEvent parseFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, input, extensionRegistry);
}
public static Builder newBuilder() {
return (Builder) DEFAULT_INSTANCE.createBuilder();
}
public static Builder newBuilder(com.particles.mes.protos.AdImpressionEvent prototype) {
return (Builder) DEFAULT_INSTANCE.createBuilder(prototype);
}
/**
* <pre>
* it is not a dup of AdAuction, more fields will be added,
* like ad position, viewability etc
* </pre>
*
* Protobuf type {@code com.newsbreak.mes.events.AdImpressionEvent}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageLite.Builder<
com.particles.mes.protos.AdImpressionEvent, Builder> implements
// @@protoc_insertion_point(builder_implements:com.newsbreak.mes.events.AdImpressionEvent)
com.particles.mes.protos.AdImpressionEventOrBuilder {
// Construct using com.particles.mes.protos.AdImpressionEvent.newBuilder()
private Builder() {
super(DEFAULT_INSTANCE);
}
/**
* <code>uint64 ts_ms = 1;</code>
* @return The tsMs.
*/
@java.lang.Override
public long getTsMs() {
return instance.getTsMs();
}
/**
* <code>uint64 ts_ms = 1;</code>
* @param value The tsMs to set.
* @return This builder for chaining.
*/
public Builder setTsMs(long value) {
copyOnWrite();
instance.setTsMs(value);
return this;
}
/**
* <code>uint64 ts_ms = 1;</code>
* @return This builder for chaining.
*/
public Builder clearTsMs() {
copyOnWrite();
instance.clearTsMs();
return this;
}
/**
* <code>.com.newsbreak.monetization.common.RequestContext request_context = 2;</code>
*/
@java.lang.Override
public boolean hasRequestContext() {
return instance.hasRequestContext();
}
/**
* <code>.com.newsbreak.monetization.common.RequestContext request_context = 2;</code>
*/
@java.lang.Override
public com.particles.mes.protos.RequestContext getRequestContext() {
return instance.getRequestContext();
}
/**
* <code>.com.newsbreak.monetization.common.RequestContext request_context = 2;</code>
*/
public Builder setRequestContext(com.particles.mes.protos.RequestContext value) {
copyOnWrite();
instance.setRequestContext(value);
return this;
}
/**
* <code>.com.newsbreak.monetization.common.RequestContext request_context = 2;</code>
*/
public Builder setRequestContext(
com.particles.mes.protos.RequestContext.Builder builderForValue) {
copyOnWrite();
instance.setRequestContext(builderForValue.build());
return this;
}
/**
* <code>.com.newsbreak.monetization.common.RequestContext request_context = 2;</code>
*/
public Builder mergeRequestContext(com.particles.mes.protos.RequestContext value) {
copyOnWrite();
instance.mergeRequestContext(value);
return this;
}
/**
* <code>.com.newsbreak.monetization.common.RequestContext request_context = 2;</code>
*/
public Builder clearRequestContext() { copyOnWrite();
instance.clearRequestContext();
return this;
}
/**
* <code>.com.newsbreak.monetization.common.Ad ad = 3;</code>
*/
@java.lang.Override
public boolean hasAd() {
return instance.hasAd();
}
/**
* <code>.com.newsbreak.monetization.common.Ad ad = 3;</code>
*/
@java.lang.Override
public com.particles.mes.protos.Ad getAd() {
return instance.getAd();
}
/**
* <code>.com.newsbreak.monetization.common.Ad ad = 3;</code>
*/
public Builder setAd(com.particles.mes.protos.Ad value) {
copyOnWrite();
instance.setAd(value);
return this;
}
/**
* <code>.com.newsbreak.monetization.common.Ad ad = 3;</code>
*/
public Builder setAd(
com.particles.mes.protos.Ad.Builder builderForValue) {
copyOnWrite();
instance.setAd(builderForValue.build());
return this;
}
/**
* <code>.com.newsbreak.monetization.common.Ad ad = 3;</code>
*/
public Builder mergeAd(com.particles.mes.protos.Ad value) {
copyOnWrite();
instance.mergeAd(value);
return this;
}
/**
* <code>.com.newsbreak.monetization.common.Ad ad = 3;</code>
*/
public Builder clearAd() { copyOnWrite();
instance.clearAd();
return this;
}
/**
* <code>.com.newsbreak.monetization.common.OsType os = 4;</code>
* @return The enum numeric value on the wire for os.
*/
@java.lang.Override
public int getOsValue() {
return instance.getOsValue();
}
/**
* <code>.com.newsbreak.monetization.common.OsType os = 4;</code>
* @param value The os to set.
* @return This builder for chaining.
*/
public Builder setOsValue(int value) {
copyOnWrite();
instance.setOsValue(value);
return this;
}
/**
* <code>.com.newsbreak.monetization.common.OsType os = 4;</code>
* @return The os.
*/
@java.lang.Override
public com.particles.mes.protos.OsType getOs() {
return instance.getOs();
}
/**
* <code>.com.newsbreak.monetization.common.OsType os = 4;</code>
* @param value The enum numeric value on the wire for os to set.
* @return This builder for chaining.
*/
public Builder setOs(com.particles.mes.protos.OsType value) {
copyOnWrite();
instance.setOs(value);
return this;
}
/**
* <code>.com.newsbreak.monetization.common.OsType os = 4;</code>
* @return This builder for chaining.
*/
public Builder clearOs() {
copyOnWrite();
instance.clearOs();
return this;
}
/**
* <code>string org = 5;</code>
* @return The org.
*/
@java.lang.Override
public java.lang.String getOrg() {
return instance.getOrg();
}
/**
* <code>string org = 5;</code>
* @return The bytes for org.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getOrgBytes() {
return instance.getOrgBytes();
}
/**
* <code>string org = 5;</code>
* @param value The org to set.
* @return This builder for chaining.
*/
public Builder setOrg(
java.lang.String value) {
copyOnWrite();
instance.setOrg(value);
return this;
}
/**
* <code>string org = 5;</code>
* @return This builder for chaining.
*/
public Builder clearOrg() {
copyOnWrite();
instance.clearOrg();
return this;
}
/**
* <code>string org = 5;</code>
* @param value The bytes for org to set.
* @return This builder for chaining.
*/
public Builder setOrgBytes(
com.google.protobuf.ByteString value) {
copyOnWrite();
instance.setOrgBytes(value);
return this;
}
/**
* <code>string app = 6;</code>
* @return The app.
*/
@java.lang.Override
public java.lang.String getApp() {
return instance.getApp();
}
/**
* <code>string app = 6;</code>
* @return The bytes for app.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getAppBytes() {
return instance.getAppBytes();
}
/**
* <code>string app = 6;</code>
* @param value The app to set.
* @return This builder for chaining.
*/
public Builder setApp(
java.lang.String value) {
copyOnWrite();
instance.setApp(value);
return this;
}
/**
* <code>string app = 6;</code>
* @return This builder for chaining.
*/
public Builder clearApp() {
copyOnWrite();
instance.clearApp();
return this;
}
/**
* <code>string app = 6;</code>
* @param value The bytes for app to set.
* @return This builder for chaining.
*/
public Builder setAppBytes(
com.google.protobuf.ByteString value) {
copyOnWrite();
instance.setAppBytes(value);
return this;
}
/**
* <code>string msp_sdk_version = 7;</code>
* @return The mspSdkVersion.
*/
@java.lang.Override
public java.lang.String getMspSdkVersion() {
return instance.getMspSdkVersion();
}
/**
* <code>string msp_sdk_version = 7;</code>
* @return The bytes for mspSdkVersion.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getMspSdkVersionBytes() {
return instance.getMspSdkVersionBytes();
}
/**
* <code>string msp_sdk_version = 7;</code>
* @param value The mspSdkVersion to set.
* @return This builder for chaining.
*/
public Builder setMspSdkVersion(
java.lang.String value) {
copyOnWrite();
instance.setMspSdkVersion(value);
return this;
}
/**
* <code>string msp_sdk_version = 7;</code>
* @return This builder for chaining.
*/
public Builder clearMspSdkVersion() {
copyOnWrite();
instance.clearMspSdkVersion();
return this;
}
/**
* <code>string msp_sdk_version = 7;</code>
* @param value The bytes for mspSdkVersion to set.
* @return This builder for chaining.
*/
public Builder setMspSdkVersionBytes(
com.google.protobuf.ByteString value) {
copyOnWrite();
instance.setMspSdkVersionBytes(value);
return this;
}
// @@protoc_insertion_point(builder_scope:com.newsbreak.mes.events.AdImpressionEvent)
}
private byte memoizedIsInitialized = 2;
@java.lang.Override
@java.lang.SuppressWarnings({"unchecked", "fallthrough"})
protected final java.lang.Object dynamicMethod(
com.google.protobuf.GeneratedMessageLite.MethodToInvoke method,
java.lang.Object arg0, java.lang.Object arg1) {
switch (method) {
case NEW_MUTABLE_INSTANCE: {
return new com.particles.mes.protos.AdImpressionEvent();
}
case NEW_BUILDER: {
return new Builder();
}
case BUILD_MESSAGE_INFO: {
java.lang.Object[] objects = new java.lang.Object[] {
"tsMs_",
"requestContext_",
"ad_",
"os_",
"org_",
"app_",
"mspSdkVersion_",
};
java.lang.String info =
"\u0000\u0007\u0000\u0000\u0001\u0007\u0007\u0000\u0000\u0002\u0001\u0003\u0002\u0409" +
"\u0003\u0409\u0004\f\u0005\u0208\u0006\u0208\u0007\u0208";
return newMessageInfo(DEFAULT_INSTANCE, info, objects);
}
// fall through
case GET_DEFAULT_INSTANCE: {
return DEFAULT_INSTANCE;
}
case GET_PARSER: {
com.google.protobuf.Parser<com.particles.mes.protos.AdImpressionEvent> parser = PARSER;
if (parser == null) {
synchronized (com.particles.mes.protos.AdImpressionEvent.class) {
parser = PARSER;
if (parser == null) {
parser =
new DefaultInstanceBasedParser<com.particles.mes.protos.AdImpressionEvent>(
DEFAULT_INSTANCE);
PARSER = parser;
}
}
}
return parser;
}
case GET_MEMOIZED_IS_INITIALIZED: {
return memoizedIsInitialized;
}
case SET_MEMOIZED_IS_INITIALIZED: {
memoizedIsInitialized = (byte) (arg0 == null ? 0 : 1);
return null;
}
}
throw new UnsupportedOperationException();
}
// @@protoc_insertion_point(class_scope:com.newsbreak.mes.events.AdImpressionEvent)
private static final com.particles.mes.protos.AdImpressionEvent DEFAULT_INSTANCE;
static {
AdImpressionEvent defaultInstance = new AdImpressionEvent();
// New instances are implicitly immutable so no need to make
// immutable.
DEFAULT_INSTANCE = defaultInstance;
com.google.protobuf.GeneratedMessageLite.registerDefaultInstance(
AdImpressionEvent.class, defaultInstance);
}
public static com.particles.mes.protos.AdImpressionEvent getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static volatile com.google.protobuf.Parser<AdImpressionEvent> PARSER;
public static com.google.protobuf.Parser<AdImpressionEvent> parser() {
return DEFAULT_INSTANCE.getParserForType();
}
}
|
0 | java-sources/ai/themsp/mes-android-sdk/0.15.0/main/com/particles/mes | java-sources/ai/themsp/mes-android-sdk/0.15.0/main/com/particles/mes/protos/AdImpressionEventOrBuilder.java | // Generated by the protocol buffer compiler. DO NOT EDIT!
// source: mes_events/ad_impression.proto
package com.particles.mes.protos;
public interface AdImpressionEventOrBuilder extends
// @@protoc_insertion_point(interface_extends:com.newsbreak.mes.events.AdImpressionEvent)
com.google.protobuf.MessageLiteOrBuilder {
/**
* <code>uint64 ts_ms = 1;</code>
* @return The tsMs.
*/
long getTsMs();
/**
* <code>.com.newsbreak.monetization.common.RequestContext request_context = 2;</code>
* @return Whether the requestContext field is set.
*/
boolean hasRequestContext();
/**
* <code>.com.newsbreak.monetization.common.RequestContext request_context = 2;</code>
* @return The requestContext.
*/
com.particles.mes.protos.RequestContext getRequestContext();
/**
* <code>.com.newsbreak.monetization.common.Ad ad = 3;</code>
* @return Whether the ad field is set.
*/
boolean hasAd();
/**
* <code>.com.newsbreak.monetization.common.Ad ad = 3;</code>
* @return The ad.
*/
com.particles.mes.protos.Ad getAd();
/**
* <code>.com.newsbreak.monetization.common.OsType os = 4;</code>
* @return The enum numeric value on the wire for os.
*/
int getOsValue();
/**
* <code>.com.newsbreak.monetization.common.OsType os = 4;</code>
* @return The os.
*/
com.particles.mes.protos.OsType getOs();
/**
* <code>string org = 5;</code>
* @return The org.
*/
java.lang.String getOrg();
/**
* <code>string org = 5;</code>
* @return The bytes for org.
*/
com.google.protobuf.ByteString
getOrgBytes();
/**
* <code>string app = 6;</code>
* @return The app.
*/
java.lang.String getApp();
/**
* <code>string app = 6;</code>
* @return The bytes for app.
*/
com.google.protobuf.ByteString
getAppBytes();
/**
* <code>string msp_sdk_version = 7;</code>
* @return The mspSdkVersion.
*/
java.lang.String getMspSdkVersion();
/**
* <code>string msp_sdk_version = 7;</code>
* @return The bytes for mspSdkVersion.
*/
com.google.protobuf.ByteString
getMspSdkVersionBytes();
}
|
0 | java-sources/ai/themsp/mes-android-sdk/0.15.0/main/com/particles/mes | java-sources/ai/themsp/mes-android-sdk/0.15.0/main/com/particles/mes/protos/AdImpressionEvents.java | // Generated by the protocol buffer compiler. DO NOT EDIT!
// source: mes_events/ad_impression.proto
package com.particles.mes.protos;
public final class AdImpressionEvents {
private AdImpressionEvents() {}
public static void registerAllExtensions(
com.google.protobuf.ExtensionRegistryLite registry) {
}
static {
}
// @@protoc_insertion_point(outer_class_scope)
}
|
0 | java-sources/ai/themsp/mes-android-sdk/0.15.0/main/com/particles/mes | java-sources/ai/themsp/mes-android-sdk/0.15.0/main/com/particles/mes/protos/AdOrBuilder.java | // Generated by the protocol buffer compiler. DO NOT EDIT!
// source: monetization/common.proto
package com.particles.mes.protos;
public interface AdOrBuilder extends
// @@protoc_insertion_point(interface_extends:com.newsbreak.monetization.common.Ad)
com.google.protobuf.MessageLiteOrBuilder {
/**
* <pre>
* timestamp when bid is received
* </pre>
*
* <code>uint64 ts_ms = 1;</code>
* @return The tsMs.
*/
long getTsMs();
/**
* <code>.com.google.openrtb.BidResponse.SeatBid seat_bid = 2;</code>
* @return Whether the seatBid field is set.
*/
boolean hasSeatBid();
/**
* <code>.com.google.openrtb.BidResponse.SeatBid seat_bid = 2;</code>
* @return The seatBid.
*/
com.particles.mes.protos.openrtb.BidResponse.SeatBid getSeatBid();
/**
* <code>string title = 3;</code>
* @return The title.
*/
java.lang.String getTitle();
/**
* <code>string title = 3;</code>
* @return The bytes for title.
*/
com.google.protobuf.ByteString
getTitleBytes();
/**
* <code>string body = 4;</code>
* @return The body.
*/
java.lang.String getBody();
/**
* <code>string body = 4;</code>
* @return The bytes for body.
*/
com.google.protobuf.ByteString
getBodyBytes();
/**
* <code>.com.newsbreak.monetization.common.AdType type = 5;</code>
* @return The enum numeric value on the wire for type.
*/
int getTypeValue();
/**
* <code>.com.newsbreak.monetization.common.AdType type = 5;</code>
* @return The type.
*/
com.particles.mes.protos.AdType getType();
/**
* <code>string advertiser = 6;</code>
* @return The advertiser.
*/
java.lang.String getAdvertiser();
/**
* <code>string advertiser = 6;</code>
* @return The bytes for advertiser.
*/
com.google.protobuf.ByteString
getAdvertiserBytes();
/**
* <code>bytes full_screenshot = 7;</code>
* @return The fullScreenshot.
*/
com.google.protobuf.ByteString getFullScreenshot();
/**
* <code>bytes ad_screenshot = 8;</code>
* @return The adScreenshot.
*/
com.google.protobuf.ByteString getAdScreenshot();
/**
* <code>string key = 9;</code>
* @return The key.
*/
java.lang.String getKey();
/**
* <code>string key = 9;</code>
* @return The bytes for key.
*/
com.google.protobuf.ByteString
getKeyBytes();
/**
* <code>.com.newsbreak.monetization.common.ImageType full_screenshot_type = 10;</code>
* @return The enum numeric value on the wire for fullScreenshotType.
*/
int getFullScreenshotTypeValue();
/**
* <code>.com.newsbreak.monetization.common.ImageType full_screenshot_type = 10;</code>
* @return The fullScreenshotType.
*/
com.particles.mes.protos.ImageType getFullScreenshotType();
/**
* <code>.com.newsbreak.monetization.common.ImageType ad_screenshot_type = 11;</code>
* @return The enum numeric value on the wire for adScreenshotType.
*/
int getAdScreenshotTypeValue();
/**
* <code>.com.newsbreak.monetization.common.ImageType ad_screenshot_type = 11;</code>
* @return The adScreenshotType.
*/
com.particles.mes.protos.ImageType getAdScreenshotType();
/**
* <code>string adset_id = 12;</code>
* @return The adsetId.
*/
java.lang.String getAdsetId();
/**
* <code>string adset_id = 12;</code>
* @return The bytes for adsetId.
*/
com.google.protobuf.ByteString
getAdsetIdBytes();
}
|
0 | java-sources/ai/themsp/mes-android-sdk/0.15.0/main/com/particles/mes | java-sources/ai/themsp/mes-android-sdk/0.15.0/main/com/particles/mes/protos/AdReportEvent.java | // Generated by the protocol buffer compiler. DO NOT EDIT!
// source: mes_events/ad_report.proto
package com.particles.mes.protos;
/**
* <pre>
* Maps to the event that user report an ad.
* </pre>
*
* Protobuf type {@code com.newsbreak.mes.events.AdReportEvent}
*/
public final class AdReportEvent extends
com.google.protobuf.GeneratedMessageLite<
AdReportEvent, AdReportEvent.Builder> implements
// @@protoc_insertion_point(message_implements:com.newsbreak.mes.events.AdReportEvent)
AdReportEventOrBuilder {
private AdReportEvent() {
reason_ = "";
description_ = "";
org_ = "";
app_ = "";
mspSdkVersion_ = "";
}
public static final int TS_MS_FIELD_NUMBER = 1;
private long tsMs_;
/**
* <code>uint64 ts_ms = 1;</code>
* @return The tsMs.
*/
@java.lang.Override
public long getTsMs() {
return tsMs_;
}
/**
* <code>uint64 ts_ms = 1;</code>
* @param value The tsMs to set.
*/
private void setTsMs(long value) {
tsMs_ = value;
}
/**
* <code>uint64 ts_ms = 1;</code>
*/
private void clearTsMs() {
tsMs_ = 0L;
}
public static final int REQUEST_CONTEXT_FIELD_NUMBER = 2;
private com.particles.mes.protos.RequestContext requestContext_;
/**
* <code>.com.newsbreak.monetization.common.RequestContext request_context = 2;</code>
*/
@java.lang.Override
public boolean hasRequestContext() {
return requestContext_ != null;
}
/**
* <code>.com.newsbreak.monetization.common.RequestContext request_context = 2;</code>
*/
@java.lang.Override
public com.particles.mes.protos.RequestContext getRequestContext() {
return requestContext_ == null ? com.particles.mes.protos.RequestContext.getDefaultInstance() : requestContext_;
}
/**
* <code>.com.newsbreak.monetization.common.RequestContext request_context = 2;</code>
*/
private void setRequestContext(com.particles.mes.protos.RequestContext value) {
value.getClass();
requestContext_ = value;
}
/**
* <code>.com.newsbreak.monetization.common.RequestContext request_context = 2;</code>
*/
@java.lang.SuppressWarnings({"ReferenceEquality"})
private void mergeRequestContext(com.particles.mes.protos.RequestContext value) {
value.getClass();
if (requestContext_ != null &&
requestContext_ != com.particles.mes.protos.RequestContext.getDefaultInstance()) {
requestContext_ =
com.particles.mes.protos.RequestContext.newBuilder(requestContext_).mergeFrom(value).buildPartial();
} else {
requestContext_ = value;
}
}
/**
* <code>.com.newsbreak.monetization.common.RequestContext request_context = 2;</code>
*/
private void clearRequestContext() { requestContext_ = null;
}
public static final int AD_FIELD_NUMBER = 3;
private com.particles.mes.protos.Ad ad_;
/**
* <code>.com.newsbreak.monetization.common.Ad ad = 3;</code>
*/
@java.lang.Override
public boolean hasAd() {
return ad_ != null;
}
/**
* <code>.com.newsbreak.monetization.common.Ad ad = 3;</code>
*/
@java.lang.Override
public com.particles.mes.protos.Ad getAd() {
return ad_ == null ? com.particles.mes.protos.Ad.getDefaultInstance() : ad_;
}
/**
* <code>.com.newsbreak.monetization.common.Ad ad = 3;</code>
*/
private void setAd(com.particles.mes.protos.Ad value) {
value.getClass();
ad_ = value;
}
/**
* <code>.com.newsbreak.monetization.common.Ad ad = 3;</code>
*/
@java.lang.SuppressWarnings({"ReferenceEquality"})
private void mergeAd(com.particles.mes.protos.Ad value) {
value.getClass();
if (ad_ != null &&
ad_ != com.particles.mes.protos.Ad.getDefaultInstance()) {
ad_ =
com.particles.mes.protos.Ad.newBuilder(ad_).mergeFrom(value).buildPartial();
} else {
ad_ = value;
}
}
/**
* <code>.com.newsbreak.monetization.common.Ad ad = 3;</code>
*/
private void clearAd() { ad_ = null;
}
public static final int REASON_FIELD_NUMBER = 4;
private java.lang.String reason_;
/**
* <code>string reason = 4;</code>
* @return The reason.
*/
@java.lang.Override
public java.lang.String getReason() {
return reason_;
}
/**
* <code>string reason = 4;</code>
* @return The bytes for reason.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getReasonBytes() {
return com.google.protobuf.ByteString.copyFromUtf8(reason_);
}
/**
* <code>string reason = 4;</code>
* @param value The reason to set.
*/
private void setReason(
java.lang.String value) {
java.lang.Class<?> valueClass = value.getClass();
reason_ = value;
}
/**
* <code>string reason = 4;</code>
*/
private void clearReason() {
reason_ = getDefaultInstance().getReason();
}
/**
* <code>string reason = 4;</code>
* @param value The bytes for reason to set.
*/
private void setReasonBytes(
com.google.protobuf.ByteString value) {
checkByteStringIsUtf8(value);
reason_ = value.toStringUtf8();
}
public static final int DESCRIPTION_FIELD_NUMBER = 5;
private java.lang.String description_;
/**
* <code>string description = 5;</code>
* @return The description.
*/
@java.lang.Override
public java.lang.String getDescription() {
return description_;
}
/**
* <code>string description = 5;</code>
* @return The bytes for description.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getDescriptionBytes() {
return com.google.protobuf.ByteString.copyFromUtf8(description_);
}
/**
* <code>string description = 5;</code>
* @param value The description to set.
*/
private void setDescription(
java.lang.String value) {
java.lang.Class<?> valueClass = value.getClass();
description_ = value;
}
/**
* <code>string description = 5;</code>
*/
private void clearDescription() {
description_ = getDefaultInstance().getDescription();
}
/**
* <code>string description = 5;</code>
* @param value The bytes for description to set.
*/
private void setDescriptionBytes(
com.google.protobuf.ByteString value) {
checkByteStringIsUtf8(value);
description_ = value.toStringUtf8();
}
public static final int OS_FIELD_NUMBER = 6;
private int os_;
/**
* <code>.com.newsbreak.monetization.common.OsType os = 6;</code>
* @return The enum numeric value on the wire for os.
*/
@java.lang.Override
public int getOsValue() {
return os_;
}
/**
* <code>.com.newsbreak.monetization.common.OsType os = 6;</code>
* @return The os.
*/
@java.lang.Override
public com.particles.mes.protos.OsType getOs() {
com.particles.mes.protos.OsType result = com.particles.mes.protos.OsType.forNumber(os_);
return result == null ? com.particles.mes.protos.OsType.UNRECOGNIZED : result;
}
/**
* <code>.com.newsbreak.monetization.common.OsType os = 6;</code>
* @param value The enum numeric value on the wire for os to set.
*/
private void setOsValue(int value) {
os_ = value;
}
/**
* <code>.com.newsbreak.monetization.common.OsType os = 6;</code>
* @param value The os to set.
*/
private void setOs(com.particles.mes.protos.OsType value) {
os_ = value.getNumber();
}
/**
* <code>.com.newsbreak.monetization.common.OsType os = 6;</code>
*/
private void clearOs() {
os_ = 0;
}
public static final int ORG_FIELD_NUMBER = 7;
private java.lang.String org_;
/**
* <code>string org = 7;</code>
* @return The org.
*/
@java.lang.Override
public java.lang.String getOrg() {
return org_;
}
/**
* <code>string org = 7;</code>
* @return The bytes for org.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getOrgBytes() {
return com.google.protobuf.ByteString.copyFromUtf8(org_);
}
/**
* <code>string org = 7;</code>
* @param value The org to set.
*/
private void setOrg(
java.lang.String value) {
java.lang.Class<?> valueClass = value.getClass();
org_ = value;
}
/**
* <code>string org = 7;</code>
*/
private void clearOrg() {
org_ = getDefaultInstance().getOrg();
}
/**
* <code>string org = 7;</code>
* @param value The bytes for org to set.
*/
private void setOrgBytes(
com.google.protobuf.ByteString value) {
checkByteStringIsUtf8(value);
org_ = value.toStringUtf8();
}
public static final int APP_FIELD_NUMBER = 8;
private java.lang.String app_;
/**
* <code>string app = 8;</code>
* @return The app.
*/
@java.lang.Override
public java.lang.String getApp() {
return app_;
}
/**
* <code>string app = 8;</code>
* @return The bytes for app.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getAppBytes() {
return com.google.protobuf.ByteString.copyFromUtf8(app_);
}
/**
* <code>string app = 8;</code>
* @param value The app to set.
*/
private void setApp(
java.lang.String value) {
java.lang.Class<?> valueClass = value.getClass();
app_ = value;
}
/**
* <code>string app = 8;</code>
*/
private void clearApp() {
app_ = getDefaultInstance().getApp();
}
/**
* <code>string app = 8;</code>
* @param value The bytes for app to set.
*/
private void setAppBytes(
com.google.protobuf.ByteString value) {
checkByteStringIsUtf8(value);
app_ = value.toStringUtf8();
}
public static final int MSP_SDK_VERSION_FIELD_NUMBER = 9;
private java.lang.String mspSdkVersion_;
/**
* <code>string msp_sdk_version = 9;</code>
* @return The mspSdkVersion.
*/
@java.lang.Override
public java.lang.String getMspSdkVersion() {
return mspSdkVersion_;
}
/**
* <code>string msp_sdk_version = 9;</code>
* @return The bytes for mspSdkVersion.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getMspSdkVersionBytes() {
return com.google.protobuf.ByteString.copyFromUtf8(mspSdkVersion_);
}
/**
* <code>string msp_sdk_version = 9;</code>
* @param value The mspSdkVersion to set.
*/
private void setMspSdkVersion(
java.lang.String value) {
java.lang.Class<?> valueClass = value.getClass();
mspSdkVersion_ = value;
}
/**
* <code>string msp_sdk_version = 9;</code>
*/
private void clearMspSdkVersion() {
mspSdkVersion_ = getDefaultInstance().getMspSdkVersion();
}
/**
* <code>string msp_sdk_version = 9;</code>
* @param value The bytes for mspSdkVersion to set.
*/
private void setMspSdkVersionBytes(
com.google.protobuf.ByteString value) {
checkByteStringIsUtf8(value);
mspSdkVersion_ = value.toStringUtf8();
}
public static com.particles.mes.protos.AdReportEvent parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, data);
}
public static com.particles.mes.protos.AdReportEvent parseFrom(
java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, data, extensionRegistry);
}
public static com.particles.mes.protos.AdReportEvent parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, data);
}
public static com.particles.mes.protos.AdReportEvent parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, data, extensionRegistry);
}
public static com.particles.mes.protos.AdReportEvent parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, data);
}
public static com.particles.mes.protos.AdReportEvent parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, data, extensionRegistry);
}
public static com.particles.mes.protos.AdReportEvent parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, input);
}
public static com.particles.mes.protos.AdReportEvent parseFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, input, extensionRegistry);
}
public static com.particles.mes.protos.AdReportEvent parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return parseDelimitedFrom(DEFAULT_INSTANCE, input);
}
public static com.particles.mes.protos.AdReportEvent parseDelimitedFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return parseDelimitedFrom(DEFAULT_INSTANCE, input, extensionRegistry);
}
public static com.particles.mes.protos.AdReportEvent parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, input);
}
public static com.particles.mes.protos.AdReportEvent parseFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, input, extensionRegistry);
}
public static Builder newBuilder() {
return (Builder) DEFAULT_INSTANCE.createBuilder();
}
public static Builder newBuilder(com.particles.mes.protos.AdReportEvent prototype) {
return (Builder) DEFAULT_INSTANCE.createBuilder(prototype);
}
/**
* <pre>
* Maps to the event that user report an ad.
* </pre>
*
* Protobuf type {@code com.newsbreak.mes.events.AdReportEvent}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageLite.Builder<
com.particles.mes.protos.AdReportEvent, Builder> implements
// @@protoc_insertion_point(builder_implements:com.newsbreak.mes.events.AdReportEvent)
com.particles.mes.protos.AdReportEventOrBuilder {
// Construct using com.particles.mes.protos.AdReportEvent.newBuilder()
private Builder() {
super(DEFAULT_INSTANCE);
}
/**
* <code>uint64 ts_ms = 1;</code>
* @return The tsMs.
*/
@java.lang.Override
public long getTsMs() {
return instance.getTsMs();
}
/**
* <code>uint64 ts_ms = 1;</code>
* @param value The tsMs to set.
* @return This builder for chaining.
*/
public Builder setTsMs(long value) {
copyOnWrite();
instance.setTsMs(value);
return this;
}
/**
* <code>uint64 ts_ms = 1;</code>
* @return This builder for chaining.
*/
public Builder clearTsMs() {
copyOnWrite();
instance.clearTsMs();
return this;
}
/**
* <code>.com.newsbreak.monetization.common.RequestContext request_context = 2;</code>
*/
@java.lang.Override
public boolean hasRequestContext() {
return instance.hasRequestContext();
}
/**
* <code>.com.newsbreak.monetization.common.RequestContext request_context = 2;</code>
*/
@java.lang.Override
public com.particles.mes.protos.RequestContext getRequestContext() {
return instance.getRequestContext();
}
/**
* <code>.com.newsbreak.monetization.common.RequestContext request_context = 2;</code>
*/
public Builder setRequestContext(com.particles.mes.protos.RequestContext value) {
copyOnWrite();
instance.setRequestContext(value);
return this;
}
/**
* <code>.com.newsbreak.monetization.common.RequestContext request_context = 2;</code>
*/
public Builder setRequestContext(
com.particles.mes.protos.RequestContext.Builder builderForValue) {
copyOnWrite();
instance.setRequestContext(builderForValue.build());
return this;
}
/**
* <code>.com.newsbreak.monetization.common.RequestContext request_context = 2;</code>
*/
public Builder mergeRequestContext(com.particles.mes.protos.RequestContext value) {
copyOnWrite();
instance.mergeRequestContext(value);
return this;
}
/**
* <code>.com.newsbreak.monetization.common.RequestContext request_context = 2;</code>
*/
public Builder clearRequestContext() { copyOnWrite();
instance.clearRequestContext();
return this;
}
/**
* <code>.com.newsbreak.monetization.common.Ad ad = 3;</code>
*/
@java.lang.Override
public boolean hasAd() {
return instance.hasAd();
}
/**
* <code>.com.newsbreak.monetization.common.Ad ad = 3;</code>
*/
@java.lang.Override
public com.particles.mes.protos.Ad getAd() {
return instance.getAd();
}
/**
* <code>.com.newsbreak.monetization.common.Ad ad = 3;</code>
*/
public Builder setAd(com.particles.mes.protos.Ad value) {
copyOnWrite();
instance.setAd(value);
return this;
}
/**
* <code>.com.newsbreak.monetization.common.Ad ad = 3;</code>
*/
public Builder setAd(
com.particles.mes.protos.Ad.Builder builderForValue) {
copyOnWrite();
instance.setAd(builderForValue.build());
return this;
}
/**
* <code>.com.newsbreak.monetization.common.Ad ad = 3;</code>
*/
public Builder mergeAd(com.particles.mes.protos.Ad value) {
copyOnWrite();
instance.mergeAd(value);
return this;
}
/**
* <code>.com.newsbreak.monetization.common.Ad ad = 3;</code>
*/
public Builder clearAd() { copyOnWrite();
instance.clearAd();
return this;
}
/**
* <code>string reason = 4;</code>
* @return The reason.
*/
@java.lang.Override
public java.lang.String getReason() {
return instance.getReason();
}
/**
* <code>string reason = 4;</code>
* @return The bytes for reason.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getReasonBytes() {
return instance.getReasonBytes();
}
/**
* <code>string reason = 4;</code>
* @param value The reason to set.
* @return This builder for chaining.
*/
public Builder setReason(
java.lang.String value) {
copyOnWrite();
instance.setReason(value);
return this;
}
/**
* <code>string reason = 4;</code>
* @return This builder for chaining.
*/
public Builder clearReason() {
copyOnWrite();
instance.clearReason();
return this;
}
/**
* <code>string reason = 4;</code>
* @param value The bytes for reason to set.
* @return This builder for chaining.
*/
public Builder setReasonBytes(
com.google.protobuf.ByteString value) {
copyOnWrite();
instance.setReasonBytes(value);
return this;
}
/**
* <code>string description = 5;</code>
* @return The description.
*/
@java.lang.Override
public java.lang.String getDescription() {
return instance.getDescription();
}
/**
* <code>string description = 5;</code>
* @return The bytes for description.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getDescriptionBytes() {
return instance.getDescriptionBytes();
}
/**
* <code>string description = 5;</code>
* @param value The description to set.
* @return This builder for chaining.
*/
public Builder setDescription(
java.lang.String value) {
copyOnWrite();
instance.setDescription(value);
return this;
}
/**
* <code>string description = 5;</code>
* @return This builder for chaining.
*/
public Builder clearDescription() {
copyOnWrite();
instance.clearDescription();
return this;
}
/**
* <code>string description = 5;</code>
* @param value The bytes for description to set.
* @return This builder for chaining.
*/
public Builder setDescriptionBytes(
com.google.protobuf.ByteString value) {
copyOnWrite();
instance.setDescriptionBytes(value);
return this;
}
/**
* <code>.com.newsbreak.monetization.common.OsType os = 6;</code>
* @return The enum numeric value on the wire for os.
*/
@java.lang.Override
public int getOsValue() {
return instance.getOsValue();
}
/**
* <code>.com.newsbreak.monetization.common.OsType os = 6;</code>
* @param value The os to set.
* @return This builder for chaining.
*/
public Builder setOsValue(int value) {
copyOnWrite();
instance.setOsValue(value);
return this;
}
/**
* <code>.com.newsbreak.monetization.common.OsType os = 6;</code>
* @return The os.
*/
@java.lang.Override
public com.particles.mes.protos.OsType getOs() {
return instance.getOs();
}
/**
* <code>.com.newsbreak.monetization.common.OsType os = 6;</code>
* @param value The enum numeric value on the wire for os to set.
* @return This builder for chaining.
*/
public Builder setOs(com.particles.mes.protos.OsType value) {
copyOnWrite();
instance.setOs(value);
return this;
}
/**
* <code>.com.newsbreak.monetization.common.OsType os = 6;</code>
* @return This builder for chaining.
*/
public Builder clearOs() {
copyOnWrite();
instance.clearOs();
return this;
}
/**
* <code>string org = 7;</code>
* @return The org.
*/
@java.lang.Override
public java.lang.String getOrg() {
return instance.getOrg();
}
/**
* <code>string org = 7;</code>
* @return The bytes for org.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getOrgBytes() {
return instance.getOrgBytes();
}
/**
* <code>string org = 7;</code>
* @param value The org to set.
* @return This builder for chaining.
*/
public Builder setOrg(
java.lang.String value) {
copyOnWrite();
instance.setOrg(value);
return this;
}
/**
* <code>string org = 7;</code>
* @return This builder for chaining.
*/
public Builder clearOrg() {
copyOnWrite();
instance.clearOrg();
return this;
}
/**
* <code>string org = 7;</code>
* @param value The bytes for org to set.
* @return This builder for chaining.
*/
public Builder setOrgBytes(
com.google.protobuf.ByteString value) {
copyOnWrite();
instance.setOrgBytes(value);
return this;
}
/**
* <code>string app = 8;</code>
* @return The app.
*/
@java.lang.Override
public java.lang.String getApp() {
return instance.getApp();
}
/**
* <code>string app = 8;</code>
* @return The bytes for app.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getAppBytes() {
return instance.getAppBytes();
}
/**
* <code>string app = 8;</code>
* @param value The app to set.
* @return This builder for chaining.
*/
public Builder setApp(
java.lang.String value) {
copyOnWrite();
instance.setApp(value);
return this;
}
/**
* <code>string app = 8;</code>
* @return This builder for chaining.
*/
public Builder clearApp() {
copyOnWrite();
instance.clearApp();
return this;
}
/**
* <code>string app = 8;</code>
* @param value The bytes for app to set.
* @return This builder for chaining.
*/
public Builder setAppBytes(
com.google.protobuf.ByteString value) {
copyOnWrite();
instance.setAppBytes(value);
return this;
}
/**
* <code>string msp_sdk_version = 9;</code>
* @return The mspSdkVersion.
*/
@java.lang.Override
public java.lang.String getMspSdkVersion() {
return instance.getMspSdkVersion();
}
/**
* <code>string msp_sdk_version = 9;</code>
* @return The bytes for mspSdkVersion.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getMspSdkVersionBytes() {
return instance.getMspSdkVersionBytes();
}
/**
* <code>string msp_sdk_version = 9;</code>
* @param value The mspSdkVersion to set.
* @return This builder for chaining.
*/
public Builder setMspSdkVersion(
java.lang.String value) {
copyOnWrite();
instance.setMspSdkVersion(value);
return this;
}
/**
* <code>string msp_sdk_version = 9;</code>
* @return This builder for chaining.
*/
public Builder clearMspSdkVersion() {
copyOnWrite();
instance.clearMspSdkVersion();
return this;
}
/**
* <code>string msp_sdk_version = 9;</code>
* @param value The bytes for mspSdkVersion to set.
* @return This builder for chaining.
*/
public Builder setMspSdkVersionBytes(
com.google.protobuf.ByteString value) {
copyOnWrite();
instance.setMspSdkVersionBytes(value);
return this;
}
// @@protoc_insertion_point(builder_scope:com.newsbreak.mes.events.AdReportEvent)
}
private byte memoizedIsInitialized = 2;
@java.lang.Override
@java.lang.SuppressWarnings({"unchecked", "fallthrough"})
protected final java.lang.Object dynamicMethod(
com.google.protobuf.GeneratedMessageLite.MethodToInvoke method,
java.lang.Object arg0, java.lang.Object arg1) {
switch (method) {
case NEW_MUTABLE_INSTANCE: {
return new com.particles.mes.protos.AdReportEvent();
}
case NEW_BUILDER: {
return new Builder();
}
case BUILD_MESSAGE_INFO: {
java.lang.Object[] objects = new java.lang.Object[] {
"tsMs_",
"requestContext_",
"ad_",
"reason_",
"description_",
"os_",
"org_",
"app_",
"mspSdkVersion_",
};
java.lang.String info =
"\u0000\t\u0000\u0000\u0001\t\t\u0000\u0000\u0002\u0001\u0003\u0002\u0409\u0003\u0409" +
"\u0004\u0208\u0005\u0208\u0006\f\u0007\u0208\b\u0208\t\u0208";
return newMessageInfo(DEFAULT_INSTANCE, info, objects);
}
// fall through
case GET_DEFAULT_INSTANCE: {
return DEFAULT_INSTANCE;
}
case GET_PARSER: {
com.google.protobuf.Parser<com.particles.mes.protos.AdReportEvent> parser = PARSER;
if (parser == null) {
synchronized (com.particles.mes.protos.AdReportEvent.class) {
parser = PARSER;
if (parser == null) {
parser =
new DefaultInstanceBasedParser<com.particles.mes.protos.AdReportEvent>(
DEFAULT_INSTANCE);
PARSER = parser;
}
}
}
return parser;
}
case GET_MEMOIZED_IS_INITIALIZED: {
return memoizedIsInitialized;
}
case SET_MEMOIZED_IS_INITIALIZED: {
memoizedIsInitialized = (byte) (arg0 == null ? 0 : 1);
return null;
}
}
throw new UnsupportedOperationException();
}
// @@protoc_insertion_point(class_scope:com.newsbreak.mes.events.AdReportEvent)
private static final com.particles.mes.protos.AdReportEvent DEFAULT_INSTANCE;
static {
AdReportEvent defaultInstance = new AdReportEvent();
// New instances are implicitly immutable so no need to make
// immutable.
DEFAULT_INSTANCE = defaultInstance;
com.google.protobuf.GeneratedMessageLite.registerDefaultInstance(
AdReportEvent.class, defaultInstance);
}
public static com.particles.mes.protos.AdReportEvent getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static volatile com.google.protobuf.Parser<AdReportEvent> PARSER;
public static com.google.protobuf.Parser<AdReportEvent> parser() {
return DEFAULT_INSTANCE.getParserForType();
}
}
|
0 | java-sources/ai/themsp/mes-android-sdk/0.15.0/main/com/particles/mes | java-sources/ai/themsp/mes-android-sdk/0.15.0/main/com/particles/mes/protos/AdReportEventOrBuilder.java | // Generated by the protocol buffer compiler. DO NOT EDIT!
// source: mes_events/ad_report.proto
package com.particles.mes.protos;
public interface AdReportEventOrBuilder extends
// @@protoc_insertion_point(interface_extends:com.newsbreak.mes.events.AdReportEvent)
com.google.protobuf.MessageLiteOrBuilder {
/**
* <code>uint64 ts_ms = 1;</code>
* @return The tsMs.
*/
long getTsMs();
/**
* <code>.com.newsbreak.monetization.common.RequestContext request_context = 2;</code>
* @return Whether the requestContext field is set.
*/
boolean hasRequestContext();
/**
* <code>.com.newsbreak.monetization.common.RequestContext request_context = 2;</code>
* @return The requestContext.
*/
com.particles.mes.protos.RequestContext getRequestContext();
/**
* <code>.com.newsbreak.monetization.common.Ad ad = 3;</code>
* @return Whether the ad field is set.
*/
boolean hasAd();
/**
* <code>.com.newsbreak.monetization.common.Ad ad = 3;</code>
* @return The ad.
*/
com.particles.mes.protos.Ad getAd();
/**
* <code>string reason = 4;</code>
* @return The reason.
*/
java.lang.String getReason();
/**
* <code>string reason = 4;</code>
* @return The bytes for reason.
*/
com.google.protobuf.ByteString
getReasonBytes();
/**
* <code>string description = 5;</code>
* @return The description.
*/
java.lang.String getDescription();
/**
* <code>string description = 5;</code>
* @return The bytes for description.
*/
com.google.protobuf.ByteString
getDescriptionBytes();
/**
* <code>.com.newsbreak.monetization.common.OsType os = 6;</code>
* @return The enum numeric value on the wire for os.
*/
int getOsValue();
/**
* <code>.com.newsbreak.monetization.common.OsType os = 6;</code>
* @return The os.
*/
com.particles.mes.protos.OsType getOs();
/**
* <code>string org = 7;</code>
* @return The org.
*/
java.lang.String getOrg();
/**
* <code>string org = 7;</code>
* @return The bytes for org.
*/
com.google.protobuf.ByteString
getOrgBytes();
/**
* <code>string app = 8;</code>
* @return The app.
*/
java.lang.String getApp();
/**
* <code>string app = 8;</code>
* @return The bytes for app.
*/
com.google.protobuf.ByteString
getAppBytes();
/**
* <code>string msp_sdk_version = 9;</code>
* @return The mspSdkVersion.
*/
java.lang.String getMspSdkVersion();
/**
* <code>string msp_sdk_version = 9;</code>
* @return The bytes for mspSdkVersion.
*/
com.google.protobuf.ByteString
getMspSdkVersionBytes();
}
|
0 | java-sources/ai/themsp/mes-android-sdk/0.15.0/main/com/particles/mes | java-sources/ai/themsp/mes-android-sdk/0.15.0/main/com/particles/mes/protos/AdReportEvents.java | // Generated by the protocol buffer compiler. DO NOT EDIT!
// source: mes_events/ad_report.proto
package com.particles.mes.protos;
public final class AdReportEvents {
private AdReportEvents() {}
public static void registerAllExtensions(
com.google.protobuf.ExtensionRegistryLite registry) {
}
static {
}
// @@protoc_insertion_point(outer_class_scope)
}
|
0 | java-sources/ai/themsp/mes-android-sdk/0.15.0/main/com/particles/mes | java-sources/ai/themsp/mes-android-sdk/0.15.0/main/com/particles/mes/protos/AdRequest.java | // Generated by the protocol buffer compiler. DO NOT EDIT!
// source: mes_events/ad_request.proto
package com.particles.mes.protos;
/**
* <pre>
* this event is called before request sent, enabled only if sampling flag is on
* </pre>
*
* Protobuf type {@code com.newsbreak.mes.events.AdRequest}
*/
public final class AdRequest extends
com.google.protobuf.GeneratedMessageLite<
AdRequest, AdRequest.Builder> implements
// @@protoc_insertion_point(message_implements:com.newsbreak.mes.events.AdRequest)
AdRequestOrBuilder {
private AdRequest() {
org_ = "";
app_ = "";
mspSdkVersion_ = "";
}
public static final int CLIENT_TS_MS_FIELD_NUMBER = 1;
private long clientTsMs_;
/**
* <code>uint64 client_ts_ms = 1;</code>
* @return The clientTsMs.
*/
@java.lang.Override
public long getClientTsMs() {
return clientTsMs_;
}
/**
* <code>uint64 client_ts_ms = 1;</code>
* @param value The clientTsMs to set.
*/
private void setClientTsMs(long value) {
clientTsMs_ = value;
}
/**
* <code>uint64 client_ts_ms = 1;</code>
*/
private void clearClientTsMs() {
clientTsMs_ = 0L;
}
public static final int SERVER_TS_MS_FIELD_NUMBER = 2;
private long serverTsMs_;
/**
* <code>uint64 server_ts_ms = 2;</code>
* @return The serverTsMs.
*/
@java.lang.Override
public long getServerTsMs() {
return serverTsMs_;
}
/**
* <code>uint64 server_ts_ms = 2;</code>
* @param value The serverTsMs to set.
*/
private void setServerTsMs(long value) {
serverTsMs_ = value;
}
/**
* <code>uint64 server_ts_ms = 2;</code>
*/
private void clearServerTsMs() {
serverTsMs_ = 0L;
}
public static final int REQUEST_CONTEXT_FIELD_NUMBER = 3;
private com.particles.mes.protos.RequestContext requestContext_;
/**
* <code>.com.newsbreak.monetization.common.RequestContext request_context = 3;</code>
*/
@java.lang.Override
public boolean hasRequestContext() {
return requestContext_ != null;
}
/**
* <code>.com.newsbreak.monetization.common.RequestContext request_context = 3;</code>
*/
@java.lang.Override
public com.particles.mes.protos.RequestContext getRequestContext() {
return requestContext_ == null ? com.particles.mes.protos.RequestContext.getDefaultInstance() : requestContext_;
}
/**
* <code>.com.newsbreak.monetization.common.RequestContext request_context = 3;</code>
*/
private void setRequestContext(com.particles.mes.protos.RequestContext value) {
value.getClass();
requestContext_ = value;
}
/**
* <code>.com.newsbreak.monetization.common.RequestContext request_context = 3;</code>
*/
@java.lang.SuppressWarnings({"ReferenceEquality"})
private void mergeRequestContext(com.particles.mes.protos.RequestContext value) {
value.getClass();
if (requestContext_ != null &&
requestContext_ != com.particles.mes.protos.RequestContext.getDefaultInstance()) {
requestContext_ =
com.particles.mes.protos.RequestContext.newBuilder(requestContext_).mergeFrom(value).buildPartial();
} else {
requestContext_ = value;
}
}
/**
* <code>.com.newsbreak.monetization.common.RequestContext request_context = 3;</code>
*/
private void clearRequestContext() { requestContext_ = null;
}
public static final int OS_FIELD_NUMBER = 4;
private int os_;
/**
* <code>.com.newsbreak.monetization.common.OsType os = 4;</code>
* @return The enum numeric value on the wire for os.
*/
@java.lang.Override
public int getOsValue() {
return os_;
}
/**
* <code>.com.newsbreak.monetization.common.OsType os = 4;</code>
* @return The os.
*/
@java.lang.Override
public com.particles.mes.protos.OsType getOs() {
com.particles.mes.protos.OsType result = com.particles.mes.protos.OsType.forNumber(os_);
return result == null ? com.particles.mes.protos.OsType.UNRECOGNIZED : result;
}
/**
* <code>.com.newsbreak.monetization.common.OsType os = 4;</code>
* @param value The enum numeric value on the wire for os to set.
*/
private void setOsValue(int value) {
os_ = value;
}
/**
* <code>.com.newsbreak.monetization.common.OsType os = 4;</code>
* @param value The os to set.
*/
private void setOs(com.particles.mes.protos.OsType value) {
os_ = value.getNumber();
}
/**
* <code>.com.newsbreak.monetization.common.OsType os = 4;</code>
*/
private void clearOs() {
os_ = 0;
}
public static final int ORG_FIELD_NUMBER = 5;
private java.lang.String org_;
/**
* <code>string org = 5;</code>
* @return The org.
*/
@java.lang.Override
public java.lang.String getOrg() {
return org_;
}
/**
* <code>string org = 5;</code>
* @return The bytes for org.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getOrgBytes() {
return com.google.protobuf.ByteString.copyFromUtf8(org_);
}
/**
* <code>string org = 5;</code>
* @param value The org to set.
*/
private void setOrg(
java.lang.String value) {
java.lang.Class<?> valueClass = value.getClass();
org_ = value;
}
/**
* <code>string org = 5;</code>
*/
private void clearOrg() {
org_ = getDefaultInstance().getOrg();
}
/**
* <code>string org = 5;</code>
* @param value The bytes for org to set.
*/
private void setOrgBytes(
com.google.protobuf.ByteString value) {
checkByteStringIsUtf8(value);
org_ = value.toStringUtf8();
}
public static final int APP_FIELD_NUMBER = 6;
private java.lang.String app_;
/**
* <code>string app = 6;</code>
* @return The app.
*/
@java.lang.Override
public java.lang.String getApp() {
return app_;
}
/**
* <code>string app = 6;</code>
* @return The bytes for app.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getAppBytes() {
return com.google.protobuf.ByteString.copyFromUtf8(app_);
}
/**
* <code>string app = 6;</code>
* @param value The app to set.
*/
private void setApp(
java.lang.String value) {
java.lang.Class<?> valueClass = value.getClass();
app_ = value;
}
/**
* <code>string app = 6;</code>
*/
private void clearApp() {
app_ = getDefaultInstance().getApp();
}
/**
* <code>string app = 6;</code>
* @param value The bytes for app to set.
*/
private void setAppBytes(
com.google.protobuf.ByteString value) {
checkByteStringIsUtf8(value);
app_ = value.toStringUtf8();
}
public static final int MSP_SDK_VERSION_FIELD_NUMBER = 7;
private java.lang.String mspSdkVersion_;
/**
* <code>string msp_sdk_version = 7;</code>
* @return The mspSdkVersion.
*/
@java.lang.Override
public java.lang.String getMspSdkVersion() {
return mspSdkVersion_;
}
/**
* <code>string msp_sdk_version = 7;</code>
* @return The bytes for mspSdkVersion.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getMspSdkVersionBytes() {
return com.google.protobuf.ByteString.copyFromUtf8(mspSdkVersion_);
}
/**
* <code>string msp_sdk_version = 7;</code>
* @param value The mspSdkVersion to set.
*/
private void setMspSdkVersion(
java.lang.String value) {
java.lang.Class<?> valueClass = value.getClass();
mspSdkVersion_ = value;
}
/**
* <code>string msp_sdk_version = 7;</code>
*/
private void clearMspSdkVersion() {
mspSdkVersion_ = getDefaultInstance().getMspSdkVersion();
}
/**
* <code>string msp_sdk_version = 7;</code>
* @param value The bytes for mspSdkVersion to set.
*/
private void setMspSdkVersionBytes(
com.google.protobuf.ByteString value) {
checkByteStringIsUtf8(value);
mspSdkVersion_ = value.toStringUtf8();
}
public static com.particles.mes.protos.AdRequest parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, data);
}
public static com.particles.mes.protos.AdRequest parseFrom(
java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, data, extensionRegistry);
}
public static com.particles.mes.protos.AdRequest parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, data);
}
public static com.particles.mes.protos.AdRequest parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, data, extensionRegistry);
}
public static com.particles.mes.protos.AdRequest parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, data);
}
public static com.particles.mes.protos.AdRequest parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, data, extensionRegistry);
}
public static com.particles.mes.protos.AdRequest parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, input);
}
public static com.particles.mes.protos.AdRequest parseFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, input, extensionRegistry);
}
public static com.particles.mes.protos.AdRequest parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return parseDelimitedFrom(DEFAULT_INSTANCE, input);
}
public static com.particles.mes.protos.AdRequest parseDelimitedFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return parseDelimitedFrom(DEFAULT_INSTANCE, input, extensionRegistry);
}
public static com.particles.mes.protos.AdRequest parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, input);
}
public static com.particles.mes.protos.AdRequest parseFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, input, extensionRegistry);
}
public static Builder newBuilder() {
return (Builder) DEFAULT_INSTANCE.createBuilder();
}
public static Builder newBuilder(com.particles.mes.protos.AdRequest prototype) {
return (Builder) DEFAULT_INSTANCE.createBuilder(prototype);
}
/**
* <pre>
* this event is called before request sent, enabled only if sampling flag is on
* </pre>
*
* Protobuf type {@code com.newsbreak.mes.events.AdRequest}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageLite.Builder<
com.particles.mes.protos.AdRequest, Builder> implements
// @@protoc_insertion_point(builder_implements:com.newsbreak.mes.events.AdRequest)
com.particles.mes.protos.AdRequestOrBuilder {
// Construct using com.particles.mes.protos.AdRequest.newBuilder()
private Builder() {
super(DEFAULT_INSTANCE);
}
/**
* <code>uint64 client_ts_ms = 1;</code>
* @return The clientTsMs.
*/
@java.lang.Override
public long getClientTsMs() {
return instance.getClientTsMs();
}
/**
* <code>uint64 client_ts_ms = 1;</code>
* @param value The clientTsMs to set.
* @return This builder for chaining.
*/
public Builder setClientTsMs(long value) {
copyOnWrite();
instance.setClientTsMs(value);
return this;
}
/**
* <code>uint64 client_ts_ms = 1;</code>
* @return This builder for chaining.
*/
public Builder clearClientTsMs() {
copyOnWrite();
instance.clearClientTsMs();
return this;
}
/**
* <code>uint64 server_ts_ms = 2;</code>
* @return The serverTsMs.
*/
@java.lang.Override
public long getServerTsMs() {
return instance.getServerTsMs();
}
/**
* <code>uint64 server_ts_ms = 2;</code>
* @param value The serverTsMs to set.
* @return This builder for chaining.
*/
public Builder setServerTsMs(long value) {
copyOnWrite();
instance.setServerTsMs(value);
return this;
}
/**
* <code>uint64 server_ts_ms = 2;</code>
* @return This builder for chaining.
*/
public Builder clearServerTsMs() {
copyOnWrite();
instance.clearServerTsMs();
return this;
}
/**
* <code>.com.newsbreak.monetization.common.RequestContext request_context = 3;</code>
*/
@java.lang.Override
public boolean hasRequestContext() {
return instance.hasRequestContext();
}
/**
* <code>.com.newsbreak.monetization.common.RequestContext request_context = 3;</code>
*/
@java.lang.Override
public com.particles.mes.protos.RequestContext getRequestContext() {
return instance.getRequestContext();
}
/**
* <code>.com.newsbreak.monetization.common.RequestContext request_context = 3;</code>
*/
public Builder setRequestContext(com.particles.mes.protos.RequestContext value) {
copyOnWrite();
instance.setRequestContext(value);
return this;
}
/**
* <code>.com.newsbreak.monetization.common.RequestContext request_context = 3;</code>
*/
public Builder setRequestContext(
com.particles.mes.protos.RequestContext.Builder builderForValue) {
copyOnWrite();
instance.setRequestContext(builderForValue.build());
return this;
}
/**
* <code>.com.newsbreak.monetization.common.RequestContext request_context = 3;</code>
*/
public Builder mergeRequestContext(com.particles.mes.protos.RequestContext value) {
copyOnWrite();
instance.mergeRequestContext(value);
return this;
}
/**
* <code>.com.newsbreak.monetization.common.RequestContext request_context = 3;</code>
*/
public Builder clearRequestContext() { copyOnWrite();
instance.clearRequestContext();
return this;
}
/**
* <code>.com.newsbreak.monetization.common.OsType os = 4;</code>
* @return The enum numeric value on the wire for os.
*/
@java.lang.Override
public int getOsValue() {
return instance.getOsValue();
}
/**
* <code>.com.newsbreak.monetization.common.OsType os = 4;</code>
* @param value The os to set.
* @return This builder for chaining.
*/
public Builder setOsValue(int value) {
copyOnWrite();
instance.setOsValue(value);
return this;
}
/**
* <code>.com.newsbreak.monetization.common.OsType os = 4;</code>
* @return The os.
*/
@java.lang.Override
public com.particles.mes.protos.OsType getOs() {
return instance.getOs();
}
/**
* <code>.com.newsbreak.monetization.common.OsType os = 4;</code>
* @param value The enum numeric value on the wire for os to set.
* @return This builder for chaining.
*/
public Builder setOs(com.particles.mes.protos.OsType value) {
copyOnWrite();
instance.setOs(value);
return this;
}
/**
* <code>.com.newsbreak.monetization.common.OsType os = 4;</code>
* @return This builder for chaining.
*/
public Builder clearOs() {
copyOnWrite();
instance.clearOs();
return this;
}
/**
* <code>string org = 5;</code>
* @return The org.
*/
@java.lang.Override
public java.lang.String getOrg() {
return instance.getOrg();
}
/**
* <code>string org = 5;</code>
* @return The bytes for org.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getOrgBytes() {
return instance.getOrgBytes();
}
/**
* <code>string org = 5;</code>
* @param value The org to set.
* @return This builder for chaining.
*/
public Builder setOrg(
java.lang.String value) {
copyOnWrite();
instance.setOrg(value);
return this;
}
/**
* <code>string org = 5;</code>
* @return This builder for chaining.
*/
public Builder clearOrg() {
copyOnWrite();
instance.clearOrg();
return this;
}
/**
* <code>string org = 5;</code>
* @param value The bytes for org to set.
* @return This builder for chaining.
*/
public Builder setOrgBytes(
com.google.protobuf.ByteString value) {
copyOnWrite();
instance.setOrgBytes(value);
return this;
}
/**
* <code>string app = 6;</code>
* @return The app.
*/
@java.lang.Override
public java.lang.String getApp() {
return instance.getApp();
}
/**
* <code>string app = 6;</code>
* @return The bytes for app.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getAppBytes() {
return instance.getAppBytes();
}
/**
* <code>string app = 6;</code>
* @param value The app to set.
* @return This builder for chaining.
*/
public Builder setApp(
java.lang.String value) {
copyOnWrite();
instance.setApp(value);
return this;
}
/**
* <code>string app = 6;</code>
* @return This builder for chaining.
*/
public Builder clearApp() {
copyOnWrite();
instance.clearApp();
return this;
}
/**
* <code>string app = 6;</code>
* @param value The bytes for app to set.
* @return This builder for chaining.
*/
public Builder setAppBytes(
com.google.protobuf.ByteString value) {
copyOnWrite();
instance.setAppBytes(value);
return this;
}
/**
* <code>string msp_sdk_version = 7;</code>
* @return The mspSdkVersion.
*/
@java.lang.Override
public java.lang.String getMspSdkVersion() {
return instance.getMspSdkVersion();
}
/**
* <code>string msp_sdk_version = 7;</code>
* @return The bytes for mspSdkVersion.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getMspSdkVersionBytes() {
return instance.getMspSdkVersionBytes();
}
/**
* <code>string msp_sdk_version = 7;</code>
* @param value The mspSdkVersion to set.
* @return This builder for chaining.
*/
public Builder setMspSdkVersion(
java.lang.String value) {
copyOnWrite();
instance.setMspSdkVersion(value);
return this;
}
/**
* <code>string msp_sdk_version = 7;</code>
* @return This builder for chaining.
*/
public Builder clearMspSdkVersion() {
copyOnWrite();
instance.clearMspSdkVersion();
return this;
}
/**
* <code>string msp_sdk_version = 7;</code>
* @param value The bytes for mspSdkVersion to set.
* @return This builder for chaining.
*/
public Builder setMspSdkVersionBytes(
com.google.protobuf.ByteString value) {
copyOnWrite();
instance.setMspSdkVersionBytes(value);
return this;
}
// @@protoc_insertion_point(builder_scope:com.newsbreak.mes.events.AdRequest)
}
private byte memoizedIsInitialized = 2;
@java.lang.Override
@java.lang.SuppressWarnings({"unchecked", "fallthrough"})
protected final java.lang.Object dynamicMethod(
com.google.protobuf.GeneratedMessageLite.MethodToInvoke method,
java.lang.Object arg0, java.lang.Object arg1) {
switch (method) {
case NEW_MUTABLE_INSTANCE: {
return new com.particles.mes.protos.AdRequest();
}
case NEW_BUILDER: {
return new Builder();
}
case BUILD_MESSAGE_INFO: {
java.lang.Object[] objects = new java.lang.Object[] {
"clientTsMs_",
"serverTsMs_",
"requestContext_",
"os_",
"org_",
"app_",
"mspSdkVersion_",
};
java.lang.String info =
"\u0000\u0007\u0000\u0000\u0001\u0007\u0007\u0000\u0000\u0001\u0001\u0003\u0002\u0003" +
"\u0003\u0409\u0004\f\u0005\u0208\u0006\u0208\u0007\u0208";
return newMessageInfo(DEFAULT_INSTANCE, info, objects);
}
// fall through
case GET_DEFAULT_INSTANCE: {
return DEFAULT_INSTANCE;
}
case GET_PARSER: {
com.google.protobuf.Parser<com.particles.mes.protos.AdRequest> parser = PARSER;
if (parser == null) {
synchronized (com.particles.mes.protos.AdRequest.class) {
parser = PARSER;
if (parser == null) {
parser =
new DefaultInstanceBasedParser<com.particles.mes.protos.AdRequest>(
DEFAULT_INSTANCE);
PARSER = parser;
}
}
}
return parser;
}
case GET_MEMOIZED_IS_INITIALIZED: {
return memoizedIsInitialized;
}
case SET_MEMOIZED_IS_INITIALIZED: {
memoizedIsInitialized = (byte) (arg0 == null ? 0 : 1);
return null;
}
}
throw new UnsupportedOperationException();
}
// @@protoc_insertion_point(class_scope:com.newsbreak.mes.events.AdRequest)
private static final com.particles.mes.protos.AdRequest DEFAULT_INSTANCE;
static {
AdRequest defaultInstance = new AdRequest();
// New instances are implicitly immutable so no need to make
// immutable.
DEFAULT_INSTANCE = defaultInstance;
com.google.protobuf.GeneratedMessageLite.registerDefaultInstance(
AdRequest.class, defaultInstance);
}
public static com.particles.mes.protos.AdRequest getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static volatile com.google.protobuf.Parser<AdRequest> PARSER;
public static com.google.protobuf.Parser<AdRequest> parser() {
return DEFAULT_INSTANCE.getParserForType();
}
}
|
0 | java-sources/ai/themsp/mes-android-sdk/0.15.0/main/com/particles/mes | java-sources/ai/themsp/mes-android-sdk/0.15.0/main/com/particles/mes/protos/AdRequestEvents.java | // Generated by the protocol buffer compiler. DO NOT EDIT!
// source: mes_events/ad_request.proto
package com.particles.mes.protos;
public final class AdRequestEvents {
private AdRequestEvents() {}
public static void registerAllExtensions(
com.google.protobuf.ExtensionRegistryLite registry) {
}
static {
}
// @@protoc_insertion_point(outer_class_scope)
}
|
0 | java-sources/ai/themsp/mes-android-sdk/0.15.0/main/com/particles/mes | java-sources/ai/themsp/mes-android-sdk/0.15.0/main/com/particles/mes/protos/AdRequestOrBuilder.java | // Generated by the protocol buffer compiler. DO NOT EDIT!
// source: mes_events/ad_request.proto
package com.particles.mes.protos;
public interface AdRequestOrBuilder extends
// @@protoc_insertion_point(interface_extends:com.newsbreak.mes.events.AdRequest)
com.google.protobuf.MessageLiteOrBuilder {
/**
* <code>uint64 client_ts_ms = 1;</code>
* @return The clientTsMs.
*/
long getClientTsMs();
/**
* <code>uint64 server_ts_ms = 2;</code>
* @return The serverTsMs.
*/
long getServerTsMs();
/**
* <code>.com.newsbreak.monetization.common.RequestContext request_context = 3;</code>
* @return Whether the requestContext field is set.
*/
boolean hasRequestContext();
/**
* <code>.com.newsbreak.monetization.common.RequestContext request_context = 3;</code>
* @return The requestContext.
*/
com.particles.mes.protos.RequestContext getRequestContext();
/**
* <code>.com.newsbreak.monetization.common.OsType os = 4;</code>
* @return The enum numeric value on the wire for os.
*/
int getOsValue();
/**
* <code>.com.newsbreak.monetization.common.OsType os = 4;</code>
* @return The os.
*/
com.particles.mes.protos.OsType getOs();
/**
* <code>string org = 5;</code>
* @return The org.
*/
java.lang.String getOrg();
/**
* <code>string org = 5;</code>
* @return The bytes for org.
*/
com.google.protobuf.ByteString
getOrgBytes();
/**
* <code>string app = 6;</code>
* @return The app.
*/
java.lang.String getApp();
/**
* <code>string app = 6;</code>
* @return The bytes for app.
*/
com.google.protobuf.ByteString
getAppBytes();
/**
* <code>string msp_sdk_version = 7;</code>
* @return The mspSdkVersion.
*/
java.lang.String getMspSdkVersion();
/**
* <code>string msp_sdk_version = 7;</code>
* @return The bytes for mspSdkVersion.
*/
com.google.protobuf.ByteString
getMspSdkVersionBytes();
}
|
0 | java-sources/ai/themsp/mes-android-sdk/0.15.0/main/com/particles/mes | java-sources/ai/themsp/mes-android-sdk/0.15.0/main/com/particles/mes/protos/AdResponse.java | // Generated by the protocol buffer compiler. DO NOT EDIT!
// source: mes_events/ad_response.proto
package com.particles.mes.protos;
/**
* <pre>
* Received an Ad from network(remote) request
* The Ad can be from:
* 1. load creative via third-party Ads SDK (s2s: fb, gg, nova, etc)
* 2. prebid bid response (s2s: prebid)
* 3. client(c2s) bidders
* </pre>
*
* Protobuf type {@code com.newsbreak.mes.events.AdResponse}
*/
public final class AdResponse extends
com.google.protobuf.GeneratedMessageLite<
AdResponse, AdResponse.Builder> implements
// @@protoc_insertion_point(message_implements:com.newsbreak.mes.events.AdResponse)
AdResponseOrBuilder {
private AdResponse() {
org_ = "";
app_ = "";
mspSdkVersion_ = "";
errorMessage_ = "";
}
private int bitField0_;
public static final int CLIENT_TS_MS_FIELD_NUMBER = 1;
private long clientTsMs_;
/**
* <code>uint64 client_ts_ms = 1;</code>
* @return The clientTsMs.
*/
@java.lang.Override
public long getClientTsMs() {
return clientTsMs_;
}
/**
* <code>uint64 client_ts_ms = 1;</code>
* @param value The clientTsMs to set.
*/
private void setClientTsMs(long value) {
clientTsMs_ = value;
}
/**
* <code>uint64 client_ts_ms = 1;</code>
*/
private void clearClientTsMs() {
clientTsMs_ = 0L;
}
public static final int SERVER_TS_MS_FIELD_NUMBER = 2;
private long serverTsMs_;
/**
* <code>uint64 server_ts_ms = 2;</code>
* @return The serverTsMs.
*/
@java.lang.Override
public long getServerTsMs() {
return serverTsMs_;
}
/**
* <code>uint64 server_ts_ms = 2;</code>
* @param value The serverTsMs to set.
*/
private void setServerTsMs(long value) {
serverTsMs_ = value;
}
/**
* <code>uint64 server_ts_ms = 2;</code>
*/
private void clearServerTsMs() {
serverTsMs_ = 0L;
}
public static final int REQUEST_CONTEXT_FIELD_NUMBER = 3;
private com.particles.mes.protos.RequestContext requestContext_;
/**
* <code>.com.newsbreak.monetization.common.RequestContext request_context = 3;</code>
*/
@java.lang.Override
public boolean hasRequestContext() {
return requestContext_ != null;
}
/**
* <code>.com.newsbreak.monetization.common.RequestContext request_context = 3;</code>
*/
@java.lang.Override
public com.particles.mes.protos.RequestContext getRequestContext() {
return requestContext_ == null ? com.particles.mes.protos.RequestContext.getDefaultInstance() : requestContext_;
}
/**
* <code>.com.newsbreak.monetization.common.RequestContext request_context = 3;</code>
*/
private void setRequestContext(com.particles.mes.protos.RequestContext value) {
value.getClass();
requestContext_ = value;
}
/**
* <code>.com.newsbreak.monetization.common.RequestContext request_context = 3;</code>
*/
@java.lang.SuppressWarnings({"ReferenceEquality"})
private void mergeRequestContext(com.particles.mes.protos.RequestContext value) {
value.getClass();
if (requestContext_ != null &&
requestContext_ != com.particles.mes.protos.RequestContext.getDefaultInstance()) {
requestContext_ =
com.particles.mes.protos.RequestContext.newBuilder(requestContext_).mergeFrom(value).buildPartial();
} else {
requestContext_ = value;
}
}
/**
* <code>.com.newsbreak.monetization.common.RequestContext request_context = 3;</code>
*/
private void clearRequestContext() { requestContext_ = null;
}
public static final int OS_FIELD_NUMBER = 4;
private int os_;
/**
* <code>.com.newsbreak.monetization.common.OsType os = 4;</code>
* @return The enum numeric value on the wire for os.
*/
@java.lang.Override
public int getOsValue() {
return os_;
}
/**
* <code>.com.newsbreak.monetization.common.OsType os = 4;</code>
* @return The os.
*/
@java.lang.Override
public com.particles.mes.protos.OsType getOs() {
com.particles.mes.protos.OsType result = com.particles.mes.protos.OsType.forNumber(os_);
return result == null ? com.particles.mes.protos.OsType.UNRECOGNIZED : result;
}
/**
* <code>.com.newsbreak.monetization.common.OsType os = 4;</code>
* @param value The enum numeric value on the wire for os to set.
*/
private void setOsValue(int value) {
os_ = value;
}
/**
* <code>.com.newsbreak.monetization.common.OsType os = 4;</code>
* @param value The os to set.
*/
private void setOs(com.particles.mes.protos.OsType value) {
os_ = value.getNumber();
}
/**
* <code>.com.newsbreak.monetization.common.OsType os = 4;</code>
*/
private void clearOs() {
os_ = 0;
}
public static final int AD_FIELD_NUMBER = 5;
private com.particles.mes.protos.Ad ad_;
/**
* <code>optional .com.newsbreak.monetization.common.Ad ad = 5;</code>
*/
@java.lang.Override
public boolean hasAd() {
return ((bitField0_ & 0x00000001) != 0);
}
/**
* <code>optional .com.newsbreak.monetization.common.Ad ad = 5;</code>
*/
@java.lang.Override
public com.particles.mes.protos.Ad getAd() {
return ad_ == null ? com.particles.mes.protos.Ad.getDefaultInstance() : ad_;
}
/**
* <code>optional .com.newsbreak.monetization.common.Ad ad = 5;</code>
*/
private void setAd(com.particles.mes.protos.Ad value) {
value.getClass();
ad_ = value;
bitField0_ |= 0x00000001;
}
/**
* <code>optional .com.newsbreak.monetization.common.Ad ad = 5;</code>
*/
@java.lang.SuppressWarnings({"ReferenceEquality"})
private void mergeAd(com.particles.mes.protos.Ad value) {
value.getClass();
if (ad_ != null &&
ad_ != com.particles.mes.protos.Ad.getDefaultInstance()) {
ad_ =
com.particles.mes.protos.Ad.newBuilder(ad_).mergeFrom(value).buildPartial();
} else {
ad_ = value;
}
bitField0_ |= 0x00000001;
}
/**
* <code>optional .com.newsbreak.monetization.common.Ad ad = 5;</code>
*/
private void clearAd() { ad_ = null;
bitField0_ = (bitField0_ & ~0x00000001);
}
public static final int ORG_FIELD_NUMBER = 6;
private java.lang.String org_;
/**
* <code>string org = 6;</code>
* @return The org.
*/
@java.lang.Override
public java.lang.String getOrg() {
return org_;
}
/**
* <code>string org = 6;</code>
* @return The bytes for org.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getOrgBytes() {
return com.google.protobuf.ByteString.copyFromUtf8(org_);
}
/**
* <code>string org = 6;</code>
* @param value The org to set.
*/
private void setOrg(
java.lang.String value) {
java.lang.Class<?> valueClass = value.getClass();
org_ = value;
}
/**
* <code>string org = 6;</code>
*/
private void clearOrg() {
org_ = getDefaultInstance().getOrg();
}
/**
* <code>string org = 6;</code>
* @param value The bytes for org to set.
*/
private void setOrgBytes(
com.google.protobuf.ByteString value) {
checkByteStringIsUtf8(value);
org_ = value.toStringUtf8();
}
public static final int APP_FIELD_NUMBER = 7;
private java.lang.String app_;
/**
* <code>string app = 7;</code>
* @return The app.
*/
@java.lang.Override
public java.lang.String getApp() {
return app_;
}
/**
* <code>string app = 7;</code>
* @return The bytes for app.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getAppBytes() {
return com.google.protobuf.ByteString.copyFromUtf8(app_);
}
/**
* <code>string app = 7;</code>
* @param value The app to set.
*/
private void setApp(
java.lang.String value) {
java.lang.Class<?> valueClass = value.getClass();
app_ = value;
}
/**
* <code>string app = 7;</code>
*/
private void clearApp() {
app_ = getDefaultInstance().getApp();
}
/**
* <code>string app = 7;</code>
* @param value The bytes for app to set.
*/
private void setAppBytes(
com.google.protobuf.ByteString value) {
checkByteStringIsUtf8(value);
app_ = value.toStringUtf8();
}
public static final int MSP_SDK_VERSION_FIELD_NUMBER = 8;
private java.lang.String mspSdkVersion_;
/**
* <code>string msp_sdk_version = 8;</code>
* @return The mspSdkVersion.
*/
@java.lang.Override
public java.lang.String getMspSdkVersion() {
return mspSdkVersion_;
}
/**
* <code>string msp_sdk_version = 8;</code>
* @return The bytes for mspSdkVersion.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getMspSdkVersionBytes() {
return com.google.protobuf.ByteString.copyFromUtf8(mspSdkVersion_);
}
/**
* <code>string msp_sdk_version = 8;</code>
* @param value The mspSdkVersion to set.
*/
private void setMspSdkVersion(
java.lang.String value) {
java.lang.Class<?> valueClass = value.getClass();
mspSdkVersion_ = value;
}
/**
* <code>string msp_sdk_version = 8;</code>
*/
private void clearMspSdkVersion() {
mspSdkVersion_ = getDefaultInstance().getMspSdkVersion();
}
/**
* <code>string msp_sdk_version = 8;</code>
* @param value The bytes for mspSdkVersion to set.
*/
private void setMspSdkVersionBytes(
com.google.protobuf.ByteString value) {
checkByteStringIsUtf8(value);
mspSdkVersion_ = value.toStringUtf8();
}
public static final int LATENCY_FIELD_NUMBER = 9;
private int latency_;
/**
* <code>int32 latency = 9;</code>
* @return The latency.
*/
@java.lang.Override
public int getLatency() {
return latency_;
}
/**
* <code>int32 latency = 9;</code>
* @param value The latency to set.
*/
private void setLatency(int value) {
latency_ = value;
}
/**
* <code>int32 latency = 9;</code>
*/
private void clearLatency() {
latency_ = 0;
}
public static final int ERROR_CODE_FIELD_NUMBER = 10;
private int errorCode_;
/**
* <code>.com.newsbreak.monetization.common.ErrorCode error_code = 10;</code>
* @return The enum numeric value on the wire for errorCode.
*/
@java.lang.Override
public int getErrorCodeValue() {
return errorCode_;
}
/**
* <code>.com.newsbreak.monetization.common.ErrorCode error_code = 10;</code>
* @return The errorCode.
*/
@java.lang.Override
public com.particles.mes.protos.ErrorCode getErrorCode() {
com.particles.mes.protos.ErrorCode result = com.particles.mes.protos.ErrorCode.forNumber(errorCode_);
return result == null ? com.particles.mes.protos.ErrorCode.UNRECOGNIZED : result;
}
/**
* <code>.com.newsbreak.monetization.common.ErrorCode error_code = 10;</code>
* @param value The enum numeric value on the wire for errorCode to set.
*/
private void setErrorCodeValue(int value) {
errorCode_ = value;
}
/**
* <code>.com.newsbreak.monetization.common.ErrorCode error_code = 10;</code>
* @param value The errorCode to set.
*/
private void setErrorCode(com.particles.mes.protos.ErrorCode value) {
errorCode_ = value.getNumber();
}
/**
* <code>.com.newsbreak.monetization.common.ErrorCode error_code = 10;</code>
*/
private void clearErrorCode() {
errorCode_ = 0;
}
public static final int ERROR_MESSAGE_FIELD_NUMBER = 11;
private java.lang.String errorMessage_;
/**
* <code>optional string error_message = 11;</code>
* @return Whether the errorMessage field is set.
*/
@java.lang.Override
public boolean hasErrorMessage() {
return ((bitField0_ & 0x00000002) != 0);
}
/**
* <code>optional string error_message = 11;</code>
* @return The errorMessage.
*/
@java.lang.Override
public java.lang.String getErrorMessage() {
return errorMessage_;
}
/**
* <code>optional string error_message = 11;</code>
* @return The bytes for errorMessage.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getErrorMessageBytes() {
return com.google.protobuf.ByteString.copyFromUtf8(errorMessage_);
}
/**
* <code>optional string error_message = 11;</code>
* @param value The errorMessage to set.
*/
private void setErrorMessage(
java.lang.String value) {
java.lang.Class<?> valueClass = value.getClass();
bitField0_ |= 0x00000002;
errorMessage_ = value;
}
/**
* <code>optional string error_message = 11;</code>
*/
private void clearErrorMessage() {
bitField0_ = (bitField0_ & ~0x00000002);
errorMessage_ = getDefaultInstance().getErrorMessage();
}
/**
* <code>optional string error_message = 11;</code>
* @param value The bytes for errorMessage to set.
*/
private void setErrorMessageBytes(
com.google.protobuf.ByteString value) {
checkByteStringIsUtf8(value);
errorMessage_ = value.toStringUtf8();
bitField0_ |= 0x00000002;
}
public static com.particles.mes.protos.AdResponse parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, data);
}
public static com.particles.mes.protos.AdResponse parseFrom(
java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, data, extensionRegistry);
}
public static com.particles.mes.protos.AdResponse parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, data);
}
public static com.particles.mes.protos.AdResponse parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, data, extensionRegistry);
}
public static com.particles.mes.protos.AdResponse parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, data);
}
public static com.particles.mes.protos.AdResponse parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, data, extensionRegistry);
}
public static com.particles.mes.protos.AdResponse parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, input);
}
public static com.particles.mes.protos.AdResponse parseFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, input, extensionRegistry);
}
public static com.particles.mes.protos.AdResponse parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return parseDelimitedFrom(DEFAULT_INSTANCE, input);
}
public static com.particles.mes.protos.AdResponse parseDelimitedFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return parseDelimitedFrom(DEFAULT_INSTANCE, input, extensionRegistry);
}
public static com.particles.mes.protos.AdResponse parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, input);
}
public static com.particles.mes.protos.AdResponse parseFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, input, extensionRegistry);
}
public static Builder newBuilder() {
return (Builder) DEFAULT_INSTANCE.createBuilder();
}
public static Builder newBuilder(com.particles.mes.protos.AdResponse prototype) {
return (Builder) DEFAULT_INSTANCE.createBuilder(prototype);
}
/**
* <pre>
* Received an Ad from network(remote) request
* The Ad can be from:
* 1. load creative via third-party Ads SDK (s2s: fb, gg, nova, etc)
* 2. prebid bid response (s2s: prebid)
* 3. client(c2s) bidders
* </pre>
*
* Protobuf type {@code com.newsbreak.mes.events.AdResponse}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageLite.Builder<
com.particles.mes.protos.AdResponse, Builder> implements
// @@protoc_insertion_point(builder_implements:com.newsbreak.mes.events.AdResponse)
com.particles.mes.protos.AdResponseOrBuilder {
// Construct using com.particles.mes.protos.AdResponse.newBuilder()
private Builder() {
super(DEFAULT_INSTANCE);
}
/**
* <code>uint64 client_ts_ms = 1;</code>
* @return The clientTsMs.
*/
@java.lang.Override
public long getClientTsMs() {
return instance.getClientTsMs();
}
/**
* <code>uint64 client_ts_ms = 1;</code>
* @param value The clientTsMs to set.
* @return This builder for chaining.
*/
public Builder setClientTsMs(long value) {
copyOnWrite();
instance.setClientTsMs(value);
return this;
}
/**
* <code>uint64 client_ts_ms = 1;</code>
* @return This builder for chaining.
*/
public Builder clearClientTsMs() {
copyOnWrite();
instance.clearClientTsMs();
return this;
}
/**
* <code>uint64 server_ts_ms = 2;</code>
* @return The serverTsMs.
*/
@java.lang.Override
public long getServerTsMs() {
return instance.getServerTsMs();
}
/**
* <code>uint64 server_ts_ms = 2;</code>
* @param value The serverTsMs to set.
* @return This builder for chaining.
*/
public Builder setServerTsMs(long value) {
copyOnWrite();
instance.setServerTsMs(value);
return this;
}
/**
* <code>uint64 server_ts_ms = 2;</code>
* @return This builder for chaining.
*/
public Builder clearServerTsMs() {
copyOnWrite();
instance.clearServerTsMs();
return this;
}
/**
* <code>.com.newsbreak.monetization.common.RequestContext request_context = 3;</code>
*/
@java.lang.Override
public boolean hasRequestContext() {
return instance.hasRequestContext();
}
/**
* <code>.com.newsbreak.monetization.common.RequestContext request_context = 3;</code>
*/
@java.lang.Override
public com.particles.mes.protos.RequestContext getRequestContext() {
return instance.getRequestContext();
}
/**
* <code>.com.newsbreak.monetization.common.RequestContext request_context = 3;</code>
*/
public Builder setRequestContext(com.particles.mes.protos.RequestContext value) {
copyOnWrite();
instance.setRequestContext(value);
return this;
}
/**
* <code>.com.newsbreak.monetization.common.RequestContext request_context = 3;</code>
*/
public Builder setRequestContext(
com.particles.mes.protos.RequestContext.Builder builderForValue) {
copyOnWrite();
instance.setRequestContext(builderForValue.build());
return this;
}
/**
* <code>.com.newsbreak.monetization.common.RequestContext request_context = 3;</code>
*/
public Builder mergeRequestContext(com.particles.mes.protos.RequestContext value) {
copyOnWrite();
instance.mergeRequestContext(value);
return this;
}
/**
* <code>.com.newsbreak.monetization.common.RequestContext request_context = 3;</code>
*/
public Builder clearRequestContext() { copyOnWrite();
instance.clearRequestContext();
return this;
}
/**
* <code>.com.newsbreak.monetization.common.OsType os = 4;</code>
* @return The enum numeric value on the wire for os.
*/
@java.lang.Override
public int getOsValue() {
return instance.getOsValue();
}
/**
* <code>.com.newsbreak.monetization.common.OsType os = 4;</code>
* @param value The os to set.
* @return This builder for chaining.
*/
public Builder setOsValue(int value) {
copyOnWrite();
instance.setOsValue(value);
return this;
}
/**
* <code>.com.newsbreak.monetization.common.OsType os = 4;</code>
* @return The os.
*/
@java.lang.Override
public com.particles.mes.protos.OsType getOs() {
return instance.getOs();
}
/**
* <code>.com.newsbreak.monetization.common.OsType os = 4;</code>
* @param value The enum numeric value on the wire for os to set.
* @return This builder for chaining.
*/
public Builder setOs(com.particles.mes.protos.OsType value) {
copyOnWrite();
instance.setOs(value);
return this;
}
/**
* <code>.com.newsbreak.monetization.common.OsType os = 4;</code>
* @return This builder for chaining.
*/
public Builder clearOs() {
copyOnWrite();
instance.clearOs();
return this;
}
/**
* <code>optional .com.newsbreak.monetization.common.Ad ad = 5;</code>
*/
@java.lang.Override
public boolean hasAd() {
return instance.hasAd();
}
/**
* <code>optional .com.newsbreak.monetization.common.Ad ad = 5;</code>
*/
@java.lang.Override
public com.particles.mes.protos.Ad getAd() {
return instance.getAd();
}
/**
* <code>optional .com.newsbreak.monetization.common.Ad ad = 5;</code>
*/
public Builder setAd(com.particles.mes.protos.Ad value) {
copyOnWrite();
instance.setAd(value);
return this;
}
/**
* <code>optional .com.newsbreak.monetization.common.Ad ad = 5;</code>
*/
public Builder setAd(
com.particles.mes.protos.Ad.Builder builderForValue) {
copyOnWrite();
instance.setAd(builderForValue.build());
return this;
}
/**
* <code>optional .com.newsbreak.monetization.common.Ad ad = 5;</code>
*/
public Builder mergeAd(com.particles.mes.protos.Ad value) {
copyOnWrite();
instance.mergeAd(value);
return this;
}
/**
* <code>optional .com.newsbreak.monetization.common.Ad ad = 5;</code>
*/
public Builder clearAd() { copyOnWrite();
instance.clearAd();
return this;
}
/**
* <code>string org = 6;</code>
* @return The org.
*/
@java.lang.Override
public java.lang.String getOrg() {
return instance.getOrg();
}
/**
* <code>string org = 6;</code>
* @return The bytes for org.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getOrgBytes() {
return instance.getOrgBytes();
}
/**
* <code>string org = 6;</code>
* @param value The org to set.
* @return This builder for chaining.
*/
public Builder setOrg(
java.lang.String value) {
copyOnWrite();
instance.setOrg(value);
return this;
}
/**
* <code>string org = 6;</code>
* @return This builder for chaining.
*/
public Builder clearOrg() {
copyOnWrite();
instance.clearOrg();
return this;
}
/**
* <code>string org = 6;</code>
* @param value The bytes for org to set.
* @return This builder for chaining.
*/
public Builder setOrgBytes(
com.google.protobuf.ByteString value) {
copyOnWrite();
instance.setOrgBytes(value);
return this;
}
/**
* <code>string app = 7;</code>
* @return The app.
*/
@java.lang.Override
public java.lang.String getApp() {
return instance.getApp();
}
/**
* <code>string app = 7;</code>
* @return The bytes for app.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getAppBytes() {
return instance.getAppBytes();
}
/**
* <code>string app = 7;</code>
* @param value The app to set.
* @return This builder for chaining.
*/
public Builder setApp(
java.lang.String value) {
copyOnWrite();
instance.setApp(value);
return this;
}
/**
* <code>string app = 7;</code>
* @return This builder for chaining.
*/
public Builder clearApp() {
copyOnWrite();
instance.clearApp();
return this;
}
/**
* <code>string app = 7;</code>
* @param value The bytes for app to set.
* @return This builder for chaining.
*/
public Builder setAppBytes(
com.google.protobuf.ByteString value) {
copyOnWrite();
instance.setAppBytes(value);
return this;
}
/**
* <code>string msp_sdk_version = 8;</code>
* @return The mspSdkVersion.
*/
@java.lang.Override
public java.lang.String getMspSdkVersion() {
return instance.getMspSdkVersion();
}
/**
* <code>string msp_sdk_version = 8;</code>
* @return The bytes for mspSdkVersion.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getMspSdkVersionBytes() {
return instance.getMspSdkVersionBytes();
}
/**
* <code>string msp_sdk_version = 8;</code>
* @param value The mspSdkVersion to set.
* @return This builder for chaining.
*/
public Builder setMspSdkVersion(
java.lang.String value) {
copyOnWrite();
instance.setMspSdkVersion(value);
return this;
}
/**
* <code>string msp_sdk_version = 8;</code>
* @return This builder for chaining.
*/
public Builder clearMspSdkVersion() {
copyOnWrite();
instance.clearMspSdkVersion();
return this;
}
/**
* <code>string msp_sdk_version = 8;</code>
* @param value The bytes for mspSdkVersion to set.
* @return This builder for chaining.
*/
public Builder setMspSdkVersionBytes(
com.google.protobuf.ByteString value) {
copyOnWrite();
instance.setMspSdkVersionBytes(value);
return this;
}
/**
* <code>int32 latency = 9;</code>
* @return The latency.
*/
@java.lang.Override
public int getLatency() {
return instance.getLatency();
}
/**
* <code>int32 latency = 9;</code>
* @param value The latency to set.
* @return This builder for chaining.
*/
public Builder setLatency(int value) {
copyOnWrite();
instance.setLatency(value);
return this;
}
/**
* <code>int32 latency = 9;</code>
* @return This builder for chaining.
*/
public Builder clearLatency() {
copyOnWrite();
instance.clearLatency();
return this;
}
/**
* <code>.com.newsbreak.monetization.common.ErrorCode error_code = 10;</code>
* @return The enum numeric value on the wire for errorCode.
*/
@java.lang.Override
public int getErrorCodeValue() {
return instance.getErrorCodeValue();
}
/**
* <code>.com.newsbreak.monetization.common.ErrorCode error_code = 10;</code>
* @param value The errorCode to set.
* @return This builder for chaining.
*/
public Builder setErrorCodeValue(int value) {
copyOnWrite();
instance.setErrorCodeValue(value);
return this;
}
/**
* <code>.com.newsbreak.monetization.common.ErrorCode error_code = 10;</code>
* @return The errorCode.
*/
@java.lang.Override
public com.particles.mes.protos.ErrorCode getErrorCode() {
return instance.getErrorCode();
}
/**
* <code>.com.newsbreak.monetization.common.ErrorCode error_code = 10;</code>
* @param value The enum numeric value on the wire for errorCode to set.
* @return This builder for chaining.
*/
public Builder setErrorCode(com.particles.mes.protos.ErrorCode value) {
copyOnWrite();
instance.setErrorCode(value);
return this;
}
/**
* <code>.com.newsbreak.monetization.common.ErrorCode error_code = 10;</code>
* @return This builder for chaining.
*/
public Builder clearErrorCode() {
copyOnWrite();
instance.clearErrorCode();
return this;
}
/**
* <code>optional string error_message = 11;</code>
* @return Whether the errorMessage field is set.
*/
@java.lang.Override
public boolean hasErrorMessage() {
return instance.hasErrorMessage();
}
/**
* <code>optional string error_message = 11;</code>
* @return The errorMessage.
*/
@java.lang.Override
public java.lang.String getErrorMessage() {
return instance.getErrorMessage();
}
/**
* <code>optional string error_message = 11;</code>
* @return The bytes for errorMessage.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getErrorMessageBytes() {
return instance.getErrorMessageBytes();
}
/**
* <code>optional string error_message = 11;</code>
* @param value The errorMessage to set.
* @return This builder for chaining.
*/
public Builder setErrorMessage(
java.lang.String value) {
copyOnWrite();
instance.setErrorMessage(value);
return this;
}
/**
* <code>optional string error_message = 11;</code>
* @return This builder for chaining.
*/
public Builder clearErrorMessage() {
copyOnWrite();
instance.clearErrorMessage();
return this;
}
/**
* <code>optional string error_message = 11;</code>
* @param value The bytes for errorMessage to set.
* @return This builder for chaining.
*/
public Builder setErrorMessageBytes(
com.google.protobuf.ByteString value) {
copyOnWrite();
instance.setErrorMessageBytes(value);
return this;
}
// @@protoc_insertion_point(builder_scope:com.newsbreak.mes.events.AdResponse)
}
private byte memoizedIsInitialized = 2;
@java.lang.Override
@java.lang.SuppressWarnings({"unchecked", "fallthrough"})
protected final java.lang.Object dynamicMethod(
com.google.protobuf.GeneratedMessageLite.MethodToInvoke method,
java.lang.Object arg0, java.lang.Object arg1) {
switch (method) {
case NEW_MUTABLE_INSTANCE: {
return new com.particles.mes.protos.AdResponse();
}
case NEW_BUILDER: {
return new Builder();
}
case BUILD_MESSAGE_INFO: {
java.lang.Object[] objects = new java.lang.Object[] {
"bitField0_",
"clientTsMs_",
"serverTsMs_",
"requestContext_",
"os_",
"ad_",
"org_",
"app_",
"mspSdkVersion_",
"latency_",
"errorCode_",
"errorMessage_",
};
java.lang.String info =
"\u0000\u000b\u0000\u0001\u0001\u000b\u000b\u0000\u0000\u0002\u0001\u0003\u0002\u0003" +
"\u0003\u0409\u0004\f\u0005\u1409\u0000\u0006\u0208\u0007\u0208\b\u0208\t\u0004\n" +
"\f\u000b\u1208\u0001";
return newMessageInfo(DEFAULT_INSTANCE, info, objects);
}
// fall through
case GET_DEFAULT_INSTANCE: {
return DEFAULT_INSTANCE;
}
case GET_PARSER: {
com.google.protobuf.Parser<com.particles.mes.protos.AdResponse> parser = PARSER;
if (parser == null) {
synchronized (com.particles.mes.protos.AdResponse.class) {
parser = PARSER;
if (parser == null) {
parser =
new DefaultInstanceBasedParser<com.particles.mes.protos.AdResponse>(
DEFAULT_INSTANCE);
PARSER = parser;
}
}
}
return parser;
}
case GET_MEMOIZED_IS_INITIALIZED: {
return memoizedIsInitialized;
}
case SET_MEMOIZED_IS_INITIALIZED: {
memoizedIsInitialized = (byte) (arg0 == null ? 0 : 1);
return null;
}
}
throw new UnsupportedOperationException();
}
// @@protoc_insertion_point(class_scope:com.newsbreak.mes.events.AdResponse)
private static final com.particles.mes.protos.AdResponse DEFAULT_INSTANCE;
static {
AdResponse defaultInstance = new AdResponse();
// New instances are implicitly immutable so no need to make
// immutable.
DEFAULT_INSTANCE = defaultInstance;
com.google.protobuf.GeneratedMessageLite.registerDefaultInstance(
AdResponse.class, defaultInstance);
}
public static com.particles.mes.protos.AdResponse getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static volatile com.google.protobuf.Parser<AdResponse> PARSER;
public static com.google.protobuf.Parser<AdResponse> parser() {
return DEFAULT_INSTANCE.getParserForType();
}
}
|
0 | java-sources/ai/themsp/mes-android-sdk/0.15.0/main/com/particles/mes | java-sources/ai/themsp/mes-android-sdk/0.15.0/main/com/particles/mes/protos/AdResponseEvents.java | // Generated by the protocol buffer compiler. DO NOT EDIT!
// source: mes_events/ad_response.proto
package com.particles.mes.protos;
public final class AdResponseEvents {
private AdResponseEvents() {}
public static void registerAllExtensions(
com.google.protobuf.ExtensionRegistryLite registry) {
}
static {
}
// @@protoc_insertion_point(outer_class_scope)
}
|
0 | java-sources/ai/themsp/mes-android-sdk/0.15.0/main/com/particles/mes | java-sources/ai/themsp/mes-android-sdk/0.15.0/main/com/particles/mes/protos/AdResponseOrBuilder.java | // Generated by the protocol buffer compiler. DO NOT EDIT!
// source: mes_events/ad_response.proto
package com.particles.mes.protos;
public interface AdResponseOrBuilder extends
// @@protoc_insertion_point(interface_extends:com.newsbreak.mes.events.AdResponse)
com.google.protobuf.MessageLiteOrBuilder {
/**
* <code>uint64 client_ts_ms = 1;</code>
* @return The clientTsMs.
*/
long getClientTsMs();
/**
* <code>uint64 server_ts_ms = 2;</code>
* @return The serverTsMs.
*/
long getServerTsMs();
/**
* <code>.com.newsbreak.monetization.common.RequestContext request_context = 3;</code>
* @return Whether the requestContext field is set.
*/
boolean hasRequestContext();
/**
* <code>.com.newsbreak.monetization.common.RequestContext request_context = 3;</code>
* @return The requestContext.
*/
com.particles.mes.protos.RequestContext getRequestContext();
/**
* <code>.com.newsbreak.monetization.common.OsType os = 4;</code>
* @return The enum numeric value on the wire for os.
*/
int getOsValue();
/**
* <code>.com.newsbreak.monetization.common.OsType os = 4;</code>
* @return The os.
*/
com.particles.mes.protos.OsType getOs();
/**
* <code>optional .com.newsbreak.monetization.common.Ad ad = 5;</code>
* @return Whether the ad field is set.
*/
boolean hasAd();
/**
* <code>optional .com.newsbreak.monetization.common.Ad ad = 5;</code>
* @return The ad.
*/
com.particles.mes.protos.Ad getAd();
/**
* <code>string org = 6;</code>
* @return The org.
*/
java.lang.String getOrg();
/**
* <code>string org = 6;</code>
* @return The bytes for org.
*/
com.google.protobuf.ByteString
getOrgBytes();
/**
* <code>string app = 7;</code>
* @return The app.
*/
java.lang.String getApp();
/**
* <code>string app = 7;</code>
* @return The bytes for app.
*/
com.google.protobuf.ByteString
getAppBytes();
/**
* <code>string msp_sdk_version = 8;</code>
* @return The mspSdkVersion.
*/
java.lang.String getMspSdkVersion();
/**
* <code>string msp_sdk_version = 8;</code>
* @return The bytes for mspSdkVersion.
*/
com.google.protobuf.ByteString
getMspSdkVersionBytes();
/**
* <code>int32 latency = 9;</code>
* @return The latency.
*/
int getLatency();
/**
* <code>.com.newsbreak.monetization.common.ErrorCode error_code = 10;</code>
* @return The enum numeric value on the wire for errorCode.
*/
int getErrorCodeValue();
/**
* <code>.com.newsbreak.monetization.common.ErrorCode error_code = 10;</code>
* @return The errorCode.
*/
com.particles.mes.protos.ErrorCode getErrorCode();
/**
* <code>optional string error_message = 11;</code>
* @return Whether the errorMessage field is set.
*/
boolean hasErrorMessage();
/**
* <code>optional string error_message = 11;</code>
* @return The errorMessage.
*/
java.lang.String getErrorMessage();
/**
* <code>optional string error_message = 11;</code>
* @return The bytes for errorMessage.
*/
com.google.protobuf.ByteString
getErrorMessageBytes();
}
|
0 | java-sources/ai/themsp/mes-android-sdk/0.15.0/main/com/particles/mes | java-sources/ai/themsp/mes-android-sdk/0.15.0/main/com/particles/mes/protos/AdType.java | // Generated by the protocol buffer compiler. DO NOT EDIT!
// source: monetization/common.proto
package com.particles.mes.protos;
/**
* Protobuf enum {@code com.newsbreak.monetization.common.AdType}
*/
public enum AdType
implements com.google.protobuf.Internal.EnumLite {
/**
* <code>AD_TYPE_UNSPECIFIED = 0;</code>
*/
AD_TYPE_UNSPECIFIED(0),
/**
* <code>AD_TYPE_NATIVE = 1;</code>
*/
AD_TYPE_NATIVE(1),
/**
* <code>AD_TYPE_DISPLAY = 2;</code>
*/
AD_TYPE_DISPLAY(2),
/**
* <code>AD_TYPE_INTERSTITIAL = 3;</code>
*/
AD_TYPE_INTERSTITIAL(3),
/**
* <code>AD_TYPE_VIDEO = 4;</code>
*/
AD_TYPE_VIDEO(4),
UNRECOGNIZED(-1),
;
/**
* <code>AD_TYPE_UNSPECIFIED = 0;</code>
*/
public static final int AD_TYPE_UNSPECIFIED_VALUE = 0;
/**
* <code>AD_TYPE_NATIVE = 1;</code>
*/
public static final int AD_TYPE_NATIVE_VALUE = 1;
/**
* <code>AD_TYPE_DISPLAY = 2;</code>
*/
public static final int AD_TYPE_DISPLAY_VALUE = 2;
/**
* <code>AD_TYPE_INTERSTITIAL = 3;</code>
*/
public static final int AD_TYPE_INTERSTITIAL_VALUE = 3;
/**
* <code>AD_TYPE_VIDEO = 4;</code>
*/
public static final int AD_TYPE_VIDEO_VALUE = 4;
@java.lang.Override
public final int getNumber() {
if (this == UNRECOGNIZED) {
throw new java.lang.IllegalArgumentException(
"Can't get the number of an unknown enum value.");
}
return value;
}
/**
* @param value The number of the enum to look for.
* @return The enum associated with the given number.
* @deprecated Use {@link #forNumber(int)} instead.
*/
@java.lang.Deprecated
public static AdType valueOf(int value) {
return forNumber(value);
}
public static AdType forNumber(int value) {
switch (value) {
case 0: return AD_TYPE_UNSPECIFIED;
case 1: return AD_TYPE_NATIVE;
case 2: return AD_TYPE_DISPLAY;
case 3: return AD_TYPE_INTERSTITIAL;
case 4: return AD_TYPE_VIDEO;
default: return null;
}
}
public static com.google.protobuf.Internal.EnumLiteMap<AdType>
internalGetValueMap() {
return internalValueMap;
}
private static final com.google.protobuf.Internal.EnumLiteMap<
AdType> internalValueMap =
new com.google.protobuf.Internal.EnumLiteMap<AdType>() {
@java.lang.Override
public AdType findValueByNumber(int number) {
return AdType.forNumber(number);
}
};
public static com.google.protobuf.Internal.EnumVerifier
internalGetVerifier() {
return AdTypeVerifier.INSTANCE;
}
private static final class AdTypeVerifier implements
com.google.protobuf.Internal.EnumVerifier {
static final com.google.protobuf.Internal.EnumVerifier INSTANCE = new AdTypeVerifier();
@java.lang.Override
public boolean isInRange(int number) {
return AdType.forNumber(number) != null;
}
};
private final int value;
private AdType(int value) {
this.value = value;
}
// @@protoc_insertion_point(enum_scope:com.newsbreak.monetization.common.AdType)
}
|
0 | java-sources/ai/themsp/mes-android-sdk/0.15.0/main/com/particles/mes | java-sources/ai/themsp/mes-android-sdk/0.15.0/main/com/particles/mes/protos/Common.java | // Generated by the protocol buffer compiler. DO NOT EDIT!
// source: monetization/common.proto
package com.particles.mes.protos;
public final class Common {
private Common() {}
public static void registerAllExtensions(
com.google.protobuf.ExtensionRegistryLite registry) {
}
static {
}
// @@protoc_insertion_point(outer_class_scope)
}
|
0 | java-sources/ai/themsp/mes-android-sdk/0.15.0/main/com/particles/mes | java-sources/ai/themsp/mes-android-sdk/0.15.0/main/com/particles/mes/protos/ErrorCode.java | // Generated by the protocol buffer compiler. DO NOT EDIT!
// source: monetization/common.proto
package com.particles.mes.protos;
/**
* Protobuf enum {@code com.newsbreak.monetization.common.ErrorCode}
*/
public enum ErrorCode
implements com.google.protobuf.Internal.EnumLite {
/**
* <code>ERROR_CODE_UNSPECIFIED = 0;</code>
*/
ERROR_CODE_UNSPECIFIED(0),
/**
* <code>ERROR_CODE_SUCCESS = 1;</code>
*/
ERROR_CODE_SUCCESS(1),
/**
* <code>ERROR_CODE_NO_FILL = 2;</code>
*/
ERROR_CODE_NO_FILL(2),
/**
* <code>ERROR_CODE_INVALID_REQUEST = 3;</code>
*/
ERROR_CODE_INVALID_REQUEST(3),
/**
* <code>ERROR_CODE_INTERNAL_ERROR = 4;</code>
*/
ERROR_CODE_INTERNAL_ERROR(4),
/**
* <code>ERROR_CODE_NETWORK_ERROR = 5;</code>
*/
ERROR_CODE_NETWORK_ERROR(5),
UNRECOGNIZED(-1),
;
/**
* <code>ERROR_CODE_UNSPECIFIED = 0;</code>
*/
public static final int ERROR_CODE_UNSPECIFIED_VALUE = 0;
/**
* <code>ERROR_CODE_SUCCESS = 1;</code>
*/
public static final int ERROR_CODE_SUCCESS_VALUE = 1;
/**
* <code>ERROR_CODE_NO_FILL = 2;</code>
*/
public static final int ERROR_CODE_NO_FILL_VALUE = 2;
/**
* <code>ERROR_CODE_INVALID_REQUEST = 3;</code>
*/
public static final int ERROR_CODE_INVALID_REQUEST_VALUE = 3;
/**
* <code>ERROR_CODE_INTERNAL_ERROR = 4;</code>
*/
public static final int ERROR_CODE_INTERNAL_ERROR_VALUE = 4;
/**
* <code>ERROR_CODE_NETWORK_ERROR = 5;</code>
*/
public static final int ERROR_CODE_NETWORK_ERROR_VALUE = 5;
@java.lang.Override
public final int getNumber() {
if (this == UNRECOGNIZED) {
throw new java.lang.IllegalArgumentException(
"Can't get the number of an unknown enum value.");
}
return value;
}
/**
* @param value The number of the enum to look for.
* @return The enum associated with the given number.
* @deprecated Use {@link #forNumber(int)} instead.
*/
@java.lang.Deprecated
public static ErrorCode valueOf(int value) {
return forNumber(value);
}
public static ErrorCode forNumber(int value) {
switch (value) {
case 0: return ERROR_CODE_UNSPECIFIED;
case 1: return ERROR_CODE_SUCCESS;
case 2: return ERROR_CODE_NO_FILL;
case 3: return ERROR_CODE_INVALID_REQUEST;
case 4: return ERROR_CODE_INTERNAL_ERROR;
case 5: return ERROR_CODE_NETWORK_ERROR;
default: return null;
}
}
public static com.google.protobuf.Internal.EnumLiteMap<ErrorCode>
internalGetValueMap() {
return internalValueMap;
}
private static final com.google.protobuf.Internal.EnumLiteMap<
ErrorCode> internalValueMap =
new com.google.protobuf.Internal.EnumLiteMap<ErrorCode>() {
@java.lang.Override
public ErrorCode findValueByNumber(int number) {
return ErrorCode.forNumber(number);
}
};
public static com.google.protobuf.Internal.EnumVerifier
internalGetVerifier() {
return ErrorCodeVerifier.INSTANCE;
}
private static final class ErrorCodeVerifier implements
com.google.protobuf.Internal.EnumVerifier {
static final com.google.protobuf.Internal.EnumVerifier INSTANCE = new ErrorCodeVerifier();
@java.lang.Override
public boolean isInRange(int number) {
return ErrorCode.forNumber(number) != null;
}
};
private final int value;
private ErrorCode(int value) {
this.value = value;
}
// @@protoc_insertion_point(enum_scope:com.newsbreak.monetization.common.ErrorCode)
}
|
0 | java-sources/ai/themsp/mes-android-sdk/0.15.0/main/com/particles/mes | java-sources/ai/themsp/mes-android-sdk/0.15.0/main/com/particles/mes/protos/GetAdEvent.java | // Generated by the protocol buffer compiler. DO NOT EDIT!
// source: mes_events/get_ad.proto
package com.particles.mes.protos;
/**
* <pre>
* GetAd API called to fetch Ad from cache
* </pre>
*
* Protobuf type {@code com.newsbreak.mes.events.GetAdEvent}
*/
public final class GetAdEvent extends
com.google.protobuf.GeneratedMessageLite<
GetAdEvent, GetAdEvent.Builder> implements
// @@protoc_insertion_point(message_implements:com.newsbreak.mes.events.GetAdEvent)
GetAdEventOrBuilder {
private GetAdEvent() {
org_ = "";
app_ = "";
mspSdkVersion_ = "";
errorMessage_ = "";
}
private int bitField0_;
public static final int CLIENT_TS_MS_FIELD_NUMBER = 1;
private long clientTsMs_;
/**
* <code>uint64 client_ts_ms = 1;</code>
* @return The clientTsMs.
*/
@java.lang.Override
public long getClientTsMs() {
return clientTsMs_;
}
/**
* <code>uint64 client_ts_ms = 1;</code>
* @param value The clientTsMs to set.
*/
private void setClientTsMs(long value) {
clientTsMs_ = value;
}
/**
* <code>uint64 client_ts_ms = 1;</code>
*/
private void clearClientTsMs() {
clientTsMs_ = 0L;
}
public static final int SERVER_TS_MS_FIELD_NUMBER = 2;
private long serverTsMs_;
/**
* <code>uint64 server_ts_ms = 2;</code>
* @return The serverTsMs.
*/
@java.lang.Override
public long getServerTsMs() {
return serverTsMs_;
}
/**
* <code>uint64 server_ts_ms = 2;</code>
* @param value The serverTsMs to set.
*/
private void setServerTsMs(long value) {
serverTsMs_ = value;
}
/**
* <code>uint64 server_ts_ms = 2;</code>
*/
private void clearServerTsMs() {
serverTsMs_ = 0L;
}
public static final int REQUEST_CONTEXT_FIELD_NUMBER = 3;
private com.particles.mes.protos.RequestContext requestContext_;
/**
* <code>.com.newsbreak.monetization.common.RequestContext request_context = 3;</code>
*/
@java.lang.Override
public boolean hasRequestContext() {
return requestContext_ != null;
}
/**
* <code>.com.newsbreak.monetization.common.RequestContext request_context = 3;</code>
*/
@java.lang.Override
public com.particles.mes.protos.RequestContext getRequestContext() {
return requestContext_ == null ? com.particles.mes.protos.RequestContext.getDefaultInstance() : requestContext_;
}
/**
* <code>.com.newsbreak.monetization.common.RequestContext request_context = 3;</code>
*/
private void setRequestContext(com.particles.mes.protos.RequestContext value) {
value.getClass();
requestContext_ = value;
}
/**
* <code>.com.newsbreak.monetization.common.RequestContext request_context = 3;</code>
*/
@java.lang.SuppressWarnings({"ReferenceEquality"})
private void mergeRequestContext(com.particles.mes.protos.RequestContext value) {
value.getClass();
if (requestContext_ != null &&
requestContext_ != com.particles.mes.protos.RequestContext.getDefaultInstance()) {
requestContext_ =
com.particles.mes.protos.RequestContext.newBuilder(requestContext_).mergeFrom(value).buildPartial();
} else {
requestContext_ = value;
}
}
/**
* <code>.com.newsbreak.monetization.common.RequestContext request_context = 3;</code>
*/
private void clearRequestContext() { requestContext_ = null;
}
public static final int OS_FIELD_NUMBER = 4;
private int os_;
/**
* <code>.com.newsbreak.monetization.common.OsType os = 4;</code>
* @return The enum numeric value on the wire for os.
*/
@java.lang.Override
public int getOsValue() {
return os_;
}
/**
* <code>.com.newsbreak.monetization.common.OsType os = 4;</code>
* @return The os.
*/
@java.lang.Override
public com.particles.mes.protos.OsType getOs() {
com.particles.mes.protos.OsType result = com.particles.mes.protos.OsType.forNumber(os_);
return result == null ? com.particles.mes.protos.OsType.UNRECOGNIZED : result;
}
/**
* <code>.com.newsbreak.monetization.common.OsType os = 4;</code>
* @param value The enum numeric value on the wire for os to set.
*/
private void setOsValue(int value) {
os_ = value;
}
/**
* <code>.com.newsbreak.monetization.common.OsType os = 4;</code>
* @param value The os to set.
*/
private void setOs(com.particles.mes.protos.OsType value) {
os_ = value.getNumber();
}
/**
* <code>.com.newsbreak.monetization.common.OsType os = 4;</code>
*/
private void clearOs() {
os_ = 0;
}
public static final int AD_FIELD_NUMBER = 5;
private com.particles.mes.protos.Ad ad_;
/**
* <code>optional .com.newsbreak.monetization.common.Ad ad = 5;</code>
*/
@java.lang.Override
public boolean hasAd() {
return ((bitField0_ & 0x00000001) != 0);
}
/**
* <code>optional .com.newsbreak.monetization.common.Ad ad = 5;</code>
*/
@java.lang.Override
public com.particles.mes.protos.Ad getAd() {
return ad_ == null ? com.particles.mes.protos.Ad.getDefaultInstance() : ad_;
}
/**
* <code>optional .com.newsbreak.monetization.common.Ad ad = 5;</code>
*/
private void setAd(com.particles.mes.protos.Ad value) {
value.getClass();
ad_ = value;
bitField0_ |= 0x00000001;
}
/**
* <code>optional .com.newsbreak.monetization.common.Ad ad = 5;</code>
*/
@java.lang.SuppressWarnings({"ReferenceEquality"})
private void mergeAd(com.particles.mes.protos.Ad value) {
value.getClass();
if (ad_ != null &&
ad_ != com.particles.mes.protos.Ad.getDefaultInstance()) {
ad_ =
com.particles.mes.protos.Ad.newBuilder(ad_).mergeFrom(value).buildPartial();
} else {
ad_ = value;
}
bitField0_ |= 0x00000001;
}
/**
* <code>optional .com.newsbreak.monetization.common.Ad ad = 5;</code>
*/
private void clearAd() { ad_ = null;
bitField0_ = (bitField0_ & ~0x00000001);
}
public static final int ORG_FIELD_NUMBER = 6;
private java.lang.String org_;
/**
* <code>string org = 6;</code>
* @return The org.
*/
@java.lang.Override
public java.lang.String getOrg() {
return org_;
}
/**
* <code>string org = 6;</code>
* @return The bytes for org.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getOrgBytes() {
return com.google.protobuf.ByteString.copyFromUtf8(org_);
}
/**
* <code>string org = 6;</code>
* @param value The org to set.
*/
private void setOrg(
java.lang.String value) {
java.lang.Class<?> valueClass = value.getClass();
org_ = value;
}
/**
* <code>string org = 6;</code>
*/
private void clearOrg() {
org_ = getDefaultInstance().getOrg();
}
/**
* <code>string org = 6;</code>
* @param value The bytes for org to set.
*/
private void setOrgBytes(
com.google.protobuf.ByteString value) {
checkByteStringIsUtf8(value);
org_ = value.toStringUtf8();
}
public static final int APP_FIELD_NUMBER = 7;
private java.lang.String app_;
/**
* <code>string app = 7;</code>
* @return The app.
*/
@java.lang.Override
public java.lang.String getApp() {
return app_;
}
/**
* <code>string app = 7;</code>
* @return The bytes for app.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getAppBytes() {
return com.google.protobuf.ByteString.copyFromUtf8(app_);
}
/**
* <code>string app = 7;</code>
* @param value The app to set.
*/
private void setApp(
java.lang.String value) {
java.lang.Class<?> valueClass = value.getClass();
app_ = value;
}
/**
* <code>string app = 7;</code>
*/
private void clearApp() {
app_ = getDefaultInstance().getApp();
}
/**
* <code>string app = 7;</code>
* @param value The bytes for app to set.
*/
private void setAppBytes(
com.google.protobuf.ByteString value) {
checkByteStringIsUtf8(value);
app_ = value.toStringUtf8();
}
public static final int MSP_SDK_VERSION_FIELD_NUMBER = 8;
private java.lang.String mspSdkVersion_;
/**
* <code>string msp_sdk_version = 8;</code>
* @return The mspSdkVersion.
*/
@java.lang.Override
public java.lang.String getMspSdkVersion() {
return mspSdkVersion_;
}
/**
* <code>string msp_sdk_version = 8;</code>
* @return The bytes for mspSdkVersion.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getMspSdkVersionBytes() {
return com.google.protobuf.ByteString.copyFromUtf8(mspSdkVersion_);
}
/**
* <code>string msp_sdk_version = 8;</code>
* @param value The mspSdkVersion to set.
*/
private void setMspSdkVersion(
java.lang.String value) {
java.lang.Class<?> valueClass = value.getClass();
mspSdkVersion_ = value;
}
/**
* <code>string msp_sdk_version = 8;</code>
*/
private void clearMspSdkVersion() {
mspSdkVersion_ = getDefaultInstance().getMspSdkVersion();
}
/**
* <code>string msp_sdk_version = 8;</code>
* @param value The bytes for mspSdkVersion to set.
*/
private void setMspSdkVersionBytes(
com.google.protobuf.ByteString value) {
checkByteStringIsUtf8(value);
mspSdkVersion_ = value.toStringUtf8();
}
public static final int ERROR_CODE_FIELD_NUMBER = 9;
private int errorCode_;
/**
* <code>.com.newsbreak.monetization.common.ErrorCode error_code = 9;</code>
* @return The enum numeric value on the wire for errorCode.
*/
@java.lang.Override
public int getErrorCodeValue() {
return errorCode_;
}
/**
* <code>.com.newsbreak.monetization.common.ErrorCode error_code = 9;</code>
* @return The errorCode.
*/
@java.lang.Override
public com.particles.mes.protos.ErrorCode getErrorCode() {
com.particles.mes.protos.ErrorCode result = com.particles.mes.protos.ErrorCode.forNumber(errorCode_);
return result == null ? com.particles.mes.protos.ErrorCode.UNRECOGNIZED : result;
}
/**
* <code>.com.newsbreak.monetization.common.ErrorCode error_code = 9;</code>
* @param value The enum numeric value on the wire for errorCode to set.
*/
private void setErrorCodeValue(int value) {
errorCode_ = value;
}
/**
* <code>.com.newsbreak.monetization.common.ErrorCode error_code = 9;</code>
* @param value The errorCode to set.
*/
private void setErrorCode(com.particles.mes.protos.ErrorCode value) {
errorCode_ = value.getNumber();
}
/**
* <code>.com.newsbreak.monetization.common.ErrorCode error_code = 9;</code>
*/
private void clearErrorCode() {
errorCode_ = 0;
}
public static final int ERROR_MESSAGE_FIELD_NUMBER = 10;
private java.lang.String errorMessage_;
/**
* <code>optional string error_message = 10;</code>
* @return Whether the errorMessage field is set.
*/
@java.lang.Override
public boolean hasErrorMessage() {
return ((bitField0_ & 0x00000002) != 0);
}
/**
* <code>optional string error_message = 10;</code>
* @return The errorMessage.
*/
@java.lang.Override
public java.lang.String getErrorMessage() {
return errorMessage_;
}
/**
* <code>optional string error_message = 10;</code>
* @return The bytes for errorMessage.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getErrorMessageBytes() {
return com.google.protobuf.ByteString.copyFromUtf8(errorMessage_);
}
/**
* <code>optional string error_message = 10;</code>
* @param value The errorMessage to set.
*/
private void setErrorMessage(
java.lang.String value) {
java.lang.Class<?> valueClass = value.getClass();
bitField0_ |= 0x00000002;
errorMessage_ = value;
}
/**
* <code>optional string error_message = 10;</code>
*/
private void clearErrorMessage() {
bitField0_ = (bitField0_ & ~0x00000002);
errorMessage_ = getDefaultInstance().getErrorMessage();
}
/**
* <code>optional string error_message = 10;</code>
* @param value The bytes for errorMessage to set.
*/
private void setErrorMessageBytes(
com.google.protobuf.ByteString value) {
checkByteStringIsUtf8(value);
errorMessage_ = value.toStringUtf8();
bitField0_ |= 0x00000002;
}
public static com.particles.mes.protos.GetAdEvent parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, data);
}
public static com.particles.mes.protos.GetAdEvent parseFrom(
java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, data, extensionRegistry);
}
public static com.particles.mes.protos.GetAdEvent parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, data);
}
public static com.particles.mes.protos.GetAdEvent parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, data, extensionRegistry);
}
public static com.particles.mes.protos.GetAdEvent parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, data);
}
public static com.particles.mes.protos.GetAdEvent parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, data, extensionRegistry);
}
public static com.particles.mes.protos.GetAdEvent parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, input);
}
public static com.particles.mes.protos.GetAdEvent parseFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, input, extensionRegistry);
}
public static com.particles.mes.protos.GetAdEvent parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return parseDelimitedFrom(DEFAULT_INSTANCE, input);
}
public static com.particles.mes.protos.GetAdEvent parseDelimitedFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return parseDelimitedFrom(DEFAULT_INSTANCE, input, extensionRegistry);
}
public static com.particles.mes.protos.GetAdEvent parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, input);
}
public static com.particles.mes.protos.GetAdEvent parseFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, input, extensionRegistry);
}
public static Builder newBuilder() {
return (Builder) DEFAULT_INSTANCE.createBuilder();
}
public static Builder newBuilder(com.particles.mes.protos.GetAdEvent prototype) {
return (Builder) DEFAULT_INSTANCE.createBuilder(prototype);
}
/**
* <pre>
* GetAd API called to fetch Ad from cache
* </pre>
*
* Protobuf type {@code com.newsbreak.mes.events.GetAdEvent}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageLite.Builder<
com.particles.mes.protos.GetAdEvent, Builder> implements
// @@protoc_insertion_point(builder_implements:com.newsbreak.mes.events.GetAdEvent)
com.particles.mes.protos.GetAdEventOrBuilder {
// Construct using com.particles.mes.protos.GetAdEvent.newBuilder()
private Builder() {
super(DEFAULT_INSTANCE);
}
/**
* <code>uint64 client_ts_ms = 1;</code>
* @return The clientTsMs.
*/
@java.lang.Override
public long getClientTsMs() {
return instance.getClientTsMs();
}
/**
* <code>uint64 client_ts_ms = 1;</code>
* @param value The clientTsMs to set.
* @return This builder for chaining.
*/
public Builder setClientTsMs(long value) {
copyOnWrite();
instance.setClientTsMs(value);
return this;
}
/**
* <code>uint64 client_ts_ms = 1;</code>
* @return This builder for chaining.
*/
public Builder clearClientTsMs() {
copyOnWrite();
instance.clearClientTsMs();
return this;
}
/**
* <code>uint64 server_ts_ms = 2;</code>
* @return The serverTsMs.
*/
@java.lang.Override
public long getServerTsMs() {
return instance.getServerTsMs();
}
/**
* <code>uint64 server_ts_ms = 2;</code>
* @param value The serverTsMs to set.
* @return This builder for chaining.
*/
public Builder setServerTsMs(long value) {
copyOnWrite();
instance.setServerTsMs(value);
return this;
}
/**
* <code>uint64 server_ts_ms = 2;</code>
* @return This builder for chaining.
*/
public Builder clearServerTsMs() {
copyOnWrite();
instance.clearServerTsMs();
return this;
}
/**
* <code>.com.newsbreak.monetization.common.RequestContext request_context = 3;</code>
*/
@java.lang.Override
public boolean hasRequestContext() {
return instance.hasRequestContext();
}
/**
* <code>.com.newsbreak.monetization.common.RequestContext request_context = 3;</code>
*/
@java.lang.Override
public com.particles.mes.protos.RequestContext getRequestContext() {
return instance.getRequestContext();
}
/**
* <code>.com.newsbreak.monetization.common.RequestContext request_context = 3;</code>
*/
public Builder setRequestContext(com.particles.mes.protos.RequestContext value) {
copyOnWrite();
instance.setRequestContext(value);
return this;
}
/**
* <code>.com.newsbreak.monetization.common.RequestContext request_context = 3;</code>
*/
public Builder setRequestContext(
com.particles.mes.protos.RequestContext.Builder builderForValue) {
copyOnWrite();
instance.setRequestContext(builderForValue.build());
return this;
}
/**
* <code>.com.newsbreak.monetization.common.RequestContext request_context = 3;</code>
*/
public Builder mergeRequestContext(com.particles.mes.protos.RequestContext value) {
copyOnWrite();
instance.mergeRequestContext(value);
return this;
}
/**
* <code>.com.newsbreak.monetization.common.RequestContext request_context = 3;</code>
*/
public Builder clearRequestContext() { copyOnWrite();
instance.clearRequestContext();
return this;
}
/**
* <code>.com.newsbreak.monetization.common.OsType os = 4;</code>
* @return The enum numeric value on the wire for os.
*/
@java.lang.Override
public int getOsValue() {
return instance.getOsValue();
}
/**
* <code>.com.newsbreak.monetization.common.OsType os = 4;</code>
* @param value The os to set.
* @return This builder for chaining.
*/
public Builder setOsValue(int value) {
copyOnWrite();
instance.setOsValue(value);
return this;
}
/**
* <code>.com.newsbreak.monetization.common.OsType os = 4;</code>
* @return The os.
*/
@java.lang.Override
public com.particles.mes.protos.OsType getOs() {
return instance.getOs();
}
/**
* <code>.com.newsbreak.monetization.common.OsType os = 4;</code>
* @param value The enum numeric value on the wire for os to set.
* @return This builder for chaining.
*/
public Builder setOs(com.particles.mes.protos.OsType value) {
copyOnWrite();
instance.setOs(value);
return this;
}
/**
* <code>.com.newsbreak.monetization.common.OsType os = 4;</code>
* @return This builder for chaining.
*/
public Builder clearOs() {
copyOnWrite();
instance.clearOs();
return this;
}
/**
* <code>optional .com.newsbreak.monetization.common.Ad ad = 5;</code>
*/
@java.lang.Override
public boolean hasAd() {
return instance.hasAd();
}
/**
* <code>optional .com.newsbreak.monetization.common.Ad ad = 5;</code>
*/
@java.lang.Override
public com.particles.mes.protos.Ad getAd() {
return instance.getAd();
}
/**
* <code>optional .com.newsbreak.monetization.common.Ad ad = 5;</code>
*/
public Builder setAd(com.particles.mes.protos.Ad value) {
copyOnWrite();
instance.setAd(value);
return this;
}
/**
* <code>optional .com.newsbreak.monetization.common.Ad ad = 5;</code>
*/
public Builder setAd(
com.particles.mes.protos.Ad.Builder builderForValue) {
copyOnWrite();
instance.setAd(builderForValue.build());
return this;
}
/**
* <code>optional .com.newsbreak.monetization.common.Ad ad = 5;</code>
*/
public Builder mergeAd(com.particles.mes.protos.Ad value) {
copyOnWrite();
instance.mergeAd(value);
return this;
}
/**
* <code>optional .com.newsbreak.monetization.common.Ad ad = 5;</code>
*/
public Builder clearAd() { copyOnWrite();
instance.clearAd();
return this;
}
/**
* <code>string org = 6;</code>
* @return The org.
*/
@java.lang.Override
public java.lang.String getOrg() {
return instance.getOrg();
}
/**
* <code>string org = 6;</code>
* @return The bytes for org.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getOrgBytes() {
return instance.getOrgBytes();
}
/**
* <code>string org = 6;</code>
* @param value The org to set.
* @return This builder for chaining.
*/
public Builder setOrg(
java.lang.String value) {
copyOnWrite();
instance.setOrg(value);
return this;
}
/**
* <code>string org = 6;</code>
* @return This builder for chaining.
*/
public Builder clearOrg() {
copyOnWrite();
instance.clearOrg();
return this;
}
/**
* <code>string org = 6;</code>
* @param value The bytes for org to set.
* @return This builder for chaining.
*/
public Builder setOrgBytes(
com.google.protobuf.ByteString value) {
copyOnWrite();
instance.setOrgBytes(value);
return this;
}
/**
* <code>string app = 7;</code>
* @return The app.
*/
@java.lang.Override
public java.lang.String getApp() {
return instance.getApp();
}
/**
* <code>string app = 7;</code>
* @return The bytes for app.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getAppBytes() {
return instance.getAppBytes();
}
/**
* <code>string app = 7;</code>
* @param value The app to set.
* @return This builder for chaining.
*/
public Builder setApp(
java.lang.String value) {
copyOnWrite();
instance.setApp(value);
return this;
}
/**
* <code>string app = 7;</code>
* @return This builder for chaining.
*/
public Builder clearApp() {
copyOnWrite();
instance.clearApp();
return this;
}
/**
* <code>string app = 7;</code>
* @param value The bytes for app to set.
* @return This builder for chaining.
*/
public Builder setAppBytes(
com.google.protobuf.ByteString value) {
copyOnWrite();
instance.setAppBytes(value);
return this;
}
/**
* <code>string msp_sdk_version = 8;</code>
* @return The mspSdkVersion.
*/
@java.lang.Override
public java.lang.String getMspSdkVersion() {
return instance.getMspSdkVersion();
}
/**
* <code>string msp_sdk_version = 8;</code>
* @return The bytes for mspSdkVersion.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getMspSdkVersionBytes() {
return instance.getMspSdkVersionBytes();
}
/**
* <code>string msp_sdk_version = 8;</code>
* @param value The mspSdkVersion to set.
* @return This builder for chaining.
*/
public Builder setMspSdkVersion(
java.lang.String value) {
copyOnWrite();
instance.setMspSdkVersion(value);
return this;
}
/**
* <code>string msp_sdk_version = 8;</code>
* @return This builder for chaining.
*/
public Builder clearMspSdkVersion() {
copyOnWrite();
instance.clearMspSdkVersion();
return this;
}
/**
* <code>string msp_sdk_version = 8;</code>
* @param value The bytes for mspSdkVersion to set.
* @return This builder for chaining.
*/
public Builder setMspSdkVersionBytes(
com.google.protobuf.ByteString value) {
copyOnWrite();
instance.setMspSdkVersionBytes(value);
return this;
}
/**
* <code>.com.newsbreak.monetization.common.ErrorCode error_code = 9;</code>
* @return The enum numeric value on the wire for errorCode.
*/
@java.lang.Override
public int getErrorCodeValue() {
return instance.getErrorCodeValue();
}
/**
* <code>.com.newsbreak.monetization.common.ErrorCode error_code = 9;</code>
* @param value The errorCode to set.
* @return This builder for chaining.
*/
public Builder setErrorCodeValue(int value) {
copyOnWrite();
instance.setErrorCodeValue(value);
return this;
}
/**
* <code>.com.newsbreak.monetization.common.ErrorCode error_code = 9;</code>
* @return The errorCode.
*/
@java.lang.Override
public com.particles.mes.protos.ErrorCode getErrorCode() {
return instance.getErrorCode();
}
/**
* <code>.com.newsbreak.monetization.common.ErrorCode error_code = 9;</code>
* @param value The enum numeric value on the wire for errorCode to set.
* @return This builder for chaining.
*/
public Builder setErrorCode(com.particles.mes.protos.ErrorCode value) {
copyOnWrite();
instance.setErrorCode(value);
return this;
}
/**
* <code>.com.newsbreak.monetization.common.ErrorCode error_code = 9;</code>
* @return This builder for chaining.
*/
public Builder clearErrorCode() {
copyOnWrite();
instance.clearErrorCode();
return this;
}
/**
* <code>optional string error_message = 10;</code>
* @return Whether the errorMessage field is set.
*/
@java.lang.Override
public boolean hasErrorMessage() {
return instance.hasErrorMessage();
}
/**
* <code>optional string error_message = 10;</code>
* @return The errorMessage.
*/
@java.lang.Override
public java.lang.String getErrorMessage() {
return instance.getErrorMessage();
}
/**
* <code>optional string error_message = 10;</code>
* @return The bytes for errorMessage.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getErrorMessageBytes() {
return instance.getErrorMessageBytes();
}
/**
* <code>optional string error_message = 10;</code>
* @param value The errorMessage to set.
* @return This builder for chaining.
*/
public Builder setErrorMessage(
java.lang.String value) {
copyOnWrite();
instance.setErrorMessage(value);
return this;
}
/**
* <code>optional string error_message = 10;</code>
* @return This builder for chaining.
*/
public Builder clearErrorMessage() {
copyOnWrite();
instance.clearErrorMessage();
return this;
}
/**
* <code>optional string error_message = 10;</code>
* @param value The bytes for errorMessage to set.
* @return This builder for chaining.
*/
public Builder setErrorMessageBytes(
com.google.protobuf.ByteString value) {
copyOnWrite();
instance.setErrorMessageBytes(value);
return this;
}
// @@protoc_insertion_point(builder_scope:com.newsbreak.mes.events.GetAdEvent)
}
private byte memoizedIsInitialized = 2;
@java.lang.Override
@java.lang.SuppressWarnings({"unchecked", "fallthrough"})
protected final java.lang.Object dynamicMethod(
com.google.protobuf.GeneratedMessageLite.MethodToInvoke method,
java.lang.Object arg0, java.lang.Object arg1) {
switch (method) {
case NEW_MUTABLE_INSTANCE: {
return new com.particles.mes.protos.GetAdEvent();
}
case NEW_BUILDER: {
return new Builder();
}
case BUILD_MESSAGE_INFO: {
java.lang.Object[] objects = new java.lang.Object[] {
"bitField0_",
"clientTsMs_",
"serverTsMs_",
"requestContext_",
"os_",
"ad_",
"org_",
"app_",
"mspSdkVersion_",
"errorCode_",
"errorMessage_",
};
java.lang.String info =
"\u0000\n\u0000\u0001\u0001\n\n\u0000\u0000\u0002\u0001\u0003\u0002\u0003\u0003\u0409" +
"\u0004\f\u0005\u1409\u0000\u0006\u0208\u0007\u0208\b\u0208\t\f\n\u1208\u0001";
return newMessageInfo(DEFAULT_INSTANCE, info, objects);
}
// fall through
case GET_DEFAULT_INSTANCE: {
return DEFAULT_INSTANCE;
}
case GET_PARSER: {
com.google.protobuf.Parser<com.particles.mes.protos.GetAdEvent> parser = PARSER;
if (parser == null) {
synchronized (com.particles.mes.protos.GetAdEvent.class) {
parser = PARSER;
if (parser == null) {
parser =
new DefaultInstanceBasedParser<com.particles.mes.protos.GetAdEvent>(
DEFAULT_INSTANCE);
PARSER = parser;
}
}
}
return parser;
}
case GET_MEMOIZED_IS_INITIALIZED: {
return memoizedIsInitialized;
}
case SET_MEMOIZED_IS_INITIALIZED: {
memoizedIsInitialized = (byte) (arg0 == null ? 0 : 1);
return null;
}
}
throw new UnsupportedOperationException();
}
// @@protoc_insertion_point(class_scope:com.newsbreak.mes.events.GetAdEvent)
private static final com.particles.mes.protos.GetAdEvent DEFAULT_INSTANCE;
static {
GetAdEvent defaultInstance = new GetAdEvent();
// New instances are implicitly immutable so no need to make
// immutable.
DEFAULT_INSTANCE = defaultInstance;
com.google.protobuf.GeneratedMessageLite.registerDefaultInstance(
GetAdEvent.class, defaultInstance);
}
public static com.particles.mes.protos.GetAdEvent getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static volatile com.google.protobuf.Parser<GetAdEvent> PARSER;
public static com.google.protobuf.Parser<GetAdEvent> parser() {
return DEFAULT_INSTANCE.getParserForType();
}
}
|
0 | java-sources/ai/themsp/mes-android-sdk/0.15.0/main/com/particles/mes | java-sources/ai/themsp/mes-android-sdk/0.15.0/main/com/particles/mes/protos/GetAdEventOrBuilder.java | // Generated by the protocol buffer compiler. DO NOT EDIT!
// source: mes_events/get_ad.proto
package com.particles.mes.protos;
public interface GetAdEventOrBuilder extends
// @@protoc_insertion_point(interface_extends:com.newsbreak.mes.events.GetAdEvent)
com.google.protobuf.MessageLiteOrBuilder {
/**
* <code>uint64 client_ts_ms = 1;</code>
* @return The clientTsMs.
*/
long getClientTsMs();
/**
* <code>uint64 server_ts_ms = 2;</code>
* @return The serverTsMs.
*/
long getServerTsMs();
/**
* <code>.com.newsbreak.monetization.common.RequestContext request_context = 3;</code>
* @return Whether the requestContext field is set.
*/
boolean hasRequestContext();
/**
* <code>.com.newsbreak.monetization.common.RequestContext request_context = 3;</code>
* @return The requestContext.
*/
com.particles.mes.protos.RequestContext getRequestContext();
/**
* <code>.com.newsbreak.monetization.common.OsType os = 4;</code>
* @return The enum numeric value on the wire for os.
*/
int getOsValue();
/**
* <code>.com.newsbreak.monetization.common.OsType os = 4;</code>
* @return The os.
*/
com.particles.mes.protos.OsType getOs();
/**
* <code>optional .com.newsbreak.monetization.common.Ad ad = 5;</code>
* @return Whether the ad field is set.
*/
boolean hasAd();
/**
* <code>optional .com.newsbreak.monetization.common.Ad ad = 5;</code>
* @return The ad.
*/
com.particles.mes.protos.Ad getAd();
/**
* <code>string org = 6;</code>
* @return The org.
*/
java.lang.String getOrg();
/**
* <code>string org = 6;</code>
* @return The bytes for org.
*/
com.google.protobuf.ByteString
getOrgBytes();
/**
* <code>string app = 7;</code>
* @return The app.
*/
java.lang.String getApp();
/**
* <code>string app = 7;</code>
* @return The bytes for app.
*/
com.google.protobuf.ByteString
getAppBytes();
/**
* <code>string msp_sdk_version = 8;</code>
* @return The mspSdkVersion.
*/
java.lang.String getMspSdkVersion();
/**
* <code>string msp_sdk_version = 8;</code>
* @return The bytes for mspSdkVersion.
*/
com.google.protobuf.ByteString
getMspSdkVersionBytes();
/**
* <code>.com.newsbreak.monetization.common.ErrorCode error_code = 9;</code>
* @return The enum numeric value on the wire for errorCode.
*/
int getErrorCodeValue();
/**
* <code>.com.newsbreak.monetization.common.ErrorCode error_code = 9;</code>
* @return The errorCode.
*/
com.particles.mes.protos.ErrorCode getErrorCode();
/**
* <code>optional string error_message = 10;</code>
* @return Whether the errorMessage field is set.
*/
boolean hasErrorMessage();
/**
* <code>optional string error_message = 10;</code>
* @return The errorMessage.
*/
java.lang.String getErrorMessage();
/**
* <code>optional string error_message = 10;</code>
* @return The bytes for errorMessage.
*/
com.google.protobuf.ByteString
getErrorMessageBytes();
}
|
0 | java-sources/ai/themsp/mes-android-sdk/0.15.0/main/com/particles/mes | java-sources/ai/themsp/mes-android-sdk/0.15.0/main/com/particles/mes/protos/GetAdEvents.java | // Generated by the protocol buffer compiler. DO NOT EDIT!
// source: mes_events/get_ad.proto
package com.particles.mes.protos;
public final class GetAdEvents {
private GetAdEvents() {}
public static void registerAllExtensions(
com.google.protobuf.ExtensionRegistryLite registry) {
}
static {
}
// @@protoc_insertion_point(outer_class_scope)
}
|
0 | java-sources/ai/themsp/mes-android-sdk/0.15.0/main/com/particles/mes | java-sources/ai/themsp/mes-android-sdk/0.15.0/main/com/particles/mes/protos/GetAdFromCacheEvent.java | // Generated by the protocol buffer compiler. DO NOT EDIT!
// source: mes_events/get_ad_from_cache.proto
package com.particles.mes.protos;
/**
* <pre>
* read ad from cache and then display the ad
* this event is DEPRECATED
* </pre>
*
* Protobuf type {@code com.newsbreak.mes.events.GetAdFromCacheEvent}
*/
public final class GetAdFromCacheEvent extends
com.google.protobuf.GeneratedMessageLite<
GetAdFromCacheEvent, GetAdFromCacheEvent.Builder> implements
// @@protoc_insertion_point(message_implements:com.newsbreak.mes.events.GetAdFromCacheEvent)
GetAdFromCacheEventOrBuilder {
private GetAdFromCacheEvent() {
cacheKey_ = "";
placementId_ = "";
seat_ = "";
adNetworkId_ = "";
org_ = "";
app_ = "";
}
public static final int CLIENT_TS_MS_FIELD_NUMBER = 1;
private long clientTsMs_;
/**
* <code>uint64 client_ts_ms = 1;</code>
* @return The clientTsMs.
*/
@java.lang.Override
public long getClientTsMs() {
return clientTsMs_;
}
/**
* <code>uint64 client_ts_ms = 1;</code>
* @param value The clientTsMs to set.
*/
private void setClientTsMs(long value) {
clientTsMs_ = value;
}
/**
* <code>uint64 client_ts_ms = 1;</code>
*/
private void clearClientTsMs() {
clientTsMs_ = 0L;
}
public static final int SERVER_TS_MS_FIELD_NUMBER = 2;
private long serverTsMs_;
/**
* <code>uint64 server_ts_ms = 2;</code>
* @return The serverTsMs.
*/
@java.lang.Override
public long getServerTsMs() {
return serverTsMs_;
}
/**
* <code>uint64 server_ts_ms = 2;</code>
* @param value The serverTsMs to set.
*/
private void setServerTsMs(long value) {
serverTsMs_ = value;
}
/**
* <code>uint64 server_ts_ms = 2;</code>
*/
private void clearServerTsMs() {
serverTsMs_ = 0L;
}
public static final int CACHE_KEY_FIELD_NUMBER = 3;
private java.lang.String cacheKey_;
/**
* <code>string cache_key = 3;</code>
* @return The cacheKey.
*/
@java.lang.Override
public java.lang.String getCacheKey() {
return cacheKey_;
}
/**
* <code>string cache_key = 3;</code>
* @return The bytes for cacheKey.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getCacheKeyBytes() {
return com.google.protobuf.ByteString.copyFromUtf8(cacheKey_);
}
/**
* <code>string cache_key = 3;</code>
* @param value The cacheKey to set.
*/
private void setCacheKey(
java.lang.String value) {
java.lang.Class<?> valueClass = value.getClass();
cacheKey_ = value;
}
/**
* <code>string cache_key = 3;</code>
*/
private void clearCacheKey() {
cacheKey_ = getDefaultInstance().getCacheKey();
}
/**
* <code>string cache_key = 3;</code>
* @param value The bytes for cacheKey to set.
*/
private void setCacheKeyBytes(
com.google.protobuf.ByteString value) {
checkByteStringIsUtf8(value);
cacheKey_ = value.toStringUtf8();
}
public static final int FILL_FIELD_NUMBER = 4;
private boolean fill_;
/**
* <code>bool fill = 4;</code>
* @return The fill.
*/
@java.lang.Override
public boolean getFill() {
return fill_;
}
/**
* <code>bool fill = 4;</code>
* @param value The fill to set.
*/
private void setFill(boolean value) {
fill_ = value;
}
/**
* <code>bool fill = 4;</code>
*/
private void clearFill() {
fill_ = false;
}
public static final int PLACEMENT_ID_FIELD_NUMBER = 5;
private java.lang.String placementId_;
/**
* <pre>
* pmi-scoopz-android-foryou-display-prod
* </pre>
*
* <code>string placement_id = 5;</code>
* @return The placementId.
*/
@java.lang.Override
public java.lang.String getPlacementId() {
return placementId_;
}
/**
* <pre>
* pmi-scoopz-android-foryou-display-prod
* </pre>
*
* <code>string placement_id = 5;</code>
* @return The bytes for placementId.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getPlacementIdBytes() {
return com.google.protobuf.ByteString.copyFromUtf8(placementId_);
}
/**
* <pre>
* pmi-scoopz-android-foryou-display-prod
* </pre>
*
* <code>string placement_id = 5;</code>
* @param value The placementId to set.
*/
private void setPlacementId(
java.lang.String value) {
java.lang.Class<?> valueClass = value.getClass();
placementId_ = value;
}
/**
* <pre>
* pmi-scoopz-android-foryou-display-prod
* </pre>
*
* <code>string placement_id = 5;</code>
*/
private void clearPlacementId() {
placementId_ = getDefaultInstance().getPlacementId();
}
/**
* <pre>
* pmi-scoopz-android-foryou-display-prod
* </pre>
*
* <code>string placement_id = 5;</code>
* @param value The bytes for placementId to set.
*/
private void setPlacementIdBytes(
com.google.protobuf.ByteString value) {
checkByteStringIsUtf8(value);
placementId_ = value.toStringUtf8();
}
public static final int SEAT_FIELD_NUMBER = 6;
private java.lang.String seat_;
/**
* <code>string seat = 6;</code>
* @return The seat.
*/
@java.lang.Override
public java.lang.String getSeat() {
return seat_;
}
/**
* <code>string seat = 6;</code>
* @return The bytes for seat.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getSeatBytes() {
return com.google.protobuf.ByteString.copyFromUtf8(seat_);
}
/**
* <code>string seat = 6;</code>
* @param value The seat to set.
*/
private void setSeat(
java.lang.String value) {
java.lang.Class<?> valueClass = value.getClass();
seat_ = value;
}
/**
* <code>string seat = 6;</code>
*/
private void clearSeat() {
seat_ = getDefaultInstance().getSeat();
}
/**
* <code>string seat = 6;</code>
* @param value The bytes for seat to set.
*/
private void setSeatBytes(
com.google.protobuf.ByteString value) {
checkByteStringIsUtf8(value);
seat_ = value.toStringUtf8();
}
public static final int AD_NETWORK_ID_FIELD_NUMBER = 7;
private java.lang.String adNetworkId_;
/**
* <pre>
* nova-pmi-scoopz-android-foryou-display-prod
* </pre>
*
* <code>string ad_network_id = 7;</code>
* @return The adNetworkId.
*/
@java.lang.Override
public java.lang.String getAdNetworkId() {
return adNetworkId_;
}
/**
* <pre>
* nova-pmi-scoopz-android-foryou-display-prod
* </pre>
*
* <code>string ad_network_id = 7;</code>
* @return The bytes for adNetworkId.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getAdNetworkIdBytes() {
return com.google.protobuf.ByteString.copyFromUtf8(adNetworkId_);
}
/**
* <pre>
* nova-pmi-scoopz-android-foryou-display-prod
* </pre>
*
* <code>string ad_network_id = 7;</code>
* @param value The adNetworkId to set.
*/
private void setAdNetworkId(
java.lang.String value) {
java.lang.Class<?> valueClass = value.getClass();
adNetworkId_ = value;
}
/**
* <pre>
* nova-pmi-scoopz-android-foryou-display-prod
* </pre>
*
* <code>string ad_network_id = 7;</code>
*/
private void clearAdNetworkId() {
adNetworkId_ = getDefaultInstance().getAdNetworkId();
}
/**
* <pre>
* nova-pmi-scoopz-android-foryou-display-prod
* </pre>
*
* <code>string ad_network_id = 7;</code>
* @param value The bytes for adNetworkId to set.
*/
private void setAdNetworkIdBytes(
com.google.protobuf.ByteString value) {
checkByteStringIsUtf8(value);
adNetworkId_ = value.toStringUtf8();
}
public static final int OS_FIELD_NUMBER = 8;
private int os_;
/**
* <code>.com.newsbreak.monetization.common.OsType os = 8;</code>
* @return The enum numeric value on the wire for os.
*/
@java.lang.Override
public int getOsValue() {
return os_;
}
/**
* <code>.com.newsbreak.monetization.common.OsType os = 8;</code>
* @return The os.
*/
@java.lang.Override
public com.particles.mes.protos.OsType getOs() {
com.particles.mes.protos.OsType result = com.particles.mes.protos.OsType.forNumber(os_);
return result == null ? com.particles.mes.protos.OsType.UNRECOGNIZED : result;
}
/**
* <code>.com.newsbreak.monetization.common.OsType os = 8;</code>
* @param value The enum numeric value on the wire for os to set.
*/
private void setOsValue(int value) {
os_ = value;
}
/**
* <code>.com.newsbreak.monetization.common.OsType os = 8;</code>
* @param value The os to set.
*/
private void setOs(com.particles.mes.protos.OsType value) {
os_ = value.getNumber();
}
/**
* <code>.com.newsbreak.monetization.common.OsType os = 8;</code>
*/
private void clearOs() {
os_ = 0;
}
public static final int ORG_FIELD_NUMBER = 9;
private java.lang.String org_;
/**
* <code>string org = 9;</code>
* @return The org.
*/
@java.lang.Override
public java.lang.String getOrg() {
return org_;
}
/**
* <code>string org = 9;</code>
* @return The bytes for org.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getOrgBytes() {
return com.google.protobuf.ByteString.copyFromUtf8(org_);
}
/**
* <code>string org = 9;</code>
* @param value The org to set.
*/
private void setOrg(
java.lang.String value) {
java.lang.Class<?> valueClass = value.getClass();
org_ = value;
}
/**
* <code>string org = 9;</code>
*/
private void clearOrg() {
org_ = getDefaultInstance().getOrg();
}
/**
* <code>string org = 9;</code>
* @param value The bytes for org to set.
*/
private void setOrgBytes(
com.google.protobuf.ByteString value) {
checkByteStringIsUtf8(value);
org_ = value.toStringUtf8();
}
public static final int APP_FIELD_NUMBER = 10;
private java.lang.String app_;
/**
* <code>string app = 10;</code>
* @return The app.
*/
@java.lang.Override
public java.lang.String getApp() {
return app_;
}
/**
* <code>string app = 10;</code>
* @return The bytes for app.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getAppBytes() {
return com.google.protobuf.ByteString.copyFromUtf8(app_);
}
/**
* <code>string app = 10;</code>
* @param value The app to set.
*/
private void setApp(
java.lang.String value) {
java.lang.Class<?> valueClass = value.getClass();
app_ = value;
}
/**
* <code>string app = 10;</code>
*/
private void clearApp() {
app_ = getDefaultInstance().getApp();
}
/**
* <code>string app = 10;</code>
* @param value The bytes for app to set.
*/
private void setAppBytes(
com.google.protobuf.ByteString value) {
checkByteStringIsUtf8(value);
app_ = value.toStringUtf8();
}
public static com.particles.mes.protos.GetAdFromCacheEvent parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, data);
}
public static com.particles.mes.protos.GetAdFromCacheEvent parseFrom(
java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, data, extensionRegistry);
}
public static com.particles.mes.protos.GetAdFromCacheEvent parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, data);
}
public static com.particles.mes.protos.GetAdFromCacheEvent parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, data, extensionRegistry);
}
public static com.particles.mes.protos.GetAdFromCacheEvent parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, data);
}
public static com.particles.mes.protos.GetAdFromCacheEvent parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, data, extensionRegistry);
}
public static com.particles.mes.protos.GetAdFromCacheEvent parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, input);
}
public static com.particles.mes.protos.GetAdFromCacheEvent parseFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, input, extensionRegistry);
}
public static com.particles.mes.protos.GetAdFromCacheEvent parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return parseDelimitedFrom(DEFAULT_INSTANCE, input);
}
public static com.particles.mes.protos.GetAdFromCacheEvent parseDelimitedFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return parseDelimitedFrom(DEFAULT_INSTANCE, input, extensionRegistry);
}
public static com.particles.mes.protos.GetAdFromCacheEvent parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, input);
}
public static com.particles.mes.protos.GetAdFromCacheEvent parseFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, input, extensionRegistry);
}
public static Builder newBuilder() {
return (Builder) DEFAULT_INSTANCE.createBuilder();
}
public static Builder newBuilder(com.particles.mes.protos.GetAdFromCacheEvent prototype) {
return (Builder) DEFAULT_INSTANCE.createBuilder(prototype);
}
/**
* <pre>
* read ad from cache and then display the ad
* this event is DEPRECATED
* </pre>
*
* Protobuf type {@code com.newsbreak.mes.events.GetAdFromCacheEvent}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageLite.Builder<
com.particles.mes.protos.GetAdFromCacheEvent, Builder> implements
// @@protoc_insertion_point(builder_implements:com.newsbreak.mes.events.GetAdFromCacheEvent)
com.particles.mes.protos.GetAdFromCacheEventOrBuilder {
// Construct using com.particles.mes.protos.GetAdFromCacheEvent.newBuilder()
private Builder() {
super(DEFAULT_INSTANCE);
}
/**
* <code>uint64 client_ts_ms = 1;</code>
* @return The clientTsMs.
*/
@java.lang.Override
public long getClientTsMs() {
return instance.getClientTsMs();
}
/**
* <code>uint64 client_ts_ms = 1;</code>
* @param value The clientTsMs to set.
* @return This builder for chaining.
*/
public Builder setClientTsMs(long value) {
copyOnWrite();
instance.setClientTsMs(value);
return this;
}
/**
* <code>uint64 client_ts_ms = 1;</code>
* @return This builder for chaining.
*/
public Builder clearClientTsMs() {
copyOnWrite();
instance.clearClientTsMs();
return this;
}
/**
* <code>uint64 server_ts_ms = 2;</code>
* @return The serverTsMs.
*/
@java.lang.Override
public long getServerTsMs() {
return instance.getServerTsMs();
}
/**
* <code>uint64 server_ts_ms = 2;</code>
* @param value The serverTsMs to set.
* @return This builder for chaining.
*/
public Builder setServerTsMs(long value) {
copyOnWrite();
instance.setServerTsMs(value);
return this;
}
/**
* <code>uint64 server_ts_ms = 2;</code>
* @return This builder for chaining.
*/
public Builder clearServerTsMs() {
copyOnWrite();
instance.clearServerTsMs();
return this;
}
/**
* <code>string cache_key = 3;</code>
* @return The cacheKey.
*/
@java.lang.Override
public java.lang.String getCacheKey() {
return instance.getCacheKey();
}
/**
* <code>string cache_key = 3;</code>
* @return The bytes for cacheKey.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getCacheKeyBytes() {
return instance.getCacheKeyBytes();
}
/**
* <code>string cache_key = 3;</code>
* @param value The cacheKey to set.
* @return This builder for chaining.
*/
public Builder setCacheKey(
java.lang.String value) {
copyOnWrite();
instance.setCacheKey(value);
return this;
}
/**
* <code>string cache_key = 3;</code>
* @return This builder for chaining.
*/
public Builder clearCacheKey() {
copyOnWrite();
instance.clearCacheKey();
return this;
}
/**
* <code>string cache_key = 3;</code>
* @param value The bytes for cacheKey to set.
* @return This builder for chaining.
*/
public Builder setCacheKeyBytes(
com.google.protobuf.ByteString value) {
copyOnWrite();
instance.setCacheKeyBytes(value);
return this;
}
/**
* <code>bool fill = 4;</code>
* @return The fill.
*/
@java.lang.Override
public boolean getFill() {
return instance.getFill();
}
/**
* <code>bool fill = 4;</code>
* @param value The fill to set.
* @return This builder for chaining.
*/
public Builder setFill(boolean value) {
copyOnWrite();
instance.setFill(value);
return this;
}
/**
* <code>bool fill = 4;</code>
* @return This builder for chaining.
*/
public Builder clearFill() {
copyOnWrite();
instance.clearFill();
return this;
}
/**
* <pre>
* pmi-scoopz-android-foryou-display-prod
* </pre>
*
* <code>string placement_id = 5;</code>
* @return The placementId.
*/
@java.lang.Override
public java.lang.String getPlacementId() {
return instance.getPlacementId();
}
/**
* <pre>
* pmi-scoopz-android-foryou-display-prod
* </pre>
*
* <code>string placement_id = 5;</code>
* @return The bytes for placementId.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getPlacementIdBytes() {
return instance.getPlacementIdBytes();
}
/**
* <pre>
* pmi-scoopz-android-foryou-display-prod
* </pre>
*
* <code>string placement_id = 5;</code>
* @param value The placementId to set.
* @return This builder for chaining.
*/
public Builder setPlacementId(
java.lang.String value) {
copyOnWrite();
instance.setPlacementId(value);
return this;
}
/**
* <pre>
* pmi-scoopz-android-foryou-display-prod
* </pre>
*
* <code>string placement_id = 5;</code>
* @return This builder for chaining.
*/
public Builder clearPlacementId() {
copyOnWrite();
instance.clearPlacementId();
return this;
}
/**
* <pre>
* pmi-scoopz-android-foryou-display-prod
* </pre>
*
* <code>string placement_id = 5;</code>
* @param value The bytes for placementId to set.
* @return This builder for chaining.
*/
public Builder setPlacementIdBytes(
com.google.protobuf.ByteString value) {
copyOnWrite();
instance.setPlacementIdBytes(value);
return this;
}
/**
* <code>string seat = 6;</code>
* @return The seat.
*/
@java.lang.Override
public java.lang.String getSeat() {
return instance.getSeat();
}
/**
* <code>string seat = 6;</code>
* @return The bytes for seat.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getSeatBytes() {
return instance.getSeatBytes();
}
/**
* <code>string seat = 6;</code>
* @param value The seat to set.
* @return This builder for chaining.
*/
public Builder setSeat(
java.lang.String value) {
copyOnWrite();
instance.setSeat(value);
return this;
}
/**
* <code>string seat = 6;</code>
* @return This builder for chaining.
*/
public Builder clearSeat() {
copyOnWrite();
instance.clearSeat();
return this;
}
/**
* <code>string seat = 6;</code>
* @param value The bytes for seat to set.
* @return This builder for chaining.
*/
public Builder setSeatBytes(
com.google.protobuf.ByteString value) {
copyOnWrite();
instance.setSeatBytes(value);
return this;
}
/**
* <pre>
* nova-pmi-scoopz-android-foryou-display-prod
* </pre>
*
* <code>string ad_network_id = 7;</code>
* @return The adNetworkId.
*/
@java.lang.Override
public java.lang.String getAdNetworkId() {
return instance.getAdNetworkId();
}
/**
* <pre>
* nova-pmi-scoopz-android-foryou-display-prod
* </pre>
*
* <code>string ad_network_id = 7;</code>
* @return The bytes for adNetworkId.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getAdNetworkIdBytes() {
return instance.getAdNetworkIdBytes();
}
/**
* <pre>
* nova-pmi-scoopz-android-foryou-display-prod
* </pre>
*
* <code>string ad_network_id = 7;</code>
* @param value The adNetworkId to set.
* @return This builder for chaining.
*/
public Builder setAdNetworkId(
java.lang.String value) {
copyOnWrite();
instance.setAdNetworkId(value);
return this;
}
/**
* <pre>
* nova-pmi-scoopz-android-foryou-display-prod
* </pre>
*
* <code>string ad_network_id = 7;</code>
* @return This builder for chaining.
*/
public Builder clearAdNetworkId() {
copyOnWrite();
instance.clearAdNetworkId();
return this;
}
/**
* <pre>
* nova-pmi-scoopz-android-foryou-display-prod
* </pre>
*
* <code>string ad_network_id = 7;</code>
* @param value The bytes for adNetworkId to set.
* @return This builder for chaining.
*/
public Builder setAdNetworkIdBytes(
com.google.protobuf.ByteString value) {
copyOnWrite();
instance.setAdNetworkIdBytes(value);
return this;
}
/**
* <code>.com.newsbreak.monetization.common.OsType os = 8;</code>
* @return The enum numeric value on the wire for os.
*/
@java.lang.Override
public int getOsValue() {
return instance.getOsValue();
}
/**
* <code>.com.newsbreak.monetization.common.OsType os = 8;</code>
* @param value The os to set.
* @return This builder for chaining.
*/
public Builder setOsValue(int value) {
copyOnWrite();
instance.setOsValue(value);
return this;
}
/**
* <code>.com.newsbreak.monetization.common.OsType os = 8;</code>
* @return The os.
*/
@java.lang.Override
public com.particles.mes.protos.OsType getOs() {
return instance.getOs();
}
/**
* <code>.com.newsbreak.monetization.common.OsType os = 8;</code>
* @param value The enum numeric value on the wire for os to set.
* @return This builder for chaining.
*/
public Builder setOs(com.particles.mes.protos.OsType value) {
copyOnWrite();
instance.setOs(value);
return this;
}
/**
* <code>.com.newsbreak.monetization.common.OsType os = 8;</code>
* @return This builder for chaining.
*/
public Builder clearOs() {
copyOnWrite();
instance.clearOs();
return this;
}
/**
* <code>string org = 9;</code>
* @return The org.
*/
@java.lang.Override
public java.lang.String getOrg() {
return instance.getOrg();
}
/**
* <code>string org = 9;</code>
* @return The bytes for org.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getOrgBytes() {
return instance.getOrgBytes();
}
/**
* <code>string org = 9;</code>
* @param value The org to set.
* @return This builder for chaining.
*/
public Builder setOrg(
java.lang.String value) {
copyOnWrite();
instance.setOrg(value);
return this;
}
/**
* <code>string org = 9;</code>
* @return This builder for chaining.
*/
public Builder clearOrg() {
copyOnWrite();
instance.clearOrg();
return this;
}
/**
* <code>string org = 9;</code>
* @param value The bytes for org to set.
* @return This builder for chaining.
*/
public Builder setOrgBytes(
com.google.protobuf.ByteString value) {
copyOnWrite();
instance.setOrgBytes(value);
return this;
}
/**
* <code>string app = 10;</code>
* @return The app.
*/
@java.lang.Override
public java.lang.String getApp() {
return instance.getApp();
}
/**
* <code>string app = 10;</code>
* @return The bytes for app.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getAppBytes() {
return instance.getAppBytes();
}
/**
* <code>string app = 10;</code>
* @param value The app to set.
* @return This builder for chaining.
*/
public Builder setApp(
java.lang.String value) {
copyOnWrite();
instance.setApp(value);
return this;
}
/**
* <code>string app = 10;</code>
* @return This builder for chaining.
*/
public Builder clearApp() {
copyOnWrite();
instance.clearApp();
return this;
}
/**
* <code>string app = 10;</code>
* @param value The bytes for app to set.
* @return This builder for chaining.
*/
public Builder setAppBytes(
com.google.protobuf.ByteString value) {
copyOnWrite();
instance.setAppBytes(value);
return this;
}
// @@protoc_insertion_point(builder_scope:com.newsbreak.mes.events.GetAdFromCacheEvent)
}
@java.lang.Override
@java.lang.SuppressWarnings({"unchecked", "fallthrough"})
protected final java.lang.Object dynamicMethod(
com.google.protobuf.GeneratedMessageLite.MethodToInvoke method,
java.lang.Object arg0, java.lang.Object arg1) {
switch (method) {
case NEW_MUTABLE_INSTANCE: {
return new com.particles.mes.protos.GetAdFromCacheEvent();
}
case NEW_BUILDER: {
return new Builder();
}
case BUILD_MESSAGE_INFO: {
java.lang.Object[] objects = new java.lang.Object[] {
"clientTsMs_",
"serverTsMs_",
"cacheKey_",
"fill_",
"placementId_",
"seat_",
"adNetworkId_",
"os_",
"org_",
"app_",
};
java.lang.String info =
"\u0000\n\u0000\u0000\u0001\n\n\u0000\u0000\u0000\u0001\u0003\u0002\u0003\u0003\u0208" +
"\u0004\u0007\u0005\u0208\u0006\u0208\u0007\u0208\b\f\t\u0208\n\u0208";
return newMessageInfo(DEFAULT_INSTANCE, info, objects);
}
// fall through
case GET_DEFAULT_INSTANCE: {
return DEFAULT_INSTANCE;
}
case GET_PARSER: {
com.google.protobuf.Parser<com.particles.mes.protos.GetAdFromCacheEvent> parser = PARSER;
if (parser == null) {
synchronized (com.particles.mes.protos.GetAdFromCacheEvent.class) {
parser = PARSER;
if (parser == null) {
parser =
new DefaultInstanceBasedParser<com.particles.mes.protos.GetAdFromCacheEvent>(
DEFAULT_INSTANCE);
PARSER = parser;
}
}
}
return parser;
}
case GET_MEMOIZED_IS_INITIALIZED: {
return (byte) 1;
}
case SET_MEMOIZED_IS_INITIALIZED: {
return null;
}
}
throw new UnsupportedOperationException();
}
// @@protoc_insertion_point(class_scope:com.newsbreak.mes.events.GetAdFromCacheEvent)
private static final com.particles.mes.protos.GetAdFromCacheEvent DEFAULT_INSTANCE;
static {
GetAdFromCacheEvent defaultInstance = new GetAdFromCacheEvent();
// New instances are implicitly immutable so no need to make
// immutable.
DEFAULT_INSTANCE = defaultInstance;
com.google.protobuf.GeneratedMessageLite.registerDefaultInstance(
GetAdFromCacheEvent.class, defaultInstance);
}
public static com.particles.mes.protos.GetAdFromCacheEvent getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static volatile com.google.protobuf.Parser<GetAdFromCacheEvent> PARSER;
public static com.google.protobuf.Parser<GetAdFromCacheEvent> parser() {
return DEFAULT_INSTANCE.getParserForType();
}
}
|
0 | java-sources/ai/themsp/mes-android-sdk/0.15.0/main/com/particles/mes | java-sources/ai/themsp/mes-android-sdk/0.15.0/main/com/particles/mes/protos/GetAdFromCacheEventOrBuilder.java | // Generated by the protocol buffer compiler. DO NOT EDIT!
// source: mes_events/get_ad_from_cache.proto
package com.particles.mes.protos;
public interface GetAdFromCacheEventOrBuilder extends
// @@protoc_insertion_point(interface_extends:com.newsbreak.mes.events.GetAdFromCacheEvent)
com.google.protobuf.MessageLiteOrBuilder {
/**
* <code>uint64 client_ts_ms = 1;</code>
* @return The clientTsMs.
*/
long getClientTsMs();
/**
* <code>uint64 server_ts_ms = 2;</code>
* @return The serverTsMs.
*/
long getServerTsMs();
/**
* <code>string cache_key = 3;</code>
* @return The cacheKey.
*/
java.lang.String getCacheKey();
/**
* <code>string cache_key = 3;</code>
* @return The bytes for cacheKey.
*/
com.google.protobuf.ByteString
getCacheKeyBytes();
/**
* <code>bool fill = 4;</code>
* @return The fill.
*/
boolean getFill();
/**
* <pre>
* pmi-scoopz-android-foryou-display-prod
* </pre>
*
* <code>string placement_id = 5;</code>
* @return The placementId.
*/
java.lang.String getPlacementId();
/**
* <pre>
* pmi-scoopz-android-foryou-display-prod
* </pre>
*
* <code>string placement_id = 5;</code>
* @return The bytes for placementId.
*/
com.google.protobuf.ByteString
getPlacementIdBytes();
/**
* <code>string seat = 6;</code>
* @return The seat.
*/
java.lang.String getSeat();
/**
* <code>string seat = 6;</code>
* @return The bytes for seat.
*/
com.google.protobuf.ByteString
getSeatBytes();
/**
* <pre>
* nova-pmi-scoopz-android-foryou-display-prod
* </pre>
*
* <code>string ad_network_id = 7;</code>
* @return The adNetworkId.
*/
java.lang.String getAdNetworkId();
/**
* <pre>
* nova-pmi-scoopz-android-foryou-display-prod
* </pre>
*
* <code>string ad_network_id = 7;</code>
* @return The bytes for adNetworkId.
*/
com.google.protobuf.ByteString
getAdNetworkIdBytes();
/**
* <code>.com.newsbreak.monetization.common.OsType os = 8;</code>
* @return The enum numeric value on the wire for os.
*/
int getOsValue();
/**
* <code>.com.newsbreak.monetization.common.OsType os = 8;</code>
* @return The os.
*/
com.particles.mes.protos.OsType getOs();
/**
* <code>string org = 9;</code>
* @return The org.
*/
java.lang.String getOrg();
/**
* <code>string org = 9;</code>
* @return The bytes for org.
*/
com.google.protobuf.ByteString
getOrgBytes();
/**
* <code>string app = 10;</code>
* @return The app.
*/
java.lang.String getApp();
/**
* <code>string app = 10;</code>
* @return The bytes for app.
*/
com.google.protobuf.ByteString
getAppBytes();
}
|
0 | java-sources/ai/themsp/mes-android-sdk/0.15.0/main/com/particles/mes | java-sources/ai/themsp/mes-android-sdk/0.15.0/main/com/particles/mes/protos/GetAdFromCacheEvents.java | // Generated by the protocol buffer compiler. DO NOT EDIT!
// source: mes_events/get_ad_from_cache.proto
package com.particles.mes.protos;
public final class GetAdFromCacheEvents {
private GetAdFromCacheEvents() {}
public static void registerAllExtensions(
com.google.protobuf.ExtensionRegistryLite registry) {
}
static {
}
// @@protoc_insertion_point(outer_class_scope)
}
|
0 | java-sources/ai/themsp/mes-android-sdk/0.15.0/main/com/particles/mes | java-sources/ai/themsp/mes-android-sdk/0.15.0/main/com/particles/mes/protos/ImageType.java | // Generated by the protocol buffer compiler. DO NOT EDIT!
// source: monetization/common.proto
package com.particles.mes.protos;
/**
* Protobuf enum {@code com.newsbreak.monetization.common.ImageType}
*/
public enum ImageType
implements com.google.protobuf.Internal.EnumLite {
/**
* <code>IMAGE_TYPE_UNSPECIFIED = 0;</code>
*/
IMAGE_TYPE_UNSPECIFIED(0),
/**
* <pre>
* .jpeg or .jpg
* </pre>
*
* <code>IMAGE_TYPE_JPEG = 1;</code>
*/
IMAGE_TYPE_JPEG(1),
/**
* <code>IMAGE_TYPE_PNG = 2;</code>
*/
IMAGE_TYPE_PNG(2),
/**
* <code>IMAGE_TYPE_GIF = 3;</code>
*/
IMAGE_TYPE_GIF(3),
/**
* <code>IMAGE_TYPE_WEBP = 4;</code>
*/
IMAGE_TYPE_WEBP(4),
UNRECOGNIZED(-1),
;
/**
* <code>IMAGE_TYPE_UNSPECIFIED = 0;</code>
*/
public static final int IMAGE_TYPE_UNSPECIFIED_VALUE = 0;
/**
* <pre>
* .jpeg or .jpg
* </pre>
*
* <code>IMAGE_TYPE_JPEG = 1;</code>
*/
public static final int IMAGE_TYPE_JPEG_VALUE = 1;
/**
* <code>IMAGE_TYPE_PNG = 2;</code>
*/
public static final int IMAGE_TYPE_PNG_VALUE = 2;
/**
* <code>IMAGE_TYPE_GIF = 3;</code>
*/
public static final int IMAGE_TYPE_GIF_VALUE = 3;
/**
* <code>IMAGE_TYPE_WEBP = 4;</code>
*/
public static final int IMAGE_TYPE_WEBP_VALUE = 4;
@java.lang.Override
public final int getNumber() {
if (this == UNRECOGNIZED) {
throw new java.lang.IllegalArgumentException(
"Can't get the number of an unknown enum value.");
}
return value;
}
/**
* @param value The number of the enum to look for.
* @return The enum associated with the given number.
* @deprecated Use {@link #forNumber(int)} instead.
*/
@java.lang.Deprecated
public static ImageType valueOf(int value) {
return forNumber(value);
}
public static ImageType forNumber(int value) {
switch (value) {
case 0: return IMAGE_TYPE_UNSPECIFIED;
case 1: return IMAGE_TYPE_JPEG;
case 2: return IMAGE_TYPE_PNG;
case 3: return IMAGE_TYPE_GIF;
case 4: return IMAGE_TYPE_WEBP;
default: return null;
}
}
public static com.google.protobuf.Internal.EnumLiteMap<ImageType>
internalGetValueMap() {
return internalValueMap;
}
private static final com.google.protobuf.Internal.EnumLiteMap<
ImageType> internalValueMap =
new com.google.protobuf.Internal.EnumLiteMap<ImageType>() {
@java.lang.Override
public ImageType findValueByNumber(int number) {
return ImageType.forNumber(number);
}
};
public static com.google.protobuf.Internal.EnumVerifier
internalGetVerifier() {
return ImageTypeVerifier.INSTANCE;
}
private static final class ImageTypeVerifier implements
com.google.protobuf.Internal.EnumVerifier {
static final com.google.protobuf.Internal.EnumVerifier INSTANCE = new ImageTypeVerifier();
@java.lang.Override
public boolean isInRange(int number) {
return ImageType.forNumber(number) != null;
}
};
private final int value;
private ImageType(int value) {
this.value = value;
}
// @@protoc_insertion_point(enum_scope:com.newsbreak.monetization.common.ImageType)
}
|
0 | java-sources/ai/themsp/mes-android-sdk/0.15.0/main/com/particles/mes | java-sources/ai/themsp/mes-android-sdk/0.15.0/main/com/particles/mes/protos/LoadAd.java | // Generated by the protocol buffer compiler. DO NOT EDIT!
// source: mes_events/load_ad.proto
package com.particles.mes.protos;
/**
* <pre>
* LoadAd API called
* </pre>
*
* Protobuf type {@code com.newsbreak.mes.events.LoadAd}
*/
public final class LoadAd extends
com.google.protobuf.GeneratedMessageLite<
LoadAd, LoadAd.Builder> implements
// @@protoc_insertion_point(message_implements:com.newsbreak.mes.events.LoadAd)
LoadAdOrBuilder {
private LoadAd() {
org_ = "";
app_ = "";
mspSdkVersion_ = "";
errorMessage_ = "";
}
private int bitField0_;
public static final int CLIENT_TS_MS_FIELD_NUMBER = 1;
private long clientTsMs_;
/**
* <code>uint64 client_ts_ms = 1;</code>
* @return The clientTsMs.
*/
@java.lang.Override
public long getClientTsMs() {
return clientTsMs_;
}
/**
* <code>uint64 client_ts_ms = 1;</code>
* @param value The clientTsMs to set.
*/
private void setClientTsMs(long value) {
clientTsMs_ = value;
}
/**
* <code>uint64 client_ts_ms = 1;</code>
*/
private void clearClientTsMs() {
clientTsMs_ = 0L;
}
public static final int SERVER_TS_MS_FIELD_NUMBER = 2;
private long serverTsMs_;
/**
* <code>uint64 server_ts_ms = 2;</code>
* @return The serverTsMs.
*/
@java.lang.Override
public long getServerTsMs() {
return serverTsMs_;
}
/**
* <code>uint64 server_ts_ms = 2;</code>
* @param value The serverTsMs to set.
*/
private void setServerTsMs(long value) {
serverTsMs_ = value;
}
/**
* <code>uint64 server_ts_ms = 2;</code>
*/
private void clearServerTsMs() {
serverTsMs_ = 0L;
}
public static final int REQUEST_CONTEXT_FIELD_NUMBER = 3;
private com.particles.mes.protos.RequestContext requestContext_;
/**
* <code>optional .com.newsbreak.monetization.common.RequestContext request_context = 3;</code>
*/
@java.lang.Override
public boolean hasRequestContext() {
return ((bitField0_ & 0x00000001) != 0);
}
/**
* <code>optional .com.newsbreak.monetization.common.RequestContext request_context = 3;</code>
*/
@java.lang.Override
public com.particles.mes.protos.RequestContext getRequestContext() {
return requestContext_ == null ? com.particles.mes.protos.RequestContext.getDefaultInstance() : requestContext_;
}
/**
* <code>optional .com.newsbreak.monetization.common.RequestContext request_context = 3;</code>
*/
private void setRequestContext(com.particles.mes.protos.RequestContext value) {
value.getClass();
requestContext_ = value;
bitField0_ |= 0x00000001;
}
/**
* <code>optional .com.newsbreak.monetization.common.RequestContext request_context = 3;</code>
*/
@java.lang.SuppressWarnings({"ReferenceEquality"})
private void mergeRequestContext(com.particles.mes.protos.RequestContext value) {
value.getClass();
if (requestContext_ != null &&
requestContext_ != com.particles.mes.protos.RequestContext.getDefaultInstance()) {
requestContext_ =
com.particles.mes.protos.RequestContext.newBuilder(requestContext_).mergeFrom(value).buildPartial();
} else {
requestContext_ = value;
}
bitField0_ |= 0x00000001;
}
/**
* <code>optional .com.newsbreak.monetization.common.RequestContext request_context = 3;</code>
*/
private void clearRequestContext() { requestContext_ = null;
bitField0_ = (bitField0_ & ~0x00000001);
}
public static final int OS_FIELD_NUMBER = 4;
private int os_;
/**
* <code>.com.newsbreak.monetization.common.OsType os = 4;</code>
* @return The enum numeric value on the wire for os.
*/
@java.lang.Override
public int getOsValue() {
return os_;
}
/**
* <code>.com.newsbreak.monetization.common.OsType os = 4;</code>
* @return The os.
*/
@java.lang.Override
public com.particles.mes.protos.OsType getOs() {
com.particles.mes.protos.OsType result = com.particles.mes.protos.OsType.forNumber(os_);
return result == null ? com.particles.mes.protos.OsType.UNRECOGNIZED : result;
}
/**
* <code>.com.newsbreak.monetization.common.OsType os = 4;</code>
* @param value The enum numeric value on the wire for os to set.
*/
private void setOsValue(int value) {
os_ = value;
}
/**
* <code>.com.newsbreak.monetization.common.OsType os = 4;</code>
* @param value The os to set.
*/
private void setOs(com.particles.mes.protos.OsType value) {
os_ = value.getNumber();
}
/**
* <code>.com.newsbreak.monetization.common.OsType os = 4;</code>
*/
private void clearOs() {
os_ = 0;
}
public static final int AD_FIELD_NUMBER = 5;
private com.particles.mes.protos.Ad ad_;
/**
* <code>optional .com.newsbreak.monetization.common.Ad ad = 5;</code>
*/
@java.lang.Override
public boolean hasAd() {
return ((bitField0_ & 0x00000002) != 0);
}
/**
* <code>optional .com.newsbreak.monetization.common.Ad ad = 5;</code>
*/
@java.lang.Override
public com.particles.mes.protos.Ad getAd() {
return ad_ == null ? com.particles.mes.protos.Ad.getDefaultInstance() : ad_;
}
/**
* <code>optional .com.newsbreak.monetization.common.Ad ad = 5;</code>
*/
private void setAd(com.particles.mes.protos.Ad value) {
value.getClass();
ad_ = value;
bitField0_ |= 0x00000002;
}
/**
* <code>optional .com.newsbreak.monetization.common.Ad ad = 5;</code>
*/
@java.lang.SuppressWarnings({"ReferenceEquality"})
private void mergeAd(com.particles.mes.protos.Ad value) {
value.getClass();
if (ad_ != null &&
ad_ != com.particles.mes.protos.Ad.getDefaultInstance()) {
ad_ =
com.particles.mes.protos.Ad.newBuilder(ad_).mergeFrom(value).buildPartial();
} else {
ad_ = value;
}
bitField0_ |= 0x00000002;
}
/**
* <code>optional .com.newsbreak.monetization.common.Ad ad = 5;</code>
*/
private void clearAd() { ad_ = null;
bitField0_ = (bitField0_ & ~0x00000002);
}
public static final int ORG_FIELD_NUMBER = 6;
private java.lang.String org_;
/**
* <code>string org = 6;</code>
* @return The org.
*/
@java.lang.Override
public java.lang.String getOrg() {
return org_;
}
/**
* <code>string org = 6;</code>
* @return The bytes for org.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getOrgBytes() {
return com.google.protobuf.ByteString.copyFromUtf8(org_);
}
/**
* <code>string org = 6;</code>
* @param value The org to set.
*/
private void setOrg(
java.lang.String value) {
java.lang.Class<?> valueClass = value.getClass();
org_ = value;
}
/**
* <code>string org = 6;</code>
*/
private void clearOrg() {
org_ = getDefaultInstance().getOrg();
}
/**
* <code>string org = 6;</code>
* @param value The bytes for org to set.
*/
private void setOrgBytes(
com.google.protobuf.ByteString value) {
checkByteStringIsUtf8(value);
org_ = value.toStringUtf8();
}
public static final int APP_FIELD_NUMBER = 7;
private java.lang.String app_;
/**
* <code>string app = 7;</code>
* @return The app.
*/
@java.lang.Override
public java.lang.String getApp() {
return app_;
}
/**
* <code>string app = 7;</code>
* @return The bytes for app.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getAppBytes() {
return com.google.protobuf.ByteString.copyFromUtf8(app_);
}
/**
* <code>string app = 7;</code>
* @param value The app to set.
*/
private void setApp(
java.lang.String value) {
java.lang.Class<?> valueClass = value.getClass();
app_ = value;
}
/**
* <code>string app = 7;</code>
*/
private void clearApp() {
app_ = getDefaultInstance().getApp();
}
/**
* <code>string app = 7;</code>
* @param value The bytes for app to set.
*/
private void setAppBytes(
com.google.protobuf.ByteString value) {
checkByteStringIsUtf8(value);
app_ = value.toStringUtf8();
}
public static final int MSP_SDK_VERSION_FIELD_NUMBER = 8;
private java.lang.String mspSdkVersion_;
/**
* <code>string msp_sdk_version = 8;</code>
* @return The mspSdkVersion.
*/
@java.lang.Override
public java.lang.String getMspSdkVersion() {
return mspSdkVersion_;
}
/**
* <code>string msp_sdk_version = 8;</code>
* @return The bytes for mspSdkVersion.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getMspSdkVersionBytes() {
return com.google.protobuf.ByteString.copyFromUtf8(mspSdkVersion_);
}
/**
* <code>string msp_sdk_version = 8;</code>
* @param value The mspSdkVersion to set.
*/
private void setMspSdkVersion(
java.lang.String value) {
java.lang.Class<?> valueClass = value.getClass();
mspSdkVersion_ = value;
}
/**
* <code>string msp_sdk_version = 8;</code>
*/
private void clearMspSdkVersion() {
mspSdkVersion_ = getDefaultInstance().getMspSdkVersion();
}
/**
* <code>string msp_sdk_version = 8;</code>
* @param value The bytes for mspSdkVersion to set.
*/
private void setMspSdkVersionBytes(
com.google.protobuf.ByteString value) {
checkByteStringIsUtf8(value);
mspSdkVersion_ = value.toStringUtf8();
}
public static final int LATENCY_FIELD_NUMBER = 9;
private int latency_;
/**
* <code>int32 latency = 9;</code>
* @return The latency.
*/
@java.lang.Override
public int getLatency() {
return latency_;
}
/**
* <code>int32 latency = 9;</code>
* @param value The latency to set.
*/
private void setLatency(int value) {
latency_ = value;
}
/**
* <code>int32 latency = 9;</code>
*/
private void clearLatency() {
latency_ = 0;
}
public static final int ERROR_CODE_FIELD_NUMBER = 10;
private int errorCode_;
/**
* <code>.com.newsbreak.monetization.common.ErrorCode error_code = 10;</code>
* @return The enum numeric value on the wire for errorCode.
*/
@java.lang.Override
public int getErrorCodeValue() {
return errorCode_;
}
/**
* <code>.com.newsbreak.monetization.common.ErrorCode error_code = 10;</code>
* @return The errorCode.
*/
@java.lang.Override
public com.particles.mes.protos.ErrorCode getErrorCode() {
com.particles.mes.protos.ErrorCode result = com.particles.mes.protos.ErrorCode.forNumber(errorCode_);
return result == null ? com.particles.mes.protos.ErrorCode.UNRECOGNIZED : result;
}
/**
* <code>.com.newsbreak.monetization.common.ErrorCode error_code = 10;</code>
* @param value The enum numeric value on the wire for errorCode to set.
*/
private void setErrorCodeValue(int value) {
errorCode_ = value;
}
/**
* <code>.com.newsbreak.monetization.common.ErrorCode error_code = 10;</code>
* @param value The errorCode to set.
*/
private void setErrorCode(com.particles.mes.protos.ErrorCode value) {
errorCode_ = value.getNumber();
}
/**
* <code>.com.newsbreak.monetization.common.ErrorCode error_code = 10;</code>
*/
private void clearErrorCode() {
errorCode_ = 0;
}
public static final int ERROR_MESSAGE_FIELD_NUMBER = 11;
private java.lang.String errorMessage_;
/**
* <code>optional string error_message = 11;</code>
* @return Whether the errorMessage field is set.
*/
@java.lang.Override
public boolean hasErrorMessage() {
return ((bitField0_ & 0x00000004) != 0);
}
/**
* <code>optional string error_message = 11;</code>
* @return The errorMessage.
*/
@java.lang.Override
public java.lang.String getErrorMessage() {
return errorMessage_;
}
/**
* <code>optional string error_message = 11;</code>
* @return The bytes for errorMessage.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getErrorMessageBytes() {
return com.google.protobuf.ByteString.copyFromUtf8(errorMessage_);
}
/**
* <code>optional string error_message = 11;</code>
* @param value The errorMessage to set.
*/
private void setErrorMessage(
java.lang.String value) {
java.lang.Class<?> valueClass = value.getClass();
bitField0_ |= 0x00000004;
errorMessage_ = value;
}
/**
* <code>optional string error_message = 11;</code>
*/
private void clearErrorMessage() {
bitField0_ = (bitField0_ & ~0x00000004);
errorMessage_ = getDefaultInstance().getErrorMessage();
}
/**
* <code>optional string error_message = 11;</code>
* @param value The bytes for errorMessage to set.
*/
private void setErrorMessageBytes(
com.google.protobuf.ByteString value) {
checkByteStringIsUtf8(value);
errorMessage_ = value.toStringUtf8();
bitField0_ |= 0x00000004;
}
public static final int FILLED_FROM_CACHE_FIELD_NUMBER = 12;
private boolean filledFromCache_;
/**
* <code>optional bool filled_from_cache = 12;</code>
* @return Whether the filledFromCache field is set.
*/
@java.lang.Override
public boolean hasFilledFromCache() {
return ((bitField0_ & 0x00000008) != 0);
}
/**
* <code>optional bool filled_from_cache = 12;</code>
* @return The filledFromCache.
*/
@java.lang.Override
public boolean getFilledFromCache() {
return filledFromCache_;
}
/**
* <code>optional bool filled_from_cache = 12;</code>
* @param value The filledFromCache to set.
*/
private void setFilledFromCache(boolean value) {
bitField0_ |= 0x00000008;
filledFromCache_ = value;
}
/**
* <code>optional bool filled_from_cache = 12;</code>
*/
private void clearFilledFromCache() {
bitField0_ = (bitField0_ & ~0x00000008);
filledFromCache_ = false;
}
public static com.particles.mes.protos.LoadAd parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, data);
}
public static com.particles.mes.protos.LoadAd parseFrom(
java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, data, extensionRegistry);
}
public static com.particles.mes.protos.LoadAd parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, data);
}
public static com.particles.mes.protos.LoadAd parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, data, extensionRegistry);
}
public static com.particles.mes.protos.LoadAd parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, data);
}
public static com.particles.mes.protos.LoadAd parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, data, extensionRegistry);
}
public static com.particles.mes.protos.LoadAd parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, input);
}
public static com.particles.mes.protos.LoadAd parseFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, input, extensionRegistry);
}
public static com.particles.mes.protos.LoadAd parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return parseDelimitedFrom(DEFAULT_INSTANCE, input);
}
public static com.particles.mes.protos.LoadAd parseDelimitedFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return parseDelimitedFrom(DEFAULT_INSTANCE, input, extensionRegistry);
}
public static com.particles.mes.protos.LoadAd parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, input);
}
public static com.particles.mes.protos.LoadAd parseFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, input, extensionRegistry);
}
public static Builder newBuilder() {
return (Builder) DEFAULT_INSTANCE.createBuilder();
}
public static Builder newBuilder(com.particles.mes.protos.LoadAd prototype) {
return (Builder) DEFAULT_INSTANCE.createBuilder(prototype);
}
/**
* <pre>
* LoadAd API called
* </pre>
*
* Protobuf type {@code com.newsbreak.mes.events.LoadAd}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageLite.Builder<
com.particles.mes.protos.LoadAd, Builder> implements
// @@protoc_insertion_point(builder_implements:com.newsbreak.mes.events.LoadAd)
com.particles.mes.protos.LoadAdOrBuilder {
// Construct using com.particles.mes.protos.LoadAd.newBuilder()
private Builder() {
super(DEFAULT_INSTANCE);
}
/**
* <code>uint64 client_ts_ms = 1;</code>
* @return The clientTsMs.
*/
@java.lang.Override
public long getClientTsMs() {
return instance.getClientTsMs();
}
/**
* <code>uint64 client_ts_ms = 1;</code>
* @param value The clientTsMs to set.
* @return This builder for chaining.
*/
public Builder setClientTsMs(long value) {
copyOnWrite();
instance.setClientTsMs(value);
return this;
}
/**
* <code>uint64 client_ts_ms = 1;</code>
* @return This builder for chaining.
*/
public Builder clearClientTsMs() {
copyOnWrite();
instance.clearClientTsMs();
return this;
}
/**
* <code>uint64 server_ts_ms = 2;</code>
* @return The serverTsMs.
*/
@java.lang.Override
public long getServerTsMs() {
return instance.getServerTsMs();
}
/**
* <code>uint64 server_ts_ms = 2;</code>
* @param value The serverTsMs to set.
* @return This builder for chaining.
*/
public Builder setServerTsMs(long value) {
copyOnWrite();
instance.setServerTsMs(value);
return this;
}
/**
* <code>uint64 server_ts_ms = 2;</code>
* @return This builder for chaining.
*/
public Builder clearServerTsMs() {
copyOnWrite();
instance.clearServerTsMs();
return this;
}
/**
* <code>optional .com.newsbreak.monetization.common.RequestContext request_context = 3;</code>
*/
@java.lang.Override
public boolean hasRequestContext() {
return instance.hasRequestContext();
}
/**
* <code>optional .com.newsbreak.monetization.common.RequestContext request_context = 3;</code>
*/
@java.lang.Override
public com.particles.mes.protos.RequestContext getRequestContext() {
return instance.getRequestContext();
}
/**
* <code>optional .com.newsbreak.monetization.common.RequestContext request_context = 3;</code>
*/
public Builder setRequestContext(com.particles.mes.protos.RequestContext value) {
copyOnWrite();
instance.setRequestContext(value);
return this;
}
/**
* <code>optional .com.newsbreak.monetization.common.RequestContext request_context = 3;</code>
*/
public Builder setRequestContext(
com.particles.mes.protos.RequestContext.Builder builderForValue) {
copyOnWrite();
instance.setRequestContext(builderForValue.build());
return this;
}
/**
* <code>optional .com.newsbreak.monetization.common.RequestContext request_context = 3;</code>
*/
public Builder mergeRequestContext(com.particles.mes.protos.RequestContext value) {
copyOnWrite();
instance.mergeRequestContext(value);
return this;
}
/**
* <code>optional .com.newsbreak.monetization.common.RequestContext request_context = 3;</code>
*/
public Builder clearRequestContext() { copyOnWrite();
instance.clearRequestContext();
return this;
}
/**
* <code>.com.newsbreak.monetization.common.OsType os = 4;</code>
* @return The enum numeric value on the wire for os.
*/
@java.lang.Override
public int getOsValue() {
return instance.getOsValue();
}
/**
* <code>.com.newsbreak.monetization.common.OsType os = 4;</code>
* @param value The os to set.
* @return This builder for chaining.
*/
public Builder setOsValue(int value) {
copyOnWrite();
instance.setOsValue(value);
return this;
}
/**
* <code>.com.newsbreak.monetization.common.OsType os = 4;</code>
* @return The os.
*/
@java.lang.Override
public com.particles.mes.protos.OsType getOs() {
return instance.getOs();
}
/**
* <code>.com.newsbreak.monetization.common.OsType os = 4;</code>
* @param value The enum numeric value on the wire for os to set.
* @return This builder for chaining.
*/
public Builder setOs(com.particles.mes.protos.OsType value) {
copyOnWrite();
instance.setOs(value);
return this;
}
/**
* <code>.com.newsbreak.monetization.common.OsType os = 4;</code>
* @return This builder for chaining.
*/
public Builder clearOs() {
copyOnWrite();
instance.clearOs();
return this;
}
/**
* <code>optional .com.newsbreak.monetization.common.Ad ad = 5;</code>
*/
@java.lang.Override
public boolean hasAd() {
return instance.hasAd();
}
/**
* <code>optional .com.newsbreak.monetization.common.Ad ad = 5;</code>
*/
@java.lang.Override
public com.particles.mes.protos.Ad getAd() {
return instance.getAd();
}
/**
* <code>optional .com.newsbreak.monetization.common.Ad ad = 5;</code>
*/
public Builder setAd(com.particles.mes.protos.Ad value) {
copyOnWrite();
instance.setAd(value);
return this;
}
/**
* <code>optional .com.newsbreak.monetization.common.Ad ad = 5;</code>
*/
public Builder setAd(
com.particles.mes.protos.Ad.Builder builderForValue) {
copyOnWrite();
instance.setAd(builderForValue.build());
return this;
}
/**
* <code>optional .com.newsbreak.monetization.common.Ad ad = 5;</code>
*/
public Builder mergeAd(com.particles.mes.protos.Ad value) {
copyOnWrite();
instance.mergeAd(value);
return this;
}
/**
* <code>optional .com.newsbreak.monetization.common.Ad ad = 5;</code>
*/
public Builder clearAd() { copyOnWrite();
instance.clearAd();
return this;
}
/**
* <code>string org = 6;</code>
* @return The org.
*/
@java.lang.Override
public java.lang.String getOrg() {
return instance.getOrg();
}
/**
* <code>string org = 6;</code>
* @return The bytes for org.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getOrgBytes() {
return instance.getOrgBytes();
}
/**
* <code>string org = 6;</code>
* @param value The org to set.
* @return This builder for chaining.
*/
public Builder setOrg(
java.lang.String value) {
copyOnWrite();
instance.setOrg(value);
return this;
}
/**
* <code>string org = 6;</code>
* @return This builder for chaining.
*/
public Builder clearOrg() {
copyOnWrite();
instance.clearOrg();
return this;
}
/**
* <code>string org = 6;</code>
* @param value The bytes for org to set.
* @return This builder for chaining.
*/
public Builder setOrgBytes(
com.google.protobuf.ByteString value) {
copyOnWrite();
instance.setOrgBytes(value);
return this;
}
/**
* <code>string app = 7;</code>
* @return The app.
*/
@java.lang.Override
public java.lang.String getApp() {
return instance.getApp();
}
/**
* <code>string app = 7;</code>
* @return The bytes for app.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getAppBytes() {
return instance.getAppBytes();
}
/**
* <code>string app = 7;</code>
* @param value The app to set.
* @return This builder for chaining.
*/
public Builder setApp(
java.lang.String value) {
copyOnWrite();
instance.setApp(value);
return this;
}
/**
* <code>string app = 7;</code>
* @return This builder for chaining.
*/
public Builder clearApp() {
copyOnWrite();
instance.clearApp();
return this;
}
/**
* <code>string app = 7;</code>
* @param value The bytes for app to set.
* @return This builder for chaining.
*/
public Builder setAppBytes(
com.google.protobuf.ByteString value) {
copyOnWrite();
instance.setAppBytes(value);
return this;
}
/**
* <code>string msp_sdk_version = 8;</code>
* @return The mspSdkVersion.
*/
@java.lang.Override
public java.lang.String getMspSdkVersion() {
return instance.getMspSdkVersion();
}
/**
* <code>string msp_sdk_version = 8;</code>
* @return The bytes for mspSdkVersion.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getMspSdkVersionBytes() {
return instance.getMspSdkVersionBytes();
}
/**
* <code>string msp_sdk_version = 8;</code>
* @param value The mspSdkVersion to set.
* @return This builder for chaining.
*/
public Builder setMspSdkVersion(
java.lang.String value) {
copyOnWrite();
instance.setMspSdkVersion(value);
return this;
}
/**
* <code>string msp_sdk_version = 8;</code>
* @return This builder for chaining.
*/
public Builder clearMspSdkVersion() {
copyOnWrite();
instance.clearMspSdkVersion();
return this;
}
/**
* <code>string msp_sdk_version = 8;</code>
* @param value The bytes for mspSdkVersion to set.
* @return This builder for chaining.
*/
public Builder setMspSdkVersionBytes(
com.google.protobuf.ByteString value) {
copyOnWrite();
instance.setMspSdkVersionBytes(value);
return this;
}
/**
* <code>int32 latency = 9;</code>
* @return The latency.
*/
@java.lang.Override
public int getLatency() {
return instance.getLatency();
}
/**
* <code>int32 latency = 9;</code>
* @param value The latency to set.
* @return This builder for chaining.
*/
public Builder setLatency(int value) {
copyOnWrite();
instance.setLatency(value);
return this;
}
/**
* <code>int32 latency = 9;</code>
* @return This builder for chaining.
*/
public Builder clearLatency() {
copyOnWrite();
instance.clearLatency();
return this;
}
/**
* <code>.com.newsbreak.monetization.common.ErrorCode error_code = 10;</code>
* @return The enum numeric value on the wire for errorCode.
*/
@java.lang.Override
public int getErrorCodeValue() {
return instance.getErrorCodeValue();
}
/**
* <code>.com.newsbreak.monetization.common.ErrorCode error_code = 10;</code>
* @param value The errorCode to set.
* @return This builder for chaining.
*/
public Builder setErrorCodeValue(int value) {
copyOnWrite();
instance.setErrorCodeValue(value);
return this;
}
/**
* <code>.com.newsbreak.monetization.common.ErrorCode error_code = 10;</code>
* @return The errorCode.
*/
@java.lang.Override
public com.particles.mes.protos.ErrorCode getErrorCode() {
return instance.getErrorCode();
}
/**
* <code>.com.newsbreak.monetization.common.ErrorCode error_code = 10;</code>
* @param value The enum numeric value on the wire for errorCode to set.
* @return This builder for chaining.
*/
public Builder setErrorCode(com.particles.mes.protos.ErrorCode value) {
copyOnWrite();
instance.setErrorCode(value);
return this;
}
/**
* <code>.com.newsbreak.monetization.common.ErrorCode error_code = 10;</code>
* @return This builder for chaining.
*/
public Builder clearErrorCode() {
copyOnWrite();
instance.clearErrorCode();
return this;
}
/**
* <code>optional string error_message = 11;</code>
* @return Whether the errorMessage field is set.
*/
@java.lang.Override
public boolean hasErrorMessage() {
return instance.hasErrorMessage();
}
/**
* <code>optional string error_message = 11;</code>
* @return The errorMessage.
*/
@java.lang.Override
public java.lang.String getErrorMessage() {
return instance.getErrorMessage();
}
/**
* <code>optional string error_message = 11;</code>
* @return The bytes for errorMessage.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getErrorMessageBytes() {
return instance.getErrorMessageBytes();
}
/**
* <code>optional string error_message = 11;</code>
* @param value The errorMessage to set.
* @return This builder for chaining.
*/
public Builder setErrorMessage(
java.lang.String value) {
copyOnWrite();
instance.setErrorMessage(value);
return this;
}
/**
* <code>optional string error_message = 11;</code>
* @return This builder for chaining.
*/
public Builder clearErrorMessage() {
copyOnWrite();
instance.clearErrorMessage();
return this;
}
/**
* <code>optional string error_message = 11;</code>
* @param value The bytes for errorMessage to set.
* @return This builder for chaining.
*/
public Builder setErrorMessageBytes(
com.google.protobuf.ByteString value) {
copyOnWrite();
instance.setErrorMessageBytes(value);
return this;
}
/**
* <code>optional bool filled_from_cache = 12;</code>
* @return Whether the filledFromCache field is set.
*/
@java.lang.Override
public boolean hasFilledFromCache() {
return instance.hasFilledFromCache();
}
/**
* <code>optional bool filled_from_cache = 12;</code>
* @return The filledFromCache.
*/
@java.lang.Override
public boolean getFilledFromCache() {
return instance.getFilledFromCache();
}
/**
* <code>optional bool filled_from_cache = 12;</code>
* @param value The filledFromCache to set.
* @return This builder for chaining.
*/
public Builder setFilledFromCache(boolean value) {
copyOnWrite();
instance.setFilledFromCache(value);
return this;
}
/**
* <code>optional bool filled_from_cache = 12;</code>
* @return This builder for chaining.
*/
public Builder clearFilledFromCache() {
copyOnWrite();
instance.clearFilledFromCache();
return this;
}
// @@protoc_insertion_point(builder_scope:com.newsbreak.mes.events.LoadAd)
}
private byte memoizedIsInitialized = 2;
@java.lang.Override
@java.lang.SuppressWarnings({"unchecked", "fallthrough"})
protected final java.lang.Object dynamicMethod(
com.google.protobuf.GeneratedMessageLite.MethodToInvoke method,
java.lang.Object arg0, java.lang.Object arg1) {
switch (method) {
case NEW_MUTABLE_INSTANCE: {
return new com.particles.mes.protos.LoadAd();
}
case NEW_BUILDER: {
return new Builder();
}
case BUILD_MESSAGE_INFO: {
java.lang.Object[] objects = new java.lang.Object[] {
"bitField0_",
"clientTsMs_",
"serverTsMs_",
"requestContext_",
"os_",
"ad_",
"org_",
"app_",
"mspSdkVersion_",
"latency_",
"errorCode_",
"errorMessage_",
"filledFromCache_",
};
java.lang.String info =
"\u0000\f\u0000\u0001\u0001\f\f\u0000\u0000\u0002\u0001\u0003\u0002\u0003\u0003\u1409" +
"\u0000\u0004\f\u0005\u1409\u0001\u0006\u0208\u0007\u0208\b\u0208\t\u0004\n\f\u000b" +
"\u1208\u0002\f\u1007\u0003";
return newMessageInfo(DEFAULT_INSTANCE, info, objects);
}
// fall through
case GET_DEFAULT_INSTANCE: {
return DEFAULT_INSTANCE;
}
case GET_PARSER: {
com.google.protobuf.Parser<com.particles.mes.protos.LoadAd> parser = PARSER;
if (parser == null) {
synchronized (com.particles.mes.protos.LoadAd.class) {
parser = PARSER;
if (parser == null) {
parser =
new DefaultInstanceBasedParser<com.particles.mes.protos.LoadAd>(
DEFAULT_INSTANCE);
PARSER = parser;
}
}
}
return parser;
}
case GET_MEMOIZED_IS_INITIALIZED: {
return memoizedIsInitialized;
}
case SET_MEMOIZED_IS_INITIALIZED: {
memoizedIsInitialized = (byte) (arg0 == null ? 0 : 1);
return null;
}
}
throw new UnsupportedOperationException();
}
// @@protoc_insertion_point(class_scope:com.newsbreak.mes.events.LoadAd)
private static final com.particles.mes.protos.LoadAd DEFAULT_INSTANCE;
static {
LoadAd defaultInstance = new LoadAd();
// New instances are implicitly immutable so no need to make
// immutable.
DEFAULT_INSTANCE = defaultInstance;
com.google.protobuf.GeneratedMessageLite.registerDefaultInstance(
LoadAd.class, defaultInstance);
}
public static com.particles.mes.protos.LoadAd getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static volatile com.google.protobuf.Parser<LoadAd> PARSER;
public static com.google.protobuf.Parser<LoadAd> parser() {
return DEFAULT_INSTANCE.getParserForType();
}
}
|
0 | java-sources/ai/themsp/mes-android-sdk/0.15.0/main/com/particles/mes | java-sources/ai/themsp/mes-android-sdk/0.15.0/main/com/particles/mes/protos/LoadAdEvents.java | // Generated by the protocol buffer compiler. DO NOT EDIT!
// source: mes_events/load_ad.proto
package com.particles.mes.protos;
public final class LoadAdEvents {
private LoadAdEvents() {}
public static void registerAllExtensions(
com.google.protobuf.ExtensionRegistryLite registry) {
}
static {
}
// @@protoc_insertion_point(outer_class_scope)
}
|
0 | java-sources/ai/themsp/mes-android-sdk/0.15.0/main/com/particles/mes | java-sources/ai/themsp/mes-android-sdk/0.15.0/main/com/particles/mes/protos/LoadAdOrBuilder.java | // Generated by the protocol buffer compiler. DO NOT EDIT!
// source: mes_events/load_ad.proto
package com.particles.mes.protos;
public interface LoadAdOrBuilder extends
// @@protoc_insertion_point(interface_extends:com.newsbreak.mes.events.LoadAd)
com.google.protobuf.MessageLiteOrBuilder {
/**
* <code>uint64 client_ts_ms = 1;</code>
* @return The clientTsMs.
*/
long getClientTsMs();
/**
* <code>uint64 server_ts_ms = 2;</code>
* @return The serverTsMs.
*/
long getServerTsMs();
/**
* <code>optional .com.newsbreak.monetization.common.RequestContext request_context = 3;</code>
* @return Whether the requestContext field is set.
*/
boolean hasRequestContext();
/**
* <code>optional .com.newsbreak.monetization.common.RequestContext request_context = 3;</code>
* @return The requestContext.
*/
com.particles.mes.protos.RequestContext getRequestContext();
/**
* <code>.com.newsbreak.monetization.common.OsType os = 4;</code>
* @return The enum numeric value on the wire for os.
*/
int getOsValue();
/**
* <code>.com.newsbreak.monetization.common.OsType os = 4;</code>
* @return The os.
*/
com.particles.mes.protos.OsType getOs();
/**
* <code>optional .com.newsbreak.monetization.common.Ad ad = 5;</code>
* @return Whether the ad field is set.
*/
boolean hasAd();
/**
* <code>optional .com.newsbreak.monetization.common.Ad ad = 5;</code>
* @return The ad.
*/
com.particles.mes.protos.Ad getAd();
/**
* <code>string org = 6;</code>
* @return The org.
*/
java.lang.String getOrg();
/**
* <code>string org = 6;</code>
* @return The bytes for org.
*/
com.google.protobuf.ByteString
getOrgBytes();
/**
* <code>string app = 7;</code>
* @return The app.
*/
java.lang.String getApp();
/**
* <code>string app = 7;</code>
* @return The bytes for app.
*/
com.google.protobuf.ByteString
getAppBytes();
/**
* <code>string msp_sdk_version = 8;</code>
* @return The mspSdkVersion.
*/
java.lang.String getMspSdkVersion();
/**
* <code>string msp_sdk_version = 8;</code>
* @return The bytes for mspSdkVersion.
*/
com.google.protobuf.ByteString
getMspSdkVersionBytes();
/**
* <code>int32 latency = 9;</code>
* @return The latency.
*/
int getLatency();
/**
* <code>.com.newsbreak.monetization.common.ErrorCode error_code = 10;</code>
* @return The enum numeric value on the wire for errorCode.
*/
int getErrorCodeValue();
/**
* <code>.com.newsbreak.monetization.common.ErrorCode error_code = 10;</code>
* @return The errorCode.
*/
com.particles.mes.protos.ErrorCode getErrorCode();
/**
* <code>optional string error_message = 11;</code>
* @return Whether the errorMessage field is set.
*/
boolean hasErrorMessage();
/**
* <code>optional string error_message = 11;</code>
* @return The errorMessage.
*/
java.lang.String getErrorMessage();
/**
* <code>optional string error_message = 11;</code>
* @return The bytes for errorMessage.
*/
com.google.protobuf.ByteString
getErrorMessageBytes();
/**
* <code>optional bool filled_from_cache = 12;</code>
* @return Whether the filledFromCache field is set.
*/
boolean hasFilledFromCache();
/**
* <code>optional bool filled_from_cache = 12;</code>
* @return The filledFromCache.
*/
boolean getFilledFromCache();
}
|
0 | java-sources/ai/themsp/mes-android-sdk/0.15.0/main/com/particles/mes | java-sources/ai/themsp/mes-android-sdk/0.15.0/main/com/particles/mes/protos/LoadAdRequest.java | // Generated by the protocol buffer compiler. DO NOT EDIT!
// source: mes_events/load_ad_request.proto
package com.particles.mes.protos;
/**
* <pre>
* this event is called before request sent, enabled only if sampling flag is on
* this event is DEPRECATED
* </pre>
*
* Protobuf type {@code com.newsbreak.mes.events.LoadAdRequest}
*/
public final class LoadAdRequest extends
com.google.protobuf.GeneratedMessageLite<
LoadAdRequest, LoadAdRequest.Builder> implements
// @@protoc_insertion_point(message_implements:com.newsbreak.mes.events.LoadAdRequest)
LoadAdRequestOrBuilder {
private LoadAdRequest() {
loadAdEventId_ = "";
placementId_ = "";
org_ = "";
app_ = "";
}
public static final int CLIENT_TS_MS_FIELD_NUMBER = 1;
private long clientTsMs_;
/**
* <code>uint64 client_ts_ms = 1;</code>
* @return The clientTsMs.
*/
@java.lang.Override
public long getClientTsMs() {
return clientTsMs_;
}
/**
* <code>uint64 client_ts_ms = 1;</code>
* @param value The clientTsMs to set.
*/
private void setClientTsMs(long value) {
clientTsMs_ = value;
}
/**
* <code>uint64 client_ts_ms = 1;</code>
*/
private void clearClientTsMs() {
clientTsMs_ = 0L;
}
public static final int SERVER_TS_MS_FIELD_NUMBER = 2;
private long serverTsMs_;
/**
* <code>uint64 server_ts_ms = 2;</code>
* @return The serverTsMs.
*/
@java.lang.Override
public long getServerTsMs() {
return serverTsMs_;
}
/**
* <code>uint64 server_ts_ms = 2;</code>
* @param value The serverTsMs to set.
*/
private void setServerTsMs(long value) {
serverTsMs_ = value;
}
/**
* <code>uint64 server_ts_ms = 2;</code>
*/
private void clearServerTsMs() {
serverTsMs_ = 0L;
}
public static final int LOAD_AD_EVENT_ID_FIELD_NUMBER = 3;
private java.lang.String loadAdEventId_;
/**
* <code>string load_ad_event_id = 3;</code>
* @return The loadAdEventId.
*/
@java.lang.Override
public java.lang.String getLoadAdEventId() {
return loadAdEventId_;
}
/**
* <code>string load_ad_event_id = 3;</code>
* @return The bytes for loadAdEventId.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getLoadAdEventIdBytes() {
return com.google.protobuf.ByteString.copyFromUtf8(loadAdEventId_);
}
/**
* <code>string load_ad_event_id = 3;</code>
* @param value The loadAdEventId to set.
*/
private void setLoadAdEventId(
java.lang.String value) {
java.lang.Class<?> valueClass = value.getClass();
loadAdEventId_ = value;
}
/**
* <code>string load_ad_event_id = 3;</code>
*/
private void clearLoadAdEventId() {
loadAdEventId_ = getDefaultInstance().getLoadAdEventId();
}
/**
* <code>string load_ad_event_id = 3;</code>
* @param value The bytes for loadAdEventId to set.
*/
private void setLoadAdEventIdBytes(
com.google.protobuf.ByteString value) {
checkByteStringIsUtf8(value);
loadAdEventId_ = value.toStringUtf8();
}
public static final int PLACEMENT_ID_FIELD_NUMBER = 4;
private java.lang.String placementId_;
/**
* <code>string placement_id = 4;</code>
* @return The placementId.
*/
@java.lang.Override
public java.lang.String getPlacementId() {
return placementId_;
}
/**
* <code>string placement_id = 4;</code>
* @return The bytes for placementId.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getPlacementIdBytes() {
return com.google.protobuf.ByteString.copyFromUtf8(placementId_);
}
/**
* <code>string placement_id = 4;</code>
* @param value The placementId to set.
*/
private void setPlacementId(
java.lang.String value) {
java.lang.Class<?> valueClass = value.getClass();
placementId_ = value;
}
/**
* <code>string placement_id = 4;</code>
*/
private void clearPlacementId() {
placementId_ = getDefaultInstance().getPlacementId();
}
/**
* <code>string placement_id = 4;</code>
* @param value The bytes for placementId to set.
*/
private void setPlacementIdBytes(
com.google.protobuf.ByteString value) {
checkByteStringIsUtf8(value);
placementId_ = value.toStringUtf8();
}
public static final int OS_FIELD_NUMBER = 5;
private int os_;
/**
* <code>.com.newsbreak.monetization.common.OsType os = 5;</code>
* @return The enum numeric value on the wire for os.
*/
@java.lang.Override
public int getOsValue() {
return os_;
}
/**
* <code>.com.newsbreak.monetization.common.OsType os = 5;</code>
* @return The os.
*/
@java.lang.Override
public com.particles.mes.protos.OsType getOs() {
com.particles.mes.protos.OsType result = com.particles.mes.protos.OsType.forNumber(os_);
return result == null ? com.particles.mes.protos.OsType.UNRECOGNIZED : result;
}
/**
* <code>.com.newsbreak.monetization.common.OsType os = 5;</code>
* @param value The enum numeric value on the wire for os to set.
*/
private void setOsValue(int value) {
os_ = value;
}
/**
* <code>.com.newsbreak.monetization.common.OsType os = 5;</code>
* @param value The os to set.
*/
private void setOs(com.particles.mes.protos.OsType value) {
os_ = value.getNumber();
}
/**
* <code>.com.newsbreak.monetization.common.OsType os = 5;</code>
*/
private void clearOs() {
os_ = 0;
}
public static final int ORG_FIELD_NUMBER = 6;
private java.lang.String org_;
/**
* <code>string org = 6;</code>
* @return The org.
*/
@java.lang.Override
public java.lang.String getOrg() {
return org_;
}
/**
* <code>string org = 6;</code>
* @return The bytes for org.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getOrgBytes() {
return com.google.protobuf.ByteString.copyFromUtf8(org_);
}
/**
* <code>string org = 6;</code>
* @param value The org to set.
*/
private void setOrg(
java.lang.String value) {
java.lang.Class<?> valueClass = value.getClass();
org_ = value;
}
/**
* <code>string org = 6;</code>
*/
private void clearOrg() {
org_ = getDefaultInstance().getOrg();
}
/**
* <code>string org = 6;</code>
* @param value The bytes for org to set.
*/
private void setOrgBytes(
com.google.protobuf.ByteString value) {
checkByteStringIsUtf8(value);
org_ = value.toStringUtf8();
}
public static final int APP_FIELD_NUMBER = 7;
private java.lang.String app_;
/**
* <code>string app = 7;</code>
* @return The app.
*/
@java.lang.Override
public java.lang.String getApp() {
return app_;
}
/**
* <code>string app = 7;</code>
* @return The bytes for app.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getAppBytes() {
return com.google.protobuf.ByteString.copyFromUtf8(app_);
}
/**
* <code>string app = 7;</code>
* @param value The app to set.
*/
private void setApp(
java.lang.String value) {
java.lang.Class<?> valueClass = value.getClass();
app_ = value;
}
/**
* <code>string app = 7;</code>
*/
private void clearApp() {
app_ = getDefaultInstance().getApp();
}
/**
* <code>string app = 7;</code>
* @param value The bytes for app to set.
*/
private void setAppBytes(
com.google.protobuf.ByteString value) {
checkByteStringIsUtf8(value);
app_ = value.toStringUtf8();
}
public static com.particles.mes.protos.LoadAdRequest parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, data);
}
public static com.particles.mes.protos.LoadAdRequest parseFrom(
java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, data, extensionRegistry);
}
public static com.particles.mes.protos.LoadAdRequest parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, data);
}
public static com.particles.mes.protos.LoadAdRequest parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, data, extensionRegistry);
}
public static com.particles.mes.protos.LoadAdRequest parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, data);
}
public static com.particles.mes.protos.LoadAdRequest parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, data, extensionRegistry);
}
public static com.particles.mes.protos.LoadAdRequest parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, input);
}
public static com.particles.mes.protos.LoadAdRequest parseFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, input, extensionRegistry);
}
public static com.particles.mes.protos.LoadAdRequest parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return parseDelimitedFrom(DEFAULT_INSTANCE, input);
}
public static com.particles.mes.protos.LoadAdRequest parseDelimitedFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return parseDelimitedFrom(DEFAULT_INSTANCE, input, extensionRegistry);
}
public static com.particles.mes.protos.LoadAdRequest parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, input);
}
public static com.particles.mes.protos.LoadAdRequest parseFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, input, extensionRegistry);
}
public static Builder newBuilder() {
return (Builder) DEFAULT_INSTANCE.createBuilder();
}
public static Builder newBuilder(com.particles.mes.protos.LoadAdRequest prototype) {
return (Builder) DEFAULT_INSTANCE.createBuilder(prototype);
}
/**
* <pre>
* this event is called before request sent, enabled only if sampling flag is on
* this event is DEPRECATED
* </pre>
*
* Protobuf type {@code com.newsbreak.mes.events.LoadAdRequest}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageLite.Builder<
com.particles.mes.protos.LoadAdRequest, Builder> implements
// @@protoc_insertion_point(builder_implements:com.newsbreak.mes.events.LoadAdRequest)
com.particles.mes.protos.LoadAdRequestOrBuilder {
// Construct using com.particles.mes.protos.LoadAdRequest.newBuilder()
private Builder() {
super(DEFAULT_INSTANCE);
}
/**
* <code>uint64 client_ts_ms = 1;</code>
* @return The clientTsMs.
*/
@java.lang.Override
public long getClientTsMs() {
return instance.getClientTsMs();
}
/**
* <code>uint64 client_ts_ms = 1;</code>
* @param value The clientTsMs to set.
* @return This builder for chaining.
*/
public Builder setClientTsMs(long value) {
copyOnWrite();
instance.setClientTsMs(value);
return this;
}
/**
* <code>uint64 client_ts_ms = 1;</code>
* @return This builder for chaining.
*/
public Builder clearClientTsMs() {
copyOnWrite();
instance.clearClientTsMs();
return this;
}
/**
* <code>uint64 server_ts_ms = 2;</code>
* @return The serverTsMs.
*/
@java.lang.Override
public long getServerTsMs() {
return instance.getServerTsMs();
}
/**
* <code>uint64 server_ts_ms = 2;</code>
* @param value The serverTsMs to set.
* @return This builder for chaining.
*/
public Builder setServerTsMs(long value) {
copyOnWrite();
instance.setServerTsMs(value);
return this;
}
/**
* <code>uint64 server_ts_ms = 2;</code>
* @return This builder for chaining.
*/
public Builder clearServerTsMs() {
copyOnWrite();
instance.clearServerTsMs();
return this;
}
/**
* <code>string load_ad_event_id = 3;</code>
* @return The loadAdEventId.
*/
@java.lang.Override
public java.lang.String getLoadAdEventId() {
return instance.getLoadAdEventId();
}
/**
* <code>string load_ad_event_id = 3;</code>
* @return The bytes for loadAdEventId.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getLoadAdEventIdBytes() {
return instance.getLoadAdEventIdBytes();
}
/**
* <code>string load_ad_event_id = 3;</code>
* @param value The loadAdEventId to set.
* @return This builder for chaining.
*/
public Builder setLoadAdEventId(
java.lang.String value) {
copyOnWrite();
instance.setLoadAdEventId(value);
return this;
}
/**
* <code>string load_ad_event_id = 3;</code>
* @return This builder for chaining.
*/
public Builder clearLoadAdEventId() {
copyOnWrite();
instance.clearLoadAdEventId();
return this;
}
/**
* <code>string load_ad_event_id = 3;</code>
* @param value The bytes for loadAdEventId to set.
* @return This builder for chaining.
*/
public Builder setLoadAdEventIdBytes(
com.google.protobuf.ByteString value) {
copyOnWrite();
instance.setLoadAdEventIdBytes(value);
return this;
}
/**
* <code>string placement_id = 4;</code>
* @return The placementId.
*/
@java.lang.Override
public java.lang.String getPlacementId() {
return instance.getPlacementId();
}
/**
* <code>string placement_id = 4;</code>
* @return The bytes for placementId.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getPlacementIdBytes() {
return instance.getPlacementIdBytes();
}
/**
* <code>string placement_id = 4;</code>
* @param value The placementId to set.
* @return This builder for chaining.
*/
public Builder setPlacementId(
java.lang.String value) {
copyOnWrite();
instance.setPlacementId(value);
return this;
}
/**
* <code>string placement_id = 4;</code>
* @return This builder for chaining.
*/
public Builder clearPlacementId() {
copyOnWrite();
instance.clearPlacementId();
return this;
}
/**
* <code>string placement_id = 4;</code>
* @param value The bytes for placementId to set.
* @return This builder for chaining.
*/
public Builder setPlacementIdBytes(
com.google.protobuf.ByteString value) {
copyOnWrite();
instance.setPlacementIdBytes(value);
return this;
}
/**
* <code>.com.newsbreak.monetization.common.OsType os = 5;</code>
* @return The enum numeric value on the wire for os.
*/
@java.lang.Override
public int getOsValue() {
return instance.getOsValue();
}
/**
* <code>.com.newsbreak.monetization.common.OsType os = 5;</code>
* @param value The os to set.
* @return This builder for chaining.
*/
public Builder setOsValue(int value) {
copyOnWrite();
instance.setOsValue(value);
return this;
}
/**
* <code>.com.newsbreak.monetization.common.OsType os = 5;</code>
* @return The os.
*/
@java.lang.Override
public com.particles.mes.protos.OsType getOs() {
return instance.getOs();
}
/**
* <code>.com.newsbreak.monetization.common.OsType os = 5;</code>
* @param value The enum numeric value on the wire for os to set.
* @return This builder for chaining.
*/
public Builder setOs(com.particles.mes.protos.OsType value) {
copyOnWrite();
instance.setOs(value);
return this;
}
/**
* <code>.com.newsbreak.monetization.common.OsType os = 5;</code>
* @return This builder for chaining.
*/
public Builder clearOs() {
copyOnWrite();
instance.clearOs();
return this;
}
/**
* <code>string org = 6;</code>
* @return The org.
*/
@java.lang.Override
public java.lang.String getOrg() {
return instance.getOrg();
}
/**
* <code>string org = 6;</code>
* @return The bytes for org.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getOrgBytes() {
return instance.getOrgBytes();
}
/**
* <code>string org = 6;</code>
* @param value The org to set.
* @return This builder for chaining.
*/
public Builder setOrg(
java.lang.String value) {
copyOnWrite();
instance.setOrg(value);
return this;
}
/**
* <code>string org = 6;</code>
* @return This builder for chaining.
*/
public Builder clearOrg() {
copyOnWrite();
instance.clearOrg();
return this;
}
/**
* <code>string org = 6;</code>
* @param value The bytes for org to set.
* @return This builder for chaining.
*/
public Builder setOrgBytes(
com.google.protobuf.ByteString value) {
copyOnWrite();
instance.setOrgBytes(value);
return this;
}
/**
* <code>string app = 7;</code>
* @return The app.
*/
@java.lang.Override
public java.lang.String getApp() {
return instance.getApp();
}
/**
* <code>string app = 7;</code>
* @return The bytes for app.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getAppBytes() {
return instance.getAppBytes();
}
/**
* <code>string app = 7;</code>
* @param value The app to set.
* @return This builder for chaining.
*/
public Builder setApp(
java.lang.String value) {
copyOnWrite();
instance.setApp(value);
return this;
}
/**
* <code>string app = 7;</code>
* @return This builder for chaining.
*/
public Builder clearApp() {
copyOnWrite();
instance.clearApp();
return this;
}
/**
* <code>string app = 7;</code>
* @param value The bytes for app to set.
* @return This builder for chaining.
*/
public Builder setAppBytes(
com.google.protobuf.ByteString value) {
copyOnWrite();
instance.setAppBytes(value);
return this;
}
// @@protoc_insertion_point(builder_scope:com.newsbreak.mes.events.LoadAdRequest)
}
@java.lang.Override
@java.lang.SuppressWarnings({"unchecked", "fallthrough"})
protected final java.lang.Object dynamicMethod(
com.google.protobuf.GeneratedMessageLite.MethodToInvoke method,
java.lang.Object arg0, java.lang.Object arg1) {
switch (method) {
case NEW_MUTABLE_INSTANCE: {
return new com.particles.mes.protos.LoadAdRequest();
}
case NEW_BUILDER: {
return new Builder();
}
case BUILD_MESSAGE_INFO: {
java.lang.Object[] objects = new java.lang.Object[] {
"clientTsMs_",
"serverTsMs_",
"loadAdEventId_",
"placementId_",
"os_",
"org_",
"app_",
};
java.lang.String info =
"\u0000\u0007\u0000\u0000\u0001\u0007\u0007\u0000\u0000\u0000\u0001\u0003\u0002\u0003" +
"\u0003\u0208\u0004\u0208\u0005\f\u0006\u0208\u0007\u0208";
return newMessageInfo(DEFAULT_INSTANCE, info, objects);
}
// fall through
case GET_DEFAULT_INSTANCE: {
return DEFAULT_INSTANCE;
}
case GET_PARSER: {
com.google.protobuf.Parser<com.particles.mes.protos.LoadAdRequest> parser = PARSER;
if (parser == null) {
synchronized (com.particles.mes.protos.LoadAdRequest.class) {
parser = PARSER;
if (parser == null) {
parser =
new DefaultInstanceBasedParser<com.particles.mes.protos.LoadAdRequest>(
DEFAULT_INSTANCE);
PARSER = parser;
}
}
}
return parser;
}
case GET_MEMOIZED_IS_INITIALIZED: {
return (byte) 1;
}
case SET_MEMOIZED_IS_INITIALIZED: {
return null;
}
}
throw new UnsupportedOperationException();
}
// @@protoc_insertion_point(class_scope:com.newsbreak.mes.events.LoadAdRequest)
private static final com.particles.mes.protos.LoadAdRequest DEFAULT_INSTANCE;
static {
LoadAdRequest defaultInstance = new LoadAdRequest();
// New instances are implicitly immutable so no need to make
// immutable.
DEFAULT_INSTANCE = defaultInstance;
com.google.protobuf.GeneratedMessageLite.registerDefaultInstance(
LoadAdRequest.class, defaultInstance);
}
public static com.particles.mes.protos.LoadAdRequest getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static volatile com.google.protobuf.Parser<LoadAdRequest> PARSER;
public static com.google.protobuf.Parser<LoadAdRequest> parser() {
return DEFAULT_INSTANCE.getParserForType();
}
}
|
0 | java-sources/ai/themsp/mes-android-sdk/0.15.0/main/com/particles/mes | java-sources/ai/themsp/mes-android-sdk/0.15.0/main/com/particles/mes/protos/LoadAdRequestEvents.java | // Generated by the protocol buffer compiler. DO NOT EDIT!
// source: mes_events/load_ad_request.proto
package com.particles.mes.protos;
public final class LoadAdRequestEvents {
private LoadAdRequestEvents() {}
public static void registerAllExtensions(
com.google.protobuf.ExtensionRegistryLite registry) {
}
static {
}
// @@protoc_insertion_point(outer_class_scope)
}
|
0 | java-sources/ai/themsp/mes-android-sdk/0.15.0/main/com/particles/mes | java-sources/ai/themsp/mes-android-sdk/0.15.0/main/com/particles/mes/protos/LoadAdRequestOrBuilder.java | // Generated by the protocol buffer compiler. DO NOT EDIT!
// source: mes_events/load_ad_request.proto
package com.particles.mes.protos;
public interface LoadAdRequestOrBuilder extends
// @@protoc_insertion_point(interface_extends:com.newsbreak.mes.events.LoadAdRequest)
com.google.protobuf.MessageLiteOrBuilder {
/**
* <code>uint64 client_ts_ms = 1;</code>
* @return The clientTsMs.
*/
long getClientTsMs();
/**
* <code>uint64 server_ts_ms = 2;</code>
* @return The serverTsMs.
*/
long getServerTsMs();
/**
* <code>string load_ad_event_id = 3;</code>
* @return The loadAdEventId.
*/
java.lang.String getLoadAdEventId();
/**
* <code>string load_ad_event_id = 3;</code>
* @return The bytes for loadAdEventId.
*/
com.google.protobuf.ByteString
getLoadAdEventIdBytes();
/**
* <code>string placement_id = 4;</code>
* @return The placementId.
*/
java.lang.String getPlacementId();
/**
* <code>string placement_id = 4;</code>
* @return The bytes for placementId.
*/
com.google.protobuf.ByteString
getPlacementIdBytes();
/**
* <code>.com.newsbreak.monetization.common.OsType os = 5;</code>
* @return The enum numeric value on the wire for os.
*/
int getOsValue();
/**
* <code>.com.newsbreak.monetization.common.OsType os = 5;</code>
* @return The os.
*/
com.particles.mes.protos.OsType getOs();
/**
* <code>string org = 6;</code>
* @return The org.
*/
java.lang.String getOrg();
/**
* <code>string org = 6;</code>
* @return The bytes for org.
*/
com.google.protobuf.ByteString
getOrgBytes();
/**
* <code>string app = 7;</code>
* @return The app.
*/
java.lang.String getApp();
/**
* <code>string app = 7;</code>
* @return The bytes for app.
*/
com.google.protobuf.ByteString
getAppBytes();
}
|
0 | java-sources/ai/themsp/mes-android-sdk/0.15.0/main/com/particles/mes | java-sources/ai/themsp/mes-android-sdk/0.15.0/main/com/particles/mes/protos/LoadAdResult.java | // Generated by the protocol buffer compiler. DO NOT EDIT!
// source: mes_events/load_ad_result.proto
package com.particles.mes.protos;
/**
* <pre>
* this event is DEPRECATED
* </pre>
*
* Protobuf type {@code com.newsbreak.mes.events.LoadAdResult}
*/
public final class LoadAdResult extends
com.google.protobuf.GeneratedMessageLite<
LoadAdResult, LoadAdResult.Builder> implements
// @@protoc_insertion_point(message_implements:com.newsbreak.mes.events.LoadAdResult)
LoadAdResultOrBuilder {
private LoadAdResult() {
loadAdEventId_ = "";
placementId_ = "";
seat_ = "";
adNetworkId_ = "";
errorMessage_ = "";
org_ = "";
app_ = "";
}
public static final int CLIENT_TS_MS_FIELD_NUMBER = 1;
private long clientTsMs_;
/**
* <code>uint64 client_ts_ms = 1;</code>
* @return The clientTsMs.
*/
@java.lang.Override
public long getClientTsMs() {
return clientTsMs_;
}
/**
* <code>uint64 client_ts_ms = 1;</code>
* @param value The clientTsMs to set.
*/
private void setClientTsMs(long value) {
clientTsMs_ = value;
}
/**
* <code>uint64 client_ts_ms = 1;</code>
*/
private void clearClientTsMs() {
clientTsMs_ = 0L;
}
public static final int SERVER_TS_MS_FIELD_NUMBER = 2;
private long serverTsMs_;
/**
* <code>uint64 server_ts_ms = 2;</code>
* @return The serverTsMs.
*/
@java.lang.Override
public long getServerTsMs() {
return serverTsMs_;
}
/**
* <code>uint64 server_ts_ms = 2;</code>
* @param value The serverTsMs to set.
*/
private void setServerTsMs(long value) {
serverTsMs_ = value;
}
/**
* <code>uint64 server_ts_ms = 2;</code>
*/
private void clearServerTsMs() {
serverTsMs_ = 0L;
}
public static final int LOAD_AD_EVENT_ID_FIELD_NUMBER = 3;
private java.lang.String loadAdEventId_;
/**
* <code>string load_ad_event_id = 3;</code>
* @return The loadAdEventId.
*/
@java.lang.Override
public java.lang.String getLoadAdEventId() {
return loadAdEventId_;
}
/**
* <code>string load_ad_event_id = 3;</code>
* @return The bytes for loadAdEventId.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getLoadAdEventIdBytes() {
return com.google.protobuf.ByteString.copyFromUtf8(loadAdEventId_);
}
/**
* <code>string load_ad_event_id = 3;</code>
* @param value The loadAdEventId to set.
*/
private void setLoadAdEventId(
java.lang.String value) {
java.lang.Class<?> valueClass = value.getClass();
loadAdEventId_ = value;
}
/**
* <code>string load_ad_event_id = 3;</code>
*/
private void clearLoadAdEventId() {
loadAdEventId_ = getDefaultInstance().getLoadAdEventId();
}
/**
* <code>string load_ad_event_id = 3;</code>
* @param value The bytes for loadAdEventId to set.
*/
private void setLoadAdEventIdBytes(
com.google.protobuf.ByteString value) {
checkByteStringIsUtf8(value);
loadAdEventId_ = value.toStringUtf8();
}
public static final int FILL_FIELD_NUMBER = 4;
private boolean fill_;
/**
* <code>bool fill = 4;</code>
* @return The fill.
*/
@java.lang.Override
public boolean getFill() {
return fill_;
}
/**
* <code>bool fill = 4;</code>
* @param value The fill to set.
*/
private void setFill(boolean value) {
fill_ = value;
}
/**
* <code>bool fill = 4;</code>
*/
private void clearFill() {
fill_ = false;
}
public static final int IS_FROM_CACHE_FIELD_NUMBER = 5;
private boolean isFromCache_;
/**
* <code>bool is_from_cache = 5;</code>
* @return The isFromCache.
*/
@java.lang.Override
public boolean getIsFromCache() {
return isFromCache_;
}
/**
* <code>bool is_from_cache = 5;</code>
* @param value The isFromCache to set.
*/
private void setIsFromCache(boolean value) {
isFromCache_ = value;
}
/**
* <code>bool is_from_cache = 5;</code>
*/
private void clearIsFromCache() {
isFromCache_ = false;
}
public static final int PLACEMENT_ID_FIELD_NUMBER = 6;
private java.lang.String placementId_;
/**
* <pre>
* pmi-scoopz-android-foryou-display-prod
* </pre>
*
* <code>string placement_id = 6;</code>
* @return The placementId.
*/
@java.lang.Override
public java.lang.String getPlacementId() {
return placementId_;
}
/**
* <pre>
* pmi-scoopz-android-foryou-display-prod
* </pre>
*
* <code>string placement_id = 6;</code>
* @return The bytes for placementId.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getPlacementIdBytes() {
return com.google.protobuf.ByteString.copyFromUtf8(placementId_);
}
/**
* <pre>
* pmi-scoopz-android-foryou-display-prod
* </pre>
*
* <code>string placement_id = 6;</code>
* @param value The placementId to set.
*/
private void setPlacementId(
java.lang.String value) {
java.lang.Class<?> valueClass = value.getClass();
placementId_ = value;
}
/**
* <pre>
* pmi-scoopz-android-foryou-display-prod
* </pre>
*
* <code>string placement_id = 6;</code>
*/
private void clearPlacementId() {
placementId_ = getDefaultInstance().getPlacementId();
}
/**
* <pre>
* pmi-scoopz-android-foryou-display-prod
* </pre>
*
* <code>string placement_id = 6;</code>
* @param value The bytes for placementId to set.
*/
private void setPlacementIdBytes(
com.google.protobuf.ByteString value) {
checkByteStringIsUtf8(value);
placementId_ = value.toStringUtf8();
}
public static final int SEAT_FIELD_NUMBER = 7;
private java.lang.String seat_;
/**
* <code>string seat = 7;</code>
* @return The seat.
*/
@java.lang.Override
public java.lang.String getSeat() {
return seat_;
}
/**
* <code>string seat = 7;</code>
* @return The bytes for seat.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getSeatBytes() {
return com.google.protobuf.ByteString.copyFromUtf8(seat_);
}
/**
* <code>string seat = 7;</code>
* @param value The seat to set.
*/
private void setSeat(
java.lang.String value) {
java.lang.Class<?> valueClass = value.getClass();
seat_ = value;
}
/**
* <code>string seat = 7;</code>
*/
private void clearSeat() {
seat_ = getDefaultInstance().getSeat();
}
/**
* <code>string seat = 7;</code>
* @param value The bytes for seat to set.
*/
private void setSeatBytes(
com.google.protobuf.ByteString value) {
checkByteStringIsUtf8(value);
seat_ = value.toStringUtf8();
}
public static final int AD_NETWORK_ID_FIELD_NUMBER = 8;
private java.lang.String adNetworkId_;
/**
* <pre>
* nova-pmi-scoopz-android-foryou-display-prod
* </pre>
*
* <code>string ad_network_id = 8;</code>
* @return The adNetworkId.
*/
@java.lang.Override
public java.lang.String getAdNetworkId() {
return adNetworkId_;
}
/**
* <pre>
* nova-pmi-scoopz-android-foryou-display-prod
* </pre>
*
* <code>string ad_network_id = 8;</code>
* @return The bytes for adNetworkId.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getAdNetworkIdBytes() {
return com.google.protobuf.ByteString.copyFromUtf8(adNetworkId_);
}
/**
* <pre>
* nova-pmi-scoopz-android-foryou-display-prod
* </pre>
*
* <code>string ad_network_id = 8;</code>
* @param value The adNetworkId to set.
*/
private void setAdNetworkId(
java.lang.String value) {
java.lang.Class<?> valueClass = value.getClass();
adNetworkId_ = value;
}
/**
* <pre>
* nova-pmi-scoopz-android-foryou-display-prod
* </pre>
*
* <code>string ad_network_id = 8;</code>
*/
private void clearAdNetworkId() {
adNetworkId_ = getDefaultInstance().getAdNetworkId();
}
/**
* <pre>
* nova-pmi-scoopz-android-foryou-display-prod
* </pre>
*
* <code>string ad_network_id = 8;</code>
* @param value The bytes for adNetworkId to set.
*/
private void setAdNetworkIdBytes(
com.google.protobuf.ByteString value) {
checkByteStringIsUtf8(value);
adNetworkId_ = value.toStringUtf8();
}
public static final int ERROR_MESSAGE_FIELD_NUMBER = 9;
private java.lang.String errorMessage_;
/**
* <code>string error_message = 9;</code>
* @return The errorMessage.
*/
@java.lang.Override
public java.lang.String getErrorMessage() {
return errorMessage_;
}
/**
* <code>string error_message = 9;</code>
* @return The bytes for errorMessage.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getErrorMessageBytes() {
return com.google.protobuf.ByteString.copyFromUtf8(errorMessage_);
}
/**
* <code>string error_message = 9;</code>
* @param value The errorMessage to set.
*/
private void setErrorMessage(
java.lang.String value) {
java.lang.Class<?> valueClass = value.getClass();
errorMessage_ = value;
}
/**
* <code>string error_message = 9;</code>
*/
private void clearErrorMessage() {
errorMessage_ = getDefaultInstance().getErrorMessage();
}
/**
* <code>string error_message = 9;</code>
* @param value The bytes for errorMessage to set.
*/
private void setErrorMessageBytes(
com.google.protobuf.ByteString value) {
checkByteStringIsUtf8(value);
errorMessage_ = value.toStringUtf8();
}
public static final int OS_FIELD_NUMBER = 10;
private int os_;
/**
* <code>.com.newsbreak.monetization.common.OsType os = 10;</code>
* @return The enum numeric value on the wire for os.
*/
@java.lang.Override
public int getOsValue() {
return os_;
}
/**
* <code>.com.newsbreak.monetization.common.OsType os = 10;</code>
* @return The os.
*/
@java.lang.Override
public com.particles.mes.protos.OsType getOs() {
com.particles.mes.protos.OsType result = com.particles.mes.protos.OsType.forNumber(os_);
return result == null ? com.particles.mes.protos.OsType.UNRECOGNIZED : result;
}
/**
* <code>.com.newsbreak.monetization.common.OsType os = 10;</code>
* @param value The enum numeric value on the wire for os to set.
*/
private void setOsValue(int value) {
os_ = value;
}
/**
* <code>.com.newsbreak.monetization.common.OsType os = 10;</code>
* @param value The os to set.
*/
private void setOs(com.particles.mes.protos.OsType value) {
os_ = value.getNumber();
}
/**
* <code>.com.newsbreak.monetization.common.OsType os = 10;</code>
*/
private void clearOs() {
os_ = 0;
}
public static final int ORG_FIELD_NUMBER = 11;
private java.lang.String org_;
/**
* <code>string org = 11;</code>
* @return The org.
*/
@java.lang.Override
public java.lang.String getOrg() {
return org_;
}
/**
* <code>string org = 11;</code>
* @return The bytes for org.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getOrgBytes() {
return com.google.protobuf.ByteString.copyFromUtf8(org_);
}
/**
* <code>string org = 11;</code>
* @param value The org to set.
*/
private void setOrg(
java.lang.String value) {
java.lang.Class<?> valueClass = value.getClass();
org_ = value;
}
/**
* <code>string org = 11;</code>
*/
private void clearOrg() {
org_ = getDefaultInstance().getOrg();
}
/**
* <code>string org = 11;</code>
* @param value The bytes for org to set.
*/
private void setOrgBytes(
com.google.protobuf.ByteString value) {
checkByteStringIsUtf8(value);
org_ = value.toStringUtf8();
}
public static final int APP_FIELD_NUMBER = 12;
private java.lang.String app_;
/**
* <code>string app = 12;</code>
* @return The app.
*/
@java.lang.Override
public java.lang.String getApp() {
return app_;
}
/**
* <code>string app = 12;</code>
* @return The bytes for app.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getAppBytes() {
return com.google.protobuf.ByteString.copyFromUtf8(app_);
}
/**
* <code>string app = 12;</code>
* @param value The app to set.
*/
private void setApp(
java.lang.String value) {
java.lang.Class<?> valueClass = value.getClass();
app_ = value;
}
/**
* <code>string app = 12;</code>
*/
private void clearApp() {
app_ = getDefaultInstance().getApp();
}
/**
* <code>string app = 12;</code>
* @param value The bytes for app to set.
*/
private void setAppBytes(
com.google.protobuf.ByteString value) {
checkByteStringIsUtf8(value);
app_ = value.toStringUtf8();
}
public static com.particles.mes.protos.LoadAdResult parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, data);
}
public static com.particles.mes.protos.LoadAdResult parseFrom(
java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, data, extensionRegistry);
}
public static com.particles.mes.protos.LoadAdResult parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, data);
}
public static com.particles.mes.protos.LoadAdResult parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, data, extensionRegistry);
}
public static com.particles.mes.protos.LoadAdResult parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, data);
}
public static com.particles.mes.protos.LoadAdResult parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, data, extensionRegistry);
}
public static com.particles.mes.protos.LoadAdResult parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, input);
}
public static com.particles.mes.protos.LoadAdResult parseFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, input, extensionRegistry);
}
public static com.particles.mes.protos.LoadAdResult parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return parseDelimitedFrom(DEFAULT_INSTANCE, input);
}
public static com.particles.mes.protos.LoadAdResult parseDelimitedFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return parseDelimitedFrom(DEFAULT_INSTANCE, input, extensionRegistry);
}
public static com.particles.mes.protos.LoadAdResult parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, input);
}
public static com.particles.mes.protos.LoadAdResult parseFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, input, extensionRegistry);
}
public static Builder newBuilder() {
return (Builder) DEFAULT_INSTANCE.createBuilder();
}
public static Builder newBuilder(com.particles.mes.protos.LoadAdResult prototype) {
return (Builder) DEFAULT_INSTANCE.createBuilder(prototype);
}
/**
* <pre>
* this event is DEPRECATED
* </pre>
*
* Protobuf type {@code com.newsbreak.mes.events.LoadAdResult}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageLite.Builder<
com.particles.mes.protos.LoadAdResult, Builder> implements
// @@protoc_insertion_point(builder_implements:com.newsbreak.mes.events.LoadAdResult)
com.particles.mes.protos.LoadAdResultOrBuilder {
// Construct using com.particles.mes.protos.LoadAdResult.newBuilder()
private Builder() {
super(DEFAULT_INSTANCE);
}
/**
* <code>uint64 client_ts_ms = 1;</code>
* @return The clientTsMs.
*/
@java.lang.Override
public long getClientTsMs() {
return instance.getClientTsMs();
}
/**
* <code>uint64 client_ts_ms = 1;</code>
* @param value The clientTsMs to set.
* @return This builder for chaining.
*/
public Builder setClientTsMs(long value) {
copyOnWrite();
instance.setClientTsMs(value);
return this;
}
/**
* <code>uint64 client_ts_ms = 1;</code>
* @return This builder for chaining.
*/
public Builder clearClientTsMs() {
copyOnWrite();
instance.clearClientTsMs();
return this;
}
/**
* <code>uint64 server_ts_ms = 2;</code>
* @return The serverTsMs.
*/
@java.lang.Override
public long getServerTsMs() {
return instance.getServerTsMs();
}
/**
* <code>uint64 server_ts_ms = 2;</code>
* @param value The serverTsMs to set.
* @return This builder for chaining.
*/
public Builder setServerTsMs(long value) {
copyOnWrite();
instance.setServerTsMs(value);
return this;
}
/**
* <code>uint64 server_ts_ms = 2;</code>
* @return This builder for chaining.
*/
public Builder clearServerTsMs() {
copyOnWrite();
instance.clearServerTsMs();
return this;
}
/**
* <code>string load_ad_event_id = 3;</code>
* @return The loadAdEventId.
*/
@java.lang.Override
public java.lang.String getLoadAdEventId() {
return instance.getLoadAdEventId();
}
/**
* <code>string load_ad_event_id = 3;</code>
* @return The bytes for loadAdEventId.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getLoadAdEventIdBytes() {
return instance.getLoadAdEventIdBytes();
}
/**
* <code>string load_ad_event_id = 3;</code>
* @param value The loadAdEventId to set.
* @return This builder for chaining.
*/
public Builder setLoadAdEventId(
java.lang.String value) {
copyOnWrite();
instance.setLoadAdEventId(value);
return this;
}
/**
* <code>string load_ad_event_id = 3;</code>
* @return This builder for chaining.
*/
public Builder clearLoadAdEventId() {
copyOnWrite();
instance.clearLoadAdEventId();
return this;
}
/**
* <code>string load_ad_event_id = 3;</code>
* @param value The bytes for loadAdEventId to set.
* @return This builder for chaining.
*/
public Builder setLoadAdEventIdBytes(
com.google.protobuf.ByteString value) {
copyOnWrite();
instance.setLoadAdEventIdBytes(value);
return this;
}
/**
* <code>bool fill = 4;</code>
* @return The fill.
*/
@java.lang.Override
public boolean getFill() {
return instance.getFill();
}
/**
* <code>bool fill = 4;</code>
* @param value The fill to set.
* @return This builder for chaining.
*/
public Builder setFill(boolean value) {
copyOnWrite();
instance.setFill(value);
return this;
}
/**
* <code>bool fill = 4;</code>
* @return This builder for chaining.
*/
public Builder clearFill() {
copyOnWrite();
instance.clearFill();
return this;
}
/**
* <code>bool is_from_cache = 5;</code>
* @return The isFromCache.
*/
@java.lang.Override
public boolean getIsFromCache() {
return instance.getIsFromCache();
}
/**
* <code>bool is_from_cache = 5;</code>
* @param value The isFromCache to set.
* @return This builder for chaining.
*/
public Builder setIsFromCache(boolean value) {
copyOnWrite();
instance.setIsFromCache(value);
return this;
}
/**
* <code>bool is_from_cache = 5;</code>
* @return This builder for chaining.
*/
public Builder clearIsFromCache() {
copyOnWrite();
instance.clearIsFromCache();
return this;
}
/**
* <pre>
* pmi-scoopz-android-foryou-display-prod
* </pre>
*
* <code>string placement_id = 6;</code>
* @return The placementId.
*/
@java.lang.Override
public java.lang.String getPlacementId() {
return instance.getPlacementId();
}
/**
* <pre>
* pmi-scoopz-android-foryou-display-prod
* </pre>
*
* <code>string placement_id = 6;</code>
* @return The bytes for placementId.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getPlacementIdBytes() {
return instance.getPlacementIdBytes();
}
/**
* <pre>
* pmi-scoopz-android-foryou-display-prod
* </pre>
*
* <code>string placement_id = 6;</code>
* @param value The placementId to set.
* @return This builder for chaining.
*/
public Builder setPlacementId(
java.lang.String value) {
copyOnWrite();
instance.setPlacementId(value);
return this;
}
/**
* <pre>
* pmi-scoopz-android-foryou-display-prod
* </pre>
*
* <code>string placement_id = 6;</code>
* @return This builder for chaining.
*/
public Builder clearPlacementId() {
copyOnWrite();
instance.clearPlacementId();
return this;
}
/**
* <pre>
* pmi-scoopz-android-foryou-display-prod
* </pre>
*
* <code>string placement_id = 6;</code>
* @param value The bytes for placementId to set.
* @return This builder for chaining.
*/
public Builder setPlacementIdBytes(
com.google.protobuf.ByteString value) {
copyOnWrite();
instance.setPlacementIdBytes(value);
return this;
}
/**
* <code>string seat = 7;</code>
* @return The seat.
*/
@java.lang.Override
public java.lang.String getSeat() {
return instance.getSeat();
}
/**
* <code>string seat = 7;</code>
* @return The bytes for seat.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getSeatBytes() {
return instance.getSeatBytes();
}
/**
* <code>string seat = 7;</code>
* @param value The seat to set.
* @return This builder for chaining.
*/
public Builder setSeat(
java.lang.String value) {
copyOnWrite();
instance.setSeat(value);
return this;
}
/**
* <code>string seat = 7;</code>
* @return This builder for chaining.
*/
public Builder clearSeat() {
copyOnWrite();
instance.clearSeat();
return this;
}
/**
* <code>string seat = 7;</code>
* @param value The bytes for seat to set.
* @return This builder for chaining.
*/
public Builder setSeatBytes(
com.google.protobuf.ByteString value) {
copyOnWrite();
instance.setSeatBytes(value);
return this;
}
/**
* <pre>
* nova-pmi-scoopz-android-foryou-display-prod
* </pre>
*
* <code>string ad_network_id = 8;</code>
* @return The adNetworkId.
*/
@java.lang.Override
public java.lang.String getAdNetworkId() {
return instance.getAdNetworkId();
}
/**
* <pre>
* nova-pmi-scoopz-android-foryou-display-prod
* </pre>
*
* <code>string ad_network_id = 8;</code>
* @return The bytes for adNetworkId.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getAdNetworkIdBytes() {
return instance.getAdNetworkIdBytes();
}
/**
* <pre>
* nova-pmi-scoopz-android-foryou-display-prod
* </pre>
*
* <code>string ad_network_id = 8;</code>
* @param value The adNetworkId to set.
* @return This builder for chaining.
*/
public Builder setAdNetworkId(
java.lang.String value) {
copyOnWrite();
instance.setAdNetworkId(value);
return this;
}
/**
* <pre>
* nova-pmi-scoopz-android-foryou-display-prod
* </pre>
*
* <code>string ad_network_id = 8;</code>
* @return This builder for chaining.
*/
public Builder clearAdNetworkId() {
copyOnWrite();
instance.clearAdNetworkId();
return this;
}
/**
* <pre>
* nova-pmi-scoopz-android-foryou-display-prod
* </pre>
*
* <code>string ad_network_id = 8;</code>
* @param value The bytes for adNetworkId to set.
* @return This builder for chaining.
*/
public Builder setAdNetworkIdBytes(
com.google.protobuf.ByteString value) {
copyOnWrite();
instance.setAdNetworkIdBytes(value);
return this;
}
/**
* <code>string error_message = 9;</code>
* @return The errorMessage.
*/
@java.lang.Override
public java.lang.String getErrorMessage() {
return instance.getErrorMessage();
}
/**
* <code>string error_message = 9;</code>
* @return The bytes for errorMessage.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getErrorMessageBytes() {
return instance.getErrorMessageBytes();
}
/**
* <code>string error_message = 9;</code>
* @param value The errorMessage to set.
* @return This builder for chaining.
*/
public Builder setErrorMessage(
java.lang.String value) {
copyOnWrite();
instance.setErrorMessage(value);
return this;
}
/**
* <code>string error_message = 9;</code>
* @return This builder for chaining.
*/
public Builder clearErrorMessage() {
copyOnWrite();
instance.clearErrorMessage();
return this;
}
/**
* <code>string error_message = 9;</code>
* @param value The bytes for errorMessage to set.
* @return This builder for chaining.
*/
public Builder setErrorMessageBytes(
com.google.protobuf.ByteString value) {
copyOnWrite();
instance.setErrorMessageBytes(value);
return this;
}
/**
* <code>.com.newsbreak.monetization.common.OsType os = 10;</code>
* @return The enum numeric value on the wire for os.
*/
@java.lang.Override
public int getOsValue() {
return instance.getOsValue();
}
/**
* <code>.com.newsbreak.monetization.common.OsType os = 10;</code>
* @param value The os to set.
* @return This builder for chaining.
*/
public Builder setOsValue(int value) {
copyOnWrite();
instance.setOsValue(value);
return this;
}
/**
* <code>.com.newsbreak.monetization.common.OsType os = 10;</code>
* @return The os.
*/
@java.lang.Override
public com.particles.mes.protos.OsType getOs() {
return instance.getOs();
}
/**
* <code>.com.newsbreak.monetization.common.OsType os = 10;</code>
* @param value The enum numeric value on the wire for os to set.
* @return This builder for chaining.
*/
public Builder setOs(com.particles.mes.protos.OsType value) {
copyOnWrite();
instance.setOs(value);
return this;
}
/**
* <code>.com.newsbreak.monetization.common.OsType os = 10;</code>
* @return This builder for chaining.
*/
public Builder clearOs() {
copyOnWrite();
instance.clearOs();
return this;
}
/**
* <code>string org = 11;</code>
* @return The org.
*/
@java.lang.Override
public java.lang.String getOrg() {
return instance.getOrg();
}
/**
* <code>string org = 11;</code>
* @return The bytes for org.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getOrgBytes() {
return instance.getOrgBytes();
}
/**
* <code>string org = 11;</code>
* @param value The org to set.
* @return This builder for chaining.
*/
public Builder setOrg(
java.lang.String value) {
copyOnWrite();
instance.setOrg(value);
return this;
}
/**
* <code>string org = 11;</code>
* @return This builder for chaining.
*/
public Builder clearOrg() {
copyOnWrite();
instance.clearOrg();
return this;
}
/**
* <code>string org = 11;</code>
* @param value The bytes for org to set.
* @return This builder for chaining.
*/
public Builder setOrgBytes(
com.google.protobuf.ByteString value) {
copyOnWrite();
instance.setOrgBytes(value);
return this;
}
/**
* <code>string app = 12;</code>
* @return The app.
*/
@java.lang.Override
public java.lang.String getApp() {
return instance.getApp();
}
/**
* <code>string app = 12;</code>
* @return The bytes for app.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getAppBytes() {
return instance.getAppBytes();
}
/**
* <code>string app = 12;</code>
* @param value The app to set.
* @return This builder for chaining.
*/
public Builder setApp(
java.lang.String value) {
copyOnWrite();
instance.setApp(value);
return this;
}
/**
* <code>string app = 12;</code>
* @return This builder for chaining.
*/
public Builder clearApp() {
copyOnWrite();
instance.clearApp();
return this;
}
/**
* <code>string app = 12;</code>
* @param value The bytes for app to set.
* @return This builder for chaining.
*/
public Builder setAppBytes(
com.google.protobuf.ByteString value) {
copyOnWrite();
instance.setAppBytes(value);
return this;
}
// @@protoc_insertion_point(builder_scope:com.newsbreak.mes.events.LoadAdResult)
}
@java.lang.Override
@java.lang.SuppressWarnings({"unchecked", "fallthrough"})
protected final java.lang.Object dynamicMethod(
com.google.protobuf.GeneratedMessageLite.MethodToInvoke method,
java.lang.Object arg0, java.lang.Object arg1) {
switch (method) {
case NEW_MUTABLE_INSTANCE: {
return new com.particles.mes.protos.LoadAdResult();
}
case NEW_BUILDER: {
return new Builder();
}
case BUILD_MESSAGE_INFO: {
java.lang.Object[] objects = new java.lang.Object[] {
"clientTsMs_",
"serverTsMs_",
"loadAdEventId_",
"fill_",
"isFromCache_",
"placementId_",
"seat_",
"adNetworkId_",
"errorMessage_",
"os_",
"org_",
"app_",
};
java.lang.String info =
"\u0000\f\u0000\u0000\u0001\f\f\u0000\u0000\u0000\u0001\u0003\u0002\u0003\u0003\u0208" +
"\u0004\u0007\u0005\u0007\u0006\u0208\u0007\u0208\b\u0208\t\u0208\n\f\u000b\u0208" +
"\f\u0208";
return newMessageInfo(DEFAULT_INSTANCE, info, objects);
}
// fall through
case GET_DEFAULT_INSTANCE: {
return DEFAULT_INSTANCE;
}
case GET_PARSER: {
com.google.protobuf.Parser<com.particles.mes.protos.LoadAdResult> parser = PARSER;
if (parser == null) {
synchronized (com.particles.mes.protos.LoadAdResult.class) {
parser = PARSER;
if (parser == null) {
parser =
new DefaultInstanceBasedParser<com.particles.mes.protos.LoadAdResult>(
DEFAULT_INSTANCE);
PARSER = parser;
}
}
}
return parser;
}
case GET_MEMOIZED_IS_INITIALIZED: {
return (byte) 1;
}
case SET_MEMOIZED_IS_INITIALIZED: {
return null;
}
}
throw new UnsupportedOperationException();
}
// @@protoc_insertion_point(class_scope:com.newsbreak.mes.events.LoadAdResult)
private static final com.particles.mes.protos.LoadAdResult DEFAULT_INSTANCE;
static {
LoadAdResult defaultInstance = new LoadAdResult();
// New instances are implicitly immutable so no need to make
// immutable.
DEFAULT_INSTANCE = defaultInstance;
com.google.protobuf.GeneratedMessageLite.registerDefaultInstance(
LoadAdResult.class, defaultInstance);
}
public static com.particles.mes.protos.LoadAdResult getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static volatile com.google.protobuf.Parser<LoadAdResult> PARSER;
public static com.google.protobuf.Parser<LoadAdResult> parser() {
return DEFAULT_INSTANCE.getParserForType();
}
}
|
0 | java-sources/ai/themsp/mes-android-sdk/0.15.0/main/com/particles/mes | java-sources/ai/themsp/mes-android-sdk/0.15.0/main/com/particles/mes/protos/LoadAdResultEvents.java | // Generated by the protocol buffer compiler. DO NOT EDIT!
// source: mes_events/load_ad_result.proto
package com.particles.mes.protos;
public final class LoadAdResultEvents {
private LoadAdResultEvents() {}
public static void registerAllExtensions(
com.google.protobuf.ExtensionRegistryLite registry) {
}
static {
}
// @@protoc_insertion_point(outer_class_scope)
}
|
0 | java-sources/ai/themsp/mes-android-sdk/0.15.0/main/com/particles/mes | java-sources/ai/themsp/mes-android-sdk/0.15.0/main/com/particles/mes/protos/LoadAdResultOrBuilder.java | // Generated by the protocol buffer compiler. DO NOT EDIT!
// source: mes_events/load_ad_result.proto
package com.particles.mes.protos;
public interface LoadAdResultOrBuilder extends
// @@protoc_insertion_point(interface_extends:com.newsbreak.mes.events.LoadAdResult)
com.google.protobuf.MessageLiteOrBuilder {
/**
* <code>uint64 client_ts_ms = 1;</code>
* @return The clientTsMs.
*/
long getClientTsMs();
/**
* <code>uint64 server_ts_ms = 2;</code>
* @return The serverTsMs.
*/
long getServerTsMs();
/**
* <code>string load_ad_event_id = 3;</code>
* @return The loadAdEventId.
*/
java.lang.String getLoadAdEventId();
/**
* <code>string load_ad_event_id = 3;</code>
* @return The bytes for loadAdEventId.
*/
com.google.protobuf.ByteString
getLoadAdEventIdBytes();
/**
* <code>bool fill = 4;</code>
* @return The fill.
*/
boolean getFill();
/**
* <code>bool is_from_cache = 5;</code>
* @return The isFromCache.
*/
boolean getIsFromCache();
/**
* <pre>
* pmi-scoopz-android-foryou-display-prod
* </pre>
*
* <code>string placement_id = 6;</code>
* @return The placementId.
*/
java.lang.String getPlacementId();
/**
* <pre>
* pmi-scoopz-android-foryou-display-prod
* </pre>
*
* <code>string placement_id = 6;</code>
* @return The bytes for placementId.
*/
com.google.protobuf.ByteString
getPlacementIdBytes();
/**
* <code>string seat = 7;</code>
* @return The seat.
*/
java.lang.String getSeat();
/**
* <code>string seat = 7;</code>
* @return The bytes for seat.
*/
com.google.protobuf.ByteString
getSeatBytes();
/**
* <pre>
* nova-pmi-scoopz-android-foryou-display-prod
* </pre>
*
* <code>string ad_network_id = 8;</code>
* @return The adNetworkId.
*/
java.lang.String getAdNetworkId();
/**
* <pre>
* nova-pmi-scoopz-android-foryou-display-prod
* </pre>
*
* <code>string ad_network_id = 8;</code>
* @return The bytes for adNetworkId.
*/
com.google.protobuf.ByteString
getAdNetworkIdBytes();
/**
* <code>string error_message = 9;</code>
* @return The errorMessage.
*/
java.lang.String getErrorMessage();
/**
* <code>string error_message = 9;</code>
* @return The bytes for errorMessage.
*/
com.google.protobuf.ByteString
getErrorMessageBytes();
/**
* <code>.com.newsbreak.monetization.common.OsType os = 10;</code>
* @return The enum numeric value on the wire for os.
*/
int getOsValue();
/**
* <code>.com.newsbreak.monetization.common.OsType os = 10;</code>
* @return The os.
*/
com.particles.mes.protos.OsType getOs();
/**
* <code>string org = 11;</code>
* @return The org.
*/
java.lang.String getOrg();
/**
* <code>string org = 11;</code>
* @return The bytes for org.
*/
com.google.protobuf.ByteString
getOrgBytes();
/**
* <code>string app = 12;</code>
* @return The app.
*/
java.lang.String getApp();
/**
* <code>string app = 12;</code>
* @return The bytes for app.
*/
com.google.protobuf.ByteString
getAppBytes();
}
|
0 | java-sources/ai/themsp/mes-android-sdk/0.15.0/main/com/particles/mes | java-sources/ai/themsp/mes-android-sdk/0.15.0/main/com/particles/mes/protos/OsType.java | // Generated by the protocol buffer compiler. DO NOT EDIT!
// source: monetization/common.proto
package com.particles.mes.protos;
/**
* Protobuf enum {@code com.newsbreak.monetization.common.OsType}
*/
public enum OsType
implements com.google.protobuf.Internal.EnumLite {
/**
* <code>OS_TYPE_UNSPECIFIED = 0;</code>
*/
OS_TYPE_UNSPECIFIED(0),
/**
* <code>OS_TYPE_IOS = 1;</code>
*/
OS_TYPE_IOS(1),
/**
* <code>OS_TYPE_ANDROID = 2;</code>
*/
OS_TYPE_ANDROID(2),
/**
* <code>OS_TYPE_IPADOS = 3;</code>
*/
OS_TYPE_IPADOS(3),
/**
* <code>OS_TYPE_WINDOWS = 4;</code>
*/
OS_TYPE_WINDOWS(4),
/**
* <code>OS_TYPE_MACOS = 5;</code>
*/
OS_TYPE_MACOS(5),
/**
* <code>OS_TYPE_LINUX = 6;</code>
*/
OS_TYPE_LINUX(6),
UNRECOGNIZED(-1),
;
/**
* <code>OS_TYPE_UNSPECIFIED = 0;</code>
*/
public static final int OS_TYPE_UNSPECIFIED_VALUE = 0;
/**
* <code>OS_TYPE_IOS = 1;</code>
*/
public static final int OS_TYPE_IOS_VALUE = 1;
/**
* <code>OS_TYPE_ANDROID = 2;</code>
*/
public static final int OS_TYPE_ANDROID_VALUE = 2;
/**
* <code>OS_TYPE_IPADOS = 3;</code>
*/
public static final int OS_TYPE_IPADOS_VALUE = 3;
/**
* <code>OS_TYPE_WINDOWS = 4;</code>
*/
public static final int OS_TYPE_WINDOWS_VALUE = 4;
/**
* <code>OS_TYPE_MACOS = 5;</code>
*/
public static final int OS_TYPE_MACOS_VALUE = 5;
/**
* <code>OS_TYPE_LINUX = 6;</code>
*/
public static final int OS_TYPE_LINUX_VALUE = 6;
@java.lang.Override
public final int getNumber() {
if (this == UNRECOGNIZED) {
throw new java.lang.IllegalArgumentException(
"Can't get the number of an unknown enum value.");
}
return value;
}
/**
* @param value The number of the enum to look for.
* @return The enum associated with the given number.
* @deprecated Use {@link #forNumber(int)} instead.
*/
@java.lang.Deprecated
public static OsType valueOf(int value) {
return forNumber(value);
}
public static OsType forNumber(int value) {
switch (value) {
case 0: return OS_TYPE_UNSPECIFIED;
case 1: return OS_TYPE_IOS;
case 2: return OS_TYPE_ANDROID;
case 3: return OS_TYPE_IPADOS;
case 4: return OS_TYPE_WINDOWS;
case 5: return OS_TYPE_MACOS;
case 6: return OS_TYPE_LINUX;
default: return null;
}
}
public static com.google.protobuf.Internal.EnumLiteMap<OsType>
internalGetValueMap() {
return internalValueMap;
}
private static final com.google.protobuf.Internal.EnumLiteMap<
OsType> internalValueMap =
new com.google.protobuf.Internal.EnumLiteMap<OsType>() {
@java.lang.Override
public OsType findValueByNumber(int number) {
return OsType.forNumber(number);
}
};
public static com.google.protobuf.Internal.EnumVerifier
internalGetVerifier() {
return OsTypeVerifier.INSTANCE;
}
private static final class OsTypeVerifier implements
com.google.protobuf.Internal.EnumVerifier {
static final com.google.protobuf.Internal.EnumVerifier INSTANCE = new OsTypeVerifier();
@java.lang.Override
public boolean isInRange(int number) {
return OsType.forNumber(number) != null;
}
};
private final int value;
private OsType(int value) {
this.value = value;
}
// @@protoc_insertion_point(enum_scope:com.newsbreak.monetization.common.OsType)
}
|
0 | java-sources/ai/themsp/mes-android-sdk/0.15.0/main/com/particles/mes | java-sources/ai/themsp/mes-android-sdk/0.15.0/main/com/particles/mes/protos/RequestContext.java | // Generated by the protocol buffer compiler. DO NOT EDIT!
// source: monetization/common.proto
package com.particles.mes.protos;
/**
* Protobuf type {@code com.newsbreak.monetization.common.RequestContext}
*/
public final class RequestContext extends
com.google.protobuf.GeneratedMessageLite<
RequestContext, RequestContext.Builder> implements
// @@protoc_insertion_point(message_implements:com.newsbreak.monetization.common.RequestContext)
RequestContextOrBuilder {
private RequestContext() {
auctionId_ = "";
}
public static final int TS_MS_FIELD_NUMBER = 1;
private long tsMs_;
/**
* <pre>
* timestamp when request is sent
* </pre>
*
* <code>uint64 ts_ms = 1;</code>
* @return The tsMs.
*/
@java.lang.Override
public long getTsMs() {
return tsMs_;
}
/**
* <pre>
* timestamp when request is sent
* </pre>
*
* <code>uint64 ts_ms = 1;</code>
* @param value The tsMs to set.
*/
private void setTsMs(long value) {
tsMs_ = value;
}
/**
* <pre>
* timestamp when request is sent
* </pre>
*
* <code>uint64 ts_ms = 1;</code>
*/
private void clearTsMs() {
tsMs_ = 0L;
}
public static final int BID_REQUEST_FIELD_NUMBER = 2;
private com.particles.mes.protos.openrtb.BidRequest bidRequest_;
/**
* <code>.com.google.openrtb.BidRequest bid_request = 2;</code>
*/
@java.lang.Override
public boolean hasBidRequest() {
return bidRequest_ != null;
}
/**
* <code>.com.google.openrtb.BidRequest bid_request = 2;</code>
*/
@java.lang.Override
public com.particles.mes.protos.openrtb.BidRequest getBidRequest() {
return bidRequest_ == null ? com.particles.mes.protos.openrtb.BidRequest.getDefaultInstance() : bidRequest_;
}
/**
* <code>.com.google.openrtb.BidRequest bid_request = 2;</code>
*/
private void setBidRequest(com.particles.mes.protos.openrtb.BidRequest value) {
value.getClass();
bidRequest_ = value;
}
/**
* <code>.com.google.openrtb.BidRequest bid_request = 2;</code>
*/
@java.lang.SuppressWarnings({"ReferenceEquality"})
private void mergeBidRequest(com.particles.mes.protos.openrtb.BidRequest value) {
value.getClass();
if (bidRequest_ != null &&
bidRequest_ != com.particles.mes.protos.openrtb.BidRequest.getDefaultInstance()) {
bidRequest_ =
com.particles.mes.protos.openrtb.BidRequest.newBuilder(bidRequest_).mergeFrom(value).buildPartial();
} else {
bidRequest_ = value;
}
}
/**
* <code>.com.google.openrtb.BidRequest bid_request = 2;</code>
*/
private void clearBidRequest() { bidRequest_ = null;
}
public static final int IS_OPEN_RTB_REQUEST_FIELD_NUMBER = 3;
private boolean isOpenRtbRequest_;
/**
* <code>bool is_open_rtb_request = 3;</code>
* @return The isOpenRtbRequest.
*/
@java.lang.Override
public boolean getIsOpenRtbRequest() {
return isOpenRtbRequest_;
}
/**
* <code>bool is_open_rtb_request = 3;</code>
* @param value The isOpenRtbRequest to set.
*/
private void setIsOpenRtbRequest(boolean value) {
isOpenRtbRequest_ = value;
}
/**
* <code>bool is_open_rtb_request = 3;</code>
*/
private void clearIsOpenRtbRequest() {
isOpenRtbRequest_ = false;
}
public static final int EXT_FIELD_NUMBER = 17;
private com.particles.mes.protos.RequestContextExt ext_;
/**
* <pre>
* For application extension
* </pre>
*
* <code>.com.newsbreak.monetization.common.RequestContextExt ext = 17;</code>
*/
@java.lang.Override
public boolean hasExt() {
return ext_ != null;
}
/**
* <pre>
* For application extension
* </pre>
*
* <code>.com.newsbreak.monetization.common.RequestContextExt ext = 17;</code>
*/
@java.lang.Override
public com.particles.mes.protos.RequestContextExt getExt() {
return ext_ == null ? com.particles.mes.protos.RequestContextExt.getDefaultInstance() : ext_;
}
/**
* <pre>
* For application extension
* </pre>
*
* <code>.com.newsbreak.monetization.common.RequestContextExt ext = 17;</code>
*/
private void setExt(com.particles.mes.protos.RequestContextExt value) {
value.getClass();
ext_ = value;
}
/**
* <pre>
* For application extension
* </pre>
*
* <code>.com.newsbreak.monetization.common.RequestContextExt ext = 17;</code>
*/
@java.lang.SuppressWarnings({"ReferenceEquality"})
private void mergeExt(com.particles.mes.protos.RequestContextExt value) {
value.getClass();
if (ext_ != null &&
ext_ != com.particles.mes.protos.RequestContextExt.getDefaultInstance()) {
ext_ =
com.particles.mes.protos.RequestContextExt.newBuilder(ext_).mergeFrom(value).buildPartial();
} else {
ext_ = value;
}
}
/**
* <pre>
* For application extension
* </pre>
*
* <code>.com.newsbreak.monetization.common.RequestContextExt ext = 17;</code>
*/
private void clearExt() { ext_ = null;
}
public static final int AUCTION_ID_FIELD_NUMBER = 18;
private java.lang.String auctionId_;
/**
* <pre>
* The AuctionID is used to chain requests (both s2s and c2s), response,
* impression, click, hide, report all together
* </pre>
*
* <code>string auction_id = 18;</code>
* @return The auctionId.
*/
@java.lang.Override
public java.lang.String getAuctionId() {
return auctionId_;
}
/**
* <pre>
* The AuctionID is used to chain requests (both s2s and c2s), response,
* impression, click, hide, report all together
* </pre>
*
* <code>string auction_id = 18;</code>
* @return The bytes for auctionId.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getAuctionIdBytes() {
return com.google.protobuf.ByteString.copyFromUtf8(auctionId_);
}
/**
* <pre>
* The AuctionID is used to chain requests (both s2s and c2s), response,
* impression, click, hide, report all together
* </pre>
*
* <code>string auction_id = 18;</code>
* @param value The auctionId to set.
*/
private void setAuctionId(
java.lang.String value) {
java.lang.Class<?> valueClass = value.getClass();
auctionId_ = value;
}
/**
* <pre>
* The AuctionID is used to chain requests (both s2s and c2s), response,
* impression, click, hide, report all together
* </pre>
*
* <code>string auction_id = 18;</code>
*/
private void clearAuctionId() {
auctionId_ = getDefaultInstance().getAuctionId();
}
/**
* <pre>
* The AuctionID is used to chain requests (both s2s and c2s), response,
* impression, click, hide, report all together
* </pre>
*
* <code>string auction_id = 18;</code>
* @param value The bytes for auctionId to set.
*/
private void setAuctionIdBytes(
com.google.protobuf.ByteString value) {
checkByteStringIsUtf8(value);
auctionId_ = value.toStringUtf8();
}
public static com.particles.mes.protos.RequestContext parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, data);
}
public static com.particles.mes.protos.RequestContext parseFrom(
java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, data, extensionRegistry);
}
public static com.particles.mes.protos.RequestContext parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, data);
}
public static com.particles.mes.protos.RequestContext parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, data, extensionRegistry);
}
public static com.particles.mes.protos.RequestContext parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, data);
}
public static com.particles.mes.protos.RequestContext parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, data, extensionRegistry);
}
public static com.particles.mes.protos.RequestContext parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, input);
}
public static com.particles.mes.protos.RequestContext parseFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, input, extensionRegistry);
}
public static com.particles.mes.protos.RequestContext parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return parseDelimitedFrom(DEFAULT_INSTANCE, input);
}
public static com.particles.mes.protos.RequestContext parseDelimitedFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return parseDelimitedFrom(DEFAULT_INSTANCE, input, extensionRegistry);
}
public static com.particles.mes.protos.RequestContext parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, input);
}
public static com.particles.mes.protos.RequestContext parseFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, input, extensionRegistry);
}
public static Builder newBuilder() {
return (Builder) DEFAULT_INSTANCE.createBuilder();
}
public static Builder newBuilder(com.particles.mes.protos.RequestContext prototype) {
return (Builder) DEFAULT_INSTANCE.createBuilder(prototype);
}
/**
* Protobuf type {@code com.newsbreak.monetization.common.RequestContext}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageLite.Builder<
com.particles.mes.protos.RequestContext, Builder> implements
// @@protoc_insertion_point(builder_implements:com.newsbreak.monetization.common.RequestContext)
com.particles.mes.protos.RequestContextOrBuilder {
// Construct using com.particles.mes.protos.RequestContext.newBuilder()
private Builder() {
super(DEFAULT_INSTANCE);
}
/**
* <pre>
* timestamp when request is sent
* </pre>
*
* <code>uint64 ts_ms = 1;</code>
* @return The tsMs.
*/
@java.lang.Override
public long getTsMs() {
return instance.getTsMs();
}
/**
* <pre>
* timestamp when request is sent
* </pre>
*
* <code>uint64 ts_ms = 1;</code>
* @param value The tsMs to set.
* @return This builder for chaining.
*/
public Builder setTsMs(long value) {
copyOnWrite();
instance.setTsMs(value);
return this;
}
/**
* <pre>
* timestamp when request is sent
* </pre>
*
* <code>uint64 ts_ms = 1;</code>
* @return This builder for chaining.
*/
public Builder clearTsMs() {
copyOnWrite();
instance.clearTsMs();
return this;
}
/**
* <code>.com.google.openrtb.BidRequest bid_request = 2;</code>
*/
@java.lang.Override
public boolean hasBidRequest() {
return instance.hasBidRequest();
}
/**
* <code>.com.google.openrtb.BidRequest bid_request = 2;</code>
*/
@java.lang.Override
public com.particles.mes.protos.openrtb.BidRequest getBidRequest() {
return instance.getBidRequest();
}
/**
* <code>.com.google.openrtb.BidRequest bid_request = 2;</code>
*/
public Builder setBidRequest(com.particles.mes.protos.openrtb.BidRequest value) {
copyOnWrite();
instance.setBidRequest(value);
return this;
}
/**
* <code>.com.google.openrtb.BidRequest bid_request = 2;</code>
*/
public Builder setBidRequest(
com.particles.mes.protos.openrtb.BidRequest.Builder builderForValue) {
copyOnWrite();
instance.setBidRequest(builderForValue.build());
return this;
}
/**
* <code>.com.google.openrtb.BidRequest bid_request = 2;</code>
*/
public Builder mergeBidRequest(com.particles.mes.protos.openrtb.BidRequest value) {
copyOnWrite();
instance.mergeBidRequest(value);
return this;
}
/**
* <code>.com.google.openrtb.BidRequest bid_request = 2;</code>
*/
public Builder clearBidRequest() { copyOnWrite();
instance.clearBidRequest();
return this;
}
/**
* <code>bool is_open_rtb_request = 3;</code>
* @return The isOpenRtbRequest.
*/
@java.lang.Override
public boolean getIsOpenRtbRequest() {
return instance.getIsOpenRtbRequest();
}
/**
* <code>bool is_open_rtb_request = 3;</code>
* @param value The isOpenRtbRequest to set.
* @return This builder for chaining.
*/
public Builder setIsOpenRtbRequest(boolean value) {
copyOnWrite();
instance.setIsOpenRtbRequest(value);
return this;
}
/**
* <code>bool is_open_rtb_request = 3;</code>
* @return This builder for chaining.
*/
public Builder clearIsOpenRtbRequest() {
copyOnWrite();
instance.clearIsOpenRtbRequest();
return this;
}
/**
* <pre>
* For application extension
* </pre>
*
* <code>.com.newsbreak.monetization.common.RequestContextExt ext = 17;</code>
*/
@java.lang.Override
public boolean hasExt() {
return instance.hasExt();
}
/**
* <pre>
* For application extension
* </pre>
*
* <code>.com.newsbreak.monetization.common.RequestContextExt ext = 17;</code>
*/
@java.lang.Override
public com.particles.mes.protos.RequestContextExt getExt() {
return instance.getExt();
}
/**
* <pre>
* For application extension
* </pre>
*
* <code>.com.newsbreak.monetization.common.RequestContextExt ext = 17;</code>
*/
public Builder setExt(com.particles.mes.protos.RequestContextExt value) {
copyOnWrite();
instance.setExt(value);
return this;
}
/**
* <pre>
* For application extension
* </pre>
*
* <code>.com.newsbreak.monetization.common.RequestContextExt ext = 17;</code>
*/
public Builder setExt(
com.particles.mes.protos.RequestContextExt.Builder builderForValue) {
copyOnWrite();
instance.setExt(builderForValue.build());
return this;
}
/**
* <pre>
* For application extension
* </pre>
*
* <code>.com.newsbreak.monetization.common.RequestContextExt ext = 17;</code>
*/
public Builder mergeExt(com.particles.mes.protos.RequestContextExt value) {
copyOnWrite();
instance.mergeExt(value);
return this;
}
/**
* <pre>
* For application extension
* </pre>
*
* <code>.com.newsbreak.monetization.common.RequestContextExt ext = 17;</code>
*/
public Builder clearExt() { copyOnWrite();
instance.clearExt();
return this;
}
/**
* <pre>
* The AuctionID is used to chain requests (both s2s and c2s), response,
* impression, click, hide, report all together
* </pre>
*
* <code>string auction_id = 18;</code>
* @return The auctionId.
*/
@java.lang.Override
public java.lang.String getAuctionId() {
return instance.getAuctionId();
}
/**
* <pre>
* The AuctionID is used to chain requests (both s2s and c2s), response,
* impression, click, hide, report all together
* </pre>
*
* <code>string auction_id = 18;</code>
* @return The bytes for auctionId.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getAuctionIdBytes() {
return instance.getAuctionIdBytes();
}
/**
* <pre>
* The AuctionID is used to chain requests (both s2s and c2s), response,
* impression, click, hide, report all together
* </pre>
*
* <code>string auction_id = 18;</code>
* @param value The auctionId to set.
* @return This builder for chaining.
*/
public Builder setAuctionId(
java.lang.String value) {
copyOnWrite();
instance.setAuctionId(value);
return this;
}
/**
* <pre>
* The AuctionID is used to chain requests (both s2s and c2s), response,
* impression, click, hide, report all together
* </pre>
*
* <code>string auction_id = 18;</code>
* @return This builder for chaining.
*/
public Builder clearAuctionId() {
copyOnWrite();
instance.clearAuctionId();
return this;
}
/**
* <pre>
* The AuctionID is used to chain requests (both s2s and c2s), response,
* impression, click, hide, report all together
* </pre>
*
* <code>string auction_id = 18;</code>
* @param value The bytes for auctionId to set.
* @return This builder for chaining.
*/
public Builder setAuctionIdBytes(
com.google.protobuf.ByteString value) {
copyOnWrite();
instance.setAuctionIdBytes(value);
return this;
}
// @@protoc_insertion_point(builder_scope:com.newsbreak.monetization.common.RequestContext)
}
private byte memoizedIsInitialized = 2;
@java.lang.Override
@java.lang.SuppressWarnings({"unchecked", "fallthrough"})
protected final java.lang.Object dynamicMethod(
com.google.protobuf.GeneratedMessageLite.MethodToInvoke method,
java.lang.Object arg0, java.lang.Object arg1) {
switch (method) {
case NEW_MUTABLE_INSTANCE: {
return new com.particles.mes.protos.RequestContext();
}
case NEW_BUILDER: {
return new Builder();
}
case BUILD_MESSAGE_INFO: {
java.lang.Object[] objects = new java.lang.Object[] {
"tsMs_",
"bidRequest_",
"isOpenRtbRequest_",
"ext_",
"auctionId_",
};
java.lang.String info =
"\u0000\u0005\u0000\u0000\u0001\u0012\u0005\u0000\u0000\u0001\u0001\u0003\u0002\u0409" +
"\u0003\u0007\u0011\t\u0012\u0208";
return newMessageInfo(DEFAULT_INSTANCE, info, objects);
}
// fall through
case GET_DEFAULT_INSTANCE: {
return DEFAULT_INSTANCE;
}
case GET_PARSER: {
com.google.protobuf.Parser<com.particles.mes.protos.RequestContext> parser = PARSER;
if (parser == null) {
synchronized (com.particles.mes.protos.RequestContext.class) {
parser = PARSER;
if (parser == null) {
parser =
new DefaultInstanceBasedParser<com.particles.mes.protos.RequestContext>(
DEFAULT_INSTANCE);
PARSER = parser;
}
}
}
return parser;
}
case GET_MEMOIZED_IS_INITIALIZED: {
return memoizedIsInitialized;
}
case SET_MEMOIZED_IS_INITIALIZED: {
memoizedIsInitialized = (byte) (arg0 == null ? 0 : 1);
return null;
}
}
throw new UnsupportedOperationException();
}
// @@protoc_insertion_point(class_scope:com.newsbreak.monetization.common.RequestContext)
private static final com.particles.mes.protos.RequestContext DEFAULT_INSTANCE;
static {
RequestContext defaultInstance = new RequestContext();
// New instances are implicitly immutable so no need to make
// immutable.
DEFAULT_INSTANCE = defaultInstance;
com.google.protobuf.GeneratedMessageLite.registerDefaultInstance(
RequestContext.class, defaultInstance);
}
public static com.particles.mes.protos.RequestContext getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static volatile com.google.protobuf.Parser<RequestContext> PARSER;
public static com.google.protobuf.Parser<RequestContext> parser() {
return DEFAULT_INSTANCE.getParserForType();
}
}
|
0 | java-sources/ai/themsp/mes-android-sdk/0.15.0/main/com/particles/mes | java-sources/ai/themsp/mes-android-sdk/0.15.0/main/com/particles/mes/protos/RequestContextExt.java | // Generated by the protocol buffer compiler. DO NOT EDIT!
// source: monetization/common.proto
package com.particles.mes.protos;
/**
* <pre>
* This object is designed for application extension, fields are bound to one or more application.
* Do not add common fields such as ts, os to this message, it is specifically designed for application extension.
* </pre>
*
* Protobuf type {@code com.newsbreak.monetization.common.RequestContextExt}
*/
public final class RequestContextExt extends
com.google.protobuf.GeneratedMessageLite<
RequestContextExt, RequestContextExt.Builder> implements
// @@protoc_insertion_point(message_implements:com.newsbreak.monetization.common.RequestContextExt)
RequestContextExtOrBuilder {
private RequestContextExt() {
docId_ = "";
sessionId_ = "";
source_ = "";
placementId_ = "";
buckets_ = com.google.protobuf.GeneratedMessageLite.emptyProtobufList();
adSlotId_ = "";
userId_ = "";
others_ = com.google.protobuf.GeneratedMessageLite.emptyProtobufList();
mspCustomTargetingPriceString_ = "";
}
public static final int DOC_ID_FIELD_NUMBER = 1;
private java.lang.String docId_;
/**
* <pre>
* required by Newsbreak
* </pre>
*
* <code>string doc_id = 1;</code>
* @return The docId.
*/
@java.lang.Override
public java.lang.String getDocId() {
return docId_;
}
/**
* <pre>
* required by Newsbreak
* </pre>
*
* <code>string doc_id = 1;</code>
* @return The bytes for docId.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getDocIdBytes() {
return com.google.protobuf.ByteString.copyFromUtf8(docId_);
}
/**
* <pre>
* required by Newsbreak
* </pre>
*
* <code>string doc_id = 1;</code>
* @param value The docId to set.
*/
private void setDocId(
java.lang.String value) {
java.lang.Class<?> valueClass = value.getClass();
docId_ = value;
}
/**
* <pre>
* required by Newsbreak
* </pre>
*
* <code>string doc_id = 1;</code>
*/
private void clearDocId() {
docId_ = getDefaultInstance().getDocId();
}
/**
* <pre>
* required by Newsbreak
* </pre>
*
* <code>string doc_id = 1;</code>
* @param value The bytes for docId to set.
*/
private void setDocIdBytes(
com.google.protobuf.ByteString value) {
checkByteStringIsUtf8(value);
docId_ = value.toStringUtf8();
}
public static final int SESSION_ID_FIELD_NUMBER = 2;
private java.lang.String sessionId_;
/**
* <pre>
* required by Newsbreak
* </pre>
*
* <code>string session_id = 2;</code>
* @return The sessionId.
*/
@java.lang.Override
public java.lang.String getSessionId() {
return sessionId_;
}
/**
* <pre>
* required by Newsbreak
* </pre>
*
* <code>string session_id = 2;</code>
* @return The bytes for sessionId.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getSessionIdBytes() {
return com.google.protobuf.ByteString.copyFromUtf8(sessionId_);
}
/**
* <pre>
* required by Newsbreak
* </pre>
*
* <code>string session_id = 2;</code>
* @param value The sessionId to set.
*/
private void setSessionId(
java.lang.String value) {
java.lang.Class<?> valueClass = value.getClass();
sessionId_ = value;
}
/**
* <pre>
* required by Newsbreak
* </pre>
*
* <code>string session_id = 2;</code>
*/
private void clearSessionId() {
sessionId_ = getDefaultInstance().getSessionId();
}
/**
* <pre>
* required by Newsbreak
* </pre>
*
* <code>string session_id = 2;</code>
* @param value The bytes for sessionId to set.
*/
private void setSessionIdBytes(
com.google.protobuf.ByteString value) {
checkByteStringIsUtf8(value);
sessionId_ = value.toStringUtf8();
}
public static final int SOURCE_FIELD_NUMBER = 3;
private java.lang.String source_;
/**
* <pre>
* required by Newsbreak
* e.g. "article", "foryou", "local" ...
* </pre>
*
* <code>string source = 3;</code>
* @return The source.
*/
@java.lang.Override
public java.lang.String getSource() {
return source_;
}
/**
* <pre>
* required by Newsbreak
* e.g. "article", "foryou", "local" ...
* </pre>
*
* <code>string source = 3;</code>
* @return The bytes for source.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getSourceBytes() {
return com.google.protobuf.ByteString.copyFromUtf8(source_);
}
/**
* <pre>
* required by Newsbreak
* e.g. "article", "foryou", "local" ...
* </pre>
*
* <code>string source = 3;</code>
* @param value The source to set.
*/
private void setSource(
java.lang.String value) {
java.lang.Class<?> valueClass = value.getClass();
source_ = value;
}
/**
* <pre>
* required by Newsbreak
* e.g. "article", "foryou", "local" ...
* </pre>
*
* <code>string source = 3;</code>
*/
private void clearSource() {
source_ = getDefaultInstance().getSource();
}
/**
* <pre>
* required by Newsbreak
* e.g. "article", "foryou", "local" ...
* </pre>
*
* <code>string source = 3;</code>
* @param value The bytes for source to set.
*/
private void setSourceBytes(
com.google.protobuf.ByteString value) {
checkByteStringIsUtf8(value);
source_ = value.toStringUtf8();
}
public static final int POSITION_FIELD_NUMBER = 4;
private int position_;
/**
* <pre>
* The index of the ads on certain slots such as in-feed, article-related and article-inside.
* </pre>
*
* <code>uint32 position = 4;</code>
* @return The position.
*/
@java.lang.Override
public int getPosition() {
return position_;
}
/**
* <pre>
* The index of the ads on certain slots such as in-feed, article-related and article-inside.
* </pre>
*
* <code>uint32 position = 4;</code>
* @param value The position to set.
*/
private void setPosition(int value) {
position_ = value;
}
/**
* <pre>
* The index of the ads on certain slots such as in-feed, article-related and article-inside.
* </pre>
*
* <code>uint32 position = 4;</code>
*/
private void clearPosition() {
position_ = 0;
}
public static final int PLACEMENT_ID_FIELD_NUMBER = 5;
private java.lang.String placementId_;
/**
* <code>string placement_id = 5;</code>
* @return The placementId.
*/
@java.lang.Override
public java.lang.String getPlacementId() {
return placementId_;
}
/**
* <code>string placement_id = 5;</code>
* @return The bytes for placementId.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getPlacementIdBytes() {
return com.google.protobuf.ByteString.copyFromUtf8(placementId_);
}
/**
* <code>string placement_id = 5;</code>
* @param value The placementId to set.
*/
private void setPlacementId(
java.lang.String value) {
java.lang.Class<?> valueClass = value.getClass();
placementId_ = value;
}
/**
* <code>string placement_id = 5;</code>
*/
private void clearPlacementId() {
placementId_ = getDefaultInstance().getPlacementId();
}
/**
* <code>string placement_id = 5;</code>
* @param value The bytes for placementId to set.
*/
private void setPlacementIdBytes(
com.google.protobuf.ByteString value) {
checkByteStringIsUtf8(value);
placementId_ = value.toStringUtf8();
}
public static final int BUCKETS_FIELD_NUMBER = 6;
private com.google.protobuf.Internal.ProtobufList<java.lang.String> buckets_;
/**
* <code>repeated string buckets = 6;</code>
* @return A list containing the buckets.
*/
@java.lang.Override
public java.util.List<java.lang.String> getBucketsList() {
return buckets_;
}
/**
* <code>repeated string buckets = 6;</code>
* @return The count of buckets.
*/
@java.lang.Override
public int getBucketsCount() {
return buckets_.size();
}
/**
* <code>repeated string buckets = 6;</code>
* @param index The index of the element to return.
* @return The buckets at the given index.
*/
@java.lang.Override
public java.lang.String getBuckets(int index) {
return buckets_.get(index);
}
/**
* <code>repeated string buckets = 6;</code>
* @param index The index of the value to return.
* @return The bytes of the buckets at the given index.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getBucketsBytes(int index) {
return com.google.protobuf.ByteString.copyFromUtf8(
buckets_.get(index));
}
private void ensureBucketsIsMutable() {
com.google.protobuf.Internal.ProtobufList<java.lang.String> tmp =
buckets_; if (!tmp.isModifiable()) {
buckets_ =
com.google.protobuf.GeneratedMessageLite.mutableCopy(tmp);
}
}
/**
* <code>repeated string buckets = 6;</code>
* @param index The index to set the value at.
* @param value The buckets to set.
*/
private void setBuckets(
int index, java.lang.String value) {
java.lang.Class<?> valueClass = value.getClass();
ensureBucketsIsMutable();
buckets_.set(index, value);
}
/**
* <code>repeated string buckets = 6;</code>
* @param value The buckets to add.
*/
private void addBuckets(
java.lang.String value) {
java.lang.Class<?> valueClass = value.getClass();
ensureBucketsIsMutable();
buckets_.add(value);
}
/**
* <code>repeated string buckets = 6;</code>
* @param values The buckets to add.
*/
private void addAllBuckets(
java.lang.Iterable<java.lang.String> values) {
ensureBucketsIsMutable();
com.google.protobuf.AbstractMessageLite.addAll(
values, buckets_);
}
/**
* <code>repeated string buckets = 6;</code>
*/
private void clearBuckets() {
buckets_ = com.google.protobuf.GeneratedMessageLite.emptyProtobufList();
}
/**
* <code>repeated string buckets = 6;</code>
* @param value The bytes of the buckets to add.
*/
private void addBucketsBytes(
com.google.protobuf.ByteString value) {
checkByteStringIsUtf8(value);
ensureBucketsIsMutable();
buckets_.add(value.toStringUtf8());
}
public static final int AD_SLOT_ID_FIELD_NUMBER = 7;
private java.lang.String adSlotId_;
/**
* <code>string ad_slot_id = 7;</code>
* @return The adSlotId.
*/
@java.lang.Override
public java.lang.String getAdSlotId() {
return adSlotId_;
}
/**
* <code>string ad_slot_id = 7;</code>
* @return The bytes for adSlotId.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getAdSlotIdBytes() {
return com.google.protobuf.ByteString.copyFromUtf8(adSlotId_);
}
/**
* <code>string ad_slot_id = 7;</code>
* @param value The adSlotId to set.
*/
private void setAdSlotId(
java.lang.String value) {
java.lang.Class<?> valueClass = value.getClass();
adSlotId_ = value;
}
/**
* <code>string ad_slot_id = 7;</code>
*/
private void clearAdSlotId() {
adSlotId_ = getDefaultInstance().getAdSlotId();
}
/**
* <code>string ad_slot_id = 7;</code>
* @param value The bytes for adSlotId to set.
*/
private void setAdSlotIdBytes(
com.google.protobuf.ByteString value) {
checkByteStringIsUtf8(value);
adSlotId_ = value.toStringUtf8();
}
public static final int USER_ID_FIELD_NUMBER = 8;
private java.lang.String userId_;
/**
* <code>string user_id = 8;</code>
* @return The userId.
*/
@java.lang.Override
public java.lang.String getUserId() {
return userId_;
}
/**
* <code>string user_id = 8;</code>
* @return The bytes for userId.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getUserIdBytes() {
return com.google.protobuf.ByteString.copyFromUtf8(userId_);
}
/**
* <code>string user_id = 8;</code>
* @param value The userId to set.
*/
private void setUserId(
java.lang.String value) {
java.lang.Class<?> valueClass = value.getClass();
userId_ = value;
}
/**
* <code>string user_id = 8;</code>
*/
private void clearUserId() {
userId_ = getDefaultInstance().getUserId();
}
/**
* <code>string user_id = 8;</code>
* @param value The bytes for userId to set.
*/
private void setUserIdBytes(
com.google.protobuf.ByteString value) {
checkByteStringIsUtf8(value);
userId_ = value.toStringUtf8();
}
public static final int CLIENT_CACHE_FIELD_NUMBER = 9;
private boolean clientCache_;
/**
* <code>bool client_cache = 9;</code>
* @return The clientCache.
*/
@java.lang.Override
public boolean getClientCache() {
return clientCache_;
}
/**
* <code>bool client_cache = 9;</code>
* @param value The clientCache to set.
*/
private void setClientCache(boolean value) {
clientCache_ = value;
}
/**
* <code>bool client_cache = 9;</code>
*/
private void clearClientCache() {
clientCache_ = false;
}
public static final int SERVER_CACHE_FIELD_NUMBER = 10;
private boolean serverCache_;
/**
* <code>bool server_cache = 10;</code>
* @return The serverCache.
*/
@java.lang.Override
public boolean getServerCache() {
return serverCache_;
}
/**
* <code>bool server_cache = 10;</code>
* @param value The serverCache to set.
*/
private void setServerCache(boolean value) {
serverCache_ = value;
}
/**
* <code>bool server_cache = 10;</code>
*/
private void clearServerCache() {
serverCache_ = false;
}
public static final int GOOGLE_NO_FILL_FIELD_NUMBER = 11;
private boolean googleNoFill_;
/**
* <code>bool google_no_fill = 11;</code>
* @return The googleNoFill.
*/
@java.lang.Override
public boolean getGoogleNoFill() {
return googleNoFill_;
}
/**
* <code>bool google_no_fill = 11;</code>
* @param value The googleNoFill to set.
*/
private void setGoogleNoFill(boolean value) {
googleNoFill_ = value;
}
/**
* <code>bool google_no_fill = 11;</code>
*/
private void clearGoogleNoFill() {
googleNoFill_ = false;
}
public static final int AD_BLOCKER_ENABLED_FIELD_NUMBER = 12;
private boolean adBlockerEnabled_;
/**
* <code>bool ad_blocker_enabled = 12;</code>
* @return The adBlockerEnabled.
*/
@java.lang.Override
public boolean getAdBlockerEnabled() {
return adBlockerEnabled_;
}
/**
* <code>bool ad_blocker_enabled = 12;</code>
* @param value The adBlockerEnabled to set.
*/
private void setAdBlockerEnabled(boolean value) {
adBlockerEnabled_ = value;
}
/**
* <code>bool ad_blocker_enabled = 12;</code>
*/
private void clearAdBlockerEnabled() {
adBlockerEnabled_ = false;
}
public static final int OTHERS_FIELD_NUMBER = 13;
private com.google.protobuf.Internal.ProtobufList<java.lang.String> others_;
/**
* <code>repeated string others = 13;</code>
* @return A list containing the others.
*/
@java.lang.Override
public java.util.List<java.lang.String> getOthersList() {
return others_;
}
/**
* <code>repeated string others = 13;</code>
* @return The count of others.
*/
@java.lang.Override
public int getOthersCount() {
return others_.size();
}
/**
* <code>repeated string others = 13;</code>
* @param index The index of the element to return.
* @return The others at the given index.
*/
@java.lang.Override
public java.lang.String getOthers(int index) {
return others_.get(index);
}
/**
* <code>repeated string others = 13;</code>
* @param index The index of the value to return.
* @return The bytes of the others at the given index.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getOthersBytes(int index) {
return com.google.protobuf.ByteString.copyFromUtf8(
others_.get(index));
}
private void ensureOthersIsMutable() {
com.google.protobuf.Internal.ProtobufList<java.lang.String> tmp =
others_; if (!tmp.isModifiable()) {
others_ =
com.google.protobuf.GeneratedMessageLite.mutableCopy(tmp);
}
}
/**
* <code>repeated string others = 13;</code>
* @param index The index to set the value at.
* @param value The others to set.
*/
private void setOthers(
int index, java.lang.String value) {
java.lang.Class<?> valueClass = value.getClass();
ensureOthersIsMutable();
others_.set(index, value);
}
/**
* <code>repeated string others = 13;</code>
* @param value The others to add.
*/
private void addOthers(
java.lang.String value) {
java.lang.Class<?> valueClass = value.getClass();
ensureOthersIsMutable();
others_.add(value);
}
/**
* <code>repeated string others = 13;</code>
* @param values The others to add.
*/
private void addAllOthers(
java.lang.Iterable<java.lang.String> values) {
ensureOthersIsMutable();
com.google.protobuf.AbstractMessageLite.addAll(
values, others_);
}
/**
* <code>repeated string others = 13;</code>
*/
private void clearOthers() {
others_ = com.google.protobuf.GeneratedMessageLite.emptyProtobufList();
}
/**
* <code>repeated string others = 13;</code>
* @param value The bytes of the others to add.
*/
private void addOthersBytes(
com.google.protobuf.ByteString value) {
checkByteStringIsUtf8(value);
ensureOthersIsMutable();
others_.add(value.toStringUtf8());
}
public static final int MSP_CUSTOM_TARGETING_PRICE_STRING_FIELD_NUMBER = 14;
private java.lang.String mspCustomTargetingPriceString_;
/**
* <code>string msp_custom_targeting_price_string = 14;</code>
* @return The mspCustomTargetingPriceString.
*/
@java.lang.Override
public java.lang.String getMspCustomTargetingPriceString() {
return mspCustomTargetingPriceString_;
}
/**
* <code>string msp_custom_targeting_price_string = 14;</code>
* @return The bytes for mspCustomTargetingPriceString.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getMspCustomTargetingPriceStringBytes() {
return com.google.protobuf.ByteString.copyFromUtf8(mspCustomTargetingPriceString_);
}
/**
* <code>string msp_custom_targeting_price_string = 14;</code>
* @param value The mspCustomTargetingPriceString to set.
*/
private void setMspCustomTargetingPriceString(
java.lang.String value) {
java.lang.Class<?> valueClass = value.getClass();
mspCustomTargetingPriceString_ = value;
}
/**
* <code>string msp_custom_targeting_price_string = 14;</code>
*/
private void clearMspCustomTargetingPriceString() {
mspCustomTargetingPriceString_ = getDefaultInstance().getMspCustomTargetingPriceString();
}
/**
* <code>string msp_custom_targeting_price_string = 14;</code>
* @param value The bytes for mspCustomTargetingPriceString to set.
*/
private void setMspCustomTargetingPriceStringBytes(
com.google.protobuf.ByteString value) {
checkByteStringIsUtf8(value);
mspCustomTargetingPriceString_ = value.toStringUtf8();
}
public static com.particles.mes.protos.RequestContextExt parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, data);
}
public static com.particles.mes.protos.RequestContextExt parseFrom(
java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, data, extensionRegistry);
}
public static com.particles.mes.protos.RequestContextExt parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, data);
}
public static com.particles.mes.protos.RequestContextExt parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, data, extensionRegistry);
}
public static com.particles.mes.protos.RequestContextExt parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, data);
}
public static com.particles.mes.protos.RequestContextExt parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, data, extensionRegistry);
}
public static com.particles.mes.protos.RequestContextExt parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, input);
}
public static com.particles.mes.protos.RequestContextExt parseFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, input, extensionRegistry);
}
public static com.particles.mes.protos.RequestContextExt parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return parseDelimitedFrom(DEFAULT_INSTANCE, input);
}
public static com.particles.mes.protos.RequestContextExt parseDelimitedFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return parseDelimitedFrom(DEFAULT_INSTANCE, input, extensionRegistry);
}
public static com.particles.mes.protos.RequestContextExt parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, input);
}
public static com.particles.mes.protos.RequestContextExt parseFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, input, extensionRegistry);
}
public static Builder newBuilder() {
return (Builder) DEFAULT_INSTANCE.createBuilder();
}
public static Builder newBuilder(com.particles.mes.protos.RequestContextExt prototype) {
return (Builder) DEFAULT_INSTANCE.createBuilder(prototype);
}
/**
* <pre>
* This object is designed for application extension, fields are bound to one or more application.
* Do not add common fields such as ts, os to this message, it is specifically designed for application extension.
* </pre>
*
* Protobuf type {@code com.newsbreak.monetization.common.RequestContextExt}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageLite.Builder<
com.particles.mes.protos.RequestContextExt, Builder> implements
// @@protoc_insertion_point(builder_implements:com.newsbreak.monetization.common.RequestContextExt)
com.particles.mes.protos.RequestContextExtOrBuilder {
// Construct using com.particles.mes.protos.RequestContextExt.newBuilder()
private Builder() {
super(DEFAULT_INSTANCE);
}
/**
* <pre>
* required by Newsbreak
* </pre>
*
* <code>string doc_id = 1;</code>
* @return The docId.
*/
@java.lang.Override
public java.lang.String getDocId() {
return instance.getDocId();
}
/**
* <pre>
* required by Newsbreak
* </pre>
*
* <code>string doc_id = 1;</code>
* @return The bytes for docId.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getDocIdBytes() {
return instance.getDocIdBytes();
}
/**
* <pre>
* required by Newsbreak
* </pre>
*
* <code>string doc_id = 1;</code>
* @param value The docId to set.
* @return This builder for chaining.
*/
public Builder setDocId(
java.lang.String value) {
copyOnWrite();
instance.setDocId(value);
return this;
}
/**
* <pre>
* required by Newsbreak
* </pre>
*
* <code>string doc_id = 1;</code>
* @return This builder for chaining.
*/
public Builder clearDocId() {
copyOnWrite();
instance.clearDocId();
return this;
}
/**
* <pre>
* required by Newsbreak
* </pre>
*
* <code>string doc_id = 1;</code>
* @param value The bytes for docId to set.
* @return This builder for chaining.
*/
public Builder setDocIdBytes(
com.google.protobuf.ByteString value) {
copyOnWrite();
instance.setDocIdBytes(value);
return this;
}
/**
* <pre>
* required by Newsbreak
* </pre>
*
* <code>string session_id = 2;</code>
* @return The sessionId.
*/
@java.lang.Override
public java.lang.String getSessionId() {
return instance.getSessionId();
}
/**
* <pre>
* required by Newsbreak
* </pre>
*
* <code>string session_id = 2;</code>
* @return The bytes for sessionId.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getSessionIdBytes() {
return instance.getSessionIdBytes();
}
/**
* <pre>
* required by Newsbreak
* </pre>
*
* <code>string session_id = 2;</code>
* @param value The sessionId to set.
* @return This builder for chaining.
*/
public Builder setSessionId(
java.lang.String value) {
copyOnWrite();
instance.setSessionId(value);
return this;
}
/**
* <pre>
* required by Newsbreak
* </pre>
*
* <code>string session_id = 2;</code>
* @return This builder for chaining.
*/
public Builder clearSessionId() {
copyOnWrite();
instance.clearSessionId();
return this;
}
/**
* <pre>
* required by Newsbreak
* </pre>
*
* <code>string session_id = 2;</code>
* @param value The bytes for sessionId to set.
* @return This builder for chaining.
*/
public Builder setSessionIdBytes(
com.google.protobuf.ByteString value) {
copyOnWrite();
instance.setSessionIdBytes(value);
return this;
}
/**
* <pre>
* required by Newsbreak
* e.g. "article", "foryou", "local" ...
* </pre>
*
* <code>string source = 3;</code>
* @return The source.
*/
@java.lang.Override
public java.lang.String getSource() {
return instance.getSource();
}
/**
* <pre>
* required by Newsbreak
* e.g. "article", "foryou", "local" ...
* </pre>
*
* <code>string source = 3;</code>
* @return The bytes for source.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getSourceBytes() {
return instance.getSourceBytes();
}
/**
* <pre>
* required by Newsbreak
* e.g. "article", "foryou", "local" ...
* </pre>
*
* <code>string source = 3;</code>
* @param value The source to set.
* @return This builder for chaining.
*/
public Builder setSource(
java.lang.String value) {
copyOnWrite();
instance.setSource(value);
return this;
}
/**
* <pre>
* required by Newsbreak
* e.g. "article", "foryou", "local" ...
* </pre>
*
* <code>string source = 3;</code>
* @return This builder for chaining.
*/
public Builder clearSource() {
copyOnWrite();
instance.clearSource();
return this;
}
/**
* <pre>
* required by Newsbreak
* e.g. "article", "foryou", "local" ...
* </pre>
*
* <code>string source = 3;</code>
* @param value The bytes for source to set.
* @return This builder for chaining.
*/
public Builder setSourceBytes(
com.google.protobuf.ByteString value) {
copyOnWrite();
instance.setSourceBytes(value);
return this;
}
/**
* <pre>
* The index of the ads on certain slots such as in-feed, article-related and article-inside.
* </pre>
*
* <code>uint32 position = 4;</code>
* @return The position.
*/
@java.lang.Override
public int getPosition() {
return instance.getPosition();
}
/**
* <pre>
* The index of the ads on certain slots such as in-feed, article-related and article-inside.
* </pre>
*
* <code>uint32 position = 4;</code>
* @param value The position to set.
* @return This builder for chaining.
*/
public Builder setPosition(int value) {
copyOnWrite();
instance.setPosition(value);
return this;
}
/**
* <pre>
* The index of the ads on certain slots such as in-feed, article-related and article-inside.
* </pre>
*
* <code>uint32 position = 4;</code>
* @return This builder for chaining.
*/
public Builder clearPosition() {
copyOnWrite();
instance.clearPosition();
return this;
}
/**
* <code>string placement_id = 5;</code>
* @return The placementId.
*/
@java.lang.Override
public java.lang.String getPlacementId() {
return instance.getPlacementId();
}
/**
* <code>string placement_id = 5;</code>
* @return The bytes for placementId.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getPlacementIdBytes() {
return instance.getPlacementIdBytes();
}
/**
* <code>string placement_id = 5;</code>
* @param value The placementId to set.
* @return This builder for chaining.
*/
public Builder setPlacementId(
java.lang.String value) {
copyOnWrite();
instance.setPlacementId(value);
return this;
}
/**
* <code>string placement_id = 5;</code>
* @return This builder for chaining.
*/
public Builder clearPlacementId() {
copyOnWrite();
instance.clearPlacementId();
return this;
}
/**
* <code>string placement_id = 5;</code>
* @param value The bytes for placementId to set.
* @return This builder for chaining.
*/
public Builder setPlacementIdBytes(
com.google.protobuf.ByteString value) {
copyOnWrite();
instance.setPlacementIdBytes(value);
return this;
}
/**
* <code>repeated string buckets = 6;</code>
* @return A list containing the buckets.
*/
@java.lang.Override
public java.util.List<java.lang.String>
getBucketsList() {
return java.util.Collections.unmodifiableList(
instance.getBucketsList());
}
/**
* <code>repeated string buckets = 6;</code>
* @return The count of buckets.
*/
@java.lang.Override
public int getBucketsCount() {
return instance.getBucketsCount();
}
/**
* <code>repeated string buckets = 6;</code>
* @param index The index of the element to return.
* @return The buckets at the given index.
*/
@java.lang.Override
public java.lang.String getBuckets(int index) {
return instance.getBuckets(index);
}
/**
* <code>repeated string buckets = 6;</code>
* @param index The index of the value to return.
* @return The bytes of the buckets at the given index.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getBucketsBytes(int index) {
return instance.getBucketsBytes(index);
}
/**
* <code>repeated string buckets = 6;</code>
* @param index The index to set the value at.
* @param value The buckets to set.
* @return This builder for chaining.
*/
public Builder setBuckets(
int index, java.lang.String value) {
copyOnWrite();
instance.setBuckets(index, value);
return this;
}
/**
* <code>repeated string buckets = 6;</code>
* @param value The buckets to add.
* @return This builder for chaining.
*/
public Builder addBuckets(
java.lang.String value) {
copyOnWrite();
instance.addBuckets(value);
return this;
}
/**
* <code>repeated string buckets = 6;</code>
* @param values The buckets to add.
* @return This builder for chaining.
*/
public Builder addAllBuckets(
java.lang.Iterable<java.lang.String> values) {
copyOnWrite();
instance.addAllBuckets(values);
return this;
}
/**
* <code>repeated string buckets = 6;</code>
* @return This builder for chaining.
*/
public Builder clearBuckets() {
copyOnWrite();
instance.clearBuckets();
return this;
}
/**
* <code>repeated string buckets = 6;</code>
* @param value The bytes of the buckets to add.
* @return This builder for chaining.
*/
public Builder addBucketsBytes(
com.google.protobuf.ByteString value) {
copyOnWrite();
instance.addBucketsBytes(value);
return this;
}
/**
* <code>string ad_slot_id = 7;</code>
* @return The adSlotId.
*/
@java.lang.Override
public java.lang.String getAdSlotId() {
return instance.getAdSlotId();
}
/**
* <code>string ad_slot_id = 7;</code>
* @return The bytes for adSlotId.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getAdSlotIdBytes() {
return instance.getAdSlotIdBytes();
}
/**
* <code>string ad_slot_id = 7;</code>
* @param value The adSlotId to set.
* @return This builder for chaining.
*/
public Builder setAdSlotId(
java.lang.String value) {
copyOnWrite();
instance.setAdSlotId(value);
return this;
}
/**
* <code>string ad_slot_id = 7;</code>
* @return This builder for chaining.
*/
public Builder clearAdSlotId() {
copyOnWrite();
instance.clearAdSlotId();
return this;
}
/**
* <code>string ad_slot_id = 7;</code>
* @param value The bytes for adSlotId to set.
* @return This builder for chaining.
*/
public Builder setAdSlotIdBytes(
com.google.protobuf.ByteString value) {
copyOnWrite();
instance.setAdSlotIdBytes(value);
return this;
}
/**
* <code>string user_id = 8;</code>
* @return The userId.
*/
@java.lang.Override
public java.lang.String getUserId() {
return instance.getUserId();
}
/**
* <code>string user_id = 8;</code>
* @return The bytes for userId.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getUserIdBytes() {
return instance.getUserIdBytes();
}
/**
* <code>string user_id = 8;</code>
* @param value The userId to set.
* @return This builder for chaining.
*/
public Builder setUserId(
java.lang.String value) {
copyOnWrite();
instance.setUserId(value);
return this;
}
/**
* <code>string user_id = 8;</code>
* @return This builder for chaining.
*/
public Builder clearUserId() {
copyOnWrite();
instance.clearUserId();
return this;
}
/**
* <code>string user_id = 8;</code>
* @param value The bytes for userId to set.
* @return This builder for chaining.
*/
public Builder setUserIdBytes(
com.google.protobuf.ByteString value) {
copyOnWrite();
instance.setUserIdBytes(value);
return this;
}
/**
* <code>bool client_cache = 9;</code>
* @return The clientCache.
*/
@java.lang.Override
public boolean getClientCache() {
return instance.getClientCache();
}
/**
* <code>bool client_cache = 9;</code>
* @param value The clientCache to set.
* @return This builder for chaining.
*/
public Builder setClientCache(boolean value) {
copyOnWrite();
instance.setClientCache(value);
return this;
}
/**
* <code>bool client_cache = 9;</code>
* @return This builder for chaining.
*/
public Builder clearClientCache() {
copyOnWrite();
instance.clearClientCache();
return this;
}
/**
* <code>bool server_cache = 10;</code>
* @return The serverCache.
*/
@java.lang.Override
public boolean getServerCache() {
return instance.getServerCache();
}
/**
* <code>bool server_cache = 10;</code>
* @param value The serverCache to set.
* @return This builder for chaining.
*/
public Builder setServerCache(boolean value) {
copyOnWrite();
instance.setServerCache(value);
return this;
}
/**
* <code>bool server_cache = 10;</code>
* @return This builder for chaining.
*/
public Builder clearServerCache() {
copyOnWrite();
instance.clearServerCache();
return this;
}
/**
* <code>bool google_no_fill = 11;</code>
* @return The googleNoFill.
*/
@java.lang.Override
public boolean getGoogleNoFill() {
return instance.getGoogleNoFill();
}
/**
* <code>bool google_no_fill = 11;</code>
* @param value The googleNoFill to set.
* @return This builder for chaining.
*/
public Builder setGoogleNoFill(boolean value) {
copyOnWrite();
instance.setGoogleNoFill(value);
return this;
}
/**
* <code>bool google_no_fill = 11;</code>
* @return This builder for chaining.
*/
public Builder clearGoogleNoFill() {
copyOnWrite();
instance.clearGoogleNoFill();
return this;
}
/**
* <code>bool ad_blocker_enabled = 12;</code>
* @return The adBlockerEnabled.
*/
@java.lang.Override
public boolean getAdBlockerEnabled() {
return instance.getAdBlockerEnabled();
}
/**
* <code>bool ad_blocker_enabled = 12;</code>
* @param value The adBlockerEnabled to set.
* @return This builder for chaining.
*/
public Builder setAdBlockerEnabled(boolean value) {
copyOnWrite();
instance.setAdBlockerEnabled(value);
return this;
}
/**
* <code>bool ad_blocker_enabled = 12;</code>
* @return This builder for chaining.
*/
public Builder clearAdBlockerEnabled() {
copyOnWrite();
instance.clearAdBlockerEnabled();
return this;
}
/**
* <code>repeated string others = 13;</code>
* @return A list containing the others.
*/
@java.lang.Override
public java.util.List<java.lang.String>
getOthersList() {
return java.util.Collections.unmodifiableList(
instance.getOthersList());
}
/**
* <code>repeated string others = 13;</code>
* @return The count of others.
*/
@java.lang.Override
public int getOthersCount() {
return instance.getOthersCount();
}
/**
* <code>repeated string others = 13;</code>
* @param index The index of the element to return.
* @return The others at the given index.
*/
@java.lang.Override
public java.lang.String getOthers(int index) {
return instance.getOthers(index);
}
/**
* <code>repeated string others = 13;</code>
* @param index The index of the value to return.
* @return The bytes of the others at the given index.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getOthersBytes(int index) {
return instance.getOthersBytes(index);
}
/**
* <code>repeated string others = 13;</code>
* @param index The index to set the value at.
* @param value The others to set.
* @return This builder for chaining.
*/
public Builder setOthers(
int index, java.lang.String value) {
copyOnWrite();
instance.setOthers(index, value);
return this;
}
/**
* <code>repeated string others = 13;</code>
* @param value The others to add.
* @return This builder for chaining.
*/
public Builder addOthers(
java.lang.String value) {
copyOnWrite();
instance.addOthers(value);
return this;
}
/**
* <code>repeated string others = 13;</code>
* @param values The others to add.
* @return This builder for chaining.
*/
public Builder addAllOthers(
java.lang.Iterable<java.lang.String> values) {
copyOnWrite();
instance.addAllOthers(values);
return this;
}
/**
* <code>repeated string others = 13;</code>
* @return This builder for chaining.
*/
public Builder clearOthers() {
copyOnWrite();
instance.clearOthers();
return this;
}
/**
* <code>repeated string others = 13;</code>
* @param value The bytes of the others to add.
* @return This builder for chaining.
*/
public Builder addOthersBytes(
com.google.protobuf.ByteString value) {
copyOnWrite();
instance.addOthersBytes(value);
return this;
}
/**
* <code>string msp_custom_targeting_price_string = 14;</code>
* @return The mspCustomTargetingPriceString.
*/
@java.lang.Override
public java.lang.String getMspCustomTargetingPriceString() {
return instance.getMspCustomTargetingPriceString();
}
/**
* <code>string msp_custom_targeting_price_string = 14;</code>
* @return The bytes for mspCustomTargetingPriceString.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getMspCustomTargetingPriceStringBytes() {
return instance.getMspCustomTargetingPriceStringBytes();
}
/**
* <code>string msp_custom_targeting_price_string = 14;</code>
* @param value The mspCustomTargetingPriceString to set.
* @return This builder for chaining.
*/
public Builder setMspCustomTargetingPriceString(
java.lang.String value) {
copyOnWrite();
instance.setMspCustomTargetingPriceString(value);
return this;
}
/**
* <code>string msp_custom_targeting_price_string = 14;</code>
* @return This builder for chaining.
*/
public Builder clearMspCustomTargetingPriceString() {
copyOnWrite();
instance.clearMspCustomTargetingPriceString();
return this;
}
/**
* <code>string msp_custom_targeting_price_string = 14;</code>
* @param value The bytes for mspCustomTargetingPriceString to set.
* @return This builder for chaining.
*/
public Builder setMspCustomTargetingPriceStringBytes(
com.google.protobuf.ByteString value) {
copyOnWrite();
instance.setMspCustomTargetingPriceStringBytes(value);
return this;
}
// @@protoc_insertion_point(builder_scope:com.newsbreak.monetization.common.RequestContextExt)
}
@java.lang.Override
@java.lang.SuppressWarnings({"unchecked", "fallthrough"})
protected final java.lang.Object dynamicMethod(
com.google.protobuf.GeneratedMessageLite.MethodToInvoke method,
java.lang.Object arg0, java.lang.Object arg1) {
switch (method) {
case NEW_MUTABLE_INSTANCE: {
return new com.particles.mes.protos.RequestContextExt();
}
case NEW_BUILDER: {
return new Builder();
}
case BUILD_MESSAGE_INFO: {
java.lang.Object[] objects = new java.lang.Object[] {
"docId_",
"sessionId_",
"source_",
"position_",
"placementId_",
"buckets_",
"adSlotId_",
"userId_",
"clientCache_",
"serverCache_",
"googleNoFill_",
"adBlockerEnabled_",
"others_",
"mspCustomTargetingPriceString_",
};
java.lang.String info =
"\u0000\u000e\u0000\u0000\u0001\u000e\u000e\u0000\u0002\u0000\u0001\u0208\u0002\u0208" +
"\u0003\u0208\u0004\u000b\u0005\u0208\u0006\u021a\u0007\u0208\b\u0208\t\u0007\n\u0007" +
"\u000b\u0007\f\u0007\r\u021a\u000e\u0208";
return newMessageInfo(DEFAULT_INSTANCE, info, objects);
}
// fall through
case GET_DEFAULT_INSTANCE: {
return DEFAULT_INSTANCE;
}
case GET_PARSER: {
com.google.protobuf.Parser<com.particles.mes.protos.RequestContextExt> parser = PARSER;
if (parser == null) {
synchronized (com.particles.mes.protos.RequestContextExt.class) {
parser = PARSER;
if (parser == null) {
parser =
new DefaultInstanceBasedParser<com.particles.mes.protos.RequestContextExt>(
DEFAULT_INSTANCE);
PARSER = parser;
}
}
}
return parser;
}
case GET_MEMOIZED_IS_INITIALIZED: {
return (byte) 1;
}
case SET_MEMOIZED_IS_INITIALIZED: {
return null;
}
}
throw new UnsupportedOperationException();
}
// @@protoc_insertion_point(class_scope:com.newsbreak.monetization.common.RequestContextExt)
private static final com.particles.mes.protos.RequestContextExt DEFAULT_INSTANCE;
static {
RequestContextExt defaultInstance = new RequestContextExt();
// New instances are implicitly immutable so no need to make
// immutable.
DEFAULT_INSTANCE = defaultInstance;
com.google.protobuf.GeneratedMessageLite.registerDefaultInstance(
RequestContextExt.class, defaultInstance);
}
public static com.particles.mes.protos.RequestContextExt getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static volatile com.google.protobuf.Parser<RequestContextExt> PARSER;
public static com.google.protobuf.Parser<RequestContextExt> parser() {
return DEFAULT_INSTANCE.getParserForType();
}
}
|
0 | java-sources/ai/themsp/mes-android-sdk/0.15.0/main/com/particles/mes | java-sources/ai/themsp/mes-android-sdk/0.15.0/main/com/particles/mes/protos/RequestContextExtOrBuilder.java | // Generated by the protocol buffer compiler. DO NOT EDIT!
// source: monetization/common.proto
package com.particles.mes.protos;
public interface RequestContextExtOrBuilder extends
// @@protoc_insertion_point(interface_extends:com.newsbreak.monetization.common.RequestContextExt)
com.google.protobuf.MessageLiteOrBuilder {
/**
* <pre>
* required by Newsbreak
* </pre>
*
* <code>string doc_id = 1;</code>
* @return The docId.
*/
java.lang.String getDocId();
/**
* <pre>
* required by Newsbreak
* </pre>
*
* <code>string doc_id = 1;</code>
* @return The bytes for docId.
*/
com.google.protobuf.ByteString
getDocIdBytes();
/**
* <pre>
* required by Newsbreak
* </pre>
*
* <code>string session_id = 2;</code>
* @return The sessionId.
*/
java.lang.String getSessionId();
/**
* <pre>
* required by Newsbreak
* </pre>
*
* <code>string session_id = 2;</code>
* @return The bytes for sessionId.
*/
com.google.protobuf.ByteString
getSessionIdBytes();
/**
* <pre>
* required by Newsbreak
* e.g. "article", "foryou", "local" ...
* </pre>
*
* <code>string source = 3;</code>
* @return The source.
*/
java.lang.String getSource();
/**
* <pre>
* required by Newsbreak
* e.g. "article", "foryou", "local" ...
* </pre>
*
* <code>string source = 3;</code>
* @return The bytes for source.
*/
com.google.protobuf.ByteString
getSourceBytes();
/**
* <pre>
* The index of the ads on certain slots such as in-feed, article-related and article-inside.
* </pre>
*
* <code>uint32 position = 4;</code>
* @return The position.
*/
int getPosition();
/**
* <code>string placement_id = 5;</code>
* @return The placementId.
*/
java.lang.String getPlacementId();
/**
* <code>string placement_id = 5;</code>
* @return The bytes for placementId.
*/
com.google.protobuf.ByteString
getPlacementIdBytes();
/**
* <code>repeated string buckets = 6;</code>
* @return A list containing the buckets.
*/
java.util.List<java.lang.String>
getBucketsList();
/**
* <code>repeated string buckets = 6;</code>
* @return The count of buckets.
*/
int getBucketsCount();
/**
* <code>repeated string buckets = 6;</code>
* @param index The index of the element to return.
* @return The buckets at the given index.
*/
java.lang.String getBuckets(int index);
/**
* <code>repeated string buckets = 6;</code>
* @param index The index of the element to return.
* @return The buckets at the given index.
*/
com.google.protobuf.ByteString
getBucketsBytes(int index);
/**
* <code>string ad_slot_id = 7;</code>
* @return The adSlotId.
*/
java.lang.String getAdSlotId();
/**
* <code>string ad_slot_id = 7;</code>
* @return The bytes for adSlotId.
*/
com.google.protobuf.ByteString
getAdSlotIdBytes();
/**
* <code>string user_id = 8;</code>
* @return The userId.
*/
java.lang.String getUserId();
/**
* <code>string user_id = 8;</code>
* @return The bytes for userId.
*/
com.google.protobuf.ByteString
getUserIdBytes();
/**
* <code>bool client_cache = 9;</code>
* @return The clientCache.
*/
boolean getClientCache();
/**
* <code>bool server_cache = 10;</code>
* @return The serverCache.
*/
boolean getServerCache();
/**
* <code>bool google_no_fill = 11;</code>
* @return The googleNoFill.
*/
boolean getGoogleNoFill();
/**
* <code>bool ad_blocker_enabled = 12;</code>
* @return The adBlockerEnabled.
*/
boolean getAdBlockerEnabled();
/**
* <code>repeated string others = 13;</code>
* @return A list containing the others.
*/
java.util.List<java.lang.String>
getOthersList();
/**
* <code>repeated string others = 13;</code>
* @return The count of others.
*/
int getOthersCount();
/**
* <code>repeated string others = 13;</code>
* @param index The index of the element to return.
* @return The others at the given index.
*/
java.lang.String getOthers(int index);
/**
* <code>repeated string others = 13;</code>
* @param index The index of the element to return.
* @return The others at the given index.
*/
com.google.protobuf.ByteString
getOthersBytes(int index);
/**
* <code>string msp_custom_targeting_price_string = 14;</code>
* @return The mspCustomTargetingPriceString.
*/
java.lang.String getMspCustomTargetingPriceString();
/**
* <code>string msp_custom_targeting_price_string = 14;</code>
* @return The bytes for mspCustomTargetingPriceString.
*/
com.google.protobuf.ByteString
getMspCustomTargetingPriceStringBytes();
}
|
0 | java-sources/ai/themsp/mes-android-sdk/0.15.0/main/com/particles/mes | java-sources/ai/themsp/mes-android-sdk/0.15.0/main/com/particles/mes/protos/RequestContextOrBuilder.java | // Generated by the protocol buffer compiler. DO NOT EDIT!
// source: monetization/common.proto
package com.particles.mes.protos;
public interface RequestContextOrBuilder extends
// @@protoc_insertion_point(interface_extends:com.newsbreak.monetization.common.RequestContext)
com.google.protobuf.MessageLiteOrBuilder {
/**
* <pre>
* timestamp when request is sent
* </pre>
*
* <code>uint64 ts_ms = 1;</code>
* @return The tsMs.
*/
long getTsMs();
/**
* <code>.com.google.openrtb.BidRequest bid_request = 2;</code>
* @return Whether the bidRequest field is set.
*/
boolean hasBidRequest();
/**
* <code>.com.google.openrtb.BidRequest bid_request = 2;</code>
* @return The bidRequest.
*/
com.particles.mes.protos.openrtb.BidRequest getBidRequest();
/**
* <code>bool is_open_rtb_request = 3;</code>
* @return The isOpenRtbRequest.
*/
boolean getIsOpenRtbRequest();
/**
* <pre>
* For application extension
* </pre>
*
* <code>.com.newsbreak.monetization.common.RequestContextExt ext = 17;</code>
* @return Whether the ext field is set.
*/
boolean hasExt();
/**
* <pre>
* For application extension
* </pre>
*
* <code>.com.newsbreak.monetization.common.RequestContextExt ext = 17;</code>
* @return The ext.
*/
com.particles.mes.protos.RequestContextExt getExt();
/**
* <pre>
* The AuctionID is used to chain requests (both s2s and c2s), response,
* impression, click, hide, report all together
* </pre>
*
* <code>string auction_id = 18;</code>
* @return The auctionId.
*/
java.lang.String getAuctionId();
/**
* <pre>
* The AuctionID is used to chain requests (both s2s and c2s), response,
* impression, click, hide, report all together
* </pre>
*
* <code>string auction_id = 18;</code>
* @return The bytes for auctionId.
*/
com.google.protobuf.ByteString
getAuctionIdBytes();
}
|
0 | java-sources/ai/themsp/mes-android-sdk/0.15.0/main/com/particles/mes | java-sources/ai/themsp/mes-android-sdk/0.15.0/main/com/particles/mes/protos/SdkInitEvent.java | // Generated by the protocol buffer compiler. DO NOT EDIT!
// source: mes_events/sdk_init.proto
package com.particles.mes.protos;
/**
* <pre>
* sent when app starts up
* </pre>
*
* Protobuf type {@code com.newsbreak.mes.events.SdkInitEvent}
*/
public final class SdkInitEvent extends
com.google.protobuf.GeneratedMessageLite<
SdkInitEvent, SdkInitEvent.Builder> implements
// @@protoc_insertion_point(message_implements:com.newsbreak.mes.events.SdkInitEvent)
SdkInitEventOrBuilder {
private SdkInitEvent() {
org_ = "";
app_ = "";
mspSdkVersion_ = "";
mspId_ = "";
ifa_ = "";
batteryStatus_ = "";
fontSize_ = "";
timezone_ = "";
}
private int bitField0_;
public static final int CLIENT_TS_MS_FIELD_NUMBER = 1;
private long clientTsMs_;
/**
* <code>uint64 client_ts_ms = 1;</code>
* @return The clientTsMs.
*/
@java.lang.Override
public long getClientTsMs() {
return clientTsMs_;
}
/**
* <code>uint64 client_ts_ms = 1;</code>
* @param value The clientTsMs to set.
*/
private void setClientTsMs(long value) {
clientTsMs_ = value;
}
/**
* <code>uint64 client_ts_ms = 1;</code>
*/
private void clearClientTsMs() {
clientTsMs_ = 0L;
}
public static final int SERVER_TS_MS_FIELD_NUMBER = 2;
private long serverTsMs_;
/**
* <code>uint64 server_ts_ms = 2;</code>
* @return The serverTsMs.
*/
@java.lang.Override
public long getServerTsMs() {
return serverTsMs_;
}
/**
* <code>uint64 server_ts_ms = 2;</code>
* @param value The serverTsMs to set.
*/
private void setServerTsMs(long value) {
serverTsMs_ = value;
}
/**
* <code>uint64 server_ts_ms = 2;</code>
*/
private void clearServerTsMs() {
serverTsMs_ = 0L;
}
public static final int OS_FIELD_NUMBER = 3;
private int os_;
/**
* <code>.com.newsbreak.monetization.common.OsType os = 3;</code>
* @return The enum numeric value on the wire for os.
*/
@java.lang.Override
public int getOsValue() {
return os_;
}
/**
* <code>.com.newsbreak.monetization.common.OsType os = 3;</code>
* @return The os.
*/
@java.lang.Override
public com.particles.mes.protos.OsType getOs() {
com.particles.mes.protos.OsType result = com.particles.mes.protos.OsType.forNumber(os_);
return result == null ? com.particles.mes.protos.OsType.UNRECOGNIZED : result;
}
/**
* <code>.com.newsbreak.monetization.common.OsType os = 3;</code>
* @param value The enum numeric value on the wire for os to set.
*/
private void setOsValue(int value) {
os_ = value;
}
/**
* <code>.com.newsbreak.monetization.common.OsType os = 3;</code>
* @param value The os to set.
*/
private void setOs(com.particles.mes.protos.OsType value) {
os_ = value.getNumber();
}
/**
* <code>.com.newsbreak.monetization.common.OsType os = 3;</code>
*/
private void clearOs() {
os_ = 0;
}
public static final int ORG_FIELD_NUMBER = 4;
private java.lang.String org_;
/**
* <code>string org = 4;</code>
* @return The org.
*/
@java.lang.Override
public java.lang.String getOrg() {
return org_;
}
/**
* <code>string org = 4;</code>
* @return The bytes for org.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getOrgBytes() {
return com.google.protobuf.ByteString.copyFromUtf8(org_);
}
/**
* <code>string org = 4;</code>
* @param value The org to set.
*/
private void setOrg(
java.lang.String value) {
java.lang.Class<?> valueClass = value.getClass();
org_ = value;
}
/**
* <code>string org = 4;</code>
*/
private void clearOrg() {
org_ = getDefaultInstance().getOrg();
}
/**
* <code>string org = 4;</code>
* @param value The bytes for org to set.
*/
private void setOrgBytes(
com.google.protobuf.ByteString value) {
checkByteStringIsUtf8(value);
org_ = value.toStringUtf8();
}
public static final int APP_FIELD_NUMBER = 5;
private java.lang.String app_;
/**
* <code>string app = 5;</code>
* @return The app.
*/
@java.lang.Override
public java.lang.String getApp() {
return app_;
}
/**
* <code>string app = 5;</code>
* @return The bytes for app.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getAppBytes() {
return com.google.protobuf.ByteString.copyFromUtf8(app_);
}
/**
* <code>string app = 5;</code>
* @param value The app to set.
*/
private void setApp(
java.lang.String value) {
java.lang.Class<?> valueClass = value.getClass();
app_ = value;
}
/**
* <code>string app = 5;</code>
*/
private void clearApp() {
app_ = getDefaultInstance().getApp();
}
/**
* <code>string app = 5;</code>
* @param value The bytes for app to set.
*/
private void setAppBytes(
com.google.protobuf.ByteString value) {
checkByteStringIsUtf8(value);
app_ = value.toStringUtf8();
}
public static final int MSP_SDK_VERSION_FIELD_NUMBER = 6;
private java.lang.String mspSdkVersion_;
/**
* <code>optional string msp_sdk_version = 6;</code>
* @return Whether the mspSdkVersion field is set.
*/
@java.lang.Override
public boolean hasMspSdkVersion() {
return ((bitField0_ & 0x00000001) != 0);
}
/**
* <code>optional string msp_sdk_version = 6;</code>
* @return The mspSdkVersion.
*/
@java.lang.Override
public java.lang.String getMspSdkVersion() {
return mspSdkVersion_;
}
/**
* <code>optional string msp_sdk_version = 6;</code>
* @return The bytes for mspSdkVersion.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getMspSdkVersionBytes() {
return com.google.protobuf.ByteString.copyFromUtf8(mspSdkVersion_);
}
/**
* <code>optional string msp_sdk_version = 6;</code>
* @param value The mspSdkVersion to set.
*/
private void setMspSdkVersion(
java.lang.String value) {
java.lang.Class<?> valueClass = value.getClass();
bitField0_ |= 0x00000001;
mspSdkVersion_ = value;
}
/**
* <code>optional string msp_sdk_version = 6;</code>
*/
private void clearMspSdkVersion() {
bitField0_ = (bitField0_ & ~0x00000001);
mspSdkVersion_ = getDefaultInstance().getMspSdkVersion();
}
/**
* <code>optional string msp_sdk_version = 6;</code>
* @param value The bytes for mspSdkVersion to set.
*/
private void setMspSdkVersionBytes(
com.google.protobuf.ByteString value) {
checkByteStringIsUtf8(value);
mspSdkVersion_ = value.toStringUtf8();
bitField0_ |= 0x00000001;
}
public static final int LATENCY_FIELD_NUMBER = 7;
private int latency_;
/**
* <code>optional int32 latency = 7;</code>
* @return Whether the latency field is set.
*/
@java.lang.Override
public boolean hasLatency() {
return ((bitField0_ & 0x00000002) != 0);
}
/**
* <code>optional int32 latency = 7;</code>
* @return The latency.
*/
@java.lang.Override
public int getLatency() {
return latency_;
}
/**
* <code>optional int32 latency = 7;</code>
* @param value The latency to set.
*/
private void setLatency(int value) {
bitField0_ |= 0x00000002;
latency_ = value;
}
/**
* <code>optional int32 latency = 7;</code>
*/
private void clearLatency() {
bitField0_ = (bitField0_ & ~0x00000002);
latency_ = 0;
}
public static final int TOTAL_COMPLETE_TIME_FIELD_NUMBER = 8;
private int totalCompleteTime_;
/**
* <code>optional int32 total_complete_time = 8;</code>
* @return Whether the totalCompleteTime field is set.
*/
@java.lang.Override
public boolean hasTotalCompleteTime() {
return ((bitField0_ & 0x00000004) != 0);
}
/**
* <code>optional int32 total_complete_time = 8;</code>
* @return The totalCompleteTime.
*/
@java.lang.Override
public int getTotalCompleteTime() {
return totalCompleteTime_;
}
/**
* <code>optional int32 total_complete_time = 8;</code>
* @param value The totalCompleteTime to set.
*/
private void setTotalCompleteTime(int value) {
bitField0_ |= 0x00000004;
totalCompleteTime_ = value;
}
/**
* <code>optional int32 total_complete_time = 8;</code>
*/
private void clearTotalCompleteTime() {
bitField0_ = (bitField0_ & ~0x00000004);
totalCompleteTime_ = 0;
}
public static final int COMPLETE_TIME_BY_AD_NETWORK_FIELD_NUMBER = 9;
private static final class CompleteTimeByAdNetworkDefaultEntryHolder {
static final com.google.protobuf.MapEntryLite<
java.lang.String, java.lang.Integer> defaultEntry =
com.google.protobuf.MapEntryLite
.<java.lang.String, java.lang.Integer>newDefaultInstance(
com.google.protobuf.WireFormat.FieldType.STRING,
"",
com.google.protobuf.WireFormat.FieldType.INT32,
0);
}
private com.google.protobuf.MapFieldLite<
java.lang.String, java.lang.Integer> completeTimeByAdNetwork_ =
com.google.protobuf.MapFieldLite.emptyMapField();
private com.google.protobuf.MapFieldLite<java.lang.String, java.lang.Integer>
internalGetCompleteTimeByAdNetwork() {
return completeTimeByAdNetwork_;
}
private com.google.protobuf.MapFieldLite<java.lang.String, java.lang.Integer>
internalGetMutableCompleteTimeByAdNetwork() {
if (!completeTimeByAdNetwork_.isMutable()) {
completeTimeByAdNetwork_ = completeTimeByAdNetwork_.mutableCopy();
}
return completeTimeByAdNetwork_;
}
@java.lang.Override
public int getCompleteTimeByAdNetworkCount() {
return internalGetCompleteTimeByAdNetwork().size();
}
/**
* <code>map<string, int32> complete_time_by_ad_network = 9;</code>
*/
@java.lang.Override
public boolean containsCompleteTimeByAdNetwork(
java.lang.String key) {
java.lang.Class<?> keyClass = key.getClass();
return internalGetCompleteTimeByAdNetwork().containsKey(key);
}
/**
* Use {@link #getCompleteTimeByAdNetworkMap()} instead.
*/
@java.lang.Override
@java.lang.Deprecated
public java.util.Map<java.lang.String, java.lang.Integer> getCompleteTimeByAdNetwork() {
return getCompleteTimeByAdNetworkMap();
}
/**
* <code>map<string, int32> complete_time_by_ad_network = 9;</code>
*/
@java.lang.Override
public java.util.Map<java.lang.String, java.lang.Integer> getCompleteTimeByAdNetworkMap() {
return java.util.Collections.unmodifiableMap(
internalGetCompleteTimeByAdNetwork());
}
/**
* <code>map<string, int32> complete_time_by_ad_network = 9;</code>
*/
@java.lang.Override
public int getCompleteTimeByAdNetworkOrDefault(
java.lang.String key,
int defaultValue) {
java.lang.Class<?> keyClass = key.getClass();
java.util.Map<java.lang.String, java.lang.Integer> map =
internalGetCompleteTimeByAdNetwork();
return map.containsKey(key) ? map.get(key) : defaultValue;
}
/**
* <code>map<string, int32> complete_time_by_ad_network = 9;</code>
*/
@java.lang.Override
public int getCompleteTimeByAdNetworkOrThrow(
java.lang.String key) {
java.lang.Class<?> keyClass = key.getClass();
java.util.Map<java.lang.String, java.lang.Integer> map =
internalGetCompleteTimeByAdNetwork();
if (!map.containsKey(key)) {
throw new java.lang.IllegalArgumentException();
}
return map.get(key);
}
/**
* <code>map<string, int32> complete_time_by_ad_network = 9;</code>
*/
private java.util.Map<java.lang.String, java.lang.Integer>
getMutableCompleteTimeByAdNetworkMap() {
return internalGetMutableCompleteTimeByAdNetwork();
}
public static final int MSP_ID_FIELD_NUMBER = 10;
private java.lang.String mspId_;
/**
* <code>string msp_id = 10;</code>
* @return The mspId.
*/
@java.lang.Override
public java.lang.String getMspId() {
return mspId_;
}
/**
* <code>string msp_id = 10;</code>
* @return The bytes for mspId.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getMspIdBytes() {
return com.google.protobuf.ByteString.copyFromUtf8(mspId_);
}
/**
* <code>string msp_id = 10;</code>
* @param value The mspId to set.
*/
private void setMspId(
java.lang.String value) {
java.lang.Class<?> valueClass = value.getClass();
mspId_ = value;
}
/**
* <code>string msp_id = 10;</code>
*/
private void clearMspId() {
mspId_ = getDefaultInstance().getMspId();
}
/**
* <code>string msp_id = 10;</code>
* @param value The bytes for mspId to set.
*/
private void setMspIdBytes(
com.google.protobuf.ByteString value) {
checkByteStringIsUtf8(value);
mspId_ = value.toStringUtf8();
}
public static final int IFA_FIELD_NUMBER = 13;
private java.lang.String ifa_;
/**
* <pre>
* 11 and 12 are reserved for some deprecated fields
* DO NOT USE THEM ANYMORE
* </pre>
*
* <code>string ifa = 13;</code>
* @return The ifa.
*/
@java.lang.Override
public java.lang.String getIfa() {
return ifa_;
}
/**
* <pre>
* 11 and 12 are reserved for some deprecated fields
* DO NOT USE THEM ANYMORE
* </pre>
*
* <code>string ifa = 13;</code>
* @return The bytes for ifa.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getIfaBytes() {
return com.google.protobuf.ByteString.copyFromUtf8(ifa_);
}
/**
* <pre>
* 11 and 12 are reserved for some deprecated fields
* DO NOT USE THEM ANYMORE
* </pre>
*
* <code>string ifa = 13;</code>
* @param value The ifa to set.
*/
private void setIfa(
java.lang.String value) {
java.lang.Class<?> valueClass = value.getClass();
ifa_ = value;
}
/**
* <pre>
* 11 and 12 are reserved for some deprecated fields
* DO NOT USE THEM ANYMORE
* </pre>
*
* <code>string ifa = 13;</code>
*/
private void clearIfa() {
ifa_ = getDefaultInstance().getIfa();
}
/**
* <pre>
* 11 and 12 are reserved for some deprecated fields
* DO NOT USE THEM ANYMORE
* </pre>
*
* <code>string ifa = 13;</code>
* @param value The bytes for ifa to set.
*/
private void setIfaBytes(
com.google.protobuf.ByteString value) {
checkByteStringIsUtf8(value);
ifa_ = value.toStringUtf8();
}
public static final int BATTERY_LEVEL_FIELD_NUMBER = 14;
private float batteryLevel_;
/**
* <code>float battery_level = 14;</code>
* @return The batteryLevel.
*/
@java.lang.Override
public float getBatteryLevel() {
return batteryLevel_;
}
/**
* <code>float battery_level = 14;</code>
* @param value The batteryLevel to set.
*/
private void setBatteryLevel(float value) {
batteryLevel_ = value;
}
/**
* <code>float battery_level = 14;</code>
*/
private void clearBatteryLevel() {
batteryLevel_ = 0F;
}
public static final int BATTERY_STATUS_FIELD_NUMBER = 15;
private java.lang.String batteryStatus_;
/**
* <code>string battery_status = 15;</code>
* @return The batteryStatus.
*/
@java.lang.Override
public java.lang.String getBatteryStatus() {
return batteryStatus_;
}
/**
* <code>string battery_status = 15;</code>
* @return The bytes for batteryStatus.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getBatteryStatusBytes() {
return com.google.protobuf.ByteString.copyFromUtf8(batteryStatus_);
}
/**
* <code>string battery_status = 15;</code>
* @param value The batteryStatus to set.
*/
private void setBatteryStatus(
java.lang.String value) {
java.lang.Class<?> valueClass = value.getClass();
batteryStatus_ = value;
}
/**
* <code>string battery_status = 15;</code>
*/
private void clearBatteryStatus() {
batteryStatus_ = getDefaultInstance().getBatteryStatus();
}
/**
* <code>string battery_status = 15;</code>
* @param value The bytes for batteryStatus to set.
*/
private void setBatteryStatusBytes(
com.google.protobuf.ByteString value) {
checkByteStringIsUtf8(value);
batteryStatus_ = value.toStringUtf8();
}
public static final int FONT_SIZE_FIELD_NUMBER = 16;
private java.lang.String fontSize_;
/**
* <code>string font_size = 16;</code>
* @return The fontSize.
*/
@java.lang.Override
public java.lang.String getFontSize() {
return fontSize_;
}
/**
* <code>string font_size = 16;</code>
* @return The bytes for fontSize.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getFontSizeBytes() {
return com.google.protobuf.ByteString.copyFromUtf8(fontSize_);
}
/**
* <code>string font_size = 16;</code>
* @param value The fontSize to set.
*/
private void setFontSize(
java.lang.String value) {
java.lang.Class<?> valueClass = value.getClass();
fontSize_ = value;
}
/**
* <code>string font_size = 16;</code>
*/
private void clearFontSize() {
fontSize_ = getDefaultInstance().getFontSize();
}
/**
* <code>string font_size = 16;</code>
* @param value The bytes for fontSize to set.
*/
private void setFontSizeBytes(
com.google.protobuf.ByteString value) {
checkByteStringIsUtf8(value);
fontSize_ = value.toStringUtf8();
}
public static final int TIMEZONE_FIELD_NUMBER = 17;
private java.lang.String timezone_;
/**
* <code>string timezone = 17;</code>
* @return The timezone.
*/
@java.lang.Override
public java.lang.String getTimezone() {
return timezone_;
}
/**
* <code>string timezone = 17;</code>
* @return The bytes for timezone.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getTimezoneBytes() {
return com.google.protobuf.ByteString.copyFromUtf8(timezone_);
}
/**
* <code>string timezone = 17;</code>
* @param value The timezone to set.
*/
private void setTimezone(
java.lang.String value) {
java.lang.Class<?> valueClass = value.getClass();
timezone_ = value;
}
/**
* <code>string timezone = 17;</code>
*/
private void clearTimezone() {
timezone_ = getDefaultInstance().getTimezone();
}
/**
* <code>string timezone = 17;</code>
* @param value The bytes for timezone to set.
*/
private void setTimezoneBytes(
com.google.protobuf.ByteString value) {
checkByteStringIsUtf8(value);
timezone_ = value.toStringUtf8();
}
public static final int AVAILABLE_MEMORY_BYTES_FIELD_NUMBER = 18;
private long availableMemoryBytes_;
/**
* <code>uint64 available_memory_bytes = 18;</code>
* @return The availableMemoryBytes.
*/
@java.lang.Override
public long getAvailableMemoryBytes() {
return availableMemoryBytes_;
}
/**
* <code>uint64 available_memory_bytes = 18;</code>
* @param value The availableMemoryBytes to set.
*/
private void setAvailableMemoryBytes(long value) {
availableMemoryBytes_ = value;
}
/**
* <code>uint64 available_memory_bytes = 18;</code>
*/
private void clearAvailableMemoryBytes() {
availableMemoryBytes_ = 0L;
}
public static final int IS_LOW_POWER_MODE_FIELD_NUMBER = 19;
private boolean isLowPowerMode_;
/**
* <code>bool is_low_power_mode = 19;</code>
* @return The isLowPowerMode.
*/
@java.lang.Override
public boolean getIsLowPowerMode() {
return isLowPowerMode_;
}
/**
* <code>bool is_low_power_mode = 19;</code>
* @param value The isLowPowerMode to set.
*/
private void setIsLowPowerMode(boolean value) {
isLowPowerMode_ = value;
}
/**
* <code>bool is_low_power_mode = 19;</code>
*/
private void clearIsLowPowerMode() {
isLowPowerMode_ = false;
}
public static final int IS_LOW_DATA_MODE_FIELD_NUMBER = 20;
private boolean isLowDataMode_;
/**
* <code>bool is_low_data_mode = 20;</code>
* @return The isLowDataMode.
*/
@java.lang.Override
public boolean getIsLowDataMode() {
return isLowDataMode_;
}
/**
* <code>bool is_low_data_mode = 20;</code>
* @param value The isLowDataMode to set.
*/
private void setIsLowDataMode(boolean value) {
isLowDataMode_ = value;
}
/**
* <code>bool is_low_data_mode = 20;</code>
*/
private void clearIsLowDataMode() {
isLowDataMode_ = false;
}
public static com.particles.mes.protos.SdkInitEvent parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, data);
}
public static com.particles.mes.protos.SdkInitEvent parseFrom(
java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, data, extensionRegistry);
}
public static com.particles.mes.protos.SdkInitEvent parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, data);
}
public static com.particles.mes.protos.SdkInitEvent parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, data, extensionRegistry);
}
public static com.particles.mes.protos.SdkInitEvent parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, data);
}
public static com.particles.mes.protos.SdkInitEvent parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, data, extensionRegistry);
}
public static com.particles.mes.protos.SdkInitEvent parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, input);
}
public static com.particles.mes.protos.SdkInitEvent parseFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, input, extensionRegistry);
}
public static com.particles.mes.protos.SdkInitEvent parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return parseDelimitedFrom(DEFAULT_INSTANCE, input);
}
public static com.particles.mes.protos.SdkInitEvent parseDelimitedFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return parseDelimitedFrom(DEFAULT_INSTANCE, input, extensionRegistry);
}
public static com.particles.mes.protos.SdkInitEvent parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, input);
}
public static com.particles.mes.protos.SdkInitEvent parseFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, input, extensionRegistry);
}
public static Builder newBuilder() {
return (Builder) DEFAULT_INSTANCE.createBuilder();
}
public static Builder newBuilder(com.particles.mes.protos.SdkInitEvent prototype) {
return (Builder) DEFAULT_INSTANCE.createBuilder(prototype);
}
/**
* <pre>
* sent when app starts up
* </pre>
*
* Protobuf type {@code com.newsbreak.mes.events.SdkInitEvent}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageLite.Builder<
com.particles.mes.protos.SdkInitEvent, Builder> implements
// @@protoc_insertion_point(builder_implements:com.newsbreak.mes.events.SdkInitEvent)
com.particles.mes.protos.SdkInitEventOrBuilder {
// Construct using com.particles.mes.protos.SdkInitEvent.newBuilder()
private Builder() {
super(DEFAULT_INSTANCE);
}
/**
* <code>uint64 client_ts_ms = 1;</code>
* @return The clientTsMs.
*/
@java.lang.Override
public long getClientTsMs() {
return instance.getClientTsMs();
}
/**
* <code>uint64 client_ts_ms = 1;</code>
* @param value The clientTsMs to set.
* @return This builder for chaining.
*/
public Builder setClientTsMs(long value) {
copyOnWrite();
instance.setClientTsMs(value);
return this;
}
/**
* <code>uint64 client_ts_ms = 1;</code>
* @return This builder for chaining.
*/
public Builder clearClientTsMs() {
copyOnWrite();
instance.clearClientTsMs();
return this;
}
/**
* <code>uint64 server_ts_ms = 2;</code>
* @return The serverTsMs.
*/
@java.lang.Override
public long getServerTsMs() {
return instance.getServerTsMs();
}
/**
* <code>uint64 server_ts_ms = 2;</code>
* @param value The serverTsMs to set.
* @return This builder for chaining.
*/
public Builder setServerTsMs(long value) {
copyOnWrite();
instance.setServerTsMs(value);
return this;
}
/**
* <code>uint64 server_ts_ms = 2;</code>
* @return This builder for chaining.
*/
public Builder clearServerTsMs() {
copyOnWrite();
instance.clearServerTsMs();
return this;
}
/**
* <code>.com.newsbreak.monetization.common.OsType os = 3;</code>
* @return The enum numeric value on the wire for os.
*/
@java.lang.Override
public int getOsValue() {
return instance.getOsValue();
}
/**
* <code>.com.newsbreak.monetization.common.OsType os = 3;</code>
* @param value The os to set.
* @return This builder for chaining.
*/
public Builder setOsValue(int value) {
copyOnWrite();
instance.setOsValue(value);
return this;
}
/**
* <code>.com.newsbreak.monetization.common.OsType os = 3;</code>
* @return The os.
*/
@java.lang.Override
public com.particles.mes.protos.OsType getOs() {
return instance.getOs();
}
/**
* <code>.com.newsbreak.monetization.common.OsType os = 3;</code>
* @param value The enum numeric value on the wire for os to set.
* @return This builder for chaining.
*/
public Builder setOs(com.particles.mes.protos.OsType value) {
copyOnWrite();
instance.setOs(value);
return this;
}
/**
* <code>.com.newsbreak.monetization.common.OsType os = 3;</code>
* @return This builder for chaining.
*/
public Builder clearOs() {
copyOnWrite();
instance.clearOs();
return this;
}
/**
* <code>string org = 4;</code>
* @return The org.
*/
@java.lang.Override
public java.lang.String getOrg() {
return instance.getOrg();
}
/**
* <code>string org = 4;</code>
* @return The bytes for org.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getOrgBytes() {
return instance.getOrgBytes();
}
/**
* <code>string org = 4;</code>
* @param value The org to set.
* @return This builder for chaining.
*/
public Builder setOrg(
java.lang.String value) {
copyOnWrite();
instance.setOrg(value);
return this;
}
/**
* <code>string org = 4;</code>
* @return This builder for chaining.
*/
public Builder clearOrg() {
copyOnWrite();
instance.clearOrg();
return this;
}
/**
* <code>string org = 4;</code>
* @param value The bytes for org to set.
* @return This builder for chaining.
*/
public Builder setOrgBytes(
com.google.protobuf.ByteString value) {
copyOnWrite();
instance.setOrgBytes(value);
return this;
}
/**
* <code>string app = 5;</code>
* @return The app.
*/
@java.lang.Override
public java.lang.String getApp() {
return instance.getApp();
}
/**
* <code>string app = 5;</code>
* @return The bytes for app.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getAppBytes() {
return instance.getAppBytes();
}
/**
* <code>string app = 5;</code>
* @param value The app to set.
* @return This builder for chaining.
*/
public Builder setApp(
java.lang.String value) {
copyOnWrite();
instance.setApp(value);
return this;
}
/**
* <code>string app = 5;</code>
* @return This builder for chaining.
*/
public Builder clearApp() {
copyOnWrite();
instance.clearApp();
return this;
}
/**
* <code>string app = 5;</code>
* @param value The bytes for app to set.
* @return This builder for chaining.
*/
public Builder setAppBytes(
com.google.protobuf.ByteString value) {
copyOnWrite();
instance.setAppBytes(value);
return this;
}
/**
* <code>optional string msp_sdk_version = 6;</code>
* @return Whether the mspSdkVersion field is set.
*/
@java.lang.Override
public boolean hasMspSdkVersion() {
return instance.hasMspSdkVersion();
}
/**
* <code>optional string msp_sdk_version = 6;</code>
* @return The mspSdkVersion.
*/
@java.lang.Override
public java.lang.String getMspSdkVersion() {
return instance.getMspSdkVersion();
}
/**
* <code>optional string msp_sdk_version = 6;</code>
* @return The bytes for mspSdkVersion.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getMspSdkVersionBytes() {
return instance.getMspSdkVersionBytes();
}
/**
* <code>optional string msp_sdk_version = 6;</code>
* @param value The mspSdkVersion to set.
* @return This builder for chaining.
*/
public Builder setMspSdkVersion(
java.lang.String value) {
copyOnWrite();
instance.setMspSdkVersion(value);
return this;
}
/**
* <code>optional string msp_sdk_version = 6;</code>
* @return This builder for chaining.
*/
public Builder clearMspSdkVersion() {
copyOnWrite();
instance.clearMspSdkVersion();
return this;
}
/**
* <code>optional string msp_sdk_version = 6;</code>
* @param value The bytes for mspSdkVersion to set.
* @return This builder for chaining.
*/
public Builder setMspSdkVersionBytes(
com.google.protobuf.ByteString value) {
copyOnWrite();
instance.setMspSdkVersionBytes(value);
return this;
}
/**
* <code>optional int32 latency = 7;</code>
* @return Whether the latency field is set.
*/
@java.lang.Override
public boolean hasLatency() {
return instance.hasLatency();
}
/**
* <code>optional int32 latency = 7;</code>
* @return The latency.
*/
@java.lang.Override
public int getLatency() {
return instance.getLatency();
}
/**
* <code>optional int32 latency = 7;</code>
* @param value The latency to set.
* @return This builder for chaining.
*/
public Builder setLatency(int value) {
copyOnWrite();
instance.setLatency(value);
return this;
}
/**
* <code>optional int32 latency = 7;</code>
* @return This builder for chaining.
*/
public Builder clearLatency() {
copyOnWrite();
instance.clearLatency();
return this;
}
/**
* <code>optional int32 total_complete_time = 8;</code>
* @return Whether the totalCompleteTime field is set.
*/
@java.lang.Override
public boolean hasTotalCompleteTime() {
return instance.hasTotalCompleteTime();
}
/**
* <code>optional int32 total_complete_time = 8;</code>
* @return The totalCompleteTime.
*/
@java.lang.Override
public int getTotalCompleteTime() {
return instance.getTotalCompleteTime();
}
/**
* <code>optional int32 total_complete_time = 8;</code>
* @param value The totalCompleteTime to set.
* @return This builder for chaining.
*/
public Builder setTotalCompleteTime(int value) {
copyOnWrite();
instance.setTotalCompleteTime(value);
return this;
}
/**
* <code>optional int32 total_complete_time = 8;</code>
* @return This builder for chaining.
*/
public Builder clearTotalCompleteTime() {
copyOnWrite();
instance.clearTotalCompleteTime();
return this;
}
@java.lang.Override
public int getCompleteTimeByAdNetworkCount() {
return instance.getCompleteTimeByAdNetworkMap().size();
}
/**
* <code>map<string, int32> complete_time_by_ad_network = 9;</code>
*/
@java.lang.Override
public boolean containsCompleteTimeByAdNetwork(
java.lang.String key) {
java.lang.Class<?> keyClass = key.getClass();
return instance.getCompleteTimeByAdNetworkMap().containsKey(key);
}
public Builder clearCompleteTimeByAdNetwork() {
copyOnWrite();
instance.getMutableCompleteTimeByAdNetworkMap().clear();
return this;
}
/**
* <code>map<string, int32> complete_time_by_ad_network = 9;</code>
*/
public Builder removeCompleteTimeByAdNetwork(
java.lang.String key) {
java.lang.Class<?> keyClass = key.getClass();
copyOnWrite();
instance.getMutableCompleteTimeByAdNetworkMap().remove(key);
return this;
}
/**
* Use {@link #getCompleteTimeByAdNetworkMap()} instead.
*/
@java.lang.Override
@java.lang.Deprecated
public java.util.Map<java.lang.String, java.lang.Integer> getCompleteTimeByAdNetwork() {
return getCompleteTimeByAdNetworkMap();
}
/**
* <code>map<string, int32> complete_time_by_ad_network = 9;</code>
*/
@java.lang.Override
public java.util.Map<java.lang.String, java.lang.Integer> getCompleteTimeByAdNetworkMap() {
return java.util.Collections.unmodifiableMap(
instance.getCompleteTimeByAdNetworkMap());
}
/**
* <code>map<string, int32> complete_time_by_ad_network = 9;</code>
*/
@java.lang.Override
public int getCompleteTimeByAdNetworkOrDefault(
java.lang.String key,
int defaultValue) {
java.lang.Class<?> keyClass = key.getClass();
java.util.Map<java.lang.String, java.lang.Integer> map =
instance.getCompleteTimeByAdNetworkMap();
return map.containsKey(key) ? map.get(key) : defaultValue;
}
/**
* <code>map<string, int32> complete_time_by_ad_network = 9;</code>
*/
@java.lang.Override
public int getCompleteTimeByAdNetworkOrThrow(
java.lang.String key) {
java.lang.Class<?> keyClass = key.getClass();
java.util.Map<java.lang.String, java.lang.Integer> map =
instance.getCompleteTimeByAdNetworkMap();
if (!map.containsKey(key)) {
throw new java.lang.IllegalArgumentException();
}
return map.get(key);
}
/**
* <code>map<string, int32> complete_time_by_ad_network = 9;</code>
*/
public Builder putCompleteTimeByAdNetwork(
java.lang.String key,
int value) {
java.lang.Class<?> keyClass = key.getClass();
copyOnWrite();
instance.getMutableCompleteTimeByAdNetworkMap().put(key, value);
return this;
}
/**
* <code>map<string, int32> complete_time_by_ad_network = 9;</code>
*/
public Builder putAllCompleteTimeByAdNetwork(
java.util.Map<java.lang.String, java.lang.Integer> values) {
copyOnWrite();
instance.getMutableCompleteTimeByAdNetworkMap().putAll(values);
return this;
}
/**
* <code>string msp_id = 10;</code>
* @return The mspId.
*/
@java.lang.Override
public java.lang.String getMspId() {
return instance.getMspId();
}
/**
* <code>string msp_id = 10;</code>
* @return The bytes for mspId.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getMspIdBytes() {
return instance.getMspIdBytes();
}
/**
* <code>string msp_id = 10;</code>
* @param value The mspId to set.
* @return This builder for chaining.
*/
public Builder setMspId(
java.lang.String value) {
copyOnWrite();
instance.setMspId(value);
return this;
}
/**
* <code>string msp_id = 10;</code>
* @return This builder for chaining.
*/
public Builder clearMspId() {
copyOnWrite();
instance.clearMspId();
return this;
}
/**
* <code>string msp_id = 10;</code>
* @param value The bytes for mspId to set.
* @return This builder for chaining.
*/
public Builder setMspIdBytes(
com.google.protobuf.ByteString value) {
copyOnWrite();
instance.setMspIdBytes(value);
return this;
}
/**
* <pre>
* 11 and 12 are reserved for some deprecated fields
* DO NOT USE THEM ANYMORE
* </pre>
*
* <code>string ifa = 13;</code>
* @return The ifa.
*/
@java.lang.Override
public java.lang.String getIfa() {
return instance.getIfa();
}
/**
* <pre>
* 11 and 12 are reserved for some deprecated fields
* DO NOT USE THEM ANYMORE
* </pre>
*
* <code>string ifa = 13;</code>
* @return The bytes for ifa.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getIfaBytes() {
return instance.getIfaBytes();
}
/**
* <pre>
* 11 and 12 are reserved for some deprecated fields
* DO NOT USE THEM ANYMORE
* </pre>
*
* <code>string ifa = 13;</code>
* @param value The ifa to set.
* @return This builder for chaining.
*/
public Builder setIfa(
java.lang.String value) {
copyOnWrite();
instance.setIfa(value);
return this;
}
/**
* <pre>
* 11 and 12 are reserved for some deprecated fields
* DO NOT USE THEM ANYMORE
* </pre>
*
* <code>string ifa = 13;</code>
* @return This builder for chaining.
*/
public Builder clearIfa() {
copyOnWrite();
instance.clearIfa();
return this;
}
/**
* <pre>
* 11 and 12 are reserved for some deprecated fields
* DO NOT USE THEM ANYMORE
* </pre>
*
* <code>string ifa = 13;</code>
* @param value The bytes for ifa to set.
* @return This builder for chaining.
*/
public Builder setIfaBytes(
com.google.protobuf.ByteString value) {
copyOnWrite();
instance.setIfaBytes(value);
return this;
}
/**
* <code>float battery_level = 14;</code>
* @return The batteryLevel.
*/
@java.lang.Override
public float getBatteryLevel() {
return instance.getBatteryLevel();
}
/**
* <code>float battery_level = 14;</code>
* @param value The batteryLevel to set.
* @return This builder for chaining.
*/
public Builder setBatteryLevel(float value) {
copyOnWrite();
instance.setBatteryLevel(value);
return this;
}
/**
* <code>float battery_level = 14;</code>
* @return This builder for chaining.
*/
public Builder clearBatteryLevel() {
copyOnWrite();
instance.clearBatteryLevel();
return this;
}
/**
* <code>string battery_status = 15;</code>
* @return The batteryStatus.
*/
@java.lang.Override
public java.lang.String getBatteryStatus() {
return instance.getBatteryStatus();
}
/**
* <code>string battery_status = 15;</code>
* @return The bytes for batteryStatus.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getBatteryStatusBytes() {
return instance.getBatteryStatusBytes();
}
/**
* <code>string battery_status = 15;</code>
* @param value The batteryStatus to set.
* @return This builder for chaining.
*/
public Builder setBatteryStatus(
java.lang.String value) {
copyOnWrite();
instance.setBatteryStatus(value);
return this;
}
/**
* <code>string battery_status = 15;</code>
* @return This builder for chaining.
*/
public Builder clearBatteryStatus() {
copyOnWrite();
instance.clearBatteryStatus();
return this;
}
/**
* <code>string battery_status = 15;</code>
* @param value The bytes for batteryStatus to set.
* @return This builder for chaining.
*/
public Builder setBatteryStatusBytes(
com.google.protobuf.ByteString value) {
copyOnWrite();
instance.setBatteryStatusBytes(value);
return this;
}
/**
* <code>string font_size = 16;</code>
* @return The fontSize.
*/
@java.lang.Override
public java.lang.String getFontSize() {
return instance.getFontSize();
}
/**
* <code>string font_size = 16;</code>
* @return The bytes for fontSize.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getFontSizeBytes() {
return instance.getFontSizeBytes();
}
/**
* <code>string font_size = 16;</code>
* @param value The fontSize to set.
* @return This builder for chaining.
*/
public Builder setFontSize(
java.lang.String value) {
copyOnWrite();
instance.setFontSize(value);
return this;
}
/**
* <code>string font_size = 16;</code>
* @return This builder for chaining.
*/
public Builder clearFontSize() {
copyOnWrite();
instance.clearFontSize();
return this;
}
/**
* <code>string font_size = 16;</code>
* @param value The bytes for fontSize to set.
* @return This builder for chaining.
*/
public Builder setFontSizeBytes(
com.google.protobuf.ByteString value) {
copyOnWrite();
instance.setFontSizeBytes(value);
return this;
}
/**
* <code>string timezone = 17;</code>
* @return The timezone.
*/
@java.lang.Override
public java.lang.String getTimezone() {
return instance.getTimezone();
}
/**
* <code>string timezone = 17;</code>
* @return The bytes for timezone.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getTimezoneBytes() {
return instance.getTimezoneBytes();
}
/**
* <code>string timezone = 17;</code>
* @param value The timezone to set.
* @return This builder for chaining.
*/
public Builder setTimezone(
java.lang.String value) {
copyOnWrite();
instance.setTimezone(value);
return this;
}
/**
* <code>string timezone = 17;</code>
* @return This builder for chaining.
*/
public Builder clearTimezone() {
copyOnWrite();
instance.clearTimezone();
return this;
}
/**
* <code>string timezone = 17;</code>
* @param value The bytes for timezone to set.
* @return This builder for chaining.
*/
public Builder setTimezoneBytes(
com.google.protobuf.ByteString value) {
copyOnWrite();
instance.setTimezoneBytes(value);
return this;
}
/**
* <code>uint64 available_memory_bytes = 18;</code>
* @return The availableMemoryBytes.
*/
@java.lang.Override
public long getAvailableMemoryBytes() {
return instance.getAvailableMemoryBytes();
}
/**
* <code>uint64 available_memory_bytes = 18;</code>
* @param value The availableMemoryBytes to set.
* @return This builder for chaining.
*/
public Builder setAvailableMemoryBytes(long value) {
copyOnWrite();
instance.setAvailableMemoryBytes(value);
return this;
}
/**
* <code>uint64 available_memory_bytes = 18;</code>
* @return This builder for chaining.
*/
public Builder clearAvailableMemoryBytes() {
copyOnWrite();
instance.clearAvailableMemoryBytes();
return this;
}
/**
* <code>bool is_low_power_mode = 19;</code>
* @return The isLowPowerMode.
*/
@java.lang.Override
public boolean getIsLowPowerMode() {
return instance.getIsLowPowerMode();
}
/**
* <code>bool is_low_power_mode = 19;</code>
* @param value The isLowPowerMode to set.
* @return This builder for chaining.
*/
public Builder setIsLowPowerMode(boolean value) {
copyOnWrite();
instance.setIsLowPowerMode(value);
return this;
}
/**
* <code>bool is_low_power_mode = 19;</code>
* @return This builder for chaining.
*/
public Builder clearIsLowPowerMode() {
copyOnWrite();
instance.clearIsLowPowerMode();
return this;
}
/**
* <code>bool is_low_data_mode = 20;</code>
* @return The isLowDataMode.
*/
@java.lang.Override
public boolean getIsLowDataMode() {
return instance.getIsLowDataMode();
}
/**
* <code>bool is_low_data_mode = 20;</code>
* @param value The isLowDataMode to set.
* @return This builder for chaining.
*/
public Builder setIsLowDataMode(boolean value) {
copyOnWrite();
instance.setIsLowDataMode(value);
return this;
}
/**
* <code>bool is_low_data_mode = 20;</code>
* @return This builder for chaining.
*/
public Builder clearIsLowDataMode() {
copyOnWrite();
instance.clearIsLowDataMode();
return this;
}
// @@protoc_insertion_point(builder_scope:com.newsbreak.mes.events.SdkInitEvent)
}
@java.lang.Override
@java.lang.SuppressWarnings({"unchecked", "fallthrough"})
protected final java.lang.Object dynamicMethod(
com.google.protobuf.GeneratedMessageLite.MethodToInvoke method,
java.lang.Object arg0, java.lang.Object arg1) {
switch (method) {
case NEW_MUTABLE_INSTANCE: {
return new com.particles.mes.protos.SdkInitEvent();
}
case NEW_BUILDER: {
return new Builder();
}
case BUILD_MESSAGE_INFO: {
java.lang.Object[] objects = new java.lang.Object[] {
"bitField0_",
"clientTsMs_",
"serverTsMs_",
"os_",
"org_",
"app_",
"mspSdkVersion_",
"latency_",
"totalCompleteTime_",
"completeTimeByAdNetwork_",
CompleteTimeByAdNetworkDefaultEntryHolder.defaultEntry,
"mspId_",
"ifa_",
"batteryLevel_",
"batteryStatus_",
"fontSize_",
"timezone_",
"availableMemoryBytes_",
"isLowPowerMode_",
"isLowDataMode_",
};
java.lang.String info =
"\u0000\u0012\u0000\u0001\u0001\u0014\u0012\u0001\u0000\u0000\u0001\u0003\u0002\u0003" +
"\u0003\f\u0004\u0208\u0005\u0208\u0006\u1208\u0000\u0007\u1004\u0001\b\u1004\u0002" +
"\t2\n\u0208\r\u0208\u000e\u0001\u000f\u0208\u0010\u0208\u0011\u0208\u0012\u0003\u0013" +
"\u0007\u0014\u0007";
return newMessageInfo(DEFAULT_INSTANCE, info, objects);
}
// fall through
case GET_DEFAULT_INSTANCE: {
return DEFAULT_INSTANCE;
}
case GET_PARSER: {
com.google.protobuf.Parser<com.particles.mes.protos.SdkInitEvent> parser = PARSER;
if (parser == null) {
synchronized (com.particles.mes.protos.SdkInitEvent.class) {
parser = PARSER;
if (parser == null) {
parser =
new DefaultInstanceBasedParser<com.particles.mes.protos.SdkInitEvent>(
DEFAULT_INSTANCE);
PARSER = parser;
}
}
}
return parser;
}
case GET_MEMOIZED_IS_INITIALIZED: {
return (byte) 1;
}
case SET_MEMOIZED_IS_INITIALIZED: {
return null;
}
}
throw new UnsupportedOperationException();
}
// @@protoc_insertion_point(class_scope:com.newsbreak.mes.events.SdkInitEvent)
private static final com.particles.mes.protos.SdkInitEvent DEFAULT_INSTANCE;
static {
SdkInitEvent defaultInstance = new SdkInitEvent();
// New instances are implicitly immutable so no need to make
// immutable.
DEFAULT_INSTANCE = defaultInstance;
com.google.protobuf.GeneratedMessageLite.registerDefaultInstance(
SdkInitEvent.class, defaultInstance);
}
public static com.particles.mes.protos.SdkInitEvent getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static volatile com.google.protobuf.Parser<SdkInitEvent> PARSER;
public static com.google.protobuf.Parser<SdkInitEvent> parser() {
return DEFAULT_INSTANCE.getParserForType();
}
}
|
0 | java-sources/ai/themsp/mes-android-sdk/0.15.0/main/com/particles/mes | java-sources/ai/themsp/mes-android-sdk/0.15.0/main/com/particles/mes/protos/SdkInitEventOrBuilder.java | // Generated by the protocol buffer compiler. DO NOT EDIT!
// source: mes_events/sdk_init.proto
package com.particles.mes.protos;
public interface SdkInitEventOrBuilder extends
// @@protoc_insertion_point(interface_extends:com.newsbreak.mes.events.SdkInitEvent)
com.google.protobuf.MessageLiteOrBuilder {
/**
* <code>uint64 client_ts_ms = 1;</code>
* @return The clientTsMs.
*/
long getClientTsMs();
/**
* <code>uint64 server_ts_ms = 2;</code>
* @return The serverTsMs.
*/
long getServerTsMs();
/**
* <code>.com.newsbreak.monetization.common.OsType os = 3;</code>
* @return The enum numeric value on the wire for os.
*/
int getOsValue();
/**
* <code>.com.newsbreak.monetization.common.OsType os = 3;</code>
* @return The os.
*/
com.particles.mes.protos.OsType getOs();
/**
* <code>string org = 4;</code>
* @return The org.
*/
java.lang.String getOrg();
/**
* <code>string org = 4;</code>
* @return The bytes for org.
*/
com.google.protobuf.ByteString
getOrgBytes();
/**
* <code>string app = 5;</code>
* @return The app.
*/
java.lang.String getApp();
/**
* <code>string app = 5;</code>
* @return The bytes for app.
*/
com.google.protobuf.ByteString
getAppBytes();
/**
* <code>optional string msp_sdk_version = 6;</code>
* @return Whether the mspSdkVersion field is set.
*/
boolean hasMspSdkVersion();
/**
* <code>optional string msp_sdk_version = 6;</code>
* @return The mspSdkVersion.
*/
java.lang.String getMspSdkVersion();
/**
* <code>optional string msp_sdk_version = 6;</code>
* @return The bytes for mspSdkVersion.
*/
com.google.protobuf.ByteString
getMspSdkVersionBytes();
/**
* <code>optional int32 latency = 7;</code>
* @return Whether the latency field is set.
*/
boolean hasLatency();
/**
* <code>optional int32 latency = 7;</code>
* @return The latency.
*/
int getLatency();
/**
* <code>optional int32 total_complete_time = 8;</code>
* @return Whether the totalCompleteTime field is set.
*/
boolean hasTotalCompleteTime();
/**
* <code>optional int32 total_complete_time = 8;</code>
* @return The totalCompleteTime.
*/
int getTotalCompleteTime();
/**
* <code>map<string, int32> complete_time_by_ad_network = 9;</code>
*/
int getCompleteTimeByAdNetworkCount();
/**
* <code>map<string, int32> complete_time_by_ad_network = 9;</code>
*/
boolean containsCompleteTimeByAdNetwork(
java.lang.String key);
/**
* Use {@link #getCompleteTimeByAdNetworkMap()} instead.
*/
@java.lang.Deprecated
java.util.Map<java.lang.String, java.lang.Integer>
getCompleteTimeByAdNetwork();
/**
* <code>map<string, int32> complete_time_by_ad_network = 9;</code>
*/
java.util.Map<java.lang.String, java.lang.Integer>
getCompleteTimeByAdNetworkMap();
/**
* <code>map<string, int32> complete_time_by_ad_network = 9;</code>
*/
int getCompleteTimeByAdNetworkOrDefault(
java.lang.String key,
int defaultValue);
/**
* <code>map<string, int32> complete_time_by_ad_network = 9;</code>
*/
int getCompleteTimeByAdNetworkOrThrow(
java.lang.String key);
/**
* <code>string msp_id = 10;</code>
* @return The mspId.
*/
java.lang.String getMspId();
/**
* <code>string msp_id = 10;</code>
* @return The bytes for mspId.
*/
com.google.protobuf.ByteString
getMspIdBytes();
/**
* <pre>
* 11 and 12 are reserved for some deprecated fields
* DO NOT USE THEM ANYMORE
* </pre>
*
* <code>string ifa = 13;</code>
* @return The ifa.
*/
java.lang.String getIfa();
/**
* <pre>
* 11 and 12 are reserved for some deprecated fields
* DO NOT USE THEM ANYMORE
* </pre>
*
* <code>string ifa = 13;</code>
* @return The bytes for ifa.
*/
com.google.protobuf.ByteString
getIfaBytes();
/**
* <code>float battery_level = 14;</code>
* @return The batteryLevel.
*/
float getBatteryLevel();
/**
* <code>string battery_status = 15;</code>
* @return The batteryStatus.
*/
java.lang.String getBatteryStatus();
/**
* <code>string battery_status = 15;</code>
* @return The bytes for batteryStatus.
*/
com.google.protobuf.ByteString
getBatteryStatusBytes();
/**
* <code>string font_size = 16;</code>
* @return The fontSize.
*/
java.lang.String getFontSize();
/**
* <code>string font_size = 16;</code>
* @return The bytes for fontSize.
*/
com.google.protobuf.ByteString
getFontSizeBytes();
/**
* <code>string timezone = 17;</code>
* @return The timezone.
*/
java.lang.String getTimezone();
/**
* <code>string timezone = 17;</code>
* @return The bytes for timezone.
*/
com.google.protobuf.ByteString
getTimezoneBytes();
/**
* <code>uint64 available_memory_bytes = 18;</code>
* @return The availableMemoryBytes.
*/
long getAvailableMemoryBytes();
/**
* <code>bool is_low_power_mode = 19;</code>
* @return The isLowPowerMode.
*/
boolean getIsLowPowerMode();
/**
* <code>bool is_low_data_mode = 20;</code>
* @return The isLowDataMode.
*/
boolean getIsLowDataMode();
}
|
0 | java-sources/ai/themsp/mes-android-sdk/0.15.0/main/com/particles/mes | java-sources/ai/themsp/mes-android-sdk/0.15.0/main/com/particles/mes/protos/SdkInitEvents.java | // Generated by the protocol buffer compiler. DO NOT EDIT!
// source: mes_events/sdk_init.proto
package com.particles.mes.protos;
public final class SdkInitEvents {
private SdkInitEvents() {}
public static void registerAllExtensions(
com.google.protobuf.ExtensionRegistryLite registry) {
}
static {
}
// @@protoc_insertion_point(outer_class_scope)
}
|
0 | java-sources/ai/themsp/mes-android-sdk/0.15.0/main/com/particles/mes | java-sources/ai/themsp/mes-android-sdk/0.15.0/main/com/particles/mes/protos/SdkReportEvent.java | // Generated by the protocol buffer compiler. DO NOT EDIT!
// source: mes_events/sdk_report.proto
package com.particles.mes.protos;
/**
* <pre>
* sent when app starts up
* </pre>
*
* Protobuf type {@code com.newsbreak.mes.events.SdkReportEvent}
*/
public final class SdkReportEvent extends
com.google.protobuf.GeneratedMessageLite<
SdkReportEvent, SdkReportEvent.Builder> implements
// @@protoc_insertion_point(message_implements:com.newsbreak.mes.events.SdkReportEvent)
SdkReportEventOrBuilder {
private SdkReportEvent() {
version_ = "";
fields_ = com.google.protobuf.GeneratedMessageLite.emptyProtobufList();
}
public static final int VERSION_FIELD_NUMBER = 1;
private java.lang.String version_;
/**
* <code>string version = 1;</code>
* @return The version.
*/
@java.lang.Override
public java.lang.String getVersion() {
return version_;
}
/**
* <code>string version = 1;</code>
* @return The bytes for version.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getVersionBytes() {
return com.google.protobuf.ByteString.copyFromUtf8(version_);
}
/**
* <code>string version = 1;</code>
* @param value The version to set.
*/
private void setVersion(
java.lang.String value) {
java.lang.Class<?> valueClass = value.getClass();
version_ = value;
}
/**
* <code>string version = 1;</code>
*/
private void clearVersion() {
version_ = getDefaultInstance().getVersion();
}
/**
* <code>string version = 1;</code>
* @param value The bytes for version to set.
*/
private void setVersionBytes(
com.google.protobuf.ByteString value) {
checkByteStringIsUtf8(value);
version_ = value.toStringUtf8();
}
public static final int FIELDS_FIELD_NUMBER = 2;
private com.google.protobuf.Internal.ProtobufList<java.lang.String> fields_;
/**
* <code>repeated string fields = 2;</code>
* @return A list containing the fields.
*/
@java.lang.Override
public java.util.List<java.lang.String> getFieldsList() {
return fields_;
}
/**
* <code>repeated string fields = 2;</code>
* @return The count of fields.
*/
@java.lang.Override
public int getFieldsCount() {
return fields_.size();
}
/**
* <code>repeated string fields = 2;</code>
* @param index The index of the element to return.
* @return The fields at the given index.
*/
@java.lang.Override
public java.lang.String getFields(int index) {
return fields_.get(index);
}
/**
* <code>repeated string fields = 2;</code>
* @param index The index of the value to return.
* @return The bytes of the fields at the given index.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getFieldsBytes(int index) {
return com.google.protobuf.ByteString.copyFromUtf8(
fields_.get(index));
}
private void ensureFieldsIsMutable() {
com.google.protobuf.Internal.ProtobufList<java.lang.String> tmp =
fields_; if (!tmp.isModifiable()) {
fields_ =
com.google.protobuf.GeneratedMessageLite.mutableCopy(tmp);
}
}
/**
* <code>repeated string fields = 2;</code>
* @param index The index to set the value at.
* @param value The fields to set.
*/
private void setFields(
int index, java.lang.String value) {
java.lang.Class<?> valueClass = value.getClass();
ensureFieldsIsMutable();
fields_.set(index, value);
}
/**
* <code>repeated string fields = 2;</code>
* @param value The fields to add.
*/
private void addFields(
java.lang.String value) {
java.lang.Class<?> valueClass = value.getClass();
ensureFieldsIsMutable();
fields_.add(value);
}
/**
* <code>repeated string fields = 2;</code>
* @param values The fields to add.
*/
private void addAllFields(
java.lang.Iterable<java.lang.String> values) {
ensureFieldsIsMutable();
com.google.protobuf.AbstractMessageLite.addAll(
values, fields_);
}
/**
* <code>repeated string fields = 2;</code>
*/
private void clearFields() {
fields_ = com.google.protobuf.GeneratedMessageLite.emptyProtobufList();
}
/**
* <code>repeated string fields = 2;</code>
* @param value The bytes of the fields to add.
*/
private void addFieldsBytes(
com.google.protobuf.ByteString value) {
checkByteStringIsUtf8(value);
ensureFieldsIsMutable();
fields_.add(value.toStringUtf8());
}
public static final int OS_FIELD_NUMBER = 3;
private int os_;
/**
* <code>.com.newsbreak.monetization.common.OsType os = 3;</code>
* @return The enum numeric value on the wire for os.
*/
@java.lang.Override
public int getOsValue() {
return os_;
}
/**
* <code>.com.newsbreak.monetization.common.OsType os = 3;</code>
* @return The os.
*/
@java.lang.Override
public com.particles.mes.protos.OsType getOs() {
com.particles.mes.protos.OsType result = com.particles.mes.protos.OsType.forNumber(os_);
return result == null ? com.particles.mes.protos.OsType.UNRECOGNIZED : result;
}
/**
* <code>.com.newsbreak.monetization.common.OsType os = 3;</code>
* @param value The enum numeric value on the wire for os to set.
*/
private void setOsValue(int value) {
os_ = value;
}
/**
* <code>.com.newsbreak.monetization.common.OsType os = 3;</code>
* @param value The os to set.
*/
private void setOs(com.particles.mes.protos.OsType value) {
os_ = value.getNumber();
}
/**
* <code>.com.newsbreak.monetization.common.OsType os = 3;</code>
*/
private void clearOs() {
os_ = 0;
}
public static com.particles.mes.protos.SdkReportEvent parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, data);
}
public static com.particles.mes.protos.SdkReportEvent parseFrom(
java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, data, extensionRegistry);
}
public static com.particles.mes.protos.SdkReportEvent parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, data);
}
public static com.particles.mes.protos.SdkReportEvent parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, data, extensionRegistry);
}
public static com.particles.mes.protos.SdkReportEvent parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, data);
}
public static com.particles.mes.protos.SdkReportEvent parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, data, extensionRegistry);
}
public static com.particles.mes.protos.SdkReportEvent parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, input);
}
public static com.particles.mes.protos.SdkReportEvent parseFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, input, extensionRegistry);
}
public static com.particles.mes.protos.SdkReportEvent parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return parseDelimitedFrom(DEFAULT_INSTANCE, input);
}
public static com.particles.mes.protos.SdkReportEvent parseDelimitedFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return parseDelimitedFrom(DEFAULT_INSTANCE, input, extensionRegistry);
}
public static com.particles.mes.protos.SdkReportEvent parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, input);
}
public static com.particles.mes.protos.SdkReportEvent parseFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, input, extensionRegistry);
}
public static Builder newBuilder() {
return (Builder) DEFAULT_INSTANCE.createBuilder();
}
public static Builder newBuilder(com.particles.mes.protos.SdkReportEvent prototype) {
return (Builder) DEFAULT_INSTANCE.createBuilder(prototype);
}
/**
* <pre>
* sent when app starts up
* </pre>
*
* Protobuf type {@code com.newsbreak.mes.events.SdkReportEvent}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageLite.Builder<
com.particles.mes.protos.SdkReportEvent, Builder> implements
// @@protoc_insertion_point(builder_implements:com.newsbreak.mes.events.SdkReportEvent)
com.particles.mes.protos.SdkReportEventOrBuilder {
// Construct using com.particles.mes.protos.SdkReportEvent.newBuilder()
private Builder() {
super(DEFAULT_INSTANCE);
}
/**
* <code>string version = 1;</code>
* @return The version.
*/
@java.lang.Override
public java.lang.String getVersion() {
return instance.getVersion();
}
/**
* <code>string version = 1;</code>
* @return The bytes for version.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getVersionBytes() {
return instance.getVersionBytes();
}
/**
* <code>string version = 1;</code>
* @param value The version to set.
* @return This builder for chaining.
*/
public Builder setVersion(
java.lang.String value) {
copyOnWrite();
instance.setVersion(value);
return this;
}
/**
* <code>string version = 1;</code>
* @return This builder for chaining.
*/
public Builder clearVersion() {
copyOnWrite();
instance.clearVersion();
return this;
}
/**
* <code>string version = 1;</code>
* @param value The bytes for version to set.
* @return This builder for chaining.
*/
public Builder setVersionBytes(
com.google.protobuf.ByteString value) {
copyOnWrite();
instance.setVersionBytes(value);
return this;
}
/**
* <code>repeated string fields = 2;</code>
* @return A list containing the fields.
*/
@java.lang.Override
public java.util.List<java.lang.String>
getFieldsList() {
return java.util.Collections.unmodifiableList(
instance.getFieldsList());
}
/**
* <code>repeated string fields = 2;</code>
* @return The count of fields.
*/
@java.lang.Override
public int getFieldsCount() {
return instance.getFieldsCount();
}
/**
* <code>repeated string fields = 2;</code>
* @param index The index of the element to return.
* @return The fields at the given index.
*/
@java.lang.Override
public java.lang.String getFields(int index) {
return instance.getFields(index);
}
/**
* <code>repeated string fields = 2;</code>
* @param index The index of the value to return.
* @return The bytes of the fields at the given index.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getFieldsBytes(int index) {
return instance.getFieldsBytes(index);
}
/**
* <code>repeated string fields = 2;</code>
* @param index The index to set the value at.
* @param value The fields to set.
* @return This builder for chaining.
*/
public Builder setFields(
int index, java.lang.String value) {
copyOnWrite();
instance.setFields(index, value);
return this;
}
/**
* <code>repeated string fields = 2;</code>
* @param value The fields to add.
* @return This builder for chaining.
*/
public Builder addFields(
java.lang.String value) {
copyOnWrite();
instance.addFields(value);
return this;
}
/**
* <code>repeated string fields = 2;</code>
* @param values The fields to add.
* @return This builder for chaining.
*/
public Builder addAllFields(
java.lang.Iterable<java.lang.String> values) {
copyOnWrite();
instance.addAllFields(values);
return this;
}
/**
* <code>repeated string fields = 2;</code>
* @return This builder for chaining.
*/
public Builder clearFields() {
copyOnWrite();
instance.clearFields();
return this;
}
/**
* <code>repeated string fields = 2;</code>
* @param value The bytes of the fields to add.
* @return This builder for chaining.
*/
public Builder addFieldsBytes(
com.google.protobuf.ByteString value) {
copyOnWrite();
instance.addFieldsBytes(value);
return this;
}
/**
* <code>.com.newsbreak.monetization.common.OsType os = 3;</code>
* @return The enum numeric value on the wire for os.
*/
@java.lang.Override
public int getOsValue() {
return instance.getOsValue();
}
/**
* <code>.com.newsbreak.monetization.common.OsType os = 3;</code>
* @param value The os to set.
* @return This builder for chaining.
*/
public Builder setOsValue(int value) {
copyOnWrite();
instance.setOsValue(value);
return this;
}
/**
* <code>.com.newsbreak.monetization.common.OsType os = 3;</code>
* @return The os.
*/
@java.lang.Override
public com.particles.mes.protos.OsType getOs() {
return instance.getOs();
}
/**
* <code>.com.newsbreak.monetization.common.OsType os = 3;</code>
* @param value The enum numeric value on the wire for os to set.
* @return This builder for chaining.
*/
public Builder setOs(com.particles.mes.protos.OsType value) {
copyOnWrite();
instance.setOs(value);
return this;
}
/**
* <code>.com.newsbreak.monetization.common.OsType os = 3;</code>
* @return This builder for chaining.
*/
public Builder clearOs() {
copyOnWrite();
instance.clearOs();
return this;
}
// @@protoc_insertion_point(builder_scope:com.newsbreak.mes.events.SdkReportEvent)
}
@java.lang.Override
@java.lang.SuppressWarnings({"unchecked", "fallthrough"})
protected final java.lang.Object dynamicMethod(
com.google.protobuf.GeneratedMessageLite.MethodToInvoke method,
java.lang.Object arg0, java.lang.Object arg1) {
switch (method) {
case NEW_MUTABLE_INSTANCE: {
return new com.particles.mes.protos.SdkReportEvent();
}
case NEW_BUILDER: {
return new Builder();
}
case BUILD_MESSAGE_INFO: {
java.lang.Object[] objects = new java.lang.Object[] {
"version_",
"fields_",
"os_",
};
java.lang.String info =
"\u0000\u0003\u0000\u0000\u0001\u0003\u0003\u0000\u0001\u0000\u0001\u0208\u0002\u021a" +
"\u0003\f";
return newMessageInfo(DEFAULT_INSTANCE, info, objects);
}
// fall through
case GET_DEFAULT_INSTANCE: {
return DEFAULT_INSTANCE;
}
case GET_PARSER: {
com.google.protobuf.Parser<com.particles.mes.protos.SdkReportEvent> parser = PARSER;
if (parser == null) {
synchronized (com.particles.mes.protos.SdkReportEvent.class) {
parser = PARSER;
if (parser == null) {
parser =
new DefaultInstanceBasedParser<com.particles.mes.protos.SdkReportEvent>(
DEFAULT_INSTANCE);
PARSER = parser;
}
}
}
return parser;
}
case GET_MEMOIZED_IS_INITIALIZED: {
return (byte) 1;
}
case SET_MEMOIZED_IS_INITIALIZED: {
return null;
}
}
throw new UnsupportedOperationException();
}
// @@protoc_insertion_point(class_scope:com.newsbreak.mes.events.SdkReportEvent)
private static final com.particles.mes.protos.SdkReportEvent DEFAULT_INSTANCE;
static {
SdkReportEvent defaultInstance = new SdkReportEvent();
// New instances are implicitly immutable so no need to make
// immutable.
DEFAULT_INSTANCE = defaultInstance;
com.google.protobuf.GeneratedMessageLite.registerDefaultInstance(
SdkReportEvent.class, defaultInstance);
}
public static com.particles.mes.protos.SdkReportEvent getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static volatile com.google.protobuf.Parser<SdkReportEvent> PARSER;
public static com.google.protobuf.Parser<SdkReportEvent> parser() {
return DEFAULT_INSTANCE.getParserForType();
}
}
|
0 | java-sources/ai/themsp/mes-android-sdk/0.15.0/main/com/particles/mes | java-sources/ai/themsp/mes-android-sdk/0.15.0/main/com/particles/mes/protos/SdkReportEventOrBuilder.java | // Generated by the protocol buffer compiler. DO NOT EDIT!
// source: mes_events/sdk_report.proto
package com.particles.mes.protos;
public interface SdkReportEventOrBuilder extends
// @@protoc_insertion_point(interface_extends:com.newsbreak.mes.events.SdkReportEvent)
com.google.protobuf.MessageLiteOrBuilder {
/**
* <code>string version = 1;</code>
* @return The version.
*/
java.lang.String getVersion();
/**
* <code>string version = 1;</code>
* @return The bytes for version.
*/
com.google.protobuf.ByteString
getVersionBytes();
/**
* <code>repeated string fields = 2;</code>
* @return A list containing the fields.
*/
java.util.List<java.lang.String>
getFieldsList();
/**
* <code>repeated string fields = 2;</code>
* @return The count of fields.
*/
int getFieldsCount();
/**
* <code>repeated string fields = 2;</code>
* @param index The index of the element to return.
* @return The fields at the given index.
*/
java.lang.String getFields(int index);
/**
* <code>repeated string fields = 2;</code>
* @param index The index of the element to return.
* @return The fields at the given index.
*/
com.google.protobuf.ByteString
getFieldsBytes(int index);
/**
* <code>.com.newsbreak.monetization.common.OsType os = 3;</code>
* @return The enum numeric value on the wire for os.
*/
int getOsValue();
/**
* <code>.com.newsbreak.monetization.common.OsType os = 3;</code>
* @return The os.
*/
com.particles.mes.protos.OsType getOs();
}
|
0 | java-sources/ai/themsp/mes-android-sdk/0.15.0/main/com/particles/mes | java-sources/ai/themsp/mes-android-sdk/0.15.0/main/com/particles/mes/protos/SdkReportEvents.java | // Generated by the protocol buffer compiler. DO NOT EDIT!
// source: mes_events/sdk_report.proto
package com.particles.mes.protos;
public final class SdkReportEvents {
private SdkReportEvents() {}
public static void registerAllExtensions(
com.google.protobuf.ExtensionRegistryLite registry) {
}
static {
}
// @@protoc_insertion_point(outer_class_scope)
}
|
0 | java-sources/ai/themsp/mes-android-sdk/0.15.0/main/com/particles/mes/protos | java-sources/ai/themsp/mes-android-sdk/0.15.0/main/com/particles/mes/protos/openrtb/APIFramework.java | // Generated by the protocol buffer compiler. DO NOT EDIT!
// source: openrtb/openrtb-v26.proto
package com.particles.mes.protos.openrtb;
/**
* <pre>
* OpenRTB 2.0: The following table is a list of API frameworks supported
* by the publisher. Note that MRAID-1 is a subset of MRAID-2.
* In OpenRTB 2.1 and prior, value "3" was "MRAID". However, not all
* MRAID capable APIs understand MRAID-2 features and as such the only
* safe interpretation of value "3" is MRAID-1. In OpenRTB 2.2, this was
* made explicit and MRAID-2 has been added as value "5".
* </pre>
*
* Protobuf enum {@code com.google.openrtb.APIFramework}
*/
public enum APIFramework
implements com.google.protobuf.Internal.EnumLite {
/**
* <pre>
* Video Player-Ad Interface Definition Version 1.0. See
* https://iabtechlab.com/wp-content/uploads/2016/03/VPAID_1.0_Final.pdf
* </pre>
*
* <code>VPAID_1 = 1;</code>
*/
VPAID_1(1),
/**
* <pre>
* Video Player-Ad Interface Definition Version 2.0. See
* https://iabtechlab.com/wp-content/uploads/2016/04/VPAID_2_0_Final_04-10-2012.pdf
* </pre>
*
* <code>VPAID_2 = 2;</code>
*/
VPAID_2(2),
/**
* <pre>
* Mobile Rich Media Ad Interface Definitions Version 1.0. See
* https://www.iab.com/guidelines/mraid/.
* </pre>
*
* <code>MRAID_1 = 3;</code>
*/
MRAID_1(3),
/**
* <pre>
* Open Rich Media Mobile Advertising. See
* https://code.google.com/archive/p/ormma/
* </pre>
*
* <code>ORMMA = 4;</code>
*/
ORMMA(4),
/**
* <pre>
* Mobile Rich Media Ad Interface Definitions Version 2.0. See
* https://www.iab.com/guidelines/mraid/.
* </pre>
*
* <code>MRAID_2 = 5;</code>
*/
MRAID_2(5),
/**
* <pre>
* Mobile Rich Media Ad Interface Definitions Version 3.0. See
* https://www.iab.com/guidelines/mraid/.
* </pre>
*
* <code>MRAID_3 = 6;</code>
*/
MRAID_3(6),
/**
* <pre>
* Open Measurement Interface Definition Version 1.0. See
* https://iabtechlab.com/standards/open-measurement-sdk/.
* </pre>
*
* <code>OMID_1 = 7;</code>
*/
OMID_1(7),
/**
* <pre>
* Secure Interactive Media Interface Definition Version 1.0.
* See https://iabtechlab.com/simid/.
* </pre>
*
* <code>SIMID_1_0 = 8;</code>
*/
SIMID_1_0(8),
/**
* <pre>
* Secure Interactive Media Interface Definition Version 1.1.
* See https://iabtechlab.com/simid/.
* </pre>
*
* <code>SIMID_1_1 = 9;</code>
*/
SIMID_1_1(9),
;
/**
* <pre>
* Video Player-Ad Interface Definition Version 1.0. See
* https://iabtechlab.com/wp-content/uploads/2016/03/VPAID_1.0_Final.pdf
* </pre>
*
* <code>VPAID_1 = 1;</code>
*/
public static final int VPAID_1_VALUE = 1;
/**
* <pre>
* Video Player-Ad Interface Definition Version 2.0. See
* https://iabtechlab.com/wp-content/uploads/2016/04/VPAID_2_0_Final_04-10-2012.pdf
* </pre>
*
* <code>VPAID_2 = 2;</code>
*/
public static final int VPAID_2_VALUE = 2;
/**
* <pre>
* Mobile Rich Media Ad Interface Definitions Version 1.0. See
* https://www.iab.com/guidelines/mraid/.
* </pre>
*
* <code>MRAID_1 = 3;</code>
*/
public static final int MRAID_1_VALUE = 3;
/**
* <pre>
* Open Rich Media Mobile Advertising. See
* https://code.google.com/archive/p/ormma/
* </pre>
*
* <code>ORMMA = 4;</code>
*/
public static final int ORMMA_VALUE = 4;
/**
* <pre>
* Mobile Rich Media Ad Interface Definitions Version 2.0. See
* https://www.iab.com/guidelines/mraid/.
* </pre>
*
* <code>MRAID_2 = 5;</code>
*/
public static final int MRAID_2_VALUE = 5;
/**
* <pre>
* Mobile Rich Media Ad Interface Definitions Version 3.0. See
* https://www.iab.com/guidelines/mraid/.
* </pre>
*
* <code>MRAID_3 = 6;</code>
*/
public static final int MRAID_3_VALUE = 6;
/**
* <pre>
* Open Measurement Interface Definition Version 1.0. See
* https://iabtechlab.com/standards/open-measurement-sdk/.
* </pre>
*
* <code>OMID_1 = 7;</code>
*/
public static final int OMID_1_VALUE = 7;
/**
* <pre>
* Secure Interactive Media Interface Definition Version 1.0.
* See https://iabtechlab.com/simid/.
* </pre>
*
* <code>SIMID_1_0 = 8;</code>
*/
public static final int SIMID_1_0_VALUE = 8;
/**
* <pre>
* Secure Interactive Media Interface Definition Version 1.1.
* See https://iabtechlab.com/simid/.
* </pre>
*
* <code>SIMID_1_1 = 9;</code>
*/
public static final int SIMID_1_1_VALUE = 9;
@java.lang.Override
public final int getNumber() {
return value;
}
/**
* @param value The number of the enum to look for.
* @return The enum associated with the given number.
* @deprecated Use {@link #forNumber(int)} instead.
*/
@java.lang.Deprecated
public static APIFramework valueOf(int value) {
return forNumber(value);
}
public static APIFramework forNumber(int value) {
switch (value) {
case 1: return VPAID_1;
case 2: return VPAID_2;
case 3: return MRAID_1;
case 4: return ORMMA;
case 5: return MRAID_2;
case 6: return MRAID_3;
case 7: return OMID_1;
case 8: return SIMID_1_0;
case 9: return SIMID_1_1;
default: return null;
}
}
public static com.google.protobuf.Internal.EnumLiteMap<APIFramework>
internalGetValueMap() {
return internalValueMap;
}
private static final com.google.protobuf.Internal.EnumLiteMap<
APIFramework> internalValueMap =
new com.google.protobuf.Internal.EnumLiteMap<APIFramework>() {
@java.lang.Override
public APIFramework findValueByNumber(int number) {
return APIFramework.forNumber(number);
}
};
public static com.google.protobuf.Internal.EnumVerifier
internalGetVerifier() {
return APIFrameworkVerifier.INSTANCE;
}
private static final class APIFrameworkVerifier implements
com.google.protobuf.Internal.EnumVerifier {
static final com.google.protobuf.Internal.EnumVerifier INSTANCE = new APIFrameworkVerifier();
@java.lang.Override
public boolean isInRange(int number) {
return APIFramework.forNumber(number) != null;
}
};
private final int value;
private APIFramework(int value) {
this.value = value;
}
// @@protoc_insertion_point(enum_scope:com.google.openrtb.APIFramework)
}
|
0 | java-sources/ai/themsp/mes-android-sdk/0.15.0/main/com/particles/mes/protos | java-sources/ai/themsp/mes-android-sdk/0.15.0/main/com/particles/mes/protos/openrtb/AdPosition.java | // Generated by the protocol buffer compiler. DO NOT EDIT!
// source: openrtb/openrtb-v26.proto
package com.particles.mes.protos.openrtb;
/**
* <pre>
* OpenRTB 2.0: The following table specifies the position of the ad as a
* relative measure of visibility or prominence.
* This OpenRTB table has values derived from the IAB Quality Assurance
* Guidelines (QAG). Practitioners should keep in sync with updates to the
* QAG values as published on IAB.net. Values "3" - "6" apply to apps
* per the mobile addendum to QAG version 1.5.
* </pre>
*
* Protobuf enum {@code com.google.openrtb.AdPosition}
*/
public enum AdPosition
implements com.google.protobuf.Internal.EnumLite {
/**
* <code>UNKNOWN = 0;</code>
*/
UNKNOWN(0),
/**
* <code>ABOVE_THE_FOLD = 1;</code>
*/
ABOVE_THE_FOLD(1),
/**
* <pre>
* Fixed position.
* </pre>
*
* <code>LOCKED = 2;</code>
*/
LOCKED(2),
/**
* <code>BELOW_THE_FOLD = 3;</code>
*/
BELOW_THE_FOLD(3),
/**
* <pre>
* Horizontal slot that sticks on the top of the screen when user scrolls.
* </pre>
*
* <code>HEADER = 4;</code>
*/
HEADER(4),
/**
* <pre>
* Horizontal slot that sticks on the bottom of the screen when user scrolls.
* </pre>
*
* <code>FOOTER = 5;</code>
*/
FOOTER(5),
/**
* <pre>
* Sidebar that sticks on screen when user scrolls.
* </pre>
*
* <code>SIDEBAR = 6;</code>
*/
SIDEBAR(6),
/**
* <code>AD_POSITION_FULLSCREEN = 7;</code>
*/
AD_POSITION_FULLSCREEN(7),
;
/**
* <code>UNKNOWN = 0;</code>
*/
public static final int UNKNOWN_VALUE = 0;
/**
* <code>ABOVE_THE_FOLD = 1;</code>
*/
public static final int ABOVE_THE_FOLD_VALUE = 1;
/**
* <pre>
* Fixed position.
* </pre>
*
* <code>LOCKED = 2;</code>
*/
public static final int LOCKED_VALUE = 2;
/**
* <code>BELOW_THE_FOLD = 3;</code>
*/
public static final int BELOW_THE_FOLD_VALUE = 3;
/**
* <pre>
* Horizontal slot that sticks on the top of the screen when user scrolls.
* </pre>
*
* <code>HEADER = 4;</code>
*/
public static final int HEADER_VALUE = 4;
/**
* <pre>
* Horizontal slot that sticks on the bottom of the screen when user scrolls.
* </pre>
*
* <code>FOOTER = 5;</code>
*/
public static final int FOOTER_VALUE = 5;
/**
* <pre>
* Sidebar that sticks on screen when user scrolls.
* </pre>
*
* <code>SIDEBAR = 6;</code>
*/
public static final int SIDEBAR_VALUE = 6;
/**
* <code>AD_POSITION_FULLSCREEN = 7;</code>
*/
public static final int AD_POSITION_FULLSCREEN_VALUE = 7;
@java.lang.Override
public final int getNumber() {
return value;
}
/**
* @param value The number of the enum to look for.
* @return The enum associated with the given number.
* @deprecated Use {@link #forNumber(int)} instead.
*/
@java.lang.Deprecated
public static AdPosition valueOf(int value) {
return forNumber(value);
}
public static AdPosition forNumber(int value) {
switch (value) {
case 0: return UNKNOWN;
case 1: return ABOVE_THE_FOLD;
case 2: return LOCKED;
case 3: return BELOW_THE_FOLD;
case 4: return HEADER;
case 5: return FOOTER;
case 6: return SIDEBAR;
case 7: return AD_POSITION_FULLSCREEN;
default: return null;
}
}
public static com.google.protobuf.Internal.EnumLiteMap<AdPosition>
internalGetValueMap() {
return internalValueMap;
}
private static final com.google.protobuf.Internal.EnumLiteMap<
AdPosition> internalValueMap =
new com.google.protobuf.Internal.EnumLiteMap<AdPosition>() {
@java.lang.Override
public AdPosition findValueByNumber(int number) {
return AdPosition.forNumber(number);
}
};
public static com.google.protobuf.Internal.EnumVerifier
internalGetVerifier() {
return AdPositionVerifier.INSTANCE;
}
private static final class AdPositionVerifier implements
com.google.protobuf.Internal.EnumVerifier {
static final com.google.protobuf.Internal.EnumVerifier INSTANCE = new AdPositionVerifier();
@java.lang.Override
public boolean isInRange(int number) {
return AdPosition.forNumber(number) != null;
}
};
private final int value;
private AdPosition(int value) {
this.value = value;
}
// @@protoc_insertion_point(enum_scope:com.google.openrtb.AdPosition)
}
|
0 | java-sources/ai/themsp/mes-android-sdk/0.15.0/main/com/particles/mes/protos | java-sources/ai/themsp/mes-android-sdk/0.15.0/main/com/particles/mes/protos/openrtb/AdUnitId.java | // Generated by the protocol buffer compiler. DO NOT EDIT!
// source: openrtb/openrtb-v26.proto
package com.particles.mes.protos.openrtb;
/**
* <pre>
* DEPRECATED in OpenRTB Native 1.1, REMOVED in 1.2+.
* </pre>
*
* Protobuf enum {@code com.google.openrtb.AdUnitId}
*/
public enum AdUnitId
implements com.google.protobuf.Internal.EnumLite {
/**
* <code>PAID_SEARCH_UNIT = 1;</code>
*/
PAID_SEARCH_UNIT(1),
/**
* <code>RECOMMENDATION_WIDGET = 2;</code>
*/
RECOMMENDATION_WIDGET(2),
/**
* <code>PROMOTED_LISTING = 3;</code>
*/
PROMOTED_LISTING(3),
/**
* <code>IAB_IN_AD_NATIVE = 4;</code>
*/
IAB_IN_AD_NATIVE(4),
/**
* <code>ADUNITID_CUSTOM = 5;</code>
*/
ADUNITID_CUSTOM(5),
;
/**
* <code>PAID_SEARCH_UNIT = 1;</code>
*/
public static final int PAID_SEARCH_UNIT_VALUE = 1;
/**
* <code>RECOMMENDATION_WIDGET = 2;</code>
*/
public static final int RECOMMENDATION_WIDGET_VALUE = 2;
/**
* <code>PROMOTED_LISTING = 3;</code>
*/
public static final int PROMOTED_LISTING_VALUE = 3;
/**
* <code>IAB_IN_AD_NATIVE = 4;</code>
*/
public static final int IAB_IN_AD_NATIVE_VALUE = 4;
/**
* <code>ADUNITID_CUSTOM = 5;</code>
*/
public static final int ADUNITID_CUSTOM_VALUE = 5;
@java.lang.Override
public final int getNumber() {
return value;
}
/**
* @param value The number of the enum to look for.
* @return The enum associated with the given number.
* @deprecated Use {@link #forNumber(int)} instead.
*/
@java.lang.Deprecated
public static AdUnitId valueOf(int value) {
return forNumber(value);
}
public static AdUnitId forNumber(int value) {
switch (value) {
case 1: return PAID_SEARCH_UNIT;
case 2: return RECOMMENDATION_WIDGET;
case 3: return PROMOTED_LISTING;
case 4: return IAB_IN_AD_NATIVE;
case 5: return ADUNITID_CUSTOM;
default: return null;
}
}
public static com.google.protobuf.Internal.EnumLiteMap<AdUnitId>
internalGetValueMap() {
return internalValueMap;
}
private static final com.google.protobuf.Internal.EnumLiteMap<
AdUnitId> internalValueMap =
new com.google.protobuf.Internal.EnumLiteMap<AdUnitId>() {
@java.lang.Override
public AdUnitId findValueByNumber(int number) {
return AdUnitId.forNumber(number);
}
};
public static com.google.protobuf.Internal.EnumVerifier
internalGetVerifier() {
return AdUnitIdVerifier.INSTANCE;
}
private static final class AdUnitIdVerifier implements
com.google.protobuf.Internal.EnumVerifier {
static final com.google.protobuf.Internal.EnumVerifier INSTANCE = new AdUnitIdVerifier();
@java.lang.Override
public boolean isInRange(int number) {
return AdUnitId.forNumber(number) != null;
}
};
private final int value;
private AdUnitId(int value) {
this.value = value;
}
// @@protoc_insertion_point(enum_scope:com.google.openrtb.AdUnitId)
}
|
0 | java-sources/ai/themsp/mes-android-sdk/0.15.0/main/com/particles/mes/protos | java-sources/ai/themsp/mes-android-sdk/0.15.0/main/com/particles/mes/protos/openrtb/AgentType.java | // Generated by the protocol buffer compiler. DO NOT EDIT!
// source: openrtb/openrtb-v26.proto
package com.particles.mes.protos.openrtb;
/**
* <pre>
* OpenRTB 2.6: The user agent types a user identifier is from.
* Not supported by Google.
* </pre>
*
* Protobuf enum {@code com.google.openrtb.AgentType}
*/
public enum AgentType
implements com.google.protobuf.Internal.EnumLite {
/**
* <pre>
* An ID which is tied to a specific web browser or device (cookie-based,
* probabilistic, or other).
* </pre>
*
* <code>BROWSER_OR_DEVICE = 1;</code>
*/
BROWSER_OR_DEVICE(1),
/**
* <pre>
* In-app impressions, which will typically contain a type of device ID
* (or rather, the privacy-compliant versions of device IDs).
* </pre>
*
* <code>IN_APP_IMPRESSION = 2;</code>
*/
IN_APP_IMPRESSION(2),
/**
* <pre>
* An identifier that is the same across devices.
* </pre>
*
* <code>STABLE_ID = 3;</code>
*/
STABLE_ID(3),
;
/**
* <pre>
* An ID which is tied to a specific web browser or device (cookie-based,
* probabilistic, or other).
* </pre>
*
* <code>BROWSER_OR_DEVICE = 1;</code>
*/
public static final int BROWSER_OR_DEVICE_VALUE = 1;
/**
* <pre>
* In-app impressions, which will typically contain a type of device ID
* (or rather, the privacy-compliant versions of device IDs).
* </pre>
*
* <code>IN_APP_IMPRESSION = 2;</code>
*/
public static final int IN_APP_IMPRESSION_VALUE = 2;
/**
* <pre>
* An identifier that is the same across devices.
* </pre>
*
* <code>STABLE_ID = 3;</code>
*/
public static final int STABLE_ID_VALUE = 3;
@java.lang.Override
public final int getNumber() {
return value;
}
/**
* @param value The number of the enum to look for.
* @return The enum associated with the given number.
* @deprecated Use {@link #forNumber(int)} instead.
*/
@java.lang.Deprecated
public static AgentType valueOf(int value) {
return forNumber(value);
}
public static AgentType forNumber(int value) {
switch (value) {
case 1: return BROWSER_OR_DEVICE;
case 2: return IN_APP_IMPRESSION;
case 3: return STABLE_ID;
default: return null;
}
}
public static com.google.protobuf.Internal.EnumLiteMap<AgentType>
internalGetValueMap() {
return internalValueMap;
}
private static final com.google.protobuf.Internal.EnumLiteMap<
AgentType> internalValueMap =
new com.google.protobuf.Internal.EnumLiteMap<AgentType>() {
@java.lang.Override
public AgentType findValueByNumber(int number) {
return AgentType.forNumber(number);
}
};
public static com.google.protobuf.Internal.EnumVerifier
internalGetVerifier() {
return AgentTypeVerifier.INSTANCE;
}
private static final class AgentTypeVerifier implements
com.google.protobuf.Internal.EnumVerifier {
static final com.google.protobuf.Internal.EnumVerifier INSTANCE = new AgentTypeVerifier();
@java.lang.Override
public boolean isInRange(int number) {
return AgentType.forNumber(number) != null;
}
};
private final int value;
private AgentType(int value) {
this.value = value;
}
// @@protoc_insertion_point(enum_scope:com.google.openrtb.AgentType)
}
|
0 | java-sources/ai/themsp/mes-android-sdk/0.15.0/main/com/particles/mes/protos | java-sources/ai/themsp/mes-android-sdk/0.15.0/main/com/particles/mes/protos/openrtb/AuctionType.java | // Generated by the protocol buffer compiler. DO NOT EDIT!
// source: openrtb/openrtb-v26.proto
package com.particles.mes.protos.openrtb;
/**
* <pre>
* ***** OpenRTB Core enums ****************************************************
* </pre>
*
* Protobuf enum {@code com.google.openrtb.AuctionType}
*/
public enum AuctionType
implements com.google.protobuf.Internal.EnumLite {
/**
* <code>FIRST_PRICE = 1;</code>
*/
FIRST_PRICE(1),
/**
* <code>SECOND_PRICE = 2;</code>
*/
SECOND_PRICE(2),
/**
* <code>FIXED_PRICE = 3;</code>
*/
FIXED_PRICE(3),
;
/**
* <code>FIRST_PRICE = 1;</code>
*/
public static final int FIRST_PRICE_VALUE = 1;
/**
* <code>SECOND_PRICE = 2;</code>
*/
public static final int SECOND_PRICE_VALUE = 2;
/**
* <code>FIXED_PRICE = 3;</code>
*/
public static final int FIXED_PRICE_VALUE = 3;
@java.lang.Override
public final int getNumber() {
return value;
}
/**
* @param value The number of the enum to look for.
* @return The enum associated with the given number.
* @deprecated Use {@link #forNumber(int)} instead.
*/
@java.lang.Deprecated
public static AuctionType valueOf(int value) {
return forNumber(value);
}
public static AuctionType forNumber(int value) {
switch (value) {
case 1: return FIRST_PRICE;
case 2: return SECOND_PRICE;
case 3: return FIXED_PRICE;
default: return null;
}
}
public static com.google.protobuf.Internal.EnumLiteMap<AuctionType>
internalGetValueMap() {
return internalValueMap;
}
private static final com.google.protobuf.Internal.EnumLiteMap<
AuctionType> internalValueMap =
new com.google.protobuf.Internal.EnumLiteMap<AuctionType>() {
@java.lang.Override
public AuctionType findValueByNumber(int number) {
return AuctionType.forNumber(number);
}
};
public static com.google.protobuf.Internal.EnumVerifier
internalGetVerifier() {
return AuctionTypeVerifier.INSTANCE;
}
private static final class AuctionTypeVerifier implements
com.google.protobuf.Internal.EnumVerifier {
static final com.google.protobuf.Internal.EnumVerifier INSTANCE = new AuctionTypeVerifier();
@java.lang.Override
public boolean isInRange(int number) {
return AuctionType.forNumber(number) != null;
}
};
private final int value;
private AuctionType(int value) {
this.value = value;
}
// @@protoc_insertion_point(enum_scope:com.google.openrtb.AuctionType)
}
|
0 | java-sources/ai/themsp/mes-android-sdk/0.15.0/main/com/particles/mes/protos | java-sources/ai/themsp/mes-android-sdk/0.15.0/main/com/particles/mes/protos/openrtb/BannerAdType.java | // Generated by the protocol buffer compiler. DO NOT EDIT!
// source: openrtb/openrtb-v26.proto
package com.particles.mes.protos.openrtb;
/**
* <pre>
* OpenRTB 2.0: types of ads that can be accepted by the exchange unless
* restricted by publisher site settings.
* </pre>
*
* Protobuf enum {@code com.google.openrtb.BannerAdType}
*/
public enum BannerAdType
implements com.google.protobuf.Internal.EnumLite {
/**
* <pre>
* "Usually mobile".
* </pre>
*
* <code>XHTML_TEXT_AD = 1;</code>
*/
XHTML_TEXT_AD(1),
/**
* <pre>
* "Usually mobile".
* </pre>
*
* <code>XHTML_BANNER_AD = 2;</code>
*/
XHTML_BANNER_AD(2),
/**
* <pre>
* Javascript must be valid XHTML (ie, script tags included).
* </pre>
*
* <code>JAVASCRIPT_AD = 3;</code>
*/
JAVASCRIPT_AD(3),
/**
* <pre>
* Iframe.
* </pre>
*
* <code>IFRAME = 4;</code>
*/
IFRAME(4),
;
/**
* <pre>
* "Usually mobile".
* </pre>
*
* <code>XHTML_TEXT_AD = 1;</code>
*/
public static final int XHTML_TEXT_AD_VALUE = 1;
/**
* <pre>
* "Usually mobile".
* </pre>
*
* <code>XHTML_BANNER_AD = 2;</code>
*/
public static final int XHTML_BANNER_AD_VALUE = 2;
/**
* <pre>
* Javascript must be valid XHTML (ie, script tags included).
* </pre>
*
* <code>JAVASCRIPT_AD = 3;</code>
*/
public static final int JAVASCRIPT_AD_VALUE = 3;
/**
* <pre>
* Iframe.
* </pre>
*
* <code>IFRAME = 4;</code>
*/
public static final int IFRAME_VALUE = 4;
@java.lang.Override
public final int getNumber() {
return value;
}
/**
* @param value The number of the enum to look for.
* @return The enum associated with the given number.
* @deprecated Use {@link #forNumber(int)} instead.
*/
@java.lang.Deprecated
public static BannerAdType valueOf(int value) {
return forNumber(value);
}
public static BannerAdType forNumber(int value) {
switch (value) {
case 1: return XHTML_TEXT_AD;
case 2: return XHTML_BANNER_AD;
case 3: return JAVASCRIPT_AD;
case 4: return IFRAME;
default: return null;
}
}
public static com.google.protobuf.Internal.EnumLiteMap<BannerAdType>
internalGetValueMap() {
return internalValueMap;
}
private static final com.google.protobuf.Internal.EnumLiteMap<
BannerAdType> internalValueMap =
new com.google.protobuf.Internal.EnumLiteMap<BannerAdType>() {
@java.lang.Override
public BannerAdType findValueByNumber(int number) {
return BannerAdType.forNumber(number);
}
};
public static com.google.protobuf.Internal.EnumVerifier
internalGetVerifier() {
return BannerAdTypeVerifier.INSTANCE;
}
private static final class BannerAdTypeVerifier implements
com.google.protobuf.Internal.EnumVerifier {
static final com.google.protobuf.Internal.EnumVerifier INSTANCE = new BannerAdTypeVerifier();
@java.lang.Override
public boolean isInRange(int number) {
return BannerAdType.forNumber(number) != null;
}
};
private final int value;
private BannerAdType(int value) {
this.value = value;
}
// @@protoc_insertion_point(enum_scope:com.google.openrtb.BannerAdType)
}
|
0 | java-sources/ai/themsp/mes-android-sdk/0.15.0/main/com/particles/mes/protos | java-sources/ai/themsp/mes-android-sdk/0.15.0/main/com/particles/mes/protos/openrtb/BidRequest.java | // Generated by the protocol buffer compiler. DO NOT EDIT!
// source: openrtb/openrtb-v26.proto
package com.particles.mes.protos.openrtb;
/**
* <pre>
* OpenRTB extensions ("ext" fields in the spec & JSON representation)
* are represented here by Protocol Buffer extensions. This proto only
* reserves the range of IDs 100-9999 at every extensible object.
* Reserved ranges:
* 100-199: Reserved for Google.
* 200-299: Reserved for IAB's formal standard extensions.
* 300-999: Free for use with other exchanges or projects.
* 1000-1999: Reserved for Google.
* 2000-9999: Free for use with other exchanges or projects.
* OpenRTB 2.0: The top-level bid request object contains a globally unique
* bid request or auction ID. This id attribute is required as is at least one
* impression object (Section 3.2.2). Other attributes in this top-level object
* establish rules and restrictions that apply to all impressions being offered.
* There are also several subordinate objects that provide detailed data to
* potential buyers. Among these are the Site and App objects, which describe
* the type of published media in which the impression(s) appear.
* These objects are highly recommended, but only one applies to a given
* bid request depending on whether the media is browser-based web content
* or a non-browser application, respectively.
* </pre>
*
* Protobuf type {@code com.google.openrtb.BidRequest}
*/
public final class BidRequest extends
com.google.protobuf.GeneratedMessageLite.ExtendableMessage<
BidRequest, BidRequest.Builder> implements
// @@protoc_insertion_point(message_implements:com.google.openrtb.BidRequest)
BidRequestOrBuilder {
private BidRequest() {
id_ = "";
imp_ = emptyProtobufList();
at_ = 2;
wseat_ = com.google.protobuf.GeneratedMessageLite.emptyProtobufList();
cur_ = com.google.protobuf.GeneratedMessageLite.emptyProtobufList();
bcat_ = com.google.protobuf.GeneratedMessageLite.emptyProtobufList();
cattax_ = 1;
badv_ = com.google.protobuf.GeneratedMessageLite.emptyProtobufList();
bapp_ = com.google.protobuf.GeneratedMessageLite.emptyProtobufList();
bseat_ = com.google.protobuf.GeneratedMessageLite.emptyProtobufList();
wlang_ = com.google.protobuf.GeneratedMessageLite.emptyProtobufList();
wlangb_ = com.google.protobuf.GeneratedMessageLite.emptyProtobufList();
ext_ = "";
}
public interface ImpOrBuilder extends
// @@protoc_insertion_point(interface_extends:com.google.openrtb.BidRequest.Imp)
com.google.protobuf.GeneratedMessageLite.
ExtendableMessageOrBuilder<
Imp, Imp.Builder> {
/**
* <pre>
* A unique identifier for this impression within the context of the bid
* request (typically, value starts with 1, and increments up to n
* for n impressions).
* Supported by Google.
* </pre>
*
* <code>required string id = 1;</code>
* @return Whether the id field is set.
*/
boolean hasId();
/**
* <pre>
* A unique identifier for this impression within the context of the bid
* request (typically, value starts with 1, and increments up to n
* for n impressions).
* Supported by Google.
* </pre>
*
* <code>required string id = 1;</code>
* @return The id.
*/
java.lang.String getId();
/**
* <pre>
* A unique identifier for this impression within the context of the bid
* request (typically, value starts with 1, and increments up to n
* for n impressions).
* Supported by Google.
* </pre>
*
* <code>required string id = 1;</code>
* @return The bytes for id.
*/
com.google.protobuf.ByteString
getIdBytes();
/**
* <pre>
* A Banner object (Section 3.2.3); required if this impression is
* offered as a banner ad opportunity.
* Supported by Google.
* </pre>
*
* <code>optional .com.google.openrtb.BidRequest.Imp.Banner banner = 2;</code>
* @return Whether the banner field is set.
*/
boolean hasBanner();
/**
* <pre>
* A Banner object (Section 3.2.3); required if this impression is
* offered as a banner ad opportunity.
* Supported by Google.
* </pre>
*
* <code>optional .com.google.openrtb.BidRequest.Imp.Banner banner = 2;</code>
* @return The banner.
*/
com.particles.mes.protos.openrtb.BidRequest.Imp.Banner getBanner();
/**
* <pre>
* A Video object (Section 3.2.4); required if this impression is
* offered as a video ad opportunity.
* Supported by Google.
* </pre>
*
* <code>optional .com.google.openrtb.BidRequest.Imp.Video video = 3;</code>
* @return Whether the video field is set.
*/
boolean hasVideo();
/**
* <pre>
* A Video object (Section 3.2.4); required if this impression is
* offered as a video ad opportunity.
* Supported by Google.
* </pre>
*
* <code>optional .com.google.openrtb.BidRequest.Imp.Video video = 3;</code>
* @return The video.
*/
com.particles.mes.protos.openrtb.BidRequest.Imp.Video getVideo();
/**
* <pre>
* An Audio object; required if this impression is offered
* as an audio ad opportunity.
* Supported by Google.
* </pre>
*
* <code>optional .com.google.openrtb.BidRequest.Imp.Audio audio = 15;</code>
* @return Whether the audio field is set.
*/
boolean hasAudio();
/**
* <pre>
* An Audio object; required if this impression is offered
* as an audio ad opportunity.
* Supported by Google.
* </pre>
*
* <code>optional .com.google.openrtb.BidRequest.Imp.Audio audio = 15;</code>
* @return The audio.
*/
com.particles.mes.protos.openrtb.BidRequest.Imp.Audio getAudio();
/**
* <pre>
* Name of ad mediation partner, SDK technology, or player responsible
* for rendering ad (typically video or mobile). Used by some ad servers
* to customize ad code by partner. Recommended for video and/or apps.
* Supported by Google.
* </pre>
*
* <code>optional string displaymanager = 4;</code>
* @return Whether the displaymanager field is set.
*/
boolean hasDisplaymanager();
/**
* <pre>
* Name of ad mediation partner, SDK technology, or player responsible
* for rendering ad (typically video or mobile). Used by some ad servers
* to customize ad code by partner. Recommended for video and/or apps.
* Supported by Google.
* </pre>
*
* <code>optional string displaymanager = 4;</code>
* @return The displaymanager.
*/
java.lang.String getDisplaymanager();
/**
* <pre>
* Name of ad mediation partner, SDK technology, or player responsible
* for rendering ad (typically video or mobile). Used by some ad servers
* to customize ad code by partner. Recommended for video and/or apps.
* Supported by Google.
* </pre>
*
* <code>optional string displaymanager = 4;</code>
* @return The bytes for displaymanager.
*/
com.google.protobuf.ByteString
getDisplaymanagerBytes();
/**
* <pre>
* Version of ad mediation partner, SDK technology, or player responsible
* for rendering ad (typically video or mobile). Used by some ad servers
* to customize ad code by partner. Recommended for video and/or apps.
* Not supported by Google.
* </pre>
*
* <code>optional string displaymanagerver = 5;</code>
* @return Whether the displaymanagerver field is set.
*/
boolean hasDisplaymanagerver();
/**
* <pre>
* Version of ad mediation partner, SDK technology, or player responsible
* for rendering ad (typically video or mobile). Used by some ad servers
* to customize ad code by partner. Recommended for video and/or apps.
* Not supported by Google.
* </pre>
*
* <code>optional string displaymanagerver = 5;</code>
* @return The displaymanagerver.
*/
java.lang.String getDisplaymanagerver();
/**
* <pre>
* Version of ad mediation partner, SDK technology, or player responsible
* for rendering ad (typically video or mobile). Used by some ad servers
* to customize ad code by partner. Recommended for video and/or apps.
* Not supported by Google.
* </pre>
*
* <code>optional string displaymanagerver = 5;</code>
* @return The bytes for displaymanagerver.
*/
com.google.protobuf.ByteString
getDisplaymanagerverBytes();
/**
* <pre>
* true = the ad is interstitial or full screen, false = not interstitial.
* Supported by Google.
* </pre>
*
* <code>optional bool instl = 6;</code>
* @return Whether the instl field is set.
*/
boolean hasInstl();
/**
* <pre>
* true = the ad is interstitial or full screen, false = not interstitial.
* Supported by Google.
* </pre>
*
* <code>optional bool instl = 6;</code>
* @return The instl.
*/
boolean getInstl();
/**
* <pre>
* Identifier for specific ad placement or ad tag that was used to
* initiate the auction. This can be useful for debugging of any issues,
* or for optimization by the buyer.
* Supported by Google.
* </pre>
*
* <code>optional string tagid = 7;</code>
* @return Whether the tagid field is set.
*/
boolean hasTagid();
/**
* <pre>
* Identifier for specific ad placement or ad tag that was used to
* initiate the auction. This can be useful for debugging of any issues,
* or for optimization by the buyer.
* Supported by Google.
* </pre>
*
* <code>optional string tagid = 7;</code>
* @return The tagid.
*/
java.lang.String getTagid();
/**
* <pre>
* Identifier for specific ad placement or ad tag that was used to
* initiate the auction. This can be useful for debugging of any issues,
* or for optimization by the buyer.
* Supported by Google.
* </pre>
*
* <code>optional string tagid = 7;</code>
* @return The bytes for tagid.
*/
com.google.protobuf.ByteString
getTagidBytes();
/**
* <pre>
* Minimum bid for this impression expressed in CPM.
* Supported by Google.
* </pre>
*
* <code>optional double bidfloor = 8 [default = 0];</code>
* @return Whether the bidfloor field is set.
*/
boolean hasBidfloor();
/**
* <pre>
* Minimum bid for this impression expressed in CPM.
* Supported by Google.
* </pre>
*
* <code>optional double bidfloor = 8 [default = 0];</code>
* @return The bidfloor.
*/
double getBidfloor();
/**
* <pre>
* Currency specified using ISO-4217 alpha codes. This may be different
* from bid currency returned by bidder if this is allowed by the exchange.
* Supported by Google.
* </pre>
*
* <code>optional string bidfloorcur = 9 [default = "USD"];</code>
* @return Whether the bidfloorcur field is set.
*/
boolean hasBidfloorcur();
/**
* <pre>
* Currency specified using ISO-4217 alpha codes. This may be different
* from bid currency returned by bidder if this is allowed by the exchange.
* Supported by Google.
* </pre>
*
* <code>optional string bidfloorcur = 9 [default = "USD"];</code>
* @return The bidfloorcur.
*/
java.lang.String getBidfloorcur();
/**
* <pre>
* Currency specified using ISO-4217 alpha codes. This may be different
* from bid currency returned by bidder if this is allowed by the exchange.
* Supported by Google.
* </pre>
*
* <code>optional string bidfloorcur = 9 [default = "USD"];</code>
* @return The bytes for bidfloorcur.
*/
com.google.protobuf.ByteString
getBidfloorcurBytes();
/**
* <pre>
* Indicates the type of browser opened upon clicking the
* creative in an app, where false = embedded, true = native.
* Note that the Safari View Controller in iOS 9.x devices is considered
* a native browser for purposes of this attribute.
* Supported by Google.
* </pre>
*
* <code>optional bool clickbrowser = 16;</code>
* @return Whether the clickbrowser field is set.
*/
boolean hasClickbrowser();
/**
* <pre>
* Indicates the type of browser opened upon clicking the
* creative in an app, where false = embedded, true = native.
* Note that the Safari View Controller in iOS 9.x devices is considered
* a native browser for purposes of this attribute.
* Supported by Google.
* </pre>
*
* <code>optional bool clickbrowser = 16;</code>
* @return The clickbrowser.
*/
boolean getClickbrowser();
/**
* <pre>
* Indicates if the impression requires secure HTTPS URL creative
* assets and markup. If omitted, the secure state is unknown, but
* non-secure HTTP support can be assumed.
* Supported by Google.
* </pre>
*
* <code>optional bool secure = 12;</code>
* @return Whether the secure field is set.
*/
boolean hasSecure();
/**
* <pre>
* Indicates if the impression requires secure HTTPS URL creative
* assets and markup. If omitted, the secure state is unknown, but
* non-secure HTTP support can be assumed.
* Supported by Google.
* </pre>
*
* <code>optional bool secure = 12;</code>
* @return The secure.
*/
boolean getSecure();
/**
* <pre>
* Array of exchange-specific names of supported iframe busters.
* Not supported by Google.
* </pre>
*
* <code>repeated string iframebuster = 10;</code>
* @return A list containing the iframebuster.
*/
java.util.List<java.lang.String>
getIframebusterList();
/**
* <pre>
* Array of exchange-specific names of supported iframe busters.
* Not supported by Google.
* </pre>
*
* <code>repeated string iframebuster = 10;</code>
* @return The count of iframebuster.
*/
int getIframebusterCount();
/**
* <pre>
* Array of exchange-specific names of supported iframe busters.
* Not supported by Google.
* </pre>
*
* <code>repeated string iframebuster = 10;</code>
* @param index The index of the element to return.
* @return The iframebuster at the given index.
*/
java.lang.String getIframebuster(int index);
/**
* <pre>
* Array of exchange-specific names of supported iframe busters.
* Not supported by Google.
* </pre>
*
* <code>repeated string iframebuster = 10;</code>
* @param index The index of the element to return.
* @return The iframebuster at the given index.
*/
com.google.protobuf.ByteString
getIframebusterBytes(int index);
/**
* <pre>
* Indicates whether the user receives a reward for viewing the ad.
* Typically video ad implementations allow users to read an additional news
* article for free, receive an extra life in a game, or get a sponsored
* ad-free music session. The reward is typically distributed after the
* video ad is completed.
* Supported by Google.
* </pre>
*
* <code>optional bool rwdd = 18 [default = false];</code>
* @return Whether the rwdd field is set.
*/
boolean hasRwdd();
/**
* <pre>
* Indicates whether the user receives a reward for viewing the ad.
* Typically video ad implementations allow users to read an additional news
* article for free, receive an extra life in a game, or get a sponsored
* ad-free music session. The reward is typically distributed after the
* video ad is completed.
* Supported by Google.
* </pre>
*
* <code>optional bool rwdd = 18 [default = false];</code>
* @return The rwdd.
*/
boolean getRwdd();
/**
* <pre>
* Indicates if server-side ad insertion (e.g., stitching an ad into an
* audio or video stream) is in use and the impact of this on asset
* and tracker retrieval.
* Not supported by Google.
* </pre>
*
* <code>optional .com.google.openrtb.ServerSideAdInsertionType ssai = 19 [default = SERVER_SIDE_AD_INSERTION_TYPE_UNKNOWN];</code>
* @return Whether the ssai field is set.
*/
boolean hasSsai();
/**
* <pre>
* Indicates if server-side ad insertion (e.g., stitching an ad into an
* audio or video stream) is in use and the impact of this on asset
* and tracker retrieval.
* Not supported by Google.
* </pre>
*
* <code>optional .com.google.openrtb.ServerSideAdInsertionType ssai = 19 [default = SERVER_SIDE_AD_INSERTION_TYPE_UNKNOWN];</code>
* @return The ssai.
*/
com.particles.mes.protos.openrtb.ServerSideAdInsertionType getSsai();
/**
* <pre>
* A Pmp object (Section 3.2.17) containing any private marketplace deals
* in effect for this impression.
* Supported by Google.
* </pre>
*
* <code>optional .com.google.openrtb.BidRequest.Imp.Pmp pmp = 11;</code>
* @return Whether the pmp field is set.
*/
boolean hasPmp();
/**
* <pre>
* A Pmp object (Section 3.2.17) containing any private marketplace deals
* in effect for this impression.
* Supported by Google.
* </pre>
*
* <code>optional .com.google.openrtb.BidRequest.Imp.Pmp pmp = 11;</code>
* @return The pmp.
*/
com.particles.mes.protos.openrtb.BidRequest.Imp.Pmp getPmp();
/**
* <pre>
* A Native object (Section 3.2.5); required if this impression is
* offered as a native ad opportunity.
* Supported by Google.
* </pre>
*
* <code>optional .com.google.openrtb.BidRequest.Imp.Native native = 13;</code>
* @return Whether the native field is set.
*/
boolean hasNative();
/**
* <pre>
* A Native object (Section 3.2.5); required if this impression is
* offered as a native ad opportunity.
* Supported by Google.
* </pre>
*
* <code>optional .com.google.openrtb.BidRequest.Imp.Native native = 13;</code>
* @return The native.
*/
com.particles.mes.protos.openrtb.BidRequest.Imp.Native getNative();
/**
* <pre>
* Advisory as to the number of seconds that may elapse
* between the auction and the actual impression.
* Supported by Google.
* </pre>
*
* <code>optional int32 exp = 14;</code>
* @return Whether the exp field is set.
*/
boolean hasExp();
/**
* <pre>
* Advisory as to the number of seconds that may elapse
* between the auction and the actual impression.
* Supported by Google.
* </pre>
*
* <code>optional int32 exp = 14;</code>
* @return The exp.
*/
int getExp();
/**
* <pre>
* An array of Metric object (Section 3.2.5).
* Supported by Google.
* </pre>
*
* <code>repeated .com.google.openrtb.BidRequest.Imp.Metric metric = 17;</code>
*/
java.util.List<com.particles.mes.protos.openrtb.BidRequest.Imp.Metric>
getMetricList();
/**
* <pre>
* An array of Metric object (Section 3.2.5).
* Supported by Google.
* </pre>
*
* <code>repeated .com.google.openrtb.BidRequest.Imp.Metric metric = 17;</code>
*/
com.particles.mes.protos.openrtb.BidRequest.Imp.Metric getMetric(int index);
/**
* <pre>
* An array of Metric object (Section 3.2.5).
* Supported by Google.
* </pre>
*
* <code>repeated .com.google.openrtb.BidRequest.Imp.Metric metric = 17;</code>
*/
int getMetricCount();
/**
* <code>optional string ext = 90;</code>
* @return Whether the ext field is set.
*/
boolean hasExt();
/**
* <code>optional string ext = 90;</code>
* @return The ext.
*/
java.lang.String getExt();
/**
* <code>optional string ext = 90;</code>
* @return The bytes for ext.
*/
com.google.protobuf.ByteString
getExtBytes();
}
/**
* <pre>
* OpenRTB 2.0: This object describes an ad placement or impression
* being auctioned. A single bid request can include multiple Imp objects,
* a use case for which might be an exchange that supports selling all
* ad positions on a given page. Each Imp object has a required ID so that
* bids can reference them individually.
* The presence of Banner (Section 3.2.3), Video (Section 3.2.4),
* and/or Native (Section 3.2.5) objects subordinate to the Imp object
* indicates the type of impression being offered. The publisher can choose
* one such type which is the typical case or mix them at their discretion.
* Any given bid for the impression must conform to one of the offered types.
* </pre>
*
* Protobuf type {@code com.google.openrtb.BidRequest.Imp}
*/
public static final class Imp extends
com.google.protobuf.GeneratedMessageLite.ExtendableMessage<
Imp, Imp.Builder> implements
// @@protoc_insertion_point(message_implements:com.google.openrtb.BidRequest.Imp)
ImpOrBuilder {
private Imp() {
id_ = "";
displaymanager_ = "";
displaymanagerver_ = "";
tagid_ = "";
bidfloorcur_ = "USD";
iframebuster_ = com.google.protobuf.GeneratedMessageLite.emptyProtobufList();
metric_ = emptyProtobufList();
ext_ = "";
}
public interface BannerOrBuilder extends
// @@protoc_insertion_point(interface_extends:com.google.openrtb.BidRequest.Imp.Banner)
com.google.protobuf.GeneratedMessageLite.
ExtendableMessageOrBuilder<
Banner, Banner.Builder> {
/**
* <pre>
* Exact width in device-independent pixels (DIPS); recommended if no
* format objects are specified.
* Supported by Google.
* </pre>
*
* <code>optional int32 w = 1;</code>
* @return Whether the w field is set.
*/
boolean hasW();
/**
* <pre>
* Exact width in device-independent pixels (DIPS); recommended if no
* format objects are specified.
* Supported by Google.
* </pre>
*
* <code>optional int32 w = 1;</code>
* @return The w.
*/
int getW();
/**
* <pre>
* Exact height in device-independent pixels (DIPS); recommended if no
* format objects are specified.
* Supported by Google.
* </pre>
*
* <code>optional int32 h = 2;</code>
* @return Whether the h field is set.
*/
boolean hasH();
/**
* <pre>
* Exact height in device-independent pixels (DIPS); recommended if no
* format objects are specified.
* Supported by Google.
* </pre>
*
* <code>optional int32 h = 2;</code>
* @return The h.
*/
int getH();
/**
* <pre>
* Array of format objects representing the banner sizes permitted.
* If none are specified, then use of the h and w attributes
* is highly recommended.
* Supported by Google.
* </pre>
*
* <code>repeated .com.google.openrtb.BidRequest.Imp.Banner.Format format = 15;</code>
*/
java.util.List<com.particles.mes.protos.openrtb.BidRequest.Imp.Banner.Format>
getFormatList();
/**
* <pre>
* Array of format objects representing the banner sizes permitted.
* If none are specified, then use of the h and w attributes
* is highly recommended.
* Supported by Google.
* </pre>
*
* <code>repeated .com.google.openrtb.BidRequest.Imp.Banner.Format format = 15;</code>
*/
com.particles.mes.protos.openrtb.BidRequest.Imp.Banner.Format getFormat(int index);
/**
* <pre>
* Array of format objects representing the banner sizes permitted.
* If none are specified, then use of the h and w attributes
* is highly recommended.
* Supported by Google.
* </pre>
*
* <code>repeated .com.google.openrtb.BidRequest.Imp.Banner.Format format = 15;</code>
*/
int getFormatCount();
/**
* <pre>
* Unique identifier for this banner object. Recommended when Banner
* objects are used with a Video object (Section 3.2.4) to represent
* an array of companion ads. Values usually start at 1 and increase
* with each object; should be unique within an impression.
* Not supported by Google.
* </pre>
*
* <code>optional string id = 3;</code>
* @return Whether the id field is set.
*/
boolean hasId();
/**
* <pre>
* Unique identifier for this banner object. Recommended when Banner
* objects are used with a Video object (Section 3.2.4) to represent
* an array of companion ads. Values usually start at 1 and increase
* with each object; should be unique within an impression.
* Not supported by Google.
* </pre>
*
* <code>optional string id = 3;</code>
* @return The id.
*/
java.lang.String getId();
/**
* <pre>
* Unique identifier for this banner object. Recommended when Banner
* objects are used with a Video object (Section 3.2.4) to represent
* an array of companion ads. Values usually start at 1 and increase
* with each object; should be unique within an impression.
* Not supported by Google.
* </pre>
*
* <code>optional string id = 3;</code>
* @return The bytes for id.
*/
com.google.protobuf.ByteString
getIdBytes();
/**
* <pre>
* Ad position on screen.
* Supported by Google.
* </pre>
*
* <code>optional .com.google.openrtb.AdPosition pos = 4;</code>
* @return Whether the pos field is set.
*/
boolean hasPos();
/**
* <pre>
* Ad position on screen.
* Supported by Google.
* </pre>
*
* <code>optional .com.google.openrtb.AdPosition pos = 4;</code>
* @return The pos.
*/
com.particles.mes.protos.openrtb.AdPosition getPos();
/**
* <pre>
* Blocked banner ad types.
* Not supported by Google.
* </pre>
*
* <code>repeated .com.google.openrtb.BannerAdType btype = 5 [packed = true];</code>
* @return A list containing the btype.
*/
java.util.List<com.particles.mes.protos.openrtb.BannerAdType> getBtypeList();
/**
* <pre>
* Blocked banner ad types.
* Not supported by Google.
* </pre>
*
* <code>repeated .com.google.openrtb.BannerAdType btype = 5 [packed = true];</code>
* @return The count of btype.
*/
int getBtypeCount();
/**
* <pre>
* Blocked banner ad types.
* Not supported by Google.
* </pre>
*
* <code>repeated .com.google.openrtb.BannerAdType btype = 5 [packed = true];</code>
* @param index The index of the element to return.
* @return The btype at the given index.
*/
com.particles.mes.protos.openrtb.BannerAdType getBtype(int index);
/**
* <pre>
* Blocked creative attributes.
* Supported by Google.
* </pre>
*
* <code>repeated .com.google.openrtb.CreativeAttribute battr = 6 [packed = true];</code>
* @return A list containing the battr.
*/
java.util.List<com.particles.mes.protos.openrtb.CreativeAttribute> getBattrList();
/**
* <pre>
* Blocked creative attributes.
* Supported by Google.
* </pre>
*
* <code>repeated .com.google.openrtb.CreativeAttribute battr = 6 [packed = true];</code>
* @return The count of battr.
*/
int getBattrCount();
/**
* <pre>
* Blocked creative attributes.
* Supported by Google.
* </pre>
*
* <code>repeated .com.google.openrtb.CreativeAttribute battr = 6 [packed = true];</code>
* @param index The index of the element to return.
* @return The battr at the given index.
*/
com.particles.mes.protos.openrtb.CreativeAttribute getBattr(int index);
/**
* <pre>
* Allowlist of content MIME types supported. Popular MIME types include,
* but are not limited to "image/jpg", "image/gif" and
* "application/x-shockwave-flash".
* Supported by Google.
* </pre>
*
* <code>repeated string mimes = 7;</code>
* @return A list containing the mimes.
*/
java.util.List<java.lang.String>
getMimesList();
/**
* <pre>
* Allowlist of content MIME types supported. Popular MIME types include,
* but are not limited to "image/jpg", "image/gif" and
* "application/x-shockwave-flash".
* Supported by Google.
* </pre>
*
* <code>repeated string mimes = 7;</code>
* @return The count of mimes.
*/
int getMimesCount();
/**
* <pre>
* Allowlist of content MIME types supported. Popular MIME types include,
* but are not limited to "image/jpg", "image/gif" and
* "application/x-shockwave-flash".
* Supported by Google.
* </pre>
*
* <code>repeated string mimes = 7;</code>
* @param index The index of the element to return.
* @return The mimes at the given index.
*/
java.lang.String getMimes(int index);
/**
* <pre>
* Allowlist of content MIME types supported. Popular MIME types include,
* but are not limited to "image/jpg", "image/gif" and
* "application/x-shockwave-flash".
* Supported by Google.
* </pre>
*
* <code>repeated string mimes = 7;</code>
* @param index The index of the element to return.
* @return The mimes at the given index.
*/
com.google.protobuf.ByteString
getMimesBytes(int index);
/**
* <pre>
* Specify if the banner is delivered in the top frame (true)
* or in an iframe (false).
* Supported by Google.
* </pre>
*
* <code>optional bool topframe = 8;</code>
* @return Whether the topframe field is set.
*/
boolean hasTopframe();
/**
* <pre>
* Specify if the banner is delivered in the top frame (true)
* or in an iframe (false).
* Supported by Google.
* </pre>
*
* <code>optional bool topframe = 8;</code>
* @return The topframe.
*/
boolean getTopframe();
/**
* <pre>
* Directions in which the banner may expand.
* Supported by Google.
* </pre>
*
* <code>repeated .com.google.openrtb.ExpandableDirection expdir = 9 [packed = true];</code>
* @return A list containing the expdir.
*/
java.util.List<com.particles.mes.protos.openrtb.ExpandableDirection> getExpdirList();
/**
* <pre>
* Directions in which the banner may expand.
* Supported by Google.
* </pre>
*
* <code>repeated .com.google.openrtb.ExpandableDirection expdir = 9 [packed = true];</code>
* @return The count of expdir.
*/
int getExpdirCount();
/**
* <pre>
* Directions in which the banner may expand.
* Supported by Google.
* </pre>
*
* <code>repeated .com.google.openrtb.ExpandableDirection expdir = 9 [packed = true];</code>
* @param index The index of the element to return.
* @return The expdir at the given index.
*/
com.particles.mes.protos.openrtb.ExpandableDirection getExpdir(int index);
/**
* <pre>
* List of supported API frameworks for this impression.
* If an API is not explicitly listed, it is assumed not to be supported.
* Supported by Google.
* </pre>
*
* <code>repeated .com.google.openrtb.APIFramework api = 10 [packed = true];</code>
* @return A list containing the api.
*/
java.util.List<com.particles.mes.protos.openrtb.APIFramework> getApiList();
/**
* <pre>
* List of supported API frameworks for this impression.
* If an API is not explicitly listed, it is assumed not to be supported.
* Supported by Google.
* </pre>
*
* <code>repeated .com.google.openrtb.APIFramework api = 10 [packed = true];</code>
* @return The count of api.
*/
int getApiCount();
/**
* <pre>
* List of supported API frameworks for this impression.
* If an API is not explicitly listed, it is assumed not to be supported.
* Supported by Google.
* </pre>
*
* <code>repeated .com.google.openrtb.APIFramework api = 10 [packed = true];</code>
* @param index The index of the element to return.
* @return The api at the given index.
*/
com.particles.mes.protos.openrtb.APIFramework getApi(int index);
/**
* <pre>
* Relevant only for Banner objects used with a Video object
* (Section 3.2.7) in an array of companion ads. Indicates the
* companion banner rendering mode relative to the associated
* video, where false = concurrent, true = end-card.
* Supported by Google.
* </pre>
*
* <code>optional bool vcm = 16;</code>
* @return Whether the vcm field is set.
*/
boolean hasVcm();
/**
* <pre>
* Relevant only for Banner objects used with a Video object
* (Section 3.2.7) in an array of companion ads. Indicates the
* companion banner rendering mode relative to the associated
* video, where false = concurrent, true = end-card.
* Supported by Google.
* </pre>
*
* <code>optional bool vcm = 16;</code>
* @return The vcm.
*/
boolean getVcm();
/**
* <pre>
* DEPRECATED in OpenRTB 2.4+, REMOVED in 2.6+; prefer the field format.
* Maximum width in device independent pixels (DIPS).
* Supported by Google.
* </pre>
*
* <code>optional int32 wmax = 11 [deprecated = true];</code>
* @deprecated com.google.openrtb.BidRequest.Imp.Banner.wmax is deprecated.
* See openrtb/openrtb-v26.proto;l=173
* @return Whether the wmax field is set.
*/
@java.lang.Deprecated boolean hasWmax();
/**
* <pre>
* DEPRECATED in OpenRTB 2.4+, REMOVED in 2.6+; prefer the field format.
* Maximum width in device independent pixels (DIPS).
* Supported by Google.
* </pre>
*
* <code>optional int32 wmax = 11 [deprecated = true];</code>
* @deprecated com.google.openrtb.BidRequest.Imp.Banner.wmax is deprecated.
* See openrtb/openrtb-v26.proto;l=173
* @return The wmax.
*/
@java.lang.Deprecated int getWmax();
/**
* <pre>
* DEPRECATED in OpenRTB 2.4+, REMOVED in 2.6+; prefer the field format.
* Maximum height in device independent pixels (DIPS).
* Supported by Google.
* </pre>
*
* <code>optional int32 hmax = 12 [deprecated = true];</code>
* @deprecated com.google.openrtb.BidRequest.Imp.Banner.hmax is deprecated.
* See openrtb/openrtb-v26.proto;l=178
* @return Whether the hmax field is set.
*/
@java.lang.Deprecated boolean hasHmax();
/**
* <pre>
* DEPRECATED in OpenRTB 2.4+, REMOVED in 2.6+; prefer the field format.
* Maximum height in device independent pixels (DIPS).
* Supported by Google.
* </pre>
*
* <code>optional int32 hmax = 12 [deprecated = true];</code>
* @deprecated com.google.openrtb.BidRequest.Imp.Banner.hmax is deprecated.
* See openrtb/openrtb-v26.proto;l=178
* @return The hmax.
*/
@java.lang.Deprecated int getHmax();
/**
* <pre>
* DEPRECATED in OpenRTB 2.4+, REMOVED in 2.6+; prefer the field format.
* Minimum width in device independent pixels (DIPS).
* Supported by Google.
* </pre>
*
* <code>optional int32 wmin = 13 [deprecated = true];</code>
* @deprecated com.google.openrtb.BidRequest.Imp.Banner.wmin is deprecated.
* See openrtb/openrtb-v26.proto;l=183
* @return Whether the wmin field is set.
*/
@java.lang.Deprecated boolean hasWmin();
/**
* <pre>
* DEPRECATED in OpenRTB 2.4+, REMOVED in 2.6+; prefer the field format.
* Minimum width in device independent pixels (DIPS).
* Supported by Google.
* </pre>
*
* <code>optional int32 wmin = 13 [deprecated = true];</code>
* @deprecated com.google.openrtb.BidRequest.Imp.Banner.wmin is deprecated.
* See openrtb/openrtb-v26.proto;l=183
* @return The wmin.
*/
@java.lang.Deprecated int getWmin();
/**
* <pre>
* DEPRECATED in OpenRTB 2.4+, REMOVED in 2.6+; prefer the field format.
* Minimum height in device independent pixels (DIPS).
* Supported by Google.
* </pre>
*
* <code>optional int32 hmin = 14 [deprecated = true];</code>
* @deprecated com.google.openrtb.BidRequest.Imp.Banner.hmin is deprecated.
* See openrtb/openrtb-v26.proto;l=188
* @return Whether the hmin field is set.
*/
@java.lang.Deprecated boolean hasHmin();
/**
* <pre>
* DEPRECATED in OpenRTB 2.4+, REMOVED in 2.6+; prefer the field format.
* Minimum height in device independent pixels (DIPS).
* Supported by Google.
* </pre>
*
* <code>optional int32 hmin = 14 [deprecated = true];</code>
* @deprecated com.google.openrtb.BidRequest.Imp.Banner.hmin is deprecated.
* See openrtb/openrtb-v26.proto;l=188
* @return The hmin.
*/
@java.lang.Deprecated int getHmin();
}
/**
* <pre>
* OpenRTB 2.0: This object represents the most general type of
* impression. Although the term "banner" may have very specific meaning
* in other contexts, here it can be many things including a simple static
* image, an expandable ad unit, or even in-banner video (refer to the Video
* object in Section 3.2.4 for the more generalized and full featured video
* ad units). An array of Banner objects can also appear within the Video
* to describe optional companion ads defined in the VAST specification.
* The presence of a Banner as a subordinate of the Imp object indicates
* that this impression is offered as a banner type impression.
* At the publisher's discretion, that same impression may also be offered
* as video and/or native by also including as Imp subordinates the Video
* and/or Native objects, respectively. However, any given bid for the
* impression must conform to one of the offered types.
* </pre>
*
* Protobuf type {@code com.google.openrtb.BidRequest.Imp.Banner}
*/
public static final class Banner extends
com.google.protobuf.GeneratedMessageLite.ExtendableMessage<
Banner, Banner.Builder> implements
// @@protoc_insertion_point(message_implements:com.google.openrtb.BidRequest.Imp.Banner)
BannerOrBuilder {
private Banner() {
format_ = emptyProtobufList();
id_ = "";
btype_ = emptyIntList();
battr_ = emptyIntList();
mimes_ = com.google.protobuf.GeneratedMessageLite.emptyProtobufList();
expdir_ = emptyIntList();
api_ = emptyIntList();
}
public interface FormatOrBuilder extends
// @@protoc_insertion_point(interface_extends:com.google.openrtb.BidRequest.Imp.Banner.Format)
com.google.protobuf.GeneratedMessageLite.
ExtendableMessageOrBuilder<
Format, Format.Builder> {
/**
* <pre>
* Width in device independent pixels (DIPS).
* Supported by Google.
* </pre>
*
* <code>optional int32 w = 1;</code>
* @return Whether the w field is set.
*/
boolean hasW();
/**
* <pre>
* Width in device independent pixels (DIPS).
* Supported by Google.
* </pre>
*
* <code>optional int32 w = 1;</code>
* @return The w.
*/
int getW();
/**
* <pre>
* Height in device independent pixels (DIPS).
* Supported by Google.
* </pre>
*
* <code>optional int32 h = 2;</code>
* @return Whether the h field is set.
*/
boolean hasH();
/**
* <pre>
* Height in device independent pixels (DIPS).
* Supported by Google.
* </pre>
*
* <code>optional int32 h = 2;</code>
* @return The h.
*/
int getH();
/**
* <pre>
* Relative width when expressing size as a ratio.
* Not supported by Google.
* </pre>
*
* <code>optional int32 wratio = 3;</code>
* @return Whether the wratio field is set.
*/
boolean hasWratio();
/**
* <pre>
* Relative width when expressing size as a ratio.
* Not supported by Google.
* </pre>
*
* <code>optional int32 wratio = 3;</code>
* @return The wratio.
*/
int getWratio();
/**
* <pre>
* Relative height when expressing size as a ratio.
* Not supported by Google.
* </pre>
*
* <code>optional int32 hratio = 4;</code>
* @return Whether the hratio field is set.
*/
boolean hasHratio();
/**
* <pre>
* Relative height when expressing size as a ratio.
* Not supported by Google.
* </pre>
*
* <code>optional int32 hratio = 4;</code>
* @return The hratio.
*/
int getHratio();
/**
* <pre>
* The minimum width in device independent pixels (DIPS) at
* which the ad will be displayed when the size is expressed as a ratio.
* Not supported by Google.
* </pre>
*
* <code>optional int32 wmin = 5;</code>
* @return Whether the wmin field is set.
*/
boolean hasWmin();
/**
* <pre>
* The minimum width in device independent pixels (DIPS) at
* which the ad will be displayed when the size is expressed as a ratio.
* Not supported by Google.
* </pre>
*
* <code>optional int32 wmin = 5;</code>
* @return The wmin.
*/
int getWmin();
}
/**
* <pre>
* OpenRTB 2.4: This object represents an allowed size (
* height and width combination) for a banner impression.
* These are typically used in an array for an impression where
* multiple sizes are permitted.
* </pre>
*
* Protobuf type {@code com.google.openrtb.BidRequest.Imp.Banner.Format}
*/
public static final class Format extends
com.google.protobuf.GeneratedMessageLite.ExtendableMessage<
Format, Format.Builder> implements
// @@protoc_insertion_point(message_implements:com.google.openrtb.BidRequest.Imp.Banner.Format)
FormatOrBuilder {
private Format() {
}
private int bitField0_;
public static final int W_FIELD_NUMBER = 1;
private int w_;
/**
* <pre>
* Width in device independent pixels (DIPS).
* Supported by Google.
* </pre>
*
* <code>optional int32 w = 1;</code>
* @return Whether the w field is set.
*/
@java.lang.Override
public boolean hasW() {
return ((bitField0_ & 0x00000001) != 0);
}
/**
* <pre>
* Width in device independent pixels (DIPS).
* Supported by Google.
* </pre>
*
* <code>optional int32 w = 1;</code>
* @return The w.
*/
@java.lang.Override
public int getW() {
return w_;
}
/**
* <pre>
* Width in device independent pixels (DIPS).
* Supported by Google.
* </pre>
*
* <code>optional int32 w = 1;</code>
* @param value The w to set.
*/
private void setW(int value) {
bitField0_ |= 0x00000001;
w_ = value;
}
/**
* <pre>
* Width in device independent pixels (DIPS).
* Supported by Google.
* </pre>
*
* <code>optional int32 w = 1;</code>
*/
private void clearW() {
bitField0_ = (bitField0_ & ~0x00000001);
w_ = 0;
}
public static final int H_FIELD_NUMBER = 2;
private int h_;
/**
* <pre>
* Height in device independent pixels (DIPS).
* Supported by Google.
* </pre>
*
* <code>optional int32 h = 2;</code>
* @return Whether the h field is set.
*/
@java.lang.Override
public boolean hasH() {
return ((bitField0_ & 0x00000002) != 0);
}
/**
* <pre>
* Height in device independent pixels (DIPS).
* Supported by Google.
* </pre>
*
* <code>optional int32 h = 2;</code>
* @return The h.
*/
@java.lang.Override
public int getH() {
return h_;
}
/**
* <pre>
* Height in device independent pixels (DIPS).
* Supported by Google.
* </pre>
*
* <code>optional int32 h = 2;</code>
* @param value The h to set.
*/
private void setH(int value) {
bitField0_ |= 0x00000002;
h_ = value;
}
/**
* <pre>
* Height in device independent pixels (DIPS).
* Supported by Google.
* </pre>
*
* <code>optional int32 h = 2;</code>
*/
private void clearH() {
bitField0_ = (bitField0_ & ~0x00000002);
h_ = 0;
}
public static final int WRATIO_FIELD_NUMBER = 3;
private int wratio_;
/**
* <pre>
* Relative width when expressing size as a ratio.
* Not supported by Google.
* </pre>
*
* <code>optional int32 wratio = 3;</code>
* @return Whether the wratio field is set.
*/
@java.lang.Override
public boolean hasWratio() {
return ((bitField0_ & 0x00000004) != 0);
}
/**
* <pre>
* Relative width when expressing size as a ratio.
* Not supported by Google.
* </pre>
*
* <code>optional int32 wratio = 3;</code>
* @return The wratio.
*/
@java.lang.Override
public int getWratio() {
return wratio_;
}
/**
* <pre>
* Relative width when expressing size as a ratio.
* Not supported by Google.
* </pre>
*
* <code>optional int32 wratio = 3;</code>
* @param value The wratio to set.
*/
private void setWratio(int value) {
bitField0_ |= 0x00000004;
wratio_ = value;
}
/**
* <pre>
* Relative width when expressing size as a ratio.
* Not supported by Google.
* </pre>
*
* <code>optional int32 wratio = 3;</code>
*/
private void clearWratio() {
bitField0_ = (bitField0_ & ~0x00000004);
wratio_ = 0;
}
public static final int HRATIO_FIELD_NUMBER = 4;
private int hratio_;
/**
* <pre>
* Relative height when expressing size as a ratio.
* Not supported by Google.
* </pre>
*
* <code>optional int32 hratio = 4;</code>
* @return Whether the hratio field is set.
*/
@java.lang.Override
public boolean hasHratio() {
return ((bitField0_ & 0x00000008) != 0);
}
/**
* <pre>
* Relative height when expressing size as a ratio.
* Not supported by Google.
* </pre>
*
* <code>optional int32 hratio = 4;</code>
* @return The hratio.
*/
@java.lang.Override
public int getHratio() {
return hratio_;
}
/**
* <pre>
* Relative height when expressing size as a ratio.
* Not supported by Google.
* </pre>
*
* <code>optional int32 hratio = 4;</code>
* @param value The hratio to set.
*/
private void setHratio(int value) {
bitField0_ |= 0x00000008;
hratio_ = value;
}
/**
* <pre>
* Relative height when expressing size as a ratio.
* Not supported by Google.
* </pre>
*
* <code>optional int32 hratio = 4;</code>
*/
private void clearHratio() {
bitField0_ = (bitField0_ & ~0x00000008);
hratio_ = 0;
}
public static final int WMIN_FIELD_NUMBER = 5;
private int wmin_;
/**
* <pre>
* The minimum width in device independent pixels (DIPS) at
* which the ad will be displayed when the size is expressed as a ratio.
* Not supported by Google.
* </pre>
*
* <code>optional int32 wmin = 5;</code>
* @return Whether the wmin field is set.
*/
@java.lang.Override
public boolean hasWmin() {
return ((bitField0_ & 0x00000010) != 0);
}
/**
* <pre>
* The minimum width in device independent pixels (DIPS) at
* which the ad will be displayed when the size is expressed as a ratio.
* Not supported by Google.
* </pre>
*
* <code>optional int32 wmin = 5;</code>
* @return The wmin.
*/
@java.lang.Override
public int getWmin() {
return wmin_;
}
/**
* <pre>
* The minimum width in device independent pixels (DIPS) at
* which the ad will be displayed when the size is expressed as a ratio.
* Not supported by Google.
* </pre>
*
* <code>optional int32 wmin = 5;</code>
* @param value The wmin to set.
*/
private void setWmin(int value) {
bitField0_ |= 0x00000010;
wmin_ = value;
}
/**
* <pre>
* The minimum width in device independent pixels (DIPS) at
* which the ad will be displayed when the size is expressed as a ratio.
* Not supported by Google.
* </pre>
*
* <code>optional int32 wmin = 5;</code>
*/
private void clearWmin() {
bitField0_ = (bitField0_ & ~0x00000010);
wmin_ = 0;
}
public static com.particles.mes.protos.openrtb.BidRequest.Imp.Banner.Format parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, data);
}
public static com.particles.mes.protos.openrtb.BidRequest.Imp.Banner.Format parseFrom(
java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, data, extensionRegistry);
}
public static com.particles.mes.protos.openrtb.BidRequest.Imp.Banner.Format parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, data);
}
public static com.particles.mes.protos.openrtb.BidRequest.Imp.Banner.Format parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, data, extensionRegistry);
}
public static com.particles.mes.protos.openrtb.BidRequest.Imp.Banner.Format parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, data);
}
public static com.particles.mes.protos.openrtb.BidRequest.Imp.Banner.Format parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, data, extensionRegistry);
}
public static com.particles.mes.protos.openrtb.BidRequest.Imp.Banner.Format parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, input);
}
public static com.particles.mes.protos.openrtb.BidRequest.Imp.Banner.Format parseFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, input, extensionRegistry);
}
public static com.particles.mes.protos.openrtb.BidRequest.Imp.Banner.Format parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return parseDelimitedFrom(DEFAULT_INSTANCE, input);
}
public static com.particles.mes.protos.openrtb.BidRequest.Imp.Banner.Format parseDelimitedFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return parseDelimitedFrom(DEFAULT_INSTANCE, input, extensionRegistry);
}
public static com.particles.mes.protos.openrtb.BidRequest.Imp.Banner.Format parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, input);
}
public static com.particles.mes.protos.openrtb.BidRequest.Imp.Banner.Format parseFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, input, extensionRegistry);
}
public static Builder newBuilder() {
return (Builder) DEFAULT_INSTANCE.createBuilder();
}
public static Builder newBuilder(com.particles.mes.protos.openrtb.BidRequest.Imp.Banner.Format prototype) {
return (Builder) DEFAULT_INSTANCE.createBuilder(prototype);
}
/**
* <pre>
* OpenRTB 2.4: This object represents an allowed size (
* height and width combination) for a banner impression.
* These are typically used in an array for an impression where
* multiple sizes are permitted.
* </pre>
*
* Protobuf type {@code com.google.openrtb.BidRequest.Imp.Banner.Format}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageLite.ExtendableBuilder<
com.particles.mes.protos.openrtb.BidRequest.Imp.Banner.Format, Builder> implements
// @@protoc_insertion_point(builder_implements:com.google.openrtb.BidRequest.Imp.Banner.Format)
com.particles.mes.protos.openrtb.BidRequest.Imp.Banner.FormatOrBuilder {
// Construct using com.particles.mes.protos.openrtb.BidRequest.Imp.Banner.Format.newBuilder()
private Builder() {
super(DEFAULT_INSTANCE);
}
/**
* <pre>
* Width in device independent pixels (DIPS).
* Supported by Google.
* </pre>
*
* <code>optional int32 w = 1;</code>
* @return Whether the w field is set.
*/
@java.lang.Override
public boolean hasW() {
return instance.hasW();
}
/**
* <pre>
* Width in device independent pixels (DIPS).
* Supported by Google.
* </pre>
*
* <code>optional int32 w = 1;</code>
* @return The w.
*/
@java.lang.Override
public int getW() {
return instance.getW();
}
/**
* <pre>
* Width in device independent pixels (DIPS).
* Supported by Google.
* </pre>
*
* <code>optional int32 w = 1;</code>
* @param value The w to set.
* @return This builder for chaining.
*/
public Builder setW(int value) {
copyOnWrite();
instance.setW(value);
return this;
}
/**
* <pre>
* Width in device independent pixels (DIPS).
* Supported by Google.
* </pre>
*
* <code>optional int32 w = 1;</code>
* @return This builder for chaining.
*/
public Builder clearW() {
copyOnWrite();
instance.clearW();
return this;
}
/**
* <pre>
* Height in device independent pixels (DIPS).
* Supported by Google.
* </pre>
*
* <code>optional int32 h = 2;</code>
* @return Whether the h field is set.
*/
@java.lang.Override
public boolean hasH() {
return instance.hasH();
}
/**
* <pre>
* Height in device independent pixels (DIPS).
* Supported by Google.
* </pre>
*
* <code>optional int32 h = 2;</code>
* @return The h.
*/
@java.lang.Override
public int getH() {
return instance.getH();
}
/**
* <pre>
* Height in device independent pixels (DIPS).
* Supported by Google.
* </pre>
*
* <code>optional int32 h = 2;</code>
* @param value The h to set.
* @return This builder for chaining.
*/
public Builder setH(int value) {
copyOnWrite();
instance.setH(value);
return this;
}
/**
* <pre>
* Height in device independent pixels (DIPS).
* Supported by Google.
* </pre>
*
* <code>optional int32 h = 2;</code>
* @return This builder for chaining.
*/
public Builder clearH() {
copyOnWrite();
instance.clearH();
return this;
}
/**
* <pre>
* Relative width when expressing size as a ratio.
* Not supported by Google.
* </pre>
*
* <code>optional int32 wratio = 3;</code>
* @return Whether the wratio field is set.
*/
@java.lang.Override
public boolean hasWratio() {
return instance.hasWratio();
}
/**
* <pre>
* Relative width when expressing size as a ratio.
* Not supported by Google.
* </pre>
*
* <code>optional int32 wratio = 3;</code>
* @return The wratio.
*/
@java.lang.Override
public int getWratio() {
return instance.getWratio();
}
/**
* <pre>
* Relative width when expressing size as a ratio.
* Not supported by Google.
* </pre>
*
* <code>optional int32 wratio = 3;</code>
* @param value The wratio to set.
* @return This builder for chaining.
*/
public Builder setWratio(int value) {
copyOnWrite();
instance.setWratio(value);
return this;
}
/**
* <pre>
* Relative width when expressing size as a ratio.
* Not supported by Google.
* </pre>
*
* <code>optional int32 wratio = 3;</code>
* @return This builder for chaining.
*/
public Builder clearWratio() {
copyOnWrite();
instance.clearWratio();
return this;
}
/**
* <pre>
* Relative height when expressing size as a ratio.
* Not supported by Google.
* </pre>
*
* <code>optional int32 hratio = 4;</code>
* @return Whether the hratio field is set.
*/
@java.lang.Override
public boolean hasHratio() {
return instance.hasHratio();
}
/**
* <pre>
* Relative height when expressing size as a ratio.
* Not supported by Google.
* </pre>
*
* <code>optional int32 hratio = 4;</code>
* @return The hratio.
*/
@java.lang.Override
public int getHratio() {
return instance.getHratio();
}
/**
* <pre>
* Relative height when expressing size as a ratio.
* Not supported by Google.
* </pre>
*
* <code>optional int32 hratio = 4;</code>
* @param value The hratio to set.
* @return This builder for chaining.
*/
public Builder setHratio(int value) {
copyOnWrite();
instance.setHratio(value);
return this;
}
/**
* <pre>
* Relative height when expressing size as a ratio.
* Not supported by Google.
* </pre>
*
* <code>optional int32 hratio = 4;</code>
* @return This builder for chaining.
*/
public Builder clearHratio() {
copyOnWrite();
instance.clearHratio();
return this;
}
/**
* <pre>
* The minimum width in device independent pixels (DIPS) at
* which the ad will be displayed when the size is expressed as a ratio.
* Not supported by Google.
* </pre>
*
* <code>optional int32 wmin = 5;</code>
* @return Whether the wmin field is set.
*/
@java.lang.Override
public boolean hasWmin() {
return instance.hasWmin();
}
/**
* <pre>
* The minimum width in device independent pixels (DIPS) at
* which the ad will be displayed when the size is expressed as a ratio.
* Not supported by Google.
* </pre>
*
* <code>optional int32 wmin = 5;</code>
* @return The wmin.
*/
@java.lang.Override
public int getWmin() {
return instance.getWmin();
}
/**
* <pre>
* The minimum width in device independent pixels (DIPS) at
* which the ad will be displayed when the size is expressed as a ratio.
* Not supported by Google.
* </pre>
*
* <code>optional int32 wmin = 5;</code>
* @param value The wmin to set.
* @return This builder for chaining.
*/
public Builder setWmin(int value) {
copyOnWrite();
instance.setWmin(value);
return this;
}
/**
* <pre>
* The minimum width in device independent pixels (DIPS) at
* which the ad will be displayed when the size is expressed as a ratio.
* Not supported by Google.
* </pre>
*
* <code>optional int32 wmin = 5;</code>
* @return This builder for chaining.
*/
public Builder clearWmin() {
copyOnWrite();
instance.clearWmin();
return this;
}
// @@protoc_insertion_point(builder_scope:com.google.openrtb.BidRequest.Imp.Banner.Format)
}
private byte memoizedIsInitialized = 2;
@java.lang.Override
@java.lang.SuppressWarnings({"unchecked", "fallthrough"})
protected final java.lang.Object dynamicMethod(
com.google.protobuf.GeneratedMessageLite.MethodToInvoke method,
java.lang.Object arg0, java.lang.Object arg1) {
switch (method) {
case NEW_MUTABLE_INSTANCE: {
return new com.particles.mes.protos.openrtb.BidRequest.Imp.Banner.Format();
}
case NEW_BUILDER: {
return new Builder();
}
case BUILD_MESSAGE_INFO: {
java.lang.Object[] objects = new java.lang.Object[] {
"bitField0_",
"w_",
"h_",
"wratio_",
"hratio_",
"wmin_",
};
java.lang.String info =
"\u0001\u0005\u0000\u0001\u0001\u0005\u0005\u0000\u0000\u0000\u0001\u1004\u0000\u0002" +
"\u1004\u0001\u0003\u1004\u0002\u0004\u1004\u0003\u0005\u1004\u0004";
return newMessageInfo(DEFAULT_INSTANCE, info, objects);
}
// fall through
case GET_DEFAULT_INSTANCE: {
return DEFAULT_INSTANCE;
}
case GET_PARSER: {
com.google.protobuf.Parser<com.particles.mes.protos.openrtb.BidRequest.Imp.Banner.Format> parser = PARSER;
if (parser == null) {
synchronized (com.particles.mes.protos.openrtb.BidRequest.Imp.Banner.Format.class) {
parser = PARSER;
if (parser == null) {
parser =
new DefaultInstanceBasedParser<com.particles.mes.protos.openrtb.BidRequest.Imp.Banner.Format>(
DEFAULT_INSTANCE);
PARSER = parser;
}
}
}
return parser;
}
case GET_MEMOIZED_IS_INITIALIZED: {
return memoizedIsInitialized;
}
case SET_MEMOIZED_IS_INITIALIZED: {
memoizedIsInitialized = (byte) (arg0 == null ? 0 : 1);
return null;
}
}
throw new UnsupportedOperationException();
}
// @@protoc_insertion_point(class_scope:com.google.openrtb.BidRequest.Imp.Banner.Format)
private static final com.particles.mes.protos.openrtb.BidRequest.Imp.Banner.Format DEFAULT_INSTANCE;
static {
Format defaultInstance = new Format();
// New instances are implicitly immutable so no need to make
// immutable.
DEFAULT_INSTANCE = defaultInstance;
com.google.protobuf.GeneratedMessageLite.registerDefaultInstance(
Format.class, defaultInstance);
}
public static com.particles.mes.protos.openrtb.BidRequest.Imp.Banner.Format getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static volatile com.google.protobuf.Parser<Format> PARSER;
public static com.google.protobuf.Parser<Format> parser() {
return DEFAULT_INSTANCE.getParserForType();
}
}
private int bitField0_;
public static final int W_FIELD_NUMBER = 1;
private int w_;
/**
* <pre>
* Exact width in device-independent pixels (DIPS); recommended if no
* format objects are specified.
* Supported by Google.
* </pre>
*
* <code>optional int32 w = 1;</code>
* @return Whether the w field is set.
*/
@java.lang.Override
public boolean hasW() {
return ((bitField0_ & 0x00000001) != 0);
}
/**
* <pre>
* Exact width in device-independent pixels (DIPS); recommended if no
* format objects are specified.
* Supported by Google.
* </pre>
*
* <code>optional int32 w = 1;</code>
* @return The w.
*/
@java.lang.Override
public int getW() {
return w_;
}
/**
* <pre>
* Exact width in device-independent pixels (DIPS); recommended if no
* format objects are specified.
* Supported by Google.
* </pre>
*
* <code>optional int32 w = 1;</code>
* @param value The w to set.
*/
private void setW(int value) {
bitField0_ |= 0x00000001;
w_ = value;
}
/**
* <pre>
* Exact width in device-independent pixels (DIPS); recommended if no
* format objects are specified.
* Supported by Google.
* </pre>
*
* <code>optional int32 w = 1;</code>
*/
private void clearW() {
bitField0_ = (bitField0_ & ~0x00000001);
w_ = 0;
}
public static final int H_FIELD_NUMBER = 2;
private int h_;
/**
* <pre>
* Exact height in device-independent pixels (DIPS); recommended if no
* format objects are specified.
* Supported by Google.
* </pre>
*
* <code>optional int32 h = 2;</code>
* @return Whether the h field is set.
*/
@java.lang.Override
public boolean hasH() {
return ((bitField0_ & 0x00000002) != 0);
}
/**
* <pre>
* Exact height in device-independent pixels (DIPS); recommended if no
* format objects are specified.
* Supported by Google.
* </pre>
*
* <code>optional int32 h = 2;</code>
* @return The h.
*/
@java.lang.Override
public int getH() {
return h_;
}
/**
* <pre>
* Exact height in device-independent pixels (DIPS); recommended if no
* format objects are specified.
* Supported by Google.
* </pre>
*
* <code>optional int32 h = 2;</code>
* @param value The h to set.
*/
private void setH(int value) {
bitField0_ |= 0x00000002;
h_ = value;
}
/**
* <pre>
* Exact height in device-independent pixels (DIPS); recommended if no
* format objects are specified.
* Supported by Google.
* </pre>
*
* <code>optional int32 h = 2;</code>
*/
private void clearH() {
bitField0_ = (bitField0_ & ~0x00000002);
h_ = 0;
}
public static final int FORMAT_FIELD_NUMBER = 15;
private com.google.protobuf.Internal.ProtobufList<com.particles.mes.protos.openrtb.BidRequest.Imp.Banner.Format> format_;
/**
* <pre>
* Array of format objects representing the banner sizes permitted.
* If none are specified, then use of the h and w attributes
* is highly recommended.
* Supported by Google.
* </pre>
*
* <code>repeated .com.google.openrtb.BidRequest.Imp.Banner.Format format = 15;</code>
*/
@java.lang.Override
public java.util.List<com.particles.mes.protos.openrtb.BidRequest.Imp.Banner.Format> getFormatList() {
return format_;
}
/**
* <pre>
* Array of format objects representing the banner sizes permitted.
* If none are specified, then use of the h and w attributes
* is highly recommended.
* Supported by Google.
* </pre>
*
* <code>repeated .com.google.openrtb.BidRequest.Imp.Banner.Format format = 15;</code>
*/
public java.util.List<? extends com.particles.mes.protos.openrtb.BidRequest.Imp.Banner.FormatOrBuilder>
getFormatOrBuilderList() {
return format_;
}
/**
* <pre>
* Array of format objects representing the banner sizes permitted.
* If none are specified, then use of the h and w attributes
* is highly recommended.
* Supported by Google.
* </pre>
*
* <code>repeated .com.google.openrtb.BidRequest.Imp.Banner.Format format = 15;</code>
*/
@java.lang.Override
public int getFormatCount() {
return format_.size();
}
/**
* <pre>
* Array of format objects representing the banner sizes permitted.
* If none are specified, then use of the h and w attributes
* is highly recommended.
* Supported by Google.
* </pre>
*
* <code>repeated .com.google.openrtb.BidRequest.Imp.Banner.Format format = 15;</code>
*/
@java.lang.Override
public com.particles.mes.protos.openrtb.BidRequest.Imp.Banner.Format getFormat(int index) {
return format_.get(index);
}
/**
* <pre>
* Array of format objects representing the banner sizes permitted.
* If none are specified, then use of the h and w attributes
* is highly recommended.
* Supported by Google.
* </pre>
*
* <code>repeated .com.google.openrtb.BidRequest.Imp.Banner.Format format = 15;</code>
*/
public com.particles.mes.protos.openrtb.BidRequest.Imp.Banner.FormatOrBuilder getFormatOrBuilder(
int index) {
return format_.get(index);
}
private void ensureFormatIsMutable() {
com.google.protobuf.Internal.ProtobufList<com.particles.mes.protos.openrtb.BidRequest.Imp.Banner.Format> tmp = format_;
if (!tmp.isModifiable()) {
format_ =
com.google.protobuf.GeneratedMessageLite.mutableCopy(tmp);
}
}
/**
* <pre>
* Array of format objects representing the banner sizes permitted.
* If none are specified, then use of the h and w attributes
* is highly recommended.
* Supported by Google.
* </pre>
*
* <code>repeated .com.google.openrtb.BidRequest.Imp.Banner.Format format = 15;</code>
*/
private void setFormat(
int index, com.particles.mes.protos.openrtb.BidRequest.Imp.Banner.Format value) {
value.getClass();
ensureFormatIsMutable();
format_.set(index, value);
}
/**
* <pre>
* Array of format objects representing the banner sizes permitted.
* If none are specified, then use of the h and w attributes
* is highly recommended.
* Supported by Google.
* </pre>
*
* <code>repeated .com.google.openrtb.BidRequest.Imp.Banner.Format format = 15;</code>
*/
private void addFormat(com.particles.mes.protos.openrtb.BidRequest.Imp.Banner.Format value) {
value.getClass();
ensureFormatIsMutable();
format_.add(value);
}
/**
* <pre>
* Array of format objects representing the banner sizes permitted.
* If none are specified, then use of the h and w attributes
* is highly recommended.
* Supported by Google.
* </pre>
*
* <code>repeated .com.google.openrtb.BidRequest.Imp.Banner.Format format = 15;</code>
*/
private void addFormat(
int index, com.particles.mes.protos.openrtb.BidRequest.Imp.Banner.Format value) {
value.getClass();
ensureFormatIsMutable();
format_.add(index, value);
}
/**
* <pre>
* Array of format objects representing the banner sizes permitted.
* If none are specified, then use of the h and w attributes
* is highly recommended.
* Supported by Google.
* </pre>
*
* <code>repeated .com.google.openrtb.BidRequest.Imp.Banner.Format format = 15;</code>
*/
private void addAllFormat(
java.lang.Iterable<? extends com.particles.mes.protos.openrtb.BidRequest.Imp.Banner.Format> values) {
ensureFormatIsMutable();
com.google.protobuf.AbstractMessageLite.addAll(
values, format_);
}
/**
* <pre>
* Array of format objects representing the banner sizes permitted.
* If none are specified, then use of the h and w attributes
* is highly recommended.
* Supported by Google.
* </pre>
*
* <code>repeated .com.google.openrtb.BidRequest.Imp.Banner.Format format = 15;</code>
*/
private void clearFormat() {
format_ = emptyProtobufList();
}
/**
* <pre>
* Array of format objects representing the banner sizes permitted.
* If none are specified, then use of the h and w attributes
* is highly recommended.
* Supported by Google.
* </pre>
*
* <code>repeated .com.google.openrtb.BidRequest.Imp.Banner.Format format = 15;</code>
*/
private void removeFormat(int index) {
ensureFormatIsMutable();
format_.remove(index);
}
public static final int ID_FIELD_NUMBER = 3;
private java.lang.String id_;
/**
* <pre>
* Unique identifier for this banner object. Recommended when Banner
* objects are used with a Video object (Section 3.2.4) to represent
* an array of companion ads. Values usually start at 1 and increase
* with each object; should be unique within an impression.
* Not supported by Google.
* </pre>
*
* <code>optional string id = 3;</code>
* @return Whether the id field is set.
*/
@java.lang.Override
public boolean hasId() {
return ((bitField0_ & 0x00000004) != 0);
}
/**
* <pre>
* Unique identifier for this banner object. Recommended when Banner
* objects are used with a Video object (Section 3.2.4) to represent
* an array of companion ads. Values usually start at 1 and increase
* with each object; should be unique within an impression.
* Not supported by Google.
* </pre>
*
* <code>optional string id = 3;</code>
* @return The id.
*/
@java.lang.Override
public java.lang.String getId() {
return id_;
}
/**
* <pre>
* Unique identifier for this banner object. Recommended when Banner
* objects are used with a Video object (Section 3.2.4) to represent
* an array of companion ads. Values usually start at 1 and increase
* with each object; should be unique within an impression.
* Not supported by Google.
* </pre>
*
* <code>optional string id = 3;</code>
* @return The bytes for id.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getIdBytes() {
return com.google.protobuf.ByteString.copyFromUtf8(id_);
}
/**
* <pre>
* Unique identifier for this banner object. Recommended when Banner
* objects are used with a Video object (Section 3.2.4) to represent
* an array of companion ads. Values usually start at 1 and increase
* with each object; should be unique within an impression.
* Not supported by Google.
* </pre>
*
* <code>optional string id = 3;</code>
* @param value The id to set.
*/
private void setId(
java.lang.String value) {
java.lang.Class<?> valueClass = value.getClass();
bitField0_ |= 0x00000004;
id_ = value;
}
/**
* <pre>
* Unique identifier for this banner object. Recommended when Banner
* objects are used with a Video object (Section 3.2.4) to represent
* an array of companion ads. Values usually start at 1 and increase
* with each object; should be unique within an impression.
* Not supported by Google.
* </pre>
*
* <code>optional string id = 3;</code>
*/
private void clearId() {
bitField0_ = (bitField0_ & ~0x00000004);
id_ = getDefaultInstance().getId();
}
/**
* <pre>
* Unique identifier for this banner object. Recommended when Banner
* objects are used with a Video object (Section 3.2.4) to represent
* an array of companion ads. Values usually start at 1 and increase
* with each object; should be unique within an impression.
* Not supported by Google.
* </pre>
*
* <code>optional string id = 3;</code>
* @param value The bytes for id to set.
*/
private void setIdBytes(
com.google.protobuf.ByteString value) {
id_ = value.toStringUtf8();
bitField0_ |= 0x00000004;
}
public static final int POS_FIELD_NUMBER = 4;
private int pos_;
/**
* <pre>
* Ad position on screen.
* Supported by Google.
* </pre>
*
* <code>optional .com.google.openrtb.AdPosition pos = 4;</code>
* @return Whether the pos field is set.
*/
@java.lang.Override
public boolean hasPos() {
return ((bitField0_ & 0x00000008) != 0);
}
/**
* <pre>
* Ad position on screen.
* Supported by Google.
* </pre>
*
* <code>optional .com.google.openrtb.AdPosition pos = 4;</code>
* @return The pos.
*/
@java.lang.Override
public com.particles.mes.protos.openrtb.AdPosition getPos() {
com.particles.mes.protos.openrtb.AdPosition result = com.particles.mes.protos.openrtb.AdPosition.forNumber(pos_);
return result == null ? com.particles.mes.protos.openrtb.AdPosition.UNKNOWN : result;
}
/**
* <pre>
* Ad position on screen.
* Supported by Google.
* </pre>
*
* <code>optional .com.google.openrtb.AdPosition pos = 4;</code>
* @param value The pos to set.
*/
private void setPos(com.particles.mes.protos.openrtb.AdPosition value) {
pos_ = value.getNumber();
bitField0_ |= 0x00000008;
}
/**
* <pre>
* Ad position on screen.
* Supported by Google.
* </pre>
*
* <code>optional .com.google.openrtb.AdPosition pos = 4;</code>
*/
private void clearPos() {
bitField0_ = (bitField0_ & ~0x00000008);
pos_ = 0;
}
public static final int BTYPE_FIELD_NUMBER = 5;
private com.google.protobuf.Internal.IntList btype_;
private static final com.google.protobuf.Internal.ListAdapter.Converter<
java.lang.Integer, com.particles.mes.protos.openrtb.BannerAdType> btype_converter_ =
new com.google.protobuf.Internal.ListAdapter.Converter<
java.lang.Integer, com.particles.mes.protos.openrtb.BannerAdType>() {
@java.lang.Override
public com.particles.mes.protos.openrtb.BannerAdType convert(java.lang.Integer from) {
com.particles.mes.protos.openrtb.BannerAdType result = com.particles.mes.protos.openrtb.BannerAdType.forNumber(from);
return result == null ? com.particles.mes.protos.openrtb.BannerAdType.XHTML_TEXT_AD : result;
}
};
/**
* <pre>
* Blocked banner ad types.
* Not supported by Google.
* </pre>
*
* <code>repeated .com.google.openrtb.BannerAdType btype = 5 [packed = true];</code>
* @return A list containing the btype.
*/
@java.lang.Override
public java.util.List<com.particles.mes.protos.openrtb.BannerAdType> getBtypeList() {
return new com.google.protobuf.Internal.ListAdapter<
java.lang.Integer, com.particles.mes.protos.openrtb.BannerAdType>(btype_, btype_converter_);
}
/**
* <pre>
* Blocked banner ad types.
* Not supported by Google.
* </pre>
*
* <code>repeated .com.google.openrtb.BannerAdType btype = 5 [packed = true];</code>
* @return The count of btype.
*/
@java.lang.Override
public int getBtypeCount() {
return btype_.size();
}
/**
* <pre>
* Blocked banner ad types.
* Not supported by Google.
* </pre>
*
* <code>repeated .com.google.openrtb.BannerAdType btype = 5 [packed = true];</code>
* @param index The index of the element to return.
* @return The btype at the given index.
*/
@java.lang.Override
public com.particles.mes.protos.openrtb.BannerAdType getBtype(int index) {
com.particles.mes.protos.openrtb.BannerAdType result = com.particles.mes.protos.openrtb.BannerAdType.forNumber(btype_.getInt(index));
return result == null ? com.particles.mes.protos.openrtb.BannerAdType.XHTML_TEXT_AD : result;
}
private int btypeMemoizedSerializedSize;
private void ensureBtypeIsMutable() {
com.google.protobuf.Internal.IntList tmp = btype_;
if (!tmp.isModifiable()) {
btype_ =
com.google.protobuf.GeneratedMessageLite.mutableCopy(tmp);
}
}
/**
* <pre>
* Blocked banner ad types.
* Not supported by Google.
* </pre>
*
* <code>repeated .com.google.openrtb.BannerAdType btype = 5 [packed = true];</code>
* @param index The index to set the value at.
* @param value The btype to set.
*/
private void setBtype(
int index, com.particles.mes.protos.openrtb.BannerAdType value) {
value.getClass();
ensureBtypeIsMutable();
btype_.setInt(index, value.getNumber());
}
/**
* <pre>
* Blocked banner ad types.
* Not supported by Google.
* </pre>
*
* <code>repeated .com.google.openrtb.BannerAdType btype = 5 [packed = true];</code>
* @param value The btype to add.
*/
private void addBtype(com.particles.mes.protos.openrtb.BannerAdType value) {
value.getClass();
ensureBtypeIsMutable();
btype_.addInt(value.getNumber());
}
/**
* <pre>
* Blocked banner ad types.
* Not supported by Google.
* </pre>
*
* <code>repeated .com.google.openrtb.BannerAdType btype = 5 [packed = true];</code>
* @param values The btype to add.
*/
private void addAllBtype(
java.lang.Iterable<? extends com.particles.mes.protos.openrtb.BannerAdType> values) {
ensureBtypeIsMutable();
for (com.particles.mes.protos.openrtb.BannerAdType value : values) {
btype_.addInt(value.getNumber());
}
}
/**
* <pre>
* Blocked banner ad types.
* Not supported by Google.
* </pre>
*
* <code>repeated .com.google.openrtb.BannerAdType btype = 5 [packed = true];</code>
*/
private void clearBtype() {
btype_ = emptyIntList();
}
public static final int BATTR_FIELD_NUMBER = 6;
private com.google.protobuf.Internal.IntList battr_;
private static final com.google.protobuf.Internal.ListAdapter.Converter<
java.lang.Integer, com.particles.mes.protos.openrtb.CreativeAttribute> battr_converter_ =
new com.google.protobuf.Internal.ListAdapter.Converter<
java.lang.Integer, com.particles.mes.protos.openrtb.CreativeAttribute>() {
@java.lang.Override
public com.particles.mes.protos.openrtb.CreativeAttribute convert(java.lang.Integer from) {
com.particles.mes.protos.openrtb.CreativeAttribute result = com.particles.mes.protos.openrtb.CreativeAttribute.forNumber(from);
return result == null ? com.particles.mes.protos.openrtb.CreativeAttribute.AUDIO_AUTO_PLAY : result;
}
};
/**
* <pre>
* Blocked creative attributes.
* Supported by Google.
* </pre>
*
* <code>repeated .com.google.openrtb.CreativeAttribute battr = 6 [packed = true];</code>
* @return A list containing the battr.
*/
@java.lang.Override
public java.util.List<com.particles.mes.protos.openrtb.CreativeAttribute> getBattrList() {
return new com.google.protobuf.Internal.ListAdapter<
java.lang.Integer, com.particles.mes.protos.openrtb.CreativeAttribute>(battr_, battr_converter_);
}
/**
* <pre>
* Blocked creative attributes.
* Supported by Google.
* </pre>
*
* <code>repeated .com.google.openrtb.CreativeAttribute battr = 6 [packed = true];</code>
* @return The count of battr.
*/
@java.lang.Override
public int getBattrCount() {
return battr_.size();
}
/**
* <pre>
* Blocked creative attributes.
* Supported by Google.
* </pre>
*
* <code>repeated .com.google.openrtb.CreativeAttribute battr = 6 [packed = true];</code>
* @param index The index of the element to return.
* @return The battr at the given index.
*/
@java.lang.Override
public com.particles.mes.protos.openrtb.CreativeAttribute getBattr(int index) {
com.particles.mes.protos.openrtb.CreativeAttribute result = com.particles.mes.protos.openrtb.CreativeAttribute.forNumber(battr_.getInt(index));
return result == null ? com.particles.mes.protos.openrtb.CreativeAttribute.AUDIO_AUTO_PLAY : result;
}
private int battrMemoizedSerializedSize;
private void ensureBattrIsMutable() {
com.google.protobuf.Internal.IntList tmp = battr_;
if (!tmp.isModifiable()) {
battr_ =
com.google.protobuf.GeneratedMessageLite.mutableCopy(tmp);
}
}
/**
* <pre>
* Blocked creative attributes.
* Supported by Google.
* </pre>
*
* <code>repeated .com.google.openrtb.CreativeAttribute battr = 6 [packed = true];</code>
* @param index The index to set the value at.
* @param value The battr to set.
*/
private void setBattr(
int index, com.particles.mes.protos.openrtb.CreativeAttribute value) {
value.getClass();
ensureBattrIsMutable();
battr_.setInt(index, value.getNumber());
}
/**
* <pre>
* Blocked creative attributes.
* Supported by Google.
* </pre>
*
* <code>repeated .com.google.openrtb.CreativeAttribute battr = 6 [packed = true];</code>
* @param value The battr to add.
*/
private void addBattr(com.particles.mes.protos.openrtb.CreativeAttribute value) {
value.getClass();
ensureBattrIsMutable();
battr_.addInt(value.getNumber());
}
/**
* <pre>
* Blocked creative attributes.
* Supported by Google.
* </pre>
*
* <code>repeated .com.google.openrtb.CreativeAttribute battr = 6 [packed = true];</code>
* @param values The battr to add.
*/
private void addAllBattr(
java.lang.Iterable<? extends com.particles.mes.protos.openrtb.CreativeAttribute> values) {
ensureBattrIsMutable();
for (com.particles.mes.protos.openrtb.CreativeAttribute value : values) {
battr_.addInt(value.getNumber());
}
}
/**
* <pre>
* Blocked creative attributes.
* Supported by Google.
* </pre>
*
* <code>repeated .com.google.openrtb.CreativeAttribute battr = 6 [packed = true];</code>
*/
private void clearBattr() {
battr_ = emptyIntList();
}
public static final int MIMES_FIELD_NUMBER = 7;
private com.google.protobuf.Internal.ProtobufList<java.lang.String> mimes_;
/**
* <pre>
* Allowlist of content MIME types supported. Popular MIME types include,
* but are not limited to "image/jpg", "image/gif" and
* "application/x-shockwave-flash".
* Supported by Google.
* </pre>
*
* <code>repeated string mimes = 7;</code>
* @return A list containing the mimes.
*/
@java.lang.Override
public java.util.List<java.lang.String> getMimesList() {
return mimes_;
}
/**
* <pre>
* Allowlist of content MIME types supported. Popular MIME types include,
* but are not limited to "image/jpg", "image/gif" and
* "application/x-shockwave-flash".
* Supported by Google.
* </pre>
*
* <code>repeated string mimes = 7;</code>
* @return The count of mimes.
*/
@java.lang.Override
public int getMimesCount() {
return mimes_.size();
}
/**
* <pre>
* Allowlist of content MIME types supported. Popular MIME types include,
* but are not limited to "image/jpg", "image/gif" and
* "application/x-shockwave-flash".
* Supported by Google.
* </pre>
*
* <code>repeated string mimes = 7;</code>
* @param index The index of the element to return.
* @return The mimes at the given index.
*/
@java.lang.Override
public java.lang.String getMimes(int index) {
return mimes_.get(index);
}
/**
* <pre>
* Allowlist of content MIME types supported. Popular MIME types include,
* but are not limited to "image/jpg", "image/gif" and
* "application/x-shockwave-flash".
* Supported by Google.
* </pre>
*
* <code>repeated string mimes = 7;</code>
* @param index The index of the value to return.
* @return The bytes of the mimes at the given index.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getMimesBytes(int index) {
return com.google.protobuf.ByteString.copyFromUtf8(
mimes_.get(index));
}
private void ensureMimesIsMutable() {
com.google.protobuf.Internal.ProtobufList<java.lang.String> tmp =
mimes_; if (!tmp.isModifiable()) {
mimes_ =
com.google.protobuf.GeneratedMessageLite.mutableCopy(tmp);
}
}
/**
* <pre>
* Allowlist of content MIME types supported. Popular MIME types include,
* but are not limited to "image/jpg", "image/gif" and
* "application/x-shockwave-flash".
* Supported by Google.
* </pre>
*
* <code>repeated string mimes = 7;</code>
* @param index The index to set the value at.
* @param value The mimes to set.
*/
private void setMimes(
int index, java.lang.String value) {
java.lang.Class<?> valueClass = value.getClass();
ensureMimesIsMutable();
mimes_.set(index, value);
}
/**
* <pre>
* Allowlist of content MIME types supported. Popular MIME types include,
* but are not limited to "image/jpg", "image/gif" and
* "application/x-shockwave-flash".
* Supported by Google.
* </pre>
*
* <code>repeated string mimes = 7;</code>
* @param value The mimes to add.
*/
private void addMimes(
java.lang.String value) {
java.lang.Class<?> valueClass = value.getClass();
ensureMimesIsMutable();
mimes_.add(value);
}
/**
* <pre>
* Allowlist of content MIME types supported. Popular MIME types include,
* but are not limited to "image/jpg", "image/gif" and
* "application/x-shockwave-flash".
* Supported by Google.
* </pre>
*
* <code>repeated string mimes = 7;</code>
* @param values The mimes to add.
*/
private void addAllMimes(
java.lang.Iterable<java.lang.String> values) {
ensureMimesIsMutable();
com.google.protobuf.AbstractMessageLite.addAll(
values, mimes_);
}
/**
* <pre>
* Allowlist of content MIME types supported. Popular MIME types include,
* but are not limited to "image/jpg", "image/gif" and
* "application/x-shockwave-flash".
* Supported by Google.
* </pre>
*
* <code>repeated string mimes = 7;</code>
*/
private void clearMimes() {
mimes_ = com.google.protobuf.GeneratedMessageLite.emptyProtobufList();
}
/**
* <pre>
* Allowlist of content MIME types supported. Popular MIME types include,
* but are not limited to "image/jpg", "image/gif" and
* "application/x-shockwave-flash".
* Supported by Google.
* </pre>
*
* <code>repeated string mimes = 7;</code>
* @param value The bytes of the mimes to add.
*/
private void addMimesBytes(
com.google.protobuf.ByteString value) {
ensureMimesIsMutable();
mimes_.add(value.toStringUtf8());
}
public static final int TOPFRAME_FIELD_NUMBER = 8;
private boolean topframe_;
/**
* <pre>
* Specify if the banner is delivered in the top frame (true)
* or in an iframe (false).
* Supported by Google.
* </pre>
*
* <code>optional bool topframe = 8;</code>
* @return Whether the topframe field is set.
*/
@java.lang.Override
public boolean hasTopframe() {
return ((bitField0_ & 0x00000010) != 0);
}
/**
* <pre>
* Specify if the banner is delivered in the top frame (true)
* or in an iframe (false).
* Supported by Google.
* </pre>
*
* <code>optional bool topframe = 8;</code>
* @return The topframe.
*/
@java.lang.Override
public boolean getTopframe() {
return topframe_;
}
/**
* <pre>
* Specify if the banner is delivered in the top frame (true)
* or in an iframe (false).
* Supported by Google.
* </pre>
*
* <code>optional bool topframe = 8;</code>
* @param value The topframe to set.
*/
private void setTopframe(boolean value) {
bitField0_ |= 0x00000010;
topframe_ = value;
}
/**
* <pre>
* Specify if the banner is delivered in the top frame (true)
* or in an iframe (false).
* Supported by Google.
* </pre>
*
* <code>optional bool topframe = 8;</code>
*/
private void clearTopframe() {
bitField0_ = (bitField0_ & ~0x00000010);
topframe_ = false;
}
public static final int EXPDIR_FIELD_NUMBER = 9;
private com.google.protobuf.Internal.IntList expdir_;
private static final com.google.protobuf.Internal.ListAdapter.Converter<
java.lang.Integer, com.particles.mes.protos.openrtb.ExpandableDirection> expdir_converter_ =
new com.google.protobuf.Internal.ListAdapter.Converter<
java.lang.Integer, com.particles.mes.protos.openrtb.ExpandableDirection>() {
@java.lang.Override
public com.particles.mes.protos.openrtb.ExpandableDirection convert(java.lang.Integer from) {
com.particles.mes.protos.openrtb.ExpandableDirection result = com.particles.mes.protos.openrtb.ExpandableDirection.forNumber(from);
return result == null ? com.particles.mes.protos.openrtb.ExpandableDirection.LEFT : result;
}
};
/**
* <pre>
* Directions in which the banner may expand.
* Supported by Google.
* </pre>
*
* <code>repeated .com.google.openrtb.ExpandableDirection expdir = 9 [packed = true];</code>
* @return A list containing the expdir.
*/
@java.lang.Override
public java.util.List<com.particles.mes.protos.openrtb.ExpandableDirection> getExpdirList() {
return new com.google.protobuf.Internal.ListAdapter<
java.lang.Integer, com.particles.mes.protos.openrtb.ExpandableDirection>(expdir_, expdir_converter_);
}
/**
* <pre>
* Directions in which the banner may expand.
* Supported by Google.
* </pre>
*
* <code>repeated .com.google.openrtb.ExpandableDirection expdir = 9 [packed = true];</code>
* @return The count of expdir.
*/
@java.lang.Override
public int getExpdirCount() {
return expdir_.size();
}
/**
* <pre>
* Directions in which the banner may expand.
* Supported by Google.
* </pre>
*
* <code>repeated .com.google.openrtb.ExpandableDirection expdir = 9 [packed = true];</code>
* @param index The index of the element to return.
* @return The expdir at the given index.
*/
@java.lang.Override
public com.particles.mes.protos.openrtb.ExpandableDirection getExpdir(int index) {
com.particles.mes.protos.openrtb.ExpandableDirection result = com.particles.mes.protos.openrtb.ExpandableDirection.forNumber(expdir_.getInt(index));
return result == null ? com.particles.mes.protos.openrtb.ExpandableDirection.LEFT : result;
}
private int expdirMemoizedSerializedSize;
private void ensureExpdirIsMutable() {
com.google.protobuf.Internal.IntList tmp = expdir_;
if (!tmp.isModifiable()) {
expdir_ =
com.google.protobuf.GeneratedMessageLite.mutableCopy(tmp);
}
}
/**
* <pre>
* Directions in which the banner may expand.
* Supported by Google.
* </pre>
*
* <code>repeated .com.google.openrtb.ExpandableDirection expdir = 9 [packed = true];</code>
* @param index The index to set the value at.
* @param value The expdir to set.
*/
private void setExpdir(
int index, com.particles.mes.protos.openrtb.ExpandableDirection value) {
value.getClass();
ensureExpdirIsMutable();
expdir_.setInt(index, value.getNumber());
}
/**
* <pre>
* Directions in which the banner may expand.
* Supported by Google.
* </pre>
*
* <code>repeated .com.google.openrtb.ExpandableDirection expdir = 9 [packed = true];</code>
* @param value The expdir to add.
*/
private void addExpdir(com.particles.mes.protos.openrtb.ExpandableDirection value) {
value.getClass();
ensureExpdirIsMutable();
expdir_.addInt(value.getNumber());
}
/**
* <pre>
* Directions in which the banner may expand.
* Supported by Google.
* </pre>
*
* <code>repeated .com.google.openrtb.ExpandableDirection expdir = 9 [packed = true];</code>
* @param values The expdir to add.
*/
private void addAllExpdir(
java.lang.Iterable<? extends com.particles.mes.protos.openrtb.ExpandableDirection> values) {
ensureExpdirIsMutable();
for (com.particles.mes.protos.openrtb.ExpandableDirection value : values) {
expdir_.addInt(value.getNumber());
}
}
/**
* <pre>
* Directions in which the banner may expand.
* Supported by Google.
* </pre>
*
* <code>repeated .com.google.openrtb.ExpandableDirection expdir = 9 [packed = true];</code>
*/
private void clearExpdir() {
expdir_ = emptyIntList();
}
public static final int API_FIELD_NUMBER = 10;
private com.google.protobuf.Internal.IntList api_;
private static final com.google.protobuf.Internal.ListAdapter.Converter<
java.lang.Integer, com.particles.mes.protos.openrtb.APIFramework> api_converter_ =
new com.google.protobuf.Internal.ListAdapter.Converter<
java.lang.Integer, com.particles.mes.protos.openrtb.APIFramework>() {
@java.lang.Override
public com.particles.mes.protos.openrtb.APIFramework convert(java.lang.Integer from) {
com.particles.mes.protos.openrtb.APIFramework result = com.particles.mes.protos.openrtb.APIFramework.forNumber(from);
return result == null ? com.particles.mes.protos.openrtb.APIFramework.VPAID_1 : result;
}
};
/**
* <pre>
* List of supported API frameworks for this impression.
* If an API is not explicitly listed, it is assumed not to be supported.
* Supported by Google.
* </pre>
*
* <code>repeated .com.google.openrtb.APIFramework api = 10 [packed = true];</code>
* @return A list containing the api.
*/
@java.lang.Override
public java.util.List<com.particles.mes.protos.openrtb.APIFramework> getApiList() {
return new com.google.protobuf.Internal.ListAdapter<
java.lang.Integer, com.particles.mes.protos.openrtb.APIFramework>(api_, api_converter_);
}
/**
* <pre>
* List of supported API frameworks for this impression.
* If an API is not explicitly listed, it is assumed not to be supported.
* Supported by Google.
* </pre>
*
* <code>repeated .com.google.openrtb.APIFramework api = 10 [packed = true];</code>
* @return The count of api.
*/
@java.lang.Override
public int getApiCount() {
return api_.size();
}
/**
* <pre>
* List of supported API frameworks for this impression.
* If an API is not explicitly listed, it is assumed not to be supported.
* Supported by Google.
* </pre>
*
* <code>repeated .com.google.openrtb.APIFramework api = 10 [packed = true];</code>
* @param index The index of the element to return.
* @return The api at the given index.
*/
@java.lang.Override
public com.particles.mes.protos.openrtb.APIFramework getApi(int index) {
com.particles.mes.protos.openrtb.APIFramework result = com.particles.mes.protos.openrtb.APIFramework.forNumber(api_.getInt(index));
return result == null ? com.particles.mes.protos.openrtb.APIFramework.VPAID_1 : result;
}
private int apiMemoizedSerializedSize;
private void ensureApiIsMutable() {
com.google.protobuf.Internal.IntList tmp = api_;
if (!tmp.isModifiable()) {
api_ =
com.google.protobuf.GeneratedMessageLite.mutableCopy(tmp);
}
}
/**
* <pre>
* List of supported API frameworks for this impression.
* If an API is not explicitly listed, it is assumed not to be supported.
* Supported by Google.
* </pre>
*
* <code>repeated .com.google.openrtb.APIFramework api = 10 [packed = true];</code>
* @param index The index to set the value at.
* @param value The api to set.
*/
private void setApi(
int index, com.particles.mes.protos.openrtb.APIFramework value) {
value.getClass();
ensureApiIsMutable();
api_.setInt(index, value.getNumber());
}
/**
* <pre>
* List of supported API frameworks for this impression.
* If an API is not explicitly listed, it is assumed not to be supported.
* Supported by Google.
* </pre>
*
* <code>repeated .com.google.openrtb.APIFramework api = 10 [packed = true];</code>
* @param value The api to add.
*/
private void addApi(com.particles.mes.protos.openrtb.APIFramework value) {
value.getClass();
ensureApiIsMutable();
api_.addInt(value.getNumber());
}
/**
* <pre>
* List of supported API frameworks for this impression.
* If an API is not explicitly listed, it is assumed not to be supported.
* Supported by Google.
* </pre>
*
* <code>repeated .com.google.openrtb.APIFramework api = 10 [packed = true];</code>
* @param values The api to add.
*/
private void addAllApi(
java.lang.Iterable<? extends com.particles.mes.protos.openrtb.APIFramework> values) {
ensureApiIsMutable();
for (com.particles.mes.protos.openrtb.APIFramework value : values) {
api_.addInt(value.getNumber());
}
}
/**
* <pre>
* List of supported API frameworks for this impression.
* If an API is not explicitly listed, it is assumed not to be supported.
* Supported by Google.
* </pre>
*
* <code>repeated .com.google.openrtb.APIFramework api = 10 [packed = true];</code>
*/
private void clearApi() {
api_ = emptyIntList();
}
public static final int VCM_FIELD_NUMBER = 16;
private boolean vcm_;
/**
* <pre>
* Relevant only for Banner objects used with a Video object
* (Section 3.2.7) in an array of companion ads. Indicates the
* companion banner rendering mode relative to the associated
* video, where false = concurrent, true = end-card.
* Supported by Google.
* </pre>
*
* <code>optional bool vcm = 16;</code>
* @return Whether the vcm field is set.
*/
@java.lang.Override
public boolean hasVcm() {
return ((bitField0_ & 0x00000020) != 0);
}
/**
* <pre>
* Relevant only for Banner objects used with a Video object
* (Section 3.2.7) in an array of companion ads. Indicates the
* companion banner rendering mode relative to the associated
* video, where false = concurrent, true = end-card.
* Supported by Google.
* </pre>
*
* <code>optional bool vcm = 16;</code>
* @return The vcm.
*/
@java.lang.Override
public boolean getVcm() {
return vcm_;
}
/**
* <pre>
* Relevant only for Banner objects used with a Video object
* (Section 3.2.7) in an array of companion ads. Indicates the
* companion banner rendering mode relative to the associated
* video, where false = concurrent, true = end-card.
* Supported by Google.
* </pre>
*
* <code>optional bool vcm = 16;</code>
* @param value The vcm to set.
*/
private void setVcm(boolean value) {
bitField0_ |= 0x00000020;
vcm_ = value;
}
/**
* <pre>
* Relevant only for Banner objects used with a Video object
* (Section 3.2.7) in an array of companion ads. Indicates the
* companion banner rendering mode relative to the associated
* video, where false = concurrent, true = end-card.
* Supported by Google.
* </pre>
*
* <code>optional bool vcm = 16;</code>
*/
private void clearVcm() {
bitField0_ = (bitField0_ & ~0x00000020);
vcm_ = false;
}
public static final int WMAX_FIELD_NUMBER = 11;
private int wmax_;
/**
* <pre>
* DEPRECATED in OpenRTB 2.4+, REMOVED in 2.6+; prefer the field format.
* Maximum width in device independent pixels (DIPS).
* Supported by Google.
* </pre>
*
* <code>optional int32 wmax = 11 [deprecated = true];</code>
* @deprecated com.google.openrtb.BidRequest.Imp.Banner.wmax is deprecated.
* See openrtb/openrtb-v26.proto;l=173
* @return Whether the wmax field is set.
*/
@java.lang.Override
@java.lang.Deprecated public boolean hasWmax() {
return ((bitField0_ & 0x00000040) != 0);
}
/**
* <pre>
* DEPRECATED in OpenRTB 2.4+, REMOVED in 2.6+; prefer the field format.
* Maximum width in device independent pixels (DIPS).
* Supported by Google.
* </pre>
*
* <code>optional int32 wmax = 11 [deprecated = true];</code>
* @deprecated com.google.openrtb.BidRequest.Imp.Banner.wmax is deprecated.
* See openrtb/openrtb-v26.proto;l=173
* @return The wmax.
*/
@java.lang.Override
@java.lang.Deprecated public int getWmax() {
return wmax_;
}
/**
* <pre>
* DEPRECATED in OpenRTB 2.4+, REMOVED in 2.6+; prefer the field format.
* Maximum width in device independent pixels (DIPS).
* Supported by Google.
* </pre>
*
* <code>optional int32 wmax = 11 [deprecated = true];</code>
* @deprecated com.google.openrtb.BidRequest.Imp.Banner.wmax is deprecated.
* See openrtb/openrtb-v26.proto;l=173
* @param value The wmax to set.
*/
private void setWmax(int value) {
bitField0_ |= 0x00000040;
wmax_ = value;
}
/**
* <pre>
* DEPRECATED in OpenRTB 2.4+, REMOVED in 2.6+; prefer the field format.
* Maximum width in device independent pixels (DIPS).
* Supported by Google.
* </pre>
*
* <code>optional int32 wmax = 11 [deprecated = true];</code>
* @deprecated com.google.openrtb.BidRequest.Imp.Banner.wmax is deprecated.
* See openrtb/openrtb-v26.proto;l=173
*/
private void clearWmax() {
bitField0_ = (bitField0_ & ~0x00000040);
wmax_ = 0;
}
public static final int HMAX_FIELD_NUMBER = 12;
private int hmax_;
/**
* <pre>
* DEPRECATED in OpenRTB 2.4+, REMOVED in 2.6+; prefer the field format.
* Maximum height in device independent pixels (DIPS).
* Supported by Google.
* </pre>
*
* <code>optional int32 hmax = 12 [deprecated = true];</code>
* @deprecated com.google.openrtb.BidRequest.Imp.Banner.hmax is deprecated.
* See openrtb/openrtb-v26.proto;l=178
* @return Whether the hmax field is set.
*/
@java.lang.Override
@java.lang.Deprecated public boolean hasHmax() {
return ((bitField0_ & 0x00000080) != 0);
}
/**
* <pre>
* DEPRECATED in OpenRTB 2.4+, REMOVED in 2.6+; prefer the field format.
* Maximum height in device independent pixels (DIPS).
* Supported by Google.
* </pre>
*
* <code>optional int32 hmax = 12 [deprecated = true];</code>
* @deprecated com.google.openrtb.BidRequest.Imp.Banner.hmax is deprecated.
* See openrtb/openrtb-v26.proto;l=178
* @return The hmax.
*/
@java.lang.Override
@java.lang.Deprecated public int getHmax() {
return hmax_;
}
/**
* <pre>
* DEPRECATED in OpenRTB 2.4+, REMOVED in 2.6+; prefer the field format.
* Maximum height in device independent pixels (DIPS).
* Supported by Google.
* </pre>
*
* <code>optional int32 hmax = 12 [deprecated = true];</code>
* @deprecated com.google.openrtb.BidRequest.Imp.Banner.hmax is deprecated.
* See openrtb/openrtb-v26.proto;l=178
* @param value The hmax to set.
*/
private void setHmax(int value) {
bitField0_ |= 0x00000080;
hmax_ = value;
}
/**
* <pre>
* DEPRECATED in OpenRTB 2.4+, REMOVED in 2.6+; prefer the field format.
* Maximum height in device independent pixels (DIPS).
* Supported by Google.
* </pre>
*
* <code>optional int32 hmax = 12 [deprecated = true];</code>
* @deprecated com.google.openrtb.BidRequest.Imp.Banner.hmax is deprecated.
* See openrtb/openrtb-v26.proto;l=178
*/
private void clearHmax() {
bitField0_ = (bitField0_ & ~0x00000080);
hmax_ = 0;
}
public static final int WMIN_FIELD_NUMBER = 13;
private int wmin_;
/**
* <pre>
* DEPRECATED in OpenRTB 2.4+, REMOVED in 2.6+; prefer the field format.
* Minimum width in device independent pixels (DIPS).
* Supported by Google.
* </pre>
*
* <code>optional int32 wmin = 13 [deprecated = true];</code>
* @deprecated com.google.openrtb.BidRequest.Imp.Banner.wmin is deprecated.
* See openrtb/openrtb-v26.proto;l=183
* @return Whether the wmin field is set.
*/
@java.lang.Override
@java.lang.Deprecated public boolean hasWmin() {
return ((bitField0_ & 0x00000100) != 0);
}
/**
* <pre>
* DEPRECATED in OpenRTB 2.4+, REMOVED in 2.6+; prefer the field format.
* Minimum width in device independent pixels (DIPS).
* Supported by Google.
* </pre>
*
* <code>optional int32 wmin = 13 [deprecated = true];</code>
* @deprecated com.google.openrtb.BidRequest.Imp.Banner.wmin is deprecated.
* See openrtb/openrtb-v26.proto;l=183
* @return The wmin.
*/
@java.lang.Override
@java.lang.Deprecated public int getWmin() {
return wmin_;
}
/**
* <pre>
* DEPRECATED in OpenRTB 2.4+, REMOVED in 2.6+; prefer the field format.
* Minimum width in device independent pixels (DIPS).
* Supported by Google.
* </pre>
*
* <code>optional int32 wmin = 13 [deprecated = true];</code>
* @deprecated com.google.openrtb.BidRequest.Imp.Banner.wmin is deprecated.
* See openrtb/openrtb-v26.proto;l=183
* @param value The wmin to set.
*/
private void setWmin(int value) {
bitField0_ |= 0x00000100;
wmin_ = value;
}
/**
* <pre>
* DEPRECATED in OpenRTB 2.4+, REMOVED in 2.6+; prefer the field format.
* Minimum width in device independent pixels (DIPS).
* Supported by Google.
* </pre>
*
* <code>optional int32 wmin = 13 [deprecated = true];</code>
* @deprecated com.google.openrtb.BidRequest.Imp.Banner.wmin is deprecated.
* See openrtb/openrtb-v26.proto;l=183
*/
private void clearWmin() {
bitField0_ = (bitField0_ & ~0x00000100);
wmin_ = 0;
}
public static final int HMIN_FIELD_NUMBER = 14;
private int hmin_;
/**
* <pre>
* DEPRECATED in OpenRTB 2.4+, REMOVED in 2.6+; prefer the field format.
* Minimum height in device independent pixels (DIPS).
* Supported by Google.
* </pre>
*
* <code>optional int32 hmin = 14 [deprecated = true];</code>
* @deprecated com.google.openrtb.BidRequest.Imp.Banner.hmin is deprecated.
* See openrtb/openrtb-v26.proto;l=188
* @return Whether the hmin field is set.
*/
@java.lang.Override
@java.lang.Deprecated public boolean hasHmin() {
return ((bitField0_ & 0x00000200) != 0);
}
/**
* <pre>
* DEPRECATED in OpenRTB 2.4+, REMOVED in 2.6+; prefer the field format.
* Minimum height in device independent pixels (DIPS).
* Supported by Google.
* </pre>
*
* <code>optional int32 hmin = 14 [deprecated = true];</code>
* @deprecated com.google.openrtb.BidRequest.Imp.Banner.hmin is deprecated.
* See openrtb/openrtb-v26.proto;l=188
* @return The hmin.
*/
@java.lang.Override
@java.lang.Deprecated public int getHmin() {
return hmin_;
}
/**
* <pre>
* DEPRECATED in OpenRTB 2.4+, REMOVED in 2.6+; prefer the field format.
* Minimum height in device independent pixels (DIPS).
* Supported by Google.
* </pre>
*
* <code>optional int32 hmin = 14 [deprecated = true];</code>
* @deprecated com.google.openrtb.BidRequest.Imp.Banner.hmin is deprecated.
* See openrtb/openrtb-v26.proto;l=188
* @param value The hmin to set.
*/
private void setHmin(int value) {
bitField0_ |= 0x00000200;
hmin_ = value;
}
/**
* <pre>
* DEPRECATED in OpenRTB 2.4+, REMOVED in 2.6+; prefer the field format.
* Minimum height in device independent pixels (DIPS).
* Supported by Google.
* </pre>
*
* <code>optional int32 hmin = 14 [deprecated = true];</code>
* @deprecated com.google.openrtb.BidRequest.Imp.Banner.hmin is deprecated.
* See openrtb/openrtb-v26.proto;l=188
*/
private void clearHmin() {
bitField0_ = (bitField0_ & ~0x00000200);
hmin_ = 0;
}
public static com.particles.mes.protos.openrtb.BidRequest.Imp.Banner parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, data);
}
public static com.particles.mes.protos.openrtb.BidRequest.Imp.Banner parseFrom(
java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, data, extensionRegistry);
}
public static com.particles.mes.protos.openrtb.BidRequest.Imp.Banner parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, data);
}
public static com.particles.mes.protos.openrtb.BidRequest.Imp.Banner parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, data, extensionRegistry);
}
public static com.particles.mes.protos.openrtb.BidRequest.Imp.Banner parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, data);
}
public static com.particles.mes.protos.openrtb.BidRequest.Imp.Banner parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, data, extensionRegistry);
}
public static com.particles.mes.protos.openrtb.BidRequest.Imp.Banner parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, input);
}
public static com.particles.mes.protos.openrtb.BidRequest.Imp.Banner parseFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, input, extensionRegistry);
}
public static com.particles.mes.protos.openrtb.BidRequest.Imp.Banner parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return parseDelimitedFrom(DEFAULT_INSTANCE, input);
}
public static com.particles.mes.protos.openrtb.BidRequest.Imp.Banner parseDelimitedFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return parseDelimitedFrom(DEFAULT_INSTANCE, input, extensionRegistry);
}
public static com.particles.mes.protos.openrtb.BidRequest.Imp.Banner parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, input);
}
public static com.particles.mes.protos.openrtb.BidRequest.Imp.Banner parseFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, input, extensionRegistry);
}
public static Builder newBuilder() {
return (Builder) DEFAULT_INSTANCE.createBuilder();
}
public static Builder newBuilder(com.particles.mes.protos.openrtb.BidRequest.Imp.Banner prototype) {
return (Builder) DEFAULT_INSTANCE.createBuilder(prototype);
}
/**
* <pre>
* OpenRTB 2.0: This object represents the most general type of
* impression. Although the term "banner" may have very specific meaning
* in other contexts, here it can be many things including a simple static
* image, an expandable ad unit, or even in-banner video (refer to the Video
* object in Section 3.2.4 for the more generalized and full featured video
* ad units). An array of Banner objects can also appear within the Video
* to describe optional companion ads defined in the VAST specification.
* The presence of a Banner as a subordinate of the Imp object indicates
* that this impression is offered as a banner type impression.
* At the publisher's discretion, that same impression may also be offered
* as video and/or native by also including as Imp subordinates the Video
* and/or Native objects, respectively. However, any given bid for the
* impression must conform to one of the offered types.
* </pre>
*
* Protobuf type {@code com.google.openrtb.BidRequest.Imp.Banner}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageLite.ExtendableBuilder<
com.particles.mes.protos.openrtb.BidRequest.Imp.Banner, Builder> implements
// @@protoc_insertion_point(builder_implements:com.google.openrtb.BidRequest.Imp.Banner)
com.particles.mes.protos.openrtb.BidRequest.Imp.BannerOrBuilder {
// Construct using com.particles.mes.protos.openrtb.BidRequest.Imp.Banner.newBuilder()
private Builder() {
super(DEFAULT_INSTANCE);
}
/**
* <pre>
* Exact width in device-independent pixels (DIPS); recommended if no
* format objects are specified.
* Supported by Google.
* </pre>
*
* <code>optional int32 w = 1;</code>
* @return Whether the w field is set.
*/
@java.lang.Override
public boolean hasW() {
return instance.hasW();
}
/**
* <pre>
* Exact width in device-independent pixels (DIPS); recommended if no
* format objects are specified.
* Supported by Google.
* </pre>
*
* <code>optional int32 w = 1;</code>
* @return The w.
*/
@java.lang.Override
public int getW() {
return instance.getW();
}
/**
* <pre>
* Exact width in device-independent pixels (DIPS); recommended if no
* format objects are specified.
* Supported by Google.
* </pre>
*
* <code>optional int32 w = 1;</code>
* @param value The w to set.
* @return This builder for chaining.
*/
public Builder setW(int value) {
copyOnWrite();
instance.setW(value);
return this;
}
/**
* <pre>
* Exact width in device-independent pixels (DIPS); recommended if no
* format objects are specified.
* Supported by Google.
* </pre>
*
* <code>optional int32 w = 1;</code>
* @return This builder for chaining.
*/
public Builder clearW() {
copyOnWrite();
instance.clearW();
return this;
}
/**
* <pre>
* Exact height in device-independent pixels (DIPS); recommended if no
* format objects are specified.
* Supported by Google.
* </pre>
*
* <code>optional int32 h = 2;</code>
* @return Whether the h field is set.
*/
@java.lang.Override
public boolean hasH() {
return instance.hasH();
}
/**
* <pre>
* Exact height in device-independent pixels (DIPS); recommended if no
* format objects are specified.
* Supported by Google.
* </pre>
*
* <code>optional int32 h = 2;</code>
* @return The h.
*/
@java.lang.Override
public int getH() {
return instance.getH();
}
/**
* <pre>
* Exact height in device-independent pixels (DIPS); recommended if no
* format objects are specified.
* Supported by Google.
* </pre>
*
* <code>optional int32 h = 2;</code>
* @param value The h to set.
* @return This builder for chaining.
*/
public Builder setH(int value) {
copyOnWrite();
instance.setH(value);
return this;
}
/**
* <pre>
* Exact height in device-independent pixels (DIPS); recommended if no
* format objects are specified.
* Supported by Google.
* </pre>
*
* <code>optional int32 h = 2;</code>
* @return This builder for chaining.
*/
public Builder clearH() {
copyOnWrite();
instance.clearH();
return this;
}
/**
* <pre>
* Array of format objects representing the banner sizes permitted.
* If none are specified, then use of the h and w attributes
* is highly recommended.
* Supported by Google.
* </pre>
*
* <code>repeated .com.google.openrtb.BidRequest.Imp.Banner.Format format = 15;</code>
*/
@java.lang.Override
public java.util.List<com.particles.mes.protos.openrtb.BidRequest.Imp.Banner.Format> getFormatList() {
return java.util.Collections.unmodifiableList(
instance.getFormatList());
}
/**
* <pre>
* Array of format objects representing the banner sizes permitted.
* If none are specified, then use of the h and w attributes
* is highly recommended.
* Supported by Google.
* </pre>
*
* <code>repeated .com.google.openrtb.BidRequest.Imp.Banner.Format format = 15;</code>
*/
@java.lang.Override
public int getFormatCount() {
return instance.getFormatCount();
}/**
* <pre>
* Array of format objects representing the banner sizes permitted.
* If none are specified, then use of the h and w attributes
* is highly recommended.
* Supported by Google.
* </pre>
*
* <code>repeated .com.google.openrtb.BidRequest.Imp.Banner.Format format = 15;</code>
*/
@java.lang.Override
public com.particles.mes.protos.openrtb.BidRequest.Imp.Banner.Format getFormat(int index) {
return instance.getFormat(index);
}
/**
* <pre>
* Array of format objects representing the banner sizes permitted.
* If none are specified, then use of the h and w attributes
* is highly recommended.
* Supported by Google.
* </pre>
*
* <code>repeated .com.google.openrtb.BidRequest.Imp.Banner.Format format = 15;</code>
*/
public Builder setFormat(
int index, com.particles.mes.protos.openrtb.BidRequest.Imp.Banner.Format value) {
copyOnWrite();
instance.setFormat(index, value);
return this;
}
/**
* <pre>
* Array of format objects representing the banner sizes permitted.
* If none are specified, then use of the h and w attributes
* is highly recommended.
* Supported by Google.
* </pre>
*
* <code>repeated .com.google.openrtb.BidRequest.Imp.Banner.Format format = 15;</code>
*/
public Builder setFormat(
int index, com.particles.mes.protos.openrtb.BidRequest.Imp.Banner.Format.Builder builderForValue) {
copyOnWrite();
instance.setFormat(index,
builderForValue.build());
return this;
}
/**
* <pre>
* Array of format objects representing the banner sizes permitted.
* If none are specified, then use of the h and w attributes
* is highly recommended.
* Supported by Google.
* </pre>
*
* <code>repeated .com.google.openrtb.BidRequest.Imp.Banner.Format format = 15;</code>
*/
public Builder addFormat(com.particles.mes.protos.openrtb.BidRequest.Imp.Banner.Format value) {
copyOnWrite();
instance.addFormat(value);
return this;
}
/**
* <pre>
* Array of format objects representing the banner sizes permitted.
* If none are specified, then use of the h and w attributes
* is highly recommended.
* Supported by Google.
* </pre>
*
* <code>repeated .com.google.openrtb.BidRequest.Imp.Banner.Format format = 15;</code>
*/
public Builder addFormat(
int index, com.particles.mes.protos.openrtb.BidRequest.Imp.Banner.Format value) {
copyOnWrite();
instance.addFormat(index, value);
return this;
}
/**
* <pre>
* Array of format objects representing the banner sizes permitted.
* If none are specified, then use of the h and w attributes
* is highly recommended.
* Supported by Google.
* </pre>
*
* <code>repeated .com.google.openrtb.BidRequest.Imp.Banner.Format format = 15;</code>
*/
public Builder addFormat(
com.particles.mes.protos.openrtb.BidRequest.Imp.Banner.Format.Builder builderForValue) {
copyOnWrite();
instance.addFormat(builderForValue.build());
return this;
}
/**
* <pre>
* Array of format objects representing the banner sizes permitted.
* If none are specified, then use of the h and w attributes
* is highly recommended.
* Supported by Google.
* </pre>
*
* <code>repeated .com.google.openrtb.BidRequest.Imp.Banner.Format format = 15;</code>
*/
public Builder addFormat(
int index, com.particles.mes.protos.openrtb.BidRequest.Imp.Banner.Format.Builder builderForValue) {
copyOnWrite();
instance.addFormat(index,
builderForValue.build());
return this;
}
/**
* <pre>
* Array of format objects representing the banner sizes permitted.
* If none are specified, then use of the h and w attributes
* is highly recommended.
* Supported by Google.
* </pre>
*
* <code>repeated .com.google.openrtb.BidRequest.Imp.Banner.Format format = 15;</code>
*/
public Builder addAllFormat(
java.lang.Iterable<? extends com.particles.mes.protos.openrtb.BidRequest.Imp.Banner.Format> values) {
copyOnWrite();
instance.addAllFormat(values);
return this;
}
/**
* <pre>
* Array of format objects representing the banner sizes permitted.
* If none are specified, then use of the h and w attributes
* is highly recommended.
* Supported by Google.
* </pre>
*
* <code>repeated .com.google.openrtb.BidRequest.Imp.Banner.Format format = 15;</code>
*/
public Builder clearFormat() {
copyOnWrite();
instance.clearFormat();
return this;
}
/**
* <pre>
* Array of format objects representing the banner sizes permitted.
* If none are specified, then use of the h and w attributes
* is highly recommended.
* Supported by Google.
* </pre>
*
* <code>repeated .com.google.openrtb.BidRequest.Imp.Banner.Format format = 15;</code>
*/
public Builder removeFormat(int index) {
copyOnWrite();
instance.removeFormat(index);
return this;
}
/**
* <pre>
* Unique identifier for this banner object. Recommended when Banner
* objects are used with a Video object (Section 3.2.4) to represent
* an array of companion ads. Values usually start at 1 and increase
* with each object; should be unique within an impression.
* Not supported by Google.
* </pre>
*
* <code>optional string id = 3;</code>
* @return Whether the id field is set.
*/
@java.lang.Override
public boolean hasId() {
return instance.hasId();
}
/**
* <pre>
* Unique identifier for this banner object. Recommended when Banner
* objects are used with a Video object (Section 3.2.4) to represent
* an array of companion ads. Values usually start at 1 and increase
* with each object; should be unique within an impression.
* Not supported by Google.
* </pre>
*
* <code>optional string id = 3;</code>
* @return The id.
*/
@java.lang.Override
public java.lang.String getId() {
return instance.getId();
}
/**
* <pre>
* Unique identifier for this banner object. Recommended when Banner
* objects are used with a Video object (Section 3.2.4) to represent
* an array of companion ads. Values usually start at 1 and increase
* with each object; should be unique within an impression.
* Not supported by Google.
* </pre>
*
* <code>optional string id = 3;</code>
* @return The bytes for id.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getIdBytes() {
return instance.getIdBytes();
}
/**
* <pre>
* Unique identifier for this banner object. Recommended when Banner
* objects are used with a Video object (Section 3.2.4) to represent
* an array of companion ads. Values usually start at 1 and increase
* with each object; should be unique within an impression.
* Not supported by Google.
* </pre>
*
* <code>optional string id = 3;</code>
* @param value The id to set.
* @return This builder for chaining.
*/
public Builder setId(
java.lang.String value) {
copyOnWrite();
instance.setId(value);
return this;
}
/**
* <pre>
* Unique identifier for this banner object. Recommended when Banner
* objects are used with a Video object (Section 3.2.4) to represent
* an array of companion ads. Values usually start at 1 and increase
* with each object; should be unique within an impression.
* Not supported by Google.
* </pre>
*
* <code>optional string id = 3;</code>
* @return This builder for chaining.
*/
public Builder clearId() {
copyOnWrite();
instance.clearId();
return this;
}
/**
* <pre>
* Unique identifier for this banner object. Recommended when Banner
* objects are used with a Video object (Section 3.2.4) to represent
* an array of companion ads. Values usually start at 1 and increase
* with each object; should be unique within an impression.
* Not supported by Google.
* </pre>
*
* <code>optional string id = 3;</code>
* @param value The bytes for id to set.
* @return This builder for chaining.
*/
public Builder setIdBytes(
com.google.protobuf.ByteString value) {
copyOnWrite();
instance.setIdBytes(value);
return this;
}
/**
* <pre>
* Ad position on screen.
* Supported by Google.
* </pre>
*
* <code>optional .com.google.openrtb.AdPosition pos = 4;</code>
* @return Whether the pos field is set.
*/
@java.lang.Override
public boolean hasPos() {
return instance.hasPos();
}
/**
* <pre>
* Ad position on screen.
* Supported by Google.
* </pre>
*
* <code>optional .com.google.openrtb.AdPosition pos = 4;</code>
* @return The pos.
*/
@java.lang.Override
public com.particles.mes.protos.openrtb.AdPosition getPos() {
return instance.getPos();
}
/**
* <pre>
* Ad position on screen.
* Supported by Google.
* </pre>
*
* <code>optional .com.google.openrtb.AdPosition pos = 4;</code>
* @param value The enum numeric value on the wire for pos to set.
* @return This builder for chaining.
*/
public Builder setPos(com.particles.mes.protos.openrtb.AdPosition value) {
copyOnWrite();
instance.setPos(value);
return this;
}
/**
* <pre>
* Ad position on screen.
* Supported by Google.
* </pre>
*
* <code>optional .com.google.openrtb.AdPosition pos = 4;</code>
* @return This builder for chaining.
*/
public Builder clearPos() {
copyOnWrite();
instance.clearPos();
return this;
}
/**
* <pre>
* Blocked banner ad types.
* Not supported by Google.
* </pre>
*
* <code>repeated .com.google.openrtb.BannerAdType btype = 5 [packed = true];</code>
* @return A list containing the btype.
*/
@java.lang.Override
public java.util.List<com.particles.mes.protos.openrtb.BannerAdType> getBtypeList() {
return instance.getBtypeList();
}
/**
* <pre>
* Blocked banner ad types.
* Not supported by Google.
* </pre>
*
* <code>repeated .com.google.openrtb.BannerAdType btype = 5 [packed = true];</code>
* @return The count of btype.
*/
@java.lang.Override
public int getBtypeCount() {
return instance.getBtypeCount();
}
/**
* <pre>
* Blocked banner ad types.
* Not supported by Google.
* </pre>
*
* <code>repeated .com.google.openrtb.BannerAdType btype = 5 [packed = true];</code>
* @param index The index of the element to return.
* @return The btype at the given index.
*/
@java.lang.Override
public com.particles.mes.protos.openrtb.BannerAdType getBtype(int index) {
return instance.getBtype(index);
}
/**
* <pre>
* Blocked banner ad types.
* Not supported by Google.
* </pre>
*
* <code>repeated .com.google.openrtb.BannerAdType btype = 5 [packed = true];</code>
* @param index The index to set the value at.
* @param value The btype to set.
* @return This builder for chaining.
*/
public Builder setBtype(
int index, com.particles.mes.protos.openrtb.BannerAdType value) {
copyOnWrite();
instance.setBtype(index, value);
return this;
}
/**
* <pre>
* Blocked banner ad types.
* Not supported by Google.
* </pre>
*
* <code>repeated .com.google.openrtb.BannerAdType btype = 5 [packed = true];</code>
* @param value The btype to add.
* @return This builder for chaining.
*/
public Builder addBtype(com.particles.mes.protos.openrtb.BannerAdType value) {
copyOnWrite();
instance.addBtype(value);
return this;
}
/**
* <pre>
* Blocked banner ad types.
* Not supported by Google.
* </pre>
*
* <code>repeated .com.google.openrtb.BannerAdType btype = 5 [packed = true];</code>
* @param values The btype to add.
* @return This builder for chaining.
*/
public Builder addAllBtype(
java.lang.Iterable<? extends com.particles.mes.protos.openrtb.BannerAdType> values) {
copyOnWrite();
instance.addAllBtype(values); return this;
}
/**
* <pre>
* Blocked banner ad types.
* Not supported by Google.
* </pre>
*
* <code>repeated .com.google.openrtb.BannerAdType btype = 5 [packed = true];</code>
* @return This builder for chaining.
*/
public Builder clearBtype() {
copyOnWrite();
instance.clearBtype();
return this;
}
/**
* <pre>
* Blocked creative attributes.
* Supported by Google.
* </pre>
*
* <code>repeated .com.google.openrtb.CreativeAttribute battr = 6 [packed = true];</code>
* @return A list containing the battr.
*/
@java.lang.Override
public java.util.List<com.particles.mes.protos.openrtb.CreativeAttribute> getBattrList() {
return instance.getBattrList();
}
/**
* <pre>
* Blocked creative attributes.
* Supported by Google.
* </pre>
*
* <code>repeated .com.google.openrtb.CreativeAttribute battr = 6 [packed = true];</code>
* @return The count of battr.
*/
@java.lang.Override
public int getBattrCount() {
return instance.getBattrCount();
}
/**
* <pre>
* Blocked creative attributes.
* Supported by Google.
* </pre>
*
* <code>repeated .com.google.openrtb.CreativeAttribute battr = 6 [packed = true];</code>
* @param index The index of the element to return.
* @return The battr at the given index.
*/
@java.lang.Override
public com.particles.mes.protos.openrtb.CreativeAttribute getBattr(int index) {
return instance.getBattr(index);
}
/**
* <pre>
* Blocked creative attributes.
* Supported by Google.
* </pre>
*
* <code>repeated .com.google.openrtb.CreativeAttribute battr = 6 [packed = true];</code>
* @param index The index to set the value at.
* @param value The battr to set.
* @return This builder for chaining.
*/
public Builder setBattr(
int index, com.particles.mes.protos.openrtb.CreativeAttribute value) {
copyOnWrite();
instance.setBattr(index, value);
return this;
}
/**
* <pre>
* Blocked creative attributes.
* Supported by Google.
* </pre>
*
* <code>repeated .com.google.openrtb.CreativeAttribute battr = 6 [packed = true];</code>
* @param value The battr to add.
* @return This builder for chaining.
*/
public Builder addBattr(com.particles.mes.protos.openrtb.CreativeAttribute value) {
copyOnWrite();
instance.addBattr(value);
return this;
}
/**
* <pre>
* Blocked creative attributes.
* Supported by Google.
* </pre>
*
* <code>repeated .com.google.openrtb.CreativeAttribute battr = 6 [packed = true];</code>
* @param values The battr to add.
* @return This builder for chaining.
*/
public Builder addAllBattr(
java.lang.Iterable<? extends com.particles.mes.protos.openrtb.CreativeAttribute> values) {
copyOnWrite();
instance.addAllBattr(values); return this;
}
/**
* <pre>
* Blocked creative attributes.
* Supported by Google.
* </pre>
*
* <code>repeated .com.google.openrtb.CreativeAttribute battr = 6 [packed = true];</code>
* @return This builder for chaining.
*/
public Builder clearBattr() {
copyOnWrite();
instance.clearBattr();
return this;
}
/**
* <pre>
* Allowlist of content MIME types supported. Popular MIME types include,
* but are not limited to "image/jpg", "image/gif" and
* "application/x-shockwave-flash".
* Supported by Google.
* </pre>
*
* <code>repeated string mimes = 7;</code>
* @return A list containing the mimes.
*/
@java.lang.Override
public java.util.List<java.lang.String>
getMimesList() {
return java.util.Collections.unmodifiableList(
instance.getMimesList());
}
/**
* <pre>
* Allowlist of content MIME types supported. Popular MIME types include,
* but are not limited to "image/jpg", "image/gif" and
* "application/x-shockwave-flash".
* Supported by Google.
* </pre>
*
* <code>repeated string mimes = 7;</code>
* @return The count of mimes.
*/
@java.lang.Override
public int getMimesCount() {
return instance.getMimesCount();
}
/**
* <pre>
* Allowlist of content MIME types supported. Popular MIME types include,
* but are not limited to "image/jpg", "image/gif" and
* "application/x-shockwave-flash".
* Supported by Google.
* </pre>
*
* <code>repeated string mimes = 7;</code>
* @param index The index of the element to return.
* @return The mimes at the given index.
*/
@java.lang.Override
public java.lang.String getMimes(int index) {
return instance.getMimes(index);
}
/**
* <pre>
* Allowlist of content MIME types supported. Popular MIME types include,
* but are not limited to "image/jpg", "image/gif" and
* "application/x-shockwave-flash".
* Supported by Google.
* </pre>
*
* <code>repeated string mimes = 7;</code>
* @param index The index of the value to return.
* @return The bytes of the mimes at the given index.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getMimesBytes(int index) {
return instance.getMimesBytes(index);
}
/**
* <pre>
* Allowlist of content MIME types supported. Popular MIME types include,
* but are not limited to "image/jpg", "image/gif" and
* "application/x-shockwave-flash".
* Supported by Google.
* </pre>
*
* <code>repeated string mimes = 7;</code>
* @param index The index to set the value at.
* @param value The mimes to set.
* @return This builder for chaining.
*/
public Builder setMimes(
int index, java.lang.String value) {
copyOnWrite();
instance.setMimes(index, value);
return this;
}
/**
* <pre>
* Allowlist of content MIME types supported. Popular MIME types include,
* but are not limited to "image/jpg", "image/gif" and
* "application/x-shockwave-flash".
* Supported by Google.
* </pre>
*
* <code>repeated string mimes = 7;</code>
* @param value The mimes to add.
* @return This builder for chaining.
*/
public Builder addMimes(
java.lang.String value) {
copyOnWrite();
instance.addMimes(value);
return this;
}
/**
* <pre>
* Allowlist of content MIME types supported. Popular MIME types include,
* but are not limited to "image/jpg", "image/gif" and
* "application/x-shockwave-flash".
* Supported by Google.
* </pre>
*
* <code>repeated string mimes = 7;</code>
* @param values The mimes to add.
* @return This builder for chaining.
*/
public Builder addAllMimes(
java.lang.Iterable<java.lang.String> values) {
copyOnWrite();
instance.addAllMimes(values);
return this;
}
/**
* <pre>
* Allowlist of content MIME types supported. Popular MIME types include,
* but are not limited to "image/jpg", "image/gif" and
* "application/x-shockwave-flash".
* Supported by Google.
* </pre>
*
* <code>repeated string mimes = 7;</code>
* @return This builder for chaining.
*/
public Builder clearMimes() {
copyOnWrite();
instance.clearMimes();
return this;
}
/**
* <pre>
* Allowlist of content MIME types supported. Popular MIME types include,
* but are not limited to "image/jpg", "image/gif" and
* "application/x-shockwave-flash".
* Supported by Google.
* </pre>
*
* <code>repeated string mimes = 7;</code>
* @param value The bytes of the mimes to add.
* @return This builder for chaining.
*/
public Builder addMimesBytes(
com.google.protobuf.ByteString value) {
copyOnWrite();
instance.addMimesBytes(value);
return this;
}
/**
* <pre>
* Specify if the banner is delivered in the top frame (true)
* or in an iframe (false).
* Supported by Google.
* </pre>
*
* <code>optional bool topframe = 8;</code>
* @return Whether the topframe field is set.
*/
@java.lang.Override
public boolean hasTopframe() {
return instance.hasTopframe();
}
/**
* <pre>
* Specify if the banner is delivered in the top frame (true)
* or in an iframe (false).
* Supported by Google.
* </pre>
*
* <code>optional bool topframe = 8;</code>
* @return The topframe.
*/
@java.lang.Override
public boolean getTopframe() {
return instance.getTopframe();
}
/**
* <pre>
* Specify if the banner is delivered in the top frame (true)
* or in an iframe (false).
* Supported by Google.
* </pre>
*
* <code>optional bool topframe = 8;</code>
* @param value The topframe to set.
* @return This builder for chaining.
*/
public Builder setTopframe(boolean value) {
copyOnWrite();
instance.setTopframe(value);
return this;
}
/**
* <pre>
* Specify if the banner is delivered in the top frame (true)
* or in an iframe (false).
* Supported by Google.
* </pre>
*
* <code>optional bool topframe = 8;</code>
* @return This builder for chaining.
*/
public Builder clearTopframe() {
copyOnWrite();
instance.clearTopframe();
return this;
}
/**
* <pre>
* Directions in which the banner may expand.
* Supported by Google.
* </pre>
*
* <code>repeated .com.google.openrtb.ExpandableDirection expdir = 9 [packed = true];</code>
* @return A list containing the expdir.
*/
@java.lang.Override
public java.util.List<com.particles.mes.protos.openrtb.ExpandableDirection> getExpdirList() {
return instance.getExpdirList();
}
/**
* <pre>
* Directions in which the banner may expand.
* Supported by Google.
* </pre>
*
* <code>repeated .com.google.openrtb.ExpandableDirection expdir = 9 [packed = true];</code>
* @return The count of expdir.
*/
@java.lang.Override
public int getExpdirCount() {
return instance.getExpdirCount();
}
/**
* <pre>
* Directions in which the banner may expand.
* Supported by Google.
* </pre>
*
* <code>repeated .com.google.openrtb.ExpandableDirection expdir = 9 [packed = true];</code>
* @param index The index of the element to return.
* @return The expdir at the given index.
*/
@java.lang.Override
public com.particles.mes.protos.openrtb.ExpandableDirection getExpdir(int index) {
return instance.getExpdir(index);
}
/**
* <pre>
* Directions in which the banner may expand.
* Supported by Google.
* </pre>
*
* <code>repeated .com.google.openrtb.ExpandableDirection expdir = 9 [packed = true];</code>
* @param index The index to set the value at.
* @param value The expdir to set.
* @return This builder for chaining.
*/
public Builder setExpdir(
int index, com.particles.mes.protos.openrtb.ExpandableDirection value) {
copyOnWrite();
instance.setExpdir(index, value);
return this;
}
/**
* <pre>
* Directions in which the banner may expand.
* Supported by Google.
* </pre>
*
* <code>repeated .com.google.openrtb.ExpandableDirection expdir = 9 [packed = true];</code>
* @param value The expdir to add.
* @return This builder for chaining.
*/
public Builder addExpdir(com.particles.mes.protos.openrtb.ExpandableDirection value) {
copyOnWrite();
instance.addExpdir(value);
return this;
}
/**
* <pre>
* Directions in which the banner may expand.
* Supported by Google.
* </pre>
*
* <code>repeated .com.google.openrtb.ExpandableDirection expdir = 9 [packed = true];</code>
* @param values The expdir to add.
* @return This builder for chaining.
*/
public Builder addAllExpdir(
java.lang.Iterable<? extends com.particles.mes.protos.openrtb.ExpandableDirection> values) {
copyOnWrite();
instance.addAllExpdir(values); return this;
}
/**
* <pre>
* Directions in which the banner may expand.
* Supported by Google.
* </pre>
*
* <code>repeated .com.google.openrtb.ExpandableDirection expdir = 9 [packed = true];</code>
* @return This builder for chaining.
*/
public Builder clearExpdir() {
copyOnWrite();
instance.clearExpdir();
return this;
}
/**
* <pre>
* List of supported API frameworks for this impression.
* If an API is not explicitly listed, it is assumed not to be supported.
* Supported by Google.
* </pre>
*
* <code>repeated .com.google.openrtb.APIFramework api = 10 [packed = true];</code>
* @return A list containing the api.
*/
@java.lang.Override
public java.util.List<com.particles.mes.protos.openrtb.APIFramework> getApiList() {
return instance.getApiList();
}
/**
* <pre>
* List of supported API frameworks for this impression.
* If an API is not explicitly listed, it is assumed not to be supported.
* Supported by Google.
* </pre>
*
* <code>repeated .com.google.openrtb.APIFramework api = 10 [packed = true];</code>
* @return The count of api.
*/
@java.lang.Override
public int getApiCount() {
return instance.getApiCount();
}
/**
* <pre>
* List of supported API frameworks for this impression.
* If an API is not explicitly listed, it is assumed not to be supported.
* Supported by Google.
* </pre>
*
* <code>repeated .com.google.openrtb.APIFramework api = 10 [packed = true];</code>
* @param index The index of the element to return.
* @return The api at the given index.
*/
@java.lang.Override
public com.particles.mes.protos.openrtb.APIFramework getApi(int index) {
return instance.getApi(index);
}
/**
* <pre>
* List of supported API frameworks for this impression.
* If an API is not explicitly listed, it is assumed not to be supported.
* Supported by Google.
* </pre>
*
* <code>repeated .com.google.openrtb.APIFramework api = 10 [packed = true];</code>
* @param index The index to set the value at.
* @param value The api to set.
* @return This builder for chaining.
*/
public Builder setApi(
int index, com.particles.mes.protos.openrtb.APIFramework value) {
copyOnWrite();
instance.setApi(index, value);
return this;
}
/**
* <pre>
* List of supported API frameworks for this impression.
* If an API is not explicitly listed, it is assumed not to be supported.
* Supported by Google.
* </pre>
*
* <code>repeated .com.google.openrtb.APIFramework api = 10 [packed = true];</code>
* @param value The api to add.
* @return This builder for chaining.
*/
public Builder addApi(com.particles.mes.protos.openrtb.APIFramework value) {
copyOnWrite();
instance.addApi(value);
return this;
}
/**
* <pre>
* List of supported API frameworks for this impression.
* If an API is not explicitly listed, it is assumed not to be supported.
* Supported by Google.
* </pre>
*
* <code>repeated .com.google.openrtb.APIFramework api = 10 [packed = true];</code>
* @param values The api to add.
* @return This builder for chaining.
*/
public Builder addAllApi(
java.lang.Iterable<? extends com.particles.mes.protos.openrtb.APIFramework> values) {
copyOnWrite();
instance.addAllApi(values); return this;
}
/**
* <pre>
* List of supported API frameworks for this impression.
* If an API is not explicitly listed, it is assumed not to be supported.
* Supported by Google.
* </pre>
*
* <code>repeated .com.google.openrtb.APIFramework api = 10 [packed = true];</code>
* @return This builder for chaining.
*/
public Builder clearApi() {
copyOnWrite();
instance.clearApi();
return this;
}
/**
* <pre>
* Relevant only for Banner objects used with a Video object
* (Section 3.2.7) in an array of companion ads. Indicates the
* companion banner rendering mode relative to the associated
* video, where false = concurrent, true = end-card.
* Supported by Google.
* </pre>
*
* <code>optional bool vcm = 16;</code>
* @return Whether the vcm field is set.
*/
@java.lang.Override
public boolean hasVcm() {
return instance.hasVcm();
}
/**
* <pre>
* Relevant only for Banner objects used with a Video object
* (Section 3.2.7) in an array of companion ads. Indicates the
* companion banner rendering mode relative to the associated
* video, where false = concurrent, true = end-card.
* Supported by Google.
* </pre>
*
* <code>optional bool vcm = 16;</code>
* @return The vcm.
*/
@java.lang.Override
public boolean getVcm() {
return instance.getVcm();
}
/**
* <pre>
* Relevant only for Banner objects used with a Video object
* (Section 3.2.7) in an array of companion ads. Indicates the
* companion banner rendering mode relative to the associated
* video, where false = concurrent, true = end-card.
* Supported by Google.
* </pre>
*
* <code>optional bool vcm = 16;</code>
* @param value The vcm to set.
* @return This builder for chaining.
*/
public Builder setVcm(boolean value) {
copyOnWrite();
instance.setVcm(value);
return this;
}
/**
* <pre>
* Relevant only for Banner objects used with a Video object
* (Section 3.2.7) in an array of companion ads. Indicates the
* companion banner rendering mode relative to the associated
* video, where false = concurrent, true = end-card.
* Supported by Google.
* </pre>
*
* <code>optional bool vcm = 16;</code>
* @return This builder for chaining.
*/
public Builder clearVcm() {
copyOnWrite();
instance.clearVcm();
return this;
}
/**
* <pre>
* DEPRECATED in OpenRTB 2.4+, REMOVED in 2.6+; prefer the field format.
* Maximum width in device independent pixels (DIPS).
* Supported by Google.
* </pre>
*
* <code>optional int32 wmax = 11 [deprecated = true];</code>
* @deprecated com.google.openrtb.BidRequest.Imp.Banner.wmax is deprecated.
* See openrtb/openrtb-v26.proto;l=173
* @return Whether the wmax field is set.
*/
@java.lang.Override
@java.lang.Deprecated public boolean hasWmax() {
return instance.hasWmax();
}
/**
* <pre>
* DEPRECATED in OpenRTB 2.4+, REMOVED in 2.6+; prefer the field format.
* Maximum width in device independent pixels (DIPS).
* Supported by Google.
* </pre>
*
* <code>optional int32 wmax = 11 [deprecated = true];</code>
* @deprecated com.google.openrtb.BidRequest.Imp.Banner.wmax is deprecated.
* See openrtb/openrtb-v26.proto;l=173
* @return The wmax.
*/
@java.lang.Override
@java.lang.Deprecated public int getWmax() {
return instance.getWmax();
}
/**
* <pre>
* DEPRECATED in OpenRTB 2.4+, REMOVED in 2.6+; prefer the field format.
* Maximum width in device independent pixels (DIPS).
* Supported by Google.
* </pre>
*
* <code>optional int32 wmax = 11 [deprecated = true];</code>
* @deprecated com.google.openrtb.BidRequest.Imp.Banner.wmax is deprecated.
* See openrtb/openrtb-v26.proto;l=173
* @param value The wmax to set.
* @return This builder for chaining.
*/
@java.lang.Deprecated public Builder setWmax(int value) {
copyOnWrite();
instance.setWmax(value);
return this;
}
/**
* <pre>
* DEPRECATED in OpenRTB 2.4+, REMOVED in 2.6+; prefer the field format.
* Maximum width in device independent pixels (DIPS).
* Supported by Google.
* </pre>
*
* <code>optional int32 wmax = 11 [deprecated = true];</code>
* @deprecated com.google.openrtb.BidRequest.Imp.Banner.wmax is deprecated.
* See openrtb/openrtb-v26.proto;l=173
* @return This builder for chaining.
*/
@java.lang.Deprecated public Builder clearWmax() {
copyOnWrite();
instance.clearWmax();
return this;
}
/**
* <pre>
* DEPRECATED in OpenRTB 2.4+, REMOVED in 2.6+; prefer the field format.
* Maximum height in device independent pixels (DIPS).
* Supported by Google.
* </pre>
*
* <code>optional int32 hmax = 12 [deprecated = true];</code>
* @deprecated com.google.openrtb.BidRequest.Imp.Banner.hmax is deprecated.
* See openrtb/openrtb-v26.proto;l=178
* @return Whether the hmax field is set.
*/
@java.lang.Override
@java.lang.Deprecated public boolean hasHmax() {
return instance.hasHmax();
}
/**
* <pre>
* DEPRECATED in OpenRTB 2.4+, REMOVED in 2.6+; prefer the field format.
* Maximum height in device independent pixels (DIPS).
* Supported by Google.
* </pre>
*
* <code>optional int32 hmax = 12 [deprecated = true];</code>
* @deprecated com.google.openrtb.BidRequest.Imp.Banner.hmax is deprecated.
* See openrtb/openrtb-v26.proto;l=178
* @return The hmax.
*/
@java.lang.Override
@java.lang.Deprecated public int getHmax() {
return instance.getHmax();
}
/**
* <pre>
* DEPRECATED in OpenRTB 2.4+, REMOVED in 2.6+; prefer the field format.
* Maximum height in device independent pixels (DIPS).
* Supported by Google.
* </pre>
*
* <code>optional int32 hmax = 12 [deprecated = true];</code>
* @deprecated com.google.openrtb.BidRequest.Imp.Banner.hmax is deprecated.
* See openrtb/openrtb-v26.proto;l=178
* @param value The hmax to set.
* @return This builder for chaining.
*/
@java.lang.Deprecated public Builder setHmax(int value) {
copyOnWrite();
instance.setHmax(value);
return this;
}
/**
* <pre>
* DEPRECATED in OpenRTB 2.4+, REMOVED in 2.6+; prefer the field format.
* Maximum height in device independent pixels (DIPS).
* Supported by Google.
* </pre>
*
* <code>optional int32 hmax = 12 [deprecated = true];</code>
* @deprecated com.google.openrtb.BidRequest.Imp.Banner.hmax is deprecated.
* See openrtb/openrtb-v26.proto;l=178
* @return This builder for chaining.
*/
@java.lang.Deprecated public Builder clearHmax() {
copyOnWrite();
instance.clearHmax();
return this;
}
/**
* <pre>
* DEPRECATED in OpenRTB 2.4+, REMOVED in 2.6+; prefer the field format.
* Minimum width in device independent pixels (DIPS).
* Supported by Google.
* </pre>
*
* <code>optional int32 wmin = 13 [deprecated = true];</code>
* @deprecated com.google.openrtb.BidRequest.Imp.Banner.wmin is deprecated.
* See openrtb/openrtb-v26.proto;l=183
* @return Whether the wmin field is set.
*/
@java.lang.Override
@java.lang.Deprecated public boolean hasWmin() {
return instance.hasWmin();
}
/**
* <pre>
* DEPRECATED in OpenRTB 2.4+, REMOVED in 2.6+; prefer the field format.
* Minimum width in device independent pixels (DIPS).
* Supported by Google.
* </pre>
*
* <code>optional int32 wmin = 13 [deprecated = true];</code>
* @deprecated com.google.openrtb.BidRequest.Imp.Banner.wmin is deprecated.
* See openrtb/openrtb-v26.proto;l=183
* @return The wmin.
*/
@java.lang.Override
@java.lang.Deprecated public int getWmin() {
return instance.getWmin();
}
/**
* <pre>
* DEPRECATED in OpenRTB 2.4+, REMOVED in 2.6+; prefer the field format.
* Minimum width in device independent pixels (DIPS).
* Supported by Google.
* </pre>
*
* <code>optional int32 wmin = 13 [deprecated = true];</code>
* @deprecated com.google.openrtb.BidRequest.Imp.Banner.wmin is deprecated.
* See openrtb/openrtb-v26.proto;l=183
* @param value The wmin to set.
* @return This builder for chaining.
*/
@java.lang.Deprecated public Builder setWmin(int value) {
copyOnWrite();
instance.setWmin(value);
return this;
}
/**
* <pre>
* DEPRECATED in OpenRTB 2.4+, REMOVED in 2.6+; prefer the field format.
* Minimum width in device independent pixels (DIPS).
* Supported by Google.
* </pre>
*
* <code>optional int32 wmin = 13 [deprecated = true];</code>
* @deprecated com.google.openrtb.BidRequest.Imp.Banner.wmin is deprecated.
* See openrtb/openrtb-v26.proto;l=183
* @return This builder for chaining.
*/
@java.lang.Deprecated public Builder clearWmin() {
copyOnWrite();
instance.clearWmin();
return this;
}
/**
* <pre>
* DEPRECATED in OpenRTB 2.4+, REMOVED in 2.6+; prefer the field format.
* Minimum height in device independent pixels (DIPS).
* Supported by Google.
* </pre>
*
* <code>optional int32 hmin = 14 [deprecated = true];</code>
* @deprecated com.google.openrtb.BidRequest.Imp.Banner.hmin is deprecated.
* See openrtb/openrtb-v26.proto;l=188
* @return Whether the hmin field is set.
*/
@java.lang.Override
@java.lang.Deprecated public boolean hasHmin() {
return instance.hasHmin();
}
/**
* <pre>
* DEPRECATED in OpenRTB 2.4+, REMOVED in 2.6+; prefer the field format.
* Minimum height in device independent pixels (DIPS).
* Supported by Google.
* </pre>
*
* <code>optional int32 hmin = 14 [deprecated = true];</code>
* @deprecated com.google.openrtb.BidRequest.Imp.Banner.hmin is deprecated.
* See openrtb/openrtb-v26.proto;l=188
* @return The hmin.
*/
@java.lang.Override
@java.lang.Deprecated public int getHmin() {
return instance.getHmin();
}
/**
* <pre>
* DEPRECATED in OpenRTB 2.4+, REMOVED in 2.6+; prefer the field format.
* Minimum height in device independent pixels (DIPS).
* Supported by Google.
* </pre>
*
* <code>optional int32 hmin = 14 [deprecated = true];</code>
* @deprecated com.google.openrtb.BidRequest.Imp.Banner.hmin is deprecated.
* See openrtb/openrtb-v26.proto;l=188
* @param value The hmin to set.
* @return This builder for chaining.
*/
@java.lang.Deprecated public Builder setHmin(int value) {
copyOnWrite();
instance.setHmin(value);
return this;
}
/**
* <pre>
* DEPRECATED in OpenRTB 2.4+, REMOVED in 2.6+; prefer the field format.
* Minimum height in device independent pixels (DIPS).
* Supported by Google.
* </pre>
*
* <code>optional int32 hmin = 14 [deprecated = true];</code>
* @deprecated com.google.openrtb.BidRequest.Imp.Banner.hmin is deprecated.
* See openrtb/openrtb-v26.proto;l=188
* @return This builder for chaining.
*/
@java.lang.Deprecated public Builder clearHmin() {
copyOnWrite();
instance.clearHmin();
return this;
}
// @@protoc_insertion_point(builder_scope:com.google.openrtb.BidRequest.Imp.Banner)
}
private byte memoizedIsInitialized = 2;
@java.lang.Override
@java.lang.SuppressWarnings({"unchecked", "fallthrough"})
protected final java.lang.Object dynamicMethod(
com.google.protobuf.GeneratedMessageLite.MethodToInvoke method,
java.lang.Object arg0, java.lang.Object arg1) {
switch (method) {
case NEW_MUTABLE_INSTANCE: {
return new com.particles.mes.protos.openrtb.BidRequest.Imp.Banner();
}
case NEW_BUILDER: {
return new Builder();
}
case BUILD_MESSAGE_INFO: {
java.lang.Object[] objects = new java.lang.Object[] {
"bitField0_",
"w_",
"h_",
"id_",
"pos_",
com.particles.mes.protos.openrtb.AdPosition.internalGetVerifier(),
"btype_",
com.particles.mes.protos.openrtb.BannerAdType.internalGetVerifier(),
"battr_",
com.particles.mes.protos.openrtb.CreativeAttribute.internalGetVerifier(),
"mimes_",
"topframe_",
"expdir_",
com.particles.mes.protos.openrtb.ExpandableDirection.internalGetVerifier(),
"api_",
com.particles.mes.protos.openrtb.APIFramework.internalGetVerifier(),
"wmax_",
"hmax_",
"wmin_",
"hmin_",
"format_",
com.particles.mes.protos.openrtb.BidRequest.Imp.Banner.Format.class,
"vcm_",
};
java.lang.String info =
"\u0001\u0010\u0000\u0001\u0001\u0010\u0010\u0000\u0006\u0001\u0001\u1004\u0000\u0002" +
"\u1004\u0001\u0003\u1008\u0002\u0004\u100c\u0003\u0005,\u0006,\u0007\u001a\b\u1007" +
"\u0004\t,\n,\u000b\u1004\u0006\f\u1004\u0007\r\u1004\b\u000e\u1004\t\u000f\u041b" +
"\u0010\u1007\u0005";
return newMessageInfo(DEFAULT_INSTANCE, info, objects);
}
// fall through
case GET_DEFAULT_INSTANCE: {
return DEFAULT_INSTANCE;
}
case GET_PARSER: {
com.google.protobuf.Parser<com.particles.mes.protos.openrtb.BidRequest.Imp.Banner> parser = PARSER;
if (parser == null) {
synchronized (com.particles.mes.protos.openrtb.BidRequest.Imp.Banner.class) {
parser = PARSER;
if (parser == null) {
parser =
new DefaultInstanceBasedParser<com.particles.mes.protos.openrtb.BidRequest.Imp.Banner>(
DEFAULT_INSTANCE);
PARSER = parser;
}
}
}
return parser;
}
case GET_MEMOIZED_IS_INITIALIZED: {
return memoizedIsInitialized;
}
case SET_MEMOIZED_IS_INITIALIZED: {
memoizedIsInitialized = (byte) (arg0 == null ? 0 : 1);
return null;
}
}
throw new UnsupportedOperationException();
}
// @@protoc_insertion_point(class_scope:com.google.openrtb.BidRequest.Imp.Banner)
private static final com.particles.mes.protos.openrtb.BidRequest.Imp.Banner DEFAULT_INSTANCE;
static {
Banner defaultInstance = new Banner();
// New instances are implicitly immutable so no need to make
// immutable.
DEFAULT_INSTANCE = defaultInstance;
com.google.protobuf.GeneratedMessageLite.registerDefaultInstance(
Banner.class, defaultInstance);
}
public static com.particles.mes.protos.openrtb.BidRequest.Imp.Banner getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static volatile com.google.protobuf.Parser<Banner> PARSER;
public static com.google.protobuf.Parser<Banner> parser() {
return DEFAULT_INSTANCE.getParserForType();
}
}
public interface VideoOrBuilder extends
// @@protoc_insertion_point(interface_extends:com.google.openrtb.BidRequest.Imp.Video)
com.google.protobuf.GeneratedMessageLite.
ExtendableMessageOrBuilder<
Video, Video.Builder> {
/**
* <pre>
* Allowlist of content MIME types supported. Popular MIME types include,
* but are not limited to "image/jpg", "image/gif" and
* "application/x-shockwave-flash".
* REQUIRED by the OpenRTB specification: at least 1 element.
* Supported by Google.
* </pre>
*
* <code>repeated string mimes = 1;</code>
* @return A list containing the mimes.
*/
java.util.List<java.lang.String>
getMimesList();
/**
* <pre>
* Allowlist of content MIME types supported. Popular MIME types include,
* but are not limited to "image/jpg", "image/gif" and
* "application/x-shockwave-flash".
* REQUIRED by the OpenRTB specification: at least 1 element.
* Supported by Google.
* </pre>
*
* <code>repeated string mimes = 1;</code>
* @return The count of mimes.
*/
int getMimesCount();
/**
* <pre>
* Allowlist of content MIME types supported. Popular MIME types include,
* but are not limited to "image/jpg", "image/gif" and
* "application/x-shockwave-flash".
* REQUIRED by the OpenRTB specification: at least 1 element.
* Supported by Google.
* </pre>
*
* <code>repeated string mimes = 1;</code>
* @param index The index of the element to return.
* @return The mimes at the given index.
*/
java.lang.String getMimes(int index);
/**
* <pre>
* Allowlist of content MIME types supported. Popular MIME types include,
* but are not limited to "image/jpg", "image/gif" and
* "application/x-shockwave-flash".
* REQUIRED by the OpenRTB specification: at least 1 element.
* Supported by Google.
* </pre>
*
* <code>repeated string mimes = 1;</code>
* @param index The index of the element to return.
* @return The mimes at the given index.
*/
com.google.protobuf.ByteString
getMimesBytes(int index);
/**
* <pre>
* Minimum video ad duration in seconds.
* This field is mutually exclusive with rqddurs; only one of
* minduration and rqddurs may be in a bid request.
* Supported by Google.
* </pre>
*
* <code>optional int32 minduration = 3 [default = 0];</code>
* @return Whether the minduration field is set.
*/
boolean hasMinduration();
/**
* <pre>
* Minimum video ad duration in seconds.
* This field is mutually exclusive with rqddurs; only one of
* minduration and rqddurs may be in a bid request.
* Supported by Google.
* </pre>
*
* <code>optional int32 minduration = 3 [default = 0];</code>
* @return The minduration.
*/
int getMinduration();
/**
* <pre>
* Maximum video ad duration in seconds.
* This field is mutually exclusive with rqddurs; only one of
* maxduration and rqddurs may be in a bid request.
* Supported by Google.
* </pre>
*
* <code>optional int32 maxduration = 4;</code>
* @return Whether the maxduration field is set.
*/
boolean hasMaxduration();
/**
* <pre>
* Maximum video ad duration in seconds.
* This field is mutually exclusive with rqddurs; only one of
* maxduration and rqddurs may be in a bid request.
* Supported by Google.
* </pre>
*
* <code>optional int32 maxduration = 4;</code>
* @return The maxduration.
*/
int getMaxduration();
/**
* <pre>
* Indicates the start delay in seconds for pre-roll, mid-roll, or
* post-roll ad placements.
* Refer to enum StartDelay for generic values.
* Supported by Google.
* </pre>
*
* <code>optional int32 startdelay = 8;</code>
* @return Whether the startdelay field is set.
*/
boolean hasStartdelay();
/**
* <pre>
* Indicates the start delay in seconds for pre-roll, mid-roll, or
* post-roll ad placements.
* Refer to enum StartDelay for generic values.
* Supported by Google.
* </pre>
*
* <code>optional int32 startdelay = 8;</code>
* @return The startdelay.
*/
int getStartdelay();
/**
* <pre>
* Indicates the maximum number of ads that may be served into a
* "dynamic" video ad pod (where the precise number of ads is not
* predetermined by the seller).
* This field is currently only supported by Google for
* rewarded video pods requests.
* </pre>
*
* <code>optional int32 maxseq = 28;</code>
* @return Whether the maxseq field is set.
*/
boolean hasMaxseq();
/**
* <pre>
* Indicates the maximum number of ads that may be served into a
* "dynamic" video ad pod (where the precise number of ads is not
* predetermined by the seller).
* This field is currently only supported by Google for
* rewarded video pods requests.
* </pre>
*
* <code>optional int32 maxseq = 28;</code>
* @return The maxseq.
*/
int getMaxseq();
/**
* <pre>
* Indicates the total amount of time in seconds that advertisers may
* fill for a "dynamic" video ad pod, or the dynamic portion of a
* "hybrid" ad pod. This field is required only for the dynamic
* portion(s) of video ad pods. This field refers to the length of the
* entire ad break, whereas minduration/maxduration/rqddurs are
* constraints relating to the slots that make up the pod.
* This field is currently only supported for rewarded video pods
* requests.
* </pre>
*
* <code>optional int32 poddur = 29;</code>
* @return Whether the poddur field is set.
*/
boolean hasPoddur();
/**
* <pre>
* Indicates the total amount of time in seconds that advertisers may
* fill for a "dynamic" video ad pod, or the dynamic portion of a
* "hybrid" ad pod. This field is required only for the dynamic
* portion(s) of video ad pods. This field refers to the length of the
* entire ad break, whereas minduration/maxduration/rqddurs are
* constraints relating to the slots that make up the pod.
* This field is currently only supported for rewarded video pods
* requests.
* </pre>
*
* <code>optional int32 poddur = 29;</code>
* @return The poddur.
*/
int getPoddur();
/**
* <pre>
* Array of supported video bid response protocols.
* At least one supported protocol must be specified.
* Supported by Google.
* </pre>
*
* <code>repeated .com.google.openrtb.Protocol protocols = 21 [packed = true];</code>
* @return A list containing the protocols.
*/
java.util.List<com.particles.mes.protos.openrtb.Protocol> getProtocolsList();
/**
* <pre>
* Array of supported video bid response protocols.
* At least one supported protocol must be specified.
* Supported by Google.
* </pre>
*
* <code>repeated .com.google.openrtb.Protocol protocols = 21 [packed = true];</code>
* @return The count of protocols.
*/
int getProtocolsCount();
/**
* <pre>
* Array of supported video bid response protocols.
* At least one supported protocol must be specified.
* Supported by Google.
* </pre>
*
* <code>repeated .com.google.openrtb.Protocol protocols = 21 [packed = true];</code>
* @param index The index of the element to return.
* @return The protocols at the given index.
*/
com.particles.mes.protos.openrtb.Protocol getProtocols(int index);
/**
* <pre>
* Width of the video player in device independent pixels (DIPS).
* Supported by Google.
* </pre>
*
* <code>optional int32 w = 6;</code>
* @return Whether the w field is set.
*/
boolean hasW();
/**
* <pre>
* Width of the video player in device independent pixels (DIPS).
* Supported by Google.
* </pre>
*
* <code>optional int32 w = 6;</code>
* @return The w.
*/
int getW();
/**
* <pre>
* Height of the video player in device independent pixels (DIPS).
* Supported by Google.
* </pre>
*
* <code>optional int32 h = 7;</code>
* @return Whether the h field is set.
*/
boolean hasH();
/**
* <pre>
* Height of the video player in device independent pixels (DIPS).
* Supported by Google.
* </pre>
*
* <code>optional int32 h = 7;</code>
* @return The h.
*/
int getH();
/**
* <pre>
* Unique identifier indicating that an impression opportunity
* belongs to a video ad pod. If multiple impression opportunities
* within a bid request share the same podid, this indicates that
* those impression opportunities belong to the same video ad pod.
* Not supported by Google.
* </pre>
*
* <code>optional string podid = 30;</code>
* @return Whether the podid field is set.
*/
boolean hasPodid();
/**
* <pre>
* Unique identifier indicating that an impression opportunity
* belongs to a video ad pod. If multiple impression opportunities
* within a bid request share the same podid, this indicates that
* those impression opportunities belong to the same video ad pod.
* Not supported by Google.
* </pre>
*
* <code>optional string podid = 30;</code>
* @return The podid.
*/
java.lang.String getPodid();
/**
* <pre>
* Unique identifier indicating that an impression opportunity
* belongs to a video ad pod. If multiple impression opportunities
* within a bid request share the same podid, this indicates that
* those impression opportunities belong to the same video ad pod.
* Not supported by Google.
* </pre>
*
* <code>optional string podid = 30;</code>
* @return The bytes for podid.
*/
com.google.protobuf.ByteString
getPodidBytes();
/**
* <pre>
* The sequence (position) of the video ad pod within a content stream.
* Not supported by Google.
* </pre>
*
* <code>optional .com.google.openrtb.PodSequence podseq = 31 [default = POD_SEQUENCE_ANY];</code>
* @return Whether the podseq field is set.
*/
boolean hasPodseq();
/**
* <pre>
* The sequence (position) of the video ad pod within a content stream.
* Not supported by Google.
* </pre>
*
* <code>optional .com.google.openrtb.PodSequence podseq = 31 [default = POD_SEQUENCE_ANY];</code>
* @return The podseq.
*/
com.particles.mes.protos.openrtb.PodSequence getPodseq();
/**
* <pre>
* Precise acceptable durations for video creatives in
* seconds. This field specifically targets the Live TV use case
* where non-exact ad durations would result in undesirable ‘dead air’.
* This field is mutually exclusive with minduration and maxduration;
* if rqddurs is specified, minduration and maxduration must not be
* specified and the other way around.
* Not supported by Google.
* </pre>
*
* <code>repeated int32 rqddurs = 32 [packed = true];</code>
* @return A list containing the rqddurs.
*/
java.util.List<java.lang.Integer> getRqddursList();
/**
* <pre>
* Precise acceptable durations for video creatives in
* seconds. This field specifically targets the Live TV use case
* where non-exact ad durations would result in undesirable ‘dead air’.
* This field is mutually exclusive with minduration and maxduration;
* if rqddurs is specified, minduration and maxduration must not be
* specified and the other way around.
* Not supported by Google.
* </pre>
*
* <code>repeated int32 rqddurs = 32 [packed = true];</code>
* @return The count of rqddurs.
*/
int getRqddursCount();
/**
* <pre>
* Precise acceptable durations for video creatives in
* seconds. This field specifically targets the Live TV use case
* where non-exact ad durations would result in undesirable ‘dead air’.
* This field is mutually exclusive with minduration and maxduration;
* if rqddurs is specified, minduration and maxduration must not be
* specified and the other way around.
* Not supported by Google.
* </pre>
*
* <code>repeated int32 rqddurs = 32 [packed = true];</code>
* @param index The index of the element to return.
* @return The rqddurs at the given index.
*/
int getRqddurs(int index);
/**
* <pre>
* Deprecated. This will be removed in January 2025 per the IAB here:
* https://github.com/InteractiveAdvertisingBureau/AdCOM/blob/main/AdCOM%20v1.0%20FINAL.md#list--placement-subtypes---video-
* Placement type for the impression.
* Supported by Google.
* </pre>
*
* <code>optional .com.google.openrtb.VideoPlacementType placement = 26 [deprecated = true];</code>
* @deprecated com.google.openrtb.BidRequest.Imp.Video.placement is deprecated.
* See openrtb/openrtb-v26.proto;l=291
* @return Whether the placement field is set.
*/
@java.lang.Deprecated boolean hasPlacement();
/**
* <pre>
* Deprecated. This will be removed in January 2025 per the IAB here:
* https://github.com/InteractiveAdvertisingBureau/AdCOM/blob/main/AdCOM%20v1.0%20FINAL.md#list--placement-subtypes---video-
* Placement type for the impression.
* Supported by Google.
* </pre>
*
* <code>optional .com.google.openrtb.VideoPlacementType placement = 26 [deprecated = true];</code>
* @deprecated com.google.openrtb.BidRequest.Imp.Video.placement is deprecated.
* See openrtb/openrtb-v26.proto;l=291
* @return The placement.
*/
@java.lang.Deprecated com.particles.mes.protos.openrtb.VideoPlacementType getPlacement();
/**
* <pre>
* Video placement type declared by the publisher for this impression.
* Introduced in OpenRTB 2.6 to reflect updated industry definitions
* around different types of video ad placements. This field supersedes
* the Video.placement field. May be unset if the publisher did not
* declare a video placement type.
* Supported by Google.
* </pre>
*
* <code>optional .com.google.openrtb.Plcmt plcmt = 35 [default = PLCMT_UNKNOWN];</code>
* @return Whether the plcmt field is set.
*/
boolean hasPlcmt();
/**
* <pre>
* Video placement type declared by the publisher for this impression.
* Introduced in OpenRTB 2.6 to reflect updated industry definitions
* around different types of video ad placements. This field supersedes
* the Video.placement field. May be unset if the publisher did not
* declare a video placement type.
* Supported by Google.
* </pre>
*
* <code>optional .com.google.openrtb.Plcmt plcmt = 35 [default = PLCMT_UNKNOWN];</code>
* @return The plcmt.
*/
com.particles.mes.protos.openrtb.Plcmt getPlcmt();
/**
* <pre>
* Indicates if the impression must be linear or nonlinear. If none
* specified, assume all are allowed.
* Supported by Google.
* </pre>
*
* <code>optional .com.google.openrtb.VideoLinearity linearity = 2;</code>
* @return Whether the linearity field is set.
*/
boolean hasLinearity();
/**
* <pre>
* Indicates if the impression must be linear or nonlinear. If none
* specified, assume all are allowed.
* Supported by Google.
* </pre>
*
* <code>optional .com.google.openrtb.VideoLinearity linearity = 2;</code>
* @return The linearity.
*/
com.particles.mes.protos.openrtb.VideoLinearity getLinearity();
/**
* <pre>
* Indicates if the player will allow the video to be skipped.
* If a bidder sends markup/creative that is itself skippable, the
* Bid object should include the attr array with an element of
* AD_CAN_BE_SKIPPED indicating skippable video.
* Supported by Google.
* </pre>
*
* <code>optional bool skip = 23;</code>
* @return Whether the skip field is set.
*/
boolean hasSkip();
/**
* <pre>
* Indicates if the player will allow the video to be skipped.
* If a bidder sends markup/creative that is itself skippable, the
* Bid object should include the attr array with an element of
* AD_CAN_BE_SKIPPED indicating skippable video.
* Supported by Google.
* </pre>
*
* <code>optional bool skip = 23;</code>
* @return The skip.
*/
boolean getSkip();
/**
* <pre>
* Videos of total duration greater than this number of seconds
* can be skippable; only applicable if the ad is skippable.
* Not supported by Google.
* </pre>
*
* <code>optional int32 skipmin = 24;</code>
* @return Whether the skipmin field is set.
*/
boolean hasSkipmin();
/**
* <pre>
* Videos of total duration greater than this number of seconds
* can be skippable; only applicable if the ad is skippable.
* Not supported by Google.
* </pre>
*
* <code>optional int32 skipmin = 24;</code>
* @return The skipmin.
*/
int getSkipmin();
/**
* <pre>
* Number of seconds a video must play before skipping is
* enabled; only applicable if the ad is skippable.
* Not supported by Google.
* </pre>
*
* <code>optional int32 skipafter = 25;</code>
* @return Whether the skipafter field is set.
*/
boolean hasSkipafter();
/**
* <pre>
* Number of seconds a video must play before skipping is
* enabled; only applicable if the ad is skippable.
* Not supported by Google.
* </pre>
*
* <code>optional int32 skipafter = 25;</code>
* @return The skipafter.
*/
int getSkipafter();
/**
* <pre>
* DEPRECATED in OpenRTB 2.6+; prefer the field podseq.
* If multiple ad impressions are offered in the same bid request,
* the sequence number will allow for the coordinated delivery of
* multiple creatives.
* Not supported by Google.
* </pre>
*
* <code>optional int32 sequence = 9 [default = 1, deprecated = true];</code>
* @deprecated com.google.openrtb.BidRequest.Imp.Video.sequence is deprecated.
* See openrtb/openrtb-v26.proto;l=328
* @return Whether the sequence field is set.
*/
@java.lang.Deprecated boolean hasSequence();
/**
* <pre>
* DEPRECATED in OpenRTB 2.6+; prefer the field podseq.
* If multiple ad impressions are offered in the same bid request,
* the sequence number will allow for the coordinated delivery of
* multiple creatives.
* Not supported by Google.
* </pre>
*
* <code>optional int32 sequence = 9 [default = 1, deprecated = true];</code>
* @deprecated com.google.openrtb.BidRequest.Imp.Video.sequence is deprecated.
* See openrtb/openrtb-v26.proto;l=328
* @return The sequence.
*/
@java.lang.Deprecated int getSequence();
/**
* <pre>
* For video ad pods, this value indicates that the seller can
* guarantee delivery against the indicated slot position in the pod.
* Not supported by Google.
* </pre>
*
* <code>optional .com.google.openrtb.SlotPositionInPod slotinpod = 33 [default = SLOT_POSITION_POD_ANY];</code>
* @return Whether the slotinpod field is set.
*/
boolean hasSlotinpod();
/**
* <pre>
* For video ad pods, this value indicates that the seller can
* guarantee delivery against the indicated slot position in the pod.
* Not supported by Google.
* </pre>
*
* <code>optional .com.google.openrtb.SlotPositionInPod slotinpod = 33 [default = SLOT_POSITION_POD_ANY];</code>
* @return The slotinpod.
*/
com.particles.mes.protos.openrtb.SlotPositionInPod getSlotinpod();
/**
* <pre>
* Minimum CPM per second. This is a price floor for the
* "dynamic" portion of a video ad pod, relative to the duration
* of bids an advertiser may submit.
* Not supported by Google.
* </pre>
*
* <code>optional double mincpmpersec = 34;</code>
* @return Whether the mincpmpersec field is set.
*/
boolean hasMincpmpersec();
/**
* <pre>
* Minimum CPM per second. This is a price floor for the
* "dynamic" portion of a video ad pod, relative to the duration
* of bids an advertiser may submit.
* Not supported by Google.
* </pre>
*
* <code>optional double mincpmpersec = 34;</code>
* @return The mincpmpersec.
*/
double getMincpmpersec();
/**
* <pre>
* Blocked creative attributes.
* Supported by Google.
* </pre>
*
* <code>repeated .com.google.openrtb.CreativeAttribute battr = 10 [packed = true];</code>
* @return A list containing the battr.
*/
java.util.List<com.particles.mes.protos.openrtb.CreativeAttribute> getBattrList();
/**
* <pre>
* Blocked creative attributes.
* Supported by Google.
* </pre>
*
* <code>repeated .com.google.openrtb.CreativeAttribute battr = 10 [packed = true];</code>
* @return The count of battr.
*/
int getBattrCount();
/**
* <pre>
* Blocked creative attributes.
* Supported by Google.
* </pre>
*
* <code>repeated .com.google.openrtb.CreativeAttribute battr = 10 [packed = true];</code>
* @param index The index of the element to return.
* @return The battr at the given index.
*/
com.particles.mes.protos.openrtb.CreativeAttribute getBattr(int index);
/**
* <pre>
* Maximum extended video ad duration, if extension is allowed.
* If blank or 0, extension is not allowed. If -1, extension is allowed,
* and there is no time limit imposed. If greater than 0, then the value
* represents the number of seconds of extended play supported beyond
* the maxduration value.
* Not supported by Google.
* </pre>
*
* <code>optional int32 maxextended = 11;</code>
* @return Whether the maxextended field is set.
*/
boolean hasMaxextended();
/**
* <pre>
* Maximum extended video ad duration, if extension is allowed.
* If blank or 0, extension is not allowed. If -1, extension is allowed,
* and there is no time limit imposed. If greater than 0, then the value
* represents the number of seconds of extended play supported beyond
* the maxduration value.
* Not supported by Google.
* </pre>
*
* <code>optional int32 maxextended = 11;</code>
* @return The maxextended.
*/
int getMaxextended();
/**
* <pre>
* Minimum bit rate in Kbps.
* Not supported by Google.
* </pre>
*
* <code>optional int32 minbitrate = 12;</code>
* @return Whether the minbitrate field is set.
*/
boolean hasMinbitrate();
/**
* <pre>
* Minimum bit rate in Kbps.
* Not supported by Google.
* </pre>
*
* <code>optional int32 minbitrate = 12;</code>
* @return The minbitrate.
*/
int getMinbitrate();
/**
* <pre>
* Maximum bit rate in Kbps.
* Not supported by Google.
* </pre>
*
* <code>optional int32 maxbitrate = 13;</code>
* @return Whether the maxbitrate field is set.
*/
boolean hasMaxbitrate();
/**
* <pre>
* Maximum bit rate in Kbps.
* Not supported by Google.
* </pre>
*
* <code>optional int32 maxbitrate = 13;</code>
* @return The maxbitrate.
*/
int getMaxbitrate();
/**
* <pre>
* Indicates if letter-boxing of 4:3 content into a 16:9 window is
* allowed.
* Not supported by Google.
* </pre>
*
* <code>optional bool boxingallowed = 14 [default = true];</code>
* @return Whether the boxingallowed field is set.
*/
boolean hasBoxingallowed();
/**
* <pre>
* Indicates if letter-boxing of 4:3 content into a 16:9 window is
* allowed.
* Not supported by Google.
* </pre>
*
* <code>optional bool boxingallowed = 14 [default = true];</code>
* @return The boxingallowed.
*/
boolean getBoxingallowed();
/**
* <pre>
* Playback methods that may be in use. If none are specified, any
* method may be used. Only one method is typically used in practice.
* As a result, this array may be converted to an integer in a future
* version of the specification. It is strongly advised to use only
* the first element of this array in preparation for this change.
* Supported by Google.
* </pre>
*
* <code>repeated .com.google.openrtb.PlaybackMethod playbackmethod = 15 [packed = true];</code>
* @return A list containing the playbackmethod.
*/
java.util.List<com.particles.mes.protos.openrtb.PlaybackMethod> getPlaybackmethodList();
/**
* <pre>
* Playback methods that may be in use. If none are specified, any
* method may be used. Only one method is typically used in practice.
* As a result, this array may be converted to an integer in a future
* version of the specification. It is strongly advised to use only
* the first element of this array in preparation for this change.
* Supported by Google.
* </pre>
*
* <code>repeated .com.google.openrtb.PlaybackMethod playbackmethod = 15 [packed = true];</code>
* @return The count of playbackmethod.
*/
int getPlaybackmethodCount();
/**
* <pre>
* Playback methods that may be in use. If none are specified, any
* method may be used. Only one method is typically used in practice.
* As a result, this array may be converted to an integer in a future
* version of the specification. It is strongly advised to use only
* the first element of this array in preparation for this change.
* Supported by Google.
* </pre>
*
* <code>repeated .com.google.openrtb.PlaybackMethod playbackmethod = 15 [packed = true];</code>
* @param index The index of the element to return.
* @return The playbackmethod at the given index.
*/
com.particles.mes.protos.openrtb.PlaybackMethod getPlaybackmethod(int index);
/**
* <pre>
* The event that causes playback to end.
* Supported by Google.
* </pre>
*
* <code>optional .com.google.openrtb.PlaybackCessationMode playbackend = 27;</code>
* @return Whether the playbackend field is set.
*/
boolean hasPlaybackend();
/**
* <pre>
* The event that causes playback to end.
* Supported by Google.
* </pre>
*
* <code>optional .com.google.openrtb.PlaybackCessationMode playbackend = 27;</code>
* @return The playbackend.
*/
com.particles.mes.protos.openrtb.PlaybackCessationMode getPlaybackend();
/**
* <pre>
* Supported delivery methods (for example, streaming, progressive).
* Supported by Google.
* </pre>
*
* <code>repeated .com.google.openrtb.ContentDeliveryMethod delivery = 16 [packed = true];</code>
* @return A list containing the delivery.
*/
java.util.List<com.particles.mes.protos.openrtb.ContentDeliveryMethod> getDeliveryList();
/**
* <pre>
* Supported delivery methods (for example, streaming, progressive).
* Supported by Google.
* </pre>
*
* <code>repeated .com.google.openrtb.ContentDeliveryMethod delivery = 16 [packed = true];</code>
* @return The count of delivery.
*/
int getDeliveryCount();
/**
* <pre>
* Supported delivery methods (for example, streaming, progressive).
* Supported by Google.
* </pre>
*
* <code>repeated .com.google.openrtb.ContentDeliveryMethod delivery = 16 [packed = true];</code>
* @param index The index of the element to return.
* @return The delivery at the given index.
*/
com.particles.mes.protos.openrtb.ContentDeliveryMethod getDelivery(int index);
/**
* <pre>
* Ad position on screen.
* Supported by Google.
* </pre>
*
* <code>optional .com.google.openrtb.AdPosition pos = 17;</code>
* @return Whether the pos field is set.
*/
boolean hasPos();
/**
* <pre>
* Ad position on screen.
* Supported by Google.
* </pre>
*
* <code>optional .com.google.openrtb.AdPosition pos = 17;</code>
* @return The pos.
*/
com.particles.mes.protos.openrtb.AdPosition getPos();
/**
* <pre>
* Array of Banner objects (Section 3.2.3) if companion ads are available.
* Supported by Google.
* </pre>
*
* <code>repeated .com.google.openrtb.BidRequest.Imp.Banner companionad = 18;</code>
*/
java.util.List<com.particles.mes.protos.openrtb.BidRequest.Imp.Banner>
getCompanionadList();
/**
* <pre>
* Array of Banner objects (Section 3.2.3) if companion ads are available.
* Supported by Google.
* </pre>
*
* <code>repeated .com.google.openrtb.BidRequest.Imp.Banner companionad = 18;</code>
*/
com.particles.mes.protos.openrtb.BidRequest.Imp.Banner getCompanionad(int index);
/**
* <pre>
* Array of Banner objects (Section 3.2.3) if companion ads are available.
* Supported by Google.
* </pre>
*
* <code>repeated .com.google.openrtb.BidRequest.Imp.Banner companionad = 18;</code>
*/
int getCompanionadCount();
/**
* <pre>
* List of supported API frameworks for this impression.
* If an API is not explicitly listed, it is assumed not to be supported.
* Supported by Google.
* </pre>
*
* <code>repeated .com.google.openrtb.APIFramework api = 19 [packed = true];</code>
* @return A list containing the api.
*/
java.util.List<com.particles.mes.protos.openrtb.APIFramework> getApiList();
/**
* <pre>
* List of supported API frameworks for this impression.
* If an API is not explicitly listed, it is assumed not to be supported.
* Supported by Google.
* </pre>
*
* <code>repeated .com.google.openrtb.APIFramework api = 19 [packed = true];</code>
* @return The count of api.
*/
int getApiCount();
/**
* <pre>
* List of supported API frameworks for this impression.
* If an API is not explicitly listed, it is assumed not to be supported.
* Supported by Google.
* </pre>
*
* <code>repeated .com.google.openrtb.APIFramework api = 19 [packed = true];</code>
* @param index The index of the element to return.
* @return The api at the given index.
*/
com.particles.mes.protos.openrtb.APIFramework getApi(int index);
/**
* <pre>
* Supported VAST companion ad types. Recommended if companion Banner
* objects are included through the companionad array.
* Supported by Google.
* </pre>
*
* <code>repeated .com.google.openrtb.CompanionType companiontype = 20 [packed = true];</code>
* @return A list containing the companiontype.
*/
java.util.List<com.particles.mes.protos.openrtb.CompanionType> getCompaniontypeList();
/**
* <pre>
* Supported VAST companion ad types. Recommended if companion Banner
* objects are included through the companionad array.
* Supported by Google.
* </pre>
*
* <code>repeated .com.google.openrtb.CompanionType companiontype = 20 [packed = true];</code>
* @return The count of companiontype.
*/
int getCompaniontypeCount();
/**
* <pre>
* Supported VAST companion ad types. Recommended if companion Banner
* objects are included through the companionad array.
* Supported by Google.
* </pre>
*
* <code>repeated .com.google.openrtb.CompanionType companiontype = 20 [packed = true];</code>
* @param index The index of the element to return.
* @return The companiontype at the given index.
*/
com.particles.mes.protos.openrtb.CompanionType getCompaniontype(int index);
/**
* <pre>
* DEPRECATED in OpenRTB 2.3+, REMOVED in 2.6.
* Use the field <code>protocols</code>.
* Not supported by Google.
* </pre>
*
* <code>optional .com.google.openrtb.Protocol protocol = 5 [deprecated = true];</code>
* @deprecated com.google.openrtb.BidRequest.Imp.Video.protocol is deprecated.
* See openrtb/openrtb-v26.proto;l=404
* @return Whether the protocol field is set.
*/
@java.lang.Deprecated boolean hasProtocol();
/**
* <pre>
* DEPRECATED in OpenRTB 2.3+, REMOVED in 2.6.
* Use the field <code>protocols</code>.
* Not supported by Google.
* </pre>
*
* <code>optional .com.google.openrtb.Protocol protocol = 5 [deprecated = true];</code>
* @deprecated com.google.openrtb.BidRequest.Imp.Video.protocol is deprecated.
* See openrtb/openrtb-v26.proto;l=404
* @return The protocol.
*/
@java.lang.Deprecated com.particles.mes.protos.openrtb.Protocol getProtocol();
}
/**
* <pre>
* OpenRTB 2.0: This object represents an in-stream video impression.
* Many of the fields are non-essential for minimally viable transactions,
* but are included to offer fine control when needed. Video in OpenRTB
* generally assumes compliance with the VAST standard. As such, the notion
* of companion ads is supported by optionally including an array of Banner
* objects (refer to the Banner object in Section 3.2.3) that define these
* companion ads.
* The presence of a Video as a subordinate of the Imp object indicates
* that this impression is offered as a video type impression. At the
* publisher's discretion, that same impression may also be offered as
* banner and/or native by also including as Imp subordinates the Banner
* and/or Native objects, respectively. However, any given bid for the
* impression must conform to one of the offered types.
* </pre>
*
* Protobuf type {@code com.google.openrtb.BidRequest.Imp.Video}
*/
public static final class Video extends
com.google.protobuf.GeneratedMessageLite.ExtendableMessage<
Video, Video.Builder> implements
// @@protoc_insertion_point(message_implements:com.google.openrtb.BidRequest.Imp.Video)
VideoOrBuilder {
private Video() {
mimes_ = com.google.protobuf.GeneratedMessageLite.emptyProtobufList();
protocols_ = emptyIntList();
podid_ = "";
rqddurs_ = emptyIntList();
linearity_ = 1;
sequence_ = 1;
battr_ = emptyIntList();
boxingallowed_ = true;
playbackmethod_ = emptyIntList();
playbackend_ = 1;
delivery_ = emptyIntList();
companionad_ = emptyProtobufList();
api_ = emptyIntList();
companiontype_ = emptyIntList();
protocol_ = 1;
}
private int bitField0_;
public static final int MIMES_FIELD_NUMBER = 1;
private com.google.protobuf.Internal.ProtobufList<java.lang.String> mimes_;
/**
* <pre>
* Allowlist of content MIME types supported. Popular MIME types include,
* but are not limited to "image/jpg", "image/gif" and
* "application/x-shockwave-flash".
* REQUIRED by the OpenRTB specification: at least 1 element.
* Supported by Google.
* </pre>
*
* <code>repeated string mimes = 1;</code>
* @return A list containing the mimes.
*/
@java.lang.Override
public java.util.List<java.lang.String> getMimesList() {
return mimes_;
}
/**
* <pre>
* Allowlist of content MIME types supported. Popular MIME types include,
* but are not limited to "image/jpg", "image/gif" and
* "application/x-shockwave-flash".
* REQUIRED by the OpenRTB specification: at least 1 element.
* Supported by Google.
* </pre>
*
* <code>repeated string mimes = 1;</code>
* @return The count of mimes.
*/
@java.lang.Override
public int getMimesCount() {
return mimes_.size();
}
/**
* <pre>
* Allowlist of content MIME types supported. Popular MIME types include,
* but are not limited to "image/jpg", "image/gif" and
* "application/x-shockwave-flash".
* REQUIRED by the OpenRTB specification: at least 1 element.
* Supported by Google.
* </pre>
*
* <code>repeated string mimes = 1;</code>
* @param index The index of the element to return.
* @return The mimes at the given index.
*/
@java.lang.Override
public java.lang.String getMimes(int index) {
return mimes_.get(index);
}
/**
* <pre>
* Allowlist of content MIME types supported. Popular MIME types include,
* but are not limited to "image/jpg", "image/gif" and
* "application/x-shockwave-flash".
* REQUIRED by the OpenRTB specification: at least 1 element.
* Supported by Google.
* </pre>
*
* <code>repeated string mimes = 1;</code>
* @param index The index of the value to return.
* @return The bytes of the mimes at the given index.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getMimesBytes(int index) {
return com.google.protobuf.ByteString.copyFromUtf8(
mimes_.get(index));
}
private void ensureMimesIsMutable() {
com.google.protobuf.Internal.ProtobufList<java.lang.String> tmp =
mimes_; if (!tmp.isModifiable()) {
mimes_ =
com.google.protobuf.GeneratedMessageLite.mutableCopy(tmp);
}
}
/**
* <pre>
* Allowlist of content MIME types supported. Popular MIME types include,
* but are not limited to "image/jpg", "image/gif" and
* "application/x-shockwave-flash".
* REQUIRED by the OpenRTB specification: at least 1 element.
* Supported by Google.
* </pre>
*
* <code>repeated string mimes = 1;</code>
* @param index The index to set the value at.
* @param value The mimes to set.
*/
private void setMimes(
int index, java.lang.String value) {
java.lang.Class<?> valueClass = value.getClass();
ensureMimesIsMutable();
mimes_.set(index, value);
}
/**
* <pre>
* Allowlist of content MIME types supported. Popular MIME types include,
* but are not limited to "image/jpg", "image/gif" and
* "application/x-shockwave-flash".
* REQUIRED by the OpenRTB specification: at least 1 element.
* Supported by Google.
* </pre>
*
* <code>repeated string mimes = 1;</code>
* @param value The mimes to add.
*/
private void addMimes(
java.lang.String value) {
java.lang.Class<?> valueClass = value.getClass();
ensureMimesIsMutable();
mimes_.add(value);
}
/**
* <pre>
* Allowlist of content MIME types supported. Popular MIME types include,
* but are not limited to "image/jpg", "image/gif" and
* "application/x-shockwave-flash".
* REQUIRED by the OpenRTB specification: at least 1 element.
* Supported by Google.
* </pre>
*
* <code>repeated string mimes = 1;</code>
* @param values The mimes to add.
*/
private void addAllMimes(
java.lang.Iterable<java.lang.String> values) {
ensureMimesIsMutable();
com.google.protobuf.AbstractMessageLite.addAll(
values, mimes_);
}
/**
* <pre>
* Allowlist of content MIME types supported. Popular MIME types include,
* but are not limited to "image/jpg", "image/gif" and
* "application/x-shockwave-flash".
* REQUIRED by the OpenRTB specification: at least 1 element.
* Supported by Google.
* </pre>
*
* <code>repeated string mimes = 1;</code>
*/
private void clearMimes() {
mimes_ = com.google.protobuf.GeneratedMessageLite.emptyProtobufList();
}
/**
* <pre>
* Allowlist of content MIME types supported. Popular MIME types include,
* but are not limited to "image/jpg", "image/gif" and
* "application/x-shockwave-flash".
* REQUIRED by the OpenRTB specification: at least 1 element.
* Supported by Google.
* </pre>
*
* <code>repeated string mimes = 1;</code>
* @param value The bytes of the mimes to add.
*/
private void addMimesBytes(
com.google.protobuf.ByteString value) {
ensureMimesIsMutable();
mimes_.add(value.toStringUtf8());
}
public static final int MINDURATION_FIELD_NUMBER = 3;
private int minduration_;
/**
* <pre>
* Minimum video ad duration in seconds.
* This field is mutually exclusive with rqddurs; only one of
* minduration and rqddurs may be in a bid request.
* Supported by Google.
* </pre>
*
* <code>optional int32 minduration = 3 [default = 0];</code>
* @return Whether the minduration field is set.
*/
@java.lang.Override
public boolean hasMinduration() {
return ((bitField0_ & 0x00000001) != 0);
}
/**
* <pre>
* Minimum video ad duration in seconds.
* This field is mutually exclusive with rqddurs; only one of
* minduration and rqddurs may be in a bid request.
* Supported by Google.
* </pre>
*
* <code>optional int32 minduration = 3 [default = 0];</code>
* @return The minduration.
*/
@java.lang.Override
public int getMinduration() {
return minduration_;
}
/**
* <pre>
* Minimum video ad duration in seconds.
* This field is mutually exclusive with rqddurs; only one of
* minduration and rqddurs may be in a bid request.
* Supported by Google.
* </pre>
*
* <code>optional int32 minduration = 3 [default = 0];</code>
* @param value The minduration to set.
*/
private void setMinduration(int value) {
bitField0_ |= 0x00000001;
minduration_ = value;
}
/**
* <pre>
* Minimum video ad duration in seconds.
* This field is mutually exclusive with rqddurs; only one of
* minduration and rqddurs may be in a bid request.
* Supported by Google.
* </pre>
*
* <code>optional int32 minduration = 3 [default = 0];</code>
*/
private void clearMinduration() {
bitField0_ = (bitField0_ & ~0x00000001);
minduration_ = 0;
}
public static final int MAXDURATION_FIELD_NUMBER = 4;
private int maxduration_;
/**
* <pre>
* Maximum video ad duration in seconds.
* This field is mutually exclusive with rqddurs; only one of
* maxduration and rqddurs may be in a bid request.
* Supported by Google.
* </pre>
*
* <code>optional int32 maxduration = 4;</code>
* @return Whether the maxduration field is set.
*/
@java.lang.Override
public boolean hasMaxduration() {
return ((bitField0_ & 0x00000002) != 0);
}
/**
* <pre>
* Maximum video ad duration in seconds.
* This field is mutually exclusive with rqddurs; only one of
* maxduration and rqddurs may be in a bid request.
* Supported by Google.
* </pre>
*
* <code>optional int32 maxduration = 4;</code>
* @return The maxduration.
*/
@java.lang.Override
public int getMaxduration() {
return maxduration_;
}
/**
* <pre>
* Maximum video ad duration in seconds.
* This field is mutually exclusive with rqddurs; only one of
* maxduration and rqddurs may be in a bid request.
* Supported by Google.
* </pre>
*
* <code>optional int32 maxduration = 4;</code>
* @param value The maxduration to set.
*/
private void setMaxduration(int value) {
bitField0_ |= 0x00000002;
maxduration_ = value;
}
/**
* <pre>
* Maximum video ad duration in seconds.
* This field is mutually exclusive with rqddurs; only one of
* maxduration and rqddurs may be in a bid request.
* Supported by Google.
* </pre>
*
* <code>optional int32 maxduration = 4;</code>
*/
private void clearMaxduration() {
bitField0_ = (bitField0_ & ~0x00000002);
maxduration_ = 0;
}
public static final int STARTDELAY_FIELD_NUMBER = 8;
private int startdelay_;
/**
* <pre>
* Indicates the start delay in seconds for pre-roll, mid-roll, or
* post-roll ad placements.
* Refer to enum StartDelay for generic values.
* Supported by Google.
* </pre>
*
* <code>optional int32 startdelay = 8;</code>
* @return Whether the startdelay field is set.
*/
@java.lang.Override
public boolean hasStartdelay() {
return ((bitField0_ & 0x00000004) != 0);
}
/**
* <pre>
* Indicates the start delay in seconds for pre-roll, mid-roll, or
* post-roll ad placements.
* Refer to enum StartDelay for generic values.
* Supported by Google.
* </pre>
*
* <code>optional int32 startdelay = 8;</code>
* @return The startdelay.
*/
@java.lang.Override
public int getStartdelay() {
return startdelay_;
}
/**
* <pre>
* Indicates the start delay in seconds for pre-roll, mid-roll, or
* post-roll ad placements.
* Refer to enum StartDelay for generic values.
* Supported by Google.
* </pre>
*
* <code>optional int32 startdelay = 8;</code>
* @param value The startdelay to set.
*/
private void setStartdelay(int value) {
bitField0_ |= 0x00000004;
startdelay_ = value;
}
/**
* <pre>
* Indicates the start delay in seconds for pre-roll, mid-roll, or
* post-roll ad placements.
* Refer to enum StartDelay for generic values.
* Supported by Google.
* </pre>
*
* <code>optional int32 startdelay = 8;</code>
*/
private void clearStartdelay() {
bitField0_ = (bitField0_ & ~0x00000004);
startdelay_ = 0;
}
public static final int MAXSEQ_FIELD_NUMBER = 28;
private int maxseq_;
/**
* <pre>
* Indicates the maximum number of ads that may be served into a
* "dynamic" video ad pod (where the precise number of ads is not
* predetermined by the seller).
* This field is currently only supported by Google for
* rewarded video pods requests.
* </pre>
*
* <code>optional int32 maxseq = 28;</code>
* @return Whether the maxseq field is set.
*/
@java.lang.Override
public boolean hasMaxseq() {
return ((bitField0_ & 0x00000008) != 0);
}
/**
* <pre>
* Indicates the maximum number of ads that may be served into a
* "dynamic" video ad pod (where the precise number of ads is not
* predetermined by the seller).
* This field is currently only supported by Google for
* rewarded video pods requests.
* </pre>
*
* <code>optional int32 maxseq = 28;</code>
* @return The maxseq.
*/
@java.lang.Override
public int getMaxseq() {
return maxseq_;
}
/**
* <pre>
* Indicates the maximum number of ads that may be served into a
* "dynamic" video ad pod (where the precise number of ads is not
* predetermined by the seller).
* This field is currently only supported by Google for
* rewarded video pods requests.
* </pre>
*
* <code>optional int32 maxseq = 28;</code>
* @param value The maxseq to set.
*/
private void setMaxseq(int value) {
bitField0_ |= 0x00000008;
maxseq_ = value;
}
/**
* <pre>
* Indicates the maximum number of ads that may be served into a
* "dynamic" video ad pod (where the precise number of ads is not
* predetermined by the seller).
* This field is currently only supported by Google for
* rewarded video pods requests.
* </pre>
*
* <code>optional int32 maxseq = 28;</code>
*/
private void clearMaxseq() {
bitField0_ = (bitField0_ & ~0x00000008);
maxseq_ = 0;
}
public static final int PODDUR_FIELD_NUMBER = 29;
private int poddur_;
/**
* <pre>
* Indicates the total amount of time in seconds that advertisers may
* fill for a "dynamic" video ad pod, or the dynamic portion of a
* "hybrid" ad pod. This field is required only for the dynamic
* portion(s) of video ad pods. This field refers to the length of the
* entire ad break, whereas minduration/maxduration/rqddurs are
* constraints relating to the slots that make up the pod.
* This field is currently only supported for rewarded video pods
* requests.
* </pre>
*
* <code>optional int32 poddur = 29;</code>
* @return Whether the poddur field is set.
*/
@java.lang.Override
public boolean hasPoddur() {
return ((bitField0_ & 0x00000010) != 0);
}
/**
* <pre>
* Indicates the total amount of time in seconds that advertisers may
* fill for a "dynamic" video ad pod, or the dynamic portion of a
* "hybrid" ad pod. This field is required only for the dynamic
* portion(s) of video ad pods. This field refers to the length of the
* entire ad break, whereas minduration/maxduration/rqddurs are
* constraints relating to the slots that make up the pod.
* This field is currently only supported for rewarded video pods
* requests.
* </pre>
*
* <code>optional int32 poddur = 29;</code>
* @return The poddur.
*/
@java.lang.Override
public int getPoddur() {
return poddur_;
}
/**
* <pre>
* Indicates the total amount of time in seconds that advertisers may
* fill for a "dynamic" video ad pod, or the dynamic portion of a
* "hybrid" ad pod. This field is required only for the dynamic
* portion(s) of video ad pods. This field refers to the length of the
* entire ad break, whereas minduration/maxduration/rqddurs are
* constraints relating to the slots that make up the pod.
* This field is currently only supported for rewarded video pods
* requests.
* </pre>
*
* <code>optional int32 poddur = 29;</code>
* @param value The poddur to set.
*/
private void setPoddur(int value) {
bitField0_ |= 0x00000010;
poddur_ = value;
}
/**
* <pre>
* Indicates the total amount of time in seconds that advertisers may
* fill for a "dynamic" video ad pod, or the dynamic portion of a
* "hybrid" ad pod. This field is required only for the dynamic
* portion(s) of video ad pods. This field refers to the length of the
* entire ad break, whereas minduration/maxduration/rqddurs are
* constraints relating to the slots that make up the pod.
* This field is currently only supported for rewarded video pods
* requests.
* </pre>
*
* <code>optional int32 poddur = 29;</code>
*/
private void clearPoddur() {
bitField0_ = (bitField0_ & ~0x00000010);
poddur_ = 0;
}
public static final int PROTOCOLS_FIELD_NUMBER = 21;
private com.google.protobuf.Internal.IntList protocols_;
private static final com.google.protobuf.Internal.ListAdapter.Converter<
java.lang.Integer, com.particles.mes.protos.openrtb.Protocol> protocols_converter_ =
new com.google.protobuf.Internal.ListAdapter.Converter<
java.lang.Integer, com.particles.mes.protos.openrtb.Protocol>() {
@java.lang.Override
public com.particles.mes.protos.openrtb.Protocol convert(java.lang.Integer from) {
com.particles.mes.protos.openrtb.Protocol result = com.particles.mes.protos.openrtb.Protocol.forNumber(from);
return result == null ? com.particles.mes.protos.openrtb.Protocol.VAST_1_0 : result;
}
};
/**
* <pre>
* Array of supported video bid response protocols.
* At least one supported protocol must be specified.
* Supported by Google.
* </pre>
*
* <code>repeated .com.google.openrtb.Protocol protocols = 21 [packed = true];</code>
* @return A list containing the protocols.
*/
@java.lang.Override
public java.util.List<com.particles.mes.protos.openrtb.Protocol> getProtocolsList() {
return new com.google.protobuf.Internal.ListAdapter<
java.lang.Integer, com.particles.mes.protos.openrtb.Protocol>(protocols_, protocols_converter_);
}
/**
* <pre>
* Array of supported video bid response protocols.
* At least one supported protocol must be specified.
* Supported by Google.
* </pre>
*
* <code>repeated .com.google.openrtb.Protocol protocols = 21 [packed = true];</code>
* @return The count of protocols.
*/
@java.lang.Override
public int getProtocolsCount() {
return protocols_.size();
}
/**
* <pre>
* Array of supported video bid response protocols.
* At least one supported protocol must be specified.
* Supported by Google.
* </pre>
*
* <code>repeated .com.google.openrtb.Protocol protocols = 21 [packed = true];</code>
* @param index The index of the element to return.
* @return The protocols at the given index.
*/
@java.lang.Override
public com.particles.mes.protos.openrtb.Protocol getProtocols(int index) {
com.particles.mes.protos.openrtb.Protocol result = com.particles.mes.protos.openrtb.Protocol.forNumber(protocols_.getInt(index));
return result == null ? com.particles.mes.protos.openrtb.Protocol.VAST_1_0 : result;
}
private int protocolsMemoizedSerializedSize;
private void ensureProtocolsIsMutable() {
com.google.protobuf.Internal.IntList tmp = protocols_;
if (!tmp.isModifiable()) {
protocols_ =
com.google.protobuf.GeneratedMessageLite.mutableCopy(tmp);
}
}
/**
* <pre>
* Array of supported video bid response protocols.
* At least one supported protocol must be specified.
* Supported by Google.
* </pre>
*
* <code>repeated .com.google.openrtb.Protocol protocols = 21 [packed = true];</code>
* @param index The index to set the value at.
* @param value The protocols to set.
*/
private void setProtocols(
int index, com.particles.mes.protos.openrtb.Protocol value) {
value.getClass();
ensureProtocolsIsMutable();
protocols_.setInt(index, value.getNumber());
}
/**
* <pre>
* Array of supported video bid response protocols.
* At least one supported protocol must be specified.
* Supported by Google.
* </pre>
*
* <code>repeated .com.google.openrtb.Protocol protocols = 21 [packed = true];</code>
* @param value The protocols to add.
*/
private void addProtocols(com.particles.mes.protos.openrtb.Protocol value) {
value.getClass();
ensureProtocolsIsMutable();
protocols_.addInt(value.getNumber());
}
/**
* <pre>
* Array of supported video bid response protocols.
* At least one supported protocol must be specified.
* Supported by Google.
* </pre>
*
* <code>repeated .com.google.openrtb.Protocol protocols = 21 [packed = true];</code>
* @param values The protocols to add.
*/
private void addAllProtocols(
java.lang.Iterable<? extends com.particles.mes.protos.openrtb.Protocol> values) {
ensureProtocolsIsMutable();
for (com.particles.mes.protos.openrtb.Protocol value : values) {
protocols_.addInt(value.getNumber());
}
}
/**
* <pre>
* Array of supported video bid response protocols.
* At least one supported protocol must be specified.
* Supported by Google.
* </pre>
*
* <code>repeated .com.google.openrtb.Protocol protocols = 21 [packed = true];</code>
*/
private void clearProtocols() {
protocols_ = emptyIntList();
}
public static final int W_FIELD_NUMBER = 6;
private int w_;
/**
* <pre>
* Width of the video player in device independent pixels (DIPS).
* Supported by Google.
* </pre>
*
* <code>optional int32 w = 6;</code>
* @return Whether the w field is set.
*/
@java.lang.Override
public boolean hasW() {
return ((bitField0_ & 0x00000020) != 0);
}
/**
* <pre>
* Width of the video player in device independent pixels (DIPS).
* Supported by Google.
* </pre>
*
* <code>optional int32 w = 6;</code>
* @return The w.
*/
@java.lang.Override
public int getW() {
return w_;
}
/**
* <pre>
* Width of the video player in device independent pixels (DIPS).
* Supported by Google.
* </pre>
*
* <code>optional int32 w = 6;</code>
* @param value The w to set.
*/
private void setW(int value) {
bitField0_ |= 0x00000020;
w_ = value;
}
/**
* <pre>
* Width of the video player in device independent pixels (DIPS).
* Supported by Google.
* </pre>
*
* <code>optional int32 w = 6;</code>
*/
private void clearW() {
bitField0_ = (bitField0_ & ~0x00000020);
w_ = 0;
}
public static final int H_FIELD_NUMBER = 7;
private int h_;
/**
* <pre>
* Height of the video player in device independent pixels (DIPS).
* Supported by Google.
* </pre>
*
* <code>optional int32 h = 7;</code>
* @return Whether the h field is set.
*/
@java.lang.Override
public boolean hasH() {
return ((bitField0_ & 0x00000040) != 0);
}
/**
* <pre>
* Height of the video player in device independent pixels (DIPS).
* Supported by Google.
* </pre>
*
* <code>optional int32 h = 7;</code>
* @return The h.
*/
@java.lang.Override
public int getH() {
return h_;
}
/**
* <pre>
* Height of the video player in device independent pixels (DIPS).
* Supported by Google.
* </pre>
*
* <code>optional int32 h = 7;</code>
* @param value The h to set.
*/
private void setH(int value) {
bitField0_ |= 0x00000040;
h_ = value;
}
/**
* <pre>
* Height of the video player in device independent pixels (DIPS).
* Supported by Google.
* </pre>
*
* <code>optional int32 h = 7;</code>
*/
private void clearH() {
bitField0_ = (bitField0_ & ~0x00000040);
h_ = 0;
}
public static final int PODID_FIELD_NUMBER = 30;
private java.lang.String podid_;
/**
* <pre>
* Unique identifier indicating that an impression opportunity
* belongs to a video ad pod. If multiple impression opportunities
* within a bid request share the same podid, this indicates that
* those impression opportunities belong to the same video ad pod.
* Not supported by Google.
* </pre>
*
* <code>optional string podid = 30;</code>
* @return Whether the podid field is set.
*/
@java.lang.Override
public boolean hasPodid() {
return ((bitField0_ & 0x00000080) != 0);
}
/**
* <pre>
* Unique identifier indicating that an impression opportunity
* belongs to a video ad pod. If multiple impression opportunities
* within a bid request share the same podid, this indicates that
* those impression opportunities belong to the same video ad pod.
* Not supported by Google.
* </pre>
*
* <code>optional string podid = 30;</code>
* @return The podid.
*/
@java.lang.Override
public java.lang.String getPodid() {
return podid_;
}
/**
* <pre>
* Unique identifier indicating that an impression opportunity
* belongs to a video ad pod. If multiple impression opportunities
* within a bid request share the same podid, this indicates that
* those impression opportunities belong to the same video ad pod.
* Not supported by Google.
* </pre>
*
* <code>optional string podid = 30;</code>
* @return The bytes for podid.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getPodidBytes() {
return com.google.protobuf.ByteString.copyFromUtf8(podid_);
}
/**
* <pre>
* Unique identifier indicating that an impression opportunity
* belongs to a video ad pod. If multiple impression opportunities
* within a bid request share the same podid, this indicates that
* those impression opportunities belong to the same video ad pod.
* Not supported by Google.
* </pre>
*
* <code>optional string podid = 30;</code>
* @param value The podid to set.
*/
private void setPodid(
java.lang.String value) {
java.lang.Class<?> valueClass = value.getClass();
bitField0_ |= 0x00000080;
podid_ = value;
}
/**
* <pre>
* Unique identifier indicating that an impression opportunity
* belongs to a video ad pod. If multiple impression opportunities
* within a bid request share the same podid, this indicates that
* those impression opportunities belong to the same video ad pod.
* Not supported by Google.
* </pre>
*
* <code>optional string podid = 30;</code>
*/
private void clearPodid() {
bitField0_ = (bitField0_ & ~0x00000080);
podid_ = getDefaultInstance().getPodid();
}
/**
* <pre>
* Unique identifier indicating that an impression opportunity
* belongs to a video ad pod. If multiple impression opportunities
* within a bid request share the same podid, this indicates that
* those impression opportunities belong to the same video ad pod.
* Not supported by Google.
* </pre>
*
* <code>optional string podid = 30;</code>
* @param value The bytes for podid to set.
*/
private void setPodidBytes(
com.google.protobuf.ByteString value) {
podid_ = value.toStringUtf8();
bitField0_ |= 0x00000080;
}
public static final int PODSEQ_FIELD_NUMBER = 31;
private int podseq_;
/**
* <pre>
* The sequence (position) of the video ad pod within a content stream.
* Not supported by Google.
* </pre>
*
* <code>optional .com.google.openrtb.PodSequence podseq = 31 [default = POD_SEQUENCE_ANY];</code>
* @return Whether the podseq field is set.
*/
@java.lang.Override
public boolean hasPodseq() {
return ((bitField0_ & 0x00000100) != 0);
}
/**
* <pre>
* The sequence (position) of the video ad pod within a content stream.
* Not supported by Google.
* </pre>
*
* <code>optional .com.google.openrtb.PodSequence podseq = 31 [default = POD_SEQUENCE_ANY];</code>
* @return The podseq.
*/
@java.lang.Override
public com.particles.mes.protos.openrtb.PodSequence getPodseq() {
com.particles.mes.protos.openrtb.PodSequence result = com.particles.mes.protos.openrtb.PodSequence.forNumber(podseq_);
return result == null ? com.particles.mes.protos.openrtb.PodSequence.POD_SEQUENCE_ANY : result;
}
/**
* <pre>
* The sequence (position) of the video ad pod within a content stream.
* Not supported by Google.
* </pre>
*
* <code>optional .com.google.openrtb.PodSequence podseq = 31 [default = POD_SEQUENCE_ANY];</code>
* @param value The podseq to set.
*/
private void setPodseq(com.particles.mes.protos.openrtb.PodSequence value) {
podseq_ = value.getNumber();
bitField0_ |= 0x00000100;
}
/**
* <pre>
* The sequence (position) of the video ad pod within a content stream.
* Not supported by Google.
* </pre>
*
* <code>optional .com.google.openrtb.PodSequence podseq = 31 [default = POD_SEQUENCE_ANY];</code>
*/
private void clearPodseq() {
bitField0_ = (bitField0_ & ~0x00000100);
podseq_ = 0;
}
public static final int RQDDURS_FIELD_NUMBER = 32;
private com.google.protobuf.Internal.IntList rqddurs_;
/**
* <pre>
* Precise acceptable durations for video creatives in
* seconds. This field specifically targets the Live TV use case
* where non-exact ad durations would result in undesirable ‘dead air’.
* This field is mutually exclusive with minduration and maxduration;
* if rqddurs is specified, minduration and maxduration must not be
* specified and the other way around.
* Not supported by Google.
* </pre>
*
* <code>repeated int32 rqddurs = 32 [packed = true];</code>
* @return A list containing the rqddurs.
*/
@java.lang.Override
public java.util.List<java.lang.Integer>
getRqddursList() {
return rqddurs_;
}
/**
* <pre>
* Precise acceptable durations for video creatives in
* seconds. This field specifically targets the Live TV use case
* where non-exact ad durations would result in undesirable ‘dead air’.
* This field is mutually exclusive with minduration and maxduration;
* if rqddurs is specified, minduration and maxduration must not be
* specified and the other way around.
* Not supported by Google.
* </pre>
*
* <code>repeated int32 rqddurs = 32 [packed = true];</code>
* @return The count of rqddurs.
*/
@java.lang.Override
public int getRqddursCount() {
return rqddurs_.size();
}
/**
* <pre>
* Precise acceptable durations for video creatives in
* seconds. This field specifically targets the Live TV use case
* where non-exact ad durations would result in undesirable ‘dead air’.
* This field is mutually exclusive with minduration and maxduration;
* if rqddurs is specified, minduration and maxduration must not be
* specified and the other way around.
* Not supported by Google.
* </pre>
*
* <code>repeated int32 rqddurs = 32 [packed = true];</code>
* @param index The index of the element to return.
* @return The rqddurs at the given index.
*/
@java.lang.Override
public int getRqddurs(int index) {
return rqddurs_.getInt(index);
}
private int rqddursMemoizedSerializedSize = -1;
private void ensureRqddursIsMutable() {
com.google.protobuf.Internal.IntList tmp = rqddurs_;
if (!tmp.isModifiable()) {
rqddurs_ =
com.google.protobuf.GeneratedMessageLite.mutableCopy(tmp);
}
}
/**
* <pre>
* Precise acceptable durations for video creatives in
* seconds. This field specifically targets the Live TV use case
* where non-exact ad durations would result in undesirable ‘dead air’.
* This field is mutually exclusive with minduration and maxduration;
* if rqddurs is specified, minduration and maxduration must not be
* specified and the other way around.
* Not supported by Google.
* </pre>
*
* <code>repeated int32 rqddurs = 32 [packed = true];</code>
* @param index The index to set the value at.
* @param value The rqddurs to set.
*/
private void setRqddurs(
int index, int value) {
ensureRqddursIsMutable();
rqddurs_.setInt(index, value);
}
/**
* <pre>
* Precise acceptable durations for video creatives in
* seconds. This field specifically targets the Live TV use case
* where non-exact ad durations would result in undesirable ‘dead air’.
* This field is mutually exclusive with minduration and maxduration;
* if rqddurs is specified, minduration and maxduration must not be
* specified and the other way around.
* Not supported by Google.
* </pre>
*
* <code>repeated int32 rqddurs = 32 [packed = true];</code>
* @param value The rqddurs to add.
*/
private void addRqddurs(int value) {
ensureRqddursIsMutable();
rqddurs_.addInt(value);
}
/**
* <pre>
* Precise acceptable durations for video creatives in
* seconds. This field specifically targets the Live TV use case
* where non-exact ad durations would result in undesirable ‘dead air’.
* This field is mutually exclusive with minduration and maxduration;
* if rqddurs is specified, minduration and maxduration must not be
* specified and the other way around.
* Not supported by Google.
* </pre>
*
* <code>repeated int32 rqddurs = 32 [packed = true];</code>
* @param values The rqddurs to add.
*/
private void addAllRqddurs(
java.lang.Iterable<? extends java.lang.Integer> values) {
ensureRqddursIsMutable();
com.google.protobuf.AbstractMessageLite.addAll(
values, rqddurs_);
}
/**
* <pre>
* Precise acceptable durations for video creatives in
* seconds. This field specifically targets the Live TV use case
* where non-exact ad durations would result in undesirable ‘dead air’.
* This field is mutually exclusive with minduration and maxduration;
* if rqddurs is specified, minduration and maxduration must not be
* specified and the other way around.
* Not supported by Google.
* </pre>
*
* <code>repeated int32 rqddurs = 32 [packed = true];</code>
*/
private void clearRqddurs() {
rqddurs_ = emptyIntList();
}
public static final int PLACEMENT_FIELD_NUMBER = 26;
private int placement_;
/**
* <pre>
* Deprecated. This will be removed in January 2025 per the IAB here:
* https://github.com/InteractiveAdvertisingBureau/AdCOM/blob/main/AdCOM%20v1.0%20FINAL.md#list--placement-subtypes---video-
* Placement type for the impression.
* Supported by Google.
* </pre>
*
* <code>optional .com.google.openrtb.VideoPlacementType placement = 26 [deprecated = true];</code>
* @deprecated com.google.openrtb.BidRequest.Imp.Video.placement is deprecated.
* See openrtb/openrtb-v26.proto;l=291
* @return Whether the placement field is set.
*/
@java.lang.Override
@java.lang.Deprecated public boolean hasPlacement() {
return ((bitField0_ & 0x00000200) != 0);
}
/**
* <pre>
* Deprecated. This will be removed in January 2025 per the IAB here:
* https://github.com/InteractiveAdvertisingBureau/AdCOM/blob/main/AdCOM%20v1.0%20FINAL.md#list--placement-subtypes---video-
* Placement type for the impression.
* Supported by Google.
* </pre>
*
* <code>optional .com.google.openrtb.VideoPlacementType placement = 26 [deprecated = true];</code>
* @deprecated com.google.openrtb.BidRequest.Imp.Video.placement is deprecated.
* See openrtb/openrtb-v26.proto;l=291
* @return The placement.
*/
@java.lang.Override
@java.lang.Deprecated public com.particles.mes.protos.openrtb.VideoPlacementType getPlacement() {
com.particles.mes.protos.openrtb.VideoPlacementType result = com.particles.mes.protos.openrtb.VideoPlacementType.forNumber(placement_);
return result == null ? com.particles.mes.protos.openrtb.VideoPlacementType.UNDEFINED_VIDEO_PLACEMENT : result;
}
/**
* <pre>
* Deprecated. This will be removed in January 2025 per the IAB here:
* https://github.com/InteractiveAdvertisingBureau/AdCOM/blob/main/AdCOM%20v1.0%20FINAL.md#list--placement-subtypes---video-
* Placement type for the impression.
* Supported by Google.
* </pre>
*
* <code>optional .com.google.openrtb.VideoPlacementType placement = 26 [deprecated = true];</code>
* @deprecated com.google.openrtb.BidRequest.Imp.Video.placement is deprecated.
* See openrtb/openrtb-v26.proto;l=291
* @param value The placement to set.
*/
private void setPlacement(com.particles.mes.protos.openrtb.VideoPlacementType value) {
placement_ = value.getNumber();
bitField0_ |= 0x00000200;
}
/**
* <pre>
* Deprecated. This will be removed in January 2025 per the IAB here:
* https://github.com/InteractiveAdvertisingBureau/AdCOM/blob/main/AdCOM%20v1.0%20FINAL.md#list--placement-subtypes---video-
* Placement type for the impression.
* Supported by Google.
* </pre>
*
* <code>optional .com.google.openrtb.VideoPlacementType placement = 26 [deprecated = true];</code>
* @deprecated com.google.openrtb.BidRequest.Imp.Video.placement is deprecated.
* See openrtb/openrtb-v26.proto;l=291
*/
private void clearPlacement() {
bitField0_ = (bitField0_ & ~0x00000200);
placement_ = 0;
}
public static final int PLCMT_FIELD_NUMBER = 35;
private int plcmt_;
/**
* <pre>
* Video placement type declared by the publisher for this impression.
* Introduced in OpenRTB 2.6 to reflect updated industry definitions
* around different types of video ad placements. This field supersedes
* the Video.placement field. May be unset if the publisher did not
* declare a video placement type.
* Supported by Google.
* </pre>
*
* <code>optional .com.google.openrtb.Plcmt plcmt = 35 [default = PLCMT_UNKNOWN];</code>
* @return Whether the plcmt field is set.
*/
@java.lang.Override
public boolean hasPlcmt() {
return ((bitField0_ & 0x00000400) != 0);
}
/**
* <pre>
* Video placement type declared by the publisher for this impression.
* Introduced in OpenRTB 2.6 to reflect updated industry definitions
* around different types of video ad placements. This field supersedes
* the Video.placement field. May be unset if the publisher did not
* declare a video placement type.
* Supported by Google.
* </pre>
*
* <code>optional .com.google.openrtb.Plcmt plcmt = 35 [default = PLCMT_UNKNOWN];</code>
* @return The plcmt.
*/
@java.lang.Override
public com.particles.mes.protos.openrtb.Plcmt getPlcmt() {
com.particles.mes.protos.openrtb.Plcmt result = com.particles.mes.protos.openrtb.Plcmt.forNumber(plcmt_);
return result == null ? com.particles.mes.protos.openrtb.Plcmt.PLCMT_UNKNOWN : result;
}
/**
* <pre>
* Video placement type declared by the publisher for this impression.
* Introduced in OpenRTB 2.6 to reflect updated industry definitions
* around different types of video ad placements. This field supersedes
* the Video.placement field. May be unset if the publisher did not
* declare a video placement type.
* Supported by Google.
* </pre>
*
* <code>optional .com.google.openrtb.Plcmt plcmt = 35 [default = PLCMT_UNKNOWN];</code>
* @param value The plcmt to set.
*/
private void setPlcmt(com.particles.mes.protos.openrtb.Plcmt value) {
plcmt_ = value.getNumber();
bitField0_ |= 0x00000400;
}
/**
* <pre>
* Video placement type declared by the publisher for this impression.
* Introduced in OpenRTB 2.6 to reflect updated industry definitions
* around different types of video ad placements. This field supersedes
* the Video.placement field. May be unset if the publisher did not
* declare a video placement type.
* Supported by Google.
* </pre>
*
* <code>optional .com.google.openrtb.Plcmt plcmt = 35 [default = PLCMT_UNKNOWN];</code>
*/
private void clearPlcmt() {
bitField0_ = (bitField0_ & ~0x00000400);
plcmt_ = 0;
}
public static final int LINEARITY_FIELD_NUMBER = 2;
private int linearity_;
/**
* <pre>
* Indicates if the impression must be linear or nonlinear. If none
* specified, assume all are allowed.
* Supported by Google.
* </pre>
*
* <code>optional .com.google.openrtb.VideoLinearity linearity = 2;</code>
* @return Whether the linearity field is set.
*/
@java.lang.Override
public boolean hasLinearity() {
return ((bitField0_ & 0x00000800) != 0);
}
/**
* <pre>
* Indicates if the impression must be linear or nonlinear. If none
* specified, assume all are allowed.
* Supported by Google.
* </pre>
*
* <code>optional .com.google.openrtb.VideoLinearity linearity = 2;</code>
* @return The linearity.
*/
@java.lang.Override
public com.particles.mes.protos.openrtb.VideoLinearity getLinearity() {
com.particles.mes.protos.openrtb.VideoLinearity result = com.particles.mes.protos.openrtb.VideoLinearity.forNumber(linearity_);
return result == null ? com.particles.mes.protos.openrtb.VideoLinearity.LINEAR : result;
}
/**
* <pre>
* Indicates if the impression must be linear or nonlinear. If none
* specified, assume all are allowed.
* Supported by Google.
* </pre>
*
* <code>optional .com.google.openrtb.VideoLinearity linearity = 2;</code>
* @param value The linearity to set.
*/
private void setLinearity(com.particles.mes.protos.openrtb.VideoLinearity value) {
linearity_ = value.getNumber();
bitField0_ |= 0x00000800;
}
/**
* <pre>
* Indicates if the impression must be linear or nonlinear. If none
* specified, assume all are allowed.
* Supported by Google.
* </pre>
*
* <code>optional .com.google.openrtb.VideoLinearity linearity = 2;</code>
*/
private void clearLinearity() {
bitField0_ = (bitField0_ & ~0x00000800);
linearity_ = 1;
}
public static final int SKIP_FIELD_NUMBER = 23;
private boolean skip_;
/**
* <pre>
* Indicates if the player will allow the video to be skipped.
* If a bidder sends markup/creative that is itself skippable, the
* Bid object should include the attr array with an element of
* AD_CAN_BE_SKIPPED indicating skippable video.
* Supported by Google.
* </pre>
*
* <code>optional bool skip = 23;</code>
* @return Whether the skip field is set.
*/
@java.lang.Override
public boolean hasSkip() {
return ((bitField0_ & 0x00001000) != 0);
}
/**
* <pre>
* Indicates if the player will allow the video to be skipped.
* If a bidder sends markup/creative that is itself skippable, the
* Bid object should include the attr array with an element of
* AD_CAN_BE_SKIPPED indicating skippable video.
* Supported by Google.
* </pre>
*
* <code>optional bool skip = 23;</code>
* @return The skip.
*/
@java.lang.Override
public boolean getSkip() {
return skip_;
}
/**
* <pre>
* Indicates if the player will allow the video to be skipped.
* If a bidder sends markup/creative that is itself skippable, the
* Bid object should include the attr array with an element of
* AD_CAN_BE_SKIPPED indicating skippable video.
* Supported by Google.
* </pre>
*
* <code>optional bool skip = 23;</code>
* @param value The skip to set.
*/
private void setSkip(boolean value) {
bitField0_ |= 0x00001000;
skip_ = value;
}
/**
* <pre>
* Indicates if the player will allow the video to be skipped.
* If a bidder sends markup/creative that is itself skippable, the
* Bid object should include the attr array with an element of
* AD_CAN_BE_SKIPPED indicating skippable video.
* Supported by Google.
* </pre>
*
* <code>optional bool skip = 23;</code>
*/
private void clearSkip() {
bitField0_ = (bitField0_ & ~0x00001000);
skip_ = false;
}
public static final int SKIPMIN_FIELD_NUMBER = 24;
private int skipmin_;
/**
* <pre>
* Videos of total duration greater than this number of seconds
* can be skippable; only applicable if the ad is skippable.
* Not supported by Google.
* </pre>
*
* <code>optional int32 skipmin = 24;</code>
* @return Whether the skipmin field is set.
*/
@java.lang.Override
public boolean hasSkipmin() {
return ((bitField0_ & 0x00002000) != 0);
}
/**
* <pre>
* Videos of total duration greater than this number of seconds
* can be skippable; only applicable if the ad is skippable.
* Not supported by Google.
* </pre>
*
* <code>optional int32 skipmin = 24;</code>
* @return The skipmin.
*/
@java.lang.Override
public int getSkipmin() {
return skipmin_;
}
/**
* <pre>
* Videos of total duration greater than this number of seconds
* can be skippable; only applicable if the ad is skippable.
* Not supported by Google.
* </pre>
*
* <code>optional int32 skipmin = 24;</code>
* @param value The skipmin to set.
*/
private void setSkipmin(int value) {
bitField0_ |= 0x00002000;
skipmin_ = value;
}
/**
* <pre>
* Videos of total duration greater than this number of seconds
* can be skippable; only applicable if the ad is skippable.
* Not supported by Google.
* </pre>
*
* <code>optional int32 skipmin = 24;</code>
*/
private void clearSkipmin() {
bitField0_ = (bitField0_ & ~0x00002000);
skipmin_ = 0;
}
public static final int SKIPAFTER_FIELD_NUMBER = 25;
private int skipafter_;
/**
* <pre>
* Number of seconds a video must play before skipping is
* enabled; only applicable if the ad is skippable.
* Not supported by Google.
* </pre>
*
* <code>optional int32 skipafter = 25;</code>
* @return Whether the skipafter field is set.
*/
@java.lang.Override
public boolean hasSkipafter() {
return ((bitField0_ & 0x00004000) != 0);
}
/**
* <pre>
* Number of seconds a video must play before skipping is
* enabled; only applicable if the ad is skippable.
* Not supported by Google.
* </pre>
*
* <code>optional int32 skipafter = 25;</code>
* @return The skipafter.
*/
@java.lang.Override
public int getSkipafter() {
return skipafter_;
}
/**
* <pre>
* Number of seconds a video must play before skipping is
* enabled; only applicable if the ad is skippable.
* Not supported by Google.
* </pre>
*
* <code>optional int32 skipafter = 25;</code>
* @param value The skipafter to set.
*/
private void setSkipafter(int value) {
bitField0_ |= 0x00004000;
skipafter_ = value;
}
/**
* <pre>
* Number of seconds a video must play before skipping is
* enabled; only applicable if the ad is skippable.
* Not supported by Google.
* </pre>
*
* <code>optional int32 skipafter = 25;</code>
*/
private void clearSkipafter() {
bitField0_ = (bitField0_ & ~0x00004000);
skipafter_ = 0;
}
public static final int SEQUENCE_FIELD_NUMBER = 9;
private int sequence_;
/**
* <pre>
* DEPRECATED in OpenRTB 2.6+; prefer the field podseq.
* If multiple ad impressions are offered in the same bid request,
* the sequence number will allow for the coordinated delivery of
* multiple creatives.
* Not supported by Google.
* </pre>
*
* <code>optional int32 sequence = 9 [default = 1, deprecated = true];</code>
* @deprecated com.google.openrtb.BidRequest.Imp.Video.sequence is deprecated.
* See openrtb/openrtb-v26.proto;l=328
* @return Whether the sequence field is set.
*/
@java.lang.Override
@java.lang.Deprecated public boolean hasSequence() {
return ((bitField0_ & 0x00008000) != 0);
}
/**
* <pre>
* DEPRECATED in OpenRTB 2.6+; prefer the field podseq.
* If multiple ad impressions are offered in the same bid request,
* the sequence number will allow for the coordinated delivery of
* multiple creatives.
* Not supported by Google.
* </pre>
*
* <code>optional int32 sequence = 9 [default = 1, deprecated = true];</code>
* @deprecated com.google.openrtb.BidRequest.Imp.Video.sequence is deprecated.
* See openrtb/openrtb-v26.proto;l=328
* @return The sequence.
*/
@java.lang.Override
@java.lang.Deprecated public int getSequence() {
return sequence_;
}
/**
* <pre>
* DEPRECATED in OpenRTB 2.6+; prefer the field podseq.
* If multiple ad impressions are offered in the same bid request,
* the sequence number will allow for the coordinated delivery of
* multiple creatives.
* Not supported by Google.
* </pre>
*
* <code>optional int32 sequence = 9 [default = 1, deprecated = true];</code>
* @deprecated com.google.openrtb.BidRequest.Imp.Video.sequence is deprecated.
* See openrtb/openrtb-v26.proto;l=328
* @param value The sequence to set.
*/
private void setSequence(int value) {
bitField0_ |= 0x00008000;
sequence_ = value;
}
/**
* <pre>
* DEPRECATED in OpenRTB 2.6+; prefer the field podseq.
* If multiple ad impressions are offered in the same bid request,
* the sequence number will allow for the coordinated delivery of
* multiple creatives.
* Not supported by Google.
* </pre>
*
* <code>optional int32 sequence = 9 [default = 1, deprecated = true];</code>
* @deprecated com.google.openrtb.BidRequest.Imp.Video.sequence is deprecated.
* See openrtb/openrtb-v26.proto;l=328
*/
private void clearSequence() {
bitField0_ = (bitField0_ & ~0x00008000);
sequence_ = 1;
}
public static final int SLOTINPOD_FIELD_NUMBER = 33;
private int slotinpod_;
/**
* <pre>
* For video ad pods, this value indicates that the seller can
* guarantee delivery against the indicated slot position in the pod.
* Not supported by Google.
* </pre>
*
* <code>optional .com.google.openrtb.SlotPositionInPod slotinpod = 33 [default = SLOT_POSITION_POD_ANY];</code>
* @return Whether the slotinpod field is set.
*/
@java.lang.Override
public boolean hasSlotinpod() {
return ((bitField0_ & 0x00010000) != 0);
}
/**
* <pre>
* For video ad pods, this value indicates that the seller can
* guarantee delivery against the indicated slot position in the pod.
* Not supported by Google.
* </pre>
*
* <code>optional .com.google.openrtb.SlotPositionInPod slotinpod = 33 [default = SLOT_POSITION_POD_ANY];</code>
* @return The slotinpod.
*/
@java.lang.Override
public com.particles.mes.protos.openrtb.SlotPositionInPod getSlotinpod() {
com.particles.mes.protos.openrtb.SlotPositionInPod result = com.particles.mes.protos.openrtb.SlotPositionInPod.forNumber(slotinpod_);
return result == null ? com.particles.mes.protos.openrtb.SlotPositionInPod.SLOT_POSITION_POD_ANY : result;
}
/**
* <pre>
* For video ad pods, this value indicates that the seller can
* guarantee delivery against the indicated slot position in the pod.
* Not supported by Google.
* </pre>
*
* <code>optional .com.google.openrtb.SlotPositionInPod slotinpod = 33 [default = SLOT_POSITION_POD_ANY];</code>
* @param value The slotinpod to set.
*/
private void setSlotinpod(com.particles.mes.protos.openrtb.SlotPositionInPod value) {
slotinpod_ = value.getNumber();
bitField0_ |= 0x00010000;
}
/**
* <pre>
* For video ad pods, this value indicates that the seller can
* guarantee delivery against the indicated slot position in the pod.
* Not supported by Google.
* </pre>
*
* <code>optional .com.google.openrtb.SlotPositionInPod slotinpod = 33 [default = SLOT_POSITION_POD_ANY];</code>
*/
private void clearSlotinpod() {
bitField0_ = (bitField0_ & ~0x00010000);
slotinpod_ = 0;
}
public static final int MINCPMPERSEC_FIELD_NUMBER = 34;
private double mincpmpersec_;
/**
* <pre>
* Minimum CPM per second. This is a price floor for the
* "dynamic" portion of a video ad pod, relative to the duration
* of bids an advertiser may submit.
* Not supported by Google.
* </pre>
*
* <code>optional double mincpmpersec = 34;</code>
* @return Whether the mincpmpersec field is set.
*/
@java.lang.Override
public boolean hasMincpmpersec() {
return ((bitField0_ & 0x00020000) != 0);
}
/**
* <pre>
* Minimum CPM per second. This is a price floor for the
* "dynamic" portion of a video ad pod, relative to the duration
* of bids an advertiser may submit.
* Not supported by Google.
* </pre>
*
* <code>optional double mincpmpersec = 34;</code>
* @return The mincpmpersec.
*/
@java.lang.Override
public double getMincpmpersec() {
return mincpmpersec_;
}
/**
* <pre>
* Minimum CPM per second. This is a price floor for the
* "dynamic" portion of a video ad pod, relative to the duration
* of bids an advertiser may submit.
* Not supported by Google.
* </pre>
*
* <code>optional double mincpmpersec = 34;</code>
* @param value The mincpmpersec to set.
*/
private void setMincpmpersec(double value) {
bitField0_ |= 0x00020000;
mincpmpersec_ = value;
}
/**
* <pre>
* Minimum CPM per second. This is a price floor for the
* "dynamic" portion of a video ad pod, relative to the duration
* of bids an advertiser may submit.
* Not supported by Google.
* </pre>
*
* <code>optional double mincpmpersec = 34;</code>
*/
private void clearMincpmpersec() {
bitField0_ = (bitField0_ & ~0x00020000);
mincpmpersec_ = 0D;
}
public static final int BATTR_FIELD_NUMBER = 10;
private com.google.protobuf.Internal.IntList battr_;
private static final com.google.protobuf.Internal.ListAdapter.Converter<
java.lang.Integer, com.particles.mes.protos.openrtb.CreativeAttribute> battr_converter_ =
new com.google.protobuf.Internal.ListAdapter.Converter<
java.lang.Integer, com.particles.mes.protos.openrtb.CreativeAttribute>() {
@java.lang.Override
public com.particles.mes.protos.openrtb.CreativeAttribute convert(java.lang.Integer from) {
com.particles.mes.protos.openrtb.CreativeAttribute result = com.particles.mes.protos.openrtb.CreativeAttribute.forNumber(from);
return result == null ? com.particles.mes.protos.openrtb.CreativeAttribute.AUDIO_AUTO_PLAY : result;
}
};
/**
* <pre>
* Blocked creative attributes.
* Supported by Google.
* </pre>
*
* <code>repeated .com.google.openrtb.CreativeAttribute battr = 10 [packed = true];</code>
* @return A list containing the battr.
*/
@java.lang.Override
public java.util.List<com.particles.mes.protos.openrtb.CreativeAttribute> getBattrList() {
return new com.google.protobuf.Internal.ListAdapter<
java.lang.Integer, com.particles.mes.protos.openrtb.CreativeAttribute>(battr_, battr_converter_);
}
/**
* <pre>
* Blocked creative attributes.
* Supported by Google.
* </pre>
*
* <code>repeated .com.google.openrtb.CreativeAttribute battr = 10 [packed = true];</code>
* @return The count of battr.
*/
@java.lang.Override
public int getBattrCount() {
return battr_.size();
}
/**
* <pre>
* Blocked creative attributes.
* Supported by Google.
* </pre>
*
* <code>repeated .com.google.openrtb.CreativeAttribute battr = 10 [packed = true];</code>
* @param index The index of the element to return.
* @return The battr at the given index.
*/
@java.lang.Override
public com.particles.mes.protos.openrtb.CreativeAttribute getBattr(int index) {
com.particles.mes.protos.openrtb.CreativeAttribute result = com.particles.mes.protos.openrtb.CreativeAttribute.forNumber(battr_.getInt(index));
return result == null ? com.particles.mes.protos.openrtb.CreativeAttribute.AUDIO_AUTO_PLAY : result;
}
private int battrMemoizedSerializedSize;
private void ensureBattrIsMutable() {
com.google.protobuf.Internal.IntList tmp = battr_;
if (!tmp.isModifiable()) {
battr_ =
com.google.protobuf.GeneratedMessageLite.mutableCopy(tmp);
}
}
/**
* <pre>
* Blocked creative attributes.
* Supported by Google.
* </pre>
*
* <code>repeated .com.google.openrtb.CreativeAttribute battr = 10 [packed = true];</code>
* @param index The index to set the value at.
* @param value The battr to set.
*/
private void setBattr(
int index, com.particles.mes.protos.openrtb.CreativeAttribute value) {
value.getClass();
ensureBattrIsMutable();
battr_.setInt(index, value.getNumber());
}
/**
* <pre>
* Blocked creative attributes.
* Supported by Google.
* </pre>
*
* <code>repeated .com.google.openrtb.CreativeAttribute battr = 10 [packed = true];</code>
* @param value The battr to add.
*/
private void addBattr(com.particles.mes.protos.openrtb.CreativeAttribute value) {
value.getClass();
ensureBattrIsMutable();
battr_.addInt(value.getNumber());
}
/**
* <pre>
* Blocked creative attributes.
* Supported by Google.
* </pre>
*
* <code>repeated .com.google.openrtb.CreativeAttribute battr = 10 [packed = true];</code>
* @param values The battr to add.
*/
private void addAllBattr(
java.lang.Iterable<? extends com.particles.mes.protos.openrtb.CreativeAttribute> values) {
ensureBattrIsMutable();
for (com.particles.mes.protos.openrtb.CreativeAttribute value : values) {
battr_.addInt(value.getNumber());
}
}
/**
* <pre>
* Blocked creative attributes.
* Supported by Google.
* </pre>
*
* <code>repeated .com.google.openrtb.CreativeAttribute battr = 10 [packed = true];</code>
*/
private void clearBattr() {
battr_ = emptyIntList();
}
public static final int MAXEXTENDED_FIELD_NUMBER = 11;
private int maxextended_;
/**
* <pre>
* Maximum extended video ad duration, if extension is allowed.
* If blank or 0, extension is not allowed. If -1, extension is allowed,
* and there is no time limit imposed. If greater than 0, then the value
* represents the number of seconds of extended play supported beyond
* the maxduration value.
* Not supported by Google.
* </pre>
*
* <code>optional int32 maxextended = 11;</code>
* @return Whether the maxextended field is set.
*/
@java.lang.Override
public boolean hasMaxextended() {
return ((bitField0_ & 0x00040000) != 0);
}
/**
* <pre>
* Maximum extended video ad duration, if extension is allowed.
* If blank or 0, extension is not allowed. If -1, extension is allowed,
* and there is no time limit imposed. If greater than 0, then the value
* represents the number of seconds of extended play supported beyond
* the maxduration value.
* Not supported by Google.
* </pre>
*
* <code>optional int32 maxextended = 11;</code>
* @return The maxextended.
*/
@java.lang.Override
public int getMaxextended() {
return maxextended_;
}
/**
* <pre>
* Maximum extended video ad duration, if extension is allowed.
* If blank or 0, extension is not allowed. If -1, extension is allowed,
* and there is no time limit imposed. If greater than 0, then the value
* represents the number of seconds of extended play supported beyond
* the maxduration value.
* Not supported by Google.
* </pre>
*
* <code>optional int32 maxextended = 11;</code>
* @param value The maxextended to set.
*/
private void setMaxextended(int value) {
bitField0_ |= 0x00040000;
maxextended_ = value;
}
/**
* <pre>
* Maximum extended video ad duration, if extension is allowed.
* If blank or 0, extension is not allowed. If -1, extension is allowed,
* and there is no time limit imposed. If greater than 0, then the value
* represents the number of seconds of extended play supported beyond
* the maxduration value.
* Not supported by Google.
* </pre>
*
* <code>optional int32 maxextended = 11;</code>
*/
private void clearMaxextended() {
bitField0_ = (bitField0_ & ~0x00040000);
maxextended_ = 0;
}
public static final int MINBITRATE_FIELD_NUMBER = 12;
private int minbitrate_;
/**
* <pre>
* Minimum bit rate in Kbps.
* Not supported by Google.
* </pre>
*
* <code>optional int32 minbitrate = 12;</code>
* @return Whether the minbitrate field is set.
*/
@java.lang.Override
public boolean hasMinbitrate() {
return ((bitField0_ & 0x00080000) != 0);
}
/**
* <pre>
* Minimum bit rate in Kbps.
* Not supported by Google.
* </pre>
*
* <code>optional int32 minbitrate = 12;</code>
* @return The minbitrate.
*/
@java.lang.Override
public int getMinbitrate() {
return minbitrate_;
}
/**
* <pre>
* Minimum bit rate in Kbps.
* Not supported by Google.
* </pre>
*
* <code>optional int32 minbitrate = 12;</code>
* @param value The minbitrate to set.
*/
private void setMinbitrate(int value) {
bitField0_ |= 0x00080000;
minbitrate_ = value;
}
/**
* <pre>
* Minimum bit rate in Kbps.
* Not supported by Google.
* </pre>
*
* <code>optional int32 minbitrate = 12;</code>
*/
private void clearMinbitrate() {
bitField0_ = (bitField0_ & ~0x00080000);
minbitrate_ = 0;
}
public static final int MAXBITRATE_FIELD_NUMBER = 13;
private int maxbitrate_;
/**
* <pre>
* Maximum bit rate in Kbps.
* Not supported by Google.
* </pre>
*
* <code>optional int32 maxbitrate = 13;</code>
* @return Whether the maxbitrate field is set.
*/
@java.lang.Override
public boolean hasMaxbitrate() {
return ((bitField0_ & 0x00100000) != 0);
}
/**
* <pre>
* Maximum bit rate in Kbps.
* Not supported by Google.
* </pre>
*
* <code>optional int32 maxbitrate = 13;</code>
* @return The maxbitrate.
*/
@java.lang.Override
public int getMaxbitrate() {
return maxbitrate_;
}
/**
* <pre>
* Maximum bit rate in Kbps.
* Not supported by Google.
* </pre>
*
* <code>optional int32 maxbitrate = 13;</code>
* @param value The maxbitrate to set.
*/
private void setMaxbitrate(int value) {
bitField0_ |= 0x00100000;
maxbitrate_ = value;
}
/**
* <pre>
* Maximum bit rate in Kbps.
* Not supported by Google.
* </pre>
*
* <code>optional int32 maxbitrate = 13;</code>
*/
private void clearMaxbitrate() {
bitField0_ = (bitField0_ & ~0x00100000);
maxbitrate_ = 0;
}
public static final int BOXINGALLOWED_FIELD_NUMBER = 14;
private boolean boxingallowed_;
/**
* <pre>
* Indicates if letter-boxing of 4:3 content into a 16:9 window is
* allowed.
* Not supported by Google.
* </pre>
*
* <code>optional bool boxingallowed = 14 [default = true];</code>
* @return Whether the boxingallowed field is set.
*/
@java.lang.Override
public boolean hasBoxingallowed() {
return ((bitField0_ & 0x00200000) != 0);
}
/**
* <pre>
* Indicates if letter-boxing of 4:3 content into a 16:9 window is
* allowed.
* Not supported by Google.
* </pre>
*
* <code>optional bool boxingallowed = 14 [default = true];</code>
* @return The boxingallowed.
*/
@java.lang.Override
public boolean getBoxingallowed() {
return boxingallowed_;
}
/**
* <pre>
* Indicates if letter-boxing of 4:3 content into a 16:9 window is
* allowed.
* Not supported by Google.
* </pre>
*
* <code>optional bool boxingallowed = 14 [default = true];</code>
* @param value The boxingallowed to set.
*/
private void setBoxingallowed(boolean value) {
bitField0_ |= 0x00200000;
boxingallowed_ = value;
}
/**
* <pre>
* Indicates if letter-boxing of 4:3 content into a 16:9 window is
* allowed.
* Not supported by Google.
* </pre>
*
* <code>optional bool boxingallowed = 14 [default = true];</code>
*/
private void clearBoxingallowed() {
bitField0_ = (bitField0_ & ~0x00200000);
boxingallowed_ = true;
}
public static final int PLAYBACKMETHOD_FIELD_NUMBER = 15;
private com.google.protobuf.Internal.IntList playbackmethod_;
private static final com.google.protobuf.Internal.ListAdapter.Converter<
java.lang.Integer, com.particles.mes.protos.openrtb.PlaybackMethod> playbackmethod_converter_ =
new com.google.protobuf.Internal.ListAdapter.Converter<
java.lang.Integer, com.particles.mes.protos.openrtb.PlaybackMethod>() {
@java.lang.Override
public com.particles.mes.protos.openrtb.PlaybackMethod convert(java.lang.Integer from) {
com.particles.mes.protos.openrtb.PlaybackMethod result = com.particles.mes.protos.openrtb.PlaybackMethod.forNumber(from);
return result == null ? com.particles.mes.protos.openrtb.PlaybackMethod.AUTO_PLAY_SOUND_ON : result;
}
};
/**
* <pre>
* Playback methods that may be in use. If none are specified, any
* method may be used. Only one method is typically used in practice.
* As a result, this array may be converted to an integer in a future
* version of the specification. It is strongly advised to use only
* the first element of this array in preparation for this change.
* Supported by Google.
* </pre>
*
* <code>repeated .com.google.openrtb.PlaybackMethod playbackmethod = 15 [packed = true];</code>
* @return A list containing the playbackmethod.
*/
@java.lang.Override
public java.util.List<com.particles.mes.protos.openrtb.PlaybackMethod> getPlaybackmethodList() {
return new com.google.protobuf.Internal.ListAdapter<
java.lang.Integer, com.particles.mes.protos.openrtb.PlaybackMethod>(playbackmethod_, playbackmethod_converter_);
}
/**
* <pre>
* Playback methods that may be in use. If none are specified, any
* method may be used. Only one method is typically used in practice.
* As a result, this array may be converted to an integer in a future
* version of the specification. It is strongly advised to use only
* the first element of this array in preparation for this change.
* Supported by Google.
* </pre>
*
* <code>repeated .com.google.openrtb.PlaybackMethod playbackmethod = 15 [packed = true];</code>
* @return The count of playbackmethod.
*/
@java.lang.Override
public int getPlaybackmethodCount() {
return playbackmethod_.size();
}
/**
* <pre>
* Playback methods that may be in use. If none are specified, any
* method may be used. Only one method is typically used in practice.
* As a result, this array may be converted to an integer in a future
* version of the specification. It is strongly advised to use only
* the first element of this array in preparation for this change.
* Supported by Google.
* </pre>
*
* <code>repeated .com.google.openrtb.PlaybackMethod playbackmethod = 15 [packed = true];</code>
* @param index The index of the element to return.
* @return The playbackmethod at the given index.
*/
@java.lang.Override
public com.particles.mes.protos.openrtb.PlaybackMethod getPlaybackmethod(int index) {
com.particles.mes.protos.openrtb.PlaybackMethod result = com.particles.mes.protos.openrtb.PlaybackMethod.forNumber(playbackmethod_.getInt(index));
return result == null ? com.particles.mes.protos.openrtb.PlaybackMethod.AUTO_PLAY_SOUND_ON : result;
}
private int playbackmethodMemoizedSerializedSize;
private void ensurePlaybackmethodIsMutable() {
com.google.protobuf.Internal.IntList tmp = playbackmethod_;
if (!tmp.isModifiable()) {
playbackmethod_ =
com.google.protobuf.GeneratedMessageLite.mutableCopy(tmp);
}
}
/**
* <pre>
* Playback methods that may be in use. If none are specified, any
* method may be used. Only one method is typically used in practice.
* As a result, this array may be converted to an integer in a future
* version of the specification. It is strongly advised to use only
* the first element of this array in preparation for this change.
* Supported by Google.
* </pre>
*
* <code>repeated .com.google.openrtb.PlaybackMethod playbackmethod = 15 [packed = true];</code>
* @param index The index to set the value at.
* @param value The playbackmethod to set.
*/
private void setPlaybackmethod(
int index, com.particles.mes.protos.openrtb.PlaybackMethod value) {
value.getClass();
ensurePlaybackmethodIsMutable();
playbackmethod_.setInt(index, value.getNumber());
}
/**
* <pre>
* Playback methods that may be in use. If none are specified, any
* method may be used. Only one method is typically used in practice.
* As a result, this array may be converted to an integer in a future
* version of the specification. It is strongly advised to use only
* the first element of this array in preparation for this change.
* Supported by Google.
* </pre>
*
* <code>repeated .com.google.openrtb.PlaybackMethod playbackmethod = 15 [packed = true];</code>
* @param value The playbackmethod to add.
*/
private void addPlaybackmethod(com.particles.mes.protos.openrtb.PlaybackMethod value) {
value.getClass();
ensurePlaybackmethodIsMutable();
playbackmethod_.addInt(value.getNumber());
}
/**
* <pre>
* Playback methods that may be in use. If none are specified, any
* method may be used. Only one method is typically used in practice.
* As a result, this array may be converted to an integer in a future
* version of the specification. It is strongly advised to use only
* the first element of this array in preparation for this change.
* Supported by Google.
* </pre>
*
* <code>repeated .com.google.openrtb.PlaybackMethod playbackmethod = 15 [packed = true];</code>
* @param values The playbackmethod to add.
*/
private void addAllPlaybackmethod(
java.lang.Iterable<? extends com.particles.mes.protos.openrtb.PlaybackMethod> values) {
ensurePlaybackmethodIsMutable();
for (com.particles.mes.protos.openrtb.PlaybackMethod value : values) {
playbackmethod_.addInt(value.getNumber());
}
}
/**
* <pre>
* Playback methods that may be in use. If none are specified, any
* method may be used. Only one method is typically used in practice.
* As a result, this array may be converted to an integer in a future
* version of the specification. It is strongly advised to use only
* the first element of this array in preparation for this change.
* Supported by Google.
* </pre>
*
* <code>repeated .com.google.openrtb.PlaybackMethod playbackmethod = 15 [packed = true];</code>
*/
private void clearPlaybackmethod() {
playbackmethod_ = emptyIntList();
}
public static final int PLAYBACKEND_FIELD_NUMBER = 27;
private int playbackend_;
/**
* <pre>
* The event that causes playback to end.
* Supported by Google.
* </pre>
*
* <code>optional .com.google.openrtb.PlaybackCessationMode playbackend = 27;</code>
* @return Whether the playbackend field is set.
*/
@java.lang.Override
public boolean hasPlaybackend() {
return ((bitField0_ & 0x00400000) != 0);
}
/**
* <pre>
* The event that causes playback to end.
* Supported by Google.
* </pre>
*
* <code>optional .com.google.openrtb.PlaybackCessationMode playbackend = 27;</code>
* @return The playbackend.
*/
@java.lang.Override
public com.particles.mes.protos.openrtb.PlaybackCessationMode getPlaybackend() {
com.particles.mes.protos.openrtb.PlaybackCessationMode result = com.particles.mes.protos.openrtb.PlaybackCessationMode.forNumber(playbackend_);
return result == null ? com.particles.mes.protos.openrtb.PlaybackCessationMode.COMPLETION_OR_USER : result;
}
/**
* <pre>
* The event that causes playback to end.
* Supported by Google.
* </pre>
*
* <code>optional .com.google.openrtb.PlaybackCessationMode playbackend = 27;</code>
* @param value The playbackend to set.
*/
private void setPlaybackend(com.particles.mes.protos.openrtb.PlaybackCessationMode value) {
playbackend_ = value.getNumber();
bitField0_ |= 0x00400000;
}
/**
* <pre>
* The event that causes playback to end.
* Supported by Google.
* </pre>
*
* <code>optional .com.google.openrtb.PlaybackCessationMode playbackend = 27;</code>
*/
private void clearPlaybackend() {
bitField0_ = (bitField0_ & ~0x00400000);
playbackend_ = 1;
}
public static final int DELIVERY_FIELD_NUMBER = 16;
private com.google.protobuf.Internal.IntList delivery_;
private static final com.google.protobuf.Internal.ListAdapter.Converter<
java.lang.Integer, com.particles.mes.protos.openrtb.ContentDeliveryMethod> delivery_converter_ =
new com.google.protobuf.Internal.ListAdapter.Converter<
java.lang.Integer, com.particles.mes.protos.openrtb.ContentDeliveryMethod>() {
@java.lang.Override
public com.particles.mes.protos.openrtb.ContentDeliveryMethod convert(java.lang.Integer from) {
com.particles.mes.protos.openrtb.ContentDeliveryMethod result = com.particles.mes.protos.openrtb.ContentDeliveryMethod.forNumber(from);
return result == null ? com.particles.mes.protos.openrtb.ContentDeliveryMethod.STREAMING : result;
}
};
/**
* <pre>
* Supported delivery methods (for example, streaming, progressive).
* Supported by Google.
* </pre>
*
* <code>repeated .com.google.openrtb.ContentDeliveryMethod delivery = 16 [packed = true];</code>
* @return A list containing the delivery.
*/
@java.lang.Override
public java.util.List<com.particles.mes.protos.openrtb.ContentDeliveryMethod> getDeliveryList() {
return new com.google.protobuf.Internal.ListAdapter<
java.lang.Integer, com.particles.mes.protos.openrtb.ContentDeliveryMethod>(delivery_, delivery_converter_);
}
/**
* <pre>
* Supported delivery methods (for example, streaming, progressive).
* Supported by Google.
* </pre>
*
* <code>repeated .com.google.openrtb.ContentDeliveryMethod delivery = 16 [packed = true];</code>
* @return The count of delivery.
*/
@java.lang.Override
public int getDeliveryCount() {
return delivery_.size();
}
/**
* <pre>
* Supported delivery methods (for example, streaming, progressive).
* Supported by Google.
* </pre>
*
* <code>repeated .com.google.openrtb.ContentDeliveryMethod delivery = 16 [packed = true];</code>
* @param index The index of the element to return.
* @return The delivery at the given index.
*/
@java.lang.Override
public com.particles.mes.protos.openrtb.ContentDeliveryMethod getDelivery(int index) {
com.particles.mes.protos.openrtb.ContentDeliveryMethod result = com.particles.mes.protos.openrtb.ContentDeliveryMethod.forNumber(delivery_.getInt(index));
return result == null ? com.particles.mes.protos.openrtb.ContentDeliveryMethod.STREAMING : result;
}
private int deliveryMemoizedSerializedSize;
private void ensureDeliveryIsMutable() {
com.google.protobuf.Internal.IntList tmp = delivery_;
if (!tmp.isModifiable()) {
delivery_ =
com.google.protobuf.GeneratedMessageLite.mutableCopy(tmp);
}
}
/**
* <pre>
* Supported delivery methods (for example, streaming, progressive).
* Supported by Google.
* </pre>
*
* <code>repeated .com.google.openrtb.ContentDeliveryMethod delivery = 16 [packed = true];</code>
* @param index The index to set the value at.
* @param value The delivery to set.
*/
private void setDelivery(
int index, com.particles.mes.protos.openrtb.ContentDeliveryMethod value) {
value.getClass();
ensureDeliveryIsMutable();
delivery_.setInt(index, value.getNumber());
}
/**
* <pre>
* Supported delivery methods (for example, streaming, progressive).
* Supported by Google.
* </pre>
*
* <code>repeated .com.google.openrtb.ContentDeliveryMethod delivery = 16 [packed = true];</code>
* @param value The delivery to add.
*/
private void addDelivery(com.particles.mes.protos.openrtb.ContentDeliveryMethod value) {
value.getClass();
ensureDeliveryIsMutable();
delivery_.addInt(value.getNumber());
}
/**
* <pre>
* Supported delivery methods (for example, streaming, progressive).
* Supported by Google.
* </pre>
*
* <code>repeated .com.google.openrtb.ContentDeliveryMethod delivery = 16 [packed = true];</code>
* @param values The delivery to add.
*/
private void addAllDelivery(
java.lang.Iterable<? extends com.particles.mes.protos.openrtb.ContentDeliveryMethod> values) {
ensureDeliveryIsMutable();
for (com.particles.mes.protos.openrtb.ContentDeliveryMethod value : values) {
delivery_.addInt(value.getNumber());
}
}
/**
* <pre>
* Supported delivery methods (for example, streaming, progressive).
* Supported by Google.
* </pre>
*
* <code>repeated .com.google.openrtb.ContentDeliveryMethod delivery = 16 [packed = true];</code>
*/
private void clearDelivery() {
delivery_ = emptyIntList();
}
public static final int POS_FIELD_NUMBER = 17;
private int pos_;
/**
* <pre>
* Ad position on screen.
* Supported by Google.
* </pre>
*
* <code>optional .com.google.openrtb.AdPosition pos = 17;</code>
* @return Whether the pos field is set.
*/
@java.lang.Override
public boolean hasPos() {
return ((bitField0_ & 0x00800000) != 0);
}
/**
* <pre>
* Ad position on screen.
* Supported by Google.
* </pre>
*
* <code>optional .com.google.openrtb.AdPosition pos = 17;</code>
* @return The pos.
*/
@java.lang.Override
public com.particles.mes.protos.openrtb.AdPosition getPos() {
com.particles.mes.protos.openrtb.AdPosition result = com.particles.mes.protos.openrtb.AdPosition.forNumber(pos_);
return result == null ? com.particles.mes.protos.openrtb.AdPosition.UNKNOWN : result;
}
/**
* <pre>
* Ad position on screen.
* Supported by Google.
* </pre>
*
* <code>optional .com.google.openrtb.AdPosition pos = 17;</code>
* @param value The pos to set.
*/
private void setPos(com.particles.mes.protos.openrtb.AdPosition value) {
pos_ = value.getNumber();
bitField0_ |= 0x00800000;
}
/**
* <pre>
* Ad position on screen.
* Supported by Google.
* </pre>
*
* <code>optional .com.google.openrtb.AdPosition pos = 17;</code>
*/
private void clearPos() {
bitField0_ = (bitField0_ & ~0x00800000);
pos_ = 0;
}
public static final int COMPANIONAD_FIELD_NUMBER = 18;
private com.google.protobuf.Internal.ProtobufList<com.particles.mes.protos.openrtb.BidRequest.Imp.Banner> companionad_;
/**
* <pre>
* Array of Banner objects (Section 3.2.3) if companion ads are available.
* Supported by Google.
* </pre>
*
* <code>repeated .com.google.openrtb.BidRequest.Imp.Banner companionad = 18;</code>
*/
@java.lang.Override
public java.util.List<com.particles.mes.protos.openrtb.BidRequest.Imp.Banner> getCompanionadList() {
return companionad_;
}
/**
* <pre>
* Array of Banner objects (Section 3.2.3) if companion ads are available.
* Supported by Google.
* </pre>
*
* <code>repeated .com.google.openrtb.BidRequest.Imp.Banner companionad = 18;</code>
*/
public java.util.List<? extends com.particles.mes.protos.openrtb.BidRequest.Imp.BannerOrBuilder>
getCompanionadOrBuilderList() {
return companionad_;
}
/**
* <pre>
* Array of Banner objects (Section 3.2.3) if companion ads are available.
* Supported by Google.
* </pre>
*
* <code>repeated .com.google.openrtb.BidRequest.Imp.Banner companionad = 18;</code>
*/
@java.lang.Override
public int getCompanionadCount() {
return companionad_.size();
}
/**
* <pre>
* Array of Banner objects (Section 3.2.3) if companion ads are available.
* Supported by Google.
* </pre>
*
* <code>repeated .com.google.openrtb.BidRequest.Imp.Banner companionad = 18;</code>
*/
@java.lang.Override
public com.particles.mes.protos.openrtb.BidRequest.Imp.Banner getCompanionad(int index) {
return companionad_.get(index);
}
/**
* <pre>
* Array of Banner objects (Section 3.2.3) if companion ads are available.
* Supported by Google.
* </pre>
*
* <code>repeated .com.google.openrtb.BidRequest.Imp.Banner companionad = 18;</code>
*/
public com.particles.mes.protos.openrtb.BidRequest.Imp.BannerOrBuilder getCompanionadOrBuilder(
int index) {
return companionad_.get(index);
}
private void ensureCompanionadIsMutable() {
com.google.protobuf.Internal.ProtobufList<com.particles.mes.protos.openrtb.BidRequest.Imp.Banner> tmp = companionad_;
if (!tmp.isModifiable()) {
companionad_ =
com.google.protobuf.GeneratedMessageLite.mutableCopy(tmp);
}
}
/**
* <pre>
* Array of Banner objects (Section 3.2.3) if companion ads are available.
* Supported by Google.
* </pre>
*
* <code>repeated .com.google.openrtb.BidRequest.Imp.Banner companionad = 18;</code>
*/
private void setCompanionad(
int index, com.particles.mes.protos.openrtb.BidRequest.Imp.Banner value) {
value.getClass();
ensureCompanionadIsMutable();
companionad_.set(index, value);
}
/**
* <pre>
* Array of Banner objects (Section 3.2.3) if companion ads are available.
* Supported by Google.
* </pre>
*
* <code>repeated .com.google.openrtb.BidRequest.Imp.Banner companionad = 18;</code>
*/
private void addCompanionad(com.particles.mes.protos.openrtb.BidRequest.Imp.Banner value) {
value.getClass();
ensureCompanionadIsMutable();
companionad_.add(value);
}
/**
* <pre>
* Array of Banner objects (Section 3.2.3) if companion ads are available.
* Supported by Google.
* </pre>
*
* <code>repeated .com.google.openrtb.BidRequest.Imp.Banner companionad = 18;</code>
*/
private void addCompanionad(
int index, com.particles.mes.protos.openrtb.BidRequest.Imp.Banner value) {
value.getClass();
ensureCompanionadIsMutable();
companionad_.add(index, value);
}
/**
* <pre>
* Array of Banner objects (Section 3.2.3) if companion ads are available.
* Supported by Google.
* </pre>
*
* <code>repeated .com.google.openrtb.BidRequest.Imp.Banner companionad = 18;</code>
*/
private void addAllCompanionad(
java.lang.Iterable<? extends com.particles.mes.protos.openrtb.BidRequest.Imp.Banner> values) {
ensureCompanionadIsMutable();
com.google.protobuf.AbstractMessageLite.addAll(
values, companionad_);
}
/**
* <pre>
* Array of Banner objects (Section 3.2.3) if companion ads are available.
* Supported by Google.
* </pre>
*
* <code>repeated .com.google.openrtb.BidRequest.Imp.Banner companionad = 18;</code>
*/
private void clearCompanionad() {
companionad_ = emptyProtobufList();
}
/**
* <pre>
* Array of Banner objects (Section 3.2.3) if companion ads are available.
* Supported by Google.
* </pre>
*
* <code>repeated .com.google.openrtb.BidRequest.Imp.Banner companionad = 18;</code>
*/
private void removeCompanionad(int index) {
ensureCompanionadIsMutable();
companionad_.remove(index);
}
public static final int API_FIELD_NUMBER = 19;
private com.google.protobuf.Internal.IntList api_;
private static final com.google.protobuf.Internal.ListAdapter.Converter<
java.lang.Integer, com.particles.mes.protos.openrtb.APIFramework> api_converter_ =
new com.google.protobuf.Internal.ListAdapter.Converter<
java.lang.Integer, com.particles.mes.protos.openrtb.APIFramework>() {
@java.lang.Override
public com.particles.mes.protos.openrtb.APIFramework convert(java.lang.Integer from) {
com.particles.mes.protos.openrtb.APIFramework result = com.particles.mes.protos.openrtb.APIFramework.forNumber(from);
return result == null ? com.particles.mes.protos.openrtb.APIFramework.VPAID_1 : result;
}
};
/**
* <pre>
* List of supported API frameworks for this impression.
* If an API is not explicitly listed, it is assumed not to be supported.
* Supported by Google.
* </pre>
*
* <code>repeated .com.google.openrtb.APIFramework api = 19 [packed = true];</code>
* @return A list containing the api.
*/
@java.lang.Override
public java.util.List<com.particles.mes.protos.openrtb.APIFramework> getApiList() {
return new com.google.protobuf.Internal.ListAdapter<
java.lang.Integer, com.particles.mes.protos.openrtb.APIFramework>(api_, api_converter_);
}
/**
* <pre>
* List of supported API frameworks for this impression.
* If an API is not explicitly listed, it is assumed not to be supported.
* Supported by Google.
* </pre>
*
* <code>repeated .com.google.openrtb.APIFramework api = 19 [packed = true];</code>
* @return The count of api.
*/
@java.lang.Override
public int getApiCount() {
return api_.size();
}
/**
* <pre>
* List of supported API frameworks for this impression.
* If an API is not explicitly listed, it is assumed not to be supported.
* Supported by Google.
* </pre>
*
* <code>repeated .com.google.openrtb.APIFramework api = 19 [packed = true];</code>
* @param index The index of the element to return.
* @return The api at the given index.
*/
@java.lang.Override
public com.particles.mes.protos.openrtb.APIFramework getApi(int index) {
com.particles.mes.protos.openrtb.APIFramework result = com.particles.mes.protos.openrtb.APIFramework.forNumber(api_.getInt(index));
return result == null ? com.particles.mes.protos.openrtb.APIFramework.VPAID_1 : result;
}
private int apiMemoizedSerializedSize;
private void ensureApiIsMutable() {
com.google.protobuf.Internal.IntList tmp = api_;
if (!tmp.isModifiable()) {
api_ =
com.google.protobuf.GeneratedMessageLite.mutableCopy(tmp);
}
}
/**
* <pre>
* List of supported API frameworks for this impression.
* If an API is not explicitly listed, it is assumed not to be supported.
* Supported by Google.
* </pre>
*
* <code>repeated .com.google.openrtb.APIFramework api = 19 [packed = true];</code>
* @param index The index to set the value at.
* @param value The api to set.
*/
private void setApi(
int index, com.particles.mes.protos.openrtb.APIFramework value) {
value.getClass();
ensureApiIsMutable();
api_.setInt(index, value.getNumber());
}
/**
* <pre>
* List of supported API frameworks for this impression.
* If an API is not explicitly listed, it is assumed not to be supported.
* Supported by Google.
* </pre>
*
* <code>repeated .com.google.openrtb.APIFramework api = 19 [packed = true];</code>
* @param value The api to add.
*/
private void addApi(com.particles.mes.protos.openrtb.APIFramework value) {
value.getClass();
ensureApiIsMutable();
api_.addInt(value.getNumber());
}
/**
* <pre>
* List of supported API frameworks for this impression.
* If an API is not explicitly listed, it is assumed not to be supported.
* Supported by Google.
* </pre>
*
* <code>repeated .com.google.openrtb.APIFramework api = 19 [packed = true];</code>
* @param values The api to add.
*/
private void addAllApi(
java.lang.Iterable<? extends com.particles.mes.protos.openrtb.APIFramework> values) {
ensureApiIsMutable();
for (com.particles.mes.protos.openrtb.APIFramework value : values) {
api_.addInt(value.getNumber());
}
}
/**
* <pre>
* List of supported API frameworks for this impression.
* If an API is not explicitly listed, it is assumed not to be supported.
* Supported by Google.
* </pre>
*
* <code>repeated .com.google.openrtb.APIFramework api = 19 [packed = true];</code>
*/
private void clearApi() {
api_ = emptyIntList();
}
public static final int COMPANIONTYPE_FIELD_NUMBER = 20;
private com.google.protobuf.Internal.IntList companiontype_;
private static final com.google.protobuf.Internal.ListAdapter.Converter<
java.lang.Integer, com.particles.mes.protos.openrtb.CompanionType> companiontype_converter_ =
new com.google.protobuf.Internal.ListAdapter.Converter<
java.lang.Integer, com.particles.mes.protos.openrtb.CompanionType>() {
@java.lang.Override
public com.particles.mes.protos.openrtb.CompanionType convert(java.lang.Integer from) {
com.particles.mes.protos.openrtb.CompanionType result = com.particles.mes.protos.openrtb.CompanionType.forNumber(from);
return result == null ? com.particles.mes.protos.openrtb.CompanionType.STATIC : result;
}
};
/**
* <pre>
* Supported VAST companion ad types. Recommended if companion Banner
* objects are included through the companionad array.
* Supported by Google.
* </pre>
*
* <code>repeated .com.google.openrtb.CompanionType companiontype = 20 [packed = true];</code>
* @return A list containing the companiontype.
*/
@java.lang.Override
public java.util.List<com.particles.mes.protos.openrtb.CompanionType> getCompaniontypeList() {
return new com.google.protobuf.Internal.ListAdapter<
java.lang.Integer, com.particles.mes.protos.openrtb.CompanionType>(companiontype_, companiontype_converter_);
}
/**
* <pre>
* Supported VAST companion ad types. Recommended if companion Banner
* objects are included through the companionad array.
* Supported by Google.
* </pre>
*
* <code>repeated .com.google.openrtb.CompanionType companiontype = 20 [packed = true];</code>
* @return The count of companiontype.
*/
@java.lang.Override
public int getCompaniontypeCount() {
return companiontype_.size();
}
/**
* <pre>
* Supported VAST companion ad types. Recommended if companion Banner
* objects are included through the companionad array.
* Supported by Google.
* </pre>
*
* <code>repeated .com.google.openrtb.CompanionType companiontype = 20 [packed = true];</code>
* @param index The index of the element to return.
* @return The companiontype at the given index.
*/
@java.lang.Override
public com.particles.mes.protos.openrtb.CompanionType getCompaniontype(int index) {
com.particles.mes.protos.openrtb.CompanionType result = com.particles.mes.protos.openrtb.CompanionType.forNumber(companiontype_.getInt(index));
return result == null ? com.particles.mes.protos.openrtb.CompanionType.STATIC : result;
}
private int companiontypeMemoizedSerializedSize;
private void ensureCompaniontypeIsMutable() {
com.google.protobuf.Internal.IntList tmp = companiontype_;
if (!tmp.isModifiable()) {
companiontype_ =
com.google.protobuf.GeneratedMessageLite.mutableCopy(tmp);
}
}
/**
* <pre>
* Supported VAST companion ad types. Recommended if companion Banner
* objects are included through the companionad array.
* Supported by Google.
* </pre>
*
* <code>repeated .com.google.openrtb.CompanionType companiontype = 20 [packed = true];</code>
* @param index The index to set the value at.
* @param value The companiontype to set.
*/
private void setCompaniontype(
int index, com.particles.mes.protos.openrtb.CompanionType value) {
value.getClass();
ensureCompaniontypeIsMutable();
companiontype_.setInt(index, value.getNumber());
}
/**
* <pre>
* Supported VAST companion ad types. Recommended if companion Banner
* objects are included through the companionad array.
* Supported by Google.
* </pre>
*
* <code>repeated .com.google.openrtb.CompanionType companiontype = 20 [packed = true];</code>
* @param value The companiontype to add.
*/
private void addCompaniontype(com.particles.mes.protos.openrtb.CompanionType value) {
value.getClass();
ensureCompaniontypeIsMutable();
companiontype_.addInt(value.getNumber());
}
/**
* <pre>
* Supported VAST companion ad types. Recommended if companion Banner
* objects are included through the companionad array.
* Supported by Google.
* </pre>
*
* <code>repeated .com.google.openrtb.CompanionType companiontype = 20 [packed = true];</code>
* @param values The companiontype to add.
*/
private void addAllCompaniontype(
java.lang.Iterable<? extends com.particles.mes.protos.openrtb.CompanionType> values) {
ensureCompaniontypeIsMutable();
for (com.particles.mes.protos.openrtb.CompanionType value : values) {
companiontype_.addInt(value.getNumber());
}
}
/**
* <pre>
* Supported VAST companion ad types. Recommended if companion Banner
* objects are included through the companionad array.
* Supported by Google.
* </pre>
*
* <code>repeated .com.google.openrtb.CompanionType companiontype = 20 [packed = true];</code>
*/
private void clearCompaniontype() {
companiontype_ = emptyIntList();
}
public static final int PROTOCOL_FIELD_NUMBER = 5;
private int protocol_;
/**
* <pre>
* DEPRECATED in OpenRTB 2.3+, REMOVED in 2.6.
* Use the field <code>protocols</code>.
* Not supported by Google.
* </pre>
*
* <code>optional .com.google.openrtb.Protocol protocol = 5 [deprecated = true];</code>
* @deprecated com.google.openrtb.BidRequest.Imp.Video.protocol is deprecated.
* See openrtb/openrtb-v26.proto;l=404
* @return Whether the protocol field is set.
*/
@java.lang.Override
@java.lang.Deprecated public boolean hasProtocol() {
return ((bitField0_ & 0x01000000) != 0);
}
/**
* <pre>
* DEPRECATED in OpenRTB 2.3+, REMOVED in 2.6.
* Use the field <code>protocols</code>.
* Not supported by Google.
* </pre>
*
* <code>optional .com.google.openrtb.Protocol protocol = 5 [deprecated = true];</code>
* @deprecated com.google.openrtb.BidRequest.Imp.Video.protocol is deprecated.
* See openrtb/openrtb-v26.proto;l=404
* @return The protocol.
*/
@java.lang.Override
@java.lang.Deprecated public com.particles.mes.protos.openrtb.Protocol getProtocol() {
com.particles.mes.protos.openrtb.Protocol result = com.particles.mes.protos.openrtb.Protocol.forNumber(protocol_);
return result == null ? com.particles.mes.protos.openrtb.Protocol.VAST_1_0 : result;
}
/**
* <pre>
* DEPRECATED in OpenRTB 2.3+, REMOVED in 2.6.
* Use the field <code>protocols</code>.
* Not supported by Google.
* </pre>
*
* <code>optional .com.google.openrtb.Protocol protocol = 5 [deprecated = true];</code>
* @deprecated com.google.openrtb.BidRequest.Imp.Video.protocol is deprecated.
* See openrtb/openrtb-v26.proto;l=404
* @param value The protocol to set.
*/
private void setProtocol(com.particles.mes.protos.openrtb.Protocol value) {
protocol_ = value.getNumber();
bitField0_ |= 0x01000000;
}
/**
* <pre>
* DEPRECATED in OpenRTB 2.3+, REMOVED in 2.6.
* Use the field <code>protocols</code>.
* Not supported by Google.
* </pre>
*
* <code>optional .com.google.openrtb.Protocol protocol = 5 [deprecated = true];</code>
* @deprecated com.google.openrtb.BidRequest.Imp.Video.protocol is deprecated.
* See openrtb/openrtb-v26.proto;l=404
*/
private void clearProtocol() {
bitField0_ = (bitField0_ & ~0x01000000);
protocol_ = 1;
}
public static com.particles.mes.protos.openrtb.BidRequest.Imp.Video parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, data);
}
public static com.particles.mes.protos.openrtb.BidRequest.Imp.Video parseFrom(
java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, data, extensionRegistry);
}
public static com.particles.mes.protos.openrtb.BidRequest.Imp.Video parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, data);
}
public static com.particles.mes.protos.openrtb.BidRequest.Imp.Video parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, data, extensionRegistry);
}
public static com.particles.mes.protos.openrtb.BidRequest.Imp.Video parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, data);
}
public static com.particles.mes.protos.openrtb.BidRequest.Imp.Video parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, data, extensionRegistry);
}
public static com.particles.mes.protos.openrtb.BidRequest.Imp.Video parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, input);
}
public static com.particles.mes.protos.openrtb.BidRequest.Imp.Video parseFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, input, extensionRegistry);
}
public static com.particles.mes.protos.openrtb.BidRequest.Imp.Video parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return parseDelimitedFrom(DEFAULT_INSTANCE, input);
}
public static com.particles.mes.protos.openrtb.BidRequest.Imp.Video parseDelimitedFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return parseDelimitedFrom(DEFAULT_INSTANCE, input, extensionRegistry);
}
public static com.particles.mes.protos.openrtb.BidRequest.Imp.Video parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, input);
}
public static com.particles.mes.protos.openrtb.BidRequest.Imp.Video parseFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, input, extensionRegistry);
}
public static Builder newBuilder() {
return (Builder) DEFAULT_INSTANCE.createBuilder();
}
public static Builder newBuilder(com.particles.mes.protos.openrtb.BidRequest.Imp.Video prototype) {
return (Builder) DEFAULT_INSTANCE.createBuilder(prototype);
}
/**
* <pre>
* OpenRTB 2.0: This object represents an in-stream video impression.
* Many of the fields are non-essential for minimally viable transactions,
* but are included to offer fine control when needed. Video in OpenRTB
* generally assumes compliance with the VAST standard. As such, the notion
* of companion ads is supported by optionally including an array of Banner
* objects (refer to the Banner object in Section 3.2.3) that define these
* companion ads.
* The presence of a Video as a subordinate of the Imp object indicates
* that this impression is offered as a video type impression. At the
* publisher's discretion, that same impression may also be offered as
* banner and/or native by also including as Imp subordinates the Banner
* and/or Native objects, respectively. However, any given bid for the
* impression must conform to one of the offered types.
* </pre>
*
* Protobuf type {@code com.google.openrtb.BidRequest.Imp.Video}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageLite.ExtendableBuilder<
com.particles.mes.protos.openrtb.BidRequest.Imp.Video, Builder> implements
// @@protoc_insertion_point(builder_implements:com.google.openrtb.BidRequest.Imp.Video)
com.particles.mes.protos.openrtb.BidRequest.Imp.VideoOrBuilder {
// Construct using com.particles.mes.protos.openrtb.BidRequest.Imp.Video.newBuilder()
private Builder() {
super(DEFAULT_INSTANCE);
}
/**
* <pre>
* Allowlist of content MIME types supported. Popular MIME types include,
* but are not limited to "image/jpg", "image/gif" and
* "application/x-shockwave-flash".
* REQUIRED by the OpenRTB specification: at least 1 element.
* Supported by Google.
* </pre>
*
* <code>repeated string mimes = 1;</code>
* @return A list containing the mimes.
*/
@java.lang.Override
public java.util.List<java.lang.String>
getMimesList() {
return java.util.Collections.unmodifiableList(
instance.getMimesList());
}
/**
* <pre>
* Allowlist of content MIME types supported. Popular MIME types include,
* but are not limited to "image/jpg", "image/gif" and
* "application/x-shockwave-flash".
* REQUIRED by the OpenRTB specification: at least 1 element.
* Supported by Google.
* </pre>
*
* <code>repeated string mimes = 1;</code>
* @return The count of mimes.
*/
@java.lang.Override
public int getMimesCount() {
return instance.getMimesCount();
}
/**
* <pre>
* Allowlist of content MIME types supported. Popular MIME types include,
* but are not limited to "image/jpg", "image/gif" and
* "application/x-shockwave-flash".
* REQUIRED by the OpenRTB specification: at least 1 element.
* Supported by Google.
* </pre>
*
* <code>repeated string mimes = 1;</code>
* @param index The index of the element to return.
* @return The mimes at the given index.
*/
@java.lang.Override
public java.lang.String getMimes(int index) {
return instance.getMimes(index);
}
/**
* <pre>
* Allowlist of content MIME types supported. Popular MIME types include,
* but are not limited to "image/jpg", "image/gif" and
* "application/x-shockwave-flash".
* REQUIRED by the OpenRTB specification: at least 1 element.
* Supported by Google.
* </pre>
*
* <code>repeated string mimes = 1;</code>
* @param index The index of the value to return.
* @return The bytes of the mimes at the given index.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getMimesBytes(int index) {
return instance.getMimesBytes(index);
}
/**
* <pre>
* Allowlist of content MIME types supported. Popular MIME types include,
* but are not limited to "image/jpg", "image/gif" and
* "application/x-shockwave-flash".
* REQUIRED by the OpenRTB specification: at least 1 element.
* Supported by Google.
* </pre>
*
* <code>repeated string mimes = 1;</code>
* @param index The index to set the value at.
* @param value The mimes to set.
* @return This builder for chaining.
*/
public Builder setMimes(
int index, java.lang.String value) {
copyOnWrite();
instance.setMimes(index, value);
return this;
}
/**
* <pre>
* Allowlist of content MIME types supported. Popular MIME types include,
* but are not limited to "image/jpg", "image/gif" and
* "application/x-shockwave-flash".
* REQUIRED by the OpenRTB specification: at least 1 element.
* Supported by Google.
* </pre>
*
* <code>repeated string mimes = 1;</code>
* @param value The mimes to add.
* @return This builder for chaining.
*/
public Builder addMimes(
java.lang.String value) {
copyOnWrite();
instance.addMimes(value);
return this;
}
/**
* <pre>
* Allowlist of content MIME types supported. Popular MIME types include,
* but are not limited to "image/jpg", "image/gif" and
* "application/x-shockwave-flash".
* REQUIRED by the OpenRTB specification: at least 1 element.
* Supported by Google.
* </pre>
*
* <code>repeated string mimes = 1;</code>
* @param values The mimes to add.
* @return This builder for chaining.
*/
public Builder addAllMimes(
java.lang.Iterable<java.lang.String> values) {
copyOnWrite();
instance.addAllMimes(values);
return this;
}
/**
* <pre>
* Allowlist of content MIME types supported. Popular MIME types include,
* but are not limited to "image/jpg", "image/gif" and
* "application/x-shockwave-flash".
* REQUIRED by the OpenRTB specification: at least 1 element.
* Supported by Google.
* </pre>
*
* <code>repeated string mimes = 1;</code>
* @return This builder for chaining.
*/
public Builder clearMimes() {
copyOnWrite();
instance.clearMimes();
return this;
}
/**
* <pre>
* Allowlist of content MIME types supported. Popular MIME types include,
* but are not limited to "image/jpg", "image/gif" and
* "application/x-shockwave-flash".
* REQUIRED by the OpenRTB specification: at least 1 element.
* Supported by Google.
* </pre>
*
* <code>repeated string mimes = 1;</code>
* @param value The bytes of the mimes to add.
* @return This builder for chaining.
*/
public Builder addMimesBytes(
com.google.protobuf.ByteString value) {
copyOnWrite();
instance.addMimesBytes(value);
return this;
}
/**
* <pre>
* Minimum video ad duration in seconds.
* This field is mutually exclusive with rqddurs; only one of
* minduration and rqddurs may be in a bid request.
* Supported by Google.
* </pre>
*
* <code>optional int32 minduration = 3 [default = 0];</code>
* @return Whether the minduration field is set.
*/
@java.lang.Override
public boolean hasMinduration() {
return instance.hasMinduration();
}
/**
* <pre>
* Minimum video ad duration in seconds.
* This field is mutually exclusive with rqddurs; only one of
* minduration and rqddurs may be in a bid request.
* Supported by Google.
* </pre>
*
* <code>optional int32 minduration = 3 [default = 0];</code>
* @return The minduration.
*/
@java.lang.Override
public int getMinduration() {
return instance.getMinduration();
}
/**
* <pre>
* Minimum video ad duration in seconds.
* This field is mutually exclusive with rqddurs; only one of
* minduration and rqddurs may be in a bid request.
* Supported by Google.
* </pre>
*
* <code>optional int32 minduration = 3 [default = 0];</code>
* @param value The minduration to set.
* @return This builder for chaining.
*/
public Builder setMinduration(int value) {
copyOnWrite();
instance.setMinduration(value);
return this;
}
/**
* <pre>
* Minimum video ad duration in seconds.
* This field is mutually exclusive with rqddurs; only one of
* minduration and rqddurs may be in a bid request.
* Supported by Google.
* </pre>
*
* <code>optional int32 minduration = 3 [default = 0];</code>
* @return This builder for chaining.
*/
public Builder clearMinduration() {
copyOnWrite();
instance.clearMinduration();
return this;
}
/**
* <pre>
* Maximum video ad duration in seconds.
* This field is mutually exclusive with rqddurs; only one of
* maxduration and rqddurs may be in a bid request.
* Supported by Google.
* </pre>
*
* <code>optional int32 maxduration = 4;</code>
* @return Whether the maxduration field is set.
*/
@java.lang.Override
public boolean hasMaxduration() {
return instance.hasMaxduration();
}
/**
* <pre>
* Maximum video ad duration in seconds.
* This field is mutually exclusive with rqddurs; only one of
* maxduration and rqddurs may be in a bid request.
* Supported by Google.
* </pre>
*
* <code>optional int32 maxduration = 4;</code>
* @return The maxduration.
*/
@java.lang.Override
public int getMaxduration() {
return instance.getMaxduration();
}
/**
* <pre>
* Maximum video ad duration in seconds.
* This field is mutually exclusive with rqddurs; only one of
* maxduration and rqddurs may be in a bid request.
* Supported by Google.
* </pre>
*
* <code>optional int32 maxduration = 4;</code>
* @param value The maxduration to set.
* @return This builder for chaining.
*/
public Builder setMaxduration(int value) {
copyOnWrite();
instance.setMaxduration(value);
return this;
}
/**
* <pre>
* Maximum video ad duration in seconds.
* This field is mutually exclusive with rqddurs; only one of
* maxduration and rqddurs may be in a bid request.
* Supported by Google.
* </pre>
*
* <code>optional int32 maxduration = 4;</code>
* @return This builder for chaining.
*/
public Builder clearMaxduration() {
copyOnWrite();
instance.clearMaxduration();
return this;
}
/**
* <pre>
* Indicates the start delay in seconds for pre-roll, mid-roll, or
* post-roll ad placements.
* Refer to enum StartDelay for generic values.
* Supported by Google.
* </pre>
*
* <code>optional int32 startdelay = 8;</code>
* @return Whether the startdelay field is set.
*/
@java.lang.Override
public boolean hasStartdelay() {
return instance.hasStartdelay();
}
/**
* <pre>
* Indicates the start delay in seconds for pre-roll, mid-roll, or
* post-roll ad placements.
* Refer to enum StartDelay for generic values.
* Supported by Google.
* </pre>
*
* <code>optional int32 startdelay = 8;</code>
* @return The startdelay.
*/
@java.lang.Override
public int getStartdelay() {
return instance.getStartdelay();
}
/**
* <pre>
* Indicates the start delay in seconds for pre-roll, mid-roll, or
* post-roll ad placements.
* Refer to enum StartDelay for generic values.
* Supported by Google.
* </pre>
*
* <code>optional int32 startdelay = 8;</code>
* @param value The startdelay to set.
* @return This builder for chaining.
*/
public Builder setStartdelay(int value) {
copyOnWrite();
instance.setStartdelay(value);
return this;
}
/**
* <pre>
* Indicates the start delay in seconds for pre-roll, mid-roll, or
* post-roll ad placements.
* Refer to enum StartDelay for generic values.
* Supported by Google.
* </pre>
*
* <code>optional int32 startdelay = 8;</code>
* @return This builder for chaining.
*/
public Builder clearStartdelay() {
copyOnWrite();
instance.clearStartdelay();
return this;
}
/**
* <pre>
* Indicates the maximum number of ads that may be served into a
* "dynamic" video ad pod (where the precise number of ads is not
* predetermined by the seller).
* This field is currently only supported by Google for
* rewarded video pods requests.
* </pre>
*
* <code>optional int32 maxseq = 28;</code>
* @return Whether the maxseq field is set.
*/
@java.lang.Override
public boolean hasMaxseq() {
return instance.hasMaxseq();
}
/**
* <pre>
* Indicates the maximum number of ads that may be served into a
* "dynamic" video ad pod (where the precise number of ads is not
* predetermined by the seller).
* This field is currently only supported by Google for
* rewarded video pods requests.
* </pre>
*
* <code>optional int32 maxseq = 28;</code>
* @return The maxseq.
*/
@java.lang.Override
public int getMaxseq() {
return instance.getMaxseq();
}
/**
* <pre>
* Indicates the maximum number of ads that may be served into a
* "dynamic" video ad pod (where the precise number of ads is not
* predetermined by the seller).
* This field is currently only supported by Google for
* rewarded video pods requests.
* </pre>
*
* <code>optional int32 maxseq = 28;</code>
* @param value The maxseq to set.
* @return This builder for chaining.
*/
public Builder setMaxseq(int value) {
copyOnWrite();
instance.setMaxseq(value);
return this;
}
/**
* <pre>
* Indicates the maximum number of ads that may be served into a
* "dynamic" video ad pod (where the precise number of ads is not
* predetermined by the seller).
* This field is currently only supported by Google for
* rewarded video pods requests.
* </pre>
*
* <code>optional int32 maxseq = 28;</code>
* @return This builder for chaining.
*/
public Builder clearMaxseq() {
copyOnWrite();
instance.clearMaxseq();
return this;
}
/**
* <pre>
* Indicates the total amount of time in seconds that advertisers may
* fill for a "dynamic" video ad pod, or the dynamic portion of a
* "hybrid" ad pod. This field is required only for the dynamic
* portion(s) of video ad pods. This field refers to the length of the
* entire ad break, whereas minduration/maxduration/rqddurs are
* constraints relating to the slots that make up the pod.
* This field is currently only supported for rewarded video pods
* requests.
* </pre>
*
* <code>optional int32 poddur = 29;</code>
* @return Whether the poddur field is set.
*/
@java.lang.Override
public boolean hasPoddur() {
return instance.hasPoddur();
}
/**
* <pre>
* Indicates the total amount of time in seconds that advertisers may
* fill for a "dynamic" video ad pod, or the dynamic portion of a
* "hybrid" ad pod. This field is required only for the dynamic
* portion(s) of video ad pods. This field refers to the length of the
* entire ad break, whereas minduration/maxduration/rqddurs are
* constraints relating to the slots that make up the pod.
* This field is currently only supported for rewarded video pods
* requests.
* </pre>
*
* <code>optional int32 poddur = 29;</code>
* @return The poddur.
*/
@java.lang.Override
public int getPoddur() {
return instance.getPoddur();
}
/**
* <pre>
* Indicates the total amount of time in seconds that advertisers may
* fill for a "dynamic" video ad pod, or the dynamic portion of a
* "hybrid" ad pod. This field is required only for the dynamic
* portion(s) of video ad pods. This field refers to the length of the
* entire ad break, whereas minduration/maxduration/rqddurs are
* constraints relating to the slots that make up the pod.
* This field is currently only supported for rewarded video pods
* requests.
* </pre>
*
* <code>optional int32 poddur = 29;</code>
* @param value The poddur to set.
* @return This builder for chaining.
*/
public Builder setPoddur(int value) {
copyOnWrite();
instance.setPoddur(value);
return this;
}
/**
* <pre>
* Indicates the total amount of time in seconds that advertisers may
* fill for a "dynamic" video ad pod, or the dynamic portion of a
* "hybrid" ad pod. This field is required only for the dynamic
* portion(s) of video ad pods. This field refers to the length of the
* entire ad break, whereas minduration/maxduration/rqddurs are
* constraints relating to the slots that make up the pod.
* This field is currently only supported for rewarded video pods
* requests.
* </pre>
*
* <code>optional int32 poddur = 29;</code>
* @return This builder for chaining.
*/
public Builder clearPoddur() {
copyOnWrite();
instance.clearPoddur();
return this;
}
/**
* <pre>
* Array of supported video bid response protocols.
* At least one supported protocol must be specified.
* Supported by Google.
* </pre>
*
* <code>repeated .com.google.openrtb.Protocol protocols = 21 [packed = true];</code>
* @return A list containing the protocols.
*/
@java.lang.Override
public java.util.List<com.particles.mes.protos.openrtb.Protocol> getProtocolsList() {
return instance.getProtocolsList();
}
/**
* <pre>
* Array of supported video bid response protocols.
* At least one supported protocol must be specified.
* Supported by Google.
* </pre>
*
* <code>repeated .com.google.openrtb.Protocol protocols = 21 [packed = true];</code>
* @return The count of protocols.
*/
@java.lang.Override
public int getProtocolsCount() {
return instance.getProtocolsCount();
}
/**
* <pre>
* Array of supported video bid response protocols.
* At least one supported protocol must be specified.
* Supported by Google.
* </pre>
*
* <code>repeated .com.google.openrtb.Protocol protocols = 21 [packed = true];</code>
* @param index The index of the element to return.
* @return The protocols at the given index.
*/
@java.lang.Override
public com.particles.mes.protos.openrtb.Protocol getProtocols(int index) {
return instance.getProtocols(index);
}
/**
* <pre>
* Array of supported video bid response protocols.
* At least one supported protocol must be specified.
* Supported by Google.
* </pre>
*
* <code>repeated .com.google.openrtb.Protocol protocols = 21 [packed = true];</code>
* @param index The index to set the value at.
* @param value The protocols to set.
* @return This builder for chaining.
*/
public Builder setProtocols(
int index, com.particles.mes.protos.openrtb.Protocol value) {
copyOnWrite();
instance.setProtocols(index, value);
return this;
}
/**
* <pre>
* Array of supported video bid response protocols.
* At least one supported protocol must be specified.
* Supported by Google.
* </pre>
*
* <code>repeated .com.google.openrtb.Protocol protocols = 21 [packed = true];</code>
* @param value The protocols to add.
* @return This builder for chaining.
*/
public Builder addProtocols(com.particles.mes.protos.openrtb.Protocol value) {
copyOnWrite();
instance.addProtocols(value);
return this;
}
/**
* <pre>
* Array of supported video bid response protocols.
* At least one supported protocol must be specified.
* Supported by Google.
* </pre>
*
* <code>repeated .com.google.openrtb.Protocol protocols = 21 [packed = true];</code>
* @param values The protocols to add.
* @return This builder for chaining.
*/
public Builder addAllProtocols(
java.lang.Iterable<? extends com.particles.mes.protos.openrtb.Protocol> values) {
copyOnWrite();
instance.addAllProtocols(values); return this;
}
/**
* <pre>
* Array of supported video bid response protocols.
* At least one supported protocol must be specified.
* Supported by Google.
* </pre>
*
* <code>repeated .com.google.openrtb.Protocol protocols = 21 [packed = true];</code>
* @return This builder for chaining.
*/
public Builder clearProtocols() {
copyOnWrite();
instance.clearProtocols();
return this;
}
/**
* <pre>
* Width of the video player in device independent pixels (DIPS).
* Supported by Google.
* </pre>
*
* <code>optional int32 w = 6;</code>
* @return Whether the w field is set.
*/
@java.lang.Override
public boolean hasW() {
return instance.hasW();
}
/**
* <pre>
* Width of the video player in device independent pixels (DIPS).
* Supported by Google.
* </pre>
*
* <code>optional int32 w = 6;</code>
* @return The w.
*/
@java.lang.Override
public int getW() {
return instance.getW();
}
/**
* <pre>
* Width of the video player in device independent pixels (DIPS).
* Supported by Google.
* </pre>
*
* <code>optional int32 w = 6;</code>
* @param value The w to set.
* @return This builder for chaining.
*/
public Builder setW(int value) {
copyOnWrite();
instance.setW(value);
return this;
}
/**
* <pre>
* Width of the video player in device independent pixels (DIPS).
* Supported by Google.
* </pre>
*
* <code>optional int32 w = 6;</code>
* @return This builder for chaining.
*/
public Builder clearW() {
copyOnWrite();
instance.clearW();
return this;
}
/**
* <pre>
* Height of the video player in device independent pixels (DIPS).
* Supported by Google.
* </pre>
*
* <code>optional int32 h = 7;</code>
* @return Whether the h field is set.
*/
@java.lang.Override
public boolean hasH() {
return instance.hasH();
}
/**
* <pre>
* Height of the video player in device independent pixels (DIPS).
* Supported by Google.
* </pre>
*
* <code>optional int32 h = 7;</code>
* @return The h.
*/
@java.lang.Override
public int getH() {
return instance.getH();
}
/**
* <pre>
* Height of the video player in device independent pixels (DIPS).
* Supported by Google.
* </pre>
*
* <code>optional int32 h = 7;</code>
* @param value The h to set.
* @return This builder for chaining.
*/
public Builder setH(int value) {
copyOnWrite();
instance.setH(value);
return this;
}
/**
* <pre>
* Height of the video player in device independent pixels (DIPS).
* Supported by Google.
* </pre>
*
* <code>optional int32 h = 7;</code>
* @return This builder for chaining.
*/
public Builder clearH() {
copyOnWrite();
instance.clearH();
return this;
}
/**
* <pre>
* Unique identifier indicating that an impression opportunity
* belongs to a video ad pod. If multiple impression opportunities
* within a bid request share the same podid, this indicates that
* those impression opportunities belong to the same video ad pod.
* Not supported by Google.
* </pre>
*
* <code>optional string podid = 30;</code>
* @return Whether the podid field is set.
*/
@java.lang.Override
public boolean hasPodid() {
return instance.hasPodid();
}
/**
* <pre>
* Unique identifier indicating that an impression opportunity
* belongs to a video ad pod. If multiple impression opportunities
* within a bid request share the same podid, this indicates that
* those impression opportunities belong to the same video ad pod.
* Not supported by Google.
* </pre>
*
* <code>optional string podid = 30;</code>
* @return The podid.
*/
@java.lang.Override
public java.lang.String getPodid() {
return instance.getPodid();
}
/**
* <pre>
* Unique identifier indicating that an impression opportunity
* belongs to a video ad pod. If multiple impression opportunities
* within a bid request share the same podid, this indicates that
* those impression opportunities belong to the same video ad pod.
* Not supported by Google.
* </pre>
*
* <code>optional string podid = 30;</code>
* @return The bytes for podid.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getPodidBytes() {
return instance.getPodidBytes();
}
/**
* <pre>
* Unique identifier indicating that an impression opportunity
* belongs to a video ad pod. If multiple impression opportunities
* within a bid request share the same podid, this indicates that
* those impression opportunities belong to the same video ad pod.
* Not supported by Google.
* </pre>
*
* <code>optional string podid = 30;</code>
* @param value The podid to set.
* @return This builder for chaining.
*/
public Builder setPodid(
java.lang.String value) {
copyOnWrite();
instance.setPodid(value);
return this;
}
/**
* <pre>
* Unique identifier indicating that an impression opportunity
* belongs to a video ad pod. If multiple impression opportunities
* within a bid request share the same podid, this indicates that
* those impression opportunities belong to the same video ad pod.
* Not supported by Google.
* </pre>
*
* <code>optional string podid = 30;</code>
* @return This builder for chaining.
*/
public Builder clearPodid() {
copyOnWrite();
instance.clearPodid();
return this;
}
/**
* <pre>
* Unique identifier indicating that an impression opportunity
* belongs to a video ad pod. If multiple impression opportunities
* within a bid request share the same podid, this indicates that
* those impression opportunities belong to the same video ad pod.
* Not supported by Google.
* </pre>
*
* <code>optional string podid = 30;</code>
* @param value The bytes for podid to set.
* @return This builder for chaining.
*/
public Builder setPodidBytes(
com.google.protobuf.ByteString value) {
copyOnWrite();
instance.setPodidBytes(value);
return this;
}
/**
* <pre>
* The sequence (position) of the video ad pod within a content stream.
* Not supported by Google.
* </pre>
*
* <code>optional .com.google.openrtb.PodSequence podseq = 31 [default = POD_SEQUENCE_ANY];</code>
* @return Whether the podseq field is set.
*/
@java.lang.Override
public boolean hasPodseq() {
return instance.hasPodseq();
}
/**
* <pre>
* The sequence (position) of the video ad pod within a content stream.
* Not supported by Google.
* </pre>
*
* <code>optional .com.google.openrtb.PodSequence podseq = 31 [default = POD_SEQUENCE_ANY];</code>
* @return The podseq.
*/
@java.lang.Override
public com.particles.mes.protos.openrtb.PodSequence getPodseq() {
return instance.getPodseq();
}
/**
* <pre>
* The sequence (position) of the video ad pod within a content stream.
* Not supported by Google.
* </pre>
*
* <code>optional .com.google.openrtb.PodSequence podseq = 31 [default = POD_SEQUENCE_ANY];</code>
* @param value The enum numeric value on the wire for podseq to set.
* @return This builder for chaining.
*/
public Builder setPodseq(com.particles.mes.protos.openrtb.PodSequence value) {
copyOnWrite();
instance.setPodseq(value);
return this;
}
/**
* <pre>
* The sequence (position) of the video ad pod within a content stream.
* Not supported by Google.
* </pre>
*
* <code>optional .com.google.openrtb.PodSequence podseq = 31 [default = POD_SEQUENCE_ANY];</code>
* @return This builder for chaining.
*/
public Builder clearPodseq() {
copyOnWrite();
instance.clearPodseq();
return this;
}
/**
* <pre>
* Precise acceptable durations for video creatives in
* seconds. This field specifically targets the Live TV use case
* where non-exact ad durations would result in undesirable ‘dead air’.
* This field is mutually exclusive with minduration and maxduration;
* if rqddurs is specified, minduration and maxduration must not be
* specified and the other way around.
* Not supported by Google.
* </pre>
*
* <code>repeated int32 rqddurs = 32 [packed = true];</code>
* @return A list containing the rqddurs.
*/
@java.lang.Override
public java.util.List<java.lang.Integer>
getRqddursList() {
return java.util.Collections.unmodifiableList(
instance.getRqddursList());
}
/**
* <pre>
* Precise acceptable durations for video creatives in
* seconds. This field specifically targets the Live TV use case
* where non-exact ad durations would result in undesirable ‘dead air’.
* This field is mutually exclusive with minduration and maxduration;
* if rqddurs is specified, minduration and maxduration must not be
* specified and the other way around.
* Not supported by Google.
* </pre>
*
* <code>repeated int32 rqddurs = 32 [packed = true];</code>
* @return The count of rqddurs.
*/
@java.lang.Override
public int getRqddursCount() {
return instance.getRqddursCount();
}
/**
* <pre>
* Precise acceptable durations for video creatives in
* seconds. This field specifically targets the Live TV use case
* where non-exact ad durations would result in undesirable ‘dead air’.
* This field is mutually exclusive with minduration and maxduration;
* if rqddurs is specified, minduration and maxduration must not be
* specified and the other way around.
* Not supported by Google.
* </pre>
*
* <code>repeated int32 rqddurs = 32 [packed = true];</code>
* @param index The index of the element to return.
* @return The rqddurs at the given index.
*/
@java.lang.Override
public int getRqddurs(int index) {
return instance.getRqddurs(index);
}
/**
* <pre>
* Precise acceptable durations for video creatives in
* seconds. This field specifically targets the Live TV use case
* where non-exact ad durations would result in undesirable ‘dead air’.
* This field is mutually exclusive with minduration and maxduration;
* if rqddurs is specified, minduration and maxduration must not be
* specified and the other way around.
* Not supported by Google.
* </pre>
*
* <code>repeated int32 rqddurs = 32 [packed = true];</code>
* @param value The rqddurs to set.
* @return This builder for chaining.
*/
public Builder setRqddurs(
int index, int value) {
copyOnWrite();
instance.setRqddurs(index, value);
return this;
}
/**
* <pre>
* Precise acceptable durations for video creatives in
* seconds. This field specifically targets the Live TV use case
* where non-exact ad durations would result in undesirable ‘dead air’.
* This field is mutually exclusive with minduration and maxduration;
* if rqddurs is specified, minduration and maxduration must not be
* specified and the other way around.
* Not supported by Google.
* </pre>
*
* <code>repeated int32 rqddurs = 32 [packed = true];</code>
* @param value The rqddurs to add.
* @return This builder for chaining.
*/
public Builder addRqddurs(int value) {
copyOnWrite();
instance.addRqddurs(value);
return this;
}
/**
* <pre>
* Precise acceptable durations for video creatives in
* seconds. This field specifically targets the Live TV use case
* where non-exact ad durations would result in undesirable ‘dead air’.
* This field is mutually exclusive with minduration and maxduration;
* if rqddurs is specified, minduration and maxduration must not be
* specified and the other way around.
* Not supported by Google.
* </pre>
*
* <code>repeated int32 rqddurs = 32 [packed = true];</code>
* @param values The rqddurs to add.
* @return This builder for chaining.
*/
public Builder addAllRqddurs(
java.lang.Iterable<? extends java.lang.Integer> values) {
copyOnWrite();
instance.addAllRqddurs(values);
return this;
}
/**
* <pre>
* Precise acceptable durations for video creatives in
* seconds. This field specifically targets the Live TV use case
* where non-exact ad durations would result in undesirable ‘dead air’.
* This field is mutually exclusive with minduration and maxduration;
* if rqddurs is specified, minduration and maxduration must not be
* specified and the other way around.
* Not supported by Google.
* </pre>
*
* <code>repeated int32 rqddurs = 32 [packed = true];</code>
* @return This builder for chaining.
*/
public Builder clearRqddurs() {
copyOnWrite();
instance.clearRqddurs();
return this;
}
/**
* <pre>
* Deprecated. This will be removed in January 2025 per the IAB here:
* https://github.com/InteractiveAdvertisingBureau/AdCOM/blob/main/AdCOM%20v1.0%20FINAL.md#list--placement-subtypes---video-
* Placement type for the impression.
* Supported by Google.
* </pre>
*
* <code>optional .com.google.openrtb.VideoPlacementType placement = 26 [deprecated = true];</code>
* @deprecated com.google.openrtb.BidRequest.Imp.Video.placement is deprecated.
* See openrtb/openrtb-v26.proto;l=291
* @return Whether the placement field is set.
*/
@java.lang.Override
@java.lang.Deprecated public boolean hasPlacement() {
return instance.hasPlacement();
}
/**
* <pre>
* Deprecated. This will be removed in January 2025 per the IAB here:
* https://github.com/InteractiveAdvertisingBureau/AdCOM/blob/main/AdCOM%20v1.0%20FINAL.md#list--placement-subtypes---video-
* Placement type for the impression.
* Supported by Google.
* </pre>
*
* <code>optional .com.google.openrtb.VideoPlacementType placement = 26 [deprecated = true];</code>
* @deprecated com.google.openrtb.BidRequest.Imp.Video.placement is deprecated.
* See openrtb/openrtb-v26.proto;l=291
* @return The placement.
*/
@java.lang.Override
@java.lang.Deprecated public com.particles.mes.protos.openrtb.VideoPlacementType getPlacement() {
return instance.getPlacement();
}
/**
* <pre>
* Deprecated. This will be removed in January 2025 per the IAB here:
* https://github.com/InteractiveAdvertisingBureau/AdCOM/blob/main/AdCOM%20v1.0%20FINAL.md#list--placement-subtypes---video-
* Placement type for the impression.
* Supported by Google.
* </pre>
*
* <code>optional .com.google.openrtb.VideoPlacementType placement = 26 [deprecated = true];</code>
* @deprecated com.google.openrtb.BidRequest.Imp.Video.placement is deprecated.
* See openrtb/openrtb-v26.proto;l=291
* @param value The enum numeric value on the wire for placement to set.
* @return This builder for chaining.
*/
@java.lang.Deprecated public Builder setPlacement(com.particles.mes.protos.openrtb.VideoPlacementType value) {
copyOnWrite();
instance.setPlacement(value);
return this;
}
/**
* <pre>
* Deprecated. This will be removed in January 2025 per the IAB here:
* https://github.com/InteractiveAdvertisingBureau/AdCOM/blob/main/AdCOM%20v1.0%20FINAL.md#list--placement-subtypes---video-
* Placement type for the impression.
* Supported by Google.
* </pre>
*
* <code>optional .com.google.openrtb.VideoPlacementType placement = 26 [deprecated = true];</code>
* @deprecated com.google.openrtb.BidRequest.Imp.Video.placement is deprecated.
* See openrtb/openrtb-v26.proto;l=291
* @return This builder for chaining.
*/
@java.lang.Deprecated public Builder clearPlacement() {
copyOnWrite();
instance.clearPlacement();
return this;
}
/**
* <pre>
* Video placement type declared by the publisher for this impression.
* Introduced in OpenRTB 2.6 to reflect updated industry definitions
* around different types of video ad placements. This field supersedes
* the Video.placement field. May be unset if the publisher did not
* declare a video placement type.
* Supported by Google.
* </pre>
*
* <code>optional .com.google.openrtb.Plcmt plcmt = 35 [default = PLCMT_UNKNOWN];</code>
* @return Whether the plcmt field is set.
*/
@java.lang.Override
public boolean hasPlcmt() {
return instance.hasPlcmt();
}
/**
* <pre>
* Video placement type declared by the publisher for this impression.
* Introduced in OpenRTB 2.6 to reflect updated industry definitions
* around different types of video ad placements. This field supersedes
* the Video.placement field. May be unset if the publisher did not
* declare a video placement type.
* Supported by Google.
* </pre>
*
* <code>optional .com.google.openrtb.Plcmt plcmt = 35 [default = PLCMT_UNKNOWN];</code>
* @return The plcmt.
*/
@java.lang.Override
public com.particles.mes.protos.openrtb.Plcmt getPlcmt() {
return instance.getPlcmt();
}
/**
* <pre>
* Video placement type declared by the publisher for this impression.
* Introduced in OpenRTB 2.6 to reflect updated industry definitions
* around different types of video ad placements. This field supersedes
* the Video.placement field. May be unset if the publisher did not
* declare a video placement type.
* Supported by Google.
* </pre>
*
* <code>optional .com.google.openrtb.Plcmt plcmt = 35 [default = PLCMT_UNKNOWN];</code>
* @param value The enum numeric value on the wire for plcmt to set.
* @return This builder for chaining.
*/
public Builder setPlcmt(com.particles.mes.protos.openrtb.Plcmt value) {
copyOnWrite();
instance.setPlcmt(value);
return this;
}
/**
* <pre>
* Video placement type declared by the publisher for this impression.
* Introduced in OpenRTB 2.6 to reflect updated industry definitions
* around different types of video ad placements. This field supersedes
* the Video.placement field. May be unset if the publisher did not
* declare a video placement type.
* Supported by Google.
* </pre>
*
* <code>optional .com.google.openrtb.Plcmt plcmt = 35 [default = PLCMT_UNKNOWN];</code>
* @return This builder for chaining.
*/
public Builder clearPlcmt() {
copyOnWrite();
instance.clearPlcmt();
return this;
}
/**
* <pre>
* Indicates if the impression must be linear or nonlinear. If none
* specified, assume all are allowed.
* Supported by Google.
* </pre>
*
* <code>optional .com.google.openrtb.VideoLinearity linearity = 2;</code>
* @return Whether the linearity field is set.
*/
@java.lang.Override
public boolean hasLinearity() {
return instance.hasLinearity();
}
/**
* <pre>
* Indicates if the impression must be linear or nonlinear. If none
* specified, assume all are allowed.
* Supported by Google.
* </pre>
*
* <code>optional .com.google.openrtb.VideoLinearity linearity = 2;</code>
* @return The linearity.
*/
@java.lang.Override
public com.particles.mes.protos.openrtb.VideoLinearity getLinearity() {
return instance.getLinearity();
}
/**
* <pre>
* Indicates if the impression must be linear or nonlinear. If none
* specified, assume all are allowed.
* Supported by Google.
* </pre>
*
* <code>optional .com.google.openrtb.VideoLinearity linearity = 2;</code>
* @param value The enum numeric value on the wire for linearity to set.
* @return This builder for chaining.
*/
public Builder setLinearity(com.particles.mes.protos.openrtb.VideoLinearity value) {
copyOnWrite();
instance.setLinearity(value);
return this;
}
/**
* <pre>
* Indicates if the impression must be linear or nonlinear. If none
* specified, assume all are allowed.
* Supported by Google.
* </pre>
*
* <code>optional .com.google.openrtb.VideoLinearity linearity = 2;</code>
* @return This builder for chaining.
*/
public Builder clearLinearity() {
copyOnWrite();
instance.clearLinearity();
return this;
}
/**
* <pre>
* Indicates if the player will allow the video to be skipped.
* If a bidder sends markup/creative that is itself skippable, the
* Bid object should include the attr array with an element of
* AD_CAN_BE_SKIPPED indicating skippable video.
* Supported by Google.
* </pre>
*
* <code>optional bool skip = 23;</code>
* @return Whether the skip field is set.
*/
@java.lang.Override
public boolean hasSkip() {
return instance.hasSkip();
}
/**
* <pre>
* Indicates if the player will allow the video to be skipped.
* If a bidder sends markup/creative that is itself skippable, the
* Bid object should include the attr array with an element of
* AD_CAN_BE_SKIPPED indicating skippable video.
* Supported by Google.
* </pre>
*
* <code>optional bool skip = 23;</code>
* @return The skip.
*/
@java.lang.Override
public boolean getSkip() {
return instance.getSkip();
}
/**
* <pre>
* Indicates if the player will allow the video to be skipped.
* If a bidder sends markup/creative that is itself skippable, the
* Bid object should include the attr array with an element of
* AD_CAN_BE_SKIPPED indicating skippable video.
* Supported by Google.
* </pre>
*
* <code>optional bool skip = 23;</code>
* @param value The skip to set.
* @return This builder for chaining.
*/
public Builder setSkip(boolean value) {
copyOnWrite();
instance.setSkip(value);
return this;
}
/**
* <pre>
* Indicates if the player will allow the video to be skipped.
* If a bidder sends markup/creative that is itself skippable, the
* Bid object should include the attr array with an element of
* AD_CAN_BE_SKIPPED indicating skippable video.
* Supported by Google.
* </pre>
*
* <code>optional bool skip = 23;</code>
* @return This builder for chaining.
*/
public Builder clearSkip() {
copyOnWrite();
instance.clearSkip();
return this;
}
/**
* <pre>
* Videos of total duration greater than this number of seconds
* can be skippable; only applicable if the ad is skippable.
* Not supported by Google.
* </pre>
*
* <code>optional int32 skipmin = 24;</code>
* @return Whether the skipmin field is set.
*/
@java.lang.Override
public boolean hasSkipmin() {
return instance.hasSkipmin();
}
/**
* <pre>
* Videos of total duration greater than this number of seconds
* can be skippable; only applicable if the ad is skippable.
* Not supported by Google.
* </pre>
*
* <code>optional int32 skipmin = 24;</code>
* @return The skipmin.
*/
@java.lang.Override
public int getSkipmin() {
return instance.getSkipmin();
}
/**
* <pre>
* Videos of total duration greater than this number of seconds
* can be skippable; only applicable if the ad is skippable.
* Not supported by Google.
* </pre>
*
* <code>optional int32 skipmin = 24;</code>
* @param value The skipmin to set.
* @return This builder for chaining.
*/
public Builder setSkipmin(int value) {
copyOnWrite();
instance.setSkipmin(value);
return this;
}
/**
* <pre>
* Videos of total duration greater than this number of seconds
* can be skippable; only applicable if the ad is skippable.
* Not supported by Google.
* </pre>
*
* <code>optional int32 skipmin = 24;</code>
* @return This builder for chaining.
*/
public Builder clearSkipmin() {
copyOnWrite();
instance.clearSkipmin();
return this;
}
/**
* <pre>
* Number of seconds a video must play before skipping is
* enabled; only applicable if the ad is skippable.
* Not supported by Google.
* </pre>
*
* <code>optional int32 skipafter = 25;</code>
* @return Whether the skipafter field is set.
*/
@java.lang.Override
public boolean hasSkipafter() {
return instance.hasSkipafter();
}
/**
* <pre>
* Number of seconds a video must play before skipping is
* enabled; only applicable if the ad is skippable.
* Not supported by Google.
* </pre>
*
* <code>optional int32 skipafter = 25;</code>
* @return The skipafter.
*/
@java.lang.Override
public int getSkipafter() {
return instance.getSkipafter();
}
/**
* <pre>
* Number of seconds a video must play before skipping is
* enabled; only applicable if the ad is skippable.
* Not supported by Google.
* </pre>
*
* <code>optional int32 skipafter = 25;</code>
* @param value The skipafter to set.
* @return This builder for chaining.
*/
public Builder setSkipafter(int value) {
copyOnWrite();
instance.setSkipafter(value);
return this;
}
/**
* <pre>
* Number of seconds a video must play before skipping is
* enabled; only applicable if the ad is skippable.
* Not supported by Google.
* </pre>
*
* <code>optional int32 skipafter = 25;</code>
* @return This builder for chaining.
*/
public Builder clearSkipafter() {
copyOnWrite();
instance.clearSkipafter();
return this;
}
/**
* <pre>
* DEPRECATED in OpenRTB 2.6+; prefer the field podseq.
* If multiple ad impressions are offered in the same bid request,
* the sequence number will allow for the coordinated delivery of
* multiple creatives.
* Not supported by Google.
* </pre>
*
* <code>optional int32 sequence = 9 [default = 1, deprecated = true];</code>
* @deprecated com.google.openrtb.BidRequest.Imp.Video.sequence is deprecated.
* See openrtb/openrtb-v26.proto;l=328
* @return Whether the sequence field is set.
*/
@java.lang.Override
@java.lang.Deprecated public boolean hasSequence() {
return instance.hasSequence();
}
/**
* <pre>
* DEPRECATED in OpenRTB 2.6+; prefer the field podseq.
* If multiple ad impressions are offered in the same bid request,
* the sequence number will allow for the coordinated delivery of
* multiple creatives.
* Not supported by Google.
* </pre>
*
* <code>optional int32 sequence = 9 [default = 1, deprecated = true];</code>
* @deprecated com.google.openrtb.BidRequest.Imp.Video.sequence is deprecated.
* See openrtb/openrtb-v26.proto;l=328
* @return The sequence.
*/
@java.lang.Override
@java.lang.Deprecated public int getSequence() {
return instance.getSequence();
}
/**
* <pre>
* DEPRECATED in OpenRTB 2.6+; prefer the field podseq.
* If multiple ad impressions are offered in the same bid request,
* the sequence number will allow for the coordinated delivery of
* multiple creatives.
* Not supported by Google.
* </pre>
*
* <code>optional int32 sequence = 9 [default = 1, deprecated = true];</code>
* @deprecated com.google.openrtb.BidRequest.Imp.Video.sequence is deprecated.
* See openrtb/openrtb-v26.proto;l=328
* @param value The sequence to set.
* @return This builder for chaining.
*/
@java.lang.Deprecated public Builder setSequence(int value) {
copyOnWrite();
instance.setSequence(value);
return this;
}
/**
* <pre>
* DEPRECATED in OpenRTB 2.6+; prefer the field podseq.
* If multiple ad impressions are offered in the same bid request,
* the sequence number will allow for the coordinated delivery of
* multiple creatives.
* Not supported by Google.
* </pre>
*
* <code>optional int32 sequence = 9 [default = 1, deprecated = true];</code>
* @deprecated com.google.openrtb.BidRequest.Imp.Video.sequence is deprecated.
* See openrtb/openrtb-v26.proto;l=328
* @return This builder for chaining.
*/
@java.lang.Deprecated public Builder clearSequence() {
copyOnWrite();
instance.clearSequence();
return this;
}
/**
* <pre>
* For video ad pods, this value indicates that the seller can
* guarantee delivery against the indicated slot position in the pod.
* Not supported by Google.
* </pre>
*
* <code>optional .com.google.openrtb.SlotPositionInPod slotinpod = 33 [default = SLOT_POSITION_POD_ANY];</code>
* @return Whether the slotinpod field is set.
*/
@java.lang.Override
public boolean hasSlotinpod() {
return instance.hasSlotinpod();
}
/**
* <pre>
* For video ad pods, this value indicates that the seller can
* guarantee delivery against the indicated slot position in the pod.
* Not supported by Google.
* </pre>
*
* <code>optional .com.google.openrtb.SlotPositionInPod slotinpod = 33 [default = SLOT_POSITION_POD_ANY];</code>
* @return The slotinpod.
*/
@java.lang.Override
public com.particles.mes.protos.openrtb.SlotPositionInPod getSlotinpod() {
return instance.getSlotinpod();
}
/**
* <pre>
* For video ad pods, this value indicates that the seller can
* guarantee delivery against the indicated slot position in the pod.
* Not supported by Google.
* </pre>
*
* <code>optional .com.google.openrtb.SlotPositionInPod slotinpod = 33 [default = SLOT_POSITION_POD_ANY];</code>
* @param value The enum numeric value on the wire for slotinpod to set.
* @return This builder for chaining.
*/
public Builder setSlotinpod(com.particles.mes.protos.openrtb.SlotPositionInPod value) {
copyOnWrite();
instance.setSlotinpod(value);
return this;
}
/**
* <pre>
* For video ad pods, this value indicates that the seller can
* guarantee delivery against the indicated slot position in the pod.
* Not supported by Google.
* </pre>
*
* <code>optional .com.google.openrtb.SlotPositionInPod slotinpod = 33 [default = SLOT_POSITION_POD_ANY];</code>
* @return This builder for chaining.
*/
public Builder clearSlotinpod() {
copyOnWrite();
instance.clearSlotinpod();
return this;
}
/**
* <pre>
* Minimum CPM per second. This is a price floor for the
* "dynamic" portion of a video ad pod, relative to the duration
* of bids an advertiser may submit.
* Not supported by Google.
* </pre>
*
* <code>optional double mincpmpersec = 34;</code>
* @return Whether the mincpmpersec field is set.
*/
@java.lang.Override
public boolean hasMincpmpersec() {
return instance.hasMincpmpersec();
}
/**
* <pre>
* Minimum CPM per second. This is a price floor for the
* "dynamic" portion of a video ad pod, relative to the duration
* of bids an advertiser may submit.
* Not supported by Google.
* </pre>
*
* <code>optional double mincpmpersec = 34;</code>
* @return The mincpmpersec.
*/
@java.lang.Override
public double getMincpmpersec() {
return instance.getMincpmpersec();
}
/**
* <pre>
* Minimum CPM per second. This is a price floor for the
* "dynamic" portion of a video ad pod, relative to the duration
* of bids an advertiser may submit.
* Not supported by Google.
* </pre>
*
* <code>optional double mincpmpersec = 34;</code>
* @param value The mincpmpersec to set.
* @return This builder for chaining.
*/
public Builder setMincpmpersec(double value) {
copyOnWrite();
instance.setMincpmpersec(value);
return this;
}
/**
* <pre>
* Minimum CPM per second. This is a price floor for the
* "dynamic" portion of a video ad pod, relative to the duration
* of bids an advertiser may submit.
* Not supported by Google.
* </pre>
*
* <code>optional double mincpmpersec = 34;</code>
* @return This builder for chaining.
*/
public Builder clearMincpmpersec() {
copyOnWrite();
instance.clearMincpmpersec();
return this;
}
/**
* <pre>
* Blocked creative attributes.
* Supported by Google.
* </pre>
*
* <code>repeated .com.google.openrtb.CreativeAttribute battr = 10 [packed = true];</code>
* @return A list containing the battr.
*/
@java.lang.Override
public java.util.List<com.particles.mes.protos.openrtb.CreativeAttribute> getBattrList() {
return instance.getBattrList();
}
/**
* <pre>
* Blocked creative attributes.
* Supported by Google.
* </pre>
*
* <code>repeated .com.google.openrtb.CreativeAttribute battr = 10 [packed = true];</code>
* @return The count of battr.
*/
@java.lang.Override
public int getBattrCount() {
return instance.getBattrCount();
}
/**
* <pre>
* Blocked creative attributes.
* Supported by Google.
* </pre>
*
* <code>repeated .com.google.openrtb.CreativeAttribute battr = 10 [packed = true];</code>
* @param index The index of the element to return.
* @return The battr at the given index.
*/
@java.lang.Override
public com.particles.mes.protos.openrtb.CreativeAttribute getBattr(int index) {
return instance.getBattr(index);
}
/**
* <pre>
* Blocked creative attributes.
* Supported by Google.
* </pre>
*
* <code>repeated .com.google.openrtb.CreativeAttribute battr = 10 [packed = true];</code>
* @param index The index to set the value at.
* @param value The battr to set.
* @return This builder for chaining.
*/
public Builder setBattr(
int index, com.particles.mes.protos.openrtb.CreativeAttribute value) {
copyOnWrite();
instance.setBattr(index, value);
return this;
}
/**
* <pre>
* Blocked creative attributes.
* Supported by Google.
* </pre>
*
* <code>repeated .com.google.openrtb.CreativeAttribute battr = 10 [packed = true];</code>
* @param value The battr to add.
* @return This builder for chaining.
*/
public Builder addBattr(com.particles.mes.protos.openrtb.CreativeAttribute value) {
copyOnWrite();
instance.addBattr(value);
return this;
}
/**
* <pre>
* Blocked creative attributes.
* Supported by Google.
* </pre>
*
* <code>repeated .com.google.openrtb.CreativeAttribute battr = 10 [packed = true];</code>
* @param values The battr to add.
* @return This builder for chaining.
*/
public Builder addAllBattr(
java.lang.Iterable<? extends com.particles.mes.protos.openrtb.CreativeAttribute> values) {
copyOnWrite();
instance.addAllBattr(values); return this;
}
/**
* <pre>
* Blocked creative attributes.
* Supported by Google.
* </pre>
*
* <code>repeated .com.google.openrtb.CreativeAttribute battr = 10 [packed = true];</code>
* @return This builder for chaining.
*/
public Builder clearBattr() {
copyOnWrite();
instance.clearBattr();
return this;
}
/**
* <pre>
* Maximum extended video ad duration, if extension is allowed.
* If blank or 0, extension is not allowed. If -1, extension is allowed,
* and there is no time limit imposed. If greater than 0, then the value
* represents the number of seconds of extended play supported beyond
* the maxduration value.
* Not supported by Google.
* </pre>
*
* <code>optional int32 maxextended = 11;</code>
* @return Whether the maxextended field is set.
*/
@java.lang.Override
public boolean hasMaxextended() {
return instance.hasMaxextended();
}
/**
* <pre>
* Maximum extended video ad duration, if extension is allowed.
* If blank or 0, extension is not allowed. If -1, extension is allowed,
* and there is no time limit imposed. If greater than 0, then the value
* represents the number of seconds of extended play supported beyond
* the maxduration value.
* Not supported by Google.
* </pre>
*
* <code>optional int32 maxextended = 11;</code>
* @return The maxextended.
*/
@java.lang.Override
public int getMaxextended() {
return instance.getMaxextended();
}
/**
* <pre>
* Maximum extended video ad duration, if extension is allowed.
* If blank or 0, extension is not allowed. If -1, extension is allowed,
* and there is no time limit imposed. If greater than 0, then the value
* represents the number of seconds of extended play supported beyond
* the maxduration value.
* Not supported by Google.
* </pre>
*
* <code>optional int32 maxextended = 11;</code>
* @param value The maxextended to set.
* @return This builder for chaining.
*/
public Builder setMaxextended(int value) {
copyOnWrite();
instance.setMaxextended(value);
return this;
}
/**
* <pre>
* Maximum extended video ad duration, if extension is allowed.
* If blank or 0, extension is not allowed. If -1, extension is allowed,
* and there is no time limit imposed. If greater than 0, then the value
* represents the number of seconds of extended play supported beyond
* the maxduration value.
* Not supported by Google.
* </pre>
*
* <code>optional int32 maxextended = 11;</code>
* @return This builder for chaining.
*/
public Builder clearMaxextended() {
copyOnWrite();
instance.clearMaxextended();
return this;
}
/**
* <pre>
* Minimum bit rate in Kbps.
* Not supported by Google.
* </pre>
*
* <code>optional int32 minbitrate = 12;</code>
* @return Whether the minbitrate field is set.
*/
@java.lang.Override
public boolean hasMinbitrate() {
return instance.hasMinbitrate();
}
/**
* <pre>
* Minimum bit rate in Kbps.
* Not supported by Google.
* </pre>
*
* <code>optional int32 minbitrate = 12;</code>
* @return The minbitrate.
*/
@java.lang.Override
public int getMinbitrate() {
return instance.getMinbitrate();
}
/**
* <pre>
* Minimum bit rate in Kbps.
* Not supported by Google.
* </pre>
*
* <code>optional int32 minbitrate = 12;</code>
* @param value The minbitrate to set.
* @return This builder for chaining.
*/
public Builder setMinbitrate(int value) {
copyOnWrite();
instance.setMinbitrate(value);
return this;
}
/**
* <pre>
* Minimum bit rate in Kbps.
* Not supported by Google.
* </pre>
*
* <code>optional int32 minbitrate = 12;</code>
* @return This builder for chaining.
*/
public Builder clearMinbitrate() {
copyOnWrite();
instance.clearMinbitrate();
return this;
}
/**
* <pre>
* Maximum bit rate in Kbps.
* Not supported by Google.
* </pre>
*
* <code>optional int32 maxbitrate = 13;</code>
* @return Whether the maxbitrate field is set.
*/
@java.lang.Override
public boolean hasMaxbitrate() {
return instance.hasMaxbitrate();
}
/**
* <pre>
* Maximum bit rate in Kbps.
* Not supported by Google.
* </pre>
*
* <code>optional int32 maxbitrate = 13;</code>
* @return The maxbitrate.
*/
@java.lang.Override
public int getMaxbitrate() {
return instance.getMaxbitrate();
}
/**
* <pre>
* Maximum bit rate in Kbps.
* Not supported by Google.
* </pre>
*
* <code>optional int32 maxbitrate = 13;</code>
* @param value The maxbitrate to set.
* @return This builder for chaining.
*/
public Builder setMaxbitrate(int value) {
copyOnWrite();
instance.setMaxbitrate(value);
return this;
}
/**
* <pre>
* Maximum bit rate in Kbps.
* Not supported by Google.
* </pre>
*
* <code>optional int32 maxbitrate = 13;</code>
* @return This builder for chaining.
*/
public Builder clearMaxbitrate() {
copyOnWrite();
instance.clearMaxbitrate();
return this;
}
/**
* <pre>
* Indicates if letter-boxing of 4:3 content into a 16:9 window is
* allowed.
* Not supported by Google.
* </pre>
*
* <code>optional bool boxingallowed = 14 [default = true];</code>
* @return Whether the boxingallowed field is set.
*/
@java.lang.Override
public boolean hasBoxingallowed() {
return instance.hasBoxingallowed();
}
/**
* <pre>
* Indicates if letter-boxing of 4:3 content into a 16:9 window is
* allowed.
* Not supported by Google.
* </pre>
*
* <code>optional bool boxingallowed = 14 [default = true];</code>
* @return The boxingallowed.
*/
@java.lang.Override
public boolean getBoxingallowed() {
return instance.getBoxingallowed();
}
/**
* <pre>
* Indicates if letter-boxing of 4:3 content into a 16:9 window is
* allowed.
* Not supported by Google.
* </pre>
*
* <code>optional bool boxingallowed = 14 [default = true];</code>
* @param value The boxingallowed to set.
* @return This builder for chaining.
*/
public Builder setBoxingallowed(boolean value) {
copyOnWrite();
instance.setBoxingallowed(value);
return this;
}
/**
* <pre>
* Indicates if letter-boxing of 4:3 content into a 16:9 window is
* allowed.
* Not supported by Google.
* </pre>
*
* <code>optional bool boxingallowed = 14 [default = true];</code>
* @return This builder for chaining.
*/
public Builder clearBoxingallowed() {
copyOnWrite();
instance.clearBoxingallowed();
return this;
}
/**
* <pre>
* Playback methods that may be in use. If none are specified, any
* method may be used. Only one method is typically used in practice.
* As a result, this array may be converted to an integer in a future
* version of the specification. It is strongly advised to use only
* the first element of this array in preparation for this change.
* Supported by Google.
* </pre>
*
* <code>repeated .com.google.openrtb.PlaybackMethod playbackmethod = 15 [packed = true];</code>
* @return A list containing the playbackmethod.
*/
@java.lang.Override
public java.util.List<com.particles.mes.protos.openrtb.PlaybackMethod> getPlaybackmethodList() {
return instance.getPlaybackmethodList();
}
/**
* <pre>
* Playback methods that may be in use. If none are specified, any
* method may be used. Only one method is typically used in practice.
* As a result, this array may be converted to an integer in a future
* version of the specification. It is strongly advised to use only
* the first element of this array in preparation for this change.
* Supported by Google.
* </pre>
*
* <code>repeated .com.google.openrtb.PlaybackMethod playbackmethod = 15 [packed = true];</code>
* @return The count of playbackmethod.
*/
@java.lang.Override
public int getPlaybackmethodCount() {
return instance.getPlaybackmethodCount();
}
/**
* <pre>
* Playback methods that may be in use. If none are specified, any
* method may be used. Only one method is typically used in practice.
* As a result, this array may be converted to an integer in a future
* version of the specification. It is strongly advised to use only
* the first element of this array in preparation for this change.
* Supported by Google.
* </pre>
*
* <code>repeated .com.google.openrtb.PlaybackMethod playbackmethod = 15 [packed = true];</code>
* @param index The index of the element to return.
* @return The playbackmethod at the given index.
*/
@java.lang.Override
public com.particles.mes.protos.openrtb.PlaybackMethod getPlaybackmethod(int index) {
return instance.getPlaybackmethod(index);
}
/**
* <pre>
* Playback methods that may be in use. If none are specified, any
* method may be used. Only one method is typically used in practice.
* As a result, this array may be converted to an integer in a future
* version of the specification. It is strongly advised to use only
* the first element of this array in preparation for this change.
* Supported by Google.
* </pre>
*
* <code>repeated .com.google.openrtb.PlaybackMethod playbackmethod = 15 [packed = true];</code>
* @param index The index to set the value at.
* @param value The playbackmethod to set.
* @return This builder for chaining.
*/
public Builder setPlaybackmethod(
int index, com.particles.mes.protos.openrtb.PlaybackMethod value) {
copyOnWrite();
instance.setPlaybackmethod(index, value);
return this;
}
/**
* <pre>
* Playback methods that may be in use. If none are specified, any
* method may be used. Only one method is typically used in practice.
* As a result, this array may be converted to an integer in a future
* version of the specification. It is strongly advised to use only
* the first element of this array in preparation for this change.
* Supported by Google.
* </pre>
*
* <code>repeated .com.google.openrtb.PlaybackMethod playbackmethod = 15 [packed = true];</code>
* @param value The playbackmethod to add.
* @return This builder for chaining.
*/
public Builder addPlaybackmethod(com.particles.mes.protos.openrtb.PlaybackMethod value) {
copyOnWrite();
instance.addPlaybackmethod(value);
return this;
}
/**
* <pre>
* Playback methods that may be in use. If none are specified, any
* method may be used. Only one method is typically used in practice.
* As a result, this array may be converted to an integer in a future
* version of the specification. It is strongly advised to use only
* the first element of this array in preparation for this change.
* Supported by Google.
* </pre>
*
* <code>repeated .com.google.openrtb.PlaybackMethod playbackmethod = 15 [packed = true];</code>
* @param values The playbackmethod to add.
* @return This builder for chaining.
*/
public Builder addAllPlaybackmethod(
java.lang.Iterable<? extends com.particles.mes.protos.openrtb.PlaybackMethod> values) {
copyOnWrite();
instance.addAllPlaybackmethod(values); return this;
}
/**
* <pre>
* Playback methods that may be in use. If none are specified, any
* method may be used. Only one method is typically used in practice.
* As a result, this array may be converted to an integer in a future
* version of the specification. It is strongly advised to use only
* the first element of this array in preparation for this change.
* Supported by Google.
* </pre>
*
* <code>repeated .com.google.openrtb.PlaybackMethod playbackmethod = 15 [packed = true];</code>
* @return This builder for chaining.
*/
public Builder clearPlaybackmethod() {
copyOnWrite();
instance.clearPlaybackmethod();
return this;
}
/**
* <pre>
* The event that causes playback to end.
* Supported by Google.
* </pre>
*
* <code>optional .com.google.openrtb.PlaybackCessationMode playbackend = 27;</code>
* @return Whether the playbackend field is set.
*/
@java.lang.Override
public boolean hasPlaybackend() {
return instance.hasPlaybackend();
}
/**
* <pre>
* The event that causes playback to end.
* Supported by Google.
* </pre>
*
* <code>optional .com.google.openrtb.PlaybackCessationMode playbackend = 27;</code>
* @return The playbackend.
*/
@java.lang.Override
public com.particles.mes.protos.openrtb.PlaybackCessationMode getPlaybackend() {
return instance.getPlaybackend();
}
/**
* <pre>
* The event that causes playback to end.
* Supported by Google.
* </pre>
*
* <code>optional .com.google.openrtb.PlaybackCessationMode playbackend = 27;</code>
* @param value The enum numeric value on the wire for playbackend to set.
* @return This builder for chaining.
*/
public Builder setPlaybackend(com.particles.mes.protos.openrtb.PlaybackCessationMode value) {
copyOnWrite();
instance.setPlaybackend(value);
return this;
}
/**
* <pre>
* The event that causes playback to end.
* Supported by Google.
* </pre>
*
* <code>optional .com.google.openrtb.PlaybackCessationMode playbackend = 27;</code>
* @return This builder for chaining.
*/
public Builder clearPlaybackend() {
copyOnWrite();
instance.clearPlaybackend();
return this;
}
/**
* <pre>
* Supported delivery methods (for example, streaming, progressive).
* Supported by Google.
* </pre>
*
* <code>repeated .com.google.openrtb.ContentDeliveryMethod delivery = 16 [packed = true];</code>
* @return A list containing the delivery.
*/
@java.lang.Override
public java.util.List<com.particles.mes.protos.openrtb.ContentDeliveryMethod> getDeliveryList() {
return instance.getDeliveryList();
}
/**
* <pre>
* Supported delivery methods (for example, streaming, progressive).
* Supported by Google.
* </pre>
*
* <code>repeated .com.google.openrtb.ContentDeliveryMethod delivery = 16 [packed = true];</code>
* @return The count of delivery.
*/
@java.lang.Override
public int getDeliveryCount() {
return instance.getDeliveryCount();
}
/**
* <pre>
* Supported delivery methods (for example, streaming, progressive).
* Supported by Google.
* </pre>
*
* <code>repeated .com.google.openrtb.ContentDeliveryMethod delivery = 16 [packed = true];</code>
* @param index The index of the element to return.
* @return The delivery at the given index.
*/
@java.lang.Override
public com.particles.mes.protos.openrtb.ContentDeliveryMethod getDelivery(int index) {
return instance.getDelivery(index);
}
/**
* <pre>
* Supported delivery methods (for example, streaming, progressive).
* Supported by Google.
* </pre>
*
* <code>repeated .com.google.openrtb.ContentDeliveryMethod delivery = 16 [packed = true];</code>
* @param index The index to set the value at.
* @param value The delivery to set.
* @return This builder for chaining.
*/
public Builder setDelivery(
int index, com.particles.mes.protos.openrtb.ContentDeliveryMethod value) {
copyOnWrite();
instance.setDelivery(index, value);
return this;
}
/**
* <pre>
* Supported delivery methods (for example, streaming, progressive).
* Supported by Google.
* </pre>
*
* <code>repeated .com.google.openrtb.ContentDeliveryMethod delivery = 16 [packed = true];</code>
* @param value The delivery to add.
* @return This builder for chaining.
*/
public Builder addDelivery(com.particles.mes.protos.openrtb.ContentDeliveryMethod value) {
copyOnWrite();
instance.addDelivery(value);
return this;
}
/**
* <pre>
* Supported delivery methods (for example, streaming, progressive).
* Supported by Google.
* </pre>
*
* <code>repeated .com.google.openrtb.ContentDeliveryMethod delivery = 16 [packed = true];</code>
* @param values The delivery to add.
* @return This builder for chaining.
*/
public Builder addAllDelivery(
java.lang.Iterable<? extends com.particles.mes.protos.openrtb.ContentDeliveryMethod> values) {
copyOnWrite();
instance.addAllDelivery(values); return this;
}
/**
* <pre>
* Supported delivery methods (for example, streaming, progressive).
* Supported by Google.
* </pre>
*
* <code>repeated .com.google.openrtb.ContentDeliveryMethod delivery = 16 [packed = true];</code>
* @return This builder for chaining.
*/
public Builder clearDelivery() {
copyOnWrite();
instance.clearDelivery();
return this;
}
/**
* <pre>
* Ad position on screen.
* Supported by Google.
* </pre>
*
* <code>optional .com.google.openrtb.AdPosition pos = 17;</code>
* @return Whether the pos field is set.
*/
@java.lang.Override
public boolean hasPos() {
return instance.hasPos();
}
/**
* <pre>
* Ad position on screen.
* Supported by Google.
* </pre>
*
* <code>optional .com.google.openrtb.AdPosition pos = 17;</code>
* @return The pos.
*/
@java.lang.Override
public com.particles.mes.protos.openrtb.AdPosition getPos() {
return instance.getPos();
}
/**
* <pre>
* Ad position on screen.
* Supported by Google.
* </pre>
*
* <code>optional .com.google.openrtb.AdPosition pos = 17;</code>
* @param value The enum numeric value on the wire for pos to set.
* @return This builder for chaining.
*/
public Builder setPos(com.particles.mes.protos.openrtb.AdPosition value) {
copyOnWrite();
instance.setPos(value);
return this;
}
/**
* <pre>
* Ad position on screen.
* Supported by Google.
* </pre>
*
* <code>optional .com.google.openrtb.AdPosition pos = 17;</code>
* @return This builder for chaining.
*/
public Builder clearPos() {
copyOnWrite();
instance.clearPos();
return this;
}
/**
* <pre>
* Array of Banner objects (Section 3.2.3) if companion ads are available.
* Supported by Google.
* </pre>
*
* <code>repeated .com.google.openrtb.BidRequest.Imp.Banner companionad = 18;</code>
*/
@java.lang.Override
public java.util.List<com.particles.mes.protos.openrtb.BidRequest.Imp.Banner> getCompanionadList() {
return java.util.Collections.unmodifiableList(
instance.getCompanionadList());
}
/**
* <pre>
* Array of Banner objects (Section 3.2.3) if companion ads are available.
* Supported by Google.
* </pre>
*
* <code>repeated .com.google.openrtb.BidRequest.Imp.Banner companionad = 18;</code>
*/
@java.lang.Override
public int getCompanionadCount() {
return instance.getCompanionadCount();
}/**
* <pre>
* Array of Banner objects (Section 3.2.3) if companion ads are available.
* Supported by Google.
* </pre>
*
* <code>repeated .com.google.openrtb.BidRequest.Imp.Banner companionad = 18;</code>
*/
@java.lang.Override
public com.particles.mes.protos.openrtb.BidRequest.Imp.Banner getCompanionad(int index) {
return instance.getCompanionad(index);
}
/**
* <pre>
* Array of Banner objects (Section 3.2.3) if companion ads are available.
* Supported by Google.
* </pre>
*
* <code>repeated .com.google.openrtb.BidRequest.Imp.Banner companionad = 18;</code>
*/
public Builder setCompanionad(
int index, com.particles.mes.protos.openrtb.BidRequest.Imp.Banner value) {
copyOnWrite();
instance.setCompanionad(index, value);
return this;
}
/**
* <pre>
* Array of Banner objects (Section 3.2.3) if companion ads are available.
* Supported by Google.
* </pre>
*
* <code>repeated .com.google.openrtb.BidRequest.Imp.Banner companionad = 18;</code>
*/
public Builder setCompanionad(
int index, com.particles.mes.protos.openrtb.BidRequest.Imp.Banner.Builder builderForValue) {
copyOnWrite();
instance.setCompanionad(index,
builderForValue.build());
return this;
}
/**
* <pre>
* Array of Banner objects (Section 3.2.3) if companion ads are available.
* Supported by Google.
* </pre>
*
* <code>repeated .com.google.openrtb.BidRequest.Imp.Banner companionad = 18;</code>
*/
public Builder addCompanionad(com.particles.mes.protos.openrtb.BidRequest.Imp.Banner value) {
copyOnWrite();
instance.addCompanionad(value);
return this;
}
/**
* <pre>
* Array of Banner objects (Section 3.2.3) if companion ads are available.
* Supported by Google.
* </pre>
*
* <code>repeated .com.google.openrtb.BidRequest.Imp.Banner companionad = 18;</code>
*/
public Builder addCompanionad(
int index, com.particles.mes.protos.openrtb.BidRequest.Imp.Banner value) {
copyOnWrite();
instance.addCompanionad(index, value);
return this;
}
/**
* <pre>
* Array of Banner objects (Section 3.2.3) if companion ads are available.
* Supported by Google.
* </pre>
*
* <code>repeated .com.google.openrtb.BidRequest.Imp.Banner companionad = 18;</code>
*/
public Builder addCompanionad(
com.particles.mes.protos.openrtb.BidRequest.Imp.Banner.Builder builderForValue) {
copyOnWrite();
instance.addCompanionad(builderForValue.build());
return this;
}
/**
* <pre>
* Array of Banner objects (Section 3.2.3) if companion ads are available.
* Supported by Google.
* </pre>
*
* <code>repeated .com.google.openrtb.BidRequest.Imp.Banner companionad = 18;</code>
*/
public Builder addCompanionad(
int index, com.particles.mes.protos.openrtb.BidRequest.Imp.Banner.Builder builderForValue) {
copyOnWrite();
instance.addCompanionad(index,
builderForValue.build());
return this;
}
/**
* <pre>
* Array of Banner objects (Section 3.2.3) if companion ads are available.
* Supported by Google.
* </pre>
*
* <code>repeated .com.google.openrtb.BidRequest.Imp.Banner companionad = 18;</code>
*/
public Builder addAllCompanionad(
java.lang.Iterable<? extends com.particles.mes.protos.openrtb.BidRequest.Imp.Banner> values) {
copyOnWrite();
instance.addAllCompanionad(values);
return this;
}
/**
* <pre>
* Array of Banner objects (Section 3.2.3) if companion ads are available.
* Supported by Google.
* </pre>
*
* <code>repeated .com.google.openrtb.BidRequest.Imp.Banner companionad = 18;</code>
*/
public Builder clearCompanionad() {
copyOnWrite();
instance.clearCompanionad();
return this;
}
/**
* <pre>
* Array of Banner objects (Section 3.2.3) if companion ads are available.
* Supported by Google.
* </pre>
*
* <code>repeated .com.google.openrtb.BidRequest.Imp.Banner companionad = 18;</code>
*/
public Builder removeCompanionad(int index) {
copyOnWrite();
instance.removeCompanionad(index);
return this;
}
/**
* <pre>
* List of supported API frameworks for this impression.
* If an API is not explicitly listed, it is assumed not to be supported.
* Supported by Google.
* </pre>
*
* <code>repeated .com.google.openrtb.APIFramework api = 19 [packed = true];</code>
* @return A list containing the api.
*/
@java.lang.Override
public java.util.List<com.particles.mes.protos.openrtb.APIFramework> getApiList() {
return instance.getApiList();
}
/**
* <pre>
* List of supported API frameworks for this impression.
* If an API is not explicitly listed, it is assumed not to be supported.
* Supported by Google.
* </pre>
*
* <code>repeated .com.google.openrtb.APIFramework api = 19 [packed = true];</code>
* @return The count of api.
*/
@java.lang.Override
public int getApiCount() {
return instance.getApiCount();
}
/**
* <pre>
* List of supported API frameworks for this impression.
* If an API is not explicitly listed, it is assumed not to be supported.
* Supported by Google.
* </pre>
*
* <code>repeated .com.google.openrtb.APIFramework api = 19 [packed = true];</code>
* @param index The index of the element to return.
* @return The api at the given index.
*/
@java.lang.Override
public com.particles.mes.protos.openrtb.APIFramework getApi(int index) {
return instance.getApi(index);
}
/**
* <pre>
* List of supported API frameworks for this impression.
* If an API is not explicitly listed, it is assumed not to be supported.
* Supported by Google.
* </pre>
*
* <code>repeated .com.google.openrtb.APIFramework api = 19 [packed = true];</code>
* @param index The index to set the value at.
* @param value The api to set.
* @return This builder for chaining.
*/
public Builder setApi(
int index, com.particles.mes.protos.openrtb.APIFramework value) {
copyOnWrite();
instance.setApi(index, value);
return this;
}
/**
* <pre>
* List of supported API frameworks for this impression.
* If an API is not explicitly listed, it is assumed not to be supported.
* Supported by Google.
* </pre>
*
* <code>repeated .com.google.openrtb.APIFramework api = 19 [packed = true];</code>
* @param value The api to add.
* @return This builder for chaining.
*/
public Builder addApi(com.particles.mes.protos.openrtb.APIFramework value) {
copyOnWrite();
instance.addApi(value);
return this;
}
/**
* <pre>
* List of supported API frameworks for this impression.
* If an API is not explicitly listed, it is assumed not to be supported.
* Supported by Google.
* </pre>
*
* <code>repeated .com.google.openrtb.APIFramework api = 19 [packed = true];</code>
* @param values The api to add.
* @return This builder for chaining.
*/
public Builder addAllApi(
java.lang.Iterable<? extends com.particles.mes.protos.openrtb.APIFramework> values) {
copyOnWrite();
instance.addAllApi(values); return this;
}
/**
* <pre>
* List of supported API frameworks for this impression.
* If an API is not explicitly listed, it is assumed not to be supported.
* Supported by Google.
* </pre>
*
* <code>repeated .com.google.openrtb.APIFramework api = 19 [packed = true];</code>
* @return This builder for chaining.
*/
public Builder clearApi() {
copyOnWrite();
instance.clearApi();
return this;
}
/**
* <pre>
* Supported VAST companion ad types. Recommended if companion Banner
* objects are included through the companionad array.
* Supported by Google.
* </pre>
*
* <code>repeated .com.google.openrtb.CompanionType companiontype = 20 [packed = true];</code>
* @return A list containing the companiontype.
*/
@java.lang.Override
public java.util.List<com.particles.mes.protos.openrtb.CompanionType> getCompaniontypeList() {
return instance.getCompaniontypeList();
}
/**
* <pre>
* Supported VAST companion ad types. Recommended if companion Banner
* objects are included through the companionad array.
* Supported by Google.
* </pre>
*
* <code>repeated .com.google.openrtb.CompanionType companiontype = 20 [packed = true];</code>
* @return The count of companiontype.
*/
@java.lang.Override
public int getCompaniontypeCount() {
return instance.getCompaniontypeCount();
}
/**
* <pre>
* Supported VAST companion ad types. Recommended if companion Banner
* objects are included through the companionad array.
* Supported by Google.
* </pre>
*
* <code>repeated .com.google.openrtb.CompanionType companiontype = 20 [packed = true];</code>
* @param index The index of the element to return.
* @return The companiontype at the given index.
*/
@java.lang.Override
public com.particles.mes.protos.openrtb.CompanionType getCompaniontype(int index) {
return instance.getCompaniontype(index);
}
/**
* <pre>
* Supported VAST companion ad types. Recommended if companion Banner
* objects are included through the companionad array.
* Supported by Google.
* </pre>
*
* <code>repeated .com.google.openrtb.CompanionType companiontype = 20 [packed = true];</code>
* @param index The index to set the value at.
* @param value The companiontype to set.
* @return This builder for chaining.
*/
public Builder setCompaniontype(
int index, com.particles.mes.protos.openrtb.CompanionType value) {
copyOnWrite();
instance.setCompaniontype(index, value);
return this;
}
/**
* <pre>
* Supported VAST companion ad types. Recommended if companion Banner
* objects are included through the companionad array.
* Supported by Google.
* </pre>
*
* <code>repeated .com.google.openrtb.CompanionType companiontype = 20 [packed = true];</code>
* @param value The companiontype to add.
* @return This builder for chaining.
*/
public Builder addCompaniontype(com.particles.mes.protos.openrtb.CompanionType value) {
copyOnWrite();
instance.addCompaniontype(value);
return this;
}
/**
* <pre>
* Supported VAST companion ad types. Recommended if companion Banner
* objects are included through the companionad array.
* Supported by Google.
* </pre>
*
* <code>repeated .com.google.openrtb.CompanionType companiontype = 20 [packed = true];</code>
* @param values The companiontype to add.
* @return This builder for chaining.
*/
public Builder addAllCompaniontype(
java.lang.Iterable<? extends com.particles.mes.protos.openrtb.CompanionType> values) {
copyOnWrite();
instance.addAllCompaniontype(values); return this;
}
/**
* <pre>
* Supported VAST companion ad types. Recommended if companion Banner
* objects are included through the companionad array.
* Supported by Google.
* </pre>
*
* <code>repeated .com.google.openrtb.CompanionType companiontype = 20 [packed = true];</code>
* @return This builder for chaining.
*/
public Builder clearCompaniontype() {
copyOnWrite();
instance.clearCompaniontype();
return this;
}
/**
* <pre>
* DEPRECATED in OpenRTB 2.3+, REMOVED in 2.6.
* Use the field <code>protocols</code>.
* Not supported by Google.
* </pre>
*
* <code>optional .com.google.openrtb.Protocol protocol = 5 [deprecated = true];</code>
* @deprecated com.google.openrtb.BidRequest.Imp.Video.protocol is deprecated.
* See openrtb/openrtb-v26.proto;l=404
* @return Whether the protocol field is set.
*/
@java.lang.Override
@java.lang.Deprecated public boolean hasProtocol() {
return instance.hasProtocol();
}
/**
* <pre>
* DEPRECATED in OpenRTB 2.3+, REMOVED in 2.6.
* Use the field <code>protocols</code>.
* Not supported by Google.
* </pre>
*
* <code>optional .com.google.openrtb.Protocol protocol = 5 [deprecated = true];</code>
* @deprecated com.google.openrtb.BidRequest.Imp.Video.protocol is deprecated.
* See openrtb/openrtb-v26.proto;l=404
* @return The protocol.
*/
@java.lang.Override
@java.lang.Deprecated public com.particles.mes.protos.openrtb.Protocol getProtocol() {
return instance.getProtocol();
}
/**
* <pre>
* DEPRECATED in OpenRTB 2.3+, REMOVED in 2.6.
* Use the field <code>protocols</code>.
* Not supported by Google.
* </pre>
*
* <code>optional .com.google.openrtb.Protocol protocol = 5 [deprecated = true];</code>
* @deprecated com.google.openrtb.BidRequest.Imp.Video.protocol is deprecated.
* See openrtb/openrtb-v26.proto;l=404
* @param value The enum numeric value on the wire for protocol to set.
* @return This builder for chaining.
*/
@java.lang.Deprecated public Builder setProtocol(com.particles.mes.protos.openrtb.Protocol value) {
copyOnWrite();
instance.setProtocol(value);
return this;
}
/**
* <pre>
* DEPRECATED in OpenRTB 2.3+, REMOVED in 2.6.
* Use the field <code>protocols</code>.
* Not supported by Google.
* </pre>
*
* <code>optional .com.google.openrtb.Protocol protocol = 5 [deprecated = true];</code>
* @deprecated com.google.openrtb.BidRequest.Imp.Video.protocol is deprecated.
* See openrtb/openrtb-v26.proto;l=404
* @return This builder for chaining.
*/
@java.lang.Deprecated public Builder clearProtocol() {
copyOnWrite();
instance.clearProtocol();
return this;
}
// @@protoc_insertion_point(builder_scope:com.google.openrtb.BidRequest.Imp.Video)
}
private byte memoizedIsInitialized = 2;
@java.lang.Override
@java.lang.SuppressWarnings({"unchecked", "fallthrough"})
protected final java.lang.Object dynamicMethod(
com.google.protobuf.GeneratedMessageLite.MethodToInvoke method,
java.lang.Object arg0, java.lang.Object arg1) {
switch (method) {
case NEW_MUTABLE_INSTANCE: {
return new com.particles.mes.protos.openrtb.BidRequest.Imp.Video();
}
case NEW_BUILDER: {
return new Builder();
}
case BUILD_MESSAGE_INFO: {
java.lang.Object[] objects = new java.lang.Object[] {
"bitField0_",
"mimes_",
"linearity_",
com.particles.mes.protos.openrtb.VideoLinearity.internalGetVerifier(),
"minduration_",
"maxduration_",
"protocol_",
com.particles.mes.protos.openrtb.Protocol.internalGetVerifier(),
"w_",
"h_",
"startdelay_",
"sequence_",
"battr_",
com.particles.mes.protos.openrtb.CreativeAttribute.internalGetVerifier(),
"maxextended_",
"minbitrate_",
"maxbitrate_",
"boxingallowed_",
"playbackmethod_",
com.particles.mes.protos.openrtb.PlaybackMethod.internalGetVerifier(),
"delivery_",
com.particles.mes.protos.openrtb.ContentDeliveryMethod.internalGetVerifier(),
"pos_",
com.particles.mes.protos.openrtb.AdPosition.internalGetVerifier(),
"companionad_",
com.particles.mes.protos.openrtb.BidRequest.Imp.Banner.class,
"api_",
com.particles.mes.protos.openrtb.APIFramework.internalGetVerifier(),
"companiontype_",
com.particles.mes.protos.openrtb.CompanionType.internalGetVerifier(),
"protocols_",
com.particles.mes.protos.openrtb.Protocol.internalGetVerifier(),
"skip_",
"skipmin_",
"skipafter_",
"placement_",
com.particles.mes.protos.openrtb.VideoPlacementType.internalGetVerifier(),
"playbackend_",
com.particles.mes.protos.openrtb.PlaybackCessationMode.internalGetVerifier(),
"maxseq_",
"poddur_",
"podid_",
"podseq_",
com.particles.mes.protos.openrtb.PodSequence.internalGetVerifier(),
"rqddurs_",
"slotinpod_",
com.particles.mes.protos.openrtb.SlotPositionInPod.internalGetVerifier(),
"mincpmpersec_",
"plcmt_",
com.particles.mes.protos.openrtb.Plcmt.internalGetVerifier(),
};
java.lang.String info =
"\u0001\"\u0000\u0001\u0001#\"\u0000\t\u0001\u0001\u001a\u0002\u100c\u000b\u0003\u1004" +
"\u0000\u0004\u1004\u0001\u0005\u100c\u0018\u0006\u1004\u0005\u0007\u1004\u0006\b" +
"\u1004\u0002\t\u1004\u000f\n,\u000b\u1004\u0012\f\u1004\u0013\r\u1004\u0014\u000e" +
"\u1007\u0015\u000f,\u0010,\u0011\u100c\u0017\u0012\u041b\u0013,\u0014,\u0015,\u0017" +
"\u1007\f\u0018\u1004\r\u0019\u1004\u000e\u001a\u100c\t\u001b\u100c\u0016\u001c\u1004" +
"\u0003\u001d\u1004\u0004\u001e\u1008\u0007\u001f\u100c\b \'!\u100c\u0010\"\u1000" +
"\u0011#\u100c\n";
return newMessageInfo(DEFAULT_INSTANCE, info, objects);
}
// fall through
case GET_DEFAULT_INSTANCE: {
return DEFAULT_INSTANCE;
}
case GET_PARSER: {
com.google.protobuf.Parser<com.particles.mes.protos.openrtb.BidRequest.Imp.Video> parser = PARSER;
if (parser == null) {
synchronized (com.particles.mes.protos.openrtb.BidRequest.Imp.Video.class) {
parser = PARSER;
if (parser == null) {
parser =
new DefaultInstanceBasedParser<com.particles.mes.protos.openrtb.BidRequest.Imp.Video>(
DEFAULT_INSTANCE);
PARSER = parser;
}
}
}
return parser;
}
case GET_MEMOIZED_IS_INITIALIZED: {
return memoizedIsInitialized;
}
case SET_MEMOIZED_IS_INITIALIZED: {
memoizedIsInitialized = (byte) (arg0 == null ? 0 : 1);
return null;
}
}
throw new UnsupportedOperationException();
}
// @@protoc_insertion_point(class_scope:com.google.openrtb.BidRequest.Imp.Video)
private static final com.particles.mes.protos.openrtb.BidRequest.Imp.Video DEFAULT_INSTANCE;
static {
Video defaultInstance = new Video();
// New instances are implicitly immutable so no need to make
// immutable.
DEFAULT_INSTANCE = defaultInstance;
com.google.protobuf.GeneratedMessageLite.registerDefaultInstance(
Video.class, defaultInstance);
}
public static com.particles.mes.protos.openrtb.BidRequest.Imp.Video getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static volatile com.google.protobuf.Parser<Video> PARSER;
public static com.google.protobuf.Parser<Video> parser() {
return DEFAULT_INSTANCE.getParserForType();
}
}
public interface AudioOrBuilder extends
// @@protoc_insertion_point(interface_extends:com.google.openrtb.BidRequest.Imp.Audio)
com.google.protobuf.GeneratedMessageLite.
ExtendableMessageOrBuilder<
Audio, Audio.Builder> {
/**
* <pre>
* Content MIME types supported (for example, "audio/mp4").
* REQUIRED by the OpenRTB specification: at least 1 element.
* Supported by Google.
* </pre>
*
* <code>repeated string mimes = 1;</code>
* @return A list containing the mimes.
*/
java.util.List<java.lang.String>
getMimesList();
/**
* <pre>
* Content MIME types supported (for example, "audio/mp4").
* REQUIRED by the OpenRTB specification: at least 1 element.
* Supported by Google.
* </pre>
*
* <code>repeated string mimes = 1;</code>
* @return The count of mimes.
*/
int getMimesCount();
/**
* <pre>
* Content MIME types supported (for example, "audio/mp4").
* REQUIRED by the OpenRTB specification: at least 1 element.
* Supported by Google.
* </pre>
*
* <code>repeated string mimes = 1;</code>
* @param index The index of the element to return.
* @return The mimes at the given index.
*/
java.lang.String getMimes(int index);
/**
* <pre>
* Content MIME types supported (for example, "audio/mp4").
* REQUIRED by the OpenRTB specification: at least 1 element.
* Supported by Google.
* </pre>
*
* <code>repeated string mimes = 1;</code>
* @param index The index of the element to return.
* @return The mimes at the given index.
*/
com.google.protobuf.ByteString
getMimesBytes(int index);
/**
* <pre>
* Minimum audio ad duration in seconds.
* This field is mutually exclusive with rqddurs; only one of minduration
* and rqddurs may be in a bid request.
* Supported by Google.
* </pre>
*
* <code>optional int32 minduration = 2 [default = 0];</code>
* @return Whether the minduration field is set.
*/
boolean hasMinduration();
/**
* <pre>
* Minimum audio ad duration in seconds.
* This field is mutually exclusive with rqddurs; only one of minduration
* and rqddurs may be in a bid request.
* Supported by Google.
* </pre>
*
* <code>optional int32 minduration = 2 [default = 0];</code>
* @return The minduration.
*/
int getMinduration();
/**
* <pre>
* Maximum audio ad duration in seconds.
* This field is mutually exclusive with rqddurs; only one of maxduration
* and rqddurs may be in a bid request.
* Supported by Google.
* </pre>
*
* <code>optional int32 maxduration = 3;</code>
* @return Whether the maxduration field is set.
*/
boolean hasMaxduration();
/**
* <pre>
* Maximum audio ad duration in seconds.
* This field is mutually exclusive with rqddurs; only one of maxduration
* and rqddurs may be in a bid request.
* Supported by Google.
* </pre>
*
* <code>optional int32 maxduration = 3;</code>
* @return The maxduration.
*/
int getMaxduration();
/**
* <pre>
* Indicates the total amount of time in seconds that advertisers may
* fill for a "dynamic" audio ad pod, or the dynamic portion of a
* "hybrid" ad pod. This field is required only for the dynamic
* portion(s) of audio ad pods. This field refers to the length of the
* entire ad break, whereas minduration/maxduration/rqddurs are
* constraints relating to the slots that make up the pod.
* Not supported by Google.
* </pre>
*
* <code>optional int32 poddur = 25;</code>
* @return Whether the poddur field is set.
*/
boolean hasPoddur();
/**
* <pre>
* Indicates the total amount of time in seconds that advertisers may
* fill for a "dynamic" audio ad pod, or the dynamic portion of a
* "hybrid" ad pod. This field is required only for the dynamic
* portion(s) of audio ad pods. This field refers to the length of the
* entire ad break, whereas minduration/maxduration/rqddurs are
* constraints relating to the slots that make up the pod.
* Not supported by Google.
* </pre>
*
* <code>optional int32 poddur = 25;</code>
* @return The poddur.
*/
int getPoddur();
/**
* <pre>
* Array of supported audio protocols.
* Supported by Google.
* </pre>
*
* <code>repeated .com.google.openrtb.Protocol protocols = 4 [packed = true];</code>
* @return A list containing the protocols.
*/
java.util.List<com.particles.mes.protos.openrtb.Protocol> getProtocolsList();
/**
* <pre>
* Array of supported audio protocols.
* Supported by Google.
* </pre>
*
* <code>repeated .com.google.openrtb.Protocol protocols = 4 [packed = true];</code>
* @return The count of protocols.
*/
int getProtocolsCount();
/**
* <pre>
* Array of supported audio protocols.
* Supported by Google.
* </pre>
*
* <code>repeated .com.google.openrtb.Protocol protocols = 4 [packed = true];</code>
* @param index The index of the element to return.
* @return The protocols at the given index.
*/
com.particles.mes.protos.openrtb.Protocol getProtocols(int index);
/**
* <pre>
* Indicates the start delay in seconds for pre-roll, mid-roll, or
* post-roll ad placements.
* Refer to enum StartDelay for generic values.
* Supported by Google.
* </pre>
*
* <code>optional int32 startdelay = 5;</code>
* @return Whether the startdelay field is set.
*/
boolean hasStartdelay();
/**
* <pre>
* Indicates the start delay in seconds for pre-roll, mid-roll, or
* post-roll ad placements.
* Refer to enum StartDelay for generic values.
* Supported by Google.
* </pre>
*
* <code>optional int32 startdelay = 5;</code>
* @return The startdelay.
*/
int getStartdelay();
/**
* <pre>
* Precise acceptable durations for audio creatives in seconds.
* This field specifically targets the live audio/radio use case where
* non-exact ad durations would result in undesirable ‘dead air’.
* This field is mutually exclusive with minduration and
* maxduration; if rqddurs is specified, minduration and
* maxduration must not be specified and the other way around.
* Not supported by Google.
* </pre>
*
* <code>repeated int32 rqddurs = 26 [packed = true];</code>
* @return A list containing the rqddurs.
*/
java.util.List<java.lang.Integer> getRqddursList();
/**
* <pre>
* Precise acceptable durations for audio creatives in seconds.
* This field specifically targets the live audio/radio use case where
* non-exact ad durations would result in undesirable ‘dead air’.
* This field is mutually exclusive with minduration and
* maxduration; if rqddurs is specified, minduration and
* maxduration must not be specified and the other way around.
* Not supported by Google.
* </pre>
*
* <code>repeated int32 rqddurs = 26 [packed = true];</code>
* @return The count of rqddurs.
*/
int getRqddursCount();
/**
* <pre>
* Precise acceptable durations for audio creatives in seconds.
* This field specifically targets the live audio/radio use case where
* non-exact ad durations would result in undesirable ‘dead air’.
* This field is mutually exclusive with minduration and
* maxduration; if rqddurs is specified, minduration and
* maxduration must not be specified and the other way around.
* Not supported by Google.
* </pre>
*
* <code>repeated int32 rqddurs = 26 [packed = true];</code>
* @param index The index of the element to return.
* @return The rqddurs at the given index.
*/
int getRqddurs(int index);
/**
* <pre>
* Unique identifier indicating that an impression opportunity
* belongs to an audio ad pod. If multiple impression opportunities
* within a bid request share the same podid, this indicates that
* those impression opportunities belong to the same audio ad pod.
* Not supported by Google.
* </pre>
*
* <code>optional string podid = 27;</code>
* @return Whether the podid field is set.
*/
boolean hasPodid();
/**
* <pre>
* Unique identifier indicating that an impression opportunity
* belongs to an audio ad pod. If multiple impression opportunities
* within a bid request share the same podid, this indicates that
* those impression opportunities belong to the same audio ad pod.
* Not supported by Google.
* </pre>
*
* <code>optional string podid = 27;</code>
* @return The podid.
*/
java.lang.String getPodid();
/**
* <pre>
* Unique identifier indicating that an impression opportunity
* belongs to an audio ad pod. If multiple impression opportunities
* within a bid request share the same podid, this indicates that
* those impression opportunities belong to the same audio ad pod.
* Not supported by Google.
* </pre>
*
* <code>optional string podid = 27;</code>
* @return The bytes for podid.
*/
com.google.protobuf.ByteString
getPodidBytes();
/**
* <pre>
* The sequence (position) of the audio ad pod within a content stream.
* Not supported by Google.
* </pre>
*
* <code>optional .com.google.openrtb.PodSequence podseq = 28 [default = POD_SEQUENCE_ANY];</code>
* @return Whether the podseq field is set.
*/
boolean hasPodseq();
/**
* <pre>
* The sequence (position) of the audio ad pod within a content stream.
* Not supported by Google.
* </pre>
*
* <code>optional .com.google.openrtb.PodSequence podseq = 28 [default = POD_SEQUENCE_ANY];</code>
* @return The podseq.
*/
com.particles.mes.protos.openrtb.PodSequence getPodseq();
/**
* <pre>
* DEPRECATED in OpenRTB 2.6+; prefer the field podseq.
* If multiple ad impressions are offered in the same bid request,
* the sequence number will allow for the coordinated delivery of
* multiple creatives.
* Not supported by Google.
* </pre>
*
* <code>optional int32 sequence = 6 [default = 1, deprecated = true];</code>
* @deprecated com.google.openrtb.BidRequest.Imp.Audio.sequence is deprecated.
* See openrtb/openrtb-v26.proto;l=488
* @return Whether the sequence field is set.
*/
@java.lang.Deprecated boolean hasSequence();
/**
* <pre>
* DEPRECATED in OpenRTB 2.6+; prefer the field podseq.
* If multiple ad impressions are offered in the same bid request,
* the sequence number will allow for the coordinated delivery of
* multiple creatives.
* Not supported by Google.
* </pre>
*
* <code>optional int32 sequence = 6 [default = 1, deprecated = true];</code>
* @deprecated com.google.openrtb.BidRequest.Imp.Audio.sequence is deprecated.
* See openrtb/openrtb-v26.proto;l=488
* @return The sequence.
*/
@java.lang.Deprecated int getSequence();
/**
* <pre>
* For audio ad pods, this value indicates that the seller can
* guarantee delivery against the indicated sequence.
* Not supported by Google.
* </pre>
*
* <code>optional .com.google.openrtb.SlotPositionInPod slotinpod = 29 [default = SLOT_POSITION_POD_ANY];</code>
* @return Whether the slotinpod field is set.
*/
boolean hasSlotinpod();
/**
* <pre>
* For audio ad pods, this value indicates that the seller can
* guarantee delivery against the indicated sequence.
* Not supported by Google.
* </pre>
*
* <code>optional .com.google.openrtb.SlotPositionInPod slotinpod = 29 [default = SLOT_POSITION_POD_ANY];</code>
* @return The slotinpod.
*/
com.particles.mes.protos.openrtb.SlotPositionInPod getSlotinpod();
/**
* <pre>
* Minimum CPM per second. This is a price floor for the
* "dynamic" portion of an audio ad pod, relative to the duration
* of bids an advertiser may submit.
* Not supported by Google.
* </pre>
*
* <code>optional double mincpmpersec = 30;</code>
* @return Whether the mincpmpersec field is set.
*/
boolean hasMincpmpersec();
/**
* <pre>
* Minimum CPM per second. This is a price floor for the
* "dynamic" portion of an audio ad pod, relative to the duration
* of bids an advertiser may submit.
* Not supported by Google.
* </pre>
*
* <code>optional double mincpmpersec = 30;</code>
* @return The mincpmpersec.
*/
double getMincpmpersec();
/**
* <pre>
* Blocked creative attributes.
* Supported by Google.
* </pre>
*
* <code>repeated .com.google.openrtb.CreativeAttribute battr = 7 [packed = true];</code>
* @return A list containing the battr.
*/
java.util.List<com.particles.mes.protos.openrtb.CreativeAttribute> getBattrList();
/**
* <pre>
* Blocked creative attributes.
* Supported by Google.
* </pre>
*
* <code>repeated .com.google.openrtb.CreativeAttribute battr = 7 [packed = true];</code>
* @return The count of battr.
*/
int getBattrCount();
/**
* <pre>
* Blocked creative attributes.
* Supported by Google.
* </pre>
*
* <code>repeated .com.google.openrtb.CreativeAttribute battr = 7 [packed = true];</code>
* @param index The index of the element to return.
* @return The battr at the given index.
*/
com.particles.mes.protos.openrtb.CreativeAttribute getBattr(int index);
/**
* <pre>
* Maximum extended video ad duration, if extension is allowed.
* If blank or 0, extension is not allowed. If -1, extension is allowed,
* and there is no time limit imposed. If greater than 0, then the value
* represents the number of seconds of extended play supported beyond
* the maxduration value.
* Not supported by Google.
* </pre>
*
* <code>optional int32 maxextended = 8;</code>
* @return Whether the maxextended field is set.
*/
boolean hasMaxextended();
/**
* <pre>
* Maximum extended video ad duration, if extension is allowed.
* If blank or 0, extension is not allowed. If -1, extension is allowed,
* and there is no time limit imposed. If greater than 0, then the value
* represents the number of seconds of extended play supported beyond
* the maxduration value.
* Not supported by Google.
* </pre>
*
* <code>optional int32 maxextended = 8;</code>
* @return The maxextended.
*/
int getMaxextended();
/**
* <pre>
* Minimum bit rate in Kbps.
* Not supported by Google.
* </pre>
*
* <code>optional int32 minbitrate = 9;</code>
* @return Whether the minbitrate field is set.
*/
boolean hasMinbitrate();
/**
* <pre>
* Minimum bit rate in Kbps.
* Not supported by Google.
* </pre>
*
* <code>optional int32 minbitrate = 9;</code>
* @return The minbitrate.
*/
int getMinbitrate();
/**
* <pre>
* Maximum bit rate in Kbps.
* Not supported by Google.
* </pre>
*
* <code>optional int32 maxbitrate = 10;</code>
* @return Whether the maxbitrate field is set.
*/
boolean hasMaxbitrate();
/**
* <pre>
* Maximum bit rate in Kbps.
* Not supported by Google.
* </pre>
*
* <code>optional int32 maxbitrate = 10;</code>
* @return The maxbitrate.
*/
int getMaxbitrate();
/**
* <pre>
* Supported delivery methods (for example, streaming, progressive).
* Supported by Google.
* </pre>
*
* <code>repeated .com.google.openrtb.ContentDeliveryMethod delivery = 11 [packed = true];</code>
* @return A list containing the delivery.
*/
java.util.List<com.particles.mes.protos.openrtb.ContentDeliveryMethod> getDeliveryList();
/**
* <pre>
* Supported delivery methods (for example, streaming, progressive).
* Supported by Google.
* </pre>
*
* <code>repeated .com.google.openrtb.ContentDeliveryMethod delivery = 11 [packed = true];</code>
* @return The count of delivery.
*/
int getDeliveryCount();
/**
* <pre>
* Supported delivery methods (for example, streaming, progressive).
* Supported by Google.
* </pre>
*
* <code>repeated .com.google.openrtb.ContentDeliveryMethod delivery = 11 [packed = true];</code>
* @param index The index of the element to return.
* @return The delivery at the given index.
*/
com.particles.mes.protos.openrtb.ContentDeliveryMethod getDelivery(int index);
/**
* <pre>
* Array of Banner objects if companion ads are available.
* Supported by Google.
* </pre>
*
* <code>repeated .com.google.openrtb.BidRequest.Imp.Banner companionad = 12;</code>
*/
java.util.List<com.particles.mes.protos.openrtb.BidRequest.Imp.Banner>
getCompanionadList();
/**
* <pre>
* Array of Banner objects if companion ads are available.
* Supported by Google.
* </pre>
*
* <code>repeated .com.google.openrtb.BidRequest.Imp.Banner companionad = 12;</code>
*/
com.particles.mes.protos.openrtb.BidRequest.Imp.Banner getCompanionad(int index);
/**
* <pre>
* Array of Banner objects if companion ads are available.
* Supported by Google.
* </pre>
*
* <code>repeated .com.google.openrtb.BidRequest.Imp.Banner companionad = 12;</code>
*/
int getCompanionadCount();
/**
* <pre>
* List of supported API frameworks for this impression.
* If an API is not explicitly listed, it is assumed not to be supported.
* Supported by Google.
* </pre>
*
* <code>repeated .com.google.openrtb.APIFramework api = 13 [packed = true];</code>
* @return A list containing the api.
*/
java.util.List<com.particles.mes.protos.openrtb.APIFramework> getApiList();
/**
* <pre>
* List of supported API frameworks for this impression.
* If an API is not explicitly listed, it is assumed not to be supported.
* Supported by Google.
* </pre>
*
* <code>repeated .com.google.openrtb.APIFramework api = 13 [packed = true];</code>
* @return The count of api.
*/
int getApiCount();
/**
* <pre>
* List of supported API frameworks for this impression.
* If an API is not explicitly listed, it is assumed not to be supported.
* Supported by Google.
* </pre>
*
* <code>repeated .com.google.openrtb.APIFramework api = 13 [packed = true];</code>
* @param index The index of the element to return.
* @return The api at the given index.
*/
com.particles.mes.protos.openrtb.APIFramework getApi(int index);
/**
* <pre>
* Supported DAAST companion ad types. Recommended if companion Banner
* objects are included through the companionad array.
* Supported by Google.
* </pre>
*
* <code>repeated .com.google.openrtb.CompanionType companiontype = 20 [packed = true];</code>
* @return A list containing the companiontype.
*/
java.util.List<com.particles.mes.protos.openrtb.CompanionType> getCompaniontypeList();
/**
* <pre>
* Supported DAAST companion ad types. Recommended if companion Banner
* objects are included through the companionad array.
* Supported by Google.
* </pre>
*
* <code>repeated .com.google.openrtb.CompanionType companiontype = 20 [packed = true];</code>
* @return The count of companiontype.
*/
int getCompaniontypeCount();
/**
* <pre>
* Supported DAAST companion ad types. Recommended if companion Banner
* objects are included through the companionad array.
* Supported by Google.
* </pre>
*
* <code>repeated .com.google.openrtb.CompanionType companiontype = 20 [packed = true];</code>
* @param index The index of the element to return.
* @return The companiontype at the given index.
*/
com.particles.mes.protos.openrtb.CompanionType getCompaniontype(int index);
/**
* <pre>
* The maximum number of ads that can be played in an ad pod.
* Not supported by Google.
* </pre>
*
* <code>optional int32 maxseq = 21;</code>
* @return Whether the maxseq field is set.
*/
boolean hasMaxseq();
/**
* <pre>
* The maximum number of ads that can be played in an ad pod.
* Not supported by Google.
* </pre>
*
* <code>optional int32 maxseq = 21;</code>
* @return The maxseq.
*/
int getMaxseq();
/**
* <pre>
* Type of audio feed.
* Supported by Google.
* </pre>
*
* <code>optional .com.google.openrtb.FeedType feed = 22;</code>
* @return Whether the feed field is set.
*/
boolean hasFeed();
/**
* <pre>
* Type of audio feed.
* Supported by Google.
* </pre>
*
* <code>optional .com.google.openrtb.FeedType feed = 22;</code>
* @return The feed.
*/
com.particles.mes.protos.openrtb.FeedType getFeed();
/**
* <pre>
* Indicates if the ad is stitched with audio content or delivered
* independently.
* Not supported by Google.
* </pre>
*
* <code>optional bool stitched = 23;</code>
* @return Whether the stitched field is set.
*/
boolean hasStitched();
/**
* <pre>
* Indicates if the ad is stitched with audio content or delivered
* independently.
* Not supported by Google.
* </pre>
*
* <code>optional bool stitched = 23;</code>
* @return The stitched.
*/
boolean getStitched();
/**
* <pre>
* Volume normalization mode.
* Not supported by Google.
* </pre>
*
* <code>optional .com.google.openrtb.VolumeNormalizationMode nvol = 24;</code>
* @return Whether the nvol field is set.
*/
boolean hasNvol();
/**
* <pre>
* Volume normalization mode.
* Not supported by Google.
* </pre>
*
* <code>optional .com.google.openrtb.VolumeNormalizationMode nvol = 24;</code>
* @return The nvol.
*/
com.particles.mes.protos.openrtb.VolumeNormalizationMode getNvol();
}
/**
* <pre>
* This object represents an audio type impression. Many of the fields
* are non-essential for minimally viable transactions, but are included
* to offer fine control when needed. Audio in OpenRTB generally assumes
* compliance with the DAAST standard. As such, the notion of companion
* ads is supported by optionally including an array of Banner objects
* that define these companion ads.
* The presence of a Audio as a subordinate of the Imp object indicates
* that this impression is offered as an audio type impression.
* At the publisher's discretion, that same impression may also be offered
* as banner, video, and/or native by also including as Imp subordinates
* objects of those types. However, any given bid for the impression must
* conform to one of the offered types.
* </pre>
*
* Protobuf type {@code com.google.openrtb.BidRequest.Imp.Audio}
*/
public static final class Audio extends
com.google.protobuf.GeneratedMessageLite.ExtendableMessage<
Audio, Audio.Builder> implements
// @@protoc_insertion_point(message_implements:com.google.openrtb.BidRequest.Imp.Audio)
AudioOrBuilder {
private Audio() {
mimes_ = com.google.protobuf.GeneratedMessageLite.emptyProtobufList();
protocols_ = emptyIntList();
rqddurs_ = emptyIntList();
podid_ = "";
sequence_ = 1;
battr_ = emptyIntList();
delivery_ = emptyIntList();
companionad_ = emptyProtobufList();
api_ = emptyIntList();
companiontype_ = emptyIntList();
feed_ = 1;
}
private int bitField0_;
public static final int MIMES_FIELD_NUMBER = 1;
private com.google.protobuf.Internal.ProtobufList<java.lang.String> mimes_;
/**
* <pre>
* Content MIME types supported (for example, "audio/mp4").
* REQUIRED by the OpenRTB specification: at least 1 element.
* Supported by Google.
* </pre>
*
* <code>repeated string mimes = 1;</code>
* @return A list containing the mimes.
*/
@java.lang.Override
public java.util.List<java.lang.String> getMimesList() {
return mimes_;
}
/**
* <pre>
* Content MIME types supported (for example, "audio/mp4").
* REQUIRED by the OpenRTB specification: at least 1 element.
* Supported by Google.
* </pre>
*
* <code>repeated string mimes = 1;</code>
* @return The count of mimes.
*/
@java.lang.Override
public int getMimesCount() {
return mimes_.size();
}
/**
* <pre>
* Content MIME types supported (for example, "audio/mp4").
* REQUIRED by the OpenRTB specification: at least 1 element.
* Supported by Google.
* </pre>
*
* <code>repeated string mimes = 1;</code>
* @param index The index of the element to return.
* @return The mimes at the given index.
*/
@java.lang.Override
public java.lang.String getMimes(int index) {
return mimes_.get(index);
}
/**
* <pre>
* Content MIME types supported (for example, "audio/mp4").
* REQUIRED by the OpenRTB specification: at least 1 element.
* Supported by Google.
* </pre>
*
* <code>repeated string mimes = 1;</code>
* @param index The index of the value to return.
* @return The bytes of the mimes at the given index.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getMimesBytes(int index) {
return com.google.protobuf.ByteString.copyFromUtf8(
mimes_.get(index));
}
private void ensureMimesIsMutable() {
com.google.protobuf.Internal.ProtobufList<java.lang.String> tmp =
mimes_; if (!tmp.isModifiable()) {
mimes_ =
com.google.protobuf.GeneratedMessageLite.mutableCopy(tmp);
}
}
/**
* <pre>
* Content MIME types supported (for example, "audio/mp4").
* REQUIRED by the OpenRTB specification: at least 1 element.
* Supported by Google.
* </pre>
*
* <code>repeated string mimes = 1;</code>
* @param index The index to set the value at.
* @param value The mimes to set.
*/
private void setMimes(
int index, java.lang.String value) {
java.lang.Class<?> valueClass = value.getClass();
ensureMimesIsMutable();
mimes_.set(index, value);
}
/**
* <pre>
* Content MIME types supported (for example, "audio/mp4").
* REQUIRED by the OpenRTB specification: at least 1 element.
* Supported by Google.
* </pre>
*
* <code>repeated string mimes = 1;</code>
* @param value The mimes to add.
*/
private void addMimes(
java.lang.String value) {
java.lang.Class<?> valueClass = value.getClass();
ensureMimesIsMutable();
mimes_.add(value);
}
/**
* <pre>
* Content MIME types supported (for example, "audio/mp4").
* REQUIRED by the OpenRTB specification: at least 1 element.
* Supported by Google.
* </pre>
*
* <code>repeated string mimes = 1;</code>
* @param values The mimes to add.
*/
private void addAllMimes(
java.lang.Iterable<java.lang.String> values) {
ensureMimesIsMutable();
com.google.protobuf.AbstractMessageLite.addAll(
values, mimes_);
}
/**
* <pre>
* Content MIME types supported (for example, "audio/mp4").
* REQUIRED by the OpenRTB specification: at least 1 element.
* Supported by Google.
* </pre>
*
* <code>repeated string mimes = 1;</code>
*/
private void clearMimes() {
mimes_ = com.google.protobuf.GeneratedMessageLite.emptyProtobufList();
}
/**
* <pre>
* Content MIME types supported (for example, "audio/mp4").
* REQUIRED by the OpenRTB specification: at least 1 element.
* Supported by Google.
* </pre>
*
* <code>repeated string mimes = 1;</code>
* @param value The bytes of the mimes to add.
*/
private void addMimesBytes(
com.google.protobuf.ByteString value) {
ensureMimesIsMutable();
mimes_.add(value.toStringUtf8());
}
public static final int MINDURATION_FIELD_NUMBER = 2;
private int minduration_;
/**
* <pre>
* Minimum audio ad duration in seconds.
* This field is mutually exclusive with rqddurs; only one of minduration
* and rqddurs may be in a bid request.
* Supported by Google.
* </pre>
*
* <code>optional int32 minduration = 2 [default = 0];</code>
* @return Whether the minduration field is set.
*/
@java.lang.Override
public boolean hasMinduration() {
return ((bitField0_ & 0x00000001) != 0);
}
/**
* <pre>
* Minimum audio ad duration in seconds.
* This field is mutually exclusive with rqddurs; only one of minduration
* and rqddurs may be in a bid request.
* Supported by Google.
* </pre>
*
* <code>optional int32 minduration = 2 [default = 0];</code>
* @return The minduration.
*/
@java.lang.Override
public int getMinduration() {
return minduration_;
}
/**
* <pre>
* Minimum audio ad duration in seconds.
* This field is mutually exclusive with rqddurs; only one of minduration
* and rqddurs may be in a bid request.
* Supported by Google.
* </pre>
*
* <code>optional int32 minduration = 2 [default = 0];</code>
* @param value The minduration to set.
*/
private void setMinduration(int value) {
bitField0_ |= 0x00000001;
minduration_ = value;
}
/**
* <pre>
* Minimum audio ad duration in seconds.
* This field is mutually exclusive with rqddurs; only one of minduration
* and rqddurs may be in a bid request.
* Supported by Google.
* </pre>
*
* <code>optional int32 minduration = 2 [default = 0];</code>
*/
private void clearMinduration() {
bitField0_ = (bitField0_ & ~0x00000001);
minduration_ = 0;
}
public static final int MAXDURATION_FIELD_NUMBER = 3;
private int maxduration_;
/**
* <pre>
* Maximum audio ad duration in seconds.
* This field is mutually exclusive with rqddurs; only one of maxduration
* and rqddurs may be in a bid request.
* Supported by Google.
* </pre>
*
* <code>optional int32 maxduration = 3;</code>
* @return Whether the maxduration field is set.
*/
@java.lang.Override
public boolean hasMaxduration() {
return ((bitField0_ & 0x00000002) != 0);
}
/**
* <pre>
* Maximum audio ad duration in seconds.
* This field is mutually exclusive with rqddurs; only one of maxduration
* and rqddurs may be in a bid request.
* Supported by Google.
* </pre>
*
* <code>optional int32 maxduration = 3;</code>
* @return The maxduration.
*/
@java.lang.Override
public int getMaxduration() {
return maxduration_;
}
/**
* <pre>
* Maximum audio ad duration in seconds.
* This field is mutually exclusive with rqddurs; only one of maxduration
* and rqddurs may be in a bid request.
* Supported by Google.
* </pre>
*
* <code>optional int32 maxduration = 3;</code>
* @param value The maxduration to set.
*/
private void setMaxduration(int value) {
bitField0_ |= 0x00000002;
maxduration_ = value;
}
/**
* <pre>
* Maximum audio ad duration in seconds.
* This field is mutually exclusive with rqddurs; only one of maxduration
* and rqddurs may be in a bid request.
* Supported by Google.
* </pre>
*
* <code>optional int32 maxduration = 3;</code>
*/
private void clearMaxduration() {
bitField0_ = (bitField0_ & ~0x00000002);
maxduration_ = 0;
}
public static final int PODDUR_FIELD_NUMBER = 25;
private int poddur_;
/**
* <pre>
* Indicates the total amount of time in seconds that advertisers may
* fill for a "dynamic" audio ad pod, or the dynamic portion of a
* "hybrid" ad pod. This field is required only for the dynamic
* portion(s) of audio ad pods. This field refers to the length of the
* entire ad break, whereas minduration/maxduration/rqddurs are
* constraints relating to the slots that make up the pod.
* Not supported by Google.
* </pre>
*
* <code>optional int32 poddur = 25;</code>
* @return Whether the poddur field is set.
*/
@java.lang.Override
public boolean hasPoddur() {
return ((bitField0_ & 0x00000004) != 0);
}
/**
* <pre>
* Indicates the total amount of time in seconds that advertisers may
* fill for a "dynamic" audio ad pod, or the dynamic portion of a
* "hybrid" ad pod. This field is required only for the dynamic
* portion(s) of audio ad pods. This field refers to the length of the
* entire ad break, whereas minduration/maxduration/rqddurs are
* constraints relating to the slots that make up the pod.
* Not supported by Google.
* </pre>
*
* <code>optional int32 poddur = 25;</code>
* @return The poddur.
*/
@java.lang.Override
public int getPoddur() {
return poddur_;
}
/**
* <pre>
* Indicates the total amount of time in seconds that advertisers may
* fill for a "dynamic" audio ad pod, or the dynamic portion of a
* "hybrid" ad pod. This field is required only for the dynamic
* portion(s) of audio ad pods. This field refers to the length of the
* entire ad break, whereas minduration/maxduration/rqddurs are
* constraints relating to the slots that make up the pod.
* Not supported by Google.
* </pre>
*
* <code>optional int32 poddur = 25;</code>
* @param value The poddur to set.
*/
private void setPoddur(int value) {
bitField0_ |= 0x00000004;
poddur_ = value;
}
/**
* <pre>
* Indicates the total amount of time in seconds that advertisers may
* fill for a "dynamic" audio ad pod, or the dynamic portion of a
* "hybrid" ad pod. This field is required only for the dynamic
* portion(s) of audio ad pods. This field refers to the length of the
* entire ad break, whereas minduration/maxduration/rqddurs are
* constraints relating to the slots that make up the pod.
* Not supported by Google.
* </pre>
*
* <code>optional int32 poddur = 25;</code>
*/
private void clearPoddur() {
bitField0_ = (bitField0_ & ~0x00000004);
poddur_ = 0;
}
public static final int PROTOCOLS_FIELD_NUMBER = 4;
private com.google.protobuf.Internal.IntList protocols_;
private static final com.google.protobuf.Internal.ListAdapter.Converter<
java.lang.Integer, com.particles.mes.protos.openrtb.Protocol> protocols_converter_ =
new com.google.protobuf.Internal.ListAdapter.Converter<
java.lang.Integer, com.particles.mes.protos.openrtb.Protocol>() {
@java.lang.Override
public com.particles.mes.protos.openrtb.Protocol convert(java.lang.Integer from) {
com.particles.mes.protos.openrtb.Protocol result = com.particles.mes.protos.openrtb.Protocol.forNumber(from);
return result == null ? com.particles.mes.protos.openrtb.Protocol.VAST_1_0 : result;
}
};
/**
* <pre>
* Array of supported audio protocols.
* Supported by Google.
* </pre>
*
* <code>repeated .com.google.openrtb.Protocol protocols = 4 [packed = true];</code>
* @return A list containing the protocols.
*/
@java.lang.Override
public java.util.List<com.particles.mes.protos.openrtb.Protocol> getProtocolsList() {
return new com.google.protobuf.Internal.ListAdapter<
java.lang.Integer, com.particles.mes.protos.openrtb.Protocol>(protocols_, protocols_converter_);
}
/**
* <pre>
* Array of supported audio protocols.
* Supported by Google.
* </pre>
*
* <code>repeated .com.google.openrtb.Protocol protocols = 4 [packed = true];</code>
* @return The count of protocols.
*/
@java.lang.Override
public int getProtocolsCount() {
return protocols_.size();
}
/**
* <pre>
* Array of supported audio protocols.
* Supported by Google.
* </pre>
*
* <code>repeated .com.google.openrtb.Protocol protocols = 4 [packed = true];</code>
* @param index The index of the element to return.
* @return The protocols at the given index.
*/
@java.lang.Override
public com.particles.mes.protos.openrtb.Protocol getProtocols(int index) {
com.particles.mes.protos.openrtb.Protocol result = com.particles.mes.protos.openrtb.Protocol.forNumber(protocols_.getInt(index));
return result == null ? com.particles.mes.protos.openrtb.Protocol.VAST_1_0 : result;
}
private int protocolsMemoizedSerializedSize;
private void ensureProtocolsIsMutable() {
com.google.protobuf.Internal.IntList tmp = protocols_;
if (!tmp.isModifiable()) {
protocols_ =
com.google.protobuf.GeneratedMessageLite.mutableCopy(tmp);
}
}
/**
* <pre>
* Array of supported audio protocols.
* Supported by Google.
* </pre>
*
* <code>repeated .com.google.openrtb.Protocol protocols = 4 [packed = true];</code>
* @param index The index to set the value at.
* @param value The protocols to set.
*/
private void setProtocols(
int index, com.particles.mes.protos.openrtb.Protocol value) {
value.getClass();
ensureProtocolsIsMutable();
protocols_.setInt(index, value.getNumber());
}
/**
* <pre>
* Array of supported audio protocols.
* Supported by Google.
* </pre>
*
* <code>repeated .com.google.openrtb.Protocol protocols = 4 [packed = true];</code>
* @param value The protocols to add.
*/
private void addProtocols(com.particles.mes.protos.openrtb.Protocol value) {
value.getClass();
ensureProtocolsIsMutable();
protocols_.addInt(value.getNumber());
}
/**
* <pre>
* Array of supported audio protocols.
* Supported by Google.
* </pre>
*
* <code>repeated .com.google.openrtb.Protocol protocols = 4 [packed = true];</code>
* @param values The protocols to add.
*/
private void addAllProtocols(
java.lang.Iterable<? extends com.particles.mes.protos.openrtb.Protocol> values) {
ensureProtocolsIsMutable();
for (com.particles.mes.protos.openrtb.Protocol value : values) {
protocols_.addInt(value.getNumber());
}
}
/**
* <pre>
* Array of supported audio protocols.
* Supported by Google.
* </pre>
*
* <code>repeated .com.google.openrtb.Protocol protocols = 4 [packed = true];</code>
*/
private void clearProtocols() {
protocols_ = emptyIntList();
}
public static final int STARTDELAY_FIELD_NUMBER = 5;
private int startdelay_;
/**
* <pre>
* Indicates the start delay in seconds for pre-roll, mid-roll, or
* post-roll ad placements.
* Refer to enum StartDelay for generic values.
* Supported by Google.
* </pre>
*
* <code>optional int32 startdelay = 5;</code>
* @return Whether the startdelay field is set.
*/
@java.lang.Override
public boolean hasStartdelay() {
return ((bitField0_ & 0x00000008) != 0);
}
/**
* <pre>
* Indicates the start delay in seconds for pre-roll, mid-roll, or
* post-roll ad placements.
* Refer to enum StartDelay for generic values.
* Supported by Google.
* </pre>
*
* <code>optional int32 startdelay = 5;</code>
* @return The startdelay.
*/
@java.lang.Override
public int getStartdelay() {
return startdelay_;
}
/**
* <pre>
* Indicates the start delay in seconds for pre-roll, mid-roll, or
* post-roll ad placements.
* Refer to enum StartDelay for generic values.
* Supported by Google.
* </pre>
*
* <code>optional int32 startdelay = 5;</code>
* @param value The startdelay to set.
*/
private void setStartdelay(int value) {
bitField0_ |= 0x00000008;
startdelay_ = value;
}
/**
* <pre>
* Indicates the start delay in seconds for pre-roll, mid-roll, or
* post-roll ad placements.
* Refer to enum StartDelay for generic values.
* Supported by Google.
* </pre>
*
* <code>optional int32 startdelay = 5;</code>
*/
private void clearStartdelay() {
bitField0_ = (bitField0_ & ~0x00000008);
startdelay_ = 0;
}
public static final int RQDDURS_FIELD_NUMBER = 26;
private com.google.protobuf.Internal.IntList rqddurs_;
/**
* <pre>
* Precise acceptable durations for audio creatives in seconds.
* This field specifically targets the live audio/radio use case where
* non-exact ad durations would result in undesirable ‘dead air’.
* This field is mutually exclusive with minduration and
* maxduration; if rqddurs is specified, minduration and
* maxduration must not be specified and the other way around.
* Not supported by Google.
* </pre>
*
* <code>repeated int32 rqddurs = 26 [packed = true];</code>
* @return A list containing the rqddurs.
*/
@java.lang.Override
public java.util.List<java.lang.Integer>
getRqddursList() {
return rqddurs_;
}
/**
* <pre>
* Precise acceptable durations for audio creatives in seconds.
* This field specifically targets the live audio/radio use case where
* non-exact ad durations would result in undesirable ‘dead air’.
* This field is mutually exclusive with minduration and
* maxduration; if rqddurs is specified, minduration and
* maxduration must not be specified and the other way around.
* Not supported by Google.
* </pre>
*
* <code>repeated int32 rqddurs = 26 [packed = true];</code>
* @return The count of rqddurs.
*/
@java.lang.Override
public int getRqddursCount() {
return rqddurs_.size();
}
/**
* <pre>
* Precise acceptable durations for audio creatives in seconds.
* This field specifically targets the live audio/radio use case where
* non-exact ad durations would result in undesirable ‘dead air’.
* This field is mutually exclusive with minduration and
* maxduration; if rqddurs is specified, minduration and
* maxduration must not be specified and the other way around.
* Not supported by Google.
* </pre>
*
* <code>repeated int32 rqddurs = 26 [packed = true];</code>
* @param index The index of the element to return.
* @return The rqddurs at the given index.
*/
@java.lang.Override
public int getRqddurs(int index) {
return rqddurs_.getInt(index);
}
private int rqddursMemoizedSerializedSize = -1;
private void ensureRqddursIsMutable() {
com.google.protobuf.Internal.IntList tmp = rqddurs_;
if (!tmp.isModifiable()) {
rqddurs_ =
com.google.protobuf.GeneratedMessageLite.mutableCopy(tmp);
}
}
/**
* <pre>
* Precise acceptable durations for audio creatives in seconds.
* This field specifically targets the live audio/radio use case where
* non-exact ad durations would result in undesirable ‘dead air’.
* This field is mutually exclusive with minduration and
* maxduration; if rqddurs is specified, minduration and
* maxduration must not be specified and the other way around.
* Not supported by Google.
* </pre>
*
* <code>repeated int32 rqddurs = 26 [packed = true];</code>
* @param index The index to set the value at.
* @param value The rqddurs to set.
*/
private void setRqddurs(
int index, int value) {
ensureRqddursIsMutable();
rqddurs_.setInt(index, value);
}
/**
* <pre>
* Precise acceptable durations for audio creatives in seconds.
* This field specifically targets the live audio/radio use case where
* non-exact ad durations would result in undesirable ‘dead air’.
* This field is mutually exclusive with minduration and
* maxduration; if rqddurs is specified, minduration and
* maxduration must not be specified and the other way around.
* Not supported by Google.
* </pre>
*
* <code>repeated int32 rqddurs = 26 [packed = true];</code>
* @param value The rqddurs to add.
*/
private void addRqddurs(int value) {
ensureRqddursIsMutable();
rqddurs_.addInt(value);
}
/**
* <pre>
* Precise acceptable durations for audio creatives in seconds.
* This field specifically targets the live audio/radio use case where
* non-exact ad durations would result in undesirable ‘dead air’.
* This field is mutually exclusive with minduration and
* maxduration; if rqddurs is specified, minduration and
* maxduration must not be specified and the other way around.
* Not supported by Google.
* </pre>
*
* <code>repeated int32 rqddurs = 26 [packed = true];</code>
* @param values The rqddurs to add.
*/
private void addAllRqddurs(
java.lang.Iterable<? extends java.lang.Integer> values) {
ensureRqddursIsMutable();
com.google.protobuf.AbstractMessageLite.addAll(
values, rqddurs_);
}
/**
* <pre>
* Precise acceptable durations for audio creatives in seconds.
* This field specifically targets the live audio/radio use case where
* non-exact ad durations would result in undesirable ‘dead air’.
* This field is mutually exclusive with minduration and
* maxduration; if rqddurs is specified, minduration and
* maxduration must not be specified and the other way around.
* Not supported by Google.
* </pre>
*
* <code>repeated int32 rqddurs = 26 [packed = true];</code>
*/
private void clearRqddurs() {
rqddurs_ = emptyIntList();
}
public static final int PODID_FIELD_NUMBER = 27;
private java.lang.String podid_;
/**
* <pre>
* Unique identifier indicating that an impression opportunity
* belongs to an audio ad pod. If multiple impression opportunities
* within a bid request share the same podid, this indicates that
* those impression opportunities belong to the same audio ad pod.
* Not supported by Google.
* </pre>
*
* <code>optional string podid = 27;</code>
* @return Whether the podid field is set.
*/
@java.lang.Override
public boolean hasPodid() {
return ((bitField0_ & 0x00000010) != 0);
}
/**
* <pre>
* Unique identifier indicating that an impression opportunity
* belongs to an audio ad pod. If multiple impression opportunities
* within a bid request share the same podid, this indicates that
* those impression opportunities belong to the same audio ad pod.
* Not supported by Google.
* </pre>
*
* <code>optional string podid = 27;</code>
* @return The podid.
*/
@java.lang.Override
public java.lang.String getPodid() {
return podid_;
}
/**
* <pre>
* Unique identifier indicating that an impression opportunity
* belongs to an audio ad pod. If multiple impression opportunities
* within a bid request share the same podid, this indicates that
* those impression opportunities belong to the same audio ad pod.
* Not supported by Google.
* </pre>
*
* <code>optional string podid = 27;</code>
* @return The bytes for podid.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getPodidBytes() {
return com.google.protobuf.ByteString.copyFromUtf8(podid_);
}
/**
* <pre>
* Unique identifier indicating that an impression opportunity
* belongs to an audio ad pod. If multiple impression opportunities
* within a bid request share the same podid, this indicates that
* those impression opportunities belong to the same audio ad pod.
* Not supported by Google.
* </pre>
*
* <code>optional string podid = 27;</code>
* @param value The podid to set.
*/
private void setPodid(
java.lang.String value) {
java.lang.Class<?> valueClass = value.getClass();
bitField0_ |= 0x00000010;
podid_ = value;
}
/**
* <pre>
* Unique identifier indicating that an impression opportunity
* belongs to an audio ad pod. If multiple impression opportunities
* within a bid request share the same podid, this indicates that
* those impression opportunities belong to the same audio ad pod.
* Not supported by Google.
* </pre>
*
* <code>optional string podid = 27;</code>
*/
private void clearPodid() {
bitField0_ = (bitField0_ & ~0x00000010);
podid_ = getDefaultInstance().getPodid();
}
/**
* <pre>
* Unique identifier indicating that an impression opportunity
* belongs to an audio ad pod. If multiple impression opportunities
* within a bid request share the same podid, this indicates that
* those impression opportunities belong to the same audio ad pod.
* Not supported by Google.
* </pre>
*
* <code>optional string podid = 27;</code>
* @param value The bytes for podid to set.
*/
private void setPodidBytes(
com.google.protobuf.ByteString value) {
podid_ = value.toStringUtf8();
bitField0_ |= 0x00000010;
}
public static final int PODSEQ_FIELD_NUMBER = 28;
private int podseq_;
/**
* <pre>
* The sequence (position) of the audio ad pod within a content stream.
* Not supported by Google.
* </pre>
*
* <code>optional .com.google.openrtb.PodSequence podseq = 28 [default = POD_SEQUENCE_ANY];</code>
* @return Whether the podseq field is set.
*/
@java.lang.Override
public boolean hasPodseq() {
return ((bitField0_ & 0x00000020) != 0);
}
/**
* <pre>
* The sequence (position) of the audio ad pod within a content stream.
* Not supported by Google.
* </pre>
*
* <code>optional .com.google.openrtb.PodSequence podseq = 28 [default = POD_SEQUENCE_ANY];</code>
* @return The podseq.
*/
@java.lang.Override
public com.particles.mes.protos.openrtb.PodSequence getPodseq() {
com.particles.mes.protos.openrtb.PodSequence result = com.particles.mes.protos.openrtb.PodSequence.forNumber(podseq_);
return result == null ? com.particles.mes.protos.openrtb.PodSequence.POD_SEQUENCE_ANY : result;
}
/**
* <pre>
* The sequence (position) of the audio ad pod within a content stream.
* Not supported by Google.
* </pre>
*
* <code>optional .com.google.openrtb.PodSequence podseq = 28 [default = POD_SEQUENCE_ANY];</code>
* @param value The podseq to set.
*/
private void setPodseq(com.particles.mes.protos.openrtb.PodSequence value) {
podseq_ = value.getNumber();
bitField0_ |= 0x00000020;
}
/**
* <pre>
* The sequence (position) of the audio ad pod within a content stream.
* Not supported by Google.
* </pre>
*
* <code>optional .com.google.openrtb.PodSequence podseq = 28 [default = POD_SEQUENCE_ANY];</code>
*/
private void clearPodseq() {
bitField0_ = (bitField0_ & ~0x00000020);
podseq_ = 0;
}
public static final int SEQUENCE_FIELD_NUMBER = 6;
private int sequence_;
/**
* <pre>
* DEPRECATED in OpenRTB 2.6+; prefer the field podseq.
* If multiple ad impressions are offered in the same bid request,
* the sequence number will allow for the coordinated delivery of
* multiple creatives.
* Not supported by Google.
* </pre>
*
* <code>optional int32 sequence = 6 [default = 1, deprecated = true];</code>
* @deprecated com.google.openrtb.BidRequest.Imp.Audio.sequence is deprecated.
* See openrtb/openrtb-v26.proto;l=488
* @return Whether the sequence field is set.
*/
@java.lang.Override
@java.lang.Deprecated public boolean hasSequence() {
return ((bitField0_ & 0x00000040) != 0);
}
/**
* <pre>
* DEPRECATED in OpenRTB 2.6+; prefer the field podseq.
* If multiple ad impressions are offered in the same bid request,
* the sequence number will allow for the coordinated delivery of
* multiple creatives.
* Not supported by Google.
* </pre>
*
* <code>optional int32 sequence = 6 [default = 1, deprecated = true];</code>
* @deprecated com.google.openrtb.BidRequest.Imp.Audio.sequence is deprecated.
* See openrtb/openrtb-v26.proto;l=488
* @return The sequence.
*/
@java.lang.Override
@java.lang.Deprecated public int getSequence() {
return sequence_;
}
/**
* <pre>
* DEPRECATED in OpenRTB 2.6+; prefer the field podseq.
* If multiple ad impressions are offered in the same bid request,
* the sequence number will allow for the coordinated delivery of
* multiple creatives.
* Not supported by Google.
* </pre>
*
* <code>optional int32 sequence = 6 [default = 1, deprecated = true];</code>
* @deprecated com.google.openrtb.BidRequest.Imp.Audio.sequence is deprecated.
* See openrtb/openrtb-v26.proto;l=488
* @param value The sequence to set.
*/
private void setSequence(int value) {
bitField0_ |= 0x00000040;
sequence_ = value;
}
/**
* <pre>
* DEPRECATED in OpenRTB 2.6+; prefer the field podseq.
* If multiple ad impressions are offered in the same bid request,
* the sequence number will allow for the coordinated delivery of
* multiple creatives.
* Not supported by Google.
* </pre>
*
* <code>optional int32 sequence = 6 [default = 1, deprecated = true];</code>
* @deprecated com.google.openrtb.BidRequest.Imp.Audio.sequence is deprecated.
* See openrtb/openrtb-v26.proto;l=488
*/
private void clearSequence() {
bitField0_ = (bitField0_ & ~0x00000040);
sequence_ = 1;
}
public static final int SLOTINPOD_FIELD_NUMBER = 29;
private int slotinpod_;
/**
* <pre>
* For audio ad pods, this value indicates that the seller can
* guarantee delivery against the indicated sequence.
* Not supported by Google.
* </pre>
*
* <code>optional .com.google.openrtb.SlotPositionInPod slotinpod = 29 [default = SLOT_POSITION_POD_ANY];</code>
* @return Whether the slotinpod field is set.
*/
@java.lang.Override
public boolean hasSlotinpod() {
return ((bitField0_ & 0x00000080) != 0);
}
/**
* <pre>
* For audio ad pods, this value indicates that the seller can
* guarantee delivery against the indicated sequence.
* Not supported by Google.
* </pre>
*
* <code>optional .com.google.openrtb.SlotPositionInPod slotinpod = 29 [default = SLOT_POSITION_POD_ANY];</code>
* @return The slotinpod.
*/
@java.lang.Override
public com.particles.mes.protos.openrtb.SlotPositionInPod getSlotinpod() {
com.particles.mes.protos.openrtb.SlotPositionInPod result = com.particles.mes.protos.openrtb.SlotPositionInPod.forNumber(slotinpod_);
return result == null ? com.particles.mes.protos.openrtb.SlotPositionInPod.SLOT_POSITION_POD_ANY : result;
}
/**
* <pre>
* For audio ad pods, this value indicates that the seller can
* guarantee delivery against the indicated sequence.
* Not supported by Google.
* </pre>
*
* <code>optional .com.google.openrtb.SlotPositionInPod slotinpod = 29 [default = SLOT_POSITION_POD_ANY];</code>
* @param value The slotinpod to set.
*/
private void setSlotinpod(com.particles.mes.protos.openrtb.SlotPositionInPod value) {
slotinpod_ = value.getNumber();
bitField0_ |= 0x00000080;
}
/**
* <pre>
* For audio ad pods, this value indicates that the seller can
* guarantee delivery against the indicated sequence.
* Not supported by Google.
* </pre>
*
* <code>optional .com.google.openrtb.SlotPositionInPod slotinpod = 29 [default = SLOT_POSITION_POD_ANY];</code>
*/
private void clearSlotinpod() {
bitField0_ = (bitField0_ & ~0x00000080);
slotinpod_ = 0;
}
public static final int MINCPMPERSEC_FIELD_NUMBER = 30;
private double mincpmpersec_;
/**
* <pre>
* Minimum CPM per second. This is a price floor for the
* "dynamic" portion of an audio ad pod, relative to the duration
* of bids an advertiser may submit.
* Not supported by Google.
* </pre>
*
* <code>optional double mincpmpersec = 30;</code>
* @return Whether the mincpmpersec field is set.
*/
@java.lang.Override
public boolean hasMincpmpersec() {
return ((bitField0_ & 0x00000100) != 0);
}
/**
* <pre>
* Minimum CPM per second. This is a price floor for the
* "dynamic" portion of an audio ad pod, relative to the duration
* of bids an advertiser may submit.
* Not supported by Google.
* </pre>
*
* <code>optional double mincpmpersec = 30;</code>
* @return The mincpmpersec.
*/
@java.lang.Override
public double getMincpmpersec() {
return mincpmpersec_;
}
/**
* <pre>
* Minimum CPM per second. This is a price floor for the
* "dynamic" portion of an audio ad pod, relative to the duration
* of bids an advertiser may submit.
* Not supported by Google.
* </pre>
*
* <code>optional double mincpmpersec = 30;</code>
* @param value The mincpmpersec to set.
*/
private void setMincpmpersec(double value) {
bitField0_ |= 0x00000100;
mincpmpersec_ = value;
}
/**
* <pre>
* Minimum CPM per second. This is a price floor for the
* "dynamic" portion of an audio ad pod, relative to the duration
* of bids an advertiser may submit.
* Not supported by Google.
* </pre>
*
* <code>optional double mincpmpersec = 30;</code>
*/
private void clearMincpmpersec() {
bitField0_ = (bitField0_ & ~0x00000100);
mincpmpersec_ = 0D;
}
public static final int BATTR_FIELD_NUMBER = 7;
private com.google.protobuf.Internal.IntList battr_;
private static final com.google.protobuf.Internal.ListAdapter.Converter<
java.lang.Integer, com.particles.mes.protos.openrtb.CreativeAttribute> battr_converter_ =
new com.google.protobuf.Internal.ListAdapter.Converter<
java.lang.Integer, com.particles.mes.protos.openrtb.CreativeAttribute>() {
@java.lang.Override
public com.particles.mes.protos.openrtb.CreativeAttribute convert(java.lang.Integer from) {
com.particles.mes.protos.openrtb.CreativeAttribute result = com.particles.mes.protos.openrtb.CreativeAttribute.forNumber(from);
return result == null ? com.particles.mes.protos.openrtb.CreativeAttribute.AUDIO_AUTO_PLAY : result;
}
};
/**
* <pre>
* Blocked creative attributes.
* Supported by Google.
* </pre>
*
* <code>repeated .com.google.openrtb.CreativeAttribute battr = 7 [packed = true];</code>
* @return A list containing the battr.
*/
@java.lang.Override
public java.util.List<com.particles.mes.protos.openrtb.CreativeAttribute> getBattrList() {
return new com.google.protobuf.Internal.ListAdapter<
java.lang.Integer, com.particles.mes.protos.openrtb.CreativeAttribute>(battr_, battr_converter_);
}
/**
* <pre>
* Blocked creative attributes.
* Supported by Google.
* </pre>
*
* <code>repeated .com.google.openrtb.CreativeAttribute battr = 7 [packed = true];</code>
* @return The count of battr.
*/
@java.lang.Override
public int getBattrCount() {
return battr_.size();
}
/**
* <pre>
* Blocked creative attributes.
* Supported by Google.
* </pre>
*
* <code>repeated .com.google.openrtb.CreativeAttribute battr = 7 [packed = true];</code>
* @param index The index of the element to return.
* @return The battr at the given index.
*/
@java.lang.Override
public com.particles.mes.protos.openrtb.CreativeAttribute getBattr(int index) {
com.particles.mes.protos.openrtb.CreativeAttribute result = com.particles.mes.protos.openrtb.CreativeAttribute.forNumber(battr_.getInt(index));
return result == null ? com.particles.mes.protos.openrtb.CreativeAttribute.AUDIO_AUTO_PLAY : result;
}
private int battrMemoizedSerializedSize;
private void ensureBattrIsMutable() {
com.google.protobuf.Internal.IntList tmp = battr_;
if (!tmp.isModifiable()) {
battr_ =
com.google.protobuf.GeneratedMessageLite.mutableCopy(tmp);
}
}
/**
* <pre>
* Blocked creative attributes.
* Supported by Google.
* </pre>
*
* <code>repeated .com.google.openrtb.CreativeAttribute battr = 7 [packed = true];</code>
* @param index The index to set the value at.
* @param value The battr to set.
*/
private void setBattr(
int index, com.particles.mes.protos.openrtb.CreativeAttribute value) {
value.getClass();
ensureBattrIsMutable();
battr_.setInt(index, value.getNumber());
}
/**
* <pre>
* Blocked creative attributes.
* Supported by Google.
* </pre>
*
* <code>repeated .com.google.openrtb.CreativeAttribute battr = 7 [packed = true];</code>
* @param value The battr to add.
*/
private void addBattr(com.particles.mes.protos.openrtb.CreativeAttribute value) {
value.getClass();
ensureBattrIsMutable();
battr_.addInt(value.getNumber());
}
/**
* <pre>
* Blocked creative attributes.
* Supported by Google.
* </pre>
*
* <code>repeated .com.google.openrtb.CreativeAttribute battr = 7 [packed = true];</code>
* @param values The battr to add.
*/
private void addAllBattr(
java.lang.Iterable<? extends com.particles.mes.protos.openrtb.CreativeAttribute> values) {
ensureBattrIsMutable();
for (com.particles.mes.protos.openrtb.CreativeAttribute value : values) {
battr_.addInt(value.getNumber());
}
}
/**
* <pre>
* Blocked creative attributes.
* Supported by Google.
* </pre>
*
* <code>repeated .com.google.openrtb.CreativeAttribute battr = 7 [packed = true];</code>
*/
private void clearBattr() {
battr_ = emptyIntList();
}
public static final int MAXEXTENDED_FIELD_NUMBER = 8;
private int maxextended_;
/**
* <pre>
* Maximum extended video ad duration, if extension is allowed.
* If blank or 0, extension is not allowed. If -1, extension is allowed,
* and there is no time limit imposed. If greater than 0, then the value
* represents the number of seconds of extended play supported beyond
* the maxduration value.
* Not supported by Google.
* </pre>
*
* <code>optional int32 maxextended = 8;</code>
* @return Whether the maxextended field is set.
*/
@java.lang.Override
public boolean hasMaxextended() {
return ((bitField0_ & 0x00000200) != 0);
}
/**
* <pre>
* Maximum extended video ad duration, if extension is allowed.
* If blank or 0, extension is not allowed. If -1, extension is allowed,
* and there is no time limit imposed. If greater than 0, then the value
* represents the number of seconds of extended play supported beyond
* the maxduration value.
* Not supported by Google.
* </pre>
*
* <code>optional int32 maxextended = 8;</code>
* @return The maxextended.
*/
@java.lang.Override
public int getMaxextended() {
return maxextended_;
}
/**
* <pre>
* Maximum extended video ad duration, if extension is allowed.
* If blank or 0, extension is not allowed. If -1, extension is allowed,
* and there is no time limit imposed. If greater than 0, then the value
* represents the number of seconds of extended play supported beyond
* the maxduration value.
* Not supported by Google.
* </pre>
*
* <code>optional int32 maxextended = 8;</code>
* @param value The maxextended to set.
*/
private void setMaxextended(int value) {
bitField0_ |= 0x00000200;
maxextended_ = value;
}
/**
* <pre>
* Maximum extended video ad duration, if extension is allowed.
* If blank or 0, extension is not allowed. If -1, extension is allowed,
* and there is no time limit imposed. If greater than 0, then the value
* represents the number of seconds of extended play supported beyond
* the maxduration value.
* Not supported by Google.
* </pre>
*
* <code>optional int32 maxextended = 8;</code>
*/
private void clearMaxextended() {
bitField0_ = (bitField0_ & ~0x00000200);
maxextended_ = 0;
}
public static final int MINBITRATE_FIELD_NUMBER = 9;
private int minbitrate_;
/**
* <pre>
* Minimum bit rate in Kbps.
* Not supported by Google.
* </pre>
*
* <code>optional int32 minbitrate = 9;</code>
* @return Whether the minbitrate field is set.
*/
@java.lang.Override
public boolean hasMinbitrate() {
return ((bitField0_ & 0x00000400) != 0);
}
/**
* <pre>
* Minimum bit rate in Kbps.
* Not supported by Google.
* </pre>
*
* <code>optional int32 minbitrate = 9;</code>
* @return The minbitrate.
*/
@java.lang.Override
public int getMinbitrate() {
return minbitrate_;
}
/**
* <pre>
* Minimum bit rate in Kbps.
* Not supported by Google.
* </pre>
*
* <code>optional int32 minbitrate = 9;</code>
* @param value The minbitrate to set.
*/
private void setMinbitrate(int value) {
bitField0_ |= 0x00000400;
minbitrate_ = value;
}
/**
* <pre>
* Minimum bit rate in Kbps.
* Not supported by Google.
* </pre>
*
* <code>optional int32 minbitrate = 9;</code>
*/
private void clearMinbitrate() {
bitField0_ = (bitField0_ & ~0x00000400);
minbitrate_ = 0;
}
public static final int MAXBITRATE_FIELD_NUMBER = 10;
private int maxbitrate_;
/**
* <pre>
* Maximum bit rate in Kbps.
* Not supported by Google.
* </pre>
*
* <code>optional int32 maxbitrate = 10;</code>
* @return Whether the maxbitrate field is set.
*/
@java.lang.Override
public boolean hasMaxbitrate() {
return ((bitField0_ & 0x00000800) != 0);
}
/**
* <pre>
* Maximum bit rate in Kbps.
* Not supported by Google.
* </pre>
*
* <code>optional int32 maxbitrate = 10;</code>
* @return The maxbitrate.
*/
@java.lang.Override
public int getMaxbitrate() {
return maxbitrate_;
}
/**
* <pre>
* Maximum bit rate in Kbps.
* Not supported by Google.
* </pre>
*
* <code>optional int32 maxbitrate = 10;</code>
* @param value The maxbitrate to set.
*/
private void setMaxbitrate(int value) {
bitField0_ |= 0x00000800;
maxbitrate_ = value;
}
/**
* <pre>
* Maximum bit rate in Kbps.
* Not supported by Google.
* </pre>
*
* <code>optional int32 maxbitrate = 10;</code>
*/
private void clearMaxbitrate() {
bitField0_ = (bitField0_ & ~0x00000800);
maxbitrate_ = 0;
}
public static final int DELIVERY_FIELD_NUMBER = 11;
private com.google.protobuf.Internal.IntList delivery_;
private static final com.google.protobuf.Internal.ListAdapter.Converter<
java.lang.Integer, com.particles.mes.protos.openrtb.ContentDeliveryMethod> delivery_converter_ =
new com.google.protobuf.Internal.ListAdapter.Converter<
java.lang.Integer, com.particles.mes.protos.openrtb.ContentDeliveryMethod>() {
@java.lang.Override
public com.particles.mes.protos.openrtb.ContentDeliveryMethod convert(java.lang.Integer from) {
com.particles.mes.protos.openrtb.ContentDeliveryMethod result = com.particles.mes.protos.openrtb.ContentDeliveryMethod.forNumber(from);
return result == null ? com.particles.mes.protos.openrtb.ContentDeliveryMethod.STREAMING : result;
}
};
/**
* <pre>
* Supported delivery methods (for example, streaming, progressive).
* Supported by Google.
* </pre>
*
* <code>repeated .com.google.openrtb.ContentDeliveryMethod delivery = 11 [packed = true];</code>
* @return A list containing the delivery.
*/
@java.lang.Override
public java.util.List<com.particles.mes.protos.openrtb.ContentDeliveryMethod> getDeliveryList() {
return new com.google.protobuf.Internal.ListAdapter<
java.lang.Integer, com.particles.mes.protos.openrtb.ContentDeliveryMethod>(delivery_, delivery_converter_);
}
/**
* <pre>
* Supported delivery methods (for example, streaming, progressive).
* Supported by Google.
* </pre>
*
* <code>repeated .com.google.openrtb.ContentDeliveryMethod delivery = 11 [packed = true];</code>
* @return The count of delivery.
*/
@java.lang.Override
public int getDeliveryCount() {
return delivery_.size();
}
/**
* <pre>
* Supported delivery methods (for example, streaming, progressive).
* Supported by Google.
* </pre>
*
* <code>repeated .com.google.openrtb.ContentDeliveryMethod delivery = 11 [packed = true];</code>
* @param index The index of the element to return.
* @return The delivery at the given index.
*/
@java.lang.Override
public com.particles.mes.protos.openrtb.ContentDeliveryMethod getDelivery(int index) {
com.particles.mes.protos.openrtb.ContentDeliveryMethod result = com.particles.mes.protos.openrtb.ContentDeliveryMethod.forNumber(delivery_.getInt(index));
return result == null ? com.particles.mes.protos.openrtb.ContentDeliveryMethod.STREAMING : result;
}
private int deliveryMemoizedSerializedSize;
private void ensureDeliveryIsMutable() {
com.google.protobuf.Internal.IntList tmp = delivery_;
if (!tmp.isModifiable()) {
delivery_ =
com.google.protobuf.GeneratedMessageLite.mutableCopy(tmp);
}
}
/**
* <pre>
* Supported delivery methods (for example, streaming, progressive).
* Supported by Google.
* </pre>
*
* <code>repeated .com.google.openrtb.ContentDeliveryMethod delivery = 11 [packed = true];</code>
* @param index The index to set the value at.
* @param value The delivery to set.
*/
private void setDelivery(
int index, com.particles.mes.protos.openrtb.ContentDeliveryMethod value) {
value.getClass();
ensureDeliveryIsMutable();
delivery_.setInt(index, value.getNumber());
}
/**
* <pre>
* Supported delivery methods (for example, streaming, progressive).
* Supported by Google.
* </pre>
*
* <code>repeated .com.google.openrtb.ContentDeliveryMethod delivery = 11 [packed = true];</code>
* @param value The delivery to add.
*/
private void addDelivery(com.particles.mes.protos.openrtb.ContentDeliveryMethod value) {
value.getClass();
ensureDeliveryIsMutable();
delivery_.addInt(value.getNumber());
}
/**
* <pre>
* Supported delivery methods (for example, streaming, progressive).
* Supported by Google.
* </pre>
*
* <code>repeated .com.google.openrtb.ContentDeliveryMethod delivery = 11 [packed = true];</code>
* @param values The delivery to add.
*/
private void addAllDelivery(
java.lang.Iterable<? extends com.particles.mes.protos.openrtb.ContentDeliveryMethod> values) {
ensureDeliveryIsMutable();
for (com.particles.mes.protos.openrtb.ContentDeliveryMethod value : values) {
delivery_.addInt(value.getNumber());
}
}
/**
* <pre>
* Supported delivery methods (for example, streaming, progressive).
* Supported by Google.
* </pre>
*
* <code>repeated .com.google.openrtb.ContentDeliveryMethod delivery = 11 [packed = true];</code>
*/
private void clearDelivery() {
delivery_ = emptyIntList();
}
public static final int COMPANIONAD_FIELD_NUMBER = 12;
private com.google.protobuf.Internal.ProtobufList<com.particles.mes.protos.openrtb.BidRequest.Imp.Banner> companionad_;
/**
* <pre>
* Array of Banner objects if companion ads are available.
* Supported by Google.
* </pre>
*
* <code>repeated .com.google.openrtb.BidRequest.Imp.Banner companionad = 12;</code>
*/
@java.lang.Override
public java.util.List<com.particles.mes.protos.openrtb.BidRequest.Imp.Banner> getCompanionadList() {
return companionad_;
}
/**
* <pre>
* Array of Banner objects if companion ads are available.
* Supported by Google.
* </pre>
*
* <code>repeated .com.google.openrtb.BidRequest.Imp.Banner companionad = 12;</code>
*/
public java.util.List<? extends com.particles.mes.protos.openrtb.BidRequest.Imp.BannerOrBuilder>
getCompanionadOrBuilderList() {
return companionad_;
}
/**
* <pre>
* Array of Banner objects if companion ads are available.
* Supported by Google.
* </pre>
*
* <code>repeated .com.google.openrtb.BidRequest.Imp.Banner companionad = 12;</code>
*/
@java.lang.Override
public int getCompanionadCount() {
return companionad_.size();
}
/**
* <pre>
* Array of Banner objects if companion ads are available.
* Supported by Google.
* </pre>
*
* <code>repeated .com.google.openrtb.BidRequest.Imp.Banner companionad = 12;</code>
*/
@java.lang.Override
public com.particles.mes.protos.openrtb.BidRequest.Imp.Banner getCompanionad(int index) {
return companionad_.get(index);
}
/**
* <pre>
* Array of Banner objects if companion ads are available.
* Supported by Google.
* </pre>
*
* <code>repeated .com.google.openrtb.BidRequest.Imp.Banner companionad = 12;</code>
*/
public com.particles.mes.protos.openrtb.BidRequest.Imp.BannerOrBuilder getCompanionadOrBuilder(
int index) {
return companionad_.get(index);
}
private void ensureCompanionadIsMutable() {
com.google.protobuf.Internal.ProtobufList<com.particles.mes.protos.openrtb.BidRequest.Imp.Banner> tmp = companionad_;
if (!tmp.isModifiable()) {
companionad_ =
com.google.protobuf.GeneratedMessageLite.mutableCopy(tmp);
}
}
/**
* <pre>
* Array of Banner objects if companion ads are available.
* Supported by Google.
* </pre>
*
* <code>repeated .com.google.openrtb.BidRequest.Imp.Banner companionad = 12;</code>
*/
private void setCompanionad(
int index, com.particles.mes.protos.openrtb.BidRequest.Imp.Banner value) {
value.getClass();
ensureCompanionadIsMutable();
companionad_.set(index, value);
}
/**
* <pre>
* Array of Banner objects if companion ads are available.
* Supported by Google.
* </pre>
*
* <code>repeated .com.google.openrtb.BidRequest.Imp.Banner companionad = 12;</code>
*/
private void addCompanionad(com.particles.mes.protos.openrtb.BidRequest.Imp.Banner value) {
value.getClass();
ensureCompanionadIsMutable();
companionad_.add(value);
}
/**
* <pre>
* Array of Banner objects if companion ads are available.
* Supported by Google.
* </pre>
*
* <code>repeated .com.google.openrtb.BidRequest.Imp.Banner companionad = 12;</code>
*/
private void addCompanionad(
int index, com.particles.mes.protos.openrtb.BidRequest.Imp.Banner value) {
value.getClass();
ensureCompanionadIsMutable();
companionad_.add(index, value);
}
/**
* <pre>
* Array of Banner objects if companion ads are available.
* Supported by Google.
* </pre>
*
* <code>repeated .com.google.openrtb.BidRequest.Imp.Banner companionad = 12;</code>
*/
private void addAllCompanionad(
java.lang.Iterable<? extends com.particles.mes.protos.openrtb.BidRequest.Imp.Banner> values) {
ensureCompanionadIsMutable();
com.google.protobuf.AbstractMessageLite.addAll(
values, companionad_);
}
/**
* <pre>
* Array of Banner objects if companion ads are available.
* Supported by Google.
* </pre>
*
* <code>repeated .com.google.openrtb.BidRequest.Imp.Banner companionad = 12;</code>
*/
private void clearCompanionad() {
companionad_ = emptyProtobufList();
}
/**
* <pre>
* Array of Banner objects if companion ads are available.
* Supported by Google.
* </pre>
*
* <code>repeated .com.google.openrtb.BidRequest.Imp.Banner companionad = 12;</code>
*/
private void removeCompanionad(int index) {
ensureCompanionadIsMutable();
companionad_.remove(index);
}
public static final int API_FIELD_NUMBER = 13;
private com.google.protobuf.Internal.IntList api_;
private static final com.google.protobuf.Internal.ListAdapter.Converter<
java.lang.Integer, com.particles.mes.protos.openrtb.APIFramework> api_converter_ =
new com.google.protobuf.Internal.ListAdapter.Converter<
java.lang.Integer, com.particles.mes.protos.openrtb.APIFramework>() {
@java.lang.Override
public com.particles.mes.protos.openrtb.APIFramework convert(java.lang.Integer from) {
com.particles.mes.protos.openrtb.APIFramework result = com.particles.mes.protos.openrtb.APIFramework.forNumber(from);
return result == null ? com.particles.mes.protos.openrtb.APIFramework.VPAID_1 : result;
}
};
/**
* <pre>
* List of supported API frameworks for this impression.
* If an API is not explicitly listed, it is assumed not to be supported.
* Supported by Google.
* </pre>
*
* <code>repeated .com.google.openrtb.APIFramework api = 13 [packed = true];</code>
* @return A list containing the api.
*/
@java.lang.Override
public java.util.List<com.particles.mes.protos.openrtb.APIFramework> getApiList() {
return new com.google.protobuf.Internal.ListAdapter<
java.lang.Integer, com.particles.mes.protos.openrtb.APIFramework>(api_, api_converter_);
}
/**
* <pre>
* List of supported API frameworks for this impression.
* If an API is not explicitly listed, it is assumed not to be supported.
* Supported by Google.
* </pre>
*
* <code>repeated .com.google.openrtb.APIFramework api = 13 [packed = true];</code>
* @return The count of api.
*/
@java.lang.Override
public int getApiCount() {
return api_.size();
}
/**
* <pre>
* List of supported API frameworks for this impression.
* If an API is not explicitly listed, it is assumed not to be supported.
* Supported by Google.
* </pre>
*
* <code>repeated .com.google.openrtb.APIFramework api = 13 [packed = true];</code>
* @param index The index of the element to return.
* @return The api at the given index.
*/
@java.lang.Override
public com.particles.mes.protos.openrtb.APIFramework getApi(int index) {
com.particles.mes.protos.openrtb.APIFramework result = com.particles.mes.protos.openrtb.APIFramework.forNumber(api_.getInt(index));
return result == null ? com.particles.mes.protos.openrtb.APIFramework.VPAID_1 : result;
}
private int apiMemoizedSerializedSize;
private void ensureApiIsMutable() {
com.google.protobuf.Internal.IntList tmp = api_;
if (!tmp.isModifiable()) {
api_ =
com.google.protobuf.GeneratedMessageLite.mutableCopy(tmp);
}
}
/**
* <pre>
* List of supported API frameworks for this impression.
* If an API is not explicitly listed, it is assumed not to be supported.
* Supported by Google.
* </pre>
*
* <code>repeated .com.google.openrtb.APIFramework api = 13 [packed = true];</code>
* @param index The index to set the value at.
* @param value The api to set.
*/
private void setApi(
int index, com.particles.mes.protos.openrtb.APIFramework value) {
value.getClass();
ensureApiIsMutable();
api_.setInt(index, value.getNumber());
}
/**
* <pre>
* List of supported API frameworks for this impression.
* If an API is not explicitly listed, it is assumed not to be supported.
* Supported by Google.
* </pre>
*
* <code>repeated .com.google.openrtb.APIFramework api = 13 [packed = true];</code>
* @param value The api to add.
*/
private void addApi(com.particles.mes.protos.openrtb.APIFramework value) {
value.getClass();
ensureApiIsMutable();
api_.addInt(value.getNumber());
}
/**
* <pre>
* List of supported API frameworks for this impression.
* If an API is not explicitly listed, it is assumed not to be supported.
* Supported by Google.
* </pre>
*
* <code>repeated .com.google.openrtb.APIFramework api = 13 [packed = true];</code>
* @param values The api to add.
*/
private void addAllApi(
java.lang.Iterable<? extends com.particles.mes.protos.openrtb.APIFramework> values) {
ensureApiIsMutable();
for (com.particles.mes.protos.openrtb.APIFramework value : values) {
api_.addInt(value.getNumber());
}
}
/**
* <pre>
* List of supported API frameworks for this impression.
* If an API is not explicitly listed, it is assumed not to be supported.
* Supported by Google.
* </pre>
*
* <code>repeated .com.google.openrtb.APIFramework api = 13 [packed = true];</code>
*/
private void clearApi() {
api_ = emptyIntList();
}
public static final int COMPANIONTYPE_FIELD_NUMBER = 20;
private com.google.protobuf.Internal.IntList companiontype_;
private static final com.google.protobuf.Internal.ListAdapter.Converter<
java.lang.Integer, com.particles.mes.protos.openrtb.CompanionType> companiontype_converter_ =
new com.google.protobuf.Internal.ListAdapter.Converter<
java.lang.Integer, com.particles.mes.protos.openrtb.CompanionType>() {
@java.lang.Override
public com.particles.mes.protos.openrtb.CompanionType convert(java.lang.Integer from) {
com.particles.mes.protos.openrtb.CompanionType result = com.particles.mes.protos.openrtb.CompanionType.forNumber(from);
return result == null ? com.particles.mes.protos.openrtb.CompanionType.STATIC : result;
}
};
/**
* <pre>
* Supported DAAST companion ad types. Recommended if companion Banner
* objects are included through the companionad array.
* Supported by Google.
* </pre>
*
* <code>repeated .com.google.openrtb.CompanionType companiontype = 20 [packed = true];</code>
* @return A list containing the companiontype.
*/
@java.lang.Override
public java.util.List<com.particles.mes.protos.openrtb.CompanionType> getCompaniontypeList() {
return new com.google.protobuf.Internal.ListAdapter<
java.lang.Integer, com.particles.mes.protos.openrtb.CompanionType>(companiontype_, companiontype_converter_);
}
/**
* <pre>
* Supported DAAST companion ad types. Recommended if companion Banner
* objects are included through the companionad array.
* Supported by Google.
* </pre>
*
* <code>repeated .com.google.openrtb.CompanionType companiontype = 20 [packed = true];</code>
* @return The count of companiontype.
*/
@java.lang.Override
public int getCompaniontypeCount() {
return companiontype_.size();
}
/**
* <pre>
* Supported DAAST companion ad types. Recommended if companion Banner
* objects are included through the companionad array.
* Supported by Google.
* </pre>
*
* <code>repeated .com.google.openrtb.CompanionType companiontype = 20 [packed = true];</code>
* @param index The index of the element to return.
* @return The companiontype at the given index.
*/
@java.lang.Override
public com.particles.mes.protos.openrtb.CompanionType getCompaniontype(int index) {
com.particles.mes.protos.openrtb.CompanionType result = com.particles.mes.protos.openrtb.CompanionType.forNumber(companiontype_.getInt(index));
return result == null ? com.particles.mes.protos.openrtb.CompanionType.STATIC : result;
}
private int companiontypeMemoizedSerializedSize;
private void ensureCompaniontypeIsMutable() {
com.google.protobuf.Internal.IntList tmp = companiontype_;
if (!tmp.isModifiable()) {
companiontype_ =
com.google.protobuf.GeneratedMessageLite.mutableCopy(tmp);
}
}
/**
* <pre>
* Supported DAAST companion ad types. Recommended if companion Banner
* objects are included through the companionad array.
* Supported by Google.
* </pre>
*
* <code>repeated .com.google.openrtb.CompanionType companiontype = 20 [packed = true];</code>
* @param index The index to set the value at.
* @param value The companiontype to set.
*/
private void setCompaniontype(
int index, com.particles.mes.protos.openrtb.CompanionType value) {
value.getClass();
ensureCompaniontypeIsMutable();
companiontype_.setInt(index, value.getNumber());
}
/**
* <pre>
* Supported DAAST companion ad types. Recommended if companion Banner
* objects are included through the companionad array.
* Supported by Google.
* </pre>
*
* <code>repeated .com.google.openrtb.CompanionType companiontype = 20 [packed = true];</code>
* @param value The companiontype to add.
*/
private void addCompaniontype(com.particles.mes.protos.openrtb.CompanionType value) {
value.getClass();
ensureCompaniontypeIsMutable();
companiontype_.addInt(value.getNumber());
}
/**
* <pre>
* Supported DAAST companion ad types. Recommended if companion Banner
* objects are included through the companionad array.
* Supported by Google.
* </pre>
*
* <code>repeated .com.google.openrtb.CompanionType companiontype = 20 [packed = true];</code>
* @param values The companiontype to add.
*/
private void addAllCompaniontype(
java.lang.Iterable<? extends com.particles.mes.protos.openrtb.CompanionType> values) {
ensureCompaniontypeIsMutable();
for (com.particles.mes.protos.openrtb.CompanionType value : values) {
companiontype_.addInt(value.getNumber());
}
}
/**
* <pre>
* Supported DAAST companion ad types. Recommended if companion Banner
* objects are included through the companionad array.
* Supported by Google.
* </pre>
*
* <code>repeated .com.google.openrtb.CompanionType companiontype = 20 [packed = true];</code>
*/
private void clearCompaniontype() {
companiontype_ = emptyIntList();
}
public static final int MAXSEQ_FIELD_NUMBER = 21;
private int maxseq_;
/**
* <pre>
* The maximum number of ads that can be played in an ad pod.
* Not supported by Google.
* </pre>
*
* <code>optional int32 maxseq = 21;</code>
* @return Whether the maxseq field is set.
*/
@java.lang.Override
public boolean hasMaxseq() {
return ((bitField0_ & 0x00001000) != 0);
}
/**
* <pre>
* The maximum number of ads that can be played in an ad pod.
* Not supported by Google.
* </pre>
*
* <code>optional int32 maxseq = 21;</code>
* @return The maxseq.
*/
@java.lang.Override
public int getMaxseq() {
return maxseq_;
}
/**
* <pre>
* The maximum number of ads that can be played in an ad pod.
* Not supported by Google.
* </pre>
*
* <code>optional int32 maxseq = 21;</code>
* @param value The maxseq to set.
*/
private void setMaxseq(int value) {
bitField0_ |= 0x00001000;
maxseq_ = value;
}
/**
* <pre>
* The maximum number of ads that can be played in an ad pod.
* Not supported by Google.
* </pre>
*
* <code>optional int32 maxseq = 21;</code>
*/
private void clearMaxseq() {
bitField0_ = (bitField0_ & ~0x00001000);
maxseq_ = 0;
}
public static final int FEED_FIELD_NUMBER = 22;
private int feed_;
/**
* <pre>
* Type of audio feed.
* Supported by Google.
* </pre>
*
* <code>optional .com.google.openrtb.FeedType feed = 22;</code>
* @return Whether the feed field is set.
*/
@java.lang.Override
public boolean hasFeed() {
return ((bitField0_ & 0x00002000) != 0);
}
/**
* <pre>
* Type of audio feed.
* Supported by Google.
* </pre>
*
* <code>optional .com.google.openrtb.FeedType feed = 22;</code>
* @return The feed.
*/
@java.lang.Override
public com.particles.mes.protos.openrtb.FeedType getFeed() {
com.particles.mes.protos.openrtb.FeedType result = com.particles.mes.protos.openrtb.FeedType.forNumber(feed_);
return result == null ? com.particles.mes.protos.openrtb.FeedType.MUSIC_SERVICE : result;
}
/**
* <pre>
* Type of audio feed.
* Supported by Google.
* </pre>
*
* <code>optional .com.google.openrtb.FeedType feed = 22;</code>
* @param value The feed to set.
*/
private void setFeed(com.particles.mes.protos.openrtb.FeedType value) {
feed_ = value.getNumber();
bitField0_ |= 0x00002000;
}
/**
* <pre>
* Type of audio feed.
* Supported by Google.
* </pre>
*
* <code>optional .com.google.openrtb.FeedType feed = 22;</code>
*/
private void clearFeed() {
bitField0_ = (bitField0_ & ~0x00002000);
feed_ = 1;
}
public static final int STITCHED_FIELD_NUMBER = 23;
private boolean stitched_;
/**
* <pre>
* Indicates if the ad is stitched with audio content or delivered
* independently.
* Not supported by Google.
* </pre>
*
* <code>optional bool stitched = 23;</code>
* @return Whether the stitched field is set.
*/
@java.lang.Override
public boolean hasStitched() {
return ((bitField0_ & 0x00004000) != 0);
}
/**
* <pre>
* Indicates if the ad is stitched with audio content or delivered
* independently.
* Not supported by Google.
* </pre>
*
* <code>optional bool stitched = 23;</code>
* @return The stitched.
*/
@java.lang.Override
public boolean getStitched() {
return stitched_;
}
/**
* <pre>
* Indicates if the ad is stitched with audio content or delivered
* independently.
* Not supported by Google.
* </pre>
*
* <code>optional bool stitched = 23;</code>
* @param value The stitched to set.
*/
private void setStitched(boolean value) {
bitField0_ |= 0x00004000;
stitched_ = value;
}
/**
* <pre>
* Indicates if the ad is stitched with audio content or delivered
* independently.
* Not supported by Google.
* </pre>
*
* <code>optional bool stitched = 23;</code>
*/
private void clearStitched() {
bitField0_ = (bitField0_ & ~0x00004000);
stitched_ = false;
}
public static final int NVOL_FIELD_NUMBER = 24;
private int nvol_;
/**
* <pre>
* Volume normalization mode.
* Not supported by Google.
* </pre>
*
* <code>optional .com.google.openrtb.VolumeNormalizationMode nvol = 24;</code>
* @return Whether the nvol field is set.
*/
@java.lang.Override
public boolean hasNvol() {
return ((bitField0_ & 0x00008000) != 0);
}
/**
* <pre>
* Volume normalization mode.
* Not supported by Google.
* </pre>
*
* <code>optional .com.google.openrtb.VolumeNormalizationMode nvol = 24;</code>
* @return The nvol.
*/
@java.lang.Override
public com.particles.mes.protos.openrtb.VolumeNormalizationMode getNvol() {
com.particles.mes.protos.openrtb.VolumeNormalizationMode result = com.particles.mes.protos.openrtb.VolumeNormalizationMode.forNumber(nvol_);
return result == null ? com.particles.mes.protos.openrtb.VolumeNormalizationMode.NONE : result;
}
/**
* <pre>
* Volume normalization mode.
* Not supported by Google.
* </pre>
*
* <code>optional .com.google.openrtb.VolumeNormalizationMode nvol = 24;</code>
* @param value The nvol to set.
*/
private void setNvol(com.particles.mes.protos.openrtb.VolumeNormalizationMode value) {
nvol_ = value.getNumber();
bitField0_ |= 0x00008000;
}
/**
* <pre>
* Volume normalization mode.
* Not supported by Google.
* </pre>
*
* <code>optional .com.google.openrtb.VolumeNormalizationMode nvol = 24;</code>
*/
private void clearNvol() {
bitField0_ = (bitField0_ & ~0x00008000);
nvol_ = 0;
}
public static com.particles.mes.protos.openrtb.BidRequest.Imp.Audio parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, data);
}
public static com.particles.mes.protos.openrtb.BidRequest.Imp.Audio parseFrom(
java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, data, extensionRegistry);
}
public static com.particles.mes.protos.openrtb.BidRequest.Imp.Audio parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, data);
}
public static com.particles.mes.protos.openrtb.BidRequest.Imp.Audio parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, data, extensionRegistry);
}
public static com.particles.mes.protos.openrtb.BidRequest.Imp.Audio parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, data);
}
public static com.particles.mes.protos.openrtb.BidRequest.Imp.Audio parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, data, extensionRegistry);
}
public static com.particles.mes.protos.openrtb.BidRequest.Imp.Audio parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, input);
}
public static com.particles.mes.protos.openrtb.BidRequest.Imp.Audio parseFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, input, extensionRegistry);
}
public static com.particles.mes.protos.openrtb.BidRequest.Imp.Audio parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return parseDelimitedFrom(DEFAULT_INSTANCE, input);
}
public static com.particles.mes.protos.openrtb.BidRequest.Imp.Audio parseDelimitedFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return parseDelimitedFrom(DEFAULT_INSTANCE, input, extensionRegistry);
}
public static com.particles.mes.protos.openrtb.BidRequest.Imp.Audio parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, input);
}
public static com.particles.mes.protos.openrtb.BidRequest.Imp.Audio parseFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, input, extensionRegistry);
}
public static Builder newBuilder() {
return (Builder) DEFAULT_INSTANCE.createBuilder();
}
public static Builder newBuilder(com.particles.mes.protos.openrtb.BidRequest.Imp.Audio prototype) {
return (Builder) DEFAULT_INSTANCE.createBuilder(prototype);
}
/**
* <pre>
* This object represents an audio type impression. Many of the fields
* are non-essential for minimally viable transactions, but are included
* to offer fine control when needed. Audio in OpenRTB generally assumes
* compliance with the DAAST standard. As such, the notion of companion
* ads is supported by optionally including an array of Banner objects
* that define these companion ads.
* The presence of a Audio as a subordinate of the Imp object indicates
* that this impression is offered as an audio type impression.
* At the publisher's discretion, that same impression may also be offered
* as banner, video, and/or native by also including as Imp subordinates
* objects of those types. However, any given bid for the impression must
* conform to one of the offered types.
* </pre>
*
* Protobuf type {@code com.google.openrtb.BidRequest.Imp.Audio}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageLite.ExtendableBuilder<
com.particles.mes.protos.openrtb.BidRequest.Imp.Audio, Builder> implements
// @@protoc_insertion_point(builder_implements:com.google.openrtb.BidRequest.Imp.Audio)
com.particles.mes.protos.openrtb.BidRequest.Imp.AudioOrBuilder {
// Construct using com.particles.mes.protos.openrtb.BidRequest.Imp.Audio.newBuilder()
private Builder() {
super(DEFAULT_INSTANCE);
}
/**
* <pre>
* Content MIME types supported (for example, "audio/mp4").
* REQUIRED by the OpenRTB specification: at least 1 element.
* Supported by Google.
* </pre>
*
* <code>repeated string mimes = 1;</code>
* @return A list containing the mimes.
*/
@java.lang.Override
public java.util.List<java.lang.String>
getMimesList() {
return java.util.Collections.unmodifiableList(
instance.getMimesList());
}
/**
* <pre>
* Content MIME types supported (for example, "audio/mp4").
* REQUIRED by the OpenRTB specification: at least 1 element.
* Supported by Google.
* </pre>
*
* <code>repeated string mimes = 1;</code>
* @return The count of mimes.
*/
@java.lang.Override
public int getMimesCount() {
return instance.getMimesCount();
}
/**
* <pre>
* Content MIME types supported (for example, "audio/mp4").
* REQUIRED by the OpenRTB specification: at least 1 element.
* Supported by Google.
* </pre>
*
* <code>repeated string mimes = 1;</code>
* @param index The index of the element to return.
* @return The mimes at the given index.
*/
@java.lang.Override
public java.lang.String getMimes(int index) {
return instance.getMimes(index);
}
/**
* <pre>
* Content MIME types supported (for example, "audio/mp4").
* REQUIRED by the OpenRTB specification: at least 1 element.
* Supported by Google.
* </pre>
*
* <code>repeated string mimes = 1;</code>
* @param index The index of the value to return.
* @return The bytes of the mimes at the given index.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getMimesBytes(int index) {
return instance.getMimesBytes(index);
}
/**
* <pre>
* Content MIME types supported (for example, "audio/mp4").
* REQUIRED by the OpenRTB specification: at least 1 element.
* Supported by Google.
* </pre>
*
* <code>repeated string mimes = 1;</code>
* @param index The index to set the value at.
* @param value The mimes to set.
* @return This builder for chaining.
*/
public Builder setMimes(
int index, java.lang.String value) {
copyOnWrite();
instance.setMimes(index, value);
return this;
}
/**
* <pre>
* Content MIME types supported (for example, "audio/mp4").
* REQUIRED by the OpenRTB specification: at least 1 element.
* Supported by Google.
* </pre>
*
* <code>repeated string mimes = 1;</code>
* @param value The mimes to add.
* @return This builder for chaining.
*/
public Builder addMimes(
java.lang.String value) {
copyOnWrite();
instance.addMimes(value);
return this;
}
/**
* <pre>
* Content MIME types supported (for example, "audio/mp4").
* REQUIRED by the OpenRTB specification: at least 1 element.
* Supported by Google.
* </pre>
*
* <code>repeated string mimes = 1;</code>
* @param values The mimes to add.
* @return This builder for chaining.
*/
public Builder addAllMimes(
java.lang.Iterable<java.lang.String> values) {
copyOnWrite();
instance.addAllMimes(values);
return this;
}
/**
* <pre>
* Content MIME types supported (for example, "audio/mp4").
* REQUIRED by the OpenRTB specification: at least 1 element.
* Supported by Google.
* </pre>
*
* <code>repeated string mimes = 1;</code>
* @return This builder for chaining.
*/
public Builder clearMimes() {
copyOnWrite();
instance.clearMimes();
return this;
}
/**
* <pre>
* Content MIME types supported (for example, "audio/mp4").
* REQUIRED by the OpenRTB specification: at least 1 element.
* Supported by Google.
* </pre>
*
* <code>repeated string mimes = 1;</code>
* @param value The bytes of the mimes to add.
* @return This builder for chaining.
*/
public Builder addMimesBytes(
com.google.protobuf.ByteString value) {
copyOnWrite();
instance.addMimesBytes(value);
return this;
}
/**
* <pre>
* Minimum audio ad duration in seconds.
* This field is mutually exclusive with rqddurs; only one of minduration
* and rqddurs may be in a bid request.
* Supported by Google.
* </pre>
*
* <code>optional int32 minduration = 2 [default = 0];</code>
* @return Whether the minduration field is set.
*/
@java.lang.Override
public boolean hasMinduration() {
return instance.hasMinduration();
}
/**
* <pre>
* Minimum audio ad duration in seconds.
* This field is mutually exclusive with rqddurs; only one of minduration
* and rqddurs may be in a bid request.
* Supported by Google.
* </pre>
*
* <code>optional int32 minduration = 2 [default = 0];</code>
* @return The minduration.
*/
@java.lang.Override
public int getMinduration() {
return instance.getMinduration();
}
/**
* <pre>
* Minimum audio ad duration in seconds.
* This field is mutually exclusive with rqddurs; only one of minduration
* and rqddurs may be in a bid request.
* Supported by Google.
* </pre>
*
* <code>optional int32 minduration = 2 [default = 0];</code>
* @param value The minduration to set.
* @return This builder for chaining.
*/
public Builder setMinduration(int value) {
copyOnWrite();
instance.setMinduration(value);
return this;
}
/**
* <pre>
* Minimum audio ad duration in seconds.
* This field is mutually exclusive with rqddurs; only one of minduration
* and rqddurs may be in a bid request.
* Supported by Google.
* </pre>
*
* <code>optional int32 minduration = 2 [default = 0];</code>
* @return This builder for chaining.
*/
public Builder clearMinduration() {
copyOnWrite();
instance.clearMinduration();
return this;
}
/**
* <pre>
* Maximum audio ad duration in seconds.
* This field is mutually exclusive with rqddurs; only one of maxduration
* and rqddurs may be in a bid request.
* Supported by Google.
* </pre>
*
* <code>optional int32 maxduration = 3;</code>
* @return Whether the maxduration field is set.
*/
@java.lang.Override
public boolean hasMaxduration() {
return instance.hasMaxduration();
}
/**
* <pre>
* Maximum audio ad duration in seconds.
* This field is mutually exclusive with rqddurs; only one of maxduration
* and rqddurs may be in a bid request.
* Supported by Google.
* </pre>
*
* <code>optional int32 maxduration = 3;</code>
* @return The maxduration.
*/
@java.lang.Override
public int getMaxduration() {
return instance.getMaxduration();
}
/**
* <pre>
* Maximum audio ad duration in seconds.
* This field is mutually exclusive with rqddurs; only one of maxduration
* and rqddurs may be in a bid request.
* Supported by Google.
* </pre>
*
* <code>optional int32 maxduration = 3;</code>
* @param value The maxduration to set.
* @return This builder for chaining.
*/
public Builder setMaxduration(int value) {
copyOnWrite();
instance.setMaxduration(value);
return this;
}
/**
* <pre>
* Maximum audio ad duration in seconds.
* This field is mutually exclusive with rqddurs; only one of maxduration
* and rqddurs may be in a bid request.
* Supported by Google.
* </pre>
*
* <code>optional int32 maxduration = 3;</code>
* @return This builder for chaining.
*/
public Builder clearMaxduration() {
copyOnWrite();
instance.clearMaxduration();
return this;
}
/**
* <pre>
* Indicates the total amount of time in seconds that advertisers may
* fill for a "dynamic" audio ad pod, or the dynamic portion of a
* "hybrid" ad pod. This field is required only for the dynamic
* portion(s) of audio ad pods. This field refers to the length of the
* entire ad break, whereas minduration/maxduration/rqddurs are
* constraints relating to the slots that make up the pod.
* Not supported by Google.
* </pre>
*
* <code>optional int32 poddur = 25;</code>
* @return Whether the poddur field is set.
*/
@java.lang.Override
public boolean hasPoddur() {
return instance.hasPoddur();
}
/**
* <pre>
* Indicates the total amount of time in seconds that advertisers may
* fill for a "dynamic" audio ad pod, or the dynamic portion of a
* "hybrid" ad pod. This field is required only for the dynamic
* portion(s) of audio ad pods. This field refers to the length of the
* entire ad break, whereas minduration/maxduration/rqddurs are
* constraints relating to the slots that make up the pod.
* Not supported by Google.
* </pre>
*
* <code>optional int32 poddur = 25;</code>
* @return The poddur.
*/
@java.lang.Override
public int getPoddur() {
return instance.getPoddur();
}
/**
* <pre>
* Indicates the total amount of time in seconds that advertisers may
* fill for a "dynamic" audio ad pod, or the dynamic portion of a
* "hybrid" ad pod. This field is required only for the dynamic
* portion(s) of audio ad pods. This field refers to the length of the
* entire ad break, whereas minduration/maxduration/rqddurs are
* constraints relating to the slots that make up the pod.
* Not supported by Google.
* </pre>
*
* <code>optional int32 poddur = 25;</code>
* @param value The poddur to set.
* @return This builder for chaining.
*/
public Builder setPoddur(int value) {
copyOnWrite();
instance.setPoddur(value);
return this;
}
/**
* <pre>
* Indicates the total amount of time in seconds that advertisers may
* fill for a "dynamic" audio ad pod, or the dynamic portion of a
* "hybrid" ad pod. This field is required only for the dynamic
* portion(s) of audio ad pods. This field refers to the length of the
* entire ad break, whereas minduration/maxduration/rqddurs are
* constraints relating to the slots that make up the pod.
* Not supported by Google.
* </pre>
*
* <code>optional int32 poddur = 25;</code>
* @return This builder for chaining.
*/
public Builder clearPoddur() {
copyOnWrite();
instance.clearPoddur();
return this;
}
/**
* <pre>
* Array of supported audio protocols.
* Supported by Google.
* </pre>
*
* <code>repeated .com.google.openrtb.Protocol protocols = 4 [packed = true];</code>
* @return A list containing the protocols.
*/
@java.lang.Override
public java.util.List<com.particles.mes.protos.openrtb.Protocol> getProtocolsList() {
return instance.getProtocolsList();
}
/**
* <pre>
* Array of supported audio protocols.
* Supported by Google.
* </pre>
*
* <code>repeated .com.google.openrtb.Protocol protocols = 4 [packed = true];</code>
* @return The count of protocols.
*/
@java.lang.Override
public int getProtocolsCount() {
return instance.getProtocolsCount();
}
/**
* <pre>
* Array of supported audio protocols.
* Supported by Google.
* </pre>
*
* <code>repeated .com.google.openrtb.Protocol protocols = 4 [packed = true];</code>
* @param index The index of the element to return.
* @return The protocols at the given index.
*/
@java.lang.Override
public com.particles.mes.protos.openrtb.Protocol getProtocols(int index) {
return instance.getProtocols(index);
}
/**
* <pre>
* Array of supported audio protocols.
* Supported by Google.
* </pre>
*
* <code>repeated .com.google.openrtb.Protocol protocols = 4 [packed = true];</code>
* @param index The index to set the value at.
* @param value The protocols to set.
* @return This builder for chaining.
*/
public Builder setProtocols(
int index, com.particles.mes.protos.openrtb.Protocol value) {
copyOnWrite();
instance.setProtocols(index, value);
return this;
}
/**
* <pre>
* Array of supported audio protocols.
* Supported by Google.
* </pre>
*
* <code>repeated .com.google.openrtb.Protocol protocols = 4 [packed = true];</code>
* @param value The protocols to add.
* @return This builder for chaining.
*/
public Builder addProtocols(com.particles.mes.protos.openrtb.Protocol value) {
copyOnWrite();
instance.addProtocols(value);
return this;
}
/**
* <pre>
* Array of supported audio protocols.
* Supported by Google.
* </pre>
*
* <code>repeated .com.google.openrtb.Protocol protocols = 4 [packed = true];</code>
* @param values The protocols to add.
* @return This builder for chaining.
*/
public Builder addAllProtocols(
java.lang.Iterable<? extends com.particles.mes.protos.openrtb.Protocol> values) {
copyOnWrite();
instance.addAllProtocols(values); return this;
}
/**
* <pre>
* Array of supported audio protocols.
* Supported by Google.
* </pre>
*
* <code>repeated .com.google.openrtb.Protocol protocols = 4 [packed = true];</code>
* @return This builder for chaining.
*/
public Builder clearProtocols() {
copyOnWrite();
instance.clearProtocols();
return this;
}
/**
* <pre>
* Indicates the start delay in seconds for pre-roll, mid-roll, or
* post-roll ad placements.
* Refer to enum StartDelay for generic values.
* Supported by Google.
* </pre>
*
* <code>optional int32 startdelay = 5;</code>
* @return Whether the startdelay field is set.
*/
@java.lang.Override
public boolean hasStartdelay() {
return instance.hasStartdelay();
}
/**
* <pre>
* Indicates the start delay in seconds for pre-roll, mid-roll, or
* post-roll ad placements.
* Refer to enum StartDelay for generic values.
* Supported by Google.
* </pre>
*
* <code>optional int32 startdelay = 5;</code>
* @return The startdelay.
*/
@java.lang.Override
public int getStartdelay() {
return instance.getStartdelay();
}
/**
* <pre>
* Indicates the start delay in seconds for pre-roll, mid-roll, or
* post-roll ad placements.
* Refer to enum StartDelay for generic values.
* Supported by Google.
* </pre>
*
* <code>optional int32 startdelay = 5;</code>
* @param value The startdelay to set.
* @return This builder for chaining.
*/
public Builder setStartdelay(int value) {
copyOnWrite();
instance.setStartdelay(value);
return this;
}
/**
* <pre>
* Indicates the start delay in seconds for pre-roll, mid-roll, or
* post-roll ad placements.
* Refer to enum StartDelay for generic values.
* Supported by Google.
* </pre>
*
* <code>optional int32 startdelay = 5;</code>
* @return This builder for chaining.
*/
public Builder clearStartdelay() {
copyOnWrite();
instance.clearStartdelay();
return this;
}
/**
* <pre>
* Precise acceptable durations for audio creatives in seconds.
* This field specifically targets the live audio/radio use case where
* non-exact ad durations would result in undesirable ‘dead air’.
* This field is mutually exclusive with minduration and
* maxduration; if rqddurs is specified, minduration and
* maxduration must not be specified and the other way around.
* Not supported by Google.
* </pre>
*
* <code>repeated int32 rqddurs = 26 [packed = true];</code>
* @return A list containing the rqddurs.
*/
@java.lang.Override
public java.util.List<java.lang.Integer>
getRqddursList() {
return java.util.Collections.unmodifiableList(
instance.getRqddursList());
}
/**
* <pre>
* Precise acceptable durations for audio creatives in seconds.
* This field specifically targets the live audio/radio use case where
* non-exact ad durations would result in undesirable ‘dead air’.
* This field is mutually exclusive with minduration and
* maxduration; if rqddurs is specified, minduration and
* maxduration must not be specified and the other way around.
* Not supported by Google.
* </pre>
*
* <code>repeated int32 rqddurs = 26 [packed = true];</code>
* @return The count of rqddurs.
*/
@java.lang.Override
public int getRqddursCount() {
return instance.getRqddursCount();
}
/**
* <pre>
* Precise acceptable durations for audio creatives in seconds.
* This field specifically targets the live audio/radio use case where
* non-exact ad durations would result in undesirable ‘dead air’.
* This field is mutually exclusive with minduration and
* maxduration; if rqddurs is specified, minduration and
* maxduration must not be specified and the other way around.
* Not supported by Google.
* </pre>
*
* <code>repeated int32 rqddurs = 26 [packed = true];</code>
* @param index The index of the element to return.
* @return The rqddurs at the given index.
*/
@java.lang.Override
public int getRqddurs(int index) {
return instance.getRqddurs(index);
}
/**
* <pre>
* Precise acceptable durations for audio creatives in seconds.
* This field specifically targets the live audio/radio use case where
* non-exact ad durations would result in undesirable ‘dead air’.
* This field is mutually exclusive with minduration and
* maxduration; if rqddurs is specified, minduration and
* maxduration must not be specified and the other way around.
* Not supported by Google.
* </pre>
*
* <code>repeated int32 rqddurs = 26 [packed = true];</code>
* @param value The rqddurs to set.
* @return This builder for chaining.
*/
public Builder setRqddurs(
int index, int value) {
copyOnWrite();
instance.setRqddurs(index, value);
return this;
}
/**
* <pre>
* Precise acceptable durations for audio creatives in seconds.
* This field specifically targets the live audio/radio use case where
* non-exact ad durations would result in undesirable ‘dead air’.
* This field is mutually exclusive with minduration and
* maxduration; if rqddurs is specified, minduration and
* maxduration must not be specified and the other way around.
* Not supported by Google.
* </pre>
*
* <code>repeated int32 rqddurs = 26 [packed = true];</code>
* @param value The rqddurs to add.
* @return This builder for chaining.
*/
public Builder addRqddurs(int value) {
copyOnWrite();
instance.addRqddurs(value);
return this;
}
/**
* <pre>
* Precise acceptable durations for audio creatives in seconds.
* This field specifically targets the live audio/radio use case where
* non-exact ad durations would result in undesirable ‘dead air’.
* This field is mutually exclusive with minduration and
* maxduration; if rqddurs is specified, minduration and
* maxduration must not be specified and the other way around.
* Not supported by Google.
* </pre>
*
* <code>repeated int32 rqddurs = 26 [packed = true];</code>
* @param values The rqddurs to add.
* @return This builder for chaining.
*/
public Builder addAllRqddurs(
java.lang.Iterable<? extends java.lang.Integer> values) {
copyOnWrite();
instance.addAllRqddurs(values);
return this;
}
/**
* <pre>
* Precise acceptable durations for audio creatives in seconds.
* This field specifically targets the live audio/radio use case where
* non-exact ad durations would result in undesirable ‘dead air’.
* This field is mutually exclusive with minduration and
* maxduration; if rqddurs is specified, minduration and
* maxduration must not be specified and the other way around.
* Not supported by Google.
* </pre>
*
* <code>repeated int32 rqddurs = 26 [packed = true];</code>
* @return This builder for chaining.
*/
public Builder clearRqddurs() {
copyOnWrite();
instance.clearRqddurs();
return this;
}
/**
* <pre>
* Unique identifier indicating that an impression opportunity
* belongs to an audio ad pod. If multiple impression opportunities
* within a bid request share the same podid, this indicates that
* those impression opportunities belong to the same audio ad pod.
* Not supported by Google.
* </pre>
*
* <code>optional string podid = 27;</code>
* @return Whether the podid field is set.
*/
@java.lang.Override
public boolean hasPodid() {
return instance.hasPodid();
}
/**
* <pre>
* Unique identifier indicating that an impression opportunity
* belongs to an audio ad pod. If multiple impression opportunities
* within a bid request share the same podid, this indicates that
* those impression opportunities belong to the same audio ad pod.
* Not supported by Google.
* </pre>
*
* <code>optional string podid = 27;</code>
* @return The podid.
*/
@java.lang.Override
public java.lang.String getPodid() {
return instance.getPodid();
}
/**
* <pre>
* Unique identifier indicating that an impression opportunity
* belongs to an audio ad pod. If multiple impression opportunities
* within a bid request share the same podid, this indicates that
* those impression opportunities belong to the same audio ad pod.
* Not supported by Google.
* </pre>
*
* <code>optional string podid = 27;</code>
* @return The bytes for podid.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getPodidBytes() {
return instance.getPodidBytes();
}
/**
* <pre>
* Unique identifier indicating that an impression opportunity
* belongs to an audio ad pod. If multiple impression opportunities
* within a bid request share the same podid, this indicates that
* those impression opportunities belong to the same audio ad pod.
* Not supported by Google.
* </pre>
*
* <code>optional string podid = 27;</code>
* @param value The podid to set.
* @return This builder for chaining.
*/
public Builder setPodid(
java.lang.String value) {
copyOnWrite();
instance.setPodid(value);
return this;
}
/**
* <pre>
* Unique identifier indicating that an impression opportunity
* belongs to an audio ad pod. If multiple impression opportunities
* within a bid request share the same podid, this indicates that
* those impression opportunities belong to the same audio ad pod.
* Not supported by Google.
* </pre>
*
* <code>optional string podid = 27;</code>
* @return This builder for chaining.
*/
public Builder clearPodid() {
copyOnWrite();
instance.clearPodid();
return this;
}
/**
* <pre>
* Unique identifier indicating that an impression opportunity
* belongs to an audio ad pod. If multiple impression opportunities
* within a bid request share the same podid, this indicates that
* those impression opportunities belong to the same audio ad pod.
* Not supported by Google.
* </pre>
*
* <code>optional string podid = 27;</code>
* @param value The bytes for podid to set.
* @return This builder for chaining.
*/
public Builder setPodidBytes(
com.google.protobuf.ByteString value) {
copyOnWrite();
instance.setPodidBytes(value);
return this;
}
/**
* <pre>
* The sequence (position) of the audio ad pod within a content stream.
* Not supported by Google.
* </pre>
*
* <code>optional .com.google.openrtb.PodSequence podseq = 28 [default = POD_SEQUENCE_ANY];</code>
* @return Whether the podseq field is set.
*/
@java.lang.Override
public boolean hasPodseq() {
return instance.hasPodseq();
}
/**
* <pre>
* The sequence (position) of the audio ad pod within a content stream.
* Not supported by Google.
* </pre>
*
* <code>optional .com.google.openrtb.PodSequence podseq = 28 [default = POD_SEQUENCE_ANY];</code>
* @return The podseq.
*/
@java.lang.Override
public com.particles.mes.protos.openrtb.PodSequence getPodseq() {
return instance.getPodseq();
}
/**
* <pre>
* The sequence (position) of the audio ad pod within a content stream.
* Not supported by Google.
* </pre>
*
* <code>optional .com.google.openrtb.PodSequence podseq = 28 [default = POD_SEQUENCE_ANY];</code>
* @param value The enum numeric value on the wire for podseq to set.
* @return This builder for chaining.
*/
public Builder setPodseq(com.particles.mes.protos.openrtb.PodSequence value) {
copyOnWrite();
instance.setPodseq(value);
return this;
}
/**
* <pre>
* The sequence (position) of the audio ad pod within a content stream.
* Not supported by Google.
* </pre>
*
* <code>optional .com.google.openrtb.PodSequence podseq = 28 [default = POD_SEQUENCE_ANY];</code>
* @return This builder for chaining.
*/
public Builder clearPodseq() {
copyOnWrite();
instance.clearPodseq();
return this;
}
/**
* <pre>
* DEPRECATED in OpenRTB 2.6+; prefer the field podseq.
* If multiple ad impressions are offered in the same bid request,
* the sequence number will allow for the coordinated delivery of
* multiple creatives.
* Not supported by Google.
* </pre>
*
* <code>optional int32 sequence = 6 [default = 1, deprecated = true];</code>
* @deprecated com.google.openrtb.BidRequest.Imp.Audio.sequence is deprecated.
* See openrtb/openrtb-v26.proto;l=488
* @return Whether the sequence field is set.
*/
@java.lang.Override
@java.lang.Deprecated public boolean hasSequence() {
return instance.hasSequence();
}
/**
* <pre>
* DEPRECATED in OpenRTB 2.6+; prefer the field podseq.
* If multiple ad impressions are offered in the same bid request,
* the sequence number will allow for the coordinated delivery of
* multiple creatives.
* Not supported by Google.
* </pre>
*
* <code>optional int32 sequence = 6 [default = 1, deprecated = true];</code>
* @deprecated com.google.openrtb.BidRequest.Imp.Audio.sequence is deprecated.
* See openrtb/openrtb-v26.proto;l=488
* @return The sequence.
*/
@java.lang.Override
@java.lang.Deprecated public int getSequence() {
return instance.getSequence();
}
/**
* <pre>
* DEPRECATED in OpenRTB 2.6+; prefer the field podseq.
* If multiple ad impressions are offered in the same bid request,
* the sequence number will allow for the coordinated delivery of
* multiple creatives.
* Not supported by Google.
* </pre>
*
* <code>optional int32 sequence = 6 [default = 1, deprecated = true];</code>
* @deprecated com.google.openrtb.BidRequest.Imp.Audio.sequence is deprecated.
* See openrtb/openrtb-v26.proto;l=488
* @param value The sequence to set.
* @return This builder for chaining.
*/
@java.lang.Deprecated public Builder setSequence(int value) {
copyOnWrite();
instance.setSequence(value);
return this;
}
/**
* <pre>
* DEPRECATED in OpenRTB 2.6+; prefer the field podseq.
* If multiple ad impressions are offered in the same bid request,
* the sequence number will allow for the coordinated delivery of
* multiple creatives.
* Not supported by Google.
* </pre>
*
* <code>optional int32 sequence = 6 [default = 1, deprecated = true];</code>
* @deprecated com.google.openrtb.BidRequest.Imp.Audio.sequence is deprecated.
* See openrtb/openrtb-v26.proto;l=488
* @return This builder for chaining.
*/
@java.lang.Deprecated public Builder clearSequence() {
copyOnWrite();
instance.clearSequence();
return this;
}
/**
* <pre>
* For audio ad pods, this value indicates that the seller can
* guarantee delivery against the indicated sequence.
* Not supported by Google.
* </pre>
*
* <code>optional .com.google.openrtb.SlotPositionInPod slotinpod = 29 [default = SLOT_POSITION_POD_ANY];</code>
* @return Whether the slotinpod field is set.
*/
@java.lang.Override
public boolean hasSlotinpod() {
return instance.hasSlotinpod();
}
/**
* <pre>
* For audio ad pods, this value indicates that the seller can
* guarantee delivery against the indicated sequence.
* Not supported by Google.
* </pre>
*
* <code>optional .com.google.openrtb.SlotPositionInPod slotinpod = 29 [default = SLOT_POSITION_POD_ANY];</code>
* @return The slotinpod.
*/
@java.lang.Override
public com.particles.mes.protos.openrtb.SlotPositionInPod getSlotinpod() {
return instance.getSlotinpod();
}
/**
* <pre>
* For audio ad pods, this value indicates that the seller can
* guarantee delivery against the indicated sequence.
* Not supported by Google.
* </pre>
*
* <code>optional .com.google.openrtb.SlotPositionInPod slotinpod = 29 [default = SLOT_POSITION_POD_ANY];</code>
* @param value The enum numeric value on the wire for slotinpod to set.
* @return This builder for chaining.
*/
public Builder setSlotinpod(com.particles.mes.protos.openrtb.SlotPositionInPod value) {
copyOnWrite();
instance.setSlotinpod(value);
return this;
}
/**
* <pre>
* For audio ad pods, this value indicates that the seller can
* guarantee delivery against the indicated sequence.
* Not supported by Google.
* </pre>
*
* <code>optional .com.google.openrtb.SlotPositionInPod slotinpod = 29 [default = SLOT_POSITION_POD_ANY];</code>
* @return This builder for chaining.
*/
public Builder clearSlotinpod() {
copyOnWrite();
instance.clearSlotinpod();
return this;
}
/**
* <pre>
* Minimum CPM per second. This is a price floor for the
* "dynamic" portion of an audio ad pod, relative to the duration
* of bids an advertiser may submit.
* Not supported by Google.
* </pre>
*
* <code>optional double mincpmpersec = 30;</code>
* @return Whether the mincpmpersec field is set.
*/
@java.lang.Override
public boolean hasMincpmpersec() {
return instance.hasMincpmpersec();
}
/**
* <pre>
* Minimum CPM per second. This is a price floor for the
* "dynamic" portion of an audio ad pod, relative to the duration
* of bids an advertiser may submit.
* Not supported by Google.
* </pre>
*
* <code>optional double mincpmpersec = 30;</code>
* @return The mincpmpersec.
*/
@java.lang.Override
public double getMincpmpersec() {
return instance.getMincpmpersec();
}
/**
* <pre>
* Minimum CPM per second. This is a price floor for the
* "dynamic" portion of an audio ad pod, relative to the duration
* of bids an advertiser may submit.
* Not supported by Google.
* </pre>
*
* <code>optional double mincpmpersec = 30;</code>
* @param value The mincpmpersec to set.
* @return This builder for chaining.
*/
public Builder setMincpmpersec(double value) {
copyOnWrite();
instance.setMincpmpersec(value);
return this;
}
/**
* <pre>
* Minimum CPM per second. This is a price floor for the
* "dynamic" portion of an audio ad pod, relative to the duration
* of bids an advertiser may submit.
* Not supported by Google.
* </pre>
*
* <code>optional double mincpmpersec = 30;</code>
* @return This builder for chaining.
*/
public Builder clearMincpmpersec() {
copyOnWrite();
instance.clearMincpmpersec();
return this;
}
/**
* <pre>
* Blocked creative attributes.
* Supported by Google.
* </pre>
*
* <code>repeated .com.google.openrtb.CreativeAttribute battr = 7 [packed = true];</code>
* @return A list containing the battr.
*/
@java.lang.Override
public java.util.List<com.particles.mes.protos.openrtb.CreativeAttribute> getBattrList() {
return instance.getBattrList();
}
/**
* <pre>
* Blocked creative attributes.
* Supported by Google.
* </pre>
*
* <code>repeated .com.google.openrtb.CreativeAttribute battr = 7 [packed = true];</code>
* @return The count of battr.
*/
@java.lang.Override
public int getBattrCount() {
return instance.getBattrCount();
}
/**
* <pre>
* Blocked creative attributes.
* Supported by Google.
* </pre>
*
* <code>repeated .com.google.openrtb.CreativeAttribute battr = 7 [packed = true];</code>
* @param index The index of the element to return.
* @return The battr at the given index.
*/
@java.lang.Override
public com.particles.mes.protos.openrtb.CreativeAttribute getBattr(int index) {
return instance.getBattr(index);
}
/**
* <pre>
* Blocked creative attributes.
* Supported by Google.
* </pre>
*
* <code>repeated .com.google.openrtb.CreativeAttribute battr = 7 [packed = true];</code>
* @param index The index to set the value at.
* @param value The battr to set.
* @return This builder for chaining.
*/
public Builder setBattr(
int index, com.particles.mes.protos.openrtb.CreativeAttribute value) {
copyOnWrite();
instance.setBattr(index, value);
return this;
}
/**
* <pre>
* Blocked creative attributes.
* Supported by Google.
* </pre>
*
* <code>repeated .com.google.openrtb.CreativeAttribute battr = 7 [packed = true];</code>
* @param value The battr to add.
* @return This builder for chaining.
*/
public Builder addBattr(com.particles.mes.protos.openrtb.CreativeAttribute value) {
copyOnWrite();
instance.addBattr(value);
return this;
}
/**
* <pre>
* Blocked creative attributes.
* Supported by Google.
* </pre>
*
* <code>repeated .com.google.openrtb.CreativeAttribute battr = 7 [packed = true];</code>
* @param values The battr to add.
* @return This builder for chaining.
*/
public Builder addAllBattr(
java.lang.Iterable<? extends com.particles.mes.protos.openrtb.CreativeAttribute> values) {
copyOnWrite();
instance.addAllBattr(values); return this;
}
/**
* <pre>
* Blocked creative attributes.
* Supported by Google.
* </pre>
*
* <code>repeated .com.google.openrtb.CreativeAttribute battr = 7 [packed = true];</code>
* @return This builder for chaining.
*/
public Builder clearBattr() {
copyOnWrite();
instance.clearBattr();
return this;
}
/**
* <pre>
* Maximum extended video ad duration, if extension is allowed.
* If blank or 0, extension is not allowed. If -1, extension is allowed,
* and there is no time limit imposed. If greater than 0, then the value
* represents the number of seconds of extended play supported beyond
* the maxduration value.
* Not supported by Google.
* </pre>
*
* <code>optional int32 maxextended = 8;</code>
* @return Whether the maxextended field is set.
*/
@java.lang.Override
public boolean hasMaxextended() {
return instance.hasMaxextended();
}
/**
* <pre>
* Maximum extended video ad duration, if extension is allowed.
* If blank or 0, extension is not allowed. If -1, extension is allowed,
* and there is no time limit imposed. If greater than 0, then the value
* represents the number of seconds of extended play supported beyond
* the maxduration value.
* Not supported by Google.
* </pre>
*
* <code>optional int32 maxextended = 8;</code>
* @return The maxextended.
*/
@java.lang.Override
public int getMaxextended() {
return instance.getMaxextended();
}
/**
* <pre>
* Maximum extended video ad duration, if extension is allowed.
* If blank or 0, extension is not allowed. If -1, extension is allowed,
* and there is no time limit imposed. If greater than 0, then the value
* represents the number of seconds of extended play supported beyond
* the maxduration value.
* Not supported by Google.
* </pre>
*
* <code>optional int32 maxextended = 8;</code>
* @param value The maxextended to set.
* @return This builder for chaining.
*/
public Builder setMaxextended(int value) {
copyOnWrite();
instance.setMaxextended(value);
return this;
}
/**
* <pre>
* Maximum extended video ad duration, if extension is allowed.
* If blank or 0, extension is not allowed. If -1, extension is allowed,
* and there is no time limit imposed. If greater than 0, then the value
* represents the number of seconds of extended play supported beyond
* the maxduration value.
* Not supported by Google.
* </pre>
*
* <code>optional int32 maxextended = 8;</code>
* @return This builder for chaining.
*/
public Builder clearMaxextended() {
copyOnWrite();
instance.clearMaxextended();
return this;
}
/**
* <pre>
* Minimum bit rate in Kbps.
* Not supported by Google.
* </pre>
*
* <code>optional int32 minbitrate = 9;</code>
* @return Whether the minbitrate field is set.
*/
@java.lang.Override
public boolean hasMinbitrate() {
return instance.hasMinbitrate();
}
/**
* <pre>
* Minimum bit rate in Kbps.
* Not supported by Google.
* </pre>
*
* <code>optional int32 minbitrate = 9;</code>
* @return The minbitrate.
*/
@java.lang.Override
public int getMinbitrate() {
return instance.getMinbitrate();
}
/**
* <pre>
* Minimum bit rate in Kbps.
* Not supported by Google.
* </pre>
*
* <code>optional int32 minbitrate = 9;</code>
* @param value The minbitrate to set.
* @return This builder for chaining.
*/
public Builder setMinbitrate(int value) {
copyOnWrite();
instance.setMinbitrate(value);
return this;
}
/**
* <pre>
* Minimum bit rate in Kbps.
* Not supported by Google.
* </pre>
*
* <code>optional int32 minbitrate = 9;</code>
* @return This builder for chaining.
*/
public Builder clearMinbitrate() {
copyOnWrite();
instance.clearMinbitrate();
return this;
}
/**
* <pre>
* Maximum bit rate in Kbps.
* Not supported by Google.
* </pre>
*
* <code>optional int32 maxbitrate = 10;</code>
* @return Whether the maxbitrate field is set.
*/
@java.lang.Override
public boolean hasMaxbitrate() {
return instance.hasMaxbitrate();
}
/**
* <pre>
* Maximum bit rate in Kbps.
* Not supported by Google.
* </pre>
*
* <code>optional int32 maxbitrate = 10;</code>
* @return The maxbitrate.
*/
@java.lang.Override
public int getMaxbitrate() {
return instance.getMaxbitrate();
}
/**
* <pre>
* Maximum bit rate in Kbps.
* Not supported by Google.
* </pre>
*
* <code>optional int32 maxbitrate = 10;</code>
* @param value The maxbitrate to set.
* @return This builder for chaining.
*/
public Builder setMaxbitrate(int value) {
copyOnWrite();
instance.setMaxbitrate(value);
return this;
}
/**
* <pre>
* Maximum bit rate in Kbps.
* Not supported by Google.
* </pre>
*
* <code>optional int32 maxbitrate = 10;</code>
* @return This builder for chaining.
*/
public Builder clearMaxbitrate() {
copyOnWrite();
instance.clearMaxbitrate();
return this;
}
/**
* <pre>
* Supported delivery methods (for example, streaming, progressive).
* Supported by Google.
* </pre>
*
* <code>repeated .com.google.openrtb.ContentDeliveryMethod delivery = 11 [packed = true];</code>
* @return A list containing the delivery.
*/
@java.lang.Override
public java.util.List<com.particles.mes.protos.openrtb.ContentDeliveryMethod> getDeliveryList() {
return instance.getDeliveryList();
}
/**
* <pre>
* Supported delivery methods (for example, streaming, progressive).
* Supported by Google.
* </pre>
*
* <code>repeated .com.google.openrtb.ContentDeliveryMethod delivery = 11 [packed = true];</code>
* @return The count of delivery.
*/
@java.lang.Override
public int getDeliveryCount() {
return instance.getDeliveryCount();
}
/**
* <pre>
* Supported delivery methods (for example, streaming, progressive).
* Supported by Google.
* </pre>
*
* <code>repeated .com.google.openrtb.ContentDeliveryMethod delivery = 11 [packed = true];</code>
* @param index The index of the element to return.
* @return The delivery at the given index.
*/
@java.lang.Override
public com.particles.mes.protos.openrtb.ContentDeliveryMethod getDelivery(int index) {
return instance.getDelivery(index);
}
/**
* <pre>
* Supported delivery methods (for example, streaming, progressive).
* Supported by Google.
* </pre>
*
* <code>repeated .com.google.openrtb.ContentDeliveryMethod delivery = 11 [packed = true];</code>
* @param index The index to set the value at.
* @param value The delivery to set.
* @return This builder for chaining.
*/
public Builder setDelivery(
int index, com.particles.mes.protos.openrtb.ContentDeliveryMethod value) {
copyOnWrite();
instance.setDelivery(index, value);
return this;
}
/**
* <pre>
* Supported delivery methods (for example, streaming, progressive).
* Supported by Google.
* </pre>
*
* <code>repeated .com.google.openrtb.ContentDeliveryMethod delivery = 11 [packed = true];</code>
* @param value The delivery to add.
* @return This builder for chaining.
*/
public Builder addDelivery(com.particles.mes.protos.openrtb.ContentDeliveryMethod value) {
copyOnWrite();
instance.addDelivery(value);
return this;
}
/**
* <pre>
* Supported delivery methods (for example, streaming, progressive).
* Supported by Google.
* </pre>
*
* <code>repeated .com.google.openrtb.ContentDeliveryMethod delivery = 11 [packed = true];</code>
* @param values The delivery to add.
* @return This builder for chaining.
*/
public Builder addAllDelivery(
java.lang.Iterable<? extends com.particles.mes.protos.openrtb.ContentDeliveryMethod> values) {
copyOnWrite();
instance.addAllDelivery(values); return this;
}
/**
* <pre>
* Supported delivery methods (for example, streaming, progressive).
* Supported by Google.
* </pre>
*
* <code>repeated .com.google.openrtb.ContentDeliveryMethod delivery = 11 [packed = true];</code>
* @return This builder for chaining.
*/
public Builder clearDelivery() {
copyOnWrite();
instance.clearDelivery();
return this;
}
/**
* <pre>
* Array of Banner objects if companion ads are available.
* Supported by Google.
* </pre>
*
* <code>repeated .com.google.openrtb.BidRequest.Imp.Banner companionad = 12;</code>
*/
@java.lang.Override
public java.util.List<com.particles.mes.protos.openrtb.BidRequest.Imp.Banner> getCompanionadList() {
return java.util.Collections.unmodifiableList(
instance.getCompanionadList());
}
/**
* <pre>
* Array of Banner objects if companion ads are available.
* Supported by Google.
* </pre>
*
* <code>repeated .com.google.openrtb.BidRequest.Imp.Banner companionad = 12;</code>
*/
@java.lang.Override
public int getCompanionadCount() {
return instance.getCompanionadCount();
}/**
* <pre>
* Array of Banner objects if companion ads are available.
* Supported by Google.
* </pre>
*
* <code>repeated .com.google.openrtb.BidRequest.Imp.Banner companionad = 12;</code>
*/
@java.lang.Override
public com.particles.mes.protos.openrtb.BidRequest.Imp.Banner getCompanionad(int index) {
return instance.getCompanionad(index);
}
/**
* <pre>
* Array of Banner objects if companion ads are available.
* Supported by Google.
* </pre>
*
* <code>repeated .com.google.openrtb.BidRequest.Imp.Banner companionad = 12;</code>
*/
public Builder setCompanionad(
int index, com.particles.mes.protos.openrtb.BidRequest.Imp.Banner value) {
copyOnWrite();
instance.setCompanionad(index, value);
return this;
}
/**
* <pre>
* Array of Banner objects if companion ads are available.
* Supported by Google.
* </pre>
*
* <code>repeated .com.google.openrtb.BidRequest.Imp.Banner companionad = 12;</code>
*/
public Builder setCompanionad(
int index, com.particles.mes.protos.openrtb.BidRequest.Imp.Banner.Builder builderForValue) {
copyOnWrite();
instance.setCompanionad(index,
builderForValue.build());
return this;
}
/**
* <pre>
* Array of Banner objects if companion ads are available.
* Supported by Google.
* </pre>
*
* <code>repeated .com.google.openrtb.BidRequest.Imp.Banner companionad = 12;</code>
*/
public Builder addCompanionad(com.particles.mes.protos.openrtb.BidRequest.Imp.Banner value) {
copyOnWrite();
instance.addCompanionad(value);
return this;
}
/**
* <pre>
* Array of Banner objects if companion ads are available.
* Supported by Google.
* </pre>
*
* <code>repeated .com.google.openrtb.BidRequest.Imp.Banner companionad = 12;</code>
*/
public Builder addCompanionad(
int index, com.particles.mes.protos.openrtb.BidRequest.Imp.Banner value) {
copyOnWrite();
instance.addCompanionad(index, value);
return this;
}
/**
* <pre>
* Array of Banner objects if companion ads are available.
* Supported by Google.
* </pre>
*
* <code>repeated .com.google.openrtb.BidRequest.Imp.Banner companionad = 12;</code>
*/
public Builder addCompanionad(
com.particles.mes.protos.openrtb.BidRequest.Imp.Banner.Builder builderForValue) {
copyOnWrite();
instance.addCompanionad(builderForValue.build());
return this;
}
/**
* <pre>
* Array of Banner objects if companion ads are available.
* Supported by Google.
* </pre>
*
* <code>repeated .com.google.openrtb.BidRequest.Imp.Banner companionad = 12;</code>
*/
public Builder addCompanionad(
int index, com.particles.mes.protos.openrtb.BidRequest.Imp.Banner.Builder builderForValue) {
copyOnWrite();
instance.addCompanionad(index,
builderForValue.build());
return this;
}
/**
* <pre>
* Array of Banner objects if companion ads are available.
* Supported by Google.
* </pre>
*
* <code>repeated .com.google.openrtb.BidRequest.Imp.Banner companionad = 12;</code>
*/
public Builder addAllCompanionad(
java.lang.Iterable<? extends com.particles.mes.protos.openrtb.BidRequest.Imp.Banner> values) {
copyOnWrite();
instance.addAllCompanionad(values);
return this;
}
/**
* <pre>
* Array of Banner objects if companion ads are available.
* Supported by Google.
* </pre>
*
* <code>repeated .com.google.openrtb.BidRequest.Imp.Banner companionad = 12;</code>
*/
public Builder clearCompanionad() {
copyOnWrite();
instance.clearCompanionad();
return this;
}
/**
* <pre>
* Array of Banner objects if companion ads are available.
* Supported by Google.
* </pre>
*
* <code>repeated .com.google.openrtb.BidRequest.Imp.Banner companionad = 12;</code>
*/
public Builder removeCompanionad(int index) {
copyOnWrite();
instance.removeCompanionad(index);
return this;
}
/**
* <pre>
* List of supported API frameworks for this impression.
* If an API is not explicitly listed, it is assumed not to be supported.
* Supported by Google.
* </pre>
*
* <code>repeated .com.google.openrtb.APIFramework api = 13 [packed = true];</code>
* @return A list containing the api.
*/
@java.lang.Override
public java.util.List<com.particles.mes.protos.openrtb.APIFramework> getApiList() {
return instance.getApiList();
}
/**
* <pre>
* List of supported API frameworks for this impression.
* If an API is not explicitly listed, it is assumed not to be supported.
* Supported by Google.
* </pre>
*
* <code>repeated .com.google.openrtb.APIFramework api = 13 [packed = true];</code>
* @return The count of api.
*/
@java.lang.Override
public int getApiCount() {
return instance.getApiCount();
}
/**
* <pre>
* List of supported API frameworks for this impression.
* If an API is not explicitly listed, it is assumed not to be supported.
* Supported by Google.
* </pre>
*
* <code>repeated .com.google.openrtb.APIFramework api = 13 [packed = true];</code>
* @param index The index of the element to return.
* @return The api at the given index.
*/
@java.lang.Override
public com.particles.mes.protos.openrtb.APIFramework getApi(int index) {
return instance.getApi(index);
}
/**
* <pre>
* List of supported API frameworks for this impression.
* If an API is not explicitly listed, it is assumed not to be supported.
* Supported by Google.
* </pre>
*
* <code>repeated .com.google.openrtb.APIFramework api = 13 [packed = true];</code>
* @param index The index to set the value at.
* @param value The api to set.
* @return This builder for chaining.
*/
public Builder setApi(
int index, com.particles.mes.protos.openrtb.APIFramework value) {
copyOnWrite();
instance.setApi(index, value);
return this;
}
/**
* <pre>
* List of supported API frameworks for this impression.
* If an API is not explicitly listed, it is assumed not to be supported.
* Supported by Google.
* </pre>
*
* <code>repeated .com.google.openrtb.APIFramework api = 13 [packed = true];</code>
* @param value The api to add.
* @return This builder for chaining.
*/
public Builder addApi(com.particles.mes.protos.openrtb.APIFramework value) {
copyOnWrite();
instance.addApi(value);
return this;
}
/**
* <pre>
* List of supported API frameworks for this impression.
* If an API is not explicitly listed, it is assumed not to be supported.
* Supported by Google.
* </pre>
*
* <code>repeated .com.google.openrtb.APIFramework api = 13 [packed = true];</code>
* @param values The api to add.
* @return This builder for chaining.
*/
public Builder addAllApi(
java.lang.Iterable<? extends com.particles.mes.protos.openrtb.APIFramework> values) {
copyOnWrite();
instance.addAllApi(values); return this;
}
/**
* <pre>
* List of supported API frameworks for this impression.
* If an API is not explicitly listed, it is assumed not to be supported.
* Supported by Google.
* </pre>
*
* <code>repeated .com.google.openrtb.APIFramework api = 13 [packed = true];</code>
* @return This builder for chaining.
*/
public Builder clearApi() {
copyOnWrite();
instance.clearApi();
return this;
}
/**
* <pre>
* Supported DAAST companion ad types. Recommended if companion Banner
* objects are included through the companionad array.
* Supported by Google.
* </pre>
*
* <code>repeated .com.google.openrtb.CompanionType companiontype = 20 [packed = true];</code>
* @return A list containing the companiontype.
*/
@java.lang.Override
public java.util.List<com.particles.mes.protos.openrtb.CompanionType> getCompaniontypeList() {
return instance.getCompaniontypeList();
}
/**
* <pre>
* Supported DAAST companion ad types. Recommended if companion Banner
* objects are included through the companionad array.
* Supported by Google.
* </pre>
*
* <code>repeated .com.google.openrtb.CompanionType companiontype = 20 [packed = true];</code>
* @return The count of companiontype.
*/
@java.lang.Override
public int getCompaniontypeCount() {
return instance.getCompaniontypeCount();
}
/**
* <pre>
* Supported DAAST companion ad types. Recommended if companion Banner
* objects are included through the companionad array.
* Supported by Google.
* </pre>
*
* <code>repeated .com.google.openrtb.CompanionType companiontype = 20 [packed = true];</code>
* @param index The index of the element to return.
* @return The companiontype at the given index.
*/
@java.lang.Override
public com.particles.mes.protos.openrtb.CompanionType getCompaniontype(int index) {
return instance.getCompaniontype(index);
}
/**
* <pre>
* Supported DAAST companion ad types. Recommended if companion Banner
* objects are included through the companionad array.
* Supported by Google.
* </pre>
*
* <code>repeated .com.google.openrtb.CompanionType companiontype = 20 [packed = true];</code>
* @param index The index to set the value at.
* @param value The companiontype to set.
* @return This builder for chaining.
*/
public Builder setCompaniontype(
int index, com.particles.mes.protos.openrtb.CompanionType value) {
copyOnWrite();
instance.setCompaniontype(index, value);
return this;
}
/**
* <pre>
* Supported DAAST companion ad types. Recommended if companion Banner
* objects are included through the companionad array.
* Supported by Google.
* </pre>
*
* <code>repeated .com.google.openrtb.CompanionType companiontype = 20 [packed = true];</code>
* @param value The companiontype to add.
* @return This builder for chaining.
*/
public Builder addCompaniontype(com.particles.mes.protos.openrtb.CompanionType value) {
copyOnWrite();
instance.addCompaniontype(value);
return this;
}
/**
* <pre>
* Supported DAAST companion ad types. Recommended if companion Banner
* objects are included through the companionad array.
* Supported by Google.
* </pre>
*
* <code>repeated .com.google.openrtb.CompanionType companiontype = 20 [packed = true];</code>
* @param values The companiontype to add.
* @return This builder for chaining.
*/
public Builder addAllCompaniontype(
java.lang.Iterable<? extends com.particles.mes.protos.openrtb.CompanionType> values) {
copyOnWrite();
instance.addAllCompaniontype(values); return this;
}
/**
* <pre>
* Supported DAAST companion ad types. Recommended if companion Banner
* objects are included through the companionad array.
* Supported by Google.
* </pre>
*
* <code>repeated .com.google.openrtb.CompanionType companiontype = 20 [packed = true];</code>
* @return This builder for chaining.
*/
public Builder clearCompaniontype() {
copyOnWrite();
instance.clearCompaniontype();
return this;
}
/**
* <pre>
* The maximum number of ads that can be played in an ad pod.
* Not supported by Google.
* </pre>
*
* <code>optional int32 maxseq = 21;</code>
* @return Whether the maxseq field is set.
*/
@java.lang.Override
public boolean hasMaxseq() {
return instance.hasMaxseq();
}
/**
* <pre>
* The maximum number of ads that can be played in an ad pod.
* Not supported by Google.
* </pre>
*
* <code>optional int32 maxseq = 21;</code>
* @return The maxseq.
*/
@java.lang.Override
public int getMaxseq() {
return instance.getMaxseq();
}
/**
* <pre>
* The maximum number of ads that can be played in an ad pod.
* Not supported by Google.
* </pre>
*
* <code>optional int32 maxseq = 21;</code>
* @param value The maxseq to set.
* @return This builder for chaining.
*/
public Builder setMaxseq(int value) {
copyOnWrite();
instance.setMaxseq(value);
return this;
}
/**
* <pre>
* The maximum number of ads that can be played in an ad pod.
* Not supported by Google.
* </pre>
*
* <code>optional int32 maxseq = 21;</code>
* @return This builder for chaining.
*/
public Builder clearMaxseq() {
copyOnWrite();
instance.clearMaxseq();
return this;
}
/**
* <pre>
* Type of audio feed.
* Supported by Google.
* </pre>
*
* <code>optional .com.google.openrtb.FeedType feed = 22;</code>
* @return Whether the feed field is set.
*/
@java.lang.Override
public boolean hasFeed() {
return instance.hasFeed();
}
/**
* <pre>
* Type of audio feed.
* Supported by Google.
* </pre>
*
* <code>optional .com.google.openrtb.FeedType feed = 22;</code>
* @return The feed.
*/
@java.lang.Override
public com.particles.mes.protos.openrtb.FeedType getFeed() {
return instance.getFeed();
}
/**
* <pre>
* Type of audio feed.
* Supported by Google.
* </pre>
*
* <code>optional .com.google.openrtb.FeedType feed = 22;</code>
* @param value The enum numeric value on the wire for feed to set.
* @return This builder for chaining.
*/
public Builder setFeed(com.particles.mes.protos.openrtb.FeedType value) {
copyOnWrite();
instance.setFeed(value);
return this;
}
/**
* <pre>
* Type of audio feed.
* Supported by Google.
* </pre>
*
* <code>optional .com.google.openrtb.FeedType feed = 22;</code>
* @return This builder for chaining.
*/
public Builder clearFeed() {
copyOnWrite();
instance.clearFeed();
return this;
}
/**
* <pre>
* Indicates if the ad is stitched with audio content or delivered
* independently.
* Not supported by Google.
* </pre>
*
* <code>optional bool stitched = 23;</code>
* @return Whether the stitched field is set.
*/
@java.lang.Override
public boolean hasStitched() {
return instance.hasStitched();
}
/**
* <pre>
* Indicates if the ad is stitched with audio content or delivered
* independently.
* Not supported by Google.
* </pre>
*
* <code>optional bool stitched = 23;</code>
* @return The stitched.
*/
@java.lang.Override
public boolean getStitched() {
return instance.getStitched();
}
/**
* <pre>
* Indicates if the ad is stitched with audio content or delivered
* independently.
* Not supported by Google.
* </pre>
*
* <code>optional bool stitched = 23;</code>
* @param value The stitched to set.
* @return This builder for chaining.
*/
public Builder setStitched(boolean value) {
copyOnWrite();
instance.setStitched(value);
return this;
}
/**
* <pre>
* Indicates if the ad is stitched with audio content or delivered
* independently.
* Not supported by Google.
* </pre>
*
* <code>optional bool stitched = 23;</code>
* @return This builder for chaining.
*/
public Builder clearStitched() {
copyOnWrite();
instance.clearStitched();
return this;
}
/**
* <pre>
* Volume normalization mode.
* Not supported by Google.
* </pre>
*
* <code>optional .com.google.openrtb.VolumeNormalizationMode nvol = 24;</code>
* @return Whether the nvol field is set.
*/
@java.lang.Override
public boolean hasNvol() {
return instance.hasNvol();
}
/**
* <pre>
* Volume normalization mode.
* Not supported by Google.
* </pre>
*
* <code>optional .com.google.openrtb.VolumeNormalizationMode nvol = 24;</code>
* @return The nvol.
*/
@java.lang.Override
public com.particles.mes.protos.openrtb.VolumeNormalizationMode getNvol() {
return instance.getNvol();
}
/**
* <pre>
* Volume normalization mode.
* Not supported by Google.
* </pre>
*
* <code>optional .com.google.openrtb.VolumeNormalizationMode nvol = 24;</code>
* @param value The enum numeric value on the wire for nvol to set.
* @return This builder for chaining.
*/
public Builder setNvol(com.particles.mes.protos.openrtb.VolumeNormalizationMode value) {
copyOnWrite();
instance.setNvol(value);
return this;
}
/**
* <pre>
* Volume normalization mode.
* Not supported by Google.
* </pre>
*
* <code>optional .com.google.openrtb.VolumeNormalizationMode nvol = 24;</code>
* @return This builder for chaining.
*/
public Builder clearNvol() {
copyOnWrite();
instance.clearNvol();
return this;
}
// @@protoc_insertion_point(builder_scope:com.google.openrtb.BidRequest.Imp.Audio)
}
private byte memoizedIsInitialized = 2;
@java.lang.Override
@java.lang.SuppressWarnings({"unchecked", "fallthrough"})
protected final java.lang.Object dynamicMethod(
com.google.protobuf.GeneratedMessageLite.MethodToInvoke method,
java.lang.Object arg0, java.lang.Object arg1) {
switch (method) {
case NEW_MUTABLE_INSTANCE: {
return new com.particles.mes.protos.openrtb.BidRequest.Imp.Audio();
}
case NEW_BUILDER: {
return new Builder();
}
case BUILD_MESSAGE_INFO: {
java.lang.Object[] objects = new java.lang.Object[] {
"bitField0_",
"mimes_",
"minduration_",
"maxduration_",
"protocols_",
com.particles.mes.protos.openrtb.Protocol.internalGetVerifier(),
"startdelay_",
"sequence_",
"battr_",
com.particles.mes.protos.openrtb.CreativeAttribute.internalGetVerifier(),
"maxextended_",
"minbitrate_",
"maxbitrate_",
"delivery_",
com.particles.mes.protos.openrtb.ContentDeliveryMethod.internalGetVerifier(),
"companionad_",
com.particles.mes.protos.openrtb.BidRequest.Imp.Banner.class,
"api_",
com.particles.mes.protos.openrtb.APIFramework.internalGetVerifier(),
"companiontype_",
com.particles.mes.protos.openrtb.CompanionType.internalGetVerifier(),
"maxseq_",
"feed_",
com.particles.mes.protos.openrtb.FeedType.internalGetVerifier(),
"stitched_",
"nvol_",
com.particles.mes.protos.openrtb.VolumeNormalizationMode.internalGetVerifier(),
"poddur_",
"rqddurs_",
"podid_",
"podseq_",
com.particles.mes.protos.openrtb.PodSequence.internalGetVerifier(),
"slotinpod_",
com.particles.mes.protos.openrtb.SlotPositionInPod.internalGetVerifier(),
"mincpmpersec_",
};
java.lang.String info =
"\u0001\u0018\u0000\u0001\u0001\u001e\u0018\u0000\b\u0001\u0001\u001a\u0002\u1004" +
"\u0000\u0003\u1004\u0001\u0004,\u0005\u1004\u0003\u0006\u1004\u0006\u0007,\b\u1004" +
"\t\t\u1004\n\n\u1004\u000b\u000b,\f\u041b\r,\u0014,\u0015\u1004\f\u0016\u100c\r\u0017" +
"\u1007\u000e\u0018\u100c\u000f\u0019\u1004\u0002\u001a\'\u001b\u1008\u0004\u001c" +
"\u100c\u0005\u001d\u100c\u0007\u001e\u1000\b";
return newMessageInfo(DEFAULT_INSTANCE, info, objects);
}
// fall through
case GET_DEFAULT_INSTANCE: {
return DEFAULT_INSTANCE;
}
case GET_PARSER: {
com.google.protobuf.Parser<com.particles.mes.protos.openrtb.BidRequest.Imp.Audio> parser = PARSER;
if (parser == null) {
synchronized (com.particles.mes.protos.openrtb.BidRequest.Imp.Audio.class) {
parser = PARSER;
if (parser == null) {
parser =
new DefaultInstanceBasedParser<com.particles.mes.protos.openrtb.BidRequest.Imp.Audio>(
DEFAULT_INSTANCE);
PARSER = parser;
}
}
}
return parser;
}
case GET_MEMOIZED_IS_INITIALIZED: {
return memoizedIsInitialized;
}
case SET_MEMOIZED_IS_INITIALIZED: {
memoizedIsInitialized = (byte) (arg0 == null ? 0 : 1);
return null;
}
}
throw new UnsupportedOperationException();
}
// @@protoc_insertion_point(class_scope:com.google.openrtb.BidRequest.Imp.Audio)
private static final com.particles.mes.protos.openrtb.BidRequest.Imp.Audio DEFAULT_INSTANCE;
static {
Audio defaultInstance = new Audio();
// New instances are implicitly immutable so no need to make
// immutable.
DEFAULT_INSTANCE = defaultInstance;
com.google.protobuf.GeneratedMessageLite.registerDefaultInstance(
Audio.class, defaultInstance);
}
public static com.particles.mes.protos.openrtb.BidRequest.Imp.Audio getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static volatile com.google.protobuf.Parser<Audio> PARSER;
public static com.google.protobuf.Parser<Audio> parser() {
return DEFAULT_INSTANCE.getParserForType();
}
}
public interface PmpOrBuilder extends
// @@protoc_insertion_point(interface_extends:com.google.openrtb.BidRequest.Imp.Pmp)
com.google.protobuf.GeneratedMessageLite.
ExtendableMessageOrBuilder<
Pmp, Pmp.Builder> {
/**
* <pre>
* Indicator of auction eligibility to seats named in the Direct Deals
* object, where false = all bids are accepted, true = bids are restricted
* to the deals specified and the terms thereof.
* Supported by Google.
* </pre>
*
* <code>optional bool private_auction = 1 [default = false];</code>
* @return Whether the privateAuction field is set.
*/
boolean hasPrivateAuction();
/**
* <pre>
* Indicator of auction eligibility to seats named in the Direct Deals
* object, where false = all bids are accepted, true = bids are restricted
* to the deals specified and the terms thereof.
* Supported by Google.
* </pre>
*
* <code>optional bool private_auction = 1 [default = false];</code>
* @return The privateAuction.
*/
boolean getPrivateAuction();
/**
* <pre>
* Array of Deal (Section 3.2.18) objects that convey the specific deals
* applicable to this impression.
* Supported by Google.
* </pre>
*
* <code>repeated .com.google.openrtb.BidRequest.Imp.Pmp.Deal deals = 2;</code>
*/
java.util.List<com.particles.mes.protos.openrtb.BidRequest.Imp.Pmp.Deal>
getDealsList();
/**
* <pre>
* Array of Deal (Section 3.2.18) objects that convey the specific deals
* applicable to this impression.
* Supported by Google.
* </pre>
*
* <code>repeated .com.google.openrtb.BidRequest.Imp.Pmp.Deal deals = 2;</code>
*/
com.particles.mes.protos.openrtb.BidRequest.Imp.Pmp.Deal getDeals(int index);
/**
* <pre>
* Array of Deal (Section 3.2.18) objects that convey the specific deals
* applicable to this impression.
* Supported by Google.
* </pre>
*
* <code>repeated .com.google.openrtb.BidRequest.Imp.Pmp.Deal deals = 2;</code>
*/
int getDealsCount();
}
/**
* <pre>
* OpenRTB 2.2: This object is the private marketplace container for
* direct deals between buyers and sellers that may pertain to this
* impression. The actual deals are represented as a collection of
* Deal objects. Refer to Section 7.2 for more details.
* </pre>
*
* Protobuf type {@code com.google.openrtb.BidRequest.Imp.Pmp}
*/
public static final class Pmp extends
com.google.protobuf.GeneratedMessageLite.ExtendableMessage<
Pmp, Pmp.Builder> implements
// @@protoc_insertion_point(message_implements:com.google.openrtb.BidRequest.Imp.Pmp)
PmpOrBuilder {
private Pmp() {
deals_ = emptyProtobufList();
}
public interface DealOrBuilder extends
// @@protoc_insertion_point(interface_extends:com.google.openrtb.BidRequest.Imp.Pmp.Deal)
com.google.protobuf.GeneratedMessageLite.
ExtendableMessageOrBuilder<
Deal, Deal.Builder> {
/**
* <pre>
* A unique identifier for the direct deal.
* REQUIRED by the OpenRTB specification.
* Supported by Google.
* </pre>
*
* <code>required string id = 1;</code>
* @return Whether the id field is set.
*/
boolean hasId();
/**
* <pre>
* A unique identifier for the direct deal.
* REQUIRED by the OpenRTB specification.
* Supported by Google.
* </pre>
*
* <code>required string id = 1;</code>
* @return The id.
*/
java.lang.String getId();
/**
* <pre>
* A unique identifier for the direct deal.
* REQUIRED by the OpenRTB specification.
* Supported by Google.
* </pre>
*
* <code>required string id = 1;</code>
* @return The bytes for id.
*/
com.google.protobuf.ByteString
getIdBytes();
/**
* <pre>
* Minimum bid for this impression expressed in CPM.
* Supported by Google.
* </pre>
*
* <code>optional double bidfloor = 2 [default = 0];</code>
* @return Whether the bidfloor field is set.
*/
boolean hasBidfloor();
/**
* <pre>
* Minimum bid for this impression expressed in CPM.
* Supported by Google.
* </pre>
*
* <code>optional double bidfloor = 2 [default = 0];</code>
* @return The bidfloor.
*/
double getBidfloor();
/**
* <pre>
* Currency specified using ISO-4217 alpha codes. This may be different
* from bid currency returned by bidder if this is allowed
* by the exchange.
* Supported by Google.
* </pre>
*
* <code>optional string bidfloorcur = 3 [default = "USD"];</code>
* @return Whether the bidfloorcur field is set.
*/
boolean hasBidfloorcur();
/**
* <pre>
* Currency specified using ISO-4217 alpha codes. This may be different
* from bid currency returned by bidder if this is allowed
* by the exchange.
* Supported by Google.
* </pre>
*
* <code>optional string bidfloorcur = 3 [default = "USD"];</code>
* @return The bidfloorcur.
*/
java.lang.String getBidfloorcur();
/**
* <pre>
* Currency specified using ISO-4217 alpha codes. This may be different
* from bid currency returned by bidder if this is allowed
* by the exchange.
* Supported by Google.
* </pre>
*
* <code>optional string bidfloorcur = 3 [default = "USD"];</code>
* @return The bytes for bidfloorcur.
*/
com.google.protobuf.ByteString
getBidfloorcurBytes();
/**
* <pre>
* Allowlist of buyer seats (for example, advertisers, agencies) that
* can bid on this deal. IDs of seats and knowledge of the buyer's
* customers to which they refer must be coordinated between bidders and
* the exchange a priori. Omission implies no seat restrictions.
* Supported by Google.
* </pre>
*
* <code>repeated string wseat = 4;</code>
* @return A list containing the wseat.
*/
java.util.List<java.lang.String>
getWseatList();
/**
* <pre>
* Allowlist of buyer seats (for example, advertisers, agencies) that
* can bid on this deal. IDs of seats and knowledge of the buyer's
* customers to which they refer must be coordinated between bidders and
* the exchange a priori. Omission implies no seat restrictions.
* Supported by Google.
* </pre>
*
* <code>repeated string wseat = 4;</code>
* @return The count of wseat.
*/
int getWseatCount();
/**
* <pre>
* Allowlist of buyer seats (for example, advertisers, agencies) that
* can bid on this deal. IDs of seats and knowledge of the buyer's
* customers to which they refer must be coordinated between bidders and
* the exchange a priori. Omission implies no seat restrictions.
* Supported by Google.
* </pre>
*
* <code>repeated string wseat = 4;</code>
* @param index The index of the element to return.
* @return The wseat at the given index.
*/
java.lang.String getWseat(int index);
/**
* <pre>
* Allowlist of buyer seats (for example, advertisers, agencies) that
* can bid on this deal. IDs of seats and knowledge of the buyer's
* customers to which they refer must be coordinated between bidders and
* the exchange a priori. Omission implies no seat restrictions.
* Supported by Google.
* </pre>
*
* <code>repeated string wseat = 4;</code>
* @param index The index of the element to return.
* @return The wseat at the given index.
*/
com.google.protobuf.ByteString
getWseatBytes(int index);
/**
* <pre>
* Array of advertiser domains (for example, advertiser.com) allowed to
* bid on this deal. Omission implies no advertiser restrictions.
* Not supported by Google.
* </pre>
*
* <code>repeated string wadomain = 5;</code>
* @return A list containing the wadomain.
*/
java.util.List<java.lang.String>
getWadomainList();
/**
* <pre>
* Array of advertiser domains (for example, advertiser.com) allowed to
* bid on this deal. Omission implies no advertiser restrictions.
* Not supported by Google.
* </pre>
*
* <code>repeated string wadomain = 5;</code>
* @return The count of wadomain.
*/
int getWadomainCount();
/**
* <pre>
* Array of advertiser domains (for example, advertiser.com) allowed to
* bid on this deal. Omission implies no advertiser restrictions.
* Not supported by Google.
* </pre>
*
* <code>repeated string wadomain = 5;</code>
* @param index The index of the element to return.
* @return The wadomain at the given index.
*/
java.lang.String getWadomain(int index);
/**
* <pre>
* Array of advertiser domains (for example, advertiser.com) allowed to
* bid on this deal. Omission implies no advertiser restrictions.
* Not supported by Google.
* </pre>
*
* <code>repeated string wadomain = 5;</code>
* @param index The index of the element to return.
* @return The wadomain at the given index.
*/
com.google.protobuf.ByteString
getWadomainBytes(int index);
/**
* <pre>
* Optional override of the overall auction type of the bid request.
* Supports the additional value FIXED_PRICE: the value passed in
* bidfloor is the agreed upon deal price.
* Supported by Google.
* </pre>
*
* <code>optional .com.google.openrtb.AuctionType at = 6;</code>
* @return Whether the at field is set.
*/
boolean hasAt();
/**
* <pre>
* Optional override of the overall auction type of the bid request.
* Supports the additional value FIXED_PRICE: the value passed in
* bidfloor is the agreed upon deal price.
* Supported by Google.
* </pre>
*
* <code>optional .com.google.openrtb.AuctionType at = 6;</code>
* @return The at.
*/
com.particles.mes.protos.openrtb.AuctionType getAt();
}
/**
* <pre>
* OpenRTB 2.2: This object constitutes a specific deal that was struck
* a priori between a buyer and a seller. Its presence with the Pmp
* collection indicates that this impression is available under the terms
* of that deal. Refer to Section 7.2 for more details.
* </pre>
*
* Protobuf type {@code com.google.openrtb.BidRequest.Imp.Pmp.Deal}
*/
public static final class Deal extends
com.google.protobuf.GeneratedMessageLite.ExtendableMessage<
Deal, Deal.Builder> implements
// @@protoc_insertion_point(message_implements:com.google.openrtb.BidRequest.Imp.Pmp.Deal)
DealOrBuilder {
private Deal() {
id_ = "";
bidfloorcur_ = "USD";
wseat_ = com.google.protobuf.GeneratedMessageLite.emptyProtobufList();
wadomain_ = com.google.protobuf.GeneratedMessageLite.emptyProtobufList();
at_ = 1;
}
private int bitField0_;
public static final int ID_FIELD_NUMBER = 1;
private java.lang.String id_;
/**
* <pre>
* A unique identifier for the direct deal.
* REQUIRED by the OpenRTB specification.
* Supported by Google.
* </pre>
*
* <code>required string id = 1;</code>
* @return Whether the id field is set.
*/
@java.lang.Override
public boolean hasId() {
return ((bitField0_ & 0x00000001) != 0);
}
/**
* <pre>
* A unique identifier for the direct deal.
* REQUIRED by the OpenRTB specification.
* Supported by Google.
* </pre>
*
* <code>required string id = 1;</code>
* @return The id.
*/
@java.lang.Override
public java.lang.String getId() {
return id_;
}
/**
* <pre>
* A unique identifier for the direct deal.
* REQUIRED by the OpenRTB specification.
* Supported by Google.
* </pre>
*
* <code>required string id = 1;</code>
* @return The bytes for id.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getIdBytes() {
return com.google.protobuf.ByteString.copyFromUtf8(id_);
}
/**
* <pre>
* A unique identifier for the direct deal.
* REQUIRED by the OpenRTB specification.
* Supported by Google.
* </pre>
*
* <code>required string id = 1;</code>
* @param value The id to set.
*/
private void setId(
java.lang.String value) {
java.lang.Class<?> valueClass = value.getClass();
bitField0_ |= 0x00000001;
id_ = value;
}
/**
* <pre>
* A unique identifier for the direct deal.
* REQUIRED by the OpenRTB specification.
* Supported by Google.
* </pre>
*
* <code>required string id = 1;</code>
*/
private void clearId() {
bitField0_ = (bitField0_ & ~0x00000001);
id_ = getDefaultInstance().getId();
}
/**
* <pre>
* A unique identifier for the direct deal.
* REQUIRED by the OpenRTB specification.
* Supported by Google.
* </pre>
*
* <code>required string id = 1;</code>
* @param value The bytes for id to set.
*/
private void setIdBytes(
com.google.protobuf.ByteString value) {
id_ = value.toStringUtf8();
bitField0_ |= 0x00000001;
}
public static final int BIDFLOOR_FIELD_NUMBER = 2;
private double bidfloor_;
/**
* <pre>
* Minimum bid for this impression expressed in CPM.
* Supported by Google.
* </pre>
*
* <code>optional double bidfloor = 2 [default = 0];</code>
* @return Whether the bidfloor field is set.
*/
@java.lang.Override
public boolean hasBidfloor() {
return ((bitField0_ & 0x00000002) != 0);
}
/**
* <pre>
* Minimum bid for this impression expressed in CPM.
* Supported by Google.
* </pre>
*
* <code>optional double bidfloor = 2 [default = 0];</code>
* @return The bidfloor.
*/
@java.lang.Override
public double getBidfloor() {
return bidfloor_;
}
/**
* <pre>
* Minimum bid for this impression expressed in CPM.
* Supported by Google.
* </pre>
*
* <code>optional double bidfloor = 2 [default = 0];</code>
* @param value The bidfloor to set.
*/
private void setBidfloor(double value) {
bitField0_ |= 0x00000002;
bidfloor_ = value;
}
/**
* <pre>
* Minimum bid for this impression expressed in CPM.
* Supported by Google.
* </pre>
*
* <code>optional double bidfloor = 2 [default = 0];</code>
*/
private void clearBidfloor() {
bitField0_ = (bitField0_ & ~0x00000002);
bidfloor_ = 0D;
}
public static final int BIDFLOORCUR_FIELD_NUMBER = 3;
private java.lang.String bidfloorcur_;
/**
* <pre>
* Currency specified using ISO-4217 alpha codes. This may be different
* from bid currency returned by bidder if this is allowed
* by the exchange.
* Supported by Google.
* </pre>
*
* <code>optional string bidfloorcur = 3 [default = "USD"];</code>
* @return Whether the bidfloorcur field is set.
*/
@java.lang.Override
public boolean hasBidfloorcur() {
return ((bitField0_ & 0x00000004) != 0);
}
/**
* <pre>
* Currency specified using ISO-4217 alpha codes. This may be different
* from bid currency returned by bidder if this is allowed
* by the exchange.
* Supported by Google.
* </pre>
*
* <code>optional string bidfloorcur = 3 [default = "USD"];</code>
* @return The bidfloorcur.
*/
@java.lang.Override
public java.lang.String getBidfloorcur() {
return bidfloorcur_;
}
/**
* <pre>
* Currency specified using ISO-4217 alpha codes. This may be different
* from bid currency returned by bidder if this is allowed
* by the exchange.
* Supported by Google.
* </pre>
*
* <code>optional string bidfloorcur = 3 [default = "USD"];</code>
* @return The bytes for bidfloorcur.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getBidfloorcurBytes() {
return com.google.protobuf.ByteString.copyFromUtf8(bidfloorcur_);
}
/**
* <pre>
* Currency specified using ISO-4217 alpha codes. This may be different
* from bid currency returned by bidder if this is allowed
* by the exchange.
* Supported by Google.
* </pre>
*
* <code>optional string bidfloorcur = 3 [default = "USD"];</code>
* @param value The bidfloorcur to set.
*/
private void setBidfloorcur(
java.lang.String value) {
java.lang.Class<?> valueClass = value.getClass();
bitField0_ |= 0x00000004;
bidfloorcur_ = value;
}
/**
* <pre>
* Currency specified using ISO-4217 alpha codes. This may be different
* from bid currency returned by bidder if this is allowed
* by the exchange.
* Supported by Google.
* </pre>
*
* <code>optional string bidfloorcur = 3 [default = "USD"];</code>
*/
private void clearBidfloorcur() {
bitField0_ = (bitField0_ & ~0x00000004);
bidfloorcur_ = getDefaultInstance().getBidfloorcur();
}
/**
* <pre>
* Currency specified using ISO-4217 alpha codes. This may be different
* from bid currency returned by bidder if this is allowed
* by the exchange.
* Supported by Google.
* </pre>
*
* <code>optional string bidfloorcur = 3 [default = "USD"];</code>
* @param value The bytes for bidfloorcur to set.
*/
private void setBidfloorcurBytes(
com.google.protobuf.ByteString value) {
bidfloorcur_ = value.toStringUtf8();
bitField0_ |= 0x00000004;
}
public static final int WSEAT_FIELD_NUMBER = 4;
private com.google.protobuf.Internal.ProtobufList<java.lang.String> wseat_;
/**
* <pre>
* Allowlist of buyer seats (for example, advertisers, agencies) that
* can bid on this deal. IDs of seats and knowledge of the buyer's
* customers to which they refer must be coordinated between bidders and
* the exchange a priori. Omission implies no seat restrictions.
* Supported by Google.
* </pre>
*
* <code>repeated string wseat = 4;</code>
* @return A list containing the wseat.
*/
@java.lang.Override
public java.util.List<java.lang.String> getWseatList() {
return wseat_;
}
/**
* <pre>
* Allowlist of buyer seats (for example, advertisers, agencies) that
* can bid on this deal. IDs of seats and knowledge of the buyer's
* customers to which they refer must be coordinated between bidders and
* the exchange a priori. Omission implies no seat restrictions.
* Supported by Google.
* </pre>
*
* <code>repeated string wseat = 4;</code>
* @return The count of wseat.
*/
@java.lang.Override
public int getWseatCount() {
return wseat_.size();
}
/**
* <pre>
* Allowlist of buyer seats (for example, advertisers, agencies) that
* can bid on this deal. IDs of seats and knowledge of the buyer's
* customers to which they refer must be coordinated between bidders and
* the exchange a priori. Omission implies no seat restrictions.
* Supported by Google.
* </pre>
*
* <code>repeated string wseat = 4;</code>
* @param index The index of the element to return.
* @return The wseat at the given index.
*/
@java.lang.Override
public java.lang.String getWseat(int index) {
return wseat_.get(index);
}
/**
* <pre>
* Allowlist of buyer seats (for example, advertisers, agencies) that
* can bid on this deal. IDs of seats and knowledge of the buyer's
* customers to which they refer must be coordinated between bidders and
* the exchange a priori. Omission implies no seat restrictions.
* Supported by Google.
* </pre>
*
* <code>repeated string wseat = 4;</code>
* @param index The index of the value to return.
* @return The bytes of the wseat at the given index.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getWseatBytes(int index) {
return com.google.protobuf.ByteString.copyFromUtf8(
wseat_.get(index));
}
private void ensureWseatIsMutable() {
com.google.protobuf.Internal.ProtobufList<java.lang.String> tmp =
wseat_; if (!tmp.isModifiable()) {
wseat_ =
com.google.protobuf.GeneratedMessageLite.mutableCopy(tmp);
}
}
/**
* <pre>
* Allowlist of buyer seats (for example, advertisers, agencies) that
* can bid on this deal. IDs of seats and knowledge of the buyer's
* customers to which they refer must be coordinated between bidders and
* the exchange a priori. Omission implies no seat restrictions.
* Supported by Google.
* </pre>
*
* <code>repeated string wseat = 4;</code>
* @param index The index to set the value at.
* @param value The wseat to set.
*/
private void setWseat(
int index, java.lang.String value) {
java.lang.Class<?> valueClass = value.getClass();
ensureWseatIsMutable();
wseat_.set(index, value);
}
/**
* <pre>
* Allowlist of buyer seats (for example, advertisers, agencies) that
* can bid on this deal. IDs of seats and knowledge of the buyer's
* customers to which they refer must be coordinated between bidders and
* the exchange a priori. Omission implies no seat restrictions.
* Supported by Google.
* </pre>
*
* <code>repeated string wseat = 4;</code>
* @param value The wseat to add.
*/
private void addWseat(
java.lang.String value) {
java.lang.Class<?> valueClass = value.getClass();
ensureWseatIsMutable();
wseat_.add(value);
}
/**
* <pre>
* Allowlist of buyer seats (for example, advertisers, agencies) that
* can bid on this deal. IDs of seats and knowledge of the buyer's
* customers to which they refer must be coordinated between bidders and
* the exchange a priori. Omission implies no seat restrictions.
* Supported by Google.
* </pre>
*
* <code>repeated string wseat = 4;</code>
* @param values The wseat to add.
*/
private void addAllWseat(
java.lang.Iterable<java.lang.String> values) {
ensureWseatIsMutable();
com.google.protobuf.AbstractMessageLite.addAll(
values, wseat_);
}
/**
* <pre>
* Allowlist of buyer seats (for example, advertisers, agencies) that
* can bid on this deal. IDs of seats and knowledge of the buyer's
* customers to which they refer must be coordinated between bidders and
* the exchange a priori. Omission implies no seat restrictions.
* Supported by Google.
* </pre>
*
* <code>repeated string wseat = 4;</code>
*/
private void clearWseat() {
wseat_ = com.google.protobuf.GeneratedMessageLite.emptyProtobufList();
}
/**
* <pre>
* Allowlist of buyer seats (for example, advertisers, agencies) that
* can bid on this deal. IDs of seats and knowledge of the buyer's
* customers to which they refer must be coordinated between bidders and
* the exchange a priori. Omission implies no seat restrictions.
* Supported by Google.
* </pre>
*
* <code>repeated string wseat = 4;</code>
* @param value The bytes of the wseat to add.
*/
private void addWseatBytes(
com.google.protobuf.ByteString value) {
ensureWseatIsMutable();
wseat_.add(value.toStringUtf8());
}
public static final int WADOMAIN_FIELD_NUMBER = 5;
private com.google.protobuf.Internal.ProtobufList<java.lang.String> wadomain_;
/**
* <pre>
* Array of advertiser domains (for example, advertiser.com) allowed to
* bid on this deal. Omission implies no advertiser restrictions.
* Not supported by Google.
* </pre>
*
* <code>repeated string wadomain = 5;</code>
* @return A list containing the wadomain.
*/
@java.lang.Override
public java.util.List<java.lang.String> getWadomainList() {
return wadomain_;
}
/**
* <pre>
* Array of advertiser domains (for example, advertiser.com) allowed to
* bid on this deal. Omission implies no advertiser restrictions.
* Not supported by Google.
* </pre>
*
* <code>repeated string wadomain = 5;</code>
* @return The count of wadomain.
*/
@java.lang.Override
public int getWadomainCount() {
return wadomain_.size();
}
/**
* <pre>
* Array of advertiser domains (for example, advertiser.com) allowed to
* bid on this deal. Omission implies no advertiser restrictions.
* Not supported by Google.
* </pre>
*
* <code>repeated string wadomain = 5;</code>
* @param index The index of the element to return.
* @return The wadomain at the given index.
*/
@java.lang.Override
public java.lang.String getWadomain(int index) {
return wadomain_.get(index);
}
/**
* <pre>
* Array of advertiser domains (for example, advertiser.com) allowed to
* bid on this deal. Omission implies no advertiser restrictions.
* Not supported by Google.
* </pre>
*
* <code>repeated string wadomain = 5;</code>
* @param index The index of the value to return.
* @return The bytes of the wadomain at the given index.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getWadomainBytes(int index) {
return com.google.protobuf.ByteString.copyFromUtf8(
wadomain_.get(index));
}
private void ensureWadomainIsMutable() {
com.google.protobuf.Internal.ProtobufList<java.lang.String> tmp =
wadomain_; if (!tmp.isModifiable()) {
wadomain_ =
com.google.protobuf.GeneratedMessageLite.mutableCopy(tmp);
}
}
/**
* <pre>
* Array of advertiser domains (for example, advertiser.com) allowed to
* bid on this deal. Omission implies no advertiser restrictions.
* Not supported by Google.
* </pre>
*
* <code>repeated string wadomain = 5;</code>
* @param index The index to set the value at.
* @param value The wadomain to set.
*/
private void setWadomain(
int index, java.lang.String value) {
java.lang.Class<?> valueClass = value.getClass();
ensureWadomainIsMutable();
wadomain_.set(index, value);
}
/**
* <pre>
* Array of advertiser domains (for example, advertiser.com) allowed to
* bid on this deal. Omission implies no advertiser restrictions.
* Not supported by Google.
* </pre>
*
* <code>repeated string wadomain = 5;</code>
* @param value The wadomain to add.
*/
private void addWadomain(
java.lang.String value) {
java.lang.Class<?> valueClass = value.getClass();
ensureWadomainIsMutable();
wadomain_.add(value);
}
/**
* <pre>
* Array of advertiser domains (for example, advertiser.com) allowed to
* bid on this deal. Omission implies no advertiser restrictions.
* Not supported by Google.
* </pre>
*
* <code>repeated string wadomain = 5;</code>
* @param values The wadomain to add.
*/
private void addAllWadomain(
java.lang.Iterable<java.lang.String> values) {
ensureWadomainIsMutable();
com.google.protobuf.AbstractMessageLite.addAll(
values, wadomain_);
}
/**
* <pre>
* Array of advertiser domains (for example, advertiser.com) allowed to
* bid on this deal. Omission implies no advertiser restrictions.
* Not supported by Google.
* </pre>
*
* <code>repeated string wadomain = 5;</code>
*/
private void clearWadomain() {
wadomain_ = com.google.protobuf.GeneratedMessageLite.emptyProtobufList();
}
/**
* <pre>
* Array of advertiser domains (for example, advertiser.com) allowed to
* bid on this deal. Omission implies no advertiser restrictions.
* Not supported by Google.
* </pre>
*
* <code>repeated string wadomain = 5;</code>
* @param value The bytes of the wadomain to add.
*/
private void addWadomainBytes(
com.google.protobuf.ByteString value) {
ensureWadomainIsMutable();
wadomain_.add(value.toStringUtf8());
}
public static final int AT_FIELD_NUMBER = 6;
private int at_;
/**
* <pre>
* Optional override of the overall auction type of the bid request.
* Supports the additional value FIXED_PRICE: the value passed in
* bidfloor is the agreed upon deal price.
* Supported by Google.
* </pre>
*
* <code>optional .com.google.openrtb.AuctionType at = 6;</code>
* @return Whether the at field is set.
*/
@java.lang.Override
public boolean hasAt() {
return ((bitField0_ & 0x00000008) != 0);
}
/**
* <pre>
* Optional override of the overall auction type of the bid request.
* Supports the additional value FIXED_PRICE: the value passed in
* bidfloor is the agreed upon deal price.
* Supported by Google.
* </pre>
*
* <code>optional .com.google.openrtb.AuctionType at = 6;</code>
* @return The at.
*/
@java.lang.Override
public com.particles.mes.protos.openrtb.AuctionType getAt() {
com.particles.mes.protos.openrtb.AuctionType result = com.particles.mes.protos.openrtb.AuctionType.forNumber(at_);
return result == null ? com.particles.mes.protos.openrtb.AuctionType.FIRST_PRICE : result;
}
/**
* <pre>
* Optional override of the overall auction type of the bid request.
* Supports the additional value FIXED_PRICE: the value passed in
* bidfloor is the agreed upon deal price.
* Supported by Google.
* </pre>
*
* <code>optional .com.google.openrtb.AuctionType at = 6;</code>
* @param value The at to set.
*/
private void setAt(com.particles.mes.protos.openrtb.AuctionType value) {
at_ = value.getNumber();
bitField0_ |= 0x00000008;
}
/**
* <pre>
* Optional override of the overall auction type of the bid request.
* Supports the additional value FIXED_PRICE: the value passed in
* bidfloor is the agreed upon deal price.
* Supported by Google.
* </pre>
*
* <code>optional .com.google.openrtb.AuctionType at = 6;</code>
*/
private void clearAt() {
bitField0_ = (bitField0_ & ~0x00000008);
at_ = 1;
}
public static com.particles.mes.protos.openrtb.BidRequest.Imp.Pmp.Deal parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, data);
}
public static com.particles.mes.protos.openrtb.BidRequest.Imp.Pmp.Deal parseFrom(
java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, data, extensionRegistry);
}
public static com.particles.mes.protos.openrtb.BidRequest.Imp.Pmp.Deal parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, data);
}
public static com.particles.mes.protos.openrtb.BidRequest.Imp.Pmp.Deal parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, data, extensionRegistry);
}
public static com.particles.mes.protos.openrtb.BidRequest.Imp.Pmp.Deal parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, data);
}
public static com.particles.mes.protos.openrtb.BidRequest.Imp.Pmp.Deal parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, data, extensionRegistry);
}
public static com.particles.mes.protos.openrtb.BidRequest.Imp.Pmp.Deal parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, input);
}
public static com.particles.mes.protos.openrtb.BidRequest.Imp.Pmp.Deal parseFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, input, extensionRegistry);
}
public static com.particles.mes.protos.openrtb.BidRequest.Imp.Pmp.Deal parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return parseDelimitedFrom(DEFAULT_INSTANCE, input);
}
public static com.particles.mes.protos.openrtb.BidRequest.Imp.Pmp.Deal parseDelimitedFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return parseDelimitedFrom(DEFAULT_INSTANCE, input, extensionRegistry);
}
public static com.particles.mes.protos.openrtb.BidRequest.Imp.Pmp.Deal parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, input);
}
public static com.particles.mes.protos.openrtb.BidRequest.Imp.Pmp.Deal parseFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, input, extensionRegistry);
}
public static Builder newBuilder() {
return (Builder) DEFAULT_INSTANCE.createBuilder();
}
public static Builder newBuilder(com.particles.mes.protos.openrtb.BidRequest.Imp.Pmp.Deal prototype) {
return (Builder) DEFAULT_INSTANCE.createBuilder(prototype);
}
/**
* <pre>
* OpenRTB 2.2: This object constitutes a specific deal that was struck
* a priori between a buyer and a seller. Its presence with the Pmp
* collection indicates that this impression is available under the terms
* of that deal. Refer to Section 7.2 for more details.
* </pre>
*
* Protobuf type {@code com.google.openrtb.BidRequest.Imp.Pmp.Deal}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageLite.ExtendableBuilder<
com.particles.mes.protos.openrtb.BidRequest.Imp.Pmp.Deal, Builder> implements
// @@protoc_insertion_point(builder_implements:com.google.openrtb.BidRequest.Imp.Pmp.Deal)
com.particles.mes.protos.openrtb.BidRequest.Imp.Pmp.DealOrBuilder {
// Construct using com.particles.mes.protos.openrtb.BidRequest.Imp.Pmp.Deal.newBuilder()
private Builder() {
super(DEFAULT_INSTANCE);
}
/**
* <pre>
* A unique identifier for the direct deal.
* REQUIRED by the OpenRTB specification.
* Supported by Google.
* </pre>
*
* <code>required string id = 1;</code>
* @return Whether the id field is set.
*/
@java.lang.Override
public boolean hasId() {
return instance.hasId();
}
/**
* <pre>
* A unique identifier for the direct deal.
* REQUIRED by the OpenRTB specification.
* Supported by Google.
* </pre>
*
* <code>required string id = 1;</code>
* @return The id.
*/
@java.lang.Override
public java.lang.String getId() {
return instance.getId();
}
/**
* <pre>
* A unique identifier for the direct deal.
* REQUIRED by the OpenRTB specification.
* Supported by Google.
* </pre>
*
* <code>required string id = 1;</code>
* @return The bytes for id.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getIdBytes() {
return instance.getIdBytes();
}
/**
* <pre>
* A unique identifier for the direct deal.
* REQUIRED by the OpenRTB specification.
* Supported by Google.
* </pre>
*
* <code>required string id = 1;</code>
* @param value The id to set.
* @return This builder for chaining.
*/
public Builder setId(
java.lang.String value) {
copyOnWrite();
instance.setId(value);
return this;
}
/**
* <pre>
* A unique identifier for the direct deal.
* REQUIRED by the OpenRTB specification.
* Supported by Google.
* </pre>
*
* <code>required string id = 1;</code>
* @return This builder for chaining.
*/
public Builder clearId() {
copyOnWrite();
instance.clearId();
return this;
}
/**
* <pre>
* A unique identifier for the direct deal.
* REQUIRED by the OpenRTB specification.
* Supported by Google.
* </pre>
*
* <code>required string id = 1;</code>
* @param value The bytes for id to set.
* @return This builder for chaining.
*/
public Builder setIdBytes(
com.google.protobuf.ByteString value) {
copyOnWrite();
instance.setIdBytes(value);
return this;
}
/**
* <pre>
* Minimum bid for this impression expressed in CPM.
* Supported by Google.
* </pre>
*
* <code>optional double bidfloor = 2 [default = 0];</code>
* @return Whether the bidfloor field is set.
*/
@java.lang.Override
public boolean hasBidfloor() {
return instance.hasBidfloor();
}
/**
* <pre>
* Minimum bid for this impression expressed in CPM.
* Supported by Google.
* </pre>
*
* <code>optional double bidfloor = 2 [default = 0];</code>
* @return The bidfloor.
*/
@java.lang.Override
public double getBidfloor() {
return instance.getBidfloor();
}
/**
* <pre>
* Minimum bid for this impression expressed in CPM.
* Supported by Google.
* </pre>
*
* <code>optional double bidfloor = 2 [default = 0];</code>
* @param value The bidfloor to set.
* @return This builder for chaining.
*/
public Builder setBidfloor(double value) {
copyOnWrite();
instance.setBidfloor(value);
return this;
}
/**
* <pre>
* Minimum bid for this impression expressed in CPM.
* Supported by Google.
* </pre>
*
* <code>optional double bidfloor = 2 [default = 0];</code>
* @return This builder for chaining.
*/
public Builder clearBidfloor() {
copyOnWrite();
instance.clearBidfloor();
return this;
}
/**
* <pre>
* Currency specified using ISO-4217 alpha codes. This may be different
* from bid currency returned by bidder if this is allowed
* by the exchange.
* Supported by Google.
* </pre>
*
* <code>optional string bidfloorcur = 3 [default = "USD"];</code>
* @return Whether the bidfloorcur field is set.
*/
@java.lang.Override
public boolean hasBidfloorcur() {
return instance.hasBidfloorcur();
}
/**
* <pre>
* Currency specified using ISO-4217 alpha codes. This may be different
* from bid currency returned by bidder if this is allowed
* by the exchange.
* Supported by Google.
* </pre>
*
* <code>optional string bidfloorcur = 3 [default = "USD"];</code>
* @return The bidfloorcur.
*/
@java.lang.Override
public java.lang.String getBidfloorcur() {
return instance.getBidfloorcur();
}
/**
* <pre>
* Currency specified using ISO-4217 alpha codes. This may be different
* from bid currency returned by bidder if this is allowed
* by the exchange.
* Supported by Google.
* </pre>
*
* <code>optional string bidfloorcur = 3 [default = "USD"];</code>
* @return The bytes for bidfloorcur.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getBidfloorcurBytes() {
return instance.getBidfloorcurBytes();
}
/**
* <pre>
* Currency specified using ISO-4217 alpha codes. This may be different
* from bid currency returned by bidder if this is allowed
* by the exchange.
* Supported by Google.
* </pre>
*
* <code>optional string bidfloorcur = 3 [default = "USD"];</code>
* @param value The bidfloorcur to set.
* @return This builder for chaining.
*/
public Builder setBidfloorcur(
java.lang.String value) {
copyOnWrite();
instance.setBidfloorcur(value);
return this;
}
/**
* <pre>
* Currency specified using ISO-4217 alpha codes. This may be different
* from bid currency returned by bidder if this is allowed
* by the exchange.
* Supported by Google.
* </pre>
*
* <code>optional string bidfloorcur = 3 [default = "USD"];</code>
* @return This builder for chaining.
*/
public Builder clearBidfloorcur() {
copyOnWrite();
instance.clearBidfloorcur();
return this;
}
/**
* <pre>
* Currency specified using ISO-4217 alpha codes. This may be different
* from bid currency returned by bidder if this is allowed
* by the exchange.
* Supported by Google.
* </pre>
*
* <code>optional string bidfloorcur = 3 [default = "USD"];</code>
* @param value The bytes for bidfloorcur to set.
* @return This builder for chaining.
*/
public Builder setBidfloorcurBytes(
com.google.protobuf.ByteString value) {
copyOnWrite();
instance.setBidfloorcurBytes(value);
return this;
}
/**
* <pre>
* Allowlist of buyer seats (for example, advertisers, agencies) that
* can bid on this deal. IDs of seats and knowledge of the buyer's
* customers to which they refer must be coordinated between bidders and
* the exchange a priori. Omission implies no seat restrictions.
* Supported by Google.
* </pre>
*
* <code>repeated string wseat = 4;</code>
* @return A list containing the wseat.
*/
@java.lang.Override
public java.util.List<java.lang.String>
getWseatList() {
return java.util.Collections.unmodifiableList(
instance.getWseatList());
}
/**
* <pre>
* Allowlist of buyer seats (for example, advertisers, agencies) that
* can bid on this deal. IDs of seats and knowledge of the buyer's
* customers to which they refer must be coordinated between bidders and
* the exchange a priori. Omission implies no seat restrictions.
* Supported by Google.
* </pre>
*
* <code>repeated string wseat = 4;</code>
* @return The count of wseat.
*/
@java.lang.Override
public int getWseatCount() {
return instance.getWseatCount();
}
/**
* <pre>
* Allowlist of buyer seats (for example, advertisers, agencies) that
* can bid on this deal. IDs of seats and knowledge of the buyer's
* customers to which they refer must be coordinated between bidders and
* the exchange a priori. Omission implies no seat restrictions.
* Supported by Google.
* </pre>
*
* <code>repeated string wseat = 4;</code>
* @param index The index of the element to return.
* @return The wseat at the given index.
*/
@java.lang.Override
public java.lang.String getWseat(int index) {
return instance.getWseat(index);
}
/**
* <pre>
* Allowlist of buyer seats (for example, advertisers, agencies) that
* can bid on this deal. IDs of seats and knowledge of the buyer's
* customers to which they refer must be coordinated between bidders and
* the exchange a priori. Omission implies no seat restrictions.
* Supported by Google.
* </pre>
*
* <code>repeated string wseat = 4;</code>
* @param index The index of the value to return.
* @return The bytes of the wseat at the given index.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getWseatBytes(int index) {
return instance.getWseatBytes(index);
}
/**
* <pre>
* Allowlist of buyer seats (for example, advertisers, agencies) that
* can bid on this deal. IDs of seats and knowledge of the buyer's
* customers to which they refer must be coordinated between bidders and
* the exchange a priori. Omission implies no seat restrictions.
* Supported by Google.
* </pre>
*
* <code>repeated string wseat = 4;</code>
* @param index The index to set the value at.
* @param value The wseat to set.
* @return This builder for chaining.
*/
public Builder setWseat(
int index, java.lang.String value) {
copyOnWrite();
instance.setWseat(index, value);
return this;
}
/**
* <pre>
* Allowlist of buyer seats (for example, advertisers, agencies) that
* can bid on this deal. IDs of seats and knowledge of the buyer's
* customers to which they refer must be coordinated between bidders and
* the exchange a priori. Omission implies no seat restrictions.
* Supported by Google.
* </pre>
*
* <code>repeated string wseat = 4;</code>
* @param value The wseat to add.
* @return This builder for chaining.
*/
public Builder addWseat(
java.lang.String value) {
copyOnWrite();
instance.addWseat(value);
return this;
}
/**
* <pre>
* Allowlist of buyer seats (for example, advertisers, agencies) that
* can bid on this deal. IDs of seats and knowledge of the buyer's
* customers to which they refer must be coordinated between bidders and
* the exchange a priori. Omission implies no seat restrictions.
* Supported by Google.
* </pre>
*
* <code>repeated string wseat = 4;</code>
* @param values The wseat to add.
* @return This builder for chaining.
*/
public Builder addAllWseat(
java.lang.Iterable<java.lang.String> values) {
copyOnWrite();
instance.addAllWseat(values);
return this;
}
/**
* <pre>
* Allowlist of buyer seats (for example, advertisers, agencies) that
* can bid on this deal. IDs of seats and knowledge of the buyer's
* customers to which they refer must be coordinated between bidders and
* the exchange a priori. Omission implies no seat restrictions.
* Supported by Google.
* </pre>
*
* <code>repeated string wseat = 4;</code>
* @return This builder for chaining.
*/
public Builder clearWseat() {
copyOnWrite();
instance.clearWseat();
return this;
}
/**
* <pre>
* Allowlist of buyer seats (for example, advertisers, agencies) that
* can bid on this deal. IDs of seats and knowledge of the buyer's
* customers to which they refer must be coordinated between bidders and
* the exchange a priori. Omission implies no seat restrictions.
* Supported by Google.
* </pre>
*
* <code>repeated string wseat = 4;</code>
* @param value The bytes of the wseat to add.
* @return This builder for chaining.
*/
public Builder addWseatBytes(
com.google.protobuf.ByteString value) {
copyOnWrite();
instance.addWseatBytes(value);
return this;
}
/**
* <pre>
* Array of advertiser domains (for example, advertiser.com) allowed to
* bid on this deal. Omission implies no advertiser restrictions.
* Not supported by Google.
* </pre>
*
* <code>repeated string wadomain = 5;</code>
* @return A list containing the wadomain.
*/
@java.lang.Override
public java.util.List<java.lang.String>
getWadomainList() {
return java.util.Collections.unmodifiableList(
instance.getWadomainList());
}
/**
* <pre>
* Array of advertiser domains (for example, advertiser.com) allowed to
* bid on this deal. Omission implies no advertiser restrictions.
* Not supported by Google.
* </pre>
*
* <code>repeated string wadomain = 5;</code>
* @return The count of wadomain.
*/
@java.lang.Override
public int getWadomainCount() {
return instance.getWadomainCount();
}
/**
* <pre>
* Array of advertiser domains (for example, advertiser.com) allowed to
* bid on this deal. Omission implies no advertiser restrictions.
* Not supported by Google.
* </pre>
*
* <code>repeated string wadomain = 5;</code>
* @param index The index of the element to return.
* @return The wadomain at the given index.
*/
@java.lang.Override
public java.lang.String getWadomain(int index) {
return instance.getWadomain(index);
}
/**
* <pre>
* Array of advertiser domains (for example, advertiser.com) allowed to
* bid on this deal. Omission implies no advertiser restrictions.
* Not supported by Google.
* </pre>
*
* <code>repeated string wadomain = 5;</code>
* @param index The index of the value to return.
* @return The bytes of the wadomain at the given index.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getWadomainBytes(int index) {
return instance.getWadomainBytes(index);
}
/**
* <pre>
* Array of advertiser domains (for example, advertiser.com) allowed to
* bid on this deal. Omission implies no advertiser restrictions.
* Not supported by Google.
* </pre>
*
* <code>repeated string wadomain = 5;</code>
* @param index The index to set the value at.
* @param value The wadomain to set.
* @return This builder for chaining.
*/
public Builder setWadomain(
int index, java.lang.String value) {
copyOnWrite();
instance.setWadomain(index, value);
return this;
}
/**
* <pre>
* Array of advertiser domains (for example, advertiser.com) allowed to
* bid on this deal. Omission implies no advertiser restrictions.
* Not supported by Google.
* </pre>
*
* <code>repeated string wadomain = 5;</code>
* @param value The wadomain to add.
* @return This builder for chaining.
*/
public Builder addWadomain(
java.lang.String value) {
copyOnWrite();
instance.addWadomain(value);
return this;
}
/**
* <pre>
* Array of advertiser domains (for example, advertiser.com) allowed to
* bid on this deal. Omission implies no advertiser restrictions.
* Not supported by Google.
* </pre>
*
* <code>repeated string wadomain = 5;</code>
* @param values The wadomain to add.
* @return This builder for chaining.
*/
public Builder addAllWadomain(
java.lang.Iterable<java.lang.String> values) {
copyOnWrite();
instance.addAllWadomain(values);
return this;
}
/**
* <pre>
* Array of advertiser domains (for example, advertiser.com) allowed to
* bid on this deal. Omission implies no advertiser restrictions.
* Not supported by Google.
* </pre>
*
* <code>repeated string wadomain = 5;</code>
* @return This builder for chaining.
*/
public Builder clearWadomain() {
copyOnWrite();
instance.clearWadomain();
return this;
}
/**
* <pre>
* Array of advertiser domains (for example, advertiser.com) allowed to
* bid on this deal. Omission implies no advertiser restrictions.
* Not supported by Google.
* </pre>
*
* <code>repeated string wadomain = 5;</code>
* @param value The bytes of the wadomain to add.
* @return This builder for chaining.
*/
public Builder addWadomainBytes(
com.google.protobuf.ByteString value) {
copyOnWrite();
instance.addWadomainBytes(value);
return this;
}
/**
* <pre>
* Optional override of the overall auction type of the bid request.
* Supports the additional value FIXED_PRICE: the value passed in
* bidfloor is the agreed upon deal price.
* Supported by Google.
* </pre>
*
* <code>optional .com.google.openrtb.AuctionType at = 6;</code>
* @return Whether the at field is set.
*/
@java.lang.Override
public boolean hasAt() {
return instance.hasAt();
}
/**
* <pre>
* Optional override of the overall auction type of the bid request.
* Supports the additional value FIXED_PRICE: the value passed in
* bidfloor is the agreed upon deal price.
* Supported by Google.
* </pre>
*
* <code>optional .com.google.openrtb.AuctionType at = 6;</code>
* @return The at.
*/
@java.lang.Override
public com.particles.mes.protos.openrtb.AuctionType getAt() {
return instance.getAt();
}
/**
* <pre>
* Optional override of the overall auction type of the bid request.
* Supports the additional value FIXED_PRICE: the value passed in
* bidfloor is the agreed upon deal price.
* Supported by Google.
* </pre>
*
* <code>optional .com.google.openrtb.AuctionType at = 6;</code>
* @param value The enum numeric value on the wire for at to set.
* @return This builder for chaining.
*/
public Builder setAt(com.particles.mes.protos.openrtb.AuctionType value) {
copyOnWrite();
instance.setAt(value);
return this;
}
/**
* <pre>
* Optional override of the overall auction type of the bid request.
* Supports the additional value FIXED_PRICE: the value passed in
* bidfloor is the agreed upon deal price.
* Supported by Google.
* </pre>
*
* <code>optional .com.google.openrtb.AuctionType at = 6;</code>
* @return This builder for chaining.
*/
public Builder clearAt() {
copyOnWrite();
instance.clearAt();
return this;
}
// @@protoc_insertion_point(builder_scope:com.google.openrtb.BidRequest.Imp.Pmp.Deal)
}
private byte memoizedIsInitialized = 2;
@java.lang.Override
@java.lang.SuppressWarnings({"unchecked", "fallthrough"})
protected final java.lang.Object dynamicMethod(
com.google.protobuf.GeneratedMessageLite.MethodToInvoke method,
java.lang.Object arg0, java.lang.Object arg1) {
switch (method) {
case NEW_MUTABLE_INSTANCE: {
return new com.particles.mes.protos.openrtb.BidRequest.Imp.Pmp.Deal();
}
case NEW_BUILDER: {
return new Builder();
}
case BUILD_MESSAGE_INFO: {
java.lang.Object[] objects = new java.lang.Object[] {
"bitField0_",
"id_",
"bidfloor_",
"bidfloorcur_",
"wseat_",
"wadomain_",
"at_",
com.particles.mes.protos.openrtb.AuctionType.internalGetVerifier(),
};
java.lang.String info =
"\u0001\u0006\u0000\u0001\u0001\u0006\u0006\u0000\u0002\u0001\u0001\u1508\u0000\u0002" +
"\u1000\u0001\u0003\u1008\u0002\u0004\u001a\u0005\u001a\u0006\u100c\u0003";
return newMessageInfo(DEFAULT_INSTANCE, info, objects);
}
// fall through
case GET_DEFAULT_INSTANCE: {
return DEFAULT_INSTANCE;
}
case GET_PARSER: {
com.google.protobuf.Parser<com.particles.mes.protos.openrtb.BidRequest.Imp.Pmp.Deal> parser = PARSER;
if (parser == null) {
synchronized (com.particles.mes.protos.openrtb.BidRequest.Imp.Pmp.Deal.class) {
parser = PARSER;
if (parser == null) {
parser =
new DefaultInstanceBasedParser<com.particles.mes.protos.openrtb.BidRequest.Imp.Pmp.Deal>(
DEFAULT_INSTANCE);
PARSER = parser;
}
}
}
return parser;
}
case GET_MEMOIZED_IS_INITIALIZED: {
return memoizedIsInitialized;
}
case SET_MEMOIZED_IS_INITIALIZED: {
memoizedIsInitialized = (byte) (arg0 == null ? 0 : 1);
return null;
}
}
throw new UnsupportedOperationException();
}
// @@protoc_insertion_point(class_scope:com.google.openrtb.BidRequest.Imp.Pmp.Deal)
private static final com.particles.mes.protos.openrtb.BidRequest.Imp.Pmp.Deal DEFAULT_INSTANCE;
static {
Deal defaultInstance = new Deal();
// New instances are implicitly immutable so no need to make
// immutable.
DEFAULT_INSTANCE = defaultInstance;
com.google.protobuf.GeneratedMessageLite.registerDefaultInstance(
Deal.class, defaultInstance);
}
public static com.particles.mes.protos.openrtb.BidRequest.Imp.Pmp.Deal getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static volatile com.google.protobuf.Parser<Deal> PARSER;
public static com.google.protobuf.Parser<Deal> parser() {
return DEFAULT_INSTANCE.getParserForType();
}
}
private int bitField0_;
public static final int PRIVATE_AUCTION_FIELD_NUMBER = 1;
private boolean privateAuction_;
/**
* <pre>
* Indicator of auction eligibility to seats named in the Direct Deals
* object, where false = all bids are accepted, true = bids are restricted
* to the deals specified and the terms thereof.
* Supported by Google.
* </pre>
*
* <code>optional bool private_auction = 1 [default = false];</code>
* @return Whether the privateAuction field is set.
*/
@java.lang.Override
public boolean hasPrivateAuction() {
return ((bitField0_ & 0x00000001) != 0);
}
/**
* <pre>
* Indicator of auction eligibility to seats named in the Direct Deals
* object, where false = all bids are accepted, true = bids are restricted
* to the deals specified and the terms thereof.
* Supported by Google.
* </pre>
*
* <code>optional bool private_auction = 1 [default = false];</code>
* @return The privateAuction.
*/
@java.lang.Override
public boolean getPrivateAuction() {
return privateAuction_;
}
/**
* <pre>
* Indicator of auction eligibility to seats named in the Direct Deals
* object, where false = all bids are accepted, true = bids are restricted
* to the deals specified and the terms thereof.
* Supported by Google.
* </pre>
*
* <code>optional bool private_auction = 1 [default = false];</code>
* @param value The privateAuction to set.
*/
private void setPrivateAuction(boolean value) {
bitField0_ |= 0x00000001;
privateAuction_ = value;
}
/**
* <pre>
* Indicator of auction eligibility to seats named in the Direct Deals
* object, where false = all bids are accepted, true = bids are restricted
* to the deals specified and the terms thereof.
* Supported by Google.
* </pre>
*
* <code>optional bool private_auction = 1 [default = false];</code>
*/
private void clearPrivateAuction() {
bitField0_ = (bitField0_ & ~0x00000001);
privateAuction_ = false;
}
public static final int DEALS_FIELD_NUMBER = 2;
private com.google.protobuf.Internal.ProtobufList<com.particles.mes.protos.openrtb.BidRequest.Imp.Pmp.Deal> deals_;
/**
* <pre>
* Array of Deal (Section 3.2.18) objects that convey the specific deals
* applicable to this impression.
* Supported by Google.
* </pre>
*
* <code>repeated .com.google.openrtb.BidRequest.Imp.Pmp.Deal deals = 2;</code>
*/
@java.lang.Override
public java.util.List<com.particles.mes.protos.openrtb.BidRequest.Imp.Pmp.Deal> getDealsList() {
return deals_;
}
/**
* <pre>
* Array of Deal (Section 3.2.18) objects that convey the specific deals
* applicable to this impression.
* Supported by Google.
* </pre>
*
* <code>repeated .com.google.openrtb.BidRequest.Imp.Pmp.Deal deals = 2;</code>
*/
public java.util.List<? extends com.particles.mes.protos.openrtb.BidRequest.Imp.Pmp.DealOrBuilder>
getDealsOrBuilderList() {
return deals_;
}
/**
* <pre>
* Array of Deal (Section 3.2.18) objects that convey the specific deals
* applicable to this impression.
* Supported by Google.
* </pre>
*
* <code>repeated .com.google.openrtb.BidRequest.Imp.Pmp.Deal deals = 2;</code>
*/
@java.lang.Override
public int getDealsCount() {
return deals_.size();
}
/**
* <pre>
* Array of Deal (Section 3.2.18) objects that convey the specific deals
* applicable to this impression.
* Supported by Google.
* </pre>
*
* <code>repeated .com.google.openrtb.BidRequest.Imp.Pmp.Deal deals = 2;</code>
*/
@java.lang.Override
public com.particles.mes.protos.openrtb.BidRequest.Imp.Pmp.Deal getDeals(int index) {
return deals_.get(index);
}
/**
* <pre>
* Array of Deal (Section 3.2.18) objects that convey the specific deals
* applicable to this impression.
* Supported by Google.
* </pre>
*
* <code>repeated .com.google.openrtb.BidRequest.Imp.Pmp.Deal deals = 2;</code>
*/
public com.particles.mes.protos.openrtb.BidRequest.Imp.Pmp.DealOrBuilder getDealsOrBuilder(
int index) {
return deals_.get(index);
}
private void ensureDealsIsMutable() {
com.google.protobuf.Internal.ProtobufList<com.particles.mes.protos.openrtb.BidRequest.Imp.Pmp.Deal> tmp = deals_;
if (!tmp.isModifiable()) {
deals_ =
com.google.protobuf.GeneratedMessageLite.mutableCopy(tmp);
}
}
/**
* <pre>
* Array of Deal (Section 3.2.18) objects that convey the specific deals
* applicable to this impression.
* Supported by Google.
* </pre>
*
* <code>repeated .com.google.openrtb.BidRequest.Imp.Pmp.Deal deals = 2;</code>
*/
private void setDeals(
int index, com.particles.mes.protos.openrtb.BidRequest.Imp.Pmp.Deal value) {
value.getClass();
ensureDealsIsMutable();
deals_.set(index, value);
}
/**
* <pre>
* Array of Deal (Section 3.2.18) objects that convey the specific deals
* applicable to this impression.
* Supported by Google.
* </pre>
*
* <code>repeated .com.google.openrtb.BidRequest.Imp.Pmp.Deal deals = 2;</code>
*/
private void addDeals(com.particles.mes.protos.openrtb.BidRequest.Imp.Pmp.Deal value) {
value.getClass();
ensureDealsIsMutable();
deals_.add(value);
}
/**
* <pre>
* Array of Deal (Section 3.2.18) objects that convey the specific deals
* applicable to this impression.
* Supported by Google.
* </pre>
*
* <code>repeated .com.google.openrtb.BidRequest.Imp.Pmp.Deal deals = 2;</code>
*/
private void addDeals(
int index, com.particles.mes.protos.openrtb.BidRequest.Imp.Pmp.Deal value) {
value.getClass();
ensureDealsIsMutable();
deals_.add(index, value);
}
/**
* <pre>
* Array of Deal (Section 3.2.18) objects that convey the specific deals
* applicable to this impression.
* Supported by Google.
* </pre>
*
* <code>repeated .com.google.openrtb.BidRequest.Imp.Pmp.Deal deals = 2;</code>
*/
private void addAllDeals(
java.lang.Iterable<? extends com.particles.mes.protos.openrtb.BidRequest.Imp.Pmp.Deal> values) {
ensureDealsIsMutable();
com.google.protobuf.AbstractMessageLite.addAll(
values, deals_);
}
/**
* <pre>
* Array of Deal (Section 3.2.18) objects that convey the specific deals
* applicable to this impression.
* Supported by Google.
* </pre>
*
* <code>repeated .com.google.openrtb.BidRequest.Imp.Pmp.Deal deals = 2;</code>
*/
private void clearDeals() {
deals_ = emptyProtobufList();
}
/**
* <pre>
* Array of Deal (Section 3.2.18) objects that convey the specific deals
* applicable to this impression.
* Supported by Google.
* </pre>
*
* <code>repeated .com.google.openrtb.BidRequest.Imp.Pmp.Deal deals = 2;</code>
*/
private void removeDeals(int index) {
ensureDealsIsMutable();
deals_.remove(index);
}
public static com.particles.mes.protos.openrtb.BidRequest.Imp.Pmp parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, data);
}
public static com.particles.mes.protos.openrtb.BidRequest.Imp.Pmp parseFrom(
java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, data, extensionRegistry);
}
public static com.particles.mes.protos.openrtb.BidRequest.Imp.Pmp parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, data);
}
public static com.particles.mes.protos.openrtb.BidRequest.Imp.Pmp parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, data, extensionRegistry);
}
public static com.particles.mes.protos.openrtb.BidRequest.Imp.Pmp parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, data);
}
public static com.particles.mes.protos.openrtb.BidRequest.Imp.Pmp parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, data, extensionRegistry);
}
public static com.particles.mes.protos.openrtb.BidRequest.Imp.Pmp parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, input);
}
public static com.particles.mes.protos.openrtb.BidRequest.Imp.Pmp parseFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, input, extensionRegistry);
}
public static com.particles.mes.protos.openrtb.BidRequest.Imp.Pmp parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return parseDelimitedFrom(DEFAULT_INSTANCE, input);
}
public static com.particles.mes.protos.openrtb.BidRequest.Imp.Pmp parseDelimitedFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return parseDelimitedFrom(DEFAULT_INSTANCE, input, extensionRegistry);
}
public static com.particles.mes.protos.openrtb.BidRequest.Imp.Pmp parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, input);
}
public static com.particles.mes.protos.openrtb.BidRequest.Imp.Pmp parseFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, input, extensionRegistry);
}
public static Builder newBuilder() {
return (Builder) DEFAULT_INSTANCE.createBuilder();
}
public static Builder newBuilder(com.particles.mes.protos.openrtb.BidRequest.Imp.Pmp prototype) {
return (Builder) DEFAULT_INSTANCE.createBuilder(prototype);
}
/**
* <pre>
* OpenRTB 2.2: This object is the private marketplace container for
* direct deals between buyers and sellers that may pertain to this
* impression. The actual deals are represented as a collection of
* Deal objects. Refer to Section 7.2 for more details.
* </pre>
*
* Protobuf type {@code com.google.openrtb.BidRequest.Imp.Pmp}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageLite.ExtendableBuilder<
com.particles.mes.protos.openrtb.BidRequest.Imp.Pmp, Builder> implements
// @@protoc_insertion_point(builder_implements:com.google.openrtb.BidRequest.Imp.Pmp)
com.particles.mes.protos.openrtb.BidRequest.Imp.PmpOrBuilder {
// Construct using com.particles.mes.protos.openrtb.BidRequest.Imp.Pmp.newBuilder()
private Builder() {
super(DEFAULT_INSTANCE);
}
/**
* <pre>
* Indicator of auction eligibility to seats named in the Direct Deals
* object, where false = all bids are accepted, true = bids are restricted
* to the deals specified and the terms thereof.
* Supported by Google.
* </pre>
*
* <code>optional bool private_auction = 1 [default = false];</code>
* @return Whether the privateAuction field is set.
*/
@java.lang.Override
public boolean hasPrivateAuction() {
return instance.hasPrivateAuction();
}
/**
* <pre>
* Indicator of auction eligibility to seats named in the Direct Deals
* object, where false = all bids are accepted, true = bids are restricted
* to the deals specified and the terms thereof.
* Supported by Google.
* </pre>
*
* <code>optional bool private_auction = 1 [default = false];</code>
* @return The privateAuction.
*/
@java.lang.Override
public boolean getPrivateAuction() {
return instance.getPrivateAuction();
}
/**
* <pre>
* Indicator of auction eligibility to seats named in the Direct Deals
* object, where false = all bids are accepted, true = bids are restricted
* to the deals specified and the terms thereof.
* Supported by Google.
* </pre>
*
* <code>optional bool private_auction = 1 [default = false];</code>
* @param value The privateAuction to set.
* @return This builder for chaining.
*/
public Builder setPrivateAuction(boolean value) {
copyOnWrite();
instance.setPrivateAuction(value);
return this;
}
/**
* <pre>
* Indicator of auction eligibility to seats named in the Direct Deals
* object, where false = all bids are accepted, true = bids are restricted
* to the deals specified and the terms thereof.
* Supported by Google.
* </pre>
*
* <code>optional bool private_auction = 1 [default = false];</code>
* @return This builder for chaining.
*/
public Builder clearPrivateAuction() {
copyOnWrite();
instance.clearPrivateAuction();
return this;
}
/**
* <pre>
* Array of Deal (Section 3.2.18) objects that convey the specific deals
* applicable to this impression.
* Supported by Google.
* </pre>
*
* <code>repeated .com.google.openrtb.BidRequest.Imp.Pmp.Deal deals = 2;</code>
*/
@java.lang.Override
public java.util.List<com.particles.mes.protos.openrtb.BidRequest.Imp.Pmp.Deal> getDealsList() {
return java.util.Collections.unmodifiableList(
instance.getDealsList());
}
/**
* <pre>
* Array of Deal (Section 3.2.18) objects that convey the specific deals
* applicable to this impression.
* Supported by Google.
* </pre>
*
* <code>repeated .com.google.openrtb.BidRequest.Imp.Pmp.Deal deals = 2;</code>
*/
@java.lang.Override
public int getDealsCount() {
return instance.getDealsCount();
}/**
* <pre>
* Array of Deal (Section 3.2.18) objects that convey the specific deals
* applicable to this impression.
* Supported by Google.
* </pre>
*
* <code>repeated .com.google.openrtb.BidRequest.Imp.Pmp.Deal deals = 2;</code>
*/
@java.lang.Override
public com.particles.mes.protos.openrtb.BidRequest.Imp.Pmp.Deal getDeals(int index) {
return instance.getDeals(index);
}
/**
* <pre>
* Array of Deal (Section 3.2.18) objects that convey the specific deals
* applicable to this impression.
* Supported by Google.
* </pre>
*
* <code>repeated .com.google.openrtb.BidRequest.Imp.Pmp.Deal deals = 2;</code>
*/
public Builder setDeals(
int index, com.particles.mes.protos.openrtb.BidRequest.Imp.Pmp.Deal value) {
copyOnWrite();
instance.setDeals(index, value);
return this;
}
/**
* <pre>
* Array of Deal (Section 3.2.18) objects that convey the specific deals
* applicable to this impression.
* Supported by Google.
* </pre>
*
* <code>repeated .com.google.openrtb.BidRequest.Imp.Pmp.Deal deals = 2;</code>
*/
public Builder setDeals(
int index, com.particles.mes.protos.openrtb.BidRequest.Imp.Pmp.Deal.Builder builderForValue) {
copyOnWrite();
instance.setDeals(index,
builderForValue.build());
return this;
}
/**
* <pre>
* Array of Deal (Section 3.2.18) objects that convey the specific deals
* applicable to this impression.
* Supported by Google.
* </pre>
*
* <code>repeated .com.google.openrtb.BidRequest.Imp.Pmp.Deal deals = 2;</code>
*/
public Builder addDeals(com.particles.mes.protos.openrtb.BidRequest.Imp.Pmp.Deal value) {
copyOnWrite();
instance.addDeals(value);
return this;
}
/**
* <pre>
* Array of Deal (Section 3.2.18) objects that convey the specific deals
* applicable to this impression.
* Supported by Google.
* </pre>
*
* <code>repeated .com.google.openrtb.BidRequest.Imp.Pmp.Deal deals = 2;</code>
*/
public Builder addDeals(
int index, com.particles.mes.protos.openrtb.BidRequest.Imp.Pmp.Deal value) {
copyOnWrite();
instance.addDeals(index, value);
return this;
}
/**
* <pre>
* Array of Deal (Section 3.2.18) objects that convey the specific deals
* applicable to this impression.
* Supported by Google.
* </pre>
*
* <code>repeated .com.google.openrtb.BidRequest.Imp.Pmp.Deal deals = 2;</code>
*/
public Builder addDeals(
com.particles.mes.protos.openrtb.BidRequest.Imp.Pmp.Deal.Builder builderForValue) {
copyOnWrite();
instance.addDeals(builderForValue.build());
return this;
}
/**
* <pre>
* Array of Deal (Section 3.2.18) objects that convey the specific deals
* applicable to this impression.
* Supported by Google.
* </pre>
*
* <code>repeated .com.google.openrtb.BidRequest.Imp.Pmp.Deal deals = 2;</code>
*/
public Builder addDeals(
int index, com.particles.mes.protos.openrtb.BidRequest.Imp.Pmp.Deal.Builder builderForValue) {
copyOnWrite();
instance.addDeals(index,
builderForValue.build());
return this;
}
/**
* <pre>
* Array of Deal (Section 3.2.18) objects that convey the specific deals
* applicable to this impression.
* Supported by Google.
* </pre>
*
* <code>repeated .com.google.openrtb.BidRequest.Imp.Pmp.Deal deals = 2;</code>
*/
public Builder addAllDeals(
java.lang.Iterable<? extends com.particles.mes.protos.openrtb.BidRequest.Imp.Pmp.Deal> values) {
copyOnWrite();
instance.addAllDeals(values);
return this;
}
/**
* <pre>
* Array of Deal (Section 3.2.18) objects that convey the specific deals
* applicable to this impression.
* Supported by Google.
* </pre>
*
* <code>repeated .com.google.openrtb.BidRequest.Imp.Pmp.Deal deals = 2;</code>
*/
public Builder clearDeals() {
copyOnWrite();
instance.clearDeals();
return this;
}
/**
* <pre>
* Array of Deal (Section 3.2.18) objects that convey the specific deals
* applicable to this impression.
* Supported by Google.
* </pre>
*
* <code>repeated .com.google.openrtb.BidRequest.Imp.Pmp.Deal deals = 2;</code>
*/
public Builder removeDeals(int index) {
copyOnWrite();
instance.removeDeals(index);
return this;
}
// @@protoc_insertion_point(builder_scope:com.google.openrtb.BidRequest.Imp.Pmp)
}
private byte memoizedIsInitialized = 2;
@java.lang.Override
@java.lang.SuppressWarnings({"unchecked", "fallthrough"})
protected final java.lang.Object dynamicMethod(
com.google.protobuf.GeneratedMessageLite.MethodToInvoke method,
java.lang.Object arg0, java.lang.Object arg1) {
switch (method) {
case NEW_MUTABLE_INSTANCE: {
return new com.particles.mes.protos.openrtb.BidRequest.Imp.Pmp();
}
case NEW_BUILDER: {
return new Builder();
}
case BUILD_MESSAGE_INFO: {
java.lang.Object[] objects = new java.lang.Object[] {
"bitField0_",
"privateAuction_",
"deals_",
com.particles.mes.protos.openrtb.BidRequest.Imp.Pmp.Deal.class,
};
java.lang.String info =
"\u0001\u0002\u0000\u0001\u0001\u0002\u0002\u0000\u0001\u0001\u0001\u1007\u0000\u0002" +
"\u041b";
return newMessageInfo(DEFAULT_INSTANCE, info, objects);
}
// fall through
case GET_DEFAULT_INSTANCE: {
return DEFAULT_INSTANCE;
}
case GET_PARSER: {
com.google.protobuf.Parser<com.particles.mes.protos.openrtb.BidRequest.Imp.Pmp> parser = PARSER;
if (parser == null) {
synchronized (com.particles.mes.protos.openrtb.BidRequest.Imp.Pmp.class) {
parser = PARSER;
if (parser == null) {
parser =
new DefaultInstanceBasedParser<com.particles.mes.protos.openrtb.BidRequest.Imp.Pmp>(
DEFAULT_INSTANCE);
PARSER = parser;
}
}
}
return parser;
}
case GET_MEMOIZED_IS_INITIALIZED: {
return memoizedIsInitialized;
}
case SET_MEMOIZED_IS_INITIALIZED: {
memoizedIsInitialized = (byte) (arg0 == null ? 0 : 1);
return null;
}
}
throw new UnsupportedOperationException();
}
// @@protoc_insertion_point(class_scope:com.google.openrtb.BidRequest.Imp.Pmp)
private static final com.particles.mes.protos.openrtb.BidRequest.Imp.Pmp DEFAULT_INSTANCE;
static {
Pmp defaultInstance = new Pmp();
// New instances are implicitly immutable so no need to make
// immutable.
DEFAULT_INSTANCE = defaultInstance;
com.google.protobuf.GeneratedMessageLite.registerDefaultInstance(
Pmp.class, defaultInstance);
}
public static com.particles.mes.protos.openrtb.BidRequest.Imp.Pmp getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static volatile com.google.protobuf.Parser<Pmp> PARSER;
public static com.google.protobuf.Parser<Pmp> parser() {
return DEFAULT_INSTANCE.getParserForType();
}
}
public interface NativeOrBuilder extends
// @@protoc_insertion_point(interface_extends:com.google.openrtb.BidRequest.Imp.Native)
com.google.protobuf.GeneratedMessageLite.
ExtendableMessageOrBuilder<
Native, Native.Builder> {
/**
* <pre>
* Request payload complying with the Native Ad Specification.
* Exactly one of {request, request_native} should be used;
* this is the OpenRTB-compliant field for JSON serialization.
* </pre>
*
* <code>string request = 1;</code>
* @return Whether the request field is set.
*/
boolean hasRequest();
/**
* <pre>
* Request payload complying with the Native Ad Specification.
* Exactly one of {request, request_native} should be used;
* this is the OpenRTB-compliant field for JSON serialization.
* </pre>
*
* <code>string request = 1;</code>
* @return The request.
*/
java.lang.String getRequest();
/**
* <pre>
* Request payload complying with the Native Ad Specification.
* Exactly one of {request, request_native} should be used;
* this is the OpenRTB-compliant field for JSON serialization.
* </pre>
*
* <code>string request = 1;</code>
* @return The bytes for request.
*/
com.google.protobuf.ByteString
getRequestBytes();
/**
* <pre>
* Request payload complying with the Native Ad Specification.
* Exactly one of {request, request_native} should be used;
* this is an alternate field preferred for Protobuf serialization.
* </pre>
*
* <code>.com.google.openrtb.NativeRequest request_native = 50;</code>
* @return Whether the requestNative field is set.
*/
boolean hasRequestNative();
/**
* <pre>
* Request payload complying with the Native Ad Specification.
* Exactly one of {request, request_native} should be used;
* this is an alternate field preferred for Protobuf serialization.
* </pre>
*
* <code>.com.google.openrtb.NativeRequest request_native = 50;</code>
* @return The requestNative.
*/
com.particles.mes.protos.openrtb.NativeRequest getRequestNative();
/**
* <pre>
* Version of the Native Ad Specification to which request complies.
* </pre>
*
* <code>optional string ver = 2;</code>
* @return Whether the ver field is set.
*/
boolean hasVer();
/**
* <pre>
* Version of the Native Ad Specification to which request complies.
* </pre>
*
* <code>optional string ver = 2;</code>
* @return The ver.
*/
java.lang.String getVer();
/**
* <pre>
* Version of the Native Ad Specification to which request complies.
* </pre>
*
* <code>optional string ver = 2;</code>
* @return The bytes for ver.
*/
com.google.protobuf.ByteString
getVerBytes();
/**
* <pre>
* List of supported API frameworks for this impression.
* If an API is not explicitly listed, it is assumed not to be supported.
* </pre>
*
* <code>repeated .com.google.openrtb.APIFramework api = 3 [packed = true];</code>
* @return A list containing the api.
*/
java.util.List<com.particles.mes.protos.openrtb.APIFramework> getApiList();
/**
* <pre>
* List of supported API frameworks for this impression.
* If an API is not explicitly listed, it is assumed not to be supported.
* </pre>
*
* <code>repeated .com.google.openrtb.APIFramework api = 3 [packed = true];</code>
* @return The count of api.
*/
int getApiCount();
/**
* <pre>
* List of supported API frameworks for this impression.
* If an API is not explicitly listed, it is assumed not to be supported.
* </pre>
*
* <code>repeated .com.google.openrtb.APIFramework api = 3 [packed = true];</code>
* @param index The index of the element to return.
* @return The api at the given index.
*/
com.particles.mes.protos.openrtb.APIFramework getApi(int index);
/**
* <pre>
* Blocked creative attributes.
* </pre>
*
* <code>repeated .com.google.openrtb.CreativeAttribute battr = 4 [packed = true];</code>
* @return A list containing the battr.
*/
java.util.List<com.particles.mes.protos.openrtb.CreativeAttribute> getBattrList();
/**
* <pre>
* Blocked creative attributes.
* </pre>
*
* <code>repeated .com.google.openrtb.CreativeAttribute battr = 4 [packed = true];</code>
* @return The count of battr.
*/
int getBattrCount();
/**
* <pre>
* Blocked creative attributes.
* </pre>
*
* <code>repeated .com.google.openrtb.CreativeAttribute battr = 4 [packed = true];</code>
* @param index The index of the element to return.
* @return The battr at the given index.
*/
com.particles.mes.protos.openrtb.CreativeAttribute getBattr(int index);
public com.particles.mes.protos.openrtb.BidRequest.Imp.Native.RequestOneofCase getRequestOneofCase();
}
/**
* <pre>
* OpenRTB 2.3: This object represents a native type impression.
* Native ad units are intended to blend seamlessly into the surrounding
* content (for example, a sponsored Twitter or Facebook post). As such, the
* response must be well-structured to afford the publisher fine-grained
* control over rendering.
* The Native Subcommittee has developed a companion specification to
* OpenRTB called the Native Ad Specification. It defines the request
* parameters and response markup structure of native ad units.
* This object provides the means of transporting request parameters as an
* opaque string so that the specific parameters can evolve separately
* under the auspices of the Native Ad Specification. Similarly, the
* ad markup served will be structured according to that specification.
* The presence of a Native as a subordinate of the Imp object indicates
* that this impression is offered as a native type impression.
* At the publisher's discretion, that same impression may also be offered
* as banner and/or video by also including as Imp subordinates the Banner
* and/or Video objects, respectively. However, any given bid for the
* impression must conform to one of the offered types.
* </pre>
*
* Protobuf type {@code com.google.openrtb.BidRequest.Imp.Native}
*/
public static final class Native extends
com.google.protobuf.GeneratedMessageLite.ExtendableMessage<
Native, Native.Builder> implements
// @@protoc_insertion_point(message_implements:com.google.openrtb.BidRequest.Imp.Native)
NativeOrBuilder {
private Native() {
ver_ = "";
api_ = emptyIntList();
battr_ = emptyIntList();
}
private int bitField0_;
private int requestOneofCase_ = 0;
private java.lang.Object requestOneof_;
public enum RequestOneofCase {
REQUEST(1),
REQUEST_NATIVE(50),
REQUESTONEOF_NOT_SET(0);
private final int value;
private RequestOneofCase(int value) {
this.value = value;
}
/**
* @deprecated Use {@link #forNumber(int)} instead.
*/
@java.lang.Deprecated
public static RequestOneofCase valueOf(int value) {
return forNumber(value);
}
public static RequestOneofCase forNumber(int value) {
switch (value) {
case 1: return REQUEST;
case 50: return REQUEST_NATIVE;
case 0: return REQUESTONEOF_NOT_SET;
default: return null;
}
}
public int getNumber() {
return this.value;
}
};
@java.lang.Override
public RequestOneofCase
getRequestOneofCase() {
return RequestOneofCase.forNumber(
requestOneofCase_);
}
private void clearRequestOneof() {
requestOneofCase_ = 0;
requestOneof_ = null;
}
public static final int REQUEST_FIELD_NUMBER = 1;
/**
* <pre>
* Request payload complying with the Native Ad Specification.
* Exactly one of {request, request_native} should be used;
* this is the OpenRTB-compliant field for JSON serialization.
* </pre>
*
* <code>string request = 1;</code>
* @return Whether the request field is set.
*/
@java.lang.Override
public boolean hasRequest() {
return requestOneofCase_ == 1;
}
/**
* <pre>
* Request payload complying with the Native Ad Specification.
* Exactly one of {request, request_native} should be used;
* this is the OpenRTB-compliant field for JSON serialization.
* </pre>
*
* <code>string request = 1;</code>
* @return The request.
*/
@java.lang.Override
public java.lang.String getRequest() {
java.lang.String ref = "";
if (requestOneofCase_ == 1) {
ref = (java.lang.String) requestOneof_;
}
return ref;
}
/**
* <pre>
* Request payload complying with the Native Ad Specification.
* Exactly one of {request, request_native} should be used;
* this is the OpenRTB-compliant field for JSON serialization.
* </pre>
*
* <code>string request = 1;</code>
* @return The bytes for request.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getRequestBytes() {
java.lang.String ref = "";
if (requestOneofCase_ == 1) {
ref = (java.lang.String) requestOneof_;
}
return com.google.protobuf.ByteString.copyFromUtf8(ref);
}
/**
* <pre>
* Request payload complying with the Native Ad Specification.
* Exactly one of {request, request_native} should be used;
* this is the OpenRTB-compliant field for JSON serialization.
* </pre>
*
* <code>string request = 1;</code>
* @param value The request to set.
*/
private void setRequest(
java.lang.String value) {
java.lang.Class<?> valueClass = value.getClass();
requestOneofCase_ = 1;
requestOneof_ = value;
}
/**
* <pre>
* Request payload complying with the Native Ad Specification.
* Exactly one of {request, request_native} should be used;
* this is the OpenRTB-compliant field for JSON serialization.
* </pre>
*
* <code>string request = 1;</code>
*/
private void clearRequest() {
if (requestOneofCase_ == 1) {
requestOneofCase_ = 0;
requestOneof_ = null;
}
}
/**
* <pre>
* Request payload complying with the Native Ad Specification.
* Exactly one of {request, request_native} should be used;
* this is the OpenRTB-compliant field for JSON serialization.
* </pre>
*
* <code>string request = 1;</code>
* @param value The bytes for request to set.
*/
private void setRequestBytes(
com.google.protobuf.ByteString value) {
requestOneof_ = value.toStringUtf8();
requestOneofCase_ = 1;
}
public static final int REQUEST_NATIVE_FIELD_NUMBER = 50;
/**
* <pre>
* Request payload complying with the Native Ad Specification.
* Exactly one of {request, request_native} should be used;
* this is an alternate field preferred for Protobuf serialization.
* </pre>
*
* <code>.com.google.openrtb.NativeRequest request_native = 50;</code>
*/
@java.lang.Override
public boolean hasRequestNative() {
return requestOneofCase_ == 50;
}
/**
* <pre>
* Request payload complying with the Native Ad Specification.
* Exactly one of {request, request_native} should be used;
* this is an alternate field preferred for Protobuf serialization.
* </pre>
*
* <code>.com.google.openrtb.NativeRequest request_native = 50;</code>
*/
@java.lang.Override
public com.particles.mes.protos.openrtb.NativeRequest getRequestNative() {
if (requestOneofCase_ == 50) {
return (com.particles.mes.protos.openrtb.NativeRequest) requestOneof_;
}
return com.particles.mes.protos.openrtb.NativeRequest.getDefaultInstance();
}
/**
* <pre>
* Request payload complying with the Native Ad Specification.
* Exactly one of {request, request_native} should be used;
* this is an alternate field preferred for Protobuf serialization.
* </pre>
*
* <code>.com.google.openrtb.NativeRequest request_native = 50;</code>
*/
private void setRequestNative(com.particles.mes.protos.openrtb.NativeRequest value) {
value.getClass();
requestOneof_ = value;
requestOneofCase_ = 50;
}
/**
* <pre>
* Request payload complying with the Native Ad Specification.
* Exactly one of {request, request_native} should be used;
* this is an alternate field preferred for Protobuf serialization.
* </pre>
*
* <code>.com.google.openrtb.NativeRequest request_native = 50;</code>
*/
private void mergeRequestNative(com.particles.mes.protos.openrtb.NativeRequest value) {
value.getClass();
if (requestOneofCase_ == 50 &&
requestOneof_ != com.particles.mes.protos.openrtb.NativeRequest.getDefaultInstance()) {
requestOneof_ = com.particles.mes.protos.openrtb.NativeRequest.newBuilder((com.particles.mes.protos.openrtb.NativeRequest) requestOneof_)
.mergeFrom(value).buildPartial();
} else {
requestOneof_ = value;
}
requestOneofCase_ = 50;
}
/**
* <pre>
* Request payload complying with the Native Ad Specification.
* Exactly one of {request, request_native} should be used;
* this is an alternate field preferred for Protobuf serialization.
* </pre>
*
* <code>.com.google.openrtb.NativeRequest request_native = 50;</code>
*/
private void clearRequestNative() {
if (requestOneofCase_ == 50) {
requestOneofCase_ = 0;
requestOneof_ = null;
}
}
public static final int VER_FIELD_NUMBER = 2;
private java.lang.String ver_;
/**
* <pre>
* Version of the Native Ad Specification to which request complies.
* </pre>
*
* <code>optional string ver = 2;</code>
* @return Whether the ver field is set.
*/
@java.lang.Override
public boolean hasVer() {
return ((bitField0_ & 0x00000004) != 0);
}
/**
* <pre>
* Version of the Native Ad Specification to which request complies.
* </pre>
*
* <code>optional string ver = 2;</code>
* @return The ver.
*/
@java.lang.Override
public java.lang.String getVer() {
return ver_;
}
/**
* <pre>
* Version of the Native Ad Specification to which request complies.
* </pre>
*
* <code>optional string ver = 2;</code>
* @return The bytes for ver.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getVerBytes() {
return com.google.protobuf.ByteString.copyFromUtf8(ver_);
}
/**
* <pre>
* Version of the Native Ad Specification to which request complies.
* </pre>
*
* <code>optional string ver = 2;</code>
* @param value The ver to set.
*/
private void setVer(
java.lang.String value) {
java.lang.Class<?> valueClass = value.getClass();
bitField0_ |= 0x00000004;
ver_ = value;
}
/**
* <pre>
* Version of the Native Ad Specification to which request complies.
* </pre>
*
* <code>optional string ver = 2;</code>
*/
private void clearVer() {
bitField0_ = (bitField0_ & ~0x00000004);
ver_ = getDefaultInstance().getVer();
}
/**
* <pre>
* Version of the Native Ad Specification to which request complies.
* </pre>
*
* <code>optional string ver = 2;</code>
* @param value The bytes for ver to set.
*/
private void setVerBytes(
com.google.protobuf.ByteString value) {
ver_ = value.toStringUtf8();
bitField0_ |= 0x00000004;
}
public static final int API_FIELD_NUMBER = 3;
private com.google.protobuf.Internal.IntList api_;
private static final com.google.protobuf.Internal.ListAdapter.Converter<
java.lang.Integer, com.particles.mes.protos.openrtb.APIFramework> api_converter_ =
new com.google.protobuf.Internal.ListAdapter.Converter<
java.lang.Integer, com.particles.mes.protos.openrtb.APIFramework>() {
@java.lang.Override
public com.particles.mes.protos.openrtb.APIFramework convert(java.lang.Integer from) {
com.particles.mes.protos.openrtb.APIFramework result = com.particles.mes.protos.openrtb.APIFramework.forNumber(from);
return result == null ? com.particles.mes.protos.openrtb.APIFramework.VPAID_1 : result;
}
};
/**
* <pre>
* List of supported API frameworks for this impression.
* If an API is not explicitly listed, it is assumed not to be supported.
* </pre>
*
* <code>repeated .com.google.openrtb.APIFramework api = 3 [packed = true];</code>
* @return A list containing the api.
*/
@java.lang.Override
public java.util.List<com.particles.mes.protos.openrtb.APIFramework> getApiList() {
return new com.google.protobuf.Internal.ListAdapter<
java.lang.Integer, com.particles.mes.protos.openrtb.APIFramework>(api_, api_converter_);
}
/**
* <pre>
* List of supported API frameworks for this impression.
* If an API is not explicitly listed, it is assumed not to be supported.
* </pre>
*
* <code>repeated .com.google.openrtb.APIFramework api = 3 [packed = true];</code>
* @return The count of api.
*/
@java.lang.Override
public int getApiCount() {
return api_.size();
}
/**
* <pre>
* List of supported API frameworks for this impression.
* If an API is not explicitly listed, it is assumed not to be supported.
* </pre>
*
* <code>repeated .com.google.openrtb.APIFramework api = 3 [packed = true];</code>
* @param index The index of the element to return.
* @return The api at the given index.
*/
@java.lang.Override
public com.particles.mes.protos.openrtb.APIFramework getApi(int index) {
com.particles.mes.protos.openrtb.APIFramework result = com.particles.mes.protos.openrtb.APIFramework.forNumber(api_.getInt(index));
return result == null ? com.particles.mes.protos.openrtb.APIFramework.VPAID_1 : result;
}
private int apiMemoizedSerializedSize;
private void ensureApiIsMutable() {
com.google.protobuf.Internal.IntList tmp = api_;
if (!tmp.isModifiable()) {
api_ =
com.google.protobuf.GeneratedMessageLite.mutableCopy(tmp);
}
}
/**
* <pre>
* List of supported API frameworks for this impression.
* If an API is not explicitly listed, it is assumed not to be supported.
* </pre>
*
* <code>repeated .com.google.openrtb.APIFramework api = 3 [packed = true];</code>
* @param index The index to set the value at.
* @param value The api to set.
*/
private void setApi(
int index, com.particles.mes.protos.openrtb.APIFramework value) {
value.getClass();
ensureApiIsMutable();
api_.setInt(index, value.getNumber());
}
/**
* <pre>
* List of supported API frameworks for this impression.
* If an API is not explicitly listed, it is assumed not to be supported.
* </pre>
*
* <code>repeated .com.google.openrtb.APIFramework api = 3 [packed = true];</code>
* @param value The api to add.
*/
private void addApi(com.particles.mes.protos.openrtb.APIFramework value) {
value.getClass();
ensureApiIsMutable();
api_.addInt(value.getNumber());
}
/**
* <pre>
* List of supported API frameworks for this impression.
* If an API is not explicitly listed, it is assumed not to be supported.
* </pre>
*
* <code>repeated .com.google.openrtb.APIFramework api = 3 [packed = true];</code>
* @param values The api to add.
*/
private void addAllApi(
java.lang.Iterable<? extends com.particles.mes.protos.openrtb.APIFramework> values) {
ensureApiIsMutable();
for (com.particles.mes.protos.openrtb.APIFramework value : values) {
api_.addInt(value.getNumber());
}
}
/**
* <pre>
* List of supported API frameworks for this impression.
* If an API is not explicitly listed, it is assumed not to be supported.
* </pre>
*
* <code>repeated .com.google.openrtb.APIFramework api = 3 [packed = true];</code>
*/
private void clearApi() {
api_ = emptyIntList();
}
public static final int BATTR_FIELD_NUMBER = 4;
private com.google.protobuf.Internal.IntList battr_;
private static final com.google.protobuf.Internal.ListAdapter.Converter<
java.lang.Integer, com.particles.mes.protos.openrtb.CreativeAttribute> battr_converter_ =
new com.google.protobuf.Internal.ListAdapter.Converter<
java.lang.Integer, com.particles.mes.protos.openrtb.CreativeAttribute>() {
@java.lang.Override
public com.particles.mes.protos.openrtb.CreativeAttribute convert(java.lang.Integer from) {
com.particles.mes.protos.openrtb.CreativeAttribute result = com.particles.mes.protos.openrtb.CreativeAttribute.forNumber(from);
return result == null ? com.particles.mes.protos.openrtb.CreativeAttribute.AUDIO_AUTO_PLAY : result;
}
};
/**
* <pre>
* Blocked creative attributes.
* </pre>
*
* <code>repeated .com.google.openrtb.CreativeAttribute battr = 4 [packed = true];</code>
* @return A list containing the battr.
*/
@java.lang.Override
public java.util.List<com.particles.mes.protos.openrtb.CreativeAttribute> getBattrList() {
return new com.google.protobuf.Internal.ListAdapter<
java.lang.Integer, com.particles.mes.protos.openrtb.CreativeAttribute>(battr_, battr_converter_);
}
/**
* <pre>
* Blocked creative attributes.
* </pre>
*
* <code>repeated .com.google.openrtb.CreativeAttribute battr = 4 [packed = true];</code>
* @return The count of battr.
*/
@java.lang.Override
public int getBattrCount() {
return battr_.size();
}
/**
* <pre>
* Blocked creative attributes.
* </pre>
*
* <code>repeated .com.google.openrtb.CreativeAttribute battr = 4 [packed = true];</code>
* @param index The index of the element to return.
* @return The battr at the given index.
*/
@java.lang.Override
public com.particles.mes.protos.openrtb.CreativeAttribute getBattr(int index) {
com.particles.mes.protos.openrtb.CreativeAttribute result = com.particles.mes.protos.openrtb.CreativeAttribute.forNumber(battr_.getInt(index));
return result == null ? com.particles.mes.protos.openrtb.CreativeAttribute.AUDIO_AUTO_PLAY : result;
}
private int battrMemoizedSerializedSize;
private void ensureBattrIsMutable() {
com.google.protobuf.Internal.IntList tmp = battr_;
if (!tmp.isModifiable()) {
battr_ =
com.google.protobuf.GeneratedMessageLite.mutableCopy(tmp);
}
}
/**
* <pre>
* Blocked creative attributes.
* </pre>
*
* <code>repeated .com.google.openrtb.CreativeAttribute battr = 4 [packed = true];</code>
* @param index The index to set the value at.
* @param value The battr to set.
*/
private void setBattr(
int index, com.particles.mes.protos.openrtb.CreativeAttribute value) {
value.getClass();
ensureBattrIsMutable();
battr_.setInt(index, value.getNumber());
}
/**
* <pre>
* Blocked creative attributes.
* </pre>
*
* <code>repeated .com.google.openrtb.CreativeAttribute battr = 4 [packed = true];</code>
* @param value The battr to add.
*/
private void addBattr(com.particles.mes.protos.openrtb.CreativeAttribute value) {
value.getClass();
ensureBattrIsMutable();
battr_.addInt(value.getNumber());
}
/**
* <pre>
* Blocked creative attributes.
* </pre>
*
* <code>repeated .com.google.openrtb.CreativeAttribute battr = 4 [packed = true];</code>
* @param values The battr to add.
*/
private void addAllBattr(
java.lang.Iterable<? extends com.particles.mes.protos.openrtb.CreativeAttribute> values) {
ensureBattrIsMutable();
for (com.particles.mes.protos.openrtb.CreativeAttribute value : values) {
battr_.addInt(value.getNumber());
}
}
/**
* <pre>
* Blocked creative attributes.
* </pre>
*
* <code>repeated .com.google.openrtb.CreativeAttribute battr = 4 [packed = true];</code>
*/
private void clearBattr() {
battr_ = emptyIntList();
}
public static com.particles.mes.protos.openrtb.BidRequest.Imp.Native parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, data);
}
public static com.particles.mes.protos.openrtb.BidRequest.Imp.Native parseFrom(
java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, data, extensionRegistry);
}
public static com.particles.mes.protos.openrtb.BidRequest.Imp.Native parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, data);
}
public static com.particles.mes.protos.openrtb.BidRequest.Imp.Native parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, data, extensionRegistry);
}
public static com.particles.mes.protos.openrtb.BidRequest.Imp.Native parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, data);
}
public static com.particles.mes.protos.openrtb.BidRequest.Imp.Native parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, data, extensionRegistry);
}
public static com.particles.mes.protos.openrtb.BidRequest.Imp.Native parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, input);
}
public static com.particles.mes.protos.openrtb.BidRequest.Imp.Native parseFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, input, extensionRegistry);
}
public static com.particles.mes.protos.openrtb.BidRequest.Imp.Native parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return parseDelimitedFrom(DEFAULT_INSTANCE, input);
}
public static com.particles.mes.protos.openrtb.BidRequest.Imp.Native parseDelimitedFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return parseDelimitedFrom(DEFAULT_INSTANCE, input, extensionRegistry);
}
public static com.particles.mes.protos.openrtb.BidRequest.Imp.Native parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, input);
}
public static com.particles.mes.protos.openrtb.BidRequest.Imp.Native parseFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, input, extensionRegistry);
}
public static Builder newBuilder() {
return (Builder) DEFAULT_INSTANCE.createBuilder();
}
public static Builder newBuilder(com.particles.mes.protos.openrtb.BidRequest.Imp.Native prototype) {
return (Builder) DEFAULT_INSTANCE.createBuilder(prototype);
}
/**
* <pre>
* OpenRTB 2.3: This object represents a native type impression.
* Native ad units are intended to blend seamlessly into the surrounding
* content (for example, a sponsored Twitter or Facebook post). As such, the
* response must be well-structured to afford the publisher fine-grained
* control over rendering.
* The Native Subcommittee has developed a companion specification to
* OpenRTB called the Native Ad Specification. It defines the request
* parameters and response markup structure of native ad units.
* This object provides the means of transporting request parameters as an
* opaque string so that the specific parameters can evolve separately
* under the auspices of the Native Ad Specification. Similarly, the
* ad markup served will be structured according to that specification.
* The presence of a Native as a subordinate of the Imp object indicates
* that this impression is offered as a native type impression.
* At the publisher's discretion, that same impression may also be offered
* as banner and/or video by also including as Imp subordinates the Banner
* and/or Video objects, respectively. However, any given bid for the
* impression must conform to one of the offered types.
* </pre>
*
* Protobuf type {@code com.google.openrtb.BidRequest.Imp.Native}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageLite.ExtendableBuilder<
com.particles.mes.protos.openrtb.BidRequest.Imp.Native, Builder> implements
// @@protoc_insertion_point(builder_implements:com.google.openrtb.BidRequest.Imp.Native)
com.particles.mes.protos.openrtb.BidRequest.Imp.NativeOrBuilder {
// Construct using com.particles.mes.protos.openrtb.BidRequest.Imp.Native.newBuilder()
private Builder() {
super(DEFAULT_INSTANCE);
}
@java.lang.Override
public RequestOneofCase
getRequestOneofCase() {
return instance.getRequestOneofCase();
}
public Builder clearRequestOneof() {
copyOnWrite();
instance.clearRequestOneof();
return this;
}
/**
* <pre>
* Request payload complying with the Native Ad Specification.
* Exactly one of {request, request_native} should be used;
* this is the OpenRTB-compliant field for JSON serialization.
* </pre>
*
* <code>string request = 1;</code>
* @return Whether the request field is set.
*/
@java.lang.Override
public boolean hasRequest() {
return instance.hasRequest();
}
/**
* <pre>
* Request payload complying with the Native Ad Specification.
* Exactly one of {request, request_native} should be used;
* this is the OpenRTB-compliant field for JSON serialization.
* </pre>
*
* <code>string request = 1;</code>
* @return The request.
*/
@java.lang.Override
public java.lang.String getRequest() {
return instance.getRequest();
}
/**
* <pre>
* Request payload complying with the Native Ad Specification.
* Exactly one of {request, request_native} should be used;
* this is the OpenRTB-compliant field for JSON serialization.
* </pre>
*
* <code>string request = 1;</code>
* @return The bytes for request.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getRequestBytes() {
return instance.getRequestBytes();
}
/**
* <pre>
* Request payload complying with the Native Ad Specification.
* Exactly one of {request, request_native} should be used;
* this is the OpenRTB-compliant field for JSON serialization.
* </pre>
*
* <code>string request = 1;</code>
* @param value The request to set.
* @return This builder for chaining.
*/
public Builder setRequest(
java.lang.String value) {
copyOnWrite();
instance.setRequest(value);
return this;
}
/**
* <pre>
* Request payload complying with the Native Ad Specification.
* Exactly one of {request, request_native} should be used;
* this is the OpenRTB-compliant field for JSON serialization.
* </pre>
*
* <code>string request = 1;</code>
* @return This builder for chaining.
*/
public Builder clearRequest() {
copyOnWrite();
instance.clearRequest();
return this;
}
/**
* <pre>
* Request payload complying with the Native Ad Specification.
* Exactly one of {request, request_native} should be used;
* this is the OpenRTB-compliant field for JSON serialization.
* </pre>
*
* <code>string request = 1;</code>
* @param value The bytes for request to set.
* @return This builder for chaining.
*/
public Builder setRequestBytes(
com.google.protobuf.ByteString value) {
copyOnWrite();
instance.setRequestBytes(value);
return this;
}
/**
* <pre>
* Request payload complying with the Native Ad Specification.
* Exactly one of {request, request_native} should be used;
* this is an alternate field preferred for Protobuf serialization.
* </pre>
*
* <code>.com.google.openrtb.NativeRequest request_native = 50;</code>
*/
@java.lang.Override
public boolean hasRequestNative() {
return instance.hasRequestNative();
}
/**
* <pre>
* Request payload complying with the Native Ad Specification.
* Exactly one of {request, request_native} should be used;
* this is an alternate field preferred for Protobuf serialization.
* </pre>
*
* <code>.com.google.openrtb.NativeRequest request_native = 50;</code>
*/
@java.lang.Override
public com.particles.mes.protos.openrtb.NativeRequest getRequestNative() {
return instance.getRequestNative();
}
/**
* <pre>
* Request payload complying with the Native Ad Specification.
* Exactly one of {request, request_native} should be used;
* this is an alternate field preferred for Protobuf serialization.
* </pre>
*
* <code>.com.google.openrtb.NativeRequest request_native = 50;</code>
*/
public Builder setRequestNative(com.particles.mes.protos.openrtb.NativeRequest value) {
copyOnWrite();
instance.setRequestNative(value);
return this;
}
/**
* <pre>
* Request payload complying with the Native Ad Specification.
* Exactly one of {request, request_native} should be used;
* this is an alternate field preferred for Protobuf serialization.
* </pre>
*
* <code>.com.google.openrtb.NativeRequest request_native = 50;</code>
*/
public Builder setRequestNative(
com.particles.mes.protos.openrtb.NativeRequest.Builder builderForValue) {
copyOnWrite();
instance.setRequestNative(builderForValue.build());
return this;
}
/**
* <pre>
* Request payload complying with the Native Ad Specification.
* Exactly one of {request, request_native} should be used;
* this is an alternate field preferred for Protobuf serialization.
* </pre>
*
* <code>.com.google.openrtb.NativeRequest request_native = 50;</code>
*/
public Builder mergeRequestNative(com.particles.mes.protos.openrtb.NativeRequest value) {
copyOnWrite();
instance.mergeRequestNative(value);
return this;
}
/**
* <pre>
* Request payload complying with the Native Ad Specification.
* Exactly one of {request, request_native} should be used;
* this is an alternate field preferred for Protobuf serialization.
* </pre>
*
* <code>.com.google.openrtb.NativeRequest request_native = 50;</code>
*/
public Builder clearRequestNative() {
copyOnWrite();
instance.clearRequestNative();
return this;
}
/**
* <pre>
* Version of the Native Ad Specification to which request complies.
* </pre>
*
* <code>optional string ver = 2;</code>
* @return Whether the ver field is set.
*/
@java.lang.Override
public boolean hasVer() {
return instance.hasVer();
}
/**
* <pre>
* Version of the Native Ad Specification to which request complies.
* </pre>
*
* <code>optional string ver = 2;</code>
* @return The ver.
*/
@java.lang.Override
public java.lang.String getVer() {
return instance.getVer();
}
/**
* <pre>
* Version of the Native Ad Specification to which request complies.
* </pre>
*
* <code>optional string ver = 2;</code>
* @return The bytes for ver.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getVerBytes() {
return instance.getVerBytes();
}
/**
* <pre>
* Version of the Native Ad Specification to which request complies.
* </pre>
*
* <code>optional string ver = 2;</code>
* @param value The ver to set.
* @return This builder for chaining.
*/
public Builder setVer(
java.lang.String value) {
copyOnWrite();
instance.setVer(value);
return this;
}
/**
* <pre>
* Version of the Native Ad Specification to which request complies.
* </pre>
*
* <code>optional string ver = 2;</code>
* @return This builder for chaining.
*/
public Builder clearVer() {
copyOnWrite();
instance.clearVer();
return this;
}
/**
* <pre>
* Version of the Native Ad Specification to which request complies.
* </pre>
*
* <code>optional string ver = 2;</code>
* @param value The bytes for ver to set.
* @return This builder for chaining.
*/
public Builder setVerBytes(
com.google.protobuf.ByteString value) {
copyOnWrite();
instance.setVerBytes(value);
return this;
}
/**
* <pre>
* List of supported API frameworks for this impression.
* If an API is not explicitly listed, it is assumed not to be supported.
* </pre>
*
* <code>repeated .com.google.openrtb.APIFramework api = 3 [packed = true];</code>
* @return A list containing the api.
*/
@java.lang.Override
public java.util.List<com.particles.mes.protos.openrtb.APIFramework> getApiList() {
return instance.getApiList();
}
/**
* <pre>
* List of supported API frameworks for this impression.
* If an API is not explicitly listed, it is assumed not to be supported.
* </pre>
*
* <code>repeated .com.google.openrtb.APIFramework api = 3 [packed = true];</code>
* @return The count of api.
*/
@java.lang.Override
public int getApiCount() {
return instance.getApiCount();
}
/**
* <pre>
* List of supported API frameworks for this impression.
* If an API is not explicitly listed, it is assumed not to be supported.
* </pre>
*
* <code>repeated .com.google.openrtb.APIFramework api = 3 [packed = true];</code>
* @param index The index of the element to return.
* @return The api at the given index.
*/
@java.lang.Override
public com.particles.mes.protos.openrtb.APIFramework getApi(int index) {
return instance.getApi(index);
}
/**
* <pre>
* List of supported API frameworks for this impression.
* If an API is not explicitly listed, it is assumed not to be supported.
* </pre>
*
* <code>repeated .com.google.openrtb.APIFramework api = 3 [packed = true];</code>
* @param index The index to set the value at.
* @param value The api to set.
* @return This builder for chaining.
*/
public Builder setApi(
int index, com.particles.mes.protos.openrtb.APIFramework value) {
copyOnWrite();
instance.setApi(index, value);
return this;
}
/**
* <pre>
* List of supported API frameworks for this impression.
* If an API is not explicitly listed, it is assumed not to be supported.
* </pre>
*
* <code>repeated .com.google.openrtb.APIFramework api = 3 [packed = true];</code>
* @param value The api to add.
* @return This builder for chaining.
*/
public Builder addApi(com.particles.mes.protos.openrtb.APIFramework value) {
copyOnWrite();
instance.addApi(value);
return this;
}
/**
* <pre>
* List of supported API frameworks for this impression.
* If an API is not explicitly listed, it is assumed not to be supported.
* </pre>
*
* <code>repeated .com.google.openrtb.APIFramework api = 3 [packed = true];</code>
* @param values The api to add.
* @return This builder for chaining.
*/
public Builder addAllApi(
java.lang.Iterable<? extends com.particles.mes.protos.openrtb.APIFramework> values) {
copyOnWrite();
instance.addAllApi(values); return this;
}
/**
* <pre>
* List of supported API frameworks for this impression.
* If an API is not explicitly listed, it is assumed not to be supported.
* </pre>
*
* <code>repeated .com.google.openrtb.APIFramework api = 3 [packed = true];</code>
* @return This builder for chaining.
*/
public Builder clearApi() {
copyOnWrite();
instance.clearApi();
return this;
}
/**
* <pre>
* Blocked creative attributes.
* </pre>
*
* <code>repeated .com.google.openrtb.CreativeAttribute battr = 4 [packed = true];</code>
* @return A list containing the battr.
*/
@java.lang.Override
public java.util.List<com.particles.mes.protos.openrtb.CreativeAttribute> getBattrList() {
return instance.getBattrList();
}
/**
* <pre>
* Blocked creative attributes.
* </pre>
*
* <code>repeated .com.google.openrtb.CreativeAttribute battr = 4 [packed = true];</code>
* @return The count of battr.
*/
@java.lang.Override
public int getBattrCount() {
return instance.getBattrCount();
}
/**
* <pre>
* Blocked creative attributes.
* </pre>
*
* <code>repeated .com.google.openrtb.CreativeAttribute battr = 4 [packed = true];</code>
* @param index The index of the element to return.
* @return The battr at the given index.
*/
@java.lang.Override
public com.particles.mes.protos.openrtb.CreativeAttribute getBattr(int index) {
return instance.getBattr(index);
}
/**
* <pre>
* Blocked creative attributes.
* </pre>
*
* <code>repeated .com.google.openrtb.CreativeAttribute battr = 4 [packed = true];</code>
* @param index The index to set the value at.
* @param value The battr to set.
* @return This builder for chaining.
*/
public Builder setBattr(
int index, com.particles.mes.protos.openrtb.CreativeAttribute value) {
copyOnWrite();
instance.setBattr(index, value);
return this;
}
/**
* <pre>
* Blocked creative attributes.
* </pre>
*
* <code>repeated .com.google.openrtb.CreativeAttribute battr = 4 [packed = true];</code>
* @param value The battr to add.
* @return This builder for chaining.
*/
public Builder addBattr(com.particles.mes.protos.openrtb.CreativeAttribute value) {
copyOnWrite();
instance.addBattr(value);
return this;
}
/**
* <pre>
* Blocked creative attributes.
* </pre>
*
* <code>repeated .com.google.openrtb.CreativeAttribute battr = 4 [packed = true];</code>
* @param values The battr to add.
* @return This builder for chaining.
*/
public Builder addAllBattr(
java.lang.Iterable<? extends com.particles.mes.protos.openrtb.CreativeAttribute> values) {
copyOnWrite();
instance.addAllBattr(values); return this;
}
/**
* <pre>
* Blocked creative attributes.
* </pre>
*
* <code>repeated .com.google.openrtb.CreativeAttribute battr = 4 [packed = true];</code>
* @return This builder for chaining.
*/
public Builder clearBattr() {
copyOnWrite();
instance.clearBattr();
return this;
}
// @@protoc_insertion_point(builder_scope:com.google.openrtb.BidRequest.Imp.Native)
}
private byte memoizedIsInitialized = 2;
@java.lang.Override
@java.lang.SuppressWarnings({"unchecked", "fallthrough"})
protected final java.lang.Object dynamicMethod(
com.google.protobuf.GeneratedMessageLite.MethodToInvoke method,
java.lang.Object arg0, java.lang.Object arg1) {
switch (method) {
case NEW_MUTABLE_INSTANCE: {
return new com.particles.mes.protos.openrtb.BidRequest.Imp.Native();
}
case NEW_BUILDER: {
return new Builder();
}
case BUILD_MESSAGE_INFO: {
java.lang.Object[] objects = new java.lang.Object[] {
"requestOneof_",
"requestOneofCase_",
"bitField0_",
"ver_",
"api_",
com.particles.mes.protos.openrtb.APIFramework.internalGetVerifier(),
"battr_",
com.particles.mes.protos.openrtb.CreativeAttribute.internalGetVerifier(),
com.particles.mes.protos.openrtb.NativeRequest.class,
};
java.lang.String info =
"\u0001\u0005\u0001\u0001\u00012\u0005\u0000\u0002\u0001\u0001\u103b\u0000\u0002\u1008" +
"\u0002\u0003,\u0004,2\u143c\u0000";
return newMessageInfo(DEFAULT_INSTANCE, info, objects);
}
// fall through
case GET_DEFAULT_INSTANCE: {
return DEFAULT_INSTANCE;
}
case GET_PARSER: {
com.google.protobuf.Parser<com.particles.mes.protos.openrtb.BidRequest.Imp.Native> parser = PARSER;
if (parser == null) {
synchronized (com.particles.mes.protos.openrtb.BidRequest.Imp.Native.class) {
parser = PARSER;
if (parser == null) {
parser =
new DefaultInstanceBasedParser<com.particles.mes.protos.openrtb.BidRequest.Imp.Native>(
DEFAULT_INSTANCE);
PARSER = parser;
}
}
}
return parser;
}
case GET_MEMOIZED_IS_INITIALIZED: {
return memoizedIsInitialized;
}
case SET_MEMOIZED_IS_INITIALIZED: {
memoizedIsInitialized = (byte) (arg0 == null ? 0 : 1);
return null;
}
}
throw new UnsupportedOperationException();
}
// @@protoc_insertion_point(class_scope:com.google.openrtb.BidRequest.Imp.Native)
private static final com.particles.mes.protos.openrtb.BidRequest.Imp.Native DEFAULT_INSTANCE;
static {
Native defaultInstance = new Native();
// New instances are implicitly immutable so no need to make
// immutable.
DEFAULT_INSTANCE = defaultInstance;
com.google.protobuf.GeneratedMessageLite.registerDefaultInstance(
Native.class, defaultInstance);
}
public static com.particles.mes.protos.openrtb.BidRequest.Imp.Native getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static volatile com.google.protobuf.Parser<Native> PARSER;
public static com.google.protobuf.Parser<Native> parser() {
return DEFAULT_INSTANCE.getParserForType();
}
}
public interface MetricOrBuilder extends
// @@protoc_insertion_point(interface_extends:com.google.openrtb.BidRequest.Imp.Metric)
com.google.protobuf.GeneratedMessageLite.
ExtendableMessageOrBuilder<
Metric, Metric.Builder> {
/**
* <pre>
* Type of metric being presented using exchange curated string
* names which should be published to bidders a priori.
* REQUIRED by the OpenRTB specification.
* Supported by Google.
* </pre>
*
* <code>optional string type = 1;</code>
* @return Whether the type field is set.
*/
boolean hasType();
/**
* <pre>
* Type of metric being presented using exchange curated string
* names which should be published to bidders a priori.
* REQUIRED by the OpenRTB specification.
* Supported by Google.
* </pre>
*
* <code>optional string type = 1;</code>
* @return The type.
*/
java.lang.String getType();
/**
* <pre>
* Type of metric being presented using exchange curated string
* names which should be published to bidders a priori.
* REQUIRED by the OpenRTB specification.
* Supported by Google.
* </pre>
*
* <code>optional string type = 1;</code>
* @return The bytes for type.
*/
com.google.protobuf.ByteString
getTypeBytes();
/**
* <pre>
* Number representing the value of the metric.
* Probabilities must be in the range 0.0 - 1.0.
* REQUIRED by the OpenRTB specification.
* Supported by Google.
* </pre>
*
* <code>optional double value = 2;</code>
* @return Whether the value field is set.
*/
boolean hasValue();
/**
* <pre>
* Number representing the value of the metric.
* Probabilities must be in the range 0.0 - 1.0.
* REQUIRED by the OpenRTB specification.
* Supported by Google.
* </pre>
*
* <code>optional double value = 2;</code>
* @return The value.
*/
double getValue();
/**
* <pre>
* Source of the value using exchange curated string names
* which should be published to bidders a priori.
* If the exchange itself is the source versus a third party,
* "EXCHANGE" is recommended.
* Supported by Google.
* </pre>
*
* <code>optional string vendor = 3;</code>
* @return Whether the vendor field is set.
*/
boolean hasVendor();
/**
* <pre>
* Source of the value using exchange curated string names
* which should be published to bidders a priori.
* If the exchange itself is the source versus a third party,
* "EXCHANGE" is recommended.
* Supported by Google.
* </pre>
*
* <code>optional string vendor = 3;</code>
* @return The vendor.
*/
java.lang.String getVendor();
/**
* <pre>
* Source of the value using exchange curated string names
* which should be published to bidders a priori.
* If the exchange itself is the source versus a third party,
* "EXCHANGE" is recommended.
* Supported by Google.
* </pre>
*
* <code>optional string vendor = 3;</code>
* @return The bytes for vendor.
*/
com.google.protobuf.ByteString
getVendorBytes();
}
/**
* <pre>
* OpenRTB 2.5: This object is associated with an impression as
* an array of metrics. These metrics can offer insight into
* the impression to assist with decisioning such as average recent
* viewability, click-through rate, or another metric. Each metric is
* identified by its type, reports the value of the metric, and optionally
* identifies the source or vendor measuring the value.
* </pre>
*
* Protobuf type {@code com.google.openrtb.BidRequest.Imp.Metric}
*/
public static final class Metric extends
com.google.protobuf.GeneratedMessageLite.ExtendableMessage<
Metric, Metric.Builder> implements
// @@protoc_insertion_point(message_implements:com.google.openrtb.BidRequest.Imp.Metric)
MetricOrBuilder {
private Metric() {
type_ = "";
vendor_ = "";
}
private int bitField0_;
public static final int TYPE_FIELD_NUMBER = 1;
private java.lang.String type_;
/**
* <pre>
* Type of metric being presented using exchange curated string
* names which should be published to bidders a priori.
* REQUIRED by the OpenRTB specification.
* Supported by Google.
* </pre>
*
* <code>optional string type = 1;</code>
* @return Whether the type field is set.
*/
@java.lang.Override
public boolean hasType() {
return ((bitField0_ & 0x00000001) != 0);
}
/**
* <pre>
* Type of metric being presented using exchange curated string
* names which should be published to bidders a priori.
* REQUIRED by the OpenRTB specification.
* Supported by Google.
* </pre>
*
* <code>optional string type = 1;</code>
* @return The type.
*/
@java.lang.Override
public java.lang.String getType() {
return type_;
}
/**
* <pre>
* Type of metric being presented using exchange curated string
* names which should be published to bidders a priori.
* REQUIRED by the OpenRTB specification.
* Supported by Google.
* </pre>
*
* <code>optional string type = 1;</code>
* @return The bytes for type.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getTypeBytes() {
return com.google.protobuf.ByteString.copyFromUtf8(type_);
}
/**
* <pre>
* Type of metric being presented using exchange curated string
* names which should be published to bidders a priori.
* REQUIRED by the OpenRTB specification.
* Supported by Google.
* </pre>
*
* <code>optional string type = 1;</code>
* @param value The type to set.
*/
private void setType(
java.lang.String value) {
java.lang.Class<?> valueClass = value.getClass();
bitField0_ |= 0x00000001;
type_ = value;
}
/**
* <pre>
* Type of metric being presented using exchange curated string
* names which should be published to bidders a priori.
* REQUIRED by the OpenRTB specification.
* Supported by Google.
* </pre>
*
* <code>optional string type = 1;</code>
*/
private void clearType() {
bitField0_ = (bitField0_ & ~0x00000001);
type_ = getDefaultInstance().getType();
}
/**
* <pre>
* Type of metric being presented using exchange curated string
* names which should be published to bidders a priori.
* REQUIRED by the OpenRTB specification.
* Supported by Google.
* </pre>
*
* <code>optional string type = 1;</code>
* @param value The bytes for type to set.
*/
private void setTypeBytes(
com.google.protobuf.ByteString value) {
type_ = value.toStringUtf8();
bitField0_ |= 0x00000001;
}
public static final int VALUE_FIELD_NUMBER = 2;
private double value_;
/**
* <pre>
* Number representing the value of the metric.
* Probabilities must be in the range 0.0 - 1.0.
* REQUIRED by the OpenRTB specification.
* Supported by Google.
* </pre>
*
* <code>optional double value = 2;</code>
* @return Whether the value field is set.
*/
@java.lang.Override
public boolean hasValue() {
return ((bitField0_ & 0x00000002) != 0);
}
/**
* <pre>
* Number representing the value of the metric.
* Probabilities must be in the range 0.0 - 1.0.
* REQUIRED by the OpenRTB specification.
* Supported by Google.
* </pre>
*
* <code>optional double value = 2;</code>
* @return The value.
*/
@java.lang.Override
public double getValue() {
return value_;
}
/**
* <pre>
* Number representing the value of the metric.
* Probabilities must be in the range 0.0 - 1.0.
* REQUIRED by the OpenRTB specification.
* Supported by Google.
* </pre>
*
* <code>optional double value = 2;</code>
* @param value The value to set.
*/
private void setValue(double value) {
bitField0_ |= 0x00000002;
value_ = value;
}
/**
* <pre>
* Number representing the value of the metric.
* Probabilities must be in the range 0.0 - 1.0.
* REQUIRED by the OpenRTB specification.
* Supported by Google.
* </pre>
*
* <code>optional double value = 2;</code>
*/
private void clearValue() {
bitField0_ = (bitField0_ & ~0x00000002);
value_ = 0D;
}
public static final int VENDOR_FIELD_NUMBER = 3;
private java.lang.String vendor_;
/**
* <pre>
* Source of the value using exchange curated string names
* which should be published to bidders a priori.
* If the exchange itself is the source versus a third party,
* "EXCHANGE" is recommended.
* Supported by Google.
* </pre>
*
* <code>optional string vendor = 3;</code>
* @return Whether the vendor field is set.
*/
@java.lang.Override
public boolean hasVendor() {
return ((bitField0_ & 0x00000004) != 0);
}
/**
* <pre>
* Source of the value using exchange curated string names
* which should be published to bidders a priori.
* If the exchange itself is the source versus a third party,
* "EXCHANGE" is recommended.
* Supported by Google.
* </pre>
*
* <code>optional string vendor = 3;</code>
* @return The vendor.
*/
@java.lang.Override
public java.lang.String getVendor() {
return vendor_;
}
/**
* <pre>
* Source of the value using exchange curated string names
* which should be published to bidders a priori.
* If the exchange itself is the source versus a third party,
* "EXCHANGE" is recommended.
* Supported by Google.
* </pre>
*
* <code>optional string vendor = 3;</code>
* @return The bytes for vendor.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getVendorBytes() {
return com.google.protobuf.ByteString.copyFromUtf8(vendor_);
}
/**
* <pre>
* Source of the value using exchange curated string names
* which should be published to bidders a priori.
* If the exchange itself is the source versus a third party,
* "EXCHANGE" is recommended.
* Supported by Google.
* </pre>
*
* <code>optional string vendor = 3;</code>
* @param value The vendor to set.
*/
private void setVendor(
java.lang.String value) {
java.lang.Class<?> valueClass = value.getClass();
bitField0_ |= 0x00000004;
vendor_ = value;
}
/**
* <pre>
* Source of the value using exchange curated string names
* which should be published to bidders a priori.
* If the exchange itself is the source versus a third party,
* "EXCHANGE" is recommended.
* Supported by Google.
* </pre>
*
* <code>optional string vendor = 3;</code>
*/
private void clearVendor() {
bitField0_ = (bitField0_ & ~0x00000004);
vendor_ = getDefaultInstance().getVendor();
}
/**
* <pre>
* Source of the value using exchange curated string names
* which should be published to bidders a priori.
* If the exchange itself is the source versus a third party,
* "EXCHANGE" is recommended.
* Supported by Google.
* </pre>
*
* <code>optional string vendor = 3;</code>
* @param value The bytes for vendor to set.
*/
private void setVendorBytes(
com.google.protobuf.ByteString value) {
vendor_ = value.toStringUtf8();
bitField0_ |= 0x00000004;
}
public static com.particles.mes.protos.openrtb.BidRequest.Imp.Metric parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, data);
}
public static com.particles.mes.protos.openrtb.BidRequest.Imp.Metric parseFrom(
java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, data, extensionRegistry);
}
public static com.particles.mes.protos.openrtb.BidRequest.Imp.Metric parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, data);
}
public static com.particles.mes.protos.openrtb.BidRequest.Imp.Metric parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, data, extensionRegistry);
}
public static com.particles.mes.protos.openrtb.BidRequest.Imp.Metric parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, data);
}
public static com.particles.mes.protos.openrtb.BidRequest.Imp.Metric parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, data, extensionRegistry);
}
public static com.particles.mes.protos.openrtb.BidRequest.Imp.Metric parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, input);
}
public static com.particles.mes.protos.openrtb.BidRequest.Imp.Metric parseFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, input, extensionRegistry);
}
public static com.particles.mes.protos.openrtb.BidRequest.Imp.Metric parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return parseDelimitedFrom(DEFAULT_INSTANCE, input);
}
public static com.particles.mes.protos.openrtb.BidRequest.Imp.Metric parseDelimitedFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return parseDelimitedFrom(DEFAULT_INSTANCE, input, extensionRegistry);
}
public static com.particles.mes.protos.openrtb.BidRequest.Imp.Metric parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, input);
}
public static com.particles.mes.protos.openrtb.BidRequest.Imp.Metric parseFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, input, extensionRegistry);
}
public static Builder newBuilder() {
return (Builder) DEFAULT_INSTANCE.createBuilder();
}
public static Builder newBuilder(com.particles.mes.protos.openrtb.BidRequest.Imp.Metric prototype) {
return (Builder) DEFAULT_INSTANCE.createBuilder(prototype);
}
/**
* <pre>
* OpenRTB 2.5: This object is associated with an impression as
* an array of metrics. These metrics can offer insight into
* the impression to assist with decisioning such as average recent
* viewability, click-through rate, or another metric. Each metric is
* identified by its type, reports the value of the metric, and optionally
* identifies the source or vendor measuring the value.
* </pre>
*
* Protobuf type {@code com.google.openrtb.BidRequest.Imp.Metric}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageLite.ExtendableBuilder<
com.particles.mes.protos.openrtb.BidRequest.Imp.Metric, Builder> implements
// @@protoc_insertion_point(builder_implements:com.google.openrtb.BidRequest.Imp.Metric)
com.particles.mes.protos.openrtb.BidRequest.Imp.MetricOrBuilder {
// Construct using com.particles.mes.protos.openrtb.BidRequest.Imp.Metric.newBuilder()
private Builder() {
super(DEFAULT_INSTANCE);
}
/**
* <pre>
* Type of metric being presented using exchange curated string
* names which should be published to bidders a priori.
* REQUIRED by the OpenRTB specification.
* Supported by Google.
* </pre>
*
* <code>optional string type = 1;</code>
* @return Whether the type field is set.
*/
@java.lang.Override
public boolean hasType() {
return instance.hasType();
}
/**
* <pre>
* Type of metric being presented using exchange curated string
* names which should be published to bidders a priori.
* REQUIRED by the OpenRTB specification.
* Supported by Google.
* </pre>
*
* <code>optional string type = 1;</code>
* @return The type.
*/
@java.lang.Override
public java.lang.String getType() {
return instance.getType();
}
/**
* <pre>
* Type of metric being presented using exchange curated string
* names which should be published to bidders a priori.
* REQUIRED by the OpenRTB specification.
* Supported by Google.
* </pre>
*
* <code>optional string type = 1;</code>
* @return The bytes for type.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getTypeBytes() {
return instance.getTypeBytes();
}
/**
* <pre>
* Type of metric being presented using exchange curated string
* names which should be published to bidders a priori.
* REQUIRED by the OpenRTB specification.
* Supported by Google.
* </pre>
*
* <code>optional string type = 1;</code>
* @param value The type to set.
* @return This builder for chaining.
*/
public Builder setType(
java.lang.String value) {
copyOnWrite();
instance.setType(value);
return this;
}
/**
* <pre>
* Type of metric being presented using exchange curated string
* names which should be published to bidders a priori.
* REQUIRED by the OpenRTB specification.
* Supported by Google.
* </pre>
*
* <code>optional string type = 1;</code>
* @return This builder for chaining.
*/
public Builder clearType() {
copyOnWrite();
instance.clearType();
return this;
}
/**
* <pre>
* Type of metric being presented using exchange curated string
* names which should be published to bidders a priori.
* REQUIRED by the OpenRTB specification.
* Supported by Google.
* </pre>
*
* <code>optional string type = 1;</code>
* @param value The bytes for type to set.
* @return This builder for chaining.
*/
public Builder setTypeBytes(
com.google.protobuf.ByteString value) {
copyOnWrite();
instance.setTypeBytes(value);
return this;
}
/**
* <pre>
* Number representing the value of the metric.
* Probabilities must be in the range 0.0 - 1.0.
* REQUIRED by the OpenRTB specification.
* Supported by Google.
* </pre>
*
* <code>optional double value = 2;</code>
* @return Whether the value field is set.
*/
@java.lang.Override
public boolean hasValue() {
return instance.hasValue();
}
/**
* <pre>
* Number representing the value of the metric.
* Probabilities must be in the range 0.0 - 1.0.
* REQUIRED by the OpenRTB specification.
* Supported by Google.
* </pre>
*
* <code>optional double value = 2;</code>
* @return The value.
*/
@java.lang.Override
public double getValue() {
return instance.getValue();
}
/**
* <pre>
* Number representing the value of the metric.
* Probabilities must be in the range 0.0 - 1.0.
* REQUIRED by the OpenRTB specification.
* Supported by Google.
* </pre>
*
* <code>optional double value = 2;</code>
* @param value The value to set.
* @return This builder for chaining.
*/
public Builder setValue(double value) {
copyOnWrite();
instance.setValue(value);
return this;
}
/**
* <pre>
* Number representing the value of the metric.
* Probabilities must be in the range 0.0 - 1.0.
* REQUIRED by the OpenRTB specification.
* Supported by Google.
* </pre>
*
* <code>optional double value = 2;</code>
* @return This builder for chaining.
*/
public Builder clearValue() {
copyOnWrite();
instance.clearValue();
return this;
}
/**
* <pre>
* Source of the value using exchange curated string names
* which should be published to bidders a priori.
* If the exchange itself is the source versus a third party,
* "EXCHANGE" is recommended.
* Supported by Google.
* </pre>
*
* <code>optional string vendor = 3;</code>
* @return Whether the vendor field is set.
*/
@java.lang.Override
public boolean hasVendor() {
return instance.hasVendor();
}
/**
* <pre>
* Source of the value using exchange curated string names
* which should be published to bidders a priori.
* If the exchange itself is the source versus a third party,
* "EXCHANGE" is recommended.
* Supported by Google.
* </pre>
*
* <code>optional string vendor = 3;</code>
* @return The vendor.
*/
@java.lang.Override
public java.lang.String getVendor() {
return instance.getVendor();
}
/**
* <pre>
* Source of the value using exchange curated string names
* which should be published to bidders a priori.
* If the exchange itself is the source versus a third party,
* "EXCHANGE" is recommended.
* Supported by Google.
* </pre>
*
* <code>optional string vendor = 3;</code>
* @return The bytes for vendor.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getVendorBytes() {
return instance.getVendorBytes();
}
/**
* <pre>
* Source of the value using exchange curated string names
* which should be published to bidders a priori.
* If the exchange itself is the source versus a third party,
* "EXCHANGE" is recommended.
* Supported by Google.
* </pre>
*
* <code>optional string vendor = 3;</code>
* @param value The vendor to set.
* @return This builder for chaining.
*/
public Builder setVendor(
java.lang.String value) {
copyOnWrite();
instance.setVendor(value);
return this;
}
/**
* <pre>
* Source of the value using exchange curated string names
* which should be published to bidders a priori.
* If the exchange itself is the source versus a third party,
* "EXCHANGE" is recommended.
* Supported by Google.
* </pre>
*
* <code>optional string vendor = 3;</code>
* @return This builder for chaining.
*/
public Builder clearVendor() {
copyOnWrite();
instance.clearVendor();
return this;
}
/**
* <pre>
* Source of the value using exchange curated string names
* which should be published to bidders a priori.
* If the exchange itself is the source versus a third party,
* "EXCHANGE" is recommended.
* Supported by Google.
* </pre>
*
* <code>optional string vendor = 3;</code>
* @param value The bytes for vendor to set.
* @return This builder for chaining.
*/
public Builder setVendorBytes(
com.google.protobuf.ByteString value) {
copyOnWrite();
instance.setVendorBytes(value);
return this;
}
// @@protoc_insertion_point(builder_scope:com.google.openrtb.BidRequest.Imp.Metric)
}
private byte memoizedIsInitialized = 2;
@java.lang.Override
@java.lang.SuppressWarnings({"unchecked", "fallthrough"})
protected final java.lang.Object dynamicMethod(
com.google.protobuf.GeneratedMessageLite.MethodToInvoke method,
java.lang.Object arg0, java.lang.Object arg1) {
switch (method) {
case NEW_MUTABLE_INSTANCE: {
return new com.particles.mes.protos.openrtb.BidRequest.Imp.Metric();
}
case NEW_BUILDER: {
return new Builder();
}
case BUILD_MESSAGE_INFO: {
java.lang.Object[] objects = new java.lang.Object[] {
"bitField0_",
"type_",
"value_",
"vendor_",
};
java.lang.String info =
"\u0001\u0003\u0000\u0001\u0001\u0003\u0003\u0000\u0000\u0000\u0001\u1008\u0000\u0002" +
"\u1000\u0001\u0003\u1008\u0002";
return newMessageInfo(DEFAULT_INSTANCE, info, objects);
}
// fall through
case GET_DEFAULT_INSTANCE: {
return DEFAULT_INSTANCE;
}
case GET_PARSER: {
com.google.protobuf.Parser<com.particles.mes.protos.openrtb.BidRequest.Imp.Metric> parser = PARSER;
if (parser == null) {
synchronized (com.particles.mes.protos.openrtb.BidRequest.Imp.Metric.class) {
parser = PARSER;
if (parser == null) {
parser =
new DefaultInstanceBasedParser<com.particles.mes.protos.openrtb.BidRequest.Imp.Metric>(
DEFAULT_INSTANCE);
PARSER = parser;
}
}
}
return parser;
}
case GET_MEMOIZED_IS_INITIALIZED: {
return memoizedIsInitialized;
}
case SET_MEMOIZED_IS_INITIALIZED: {
memoizedIsInitialized = (byte) (arg0 == null ? 0 : 1);
return null;
}
}
throw new UnsupportedOperationException();
}
// @@protoc_insertion_point(class_scope:com.google.openrtb.BidRequest.Imp.Metric)
private static final com.particles.mes.protos.openrtb.BidRequest.Imp.Metric DEFAULT_INSTANCE;
static {
Metric defaultInstance = new Metric();
// New instances are implicitly immutable so no need to make
// immutable.
DEFAULT_INSTANCE = defaultInstance;
com.google.protobuf.GeneratedMessageLite.registerDefaultInstance(
Metric.class, defaultInstance);
}
public static com.particles.mes.protos.openrtb.BidRequest.Imp.Metric getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static volatile com.google.protobuf.Parser<Metric> PARSER;
public static com.google.protobuf.Parser<Metric> parser() {
return DEFAULT_INSTANCE.getParserForType();
}
}
private int bitField0_;
public static final int ID_FIELD_NUMBER = 1;
private java.lang.String id_;
/**
* <pre>
* A unique identifier for this impression within the context of the bid
* request (typically, value starts with 1, and increments up to n
* for n impressions).
* Supported by Google.
* </pre>
*
* <code>required string id = 1;</code>
* @return Whether the id field is set.
*/
@java.lang.Override
public boolean hasId() {
return ((bitField0_ & 0x00000001) != 0);
}
/**
* <pre>
* A unique identifier for this impression within the context of the bid
* request (typically, value starts with 1, and increments up to n
* for n impressions).
* Supported by Google.
* </pre>
*
* <code>required string id = 1;</code>
* @return The id.
*/
@java.lang.Override
public java.lang.String getId() {
return id_;
}
/**
* <pre>
* A unique identifier for this impression within the context of the bid
* request (typically, value starts with 1, and increments up to n
* for n impressions).
* Supported by Google.
* </pre>
*
* <code>required string id = 1;</code>
* @return The bytes for id.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getIdBytes() {
return com.google.protobuf.ByteString.copyFromUtf8(id_);
}
/**
* <pre>
* A unique identifier for this impression within the context of the bid
* request (typically, value starts with 1, and increments up to n
* for n impressions).
* Supported by Google.
* </pre>
*
* <code>required string id = 1;</code>
* @param value The id to set.
*/
private void setId(
java.lang.String value) {
java.lang.Class<?> valueClass = value.getClass();
bitField0_ |= 0x00000001;
id_ = value;
}
/**
* <pre>
* A unique identifier for this impression within the context of the bid
* request (typically, value starts with 1, and increments up to n
* for n impressions).
* Supported by Google.
* </pre>
*
* <code>required string id = 1;</code>
*/
private void clearId() {
bitField0_ = (bitField0_ & ~0x00000001);
id_ = getDefaultInstance().getId();
}
/**
* <pre>
* A unique identifier for this impression within the context of the bid
* request (typically, value starts with 1, and increments up to n
* for n impressions).
* Supported by Google.
* </pre>
*
* <code>required string id = 1;</code>
* @param value The bytes for id to set.
*/
private void setIdBytes(
com.google.protobuf.ByteString value) {
id_ = value.toStringUtf8();
bitField0_ |= 0x00000001;
}
public static final int BANNER_FIELD_NUMBER = 2;
private com.particles.mes.protos.openrtb.BidRequest.Imp.Banner banner_;
/**
* <pre>
* A Banner object (Section 3.2.3); required if this impression is
* offered as a banner ad opportunity.
* Supported by Google.
* </pre>
*
* <code>optional .com.google.openrtb.BidRequest.Imp.Banner banner = 2;</code>
*/
@java.lang.Override
public boolean hasBanner() {
return ((bitField0_ & 0x00000002) != 0);
}
/**
* <pre>
* A Banner object (Section 3.2.3); required if this impression is
* offered as a banner ad opportunity.
* Supported by Google.
* </pre>
*
* <code>optional .com.google.openrtb.BidRequest.Imp.Banner banner = 2;</code>
*/
@java.lang.Override
public com.particles.mes.protos.openrtb.BidRequest.Imp.Banner getBanner() {
return banner_ == null ? com.particles.mes.protos.openrtb.BidRequest.Imp.Banner.getDefaultInstance() : banner_;
}
/**
* <pre>
* A Banner object (Section 3.2.3); required if this impression is
* offered as a banner ad opportunity.
* Supported by Google.
* </pre>
*
* <code>optional .com.google.openrtb.BidRequest.Imp.Banner banner = 2;</code>
*/
private void setBanner(com.particles.mes.protos.openrtb.BidRequest.Imp.Banner value) {
value.getClass();
banner_ = value;
bitField0_ |= 0x00000002;
}
/**
* <pre>
* A Banner object (Section 3.2.3); required if this impression is
* offered as a banner ad opportunity.
* Supported by Google.
* </pre>
*
* <code>optional .com.google.openrtb.BidRequest.Imp.Banner banner = 2;</code>
*/
@java.lang.SuppressWarnings({"ReferenceEquality"})
private void mergeBanner(com.particles.mes.protos.openrtb.BidRequest.Imp.Banner value) {
value.getClass();
if (banner_ != null &&
banner_ != com.particles.mes.protos.openrtb.BidRequest.Imp.Banner.getDefaultInstance()) {
banner_ =
com.particles.mes.protos.openrtb.BidRequest.Imp.Banner.newBuilder(banner_).mergeFrom(value).buildPartial();
} else {
banner_ = value;
}
bitField0_ |= 0x00000002;
}
/**
* <pre>
* A Banner object (Section 3.2.3); required if this impression is
* offered as a banner ad opportunity.
* Supported by Google.
* </pre>
*
* <code>optional .com.google.openrtb.BidRequest.Imp.Banner banner = 2;</code>
*/
private void clearBanner() { banner_ = null;
bitField0_ = (bitField0_ & ~0x00000002);
}
public static final int VIDEO_FIELD_NUMBER = 3;
private com.particles.mes.protos.openrtb.BidRequest.Imp.Video video_;
/**
* <pre>
* A Video object (Section 3.2.4); required if this impression is
* offered as a video ad opportunity.
* Supported by Google.
* </pre>
*
* <code>optional .com.google.openrtb.BidRequest.Imp.Video video = 3;</code>
*/
@java.lang.Override
public boolean hasVideo() {
return ((bitField0_ & 0x00000004) != 0);
}
/**
* <pre>
* A Video object (Section 3.2.4); required if this impression is
* offered as a video ad opportunity.
* Supported by Google.
* </pre>
*
* <code>optional .com.google.openrtb.BidRequest.Imp.Video video = 3;</code>
*/
@java.lang.Override
public com.particles.mes.protos.openrtb.BidRequest.Imp.Video getVideo() {
return video_ == null ? com.particles.mes.protos.openrtb.BidRequest.Imp.Video.getDefaultInstance() : video_;
}
/**
* <pre>
* A Video object (Section 3.2.4); required if this impression is
* offered as a video ad opportunity.
* Supported by Google.
* </pre>
*
* <code>optional .com.google.openrtb.BidRequest.Imp.Video video = 3;</code>
*/
private void setVideo(com.particles.mes.protos.openrtb.BidRequest.Imp.Video value) {
value.getClass();
video_ = value;
bitField0_ |= 0x00000004;
}
/**
* <pre>
* A Video object (Section 3.2.4); required if this impression is
* offered as a video ad opportunity.
* Supported by Google.
* </pre>
*
* <code>optional .com.google.openrtb.BidRequest.Imp.Video video = 3;</code>
*/
@java.lang.SuppressWarnings({"ReferenceEquality"})
private void mergeVideo(com.particles.mes.protos.openrtb.BidRequest.Imp.Video value) {
value.getClass();
if (video_ != null &&
video_ != com.particles.mes.protos.openrtb.BidRequest.Imp.Video.getDefaultInstance()) {
video_ =
com.particles.mes.protos.openrtb.BidRequest.Imp.Video.newBuilder(video_).mergeFrom(value).buildPartial();
} else {
video_ = value;
}
bitField0_ |= 0x00000004;
}
/**
* <pre>
* A Video object (Section 3.2.4); required if this impression is
* offered as a video ad opportunity.
* Supported by Google.
* </pre>
*
* <code>optional .com.google.openrtb.BidRequest.Imp.Video video = 3;</code>
*/
private void clearVideo() { video_ = null;
bitField0_ = (bitField0_ & ~0x00000004);
}
public static final int AUDIO_FIELD_NUMBER = 15;
private com.particles.mes.protos.openrtb.BidRequest.Imp.Audio audio_;
/**
* <pre>
* An Audio object; required if this impression is offered
* as an audio ad opportunity.
* Supported by Google.
* </pre>
*
* <code>optional .com.google.openrtb.BidRequest.Imp.Audio audio = 15;</code>
*/
@java.lang.Override
public boolean hasAudio() {
return ((bitField0_ & 0x00000008) != 0);
}
/**
* <pre>
* An Audio object; required if this impression is offered
* as an audio ad opportunity.
* Supported by Google.
* </pre>
*
* <code>optional .com.google.openrtb.BidRequest.Imp.Audio audio = 15;</code>
*/
@java.lang.Override
public com.particles.mes.protos.openrtb.BidRequest.Imp.Audio getAudio() {
return audio_ == null ? com.particles.mes.protos.openrtb.BidRequest.Imp.Audio.getDefaultInstance() : audio_;
}
/**
* <pre>
* An Audio object; required if this impression is offered
* as an audio ad opportunity.
* Supported by Google.
* </pre>
*
* <code>optional .com.google.openrtb.BidRequest.Imp.Audio audio = 15;</code>
*/
private void setAudio(com.particles.mes.protos.openrtb.BidRequest.Imp.Audio value) {
value.getClass();
audio_ = value;
bitField0_ |= 0x00000008;
}
/**
* <pre>
* An Audio object; required if this impression is offered
* as an audio ad opportunity.
* Supported by Google.
* </pre>
*
* <code>optional .com.google.openrtb.BidRequest.Imp.Audio audio = 15;</code>
*/
@java.lang.SuppressWarnings({"ReferenceEquality"})
private void mergeAudio(com.particles.mes.protos.openrtb.BidRequest.Imp.Audio value) {
value.getClass();
if (audio_ != null &&
audio_ != com.particles.mes.protos.openrtb.BidRequest.Imp.Audio.getDefaultInstance()) {
audio_ =
com.particles.mes.protos.openrtb.BidRequest.Imp.Audio.newBuilder(audio_).mergeFrom(value).buildPartial();
} else {
audio_ = value;
}
bitField0_ |= 0x00000008;
}
/**
* <pre>
* An Audio object; required if this impression is offered
* as an audio ad opportunity.
* Supported by Google.
* </pre>
*
* <code>optional .com.google.openrtb.BidRequest.Imp.Audio audio = 15;</code>
*/
private void clearAudio() { audio_ = null;
bitField0_ = (bitField0_ & ~0x00000008);
}
public static final int DISPLAYMANAGER_FIELD_NUMBER = 4;
private java.lang.String displaymanager_;
/**
* <pre>
* Name of ad mediation partner, SDK technology, or player responsible
* for rendering ad (typically video or mobile). Used by some ad servers
* to customize ad code by partner. Recommended for video and/or apps.
* Supported by Google.
* </pre>
*
* <code>optional string displaymanager = 4;</code>
* @return Whether the displaymanager field is set.
*/
@java.lang.Override
public boolean hasDisplaymanager() {
return ((bitField0_ & 0x00000010) != 0);
}
/**
* <pre>
* Name of ad mediation partner, SDK technology, or player responsible
* for rendering ad (typically video or mobile). Used by some ad servers
* to customize ad code by partner. Recommended for video and/or apps.
* Supported by Google.
* </pre>
*
* <code>optional string displaymanager = 4;</code>
* @return The displaymanager.
*/
@java.lang.Override
public java.lang.String getDisplaymanager() {
return displaymanager_;
}
/**
* <pre>
* Name of ad mediation partner, SDK technology, or player responsible
* for rendering ad (typically video or mobile). Used by some ad servers
* to customize ad code by partner. Recommended for video and/or apps.
* Supported by Google.
* </pre>
*
* <code>optional string displaymanager = 4;</code>
* @return The bytes for displaymanager.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getDisplaymanagerBytes() {
return com.google.protobuf.ByteString.copyFromUtf8(displaymanager_);
}
/**
* <pre>
* Name of ad mediation partner, SDK technology, or player responsible
* for rendering ad (typically video or mobile). Used by some ad servers
* to customize ad code by partner. Recommended for video and/or apps.
* Supported by Google.
* </pre>
*
* <code>optional string displaymanager = 4;</code>
* @param value The displaymanager to set.
*/
private void setDisplaymanager(
java.lang.String value) {
java.lang.Class<?> valueClass = value.getClass();
bitField0_ |= 0x00000010;
displaymanager_ = value;
}
/**
* <pre>
* Name of ad mediation partner, SDK technology, or player responsible
* for rendering ad (typically video or mobile). Used by some ad servers
* to customize ad code by partner. Recommended for video and/or apps.
* Supported by Google.
* </pre>
*
* <code>optional string displaymanager = 4;</code>
*/
private void clearDisplaymanager() {
bitField0_ = (bitField0_ & ~0x00000010);
displaymanager_ = getDefaultInstance().getDisplaymanager();
}
/**
* <pre>
* Name of ad mediation partner, SDK technology, or player responsible
* for rendering ad (typically video or mobile). Used by some ad servers
* to customize ad code by partner. Recommended for video and/or apps.
* Supported by Google.
* </pre>
*
* <code>optional string displaymanager = 4;</code>
* @param value The bytes for displaymanager to set.
*/
private void setDisplaymanagerBytes(
com.google.protobuf.ByteString value) {
displaymanager_ = value.toStringUtf8();
bitField0_ |= 0x00000010;
}
public static final int DISPLAYMANAGERVER_FIELD_NUMBER = 5;
private java.lang.String displaymanagerver_;
/**
* <pre>
* Version of ad mediation partner, SDK technology, or player responsible
* for rendering ad (typically video or mobile). Used by some ad servers
* to customize ad code by partner. Recommended for video and/or apps.
* Not supported by Google.
* </pre>
*
* <code>optional string displaymanagerver = 5;</code>
* @return Whether the displaymanagerver field is set.
*/
@java.lang.Override
public boolean hasDisplaymanagerver() {
return ((bitField0_ & 0x00000020) != 0);
}
/**
* <pre>
* Version of ad mediation partner, SDK technology, or player responsible
* for rendering ad (typically video or mobile). Used by some ad servers
* to customize ad code by partner. Recommended for video and/or apps.
* Not supported by Google.
* </pre>
*
* <code>optional string displaymanagerver = 5;</code>
* @return The displaymanagerver.
*/
@java.lang.Override
public java.lang.String getDisplaymanagerver() {
return displaymanagerver_;
}
/**
* <pre>
* Version of ad mediation partner, SDK technology, or player responsible
* for rendering ad (typically video or mobile). Used by some ad servers
* to customize ad code by partner. Recommended for video and/or apps.
* Not supported by Google.
* </pre>
*
* <code>optional string displaymanagerver = 5;</code>
* @return The bytes for displaymanagerver.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getDisplaymanagerverBytes() {
return com.google.protobuf.ByteString.copyFromUtf8(displaymanagerver_);
}
/**
* <pre>
* Version of ad mediation partner, SDK technology, or player responsible
* for rendering ad (typically video or mobile). Used by some ad servers
* to customize ad code by partner. Recommended for video and/or apps.
* Not supported by Google.
* </pre>
*
* <code>optional string displaymanagerver = 5;</code>
* @param value The displaymanagerver to set.
*/
private void setDisplaymanagerver(
java.lang.String value) {
java.lang.Class<?> valueClass = value.getClass();
bitField0_ |= 0x00000020;
displaymanagerver_ = value;
}
/**
* <pre>
* Version of ad mediation partner, SDK technology, or player responsible
* for rendering ad (typically video or mobile). Used by some ad servers
* to customize ad code by partner. Recommended for video and/or apps.
* Not supported by Google.
* </pre>
*
* <code>optional string displaymanagerver = 5;</code>
*/
private void clearDisplaymanagerver() {
bitField0_ = (bitField0_ & ~0x00000020);
displaymanagerver_ = getDefaultInstance().getDisplaymanagerver();
}
/**
* <pre>
* Version of ad mediation partner, SDK technology, or player responsible
* for rendering ad (typically video or mobile). Used by some ad servers
* to customize ad code by partner. Recommended for video and/or apps.
* Not supported by Google.
* </pre>
*
* <code>optional string displaymanagerver = 5;</code>
* @param value The bytes for displaymanagerver to set.
*/
private void setDisplaymanagerverBytes(
com.google.protobuf.ByteString value) {
displaymanagerver_ = value.toStringUtf8();
bitField0_ |= 0x00000020;
}
public static final int INSTL_FIELD_NUMBER = 6;
private boolean instl_;
/**
* <pre>
* true = the ad is interstitial or full screen, false = not interstitial.
* Supported by Google.
* </pre>
*
* <code>optional bool instl = 6;</code>
* @return Whether the instl field is set.
*/
@java.lang.Override
public boolean hasInstl() {
return ((bitField0_ & 0x00000040) != 0);
}
/**
* <pre>
* true = the ad is interstitial or full screen, false = not interstitial.
* Supported by Google.
* </pre>
*
* <code>optional bool instl = 6;</code>
* @return The instl.
*/
@java.lang.Override
public boolean getInstl() {
return instl_;
}
/**
* <pre>
* true = the ad is interstitial or full screen, false = not interstitial.
* Supported by Google.
* </pre>
*
* <code>optional bool instl = 6;</code>
* @param value The instl to set.
*/
private void setInstl(boolean value) {
bitField0_ |= 0x00000040;
instl_ = value;
}
/**
* <pre>
* true = the ad is interstitial or full screen, false = not interstitial.
* Supported by Google.
* </pre>
*
* <code>optional bool instl = 6;</code>
*/
private void clearInstl() {
bitField0_ = (bitField0_ & ~0x00000040);
instl_ = false;
}
public static final int TAGID_FIELD_NUMBER = 7;
private java.lang.String tagid_;
/**
* <pre>
* Identifier for specific ad placement or ad tag that was used to
* initiate the auction. This can be useful for debugging of any issues,
* or for optimization by the buyer.
* Supported by Google.
* </pre>
*
* <code>optional string tagid = 7;</code>
* @return Whether the tagid field is set.
*/
@java.lang.Override
public boolean hasTagid() {
return ((bitField0_ & 0x00000080) != 0);
}
/**
* <pre>
* Identifier for specific ad placement or ad tag that was used to
* initiate the auction. This can be useful for debugging of any issues,
* or for optimization by the buyer.
* Supported by Google.
* </pre>
*
* <code>optional string tagid = 7;</code>
* @return The tagid.
*/
@java.lang.Override
public java.lang.String getTagid() {
return tagid_;
}
/**
* <pre>
* Identifier for specific ad placement or ad tag that was used to
* initiate the auction. This can be useful for debugging of any issues,
* or for optimization by the buyer.
* Supported by Google.
* </pre>
*
* <code>optional string tagid = 7;</code>
* @return The bytes for tagid.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getTagidBytes() {
return com.google.protobuf.ByteString.copyFromUtf8(tagid_);
}
/**
* <pre>
* Identifier for specific ad placement or ad tag that was used to
* initiate the auction. This can be useful for debugging of any issues,
* or for optimization by the buyer.
* Supported by Google.
* </pre>
*
* <code>optional string tagid = 7;</code>
* @param value The tagid to set.
*/
private void setTagid(
java.lang.String value) {
java.lang.Class<?> valueClass = value.getClass();
bitField0_ |= 0x00000080;
tagid_ = value;
}
/**
* <pre>
* Identifier for specific ad placement or ad tag that was used to
* initiate the auction. This can be useful for debugging of any issues,
* or for optimization by the buyer.
* Supported by Google.
* </pre>
*
* <code>optional string tagid = 7;</code>
*/
private void clearTagid() {
bitField0_ = (bitField0_ & ~0x00000080);
tagid_ = getDefaultInstance().getTagid();
}
/**
* <pre>
* Identifier for specific ad placement or ad tag that was used to
* initiate the auction. This can be useful for debugging of any issues,
* or for optimization by the buyer.
* Supported by Google.
* </pre>
*
* <code>optional string tagid = 7;</code>
* @param value The bytes for tagid to set.
*/
private void setTagidBytes(
com.google.protobuf.ByteString value) {
tagid_ = value.toStringUtf8();
bitField0_ |= 0x00000080;
}
public static final int BIDFLOOR_FIELD_NUMBER = 8;
private double bidfloor_;
/**
* <pre>
* Minimum bid for this impression expressed in CPM.
* Supported by Google.
* </pre>
*
* <code>optional double bidfloor = 8 [default = 0];</code>
* @return Whether the bidfloor field is set.
*/
@java.lang.Override
public boolean hasBidfloor() {
return ((bitField0_ & 0x00000100) != 0);
}
/**
* <pre>
* Minimum bid for this impression expressed in CPM.
* Supported by Google.
* </pre>
*
* <code>optional double bidfloor = 8 [default = 0];</code>
* @return The bidfloor.
*/
@java.lang.Override
public double getBidfloor() {
return bidfloor_;
}
/**
* <pre>
* Minimum bid for this impression expressed in CPM.
* Supported by Google.
* </pre>
*
* <code>optional double bidfloor = 8 [default = 0];</code>
* @param value The bidfloor to set.
*/
private void setBidfloor(double value) {
bitField0_ |= 0x00000100;
bidfloor_ = value;
}
/**
* <pre>
* Minimum bid for this impression expressed in CPM.
* Supported by Google.
* </pre>
*
* <code>optional double bidfloor = 8 [default = 0];</code>
*/
private void clearBidfloor() {
bitField0_ = (bitField0_ & ~0x00000100);
bidfloor_ = 0D;
}
public static final int BIDFLOORCUR_FIELD_NUMBER = 9;
private java.lang.String bidfloorcur_;
/**
* <pre>
* Currency specified using ISO-4217 alpha codes. This may be different
* from bid currency returned by bidder if this is allowed by the exchange.
* Supported by Google.
* </pre>
*
* <code>optional string bidfloorcur = 9 [default = "USD"];</code>
* @return Whether the bidfloorcur field is set.
*/
@java.lang.Override
public boolean hasBidfloorcur() {
return ((bitField0_ & 0x00000200) != 0);
}
/**
* <pre>
* Currency specified using ISO-4217 alpha codes. This may be different
* from bid currency returned by bidder if this is allowed by the exchange.
* Supported by Google.
* </pre>
*
* <code>optional string bidfloorcur = 9 [default = "USD"];</code>
* @return The bidfloorcur.
*/
@java.lang.Override
public java.lang.String getBidfloorcur() {
return bidfloorcur_;
}
/**
* <pre>
* Currency specified using ISO-4217 alpha codes. This may be different
* from bid currency returned by bidder if this is allowed by the exchange.
* Supported by Google.
* </pre>
*
* <code>optional string bidfloorcur = 9 [default = "USD"];</code>
* @return The bytes for bidfloorcur.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getBidfloorcurBytes() {
return com.google.protobuf.ByteString.copyFromUtf8(bidfloorcur_);
}
/**
* <pre>
* Currency specified using ISO-4217 alpha codes. This may be different
* from bid currency returned by bidder if this is allowed by the exchange.
* Supported by Google.
* </pre>
*
* <code>optional string bidfloorcur = 9 [default = "USD"];</code>
* @param value The bidfloorcur to set.
*/
private void setBidfloorcur(
java.lang.String value) {
java.lang.Class<?> valueClass = value.getClass();
bitField0_ |= 0x00000200;
bidfloorcur_ = value;
}
/**
* <pre>
* Currency specified using ISO-4217 alpha codes. This may be different
* from bid currency returned by bidder if this is allowed by the exchange.
* Supported by Google.
* </pre>
*
* <code>optional string bidfloorcur = 9 [default = "USD"];</code>
*/
private void clearBidfloorcur() {
bitField0_ = (bitField0_ & ~0x00000200);
bidfloorcur_ = getDefaultInstance().getBidfloorcur();
}
/**
* <pre>
* Currency specified using ISO-4217 alpha codes. This may be different
* from bid currency returned by bidder if this is allowed by the exchange.
* Supported by Google.
* </pre>
*
* <code>optional string bidfloorcur = 9 [default = "USD"];</code>
* @param value The bytes for bidfloorcur to set.
*/
private void setBidfloorcurBytes(
com.google.protobuf.ByteString value) {
bidfloorcur_ = value.toStringUtf8();
bitField0_ |= 0x00000200;
}
public static final int CLICKBROWSER_FIELD_NUMBER = 16;
private boolean clickbrowser_;
/**
* <pre>
* Indicates the type of browser opened upon clicking the
* creative in an app, where false = embedded, true = native.
* Note that the Safari View Controller in iOS 9.x devices is considered
* a native browser for purposes of this attribute.
* Supported by Google.
* </pre>
*
* <code>optional bool clickbrowser = 16;</code>
* @return Whether the clickbrowser field is set.
*/
@java.lang.Override
public boolean hasClickbrowser() {
return ((bitField0_ & 0x00000400) != 0);
}
/**
* <pre>
* Indicates the type of browser opened upon clicking the
* creative in an app, where false = embedded, true = native.
* Note that the Safari View Controller in iOS 9.x devices is considered
* a native browser for purposes of this attribute.
* Supported by Google.
* </pre>
*
* <code>optional bool clickbrowser = 16;</code>
* @return The clickbrowser.
*/
@java.lang.Override
public boolean getClickbrowser() {
return clickbrowser_;
}
/**
* <pre>
* Indicates the type of browser opened upon clicking the
* creative in an app, where false = embedded, true = native.
* Note that the Safari View Controller in iOS 9.x devices is considered
* a native browser for purposes of this attribute.
* Supported by Google.
* </pre>
*
* <code>optional bool clickbrowser = 16;</code>
* @param value The clickbrowser to set.
*/
private void setClickbrowser(boolean value) {
bitField0_ |= 0x00000400;
clickbrowser_ = value;
}
/**
* <pre>
* Indicates the type of browser opened upon clicking the
* creative in an app, where false = embedded, true = native.
* Note that the Safari View Controller in iOS 9.x devices is considered
* a native browser for purposes of this attribute.
* Supported by Google.
* </pre>
*
* <code>optional bool clickbrowser = 16;</code>
*/
private void clearClickbrowser() {
bitField0_ = (bitField0_ & ~0x00000400);
clickbrowser_ = false;
}
public static final int SECURE_FIELD_NUMBER = 12;
private boolean secure_;
/**
* <pre>
* Indicates if the impression requires secure HTTPS URL creative
* assets and markup. If omitted, the secure state is unknown, but
* non-secure HTTP support can be assumed.
* Supported by Google.
* </pre>
*
* <code>optional bool secure = 12;</code>
* @return Whether the secure field is set.
*/
@java.lang.Override
public boolean hasSecure() {
return ((bitField0_ & 0x00000800) != 0);
}
/**
* <pre>
* Indicates if the impression requires secure HTTPS URL creative
* assets and markup. If omitted, the secure state is unknown, but
* non-secure HTTP support can be assumed.
* Supported by Google.
* </pre>
*
* <code>optional bool secure = 12;</code>
* @return The secure.
*/
@java.lang.Override
public boolean getSecure() {
return secure_;
}
/**
* <pre>
* Indicates if the impression requires secure HTTPS URL creative
* assets and markup. If omitted, the secure state is unknown, but
* non-secure HTTP support can be assumed.
* Supported by Google.
* </pre>
*
* <code>optional bool secure = 12;</code>
* @param value The secure to set.
*/
private void setSecure(boolean value) {
bitField0_ |= 0x00000800;
secure_ = value;
}
/**
* <pre>
* Indicates if the impression requires secure HTTPS URL creative
* assets and markup. If omitted, the secure state is unknown, but
* non-secure HTTP support can be assumed.
* Supported by Google.
* </pre>
*
* <code>optional bool secure = 12;</code>
*/
private void clearSecure() {
bitField0_ = (bitField0_ & ~0x00000800);
secure_ = false;
}
public static final int IFRAMEBUSTER_FIELD_NUMBER = 10;
private com.google.protobuf.Internal.ProtobufList<java.lang.String> iframebuster_;
/**
* <pre>
* Array of exchange-specific names of supported iframe busters.
* Not supported by Google.
* </pre>
*
* <code>repeated string iframebuster = 10;</code>
* @return A list containing the iframebuster.
*/
@java.lang.Override
public java.util.List<java.lang.String> getIframebusterList() {
return iframebuster_;
}
/**
* <pre>
* Array of exchange-specific names of supported iframe busters.
* Not supported by Google.
* </pre>
*
* <code>repeated string iframebuster = 10;</code>
* @return The count of iframebuster.
*/
@java.lang.Override
public int getIframebusterCount() {
return iframebuster_.size();
}
/**
* <pre>
* Array of exchange-specific names of supported iframe busters.
* Not supported by Google.
* </pre>
*
* <code>repeated string iframebuster = 10;</code>
* @param index The index of the element to return.
* @return The iframebuster at the given index.
*/
@java.lang.Override
public java.lang.String getIframebuster(int index) {
return iframebuster_.get(index);
}
/**
* <pre>
* Array of exchange-specific names of supported iframe busters.
* Not supported by Google.
* </pre>
*
* <code>repeated string iframebuster = 10;</code>
* @param index The index of the value to return.
* @return The bytes of the iframebuster at the given index.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getIframebusterBytes(int index) {
return com.google.protobuf.ByteString.copyFromUtf8(
iframebuster_.get(index));
}
private void ensureIframebusterIsMutable() {
com.google.protobuf.Internal.ProtobufList<java.lang.String> tmp =
iframebuster_; if (!tmp.isModifiable()) {
iframebuster_ =
com.google.protobuf.GeneratedMessageLite.mutableCopy(tmp);
}
}
/**
* <pre>
* Array of exchange-specific names of supported iframe busters.
* Not supported by Google.
* </pre>
*
* <code>repeated string iframebuster = 10;</code>
* @param index The index to set the value at.
* @param value The iframebuster to set.
*/
private void setIframebuster(
int index, java.lang.String value) {
java.lang.Class<?> valueClass = value.getClass();
ensureIframebusterIsMutable();
iframebuster_.set(index, value);
}
/**
* <pre>
* Array of exchange-specific names of supported iframe busters.
* Not supported by Google.
* </pre>
*
* <code>repeated string iframebuster = 10;</code>
* @param value The iframebuster to add.
*/
private void addIframebuster(
java.lang.String value) {
java.lang.Class<?> valueClass = value.getClass();
ensureIframebusterIsMutable();
iframebuster_.add(value);
}
/**
* <pre>
* Array of exchange-specific names of supported iframe busters.
* Not supported by Google.
* </pre>
*
* <code>repeated string iframebuster = 10;</code>
* @param values The iframebuster to add.
*/
private void addAllIframebuster(
java.lang.Iterable<java.lang.String> values) {
ensureIframebusterIsMutable();
com.google.protobuf.AbstractMessageLite.addAll(
values, iframebuster_);
}
/**
* <pre>
* Array of exchange-specific names of supported iframe busters.
* Not supported by Google.
* </pre>
*
* <code>repeated string iframebuster = 10;</code>
*/
private void clearIframebuster() {
iframebuster_ = com.google.protobuf.GeneratedMessageLite.emptyProtobufList();
}
/**
* <pre>
* Array of exchange-specific names of supported iframe busters.
* Not supported by Google.
* </pre>
*
* <code>repeated string iframebuster = 10;</code>
* @param value The bytes of the iframebuster to add.
*/
private void addIframebusterBytes(
com.google.protobuf.ByteString value) {
ensureIframebusterIsMutable();
iframebuster_.add(value.toStringUtf8());
}
public static final int RWDD_FIELD_NUMBER = 18;
private boolean rwdd_;
/**
* <pre>
* Indicates whether the user receives a reward for viewing the ad.
* Typically video ad implementations allow users to read an additional news
* article for free, receive an extra life in a game, or get a sponsored
* ad-free music session. The reward is typically distributed after the
* video ad is completed.
* Supported by Google.
* </pre>
*
* <code>optional bool rwdd = 18 [default = false];</code>
* @return Whether the rwdd field is set.
*/
@java.lang.Override
public boolean hasRwdd() {
return ((bitField0_ & 0x00001000) != 0);
}
/**
* <pre>
* Indicates whether the user receives a reward for viewing the ad.
* Typically video ad implementations allow users to read an additional news
* article for free, receive an extra life in a game, or get a sponsored
* ad-free music session. The reward is typically distributed after the
* video ad is completed.
* Supported by Google.
* </pre>
*
* <code>optional bool rwdd = 18 [default = false];</code>
* @return The rwdd.
*/
@java.lang.Override
public boolean getRwdd() {
return rwdd_;
}
/**
* <pre>
* Indicates whether the user receives a reward for viewing the ad.
* Typically video ad implementations allow users to read an additional news
* article for free, receive an extra life in a game, or get a sponsored
* ad-free music session. The reward is typically distributed after the
* video ad is completed.
* Supported by Google.
* </pre>
*
* <code>optional bool rwdd = 18 [default = false];</code>
* @param value The rwdd to set.
*/
private void setRwdd(boolean value) {
bitField0_ |= 0x00001000;
rwdd_ = value;
}
/**
* <pre>
* Indicates whether the user receives a reward for viewing the ad.
* Typically video ad implementations allow users to read an additional news
* article for free, receive an extra life in a game, or get a sponsored
* ad-free music session. The reward is typically distributed after the
* video ad is completed.
* Supported by Google.
* </pre>
*
* <code>optional bool rwdd = 18 [default = false];</code>
*/
private void clearRwdd() {
bitField0_ = (bitField0_ & ~0x00001000);
rwdd_ = false;
}
public static final int SSAI_FIELD_NUMBER = 19;
private int ssai_;
/**
* <pre>
* Indicates if server-side ad insertion (e.g., stitching an ad into an
* audio or video stream) is in use and the impact of this on asset
* and tracker retrieval.
* Not supported by Google.
* </pre>
*
* <code>optional .com.google.openrtb.ServerSideAdInsertionType ssai = 19 [default = SERVER_SIDE_AD_INSERTION_TYPE_UNKNOWN];</code>
* @return Whether the ssai field is set.
*/
@java.lang.Override
public boolean hasSsai() {
return ((bitField0_ & 0x00002000) != 0);
}
/**
* <pre>
* Indicates if server-side ad insertion (e.g., stitching an ad into an
* audio or video stream) is in use and the impact of this on asset
* and tracker retrieval.
* Not supported by Google.
* </pre>
*
* <code>optional .com.google.openrtb.ServerSideAdInsertionType ssai = 19 [default = SERVER_SIDE_AD_INSERTION_TYPE_UNKNOWN];</code>
* @return The ssai.
*/
@java.lang.Override
public com.particles.mes.protos.openrtb.ServerSideAdInsertionType getSsai() {
com.particles.mes.protos.openrtb.ServerSideAdInsertionType result = com.particles.mes.protos.openrtb.ServerSideAdInsertionType.forNumber(ssai_);
return result == null ? com.particles.mes.protos.openrtb.ServerSideAdInsertionType.SERVER_SIDE_AD_INSERTION_TYPE_UNKNOWN : result;
}
/**
* <pre>
* Indicates if server-side ad insertion (e.g., stitching an ad into an
* audio or video stream) is in use and the impact of this on asset
* and tracker retrieval.
* Not supported by Google.
* </pre>
*
* <code>optional .com.google.openrtb.ServerSideAdInsertionType ssai = 19 [default = SERVER_SIDE_AD_INSERTION_TYPE_UNKNOWN];</code>
* @param value The ssai to set.
*/
private void setSsai(com.particles.mes.protos.openrtb.ServerSideAdInsertionType value) {
ssai_ = value.getNumber();
bitField0_ |= 0x00002000;
}
/**
* <pre>
* Indicates if server-side ad insertion (e.g., stitching an ad into an
* audio or video stream) is in use and the impact of this on asset
* and tracker retrieval.
* Not supported by Google.
* </pre>
*
* <code>optional .com.google.openrtb.ServerSideAdInsertionType ssai = 19 [default = SERVER_SIDE_AD_INSERTION_TYPE_UNKNOWN];</code>
*/
private void clearSsai() {
bitField0_ = (bitField0_ & ~0x00002000);
ssai_ = 0;
}
public static final int PMP_FIELD_NUMBER = 11;
private com.particles.mes.protos.openrtb.BidRequest.Imp.Pmp pmp_;
/**
* <pre>
* A Pmp object (Section 3.2.17) containing any private marketplace deals
* in effect for this impression.
* Supported by Google.
* </pre>
*
* <code>optional .com.google.openrtb.BidRequest.Imp.Pmp pmp = 11;</code>
*/
@java.lang.Override
public boolean hasPmp() {
return ((bitField0_ & 0x00004000) != 0);
}
/**
* <pre>
* A Pmp object (Section 3.2.17) containing any private marketplace deals
* in effect for this impression.
* Supported by Google.
* </pre>
*
* <code>optional .com.google.openrtb.BidRequest.Imp.Pmp pmp = 11;</code>
*/
@java.lang.Override
public com.particles.mes.protos.openrtb.BidRequest.Imp.Pmp getPmp() {
return pmp_ == null ? com.particles.mes.protos.openrtb.BidRequest.Imp.Pmp.getDefaultInstance() : pmp_;
}
/**
* <pre>
* A Pmp object (Section 3.2.17) containing any private marketplace deals
* in effect for this impression.
* Supported by Google.
* </pre>
*
* <code>optional .com.google.openrtb.BidRequest.Imp.Pmp pmp = 11;</code>
*/
private void setPmp(com.particles.mes.protos.openrtb.BidRequest.Imp.Pmp value) {
value.getClass();
pmp_ = value;
bitField0_ |= 0x00004000;
}
/**
* <pre>
* A Pmp object (Section 3.2.17) containing any private marketplace deals
* in effect for this impression.
* Supported by Google.
* </pre>
*
* <code>optional .com.google.openrtb.BidRequest.Imp.Pmp pmp = 11;</code>
*/
@java.lang.SuppressWarnings({"ReferenceEquality"})
private void mergePmp(com.particles.mes.protos.openrtb.BidRequest.Imp.Pmp value) {
value.getClass();
if (pmp_ != null &&
pmp_ != com.particles.mes.protos.openrtb.BidRequest.Imp.Pmp.getDefaultInstance()) {
pmp_ =
com.particles.mes.protos.openrtb.BidRequest.Imp.Pmp.newBuilder(pmp_).mergeFrom(value).buildPartial();
} else {
pmp_ = value;
}
bitField0_ |= 0x00004000;
}
/**
* <pre>
* A Pmp object (Section 3.2.17) containing any private marketplace deals
* in effect for this impression.
* Supported by Google.
* </pre>
*
* <code>optional .com.google.openrtb.BidRequest.Imp.Pmp pmp = 11;</code>
*/
private void clearPmp() { pmp_ = null;
bitField0_ = (bitField0_ & ~0x00004000);
}
public static final int NATIVE_FIELD_NUMBER = 13;
private com.particles.mes.protos.openrtb.BidRequest.Imp.Native native_;
/**
* <pre>
* A Native object (Section 3.2.5); required if this impression is
* offered as a native ad opportunity.
* Supported by Google.
* </pre>
*
* <code>optional .com.google.openrtb.BidRequest.Imp.Native native = 13;</code>
*/
@java.lang.Override
public boolean hasNative() {
return ((bitField0_ & 0x00008000) != 0);
}
/**
* <pre>
* A Native object (Section 3.2.5); required if this impression is
* offered as a native ad opportunity.
* Supported by Google.
* </pre>
*
* <code>optional .com.google.openrtb.BidRequest.Imp.Native native = 13;</code>
*/
@java.lang.Override
public com.particles.mes.protos.openrtb.BidRequest.Imp.Native getNative() {
return native_ == null ? com.particles.mes.protos.openrtb.BidRequest.Imp.Native.getDefaultInstance() : native_;
}
/**
* <pre>
* A Native object (Section 3.2.5); required if this impression is
* offered as a native ad opportunity.
* Supported by Google.
* </pre>
*
* <code>optional .com.google.openrtb.BidRequest.Imp.Native native = 13;</code>
*/
private void setNative(com.particles.mes.protos.openrtb.BidRequest.Imp.Native value) {
value.getClass();
native_ = value;
bitField0_ |= 0x00008000;
}
/**
* <pre>
* A Native object (Section 3.2.5); required if this impression is
* offered as a native ad opportunity.
* Supported by Google.
* </pre>
*
* <code>optional .com.google.openrtb.BidRequest.Imp.Native native = 13;</code>
*/
@java.lang.SuppressWarnings({"ReferenceEquality"})
private void mergeNative(com.particles.mes.protos.openrtb.BidRequest.Imp.Native value) {
value.getClass();
if (native_ != null &&
native_ != com.particles.mes.protos.openrtb.BidRequest.Imp.Native.getDefaultInstance()) {
native_ =
com.particles.mes.protos.openrtb.BidRequest.Imp.Native.newBuilder(native_).mergeFrom(value).buildPartial();
} else {
native_ = value;
}
bitField0_ |= 0x00008000;
}
/**
* <pre>
* A Native object (Section 3.2.5); required if this impression is
* offered as a native ad opportunity.
* Supported by Google.
* </pre>
*
* <code>optional .com.google.openrtb.BidRequest.Imp.Native native = 13;</code>
*/
private void clearNative() { native_ = null;
bitField0_ = (bitField0_ & ~0x00008000);
}
public static final int EXP_FIELD_NUMBER = 14;
private int exp_;
/**
* <pre>
* Advisory as to the number of seconds that may elapse
* between the auction and the actual impression.
* Supported by Google.
* </pre>
*
* <code>optional int32 exp = 14;</code>
* @return Whether the exp field is set.
*/
@java.lang.Override
public boolean hasExp() {
return ((bitField0_ & 0x00010000) != 0);
}
/**
* <pre>
* Advisory as to the number of seconds that may elapse
* between the auction and the actual impression.
* Supported by Google.
* </pre>
*
* <code>optional int32 exp = 14;</code>
* @return The exp.
*/
@java.lang.Override
public int getExp() {
return exp_;
}
/**
* <pre>
* Advisory as to the number of seconds that may elapse
* between the auction and the actual impression.
* Supported by Google.
* </pre>
*
* <code>optional int32 exp = 14;</code>
* @param value The exp to set.
*/
private void setExp(int value) {
bitField0_ |= 0x00010000;
exp_ = value;
}
/**
* <pre>
* Advisory as to the number of seconds that may elapse
* between the auction and the actual impression.
* Supported by Google.
* </pre>
*
* <code>optional int32 exp = 14;</code>
*/
private void clearExp() {
bitField0_ = (bitField0_ & ~0x00010000);
exp_ = 0;
}
public static final int METRIC_FIELD_NUMBER = 17;
private com.google.protobuf.Internal.ProtobufList<com.particles.mes.protos.openrtb.BidRequest.Imp.Metric> metric_;
/**
* <pre>
* An array of Metric object (Section 3.2.5).
* Supported by Google.
* </pre>
*
* <code>repeated .com.google.openrtb.BidRequest.Imp.Metric metric = 17;</code>
*/
@java.lang.Override
public java.util.List<com.particles.mes.protos.openrtb.BidRequest.Imp.Metric> getMetricList() {
return metric_;
}
/**
* <pre>
* An array of Metric object (Section 3.2.5).
* Supported by Google.
* </pre>
*
* <code>repeated .com.google.openrtb.BidRequest.Imp.Metric metric = 17;</code>
*/
public java.util.List<? extends com.particles.mes.protos.openrtb.BidRequest.Imp.MetricOrBuilder>
getMetricOrBuilderList() {
return metric_;
}
/**
* <pre>
* An array of Metric object (Section 3.2.5).
* Supported by Google.
* </pre>
*
* <code>repeated .com.google.openrtb.BidRequest.Imp.Metric metric = 17;</code>
*/
@java.lang.Override
public int getMetricCount() {
return metric_.size();
}
/**
* <pre>
* An array of Metric object (Section 3.2.5).
* Supported by Google.
* </pre>
*
* <code>repeated .com.google.openrtb.BidRequest.Imp.Metric metric = 17;</code>
*/
@java.lang.Override
public com.particles.mes.protos.openrtb.BidRequest.Imp.Metric getMetric(int index) {
return metric_.get(index);
}
/**
* <pre>
* An array of Metric object (Section 3.2.5).
* Supported by Google.
* </pre>
*
* <code>repeated .com.google.openrtb.BidRequest.Imp.Metric metric = 17;</code>
*/
public com.particles.mes.protos.openrtb.BidRequest.Imp.MetricOrBuilder getMetricOrBuilder(
int index) {
return metric_.get(index);
}
private void ensureMetricIsMutable() {
com.google.protobuf.Internal.ProtobufList<com.particles.mes.protos.openrtb.BidRequest.Imp.Metric> tmp = metric_;
if (!tmp.isModifiable()) {
metric_ =
com.google.protobuf.GeneratedMessageLite.mutableCopy(tmp);
}
}
/**
* <pre>
* An array of Metric object (Section 3.2.5).
* Supported by Google.
* </pre>
*
* <code>repeated .com.google.openrtb.BidRequest.Imp.Metric metric = 17;</code>
*/
private void setMetric(
int index, com.particles.mes.protos.openrtb.BidRequest.Imp.Metric value) {
value.getClass();
ensureMetricIsMutable();
metric_.set(index, value);
}
/**
* <pre>
* An array of Metric object (Section 3.2.5).
* Supported by Google.
* </pre>
*
* <code>repeated .com.google.openrtb.BidRequest.Imp.Metric metric = 17;</code>
*/
private void addMetric(com.particles.mes.protos.openrtb.BidRequest.Imp.Metric value) {
value.getClass();
ensureMetricIsMutable();
metric_.add(value);
}
/**
* <pre>
* An array of Metric object (Section 3.2.5).
* Supported by Google.
* </pre>
*
* <code>repeated .com.google.openrtb.BidRequest.Imp.Metric metric = 17;</code>
*/
private void addMetric(
int index, com.particles.mes.protos.openrtb.BidRequest.Imp.Metric value) {
value.getClass();
ensureMetricIsMutable();
metric_.add(index, value);
}
/**
* <pre>
* An array of Metric object (Section 3.2.5).
* Supported by Google.
* </pre>
*
* <code>repeated .com.google.openrtb.BidRequest.Imp.Metric metric = 17;</code>
*/
private void addAllMetric(
java.lang.Iterable<? extends com.particles.mes.protos.openrtb.BidRequest.Imp.Metric> values) {
ensureMetricIsMutable();
com.google.protobuf.AbstractMessageLite.addAll(
values, metric_);
}
/**
* <pre>
* An array of Metric object (Section 3.2.5).
* Supported by Google.
* </pre>
*
* <code>repeated .com.google.openrtb.BidRequest.Imp.Metric metric = 17;</code>
*/
private void clearMetric() {
metric_ = emptyProtobufList();
}
/**
* <pre>
* An array of Metric object (Section 3.2.5).
* Supported by Google.
* </pre>
*
* <code>repeated .com.google.openrtb.BidRequest.Imp.Metric metric = 17;</code>
*/
private void removeMetric(int index) {
ensureMetricIsMutable();
metric_.remove(index);
}
public static final int EXT_FIELD_NUMBER = 90;
private java.lang.String ext_;
/**
* <code>optional string ext = 90;</code>
* @return Whether the ext field is set.
*/
@java.lang.Override
public boolean hasExt() {
return ((bitField0_ & 0x00020000) != 0);
}
/**
* <code>optional string ext = 90;</code>
* @return The ext.
*/
@java.lang.Override
public java.lang.String getExt() {
return ext_;
}
/**
* <code>optional string ext = 90;</code>
* @return The bytes for ext.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getExtBytes() {
return com.google.protobuf.ByteString.copyFromUtf8(ext_);
}
/**
* <code>optional string ext = 90;</code>
* @param value The ext to set.
*/
private void setExt(
java.lang.String value) {
java.lang.Class<?> valueClass = value.getClass();
bitField0_ |= 0x00020000;
ext_ = value;
}
/**
* <code>optional string ext = 90;</code>
*/
private void clearExt() {
bitField0_ = (bitField0_ & ~0x00020000);
ext_ = getDefaultInstance().getExt();
}
/**
* <code>optional string ext = 90;</code>
* @param value The bytes for ext to set.
*/
private void setExtBytes(
com.google.protobuf.ByteString value) {
ext_ = value.toStringUtf8();
bitField0_ |= 0x00020000;
}
public static com.particles.mes.protos.openrtb.BidRequest.Imp parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, data);
}
public static com.particles.mes.protos.openrtb.BidRequest.Imp parseFrom(
java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, data, extensionRegistry);
}
public static com.particles.mes.protos.openrtb.BidRequest.Imp parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, data);
}
public static com.particles.mes.protos.openrtb.BidRequest.Imp parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, data, extensionRegistry);
}
public static com.particles.mes.protos.openrtb.BidRequest.Imp parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, data);
}
public static com.particles.mes.protos.openrtb.BidRequest.Imp parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, data, extensionRegistry);
}
public static com.particles.mes.protos.openrtb.BidRequest.Imp parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, input);
}
public static com.particles.mes.protos.openrtb.BidRequest.Imp parseFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, input, extensionRegistry);
}
public static com.particles.mes.protos.openrtb.BidRequest.Imp parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return parseDelimitedFrom(DEFAULT_INSTANCE, input);
}
public static com.particles.mes.protos.openrtb.BidRequest.Imp parseDelimitedFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return parseDelimitedFrom(DEFAULT_INSTANCE, input, extensionRegistry);
}
public static com.particles.mes.protos.openrtb.BidRequest.Imp parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, input);
}
public static com.particles.mes.protos.openrtb.BidRequest.Imp parseFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, input, extensionRegistry);
}
public static Builder newBuilder() {
return (Builder) DEFAULT_INSTANCE.createBuilder();
}
public static Builder newBuilder(com.particles.mes.protos.openrtb.BidRequest.Imp prototype) {
return (Builder) DEFAULT_INSTANCE.createBuilder(prototype);
}
/**
* <pre>
* OpenRTB 2.0: This object describes an ad placement or impression
* being auctioned. A single bid request can include multiple Imp objects,
* a use case for which might be an exchange that supports selling all
* ad positions on a given page. Each Imp object has a required ID so that
* bids can reference them individually.
* The presence of Banner (Section 3.2.3), Video (Section 3.2.4),
* and/or Native (Section 3.2.5) objects subordinate to the Imp object
* indicates the type of impression being offered. The publisher can choose
* one such type which is the typical case or mix them at their discretion.
* Any given bid for the impression must conform to one of the offered types.
* </pre>
*
* Protobuf type {@code com.google.openrtb.BidRequest.Imp}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageLite.ExtendableBuilder<
com.particles.mes.protos.openrtb.BidRequest.Imp, Builder> implements
// @@protoc_insertion_point(builder_implements:com.google.openrtb.BidRequest.Imp)
com.particles.mes.protos.openrtb.BidRequest.ImpOrBuilder {
// Construct using com.particles.mes.protos.openrtb.BidRequest.Imp.newBuilder()
private Builder() {
super(DEFAULT_INSTANCE);
}
/**
* <pre>
* A unique identifier for this impression within the context of the bid
* request (typically, value starts with 1, and increments up to n
* for n impressions).
* Supported by Google.
* </pre>
*
* <code>required string id = 1;</code>
* @return Whether the id field is set.
*/
@java.lang.Override
public boolean hasId() {
return instance.hasId();
}
/**
* <pre>
* A unique identifier for this impression within the context of the bid
* request (typically, value starts with 1, and increments up to n
* for n impressions).
* Supported by Google.
* </pre>
*
* <code>required string id = 1;</code>
* @return The id.
*/
@java.lang.Override
public java.lang.String getId() {
return instance.getId();
}
/**
* <pre>
* A unique identifier for this impression within the context of the bid
* request (typically, value starts with 1, and increments up to n
* for n impressions).
* Supported by Google.
* </pre>
*
* <code>required string id = 1;</code>
* @return The bytes for id.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getIdBytes() {
return instance.getIdBytes();
}
/**
* <pre>
* A unique identifier for this impression within the context of the bid
* request (typically, value starts with 1, and increments up to n
* for n impressions).
* Supported by Google.
* </pre>
*
* <code>required string id = 1;</code>
* @param value The id to set.
* @return This builder for chaining.
*/
public Builder setId(
java.lang.String value) {
copyOnWrite();
instance.setId(value);
return this;
}
/**
* <pre>
* A unique identifier for this impression within the context of the bid
* request (typically, value starts with 1, and increments up to n
* for n impressions).
* Supported by Google.
* </pre>
*
* <code>required string id = 1;</code>
* @return This builder for chaining.
*/
public Builder clearId() {
copyOnWrite();
instance.clearId();
return this;
}
/**
* <pre>
* A unique identifier for this impression within the context of the bid
* request (typically, value starts with 1, and increments up to n
* for n impressions).
* Supported by Google.
* </pre>
*
* <code>required string id = 1;</code>
* @param value The bytes for id to set.
* @return This builder for chaining.
*/
public Builder setIdBytes(
com.google.protobuf.ByteString value) {
copyOnWrite();
instance.setIdBytes(value);
return this;
}
/**
* <pre>
* A Banner object (Section 3.2.3); required if this impression is
* offered as a banner ad opportunity.
* Supported by Google.
* </pre>
*
* <code>optional .com.google.openrtb.BidRequest.Imp.Banner banner = 2;</code>
*/
@java.lang.Override
public boolean hasBanner() {
return instance.hasBanner();
}
/**
* <pre>
* A Banner object (Section 3.2.3); required if this impression is
* offered as a banner ad opportunity.
* Supported by Google.
* </pre>
*
* <code>optional .com.google.openrtb.BidRequest.Imp.Banner banner = 2;</code>
*/
@java.lang.Override
public com.particles.mes.protos.openrtb.BidRequest.Imp.Banner getBanner() {
return instance.getBanner();
}
/**
* <pre>
* A Banner object (Section 3.2.3); required if this impression is
* offered as a banner ad opportunity.
* Supported by Google.
* </pre>
*
* <code>optional .com.google.openrtb.BidRequest.Imp.Banner banner = 2;</code>
*/
public Builder setBanner(com.particles.mes.protos.openrtb.BidRequest.Imp.Banner value) {
copyOnWrite();
instance.setBanner(value);
return this;
}
/**
* <pre>
* A Banner object (Section 3.2.3); required if this impression is
* offered as a banner ad opportunity.
* Supported by Google.
* </pre>
*
* <code>optional .com.google.openrtb.BidRequest.Imp.Banner banner = 2;</code>
*/
public Builder setBanner(
com.particles.mes.protos.openrtb.BidRequest.Imp.Banner.Builder builderForValue) {
copyOnWrite();
instance.setBanner(builderForValue.build());
return this;
}
/**
* <pre>
* A Banner object (Section 3.2.3); required if this impression is
* offered as a banner ad opportunity.
* Supported by Google.
* </pre>
*
* <code>optional .com.google.openrtb.BidRequest.Imp.Banner banner = 2;</code>
*/
public Builder mergeBanner(com.particles.mes.protos.openrtb.BidRequest.Imp.Banner value) {
copyOnWrite();
instance.mergeBanner(value);
return this;
}
/**
* <pre>
* A Banner object (Section 3.2.3); required if this impression is
* offered as a banner ad opportunity.
* Supported by Google.
* </pre>
*
* <code>optional .com.google.openrtb.BidRequest.Imp.Banner banner = 2;</code>
*/
public Builder clearBanner() { copyOnWrite();
instance.clearBanner();
return this;
}
/**
* <pre>
* A Video object (Section 3.2.4); required if this impression is
* offered as a video ad opportunity.
* Supported by Google.
* </pre>
*
* <code>optional .com.google.openrtb.BidRequest.Imp.Video video = 3;</code>
*/
@java.lang.Override
public boolean hasVideo() {
return instance.hasVideo();
}
/**
* <pre>
* A Video object (Section 3.2.4); required if this impression is
* offered as a video ad opportunity.
* Supported by Google.
* </pre>
*
* <code>optional .com.google.openrtb.BidRequest.Imp.Video video = 3;</code>
*/
@java.lang.Override
public com.particles.mes.protos.openrtb.BidRequest.Imp.Video getVideo() {
return instance.getVideo();
}
/**
* <pre>
* A Video object (Section 3.2.4); required if this impression is
* offered as a video ad opportunity.
* Supported by Google.
* </pre>
*
* <code>optional .com.google.openrtb.BidRequest.Imp.Video video = 3;</code>
*/
public Builder setVideo(com.particles.mes.protos.openrtb.BidRequest.Imp.Video value) {
copyOnWrite();
instance.setVideo(value);
return this;
}
/**
* <pre>
* A Video object (Section 3.2.4); required if this impression is
* offered as a video ad opportunity.
* Supported by Google.
* </pre>
*
* <code>optional .com.google.openrtb.BidRequest.Imp.Video video = 3;</code>
*/
public Builder setVideo(
com.particles.mes.protos.openrtb.BidRequest.Imp.Video.Builder builderForValue) {
copyOnWrite();
instance.setVideo(builderForValue.build());
return this;
}
/**
* <pre>
* A Video object (Section 3.2.4); required if this impression is
* offered as a video ad opportunity.
* Supported by Google.
* </pre>
*
* <code>optional .com.google.openrtb.BidRequest.Imp.Video video = 3;</code>
*/
public Builder mergeVideo(com.particles.mes.protos.openrtb.BidRequest.Imp.Video value) {
copyOnWrite();
instance.mergeVideo(value);
return this;
}
/**
* <pre>
* A Video object (Section 3.2.4); required if this impression is
* offered as a video ad opportunity.
* Supported by Google.
* </pre>
*
* <code>optional .com.google.openrtb.BidRequest.Imp.Video video = 3;</code>
*/
public Builder clearVideo() { copyOnWrite();
instance.clearVideo();
return this;
}
/**
* <pre>
* An Audio object; required if this impression is offered
* as an audio ad opportunity.
* Supported by Google.
* </pre>
*
* <code>optional .com.google.openrtb.BidRequest.Imp.Audio audio = 15;</code>
*/
@java.lang.Override
public boolean hasAudio() {
return instance.hasAudio();
}
/**
* <pre>
* An Audio object; required if this impression is offered
* as an audio ad opportunity.
* Supported by Google.
* </pre>
*
* <code>optional .com.google.openrtb.BidRequest.Imp.Audio audio = 15;</code>
*/
@java.lang.Override
public com.particles.mes.protos.openrtb.BidRequest.Imp.Audio getAudio() {
return instance.getAudio();
}
/**
* <pre>
* An Audio object; required if this impression is offered
* as an audio ad opportunity.
* Supported by Google.
* </pre>
*
* <code>optional .com.google.openrtb.BidRequest.Imp.Audio audio = 15;</code>
*/
public Builder setAudio(com.particles.mes.protos.openrtb.BidRequest.Imp.Audio value) {
copyOnWrite();
instance.setAudio(value);
return this;
}
/**
* <pre>
* An Audio object; required if this impression is offered
* as an audio ad opportunity.
* Supported by Google.
* </pre>
*
* <code>optional .com.google.openrtb.BidRequest.Imp.Audio audio = 15;</code>
*/
public Builder setAudio(
com.particles.mes.protos.openrtb.BidRequest.Imp.Audio.Builder builderForValue) {
copyOnWrite();
instance.setAudio(builderForValue.build());
return this;
}
/**
* <pre>
* An Audio object; required if this impression is offered
* as an audio ad opportunity.
* Supported by Google.
* </pre>
*
* <code>optional .com.google.openrtb.BidRequest.Imp.Audio audio = 15;</code>
*/
public Builder mergeAudio(com.particles.mes.protos.openrtb.BidRequest.Imp.Audio value) {
copyOnWrite();
instance.mergeAudio(value);
return this;
}
/**
* <pre>
* An Audio object; required if this impression is offered
* as an audio ad opportunity.
* Supported by Google.
* </pre>
*
* <code>optional .com.google.openrtb.BidRequest.Imp.Audio audio = 15;</code>
*/
public Builder clearAudio() { copyOnWrite();
instance.clearAudio();
return this;
}
/**
* <pre>
* Name of ad mediation partner, SDK technology, or player responsible
* for rendering ad (typically video or mobile). Used by some ad servers
* to customize ad code by partner. Recommended for video and/or apps.
* Supported by Google.
* </pre>
*
* <code>optional string displaymanager = 4;</code>
* @return Whether the displaymanager field is set.
*/
@java.lang.Override
public boolean hasDisplaymanager() {
return instance.hasDisplaymanager();
}
/**
* <pre>
* Name of ad mediation partner, SDK technology, or player responsible
* for rendering ad (typically video or mobile). Used by some ad servers
* to customize ad code by partner. Recommended for video and/or apps.
* Supported by Google.
* </pre>
*
* <code>optional string displaymanager = 4;</code>
* @return The displaymanager.
*/
@java.lang.Override
public java.lang.String getDisplaymanager() {
return instance.getDisplaymanager();
}
/**
* <pre>
* Name of ad mediation partner, SDK technology, or player responsible
* for rendering ad (typically video or mobile). Used by some ad servers
* to customize ad code by partner. Recommended for video and/or apps.
* Supported by Google.
* </pre>
*
* <code>optional string displaymanager = 4;</code>
* @return The bytes for displaymanager.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getDisplaymanagerBytes() {
return instance.getDisplaymanagerBytes();
}
/**
* <pre>
* Name of ad mediation partner, SDK technology, or player responsible
* for rendering ad (typically video or mobile). Used by some ad servers
* to customize ad code by partner. Recommended for video and/or apps.
* Supported by Google.
* </pre>
*
* <code>optional string displaymanager = 4;</code>
* @param value The displaymanager to set.
* @return This builder for chaining.
*/
public Builder setDisplaymanager(
java.lang.String value) {
copyOnWrite();
instance.setDisplaymanager(value);
return this;
}
/**
* <pre>
* Name of ad mediation partner, SDK technology, or player responsible
* for rendering ad (typically video or mobile). Used by some ad servers
* to customize ad code by partner. Recommended for video and/or apps.
* Supported by Google.
* </pre>
*
* <code>optional string displaymanager = 4;</code>
* @return This builder for chaining.
*/
public Builder clearDisplaymanager() {
copyOnWrite();
instance.clearDisplaymanager();
return this;
}
/**
* <pre>
* Name of ad mediation partner, SDK technology, or player responsible
* for rendering ad (typically video or mobile). Used by some ad servers
* to customize ad code by partner. Recommended for video and/or apps.
* Supported by Google.
* </pre>
*
* <code>optional string displaymanager = 4;</code>
* @param value The bytes for displaymanager to set.
* @return This builder for chaining.
*/
public Builder setDisplaymanagerBytes(
com.google.protobuf.ByteString value) {
copyOnWrite();
instance.setDisplaymanagerBytes(value);
return this;
}
/**
* <pre>
* Version of ad mediation partner, SDK technology, or player responsible
* for rendering ad (typically video or mobile). Used by some ad servers
* to customize ad code by partner. Recommended for video and/or apps.
* Not supported by Google.
* </pre>
*
* <code>optional string displaymanagerver = 5;</code>
* @return Whether the displaymanagerver field is set.
*/
@java.lang.Override
public boolean hasDisplaymanagerver() {
return instance.hasDisplaymanagerver();
}
/**
* <pre>
* Version of ad mediation partner, SDK technology, or player responsible
* for rendering ad (typically video or mobile). Used by some ad servers
* to customize ad code by partner. Recommended for video and/or apps.
* Not supported by Google.
* </pre>
*
* <code>optional string displaymanagerver = 5;</code>
* @return The displaymanagerver.
*/
@java.lang.Override
public java.lang.String getDisplaymanagerver() {
return instance.getDisplaymanagerver();
}
/**
* <pre>
* Version of ad mediation partner, SDK technology, or player responsible
* for rendering ad (typically video or mobile). Used by some ad servers
* to customize ad code by partner. Recommended for video and/or apps.
* Not supported by Google.
* </pre>
*
* <code>optional string displaymanagerver = 5;</code>
* @return The bytes for displaymanagerver.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getDisplaymanagerverBytes() {
return instance.getDisplaymanagerverBytes();
}
/**
* <pre>
* Version of ad mediation partner, SDK technology, or player responsible
* for rendering ad (typically video or mobile). Used by some ad servers
* to customize ad code by partner. Recommended for video and/or apps.
* Not supported by Google.
* </pre>
*
* <code>optional string displaymanagerver = 5;</code>
* @param value The displaymanagerver to set.
* @return This builder for chaining.
*/
public Builder setDisplaymanagerver(
java.lang.String value) {
copyOnWrite();
instance.setDisplaymanagerver(value);
return this;
}
/**
* <pre>
* Version of ad mediation partner, SDK technology, or player responsible
* for rendering ad (typically video or mobile). Used by some ad servers
* to customize ad code by partner. Recommended for video and/or apps.
* Not supported by Google.
* </pre>
*
* <code>optional string displaymanagerver = 5;</code>
* @return This builder for chaining.
*/
public Builder clearDisplaymanagerver() {
copyOnWrite();
instance.clearDisplaymanagerver();
return this;
}
/**
* <pre>
* Version of ad mediation partner, SDK technology, or player responsible
* for rendering ad (typically video or mobile). Used by some ad servers
* to customize ad code by partner. Recommended for video and/or apps.
* Not supported by Google.
* </pre>
*
* <code>optional string displaymanagerver = 5;</code>
* @param value The bytes for displaymanagerver to set.
* @return This builder for chaining.
*/
public Builder setDisplaymanagerverBytes(
com.google.protobuf.ByteString value) {
copyOnWrite();
instance.setDisplaymanagerverBytes(value);
return this;
}
/**
* <pre>
* true = the ad is interstitial or full screen, false = not interstitial.
* Supported by Google.
* </pre>
*
* <code>optional bool instl = 6;</code>
* @return Whether the instl field is set.
*/
@java.lang.Override
public boolean hasInstl() {
return instance.hasInstl();
}
/**
* <pre>
* true = the ad is interstitial or full screen, false = not interstitial.
* Supported by Google.
* </pre>
*
* <code>optional bool instl = 6;</code>
* @return The instl.
*/
@java.lang.Override
public boolean getInstl() {
return instance.getInstl();
}
/**
* <pre>
* true = the ad is interstitial or full screen, false = not interstitial.
* Supported by Google.
* </pre>
*
* <code>optional bool instl = 6;</code>
* @param value The instl to set.
* @return This builder for chaining.
*/
public Builder setInstl(boolean value) {
copyOnWrite();
instance.setInstl(value);
return this;
}
/**
* <pre>
* true = the ad is interstitial or full screen, false = not interstitial.
* Supported by Google.
* </pre>
*
* <code>optional bool instl = 6;</code>
* @return This builder for chaining.
*/
public Builder clearInstl() {
copyOnWrite();
instance.clearInstl();
return this;
}
/**
* <pre>
* Identifier for specific ad placement or ad tag that was used to
* initiate the auction. This can be useful for debugging of any issues,
* or for optimization by the buyer.
* Supported by Google.
* </pre>
*
* <code>optional string tagid = 7;</code>
* @return Whether the tagid field is set.
*/
@java.lang.Override
public boolean hasTagid() {
return instance.hasTagid();
}
/**
* <pre>
* Identifier for specific ad placement or ad tag that was used to
* initiate the auction. This can be useful for debugging of any issues,
* or for optimization by the buyer.
* Supported by Google.
* </pre>
*
* <code>optional string tagid = 7;</code>
* @return The tagid.
*/
@java.lang.Override
public java.lang.String getTagid() {
return instance.getTagid();
}
/**
* <pre>
* Identifier for specific ad placement or ad tag that was used to
* initiate the auction. This can be useful for debugging of any issues,
* or for optimization by the buyer.
* Supported by Google.
* </pre>
*
* <code>optional string tagid = 7;</code>
* @return The bytes for tagid.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getTagidBytes() {
return instance.getTagidBytes();
}
/**
* <pre>
* Identifier for specific ad placement or ad tag that was used to
* initiate the auction. This can be useful for debugging of any issues,
* or for optimization by the buyer.
* Supported by Google.
* </pre>
*
* <code>optional string tagid = 7;</code>
* @param value The tagid to set.
* @return This builder for chaining.
*/
public Builder setTagid(
java.lang.String value) {
copyOnWrite();
instance.setTagid(value);
return this;
}
/**
* <pre>
* Identifier for specific ad placement or ad tag that was used to
* initiate the auction. This can be useful for debugging of any issues,
* or for optimization by the buyer.
* Supported by Google.
* </pre>
*
* <code>optional string tagid = 7;</code>
* @return This builder for chaining.
*/
public Builder clearTagid() {
copyOnWrite();
instance.clearTagid();
return this;
}
/**
* <pre>
* Identifier for specific ad placement or ad tag that was used to
* initiate the auction. This can be useful for debugging of any issues,
* or for optimization by the buyer.
* Supported by Google.
* </pre>
*
* <code>optional string tagid = 7;</code>
* @param value The bytes for tagid to set.
* @return This builder for chaining.
*/
public Builder setTagidBytes(
com.google.protobuf.ByteString value) {
copyOnWrite();
instance.setTagidBytes(value);
return this;
}
/**
* <pre>
* Minimum bid for this impression expressed in CPM.
* Supported by Google.
* </pre>
*
* <code>optional double bidfloor = 8 [default = 0];</code>
* @return Whether the bidfloor field is set.
*/
@java.lang.Override
public boolean hasBidfloor() {
return instance.hasBidfloor();
}
/**
* <pre>
* Minimum bid for this impression expressed in CPM.
* Supported by Google.
* </pre>
*
* <code>optional double bidfloor = 8 [default = 0];</code>
* @return The bidfloor.
*/
@java.lang.Override
public double getBidfloor() {
return instance.getBidfloor();
}
/**
* <pre>
* Minimum bid for this impression expressed in CPM.
* Supported by Google.
* </pre>
*
* <code>optional double bidfloor = 8 [default = 0];</code>
* @param value The bidfloor to set.
* @return This builder for chaining.
*/
public Builder setBidfloor(double value) {
copyOnWrite();
instance.setBidfloor(value);
return this;
}
/**
* <pre>
* Minimum bid for this impression expressed in CPM.
* Supported by Google.
* </pre>
*
* <code>optional double bidfloor = 8 [default = 0];</code>
* @return This builder for chaining.
*/
public Builder clearBidfloor() {
copyOnWrite();
instance.clearBidfloor();
return this;
}
/**
* <pre>
* Currency specified using ISO-4217 alpha codes. This may be different
* from bid currency returned by bidder if this is allowed by the exchange.
* Supported by Google.
* </pre>
*
* <code>optional string bidfloorcur = 9 [default = "USD"];</code>
* @return Whether the bidfloorcur field is set.
*/
@java.lang.Override
public boolean hasBidfloorcur() {
return instance.hasBidfloorcur();
}
/**
* <pre>
* Currency specified using ISO-4217 alpha codes. This may be different
* from bid currency returned by bidder if this is allowed by the exchange.
* Supported by Google.
* </pre>
*
* <code>optional string bidfloorcur = 9 [default = "USD"];</code>
* @return The bidfloorcur.
*/
@java.lang.Override
public java.lang.String getBidfloorcur() {
return instance.getBidfloorcur();
}
/**
* <pre>
* Currency specified using ISO-4217 alpha codes. This may be different
* from bid currency returned by bidder if this is allowed by the exchange.
* Supported by Google.
* </pre>
*
* <code>optional string bidfloorcur = 9 [default = "USD"];</code>
* @return The bytes for bidfloorcur.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getBidfloorcurBytes() {
return instance.getBidfloorcurBytes();
}
/**
* <pre>
* Currency specified using ISO-4217 alpha codes. This may be different
* from bid currency returned by bidder if this is allowed by the exchange.
* Supported by Google.
* </pre>
*
* <code>optional string bidfloorcur = 9 [default = "USD"];</code>
* @param value The bidfloorcur to set.
* @return This builder for chaining.
*/
public Builder setBidfloorcur(
java.lang.String value) {
copyOnWrite();
instance.setBidfloorcur(value);
return this;
}
/**
* <pre>
* Currency specified using ISO-4217 alpha codes. This may be different
* from bid currency returned by bidder if this is allowed by the exchange.
* Supported by Google.
* </pre>
*
* <code>optional string bidfloorcur = 9 [default = "USD"];</code>
* @return This builder for chaining.
*/
public Builder clearBidfloorcur() {
copyOnWrite();
instance.clearBidfloorcur();
return this;
}
/**
* <pre>
* Currency specified using ISO-4217 alpha codes. This may be different
* from bid currency returned by bidder if this is allowed by the exchange.
* Supported by Google.
* </pre>
*
* <code>optional string bidfloorcur = 9 [default = "USD"];</code>
* @param value The bytes for bidfloorcur to set.
* @return This builder for chaining.
*/
public Builder setBidfloorcurBytes(
com.google.protobuf.ByteString value) {
copyOnWrite();
instance.setBidfloorcurBytes(value);
return this;
}
/**
* <pre>
* Indicates the type of browser opened upon clicking the
* creative in an app, where false = embedded, true = native.
* Note that the Safari View Controller in iOS 9.x devices is considered
* a native browser for purposes of this attribute.
* Supported by Google.
* </pre>
*
* <code>optional bool clickbrowser = 16;</code>
* @return Whether the clickbrowser field is set.
*/
@java.lang.Override
public boolean hasClickbrowser() {
return instance.hasClickbrowser();
}
/**
* <pre>
* Indicates the type of browser opened upon clicking the
* creative in an app, where false = embedded, true = native.
* Note that the Safari View Controller in iOS 9.x devices is considered
* a native browser for purposes of this attribute.
* Supported by Google.
* </pre>
*
* <code>optional bool clickbrowser = 16;</code>
* @return The clickbrowser.
*/
@java.lang.Override
public boolean getClickbrowser() {
return instance.getClickbrowser();
}
/**
* <pre>
* Indicates the type of browser opened upon clicking the
* creative in an app, where false = embedded, true = native.
* Note that the Safari View Controller in iOS 9.x devices is considered
* a native browser for purposes of this attribute.
* Supported by Google.
* </pre>
*
* <code>optional bool clickbrowser = 16;</code>
* @param value The clickbrowser to set.
* @return This builder for chaining.
*/
public Builder setClickbrowser(boolean value) {
copyOnWrite();
instance.setClickbrowser(value);
return this;
}
/**
* <pre>
* Indicates the type of browser opened upon clicking the
* creative in an app, where false = embedded, true = native.
* Note that the Safari View Controller in iOS 9.x devices is considered
* a native browser for purposes of this attribute.
* Supported by Google.
* </pre>
*
* <code>optional bool clickbrowser = 16;</code>
* @return This builder for chaining.
*/
public Builder clearClickbrowser() {
copyOnWrite();
instance.clearClickbrowser();
return this;
}
/**
* <pre>
* Indicates if the impression requires secure HTTPS URL creative
* assets and markup. If omitted, the secure state is unknown, but
* non-secure HTTP support can be assumed.
* Supported by Google.
* </pre>
*
* <code>optional bool secure = 12;</code>
* @return Whether the secure field is set.
*/
@java.lang.Override
public boolean hasSecure() {
return instance.hasSecure();
}
/**
* <pre>
* Indicates if the impression requires secure HTTPS URL creative
* assets and markup. If omitted, the secure state is unknown, but
* non-secure HTTP support can be assumed.
* Supported by Google.
* </pre>
*
* <code>optional bool secure = 12;</code>
* @return The secure.
*/
@java.lang.Override
public boolean getSecure() {
return instance.getSecure();
}
/**
* <pre>
* Indicates if the impression requires secure HTTPS URL creative
* assets and markup. If omitted, the secure state is unknown, but
* non-secure HTTP support can be assumed.
* Supported by Google.
* </pre>
*
* <code>optional bool secure = 12;</code>
* @param value The secure to set.
* @return This builder for chaining.
*/
public Builder setSecure(boolean value) {
copyOnWrite();
instance.setSecure(value);
return this;
}
/**
* <pre>
* Indicates if the impression requires secure HTTPS URL creative
* assets and markup. If omitted, the secure state is unknown, but
* non-secure HTTP support can be assumed.
* Supported by Google.
* </pre>
*
* <code>optional bool secure = 12;</code>
* @return This builder for chaining.
*/
public Builder clearSecure() {
copyOnWrite();
instance.clearSecure();
return this;
}
/**
* <pre>
* Array of exchange-specific names of supported iframe busters.
* Not supported by Google.
* </pre>
*
* <code>repeated string iframebuster = 10;</code>
* @return A list containing the iframebuster.
*/
@java.lang.Override
public java.util.List<java.lang.String>
getIframebusterList() {
return java.util.Collections.unmodifiableList(
instance.getIframebusterList());
}
/**
* <pre>
* Array of exchange-specific names of supported iframe busters.
* Not supported by Google.
* </pre>
*
* <code>repeated string iframebuster = 10;</code>
* @return The count of iframebuster.
*/
@java.lang.Override
public int getIframebusterCount() {
return instance.getIframebusterCount();
}
/**
* <pre>
* Array of exchange-specific names of supported iframe busters.
* Not supported by Google.
* </pre>
*
* <code>repeated string iframebuster = 10;</code>
* @param index The index of the element to return.
* @return The iframebuster at the given index.
*/
@java.lang.Override
public java.lang.String getIframebuster(int index) {
return instance.getIframebuster(index);
}
/**
* <pre>
* Array of exchange-specific names of supported iframe busters.
* Not supported by Google.
* </pre>
*
* <code>repeated string iframebuster = 10;</code>
* @param index The index of the value to return.
* @return The bytes of the iframebuster at the given index.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getIframebusterBytes(int index) {
return instance.getIframebusterBytes(index);
}
/**
* <pre>
* Array of exchange-specific names of supported iframe busters.
* Not supported by Google.
* </pre>
*
* <code>repeated string iframebuster = 10;</code>
* @param index The index to set the value at.
* @param value The iframebuster to set.
* @return This builder for chaining.
*/
public Builder setIframebuster(
int index, java.lang.String value) {
copyOnWrite();
instance.setIframebuster(index, value);
return this;
}
/**
* <pre>
* Array of exchange-specific names of supported iframe busters.
* Not supported by Google.
* </pre>
*
* <code>repeated string iframebuster = 10;</code>
* @param value The iframebuster to add.
* @return This builder for chaining.
*/
public Builder addIframebuster(
java.lang.String value) {
copyOnWrite();
instance.addIframebuster(value);
return this;
}
/**
* <pre>
* Array of exchange-specific names of supported iframe busters.
* Not supported by Google.
* </pre>
*
* <code>repeated string iframebuster = 10;</code>
* @param values The iframebuster to add.
* @return This builder for chaining.
*/
public Builder addAllIframebuster(
java.lang.Iterable<java.lang.String> values) {
copyOnWrite();
instance.addAllIframebuster(values);
return this;
}
/**
* <pre>
* Array of exchange-specific names of supported iframe busters.
* Not supported by Google.
* </pre>
*
* <code>repeated string iframebuster = 10;</code>
* @return This builder for chaining.
*/
public Builder clearIframebuster() {
copyOnWrite();
instance.clearIframebuster();
return this;
}
/**
* <pre>
* Array of exchange-specific names of supported iframe busters.
* Not supported by Google.
* </pre>
*
* <code>repeated string iframebuster = 10;</code>
* @param value The bytes of the iframebuster to add.
* @return This builder for chaining.
*/
public Builder addIframebusterBytes(
com.google.protobuf.ByteString value) {
copyOnWrite();
instance.addIframebusterBytes(value);
return this;
}
/**
* <pre>
* Indicates whether the user receives a reward for viewing the ad.
* Typically video ad implementations allow users to read an additional news
* article for free, receive an extra life in a game, or get a sponsored
* ad-free music session. The reward is typically distributed after the
* video ad is completed.
* Supported by Google.
* </pre>
*
* <code>optional bool rwdd = 18 [default = false];</code>
* @return Whether the rwdd field is set.
*/
@java.lang.Override
public boolean hasRwdd() {
return instance.hasRwdd();
}
/**
* <pre>
* Indicates whether the user receives a reward for viewing the ad.
* Typically video ad implementations allow users to read an additional news
* article for free, receive an extra life in a game, or get a sponsored
* ad-free music session. The reward is typically distributed after the
* video ad is completed.
* Supported by Google.
* </pre>
*
* <code>optional bool rwdd = 18 [default = false];</code>
* @return The rwdd.
*/
@java.lang.Override
public boolean getRwdd() {
return instance.getRwdd();
}
/**
* <pre>
* Indicates whether the user receives a reward for viewing the ad.
* Typically video ad implementations allow users to read an additional news
* article for free, receive an extra life in a game, or get a sponsored
* ad-free music session. The reward is typically distributed after the
* video ad is completed.
* Supported by Google.
* </pre>
*
* <code>optional bool rwdd = 18 [default = false];</code>
* @param value The rwdd to set.
* @return This builder for chaining.
*/
public Builder setRwdd(boolean value) {
copyOnWrite();
instance.setRwdd(value);
return this;
}
/**
* <pre>
* Indicates whether the user receives a reward for viewing the ad.
* Typically video ad implementations allow users to read an additional news
* article for free, receive an extra life in a game, or get a sponsored
* ad-free music session. The reward is typically distributed after the
* video ad is completed.
* Supported by Google.
* </pre>
*
* <code>optional bool rwdd = 18 [default = false];</code>
* @return This builder for chaining.
*/
public Builder clearRwdd() {
copyOnWrite();
instance.clearRwdd();
return this;
}
/**
* <pre>
* Indicates if server-side ad insertion (e.g., stitching an ad into an
* audio or video stream) is in use and the impact of this on asset
* and tracker retrieval.
* Not supported by Google.
* </pre>
*
* <code>optional .com.google.openrtb.ServerSideAdInsertionType ssai = 19 [default = SERVER_SIDE_AD_INSERTION_TYPE_UNKNOWN];</code>
* @return Whether the ssai field is set.
*/
@java.lang.Override
public boolean hasSsai() {
return instance.hasSsai();
}
/**
* <pre>
* Indicates if server-side ad insertion (e.g., stitching an ad into an
* audio or video stream) is in use and the impact of this on asset
* and tracker retrieval.
* Not supported by Google.
* </pre>
*
* <code>optional .com.google.openrtb.ServerSideAdInsertionType ssai = 19 [default = SERVER_SIDE_AD_INSERTION_TYPE_UNKNOWN];</code>
* @return The ssai.
*/
@java.lang.Override
public com.particles.mes.protos.openrtb.ServerSideAdInsertionType getSsai() {
return instance.getSsai();
}
/**
* <pre>
* Indicates if server-side ad insertion (e.g., stitching an ad into an
* audio or video stream) is in use and the impact of this on asset
* and tracker retrieval.
* Not supported by Google.
* </pre>
*
* <code>optional .com.google.openrtb.ServerSideAdInsertionType ssai = 19 [default = SERVER_SIDE_AD_INSERTION_TYPE_UNKNOWN];</code>
* @param value The enum numeric value on the wire for ssai to set.
* @return This builder for chaining.
*/
public Builder setSsai(com.particles.mes.protos.openrtb.ServerSideAdInsertionType value) {
copyOnWrite();
instance.setSsai(value);
return this;
}
/**
* <pre>
* Indicates if server-side ad insertion (e.g., stitching an ad into an
* audio or video stream) is in use and the impact of this on asset
* and tracker retrieval.
* Not supported by Google.
* </pre>
*
* <code>optional .com.google.openrtb.ServerSideAdInsertionType ssai = 19 [default = SERVER_SIDE_AD_INSERTION_TYPE_UNKNOWN];</code>
* @return This builder for chaining.
*/
public Builder clearSsai() {
copyOnWrite();
instance.clearSsai();
return this;
}
/**
* <pre>
* A Pmp object (Section 3.2.17) containing any private marketplace deals
* in effect for this impression.
* Supported by Google.
* </pre>
*
* <code>optional .com.google.openrtb.BidRequest.Imp.Pmp pmp = 11;</code>
*/
@java.lang.Override
public boolean hasPmp() {
return instance.hasPmp();
}
/**
* <pre>
* A Pmp object (Section 3.2.17) containing any private marketplace deals
* in effect for this impression.
* Supported by Google.
* </pre>
*
* <code>optional .com.google.openrtb.BidRequest.Imp.Pmp pmp = 11;</code>
*/
@java.lang.Override
public com.particles.mes.protos.openrtb.BidRequest.Imp.Pmp getPmp() {
return instance.getPmp();
}
/**
* <pre>
* A Pmp object (Section 3.2.17) containing any private marketplace deals
* in effect for this impression.
* Supported by Google.
* </pre>
*
* <code>optional .com.google.openrtb.BidRequest.Imp.Pmp pmp = 11;</code>
*/
public Builder setPmp(com.particles.mes.protos.openrtb.BidRequest.Imp.Pmp value) {
copyOnWrite();
instance.setPmp(value);
return this;
}
/**
* <pre>
* A Pmp object (Section 3.2.17) containing any private marketplace deals
* in effect for this impression.
* Supported by Google.
* </pre>
*
* <code>optional .com.google.openrtb.BidRequest.Imp.Pmp pmp = 11;</code>
*/
public Builder setPmp(
com.particles.mes.protos.openrtb.BidRequest.Imp.Pmp.Builder builderForValue) {
copyOnWrite();
instance.setPmp(builderForValue.build());
return this;
}
/**
* <pre>
* A Pmp object (Section 3.2.17) containing any private marketplace deals
* in effect for this impression.
* Supported by Google.
* </pre>
*
* <code>optional .com.google.openrtb.BidRequest.Imp.Pmp pmp = 11;</code>
*/
public Builder mergePmp(com.particles.mes.protos.openrtb.BidRequest.Imp.Pmp value) {
copyOnWrite();
instance.mergePmp(value);
return this;
}
/**
* <pre>
* A Pmp object (Section 3.2.17) containing any private marketplace deals
* in effect for this impression.
* Supported by Google.
* </pre>
*
* <code>optional .com.google.openrtb.BidRequest.Imp.Pmp pmp = 11;</code>
*/
public Builder clearPmp() { copyOnWrite();
instance.clearPmp();
return this;
}
/**
* <pre>
* A Native object (Section 3.2.5); required if this impression is
* offered as a native ad opportunity.
* Supported by Google.
* </pre>
*
* <code>optional .com.google.openrtb.BidRequest.Imp.Native native = 13;</code>
*/
@java.lang.Override
public boolean hasNative() {
return instance.hasNative();
}
/**
* <pre>
* A Native object (Section 3.2.5); required if this impression is
* offered as a native ad opportunity.
* Supported by Google.
* </pre>
*
* <code>optional .com.google.openrtb.BidRequest.Imp.Native native = 13;</code>
*/
@java.lang.Override
public com.particles.mes.protos.openrtb.BidRequest.Imp.Native getNative() {
return instance.getNative();
}
/**
* <pre>
* A Native object (Section 3.2.5); required if this impression is
* offered as a native ad opportunity.
* Supported by Google.
* </pre>
*
* <code>optional .com.google.openrtb.BidRequest.Imp.Native native = 13;</code>
*/
public Builder setNative(com.particles.mes.protos.openrtb.BidRequest.Imp.Native value) {
copyOnWrite();
instance.setNative(value);
return this;
}
/**
* <pre>
* A Native object (Section 3.2.5); required if this impression is
* offered as a native ad opportunity.
* Supported by Google.
* </pre>
*
* <code>optional .com.google.openrtb.BidRequest.Imp.Native native = 13;</code>
*/
public Builder setNative(
com.particles.mes.protos.openrtb.BidRequest.Imp.Native.Builder builderForValue) {
copyOnWrite();
instance.setNative(builderForValue.build());
return this;
}
/**
* <pre>
* A Native object (Section 3.2.5); required if this impression is
* offered as a native ad opportunity.
* Supported by Google.
* </pre>
*
* <code>optional .com.google.openrtb.BidRequest.Imp.Native native = 13;</code>
*/
public Builder mergeNative(com.particles.mes.protos.openrtb.BidRequest.Imp.Native value) {
copyOnWrite();
instance.mergeNative(value);
return this;
}
/**
* <pre>
* A Native object (Section 3.2.5); required if this impression is
* offered as a native ad opportunity.
* Supported by Google.
* </pre>
*
* <code>optional .com.google.openrtb.BidRequest.Imp.Native native = 13;</code>
*/
public Builder clearNative() { copyOnWrite();
instance.clearNative();
return this;
}
/**
* <pre>
* Advisory as to the number of seconds that may elapse
* between the auction and the actual impression.
* Supported by Google.
* </pre>
*
* <code>optional int32 exp = 14;</code>
* @return Whether the exp field is set.
*/
@java.lang.Override
public boolean hasExp() {
return instance.hasExp();
}
/**
* <pre>
* Advisory as to the number of seconds that may elapse
* between the auction and the actual impression.
* Supported by Google.
* </pre>
*
* <code>optional int32 exp = 14;</code>
* @return The exp.
*/
@java.lang.Override
public int getExp() {
return instance.getExp();
}
/**
* <pre>
* Advisory as to the number of seconds that may elapse
* between the auction and the actual impression.
* Supported by Google.
* </pre>
*
* <code>optional int32 exp = 14;</code>
* @param value The exp to set.
* @return This builder for chaining.
*/
public Builder setExp(int value) {
copyOnWrite();
instance.setExp(value);
return this;
}
/**
* <pre>
* Advisory as to the number of seconds that may elapse
* between the auction and the actual impression.
* Supported by Google.
* </pre>
*
* <code>optional int32 exp = 14;</code>
* @return This builder for chaining.
*/
public Builder clearExp() {
copyOnWrite();
instance.clearExp();
return this;
}
/**
* <pre>
* An array of Metric object (Section 3.2.5).
* Supported by Google.
* </pre>
*
* <code>repeated .com.google.openrtb.BidRequest.Imp.Metric metric = 17;</code>
*/
@java.lang.Override
public java.util.List<com.particles.mes.protos.openrtb.BidRequest.Imp.Metric> getMetricList() {
return java.util.Collections.unmodifiableList(
instance.getMetricList());
}
/**
* <pre>
* An array of Metric object (Section 3.2.5).
* Supported by Google.
* </pre>
*
* <code>repeated .com.google.openrtb.BidRequest.Imp.Metric metric = 17;</code>
*/
@java.lang.Override
public int getMetricCount() {
return instance.getMetricCount();
}/**
* <pre>
* An array of Metric object (Section 3.2.5).
* Supported by Google.
* </pre>
*
* <code>repeated .com.google.openrtb.BidRequest.Imp.Metric metric = 17;</code>
*/
@java.lang.Override
public com.particles.mes.protos.openrtb.BidRequest.Imp.Metric getMetric(int index) {
return instance.getMetric(index);
}
/**
* <pre>
* An array of Metric object (Section 3.2.5).
* Supported by Google.
* </pre>
*
* <code>repeated .com.google.openrtb.BidRequest.Imp.Metric metric = 17;</code>
*/
public Builder setMetric(
int index, com.particles.mes.protos.openrtb.BidRequest.Imp.Metric value) {
copyOnWrite();
instance.setMetric(index, value);
return this;
}
/**
* <pre>
* An array of Metric object (Section 3.2.5).
* Supported by Google.
* </pre>
*
* <code>repeated .com.google.openrtb.BidRequest.Imp.Metric metric = 17;</code>
*/
public Builder setMetric(
int index, com.particles.mes.protos.openrtb.BidRequest.Imp.Metric.Builder builderForValue) {
copyOnWrite();
instance.setMetric(index,
builderForValue.build());
return this;
}
/**
* <pre>
* An array of Metric object (Section 3.2.5).
* Supported by Google.
* </pre>
*
* <code>repeated .com.google.openrtb.BidRequest.Imp.Metric metric = 17;</code>
*/
public Builder addMetric(com.particles.mes.protos.openrtb.BidRequest.Imp.Metric value) {
copyOnWrite();
instance.addMetric(value);
return this;
}
/**
* <pre>
* An array of Metric object (Section 3.2.5).
* Supported by Google.
* </pre>
*
* <code>repeated .com.google.openrtb.BidRequest.Imp.Metric metric = 17;</code>
*/
public Builder addMetric(
int index, com.particles.mes.protos.openrtb.BidRequest.Imp.Metric value) {
copyOnWrite();
instance.addMetric(index, value);
return this;
}
/**
* <pre>
* An array of Metric object (Section 3.2.5).
* Supported by Google.
* </pre>
*
* <code>repeated .com.google.openrtb.BidRequest.Imp.Metric metric = 17;</code>
*/
public Builder addMetric(
com.particles.mes.protos.openrtb.BidRequest.Imp.Metric.Builder builderForValue) {
copyOnWrite();
instance.addMetric(builderForValue.build());
return this;
}
/**
* <pre>
* An array of Metric object (Section 3.2.5).
* Supported by Google.
* </pre>
*
* <code>repeated .com.google.openrtb.BidRequest.Imp.Metric metric = 17;</code>
*/
public Builder addMetric(
int index, com.particles.mes.protos.openrtb.BidRequest.Imp.Metric.Builder builderForValue) {
copyOnWrite();
instance.addMetric(index,
builderForValue.build());
return this;
}
/**
* <pre>
* An array of Metric object (Section 3.2.5).
* Supported by Google.
* </pre>
*
* <code>repeated .com.google.openrtb.BidRequest.Imp.Metric metric = 17;</code>
*/
public Builder addAllMetric(
java.lang.Iterable<? extends com.particles.mes.protos.openrtb.BidRequest.Imp.Metric> values) {
copyOnWrite();
instance.addAllMetric(values);
return this;
}
/**
* <pre>
* An array of Metric object (Section 3.2.5).
* Supported by Google.
* </pre>
*
* <code>repeated .com.google.openrtb.BidRequest.Imp.Metric metric = 17;</code>
*/
public Builder clearMetric() {
copyOnWrite();
instance.clearMetric();
return this;
}
/**
* <pre>
* An array of Metric object (Section 3.2.5).
* Supported by Google.
* </pre>
*
* <code>repeated .com.google.openrtb.BidRequest.Imp.Metric metric = 17;</code>
*/
public Builder removeMetric(int index) {
copyOnWrite();
instance.removeMetric(index);
return this;
}
/**
* <code>optional string ext = 90;</code>
* @return Whether the ext field is set.
*/
@java.lang.Override
public boolean hasExt() {
return instance.hasExt();
}
/**
* <code>optional string ext = 90;</code>
* @return The ext.
*/
@java.lang.Override
public java.lang.String getExt() {
return instance.getExt();
}
/**
* <code>optional string ext = 90;</code>
* @return The bytes for ext.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getExtBytes() {
return instance.getExtBytes();
}
/**
* <code>optional string ext = 90;</code>
* @param value The ext to set.
* @return This builder for chaining.
*/
public Builder setExt(
java.lang.String value) {
copyOnWrite();
instance.setExt(value);
return this;
}
/**
* <code>optional string ext = 90;</code>
* @return This builder for chaining.
*/
public Builder clearExt() {
copyOnWrite();
instance.clearExt();
return this;
}
/**
* <code>optional string ext = 90;</code>
* @param value The bytes for ext to set.
* @return This builder for chaining.
*/
public Builder setExtBytes(
com.google.protobuf.ByteString value) {
copyOnWrite();
instance.setExtBytes(value);
return this;
}
// @@protoc_insertion_point(builder_scope:com.google.openrtb.BidRequest.Imp)
}
private byte memoizedIsInitialized = 2;
@java.lang.Override
@java.lang.SuppressWarnings({"unchecked", "fallthrough"})
protected final java.lang.Object dynamicMethod(
com.google.protobuf.GeneratedMessageLite.MethodToInvoke method,
java.lang.Object arg0, java.lang.Object arg1) {
switch (method) {
case NEW_MUTABLE_INSTANCE: {
return new com.particles.mes.protos.openrtb.BidRequest.Imp();
}
case NEW_BUILDER: {
return new Builder();
}
case BUILD_MESSAGE_INFO: {
java.lang.Object[] objects = new java.lang.Object[] {
"bitField0_",
"id_",
"banner_",
"video_",
"displaymanager_",
"displaymanagerver_",
"instl_",
"tagid_",
"bidfloor_",
"bidfloorcur_",
"iframebuster_",
"pmp_",
"secure_",
"native_",
"exp_",
"audio_",
"clickbrowser_",
"metric_",
com.particles.mes.protos.openrtb.BidRequest.Imp.Metric.class,
"rwdd_",
"ssai_",
com.particles.mes.protos.openrtb.ServerSideAdInsertionType.internalGetVerifier(),
"ext_",
};
java.lang.String info =
"\u0001\u0014\u0000\u0001\u0001Z\u0014\u0000\u0002\u0007\u0001\u1508\u0000\u0002\u1409" +
"\u0001\u0003\u1409\u0002\u0004\u1008\u0004\u0005\u1008\u0005\u0006\u1007\u0006\u0007" +
"\u1008\u0007\b\u1000\b\t\u1008\t\n\u001a\u000b\u1409\u000e\f\u1007\u000b\r\u1409" +
"\u000f\u000e\u1004\u0010\u000f\u1409\u0003\u0010\u1007\n\u0011\u041b\u0012\u1007" +
"\f\u0013\u100c\rZ\u1008\u0011";
return newMessageInfo(DEFAULT_INSTANCE, info, objects);
}
// fall through
case GET_DEFAULT_INSTANCE: {
return DEFAULT_INSTANCE;
}
case GET_PARSER: {
com.google.protobuf.Parser<com.particles.mes.protos.openrtb.BidRequest.Imp> parser = PARSER;
if (parser == null) {
synchronized (com.particles.mes.protos.openrtb.BidRequest.Imp.class) {
parser = PARSER;
if (parser == null) {
parser =
new DefaultInstanceBasedParser<com.particles.mes.protos.openrtb.BidRequest.Imp>(
DEFAULT_INSTANCE);
PARSER = parser;
}
}
}
return parser;
}
case GET_MEMOIZED_IS_INITIALIZED: {
return memoizedIsInitialized;
}
case SET_MEMOIZED_IS_INITIALIZED: {
memoizedIsInitialized = (byte) (arg0 == null ? 0 : 1);
return null;
}
}
throw new UnsupportedOperationException();
}
// @@protoc_insertion_point(class_scope:com.google.openrtb.BidRequest.Imp)
private static final com.particles.mes.protos.openrtb.BidRequest.Imp DEFAULT_INSTANCE;
static {
Imp defaultInstance = new Imp();
// New instances are implicitly immutable so no need to make
// immutable.
DEFAULT_INSTANCE = defaultInstance;
com.google.protobuf.GeneratedMessageLite.registerDefaultInstance(
Imp.class, defaultInstance);
}
public static com.particles.mes.protos.openrtb.BidRequest.Imp getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static volatile com.google.protobuf.Parser<Imp> PARSER;
public static com.google.protobuf.Parser<Imp> parser() {
return DEFAULT_INSTANCE.getParserForType();
}
}
public interface PublisherOrBuilder extends
// @@protoc_insertion_point(interface_extends:com.google.openrtb.BidRequest.Publisher)
com.google.protobuf.GeneratedMessageLite.
ExtendableMessageOrBuilder<
Publisher, Publisher.Builder> {
/**
* <pre>
* Exchange-specific publisher ID.
* Supported by Google.
* </pre>
*
* <code>optional string id = 1;</code>
* @return Whether the id field is set.
*/
boolean hasId();
/**
* <pre>
* Exchange-specific publisher ID.
* Supported by Google.
* </pre>
*
* <code>optional string id = 1;</code>
* @return The id.
*/
java.lang.String getId();
/**
* <pre>
* Exchange-specific publisher ID.
* Supported by Google.
* </pre>
*
* <code>optional string id = 1;</code>
* @return The bytes for id.
*/
com.google.protobuf.ByteString
getIdBytes();
/**
* <pre>
* Publisher name (may be aliased at publisher's request).
* Not supported by Google.
* </pre>
*
* <code>optional string name = 2;</code>
* @return Whether the name field is set.
*/
boolean hasName();
/**
* <pre>
* Publisher name (may be aliased at publisher's request).
* Not supported by Google.
* </pre>
*
* <code>optional string name = 2;</code>
* @return The name.
*/
java.lang.String getName();
/**
* <pre>
* Publisher name (may be aliased at publisher's request).
* Not supported by Google.
* </pre>
*
* <code>optional string name = 2;</code>
* @return The bytes for name.
*/
com.google.protobuf.ByteString
getNameBytes();
/**
* <pre>
* The taxonomy in use for cat.
* Not supported by Google.
* </pre>
*
* <code>optional .com.google.openrtb.CategoryTaxonomy cattax = 5 [default = IAB_CONTENT_1_0];</code>
* @return Whether the cattax field is set.
*/
boolean hasCattax();
/**
* <pre>
* The taxonomy in use for cat.
* Not supported by Google.
* </pre>
*
* <code>optional .com.google.openrtb.CategoryTaxonomy cattax = 5 [default = IAB_CONTENT_1_0];</code>
* @return The cattax.
*/
com.particles.mes.protos.openrtb.CategoryTaxonomy getCattax();
/**
* <pre>
* Array of IAB content categories that describe the publisher.
* The taxonomy to be used is defined by the cattax field.
* Not supported by Google.
* </pre>
*
* <code>repeated string cat = 3;</code>
* @return A list containing the cat.
*/
java.util.List<java.lang.String>
getCatList();
/**
* <pre>
* Array of IAB content categories that describe the publisher.
* The taxonomy to be used is defined by the cattax field.
* Not supported by Google.
* </pre>
*
* <code>repeated string cat = 3;</code>
* @return The count of cat.
*/
int getCatCount();
/**
* <pre>
* Array of IAB content categories that describe the publisher.
* The taxonomy to be used is defined by the cattax field.
* Not supported by Google.
* </pre>
*
* <code>repeated string cat = 3;</code>
* @param index The index of the element to return.
* @return The cat at the given index.
*/
java.lang.String getCat(int index);
/**
* <pre>
* Array of IAB content categories that describe the publisher.
* The taxonomy to be used is defined by the cattax field.
* Not supported by Google.
* </pre>
*
* <code>repeated string cat = 3;</code>
* @param index The index of the element to return.
* @return The cat at the given index.
*/
com.google.protobuf.ByteString
getCatBytes(int index);
/**
* <pre>
* Highest level domain of the publisher (for example, "publisher.com").
* Not supported by Google.
* </pre>
*
* <code>optional string domain = 4;</code>
* @return Whether the domain field is set.
*/
boolean hasDomain();
/**
* <pre>
* Highest level domain of the publisher (for example, "publisher.com").
* Not supported by Google.
* </pre>
*
* <code>optional string domain = 4;</code>
* @return The domain.
*/
java.lang.String getDomain();
/**
* <pre>
* Highest level domain of the publisher (for example, "publisher.com").
* Not supported by Google.
* </pre>
*
* <code>optional string domain = 4;</code>
* @return The bytes for domain.
*/
com.google.protobuf.ByteString
getDomainBytes();
}
/**
* <pre>
* OpenRTB 2.0: This object describes the publisher of the media in which
* the ad will be displayed. The publisher is typically the seller
* in an OpenRTB transaction.
* </pre>
*
* Protobuf type {@code com.google.openrtb.BidRequest.Publisher}
*/
public static final class Publisher extends
com.google.protobuf.GeneratedMessageLite.ExtendableMessage<
Publisher, Publisher.Builder> implements
// @@protoc_insertion_point(message_implements:com.google.openrtb.BidRequest.Publisher)
PublisherOrBuilder {
private Publisher() {
id_ = "";
name_ = "";
cattax_ = 1;
cat_ = com.google.protobuf.GeneratedMessageLite.emptyProtobufList();
domain_ = "";
}
private int bitField0_;
public static final int ID_FIELD_NUMBER = 1;
private java.lang.String id_;
/**
* <pre>
* Exchange-specific publisher ID.
* Supported by Google.
* </pre>
*
* <code>optional string id = 1;</code>
* @return Whether the id field is set.
*/
@java.lang.Override
public boolean hasId() {
return ((bitField0_ & 0x00000001) != 0);
}
/**
* <pre>
* Exchange-specific publisher ID.
* Supported by Google.
* </pre>
*
* <code>optional string id = 1;</code>
* @return The id.
*/
@java.lang.Override
public java.lang.String getId() {
return id_;
}
/**
* <pre>
* Exchange-specific publisher ID.
* Supported by Google.
* </pre>
*
* <code>optional string id = 1;</code>
* @return The bytes for id.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getIdBytes() {
return com.google.protobuf.ByteString.copyFromUtf8(id_);
}
/**
* <pre>
* Exchange-specific publisher ID.
* Supported by Google.
* </pre>
*
* <code>optional string id = 1;</code>
* @param value The id to set.
*/
private void setId(
java.lang.String value) {
java.lang.Class<?> valueClass = value.getClass();
bitField0_ |= 0x00000001;
id_ = value;
}
/**
* <pre>
* Exchange-specific publisher ID.
* Supported by Google.
* </pre>
*
* <code>optional string id = 1;</code>
*/
private void clearId() {
bitField0_ = (bitField0_ & ~0x00000001);
id_ = getDefaultInstance().getId();
}
/**
* <pre>
* Exchange-specific publisher ID.
* Supported by Google.
* </pre>
*
* <code>optional string id = 1;</code>
* @param value The bytes for id to set.
*/
private void setIdBytes(
com.google.protobuf.ByteString value) {
id_ = value.toStringUtf8();
bitField0_ |= 0x00000001;
}
public static final int NAME_FIELD_NUMBER = 2;
private java.lang.String name_;
/**
* <pre>
* Publisher name (may be aliased at publisher's request).
* Not supported by Google.
* </pre>
*
* <code>optional string name = 2;</code>
* @return Whether the name field is set.
*/
@java.lang.Override
public boolean hasName() {
return ((bitField0_ & 0x00000002) != 0);
}
/**
* <pre>
* Publisher name (may be aliased at publisher's request).
* Not supported by Google.
* </pre>
*
* <code>optional string name = 2;</code>
* @return The name.
*/
@java.lang.Override
public java.lang.String getName() {
return name_;
}
/**
* <pre>
* Publisher name (may be aliased at publisher's request).
* Not supported by Google.
* </pre>
*
* <code>optional string name = 2;</code>
* @return The bytes for name.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getNameBytes() {
return com.google.protobuf.ByteString.copyFromUtf8(name_);
}
/**
* <pre>
* Publisher name (may be aliased at publisher's request).
* Not supported by Google.
* </pre>
*
* <code>optional string name = 2;</code>
* @param value The name to set.
*/
private void setName(
java.lang.String value) {
java.lang.Class<?> valueClass = value.getClass();
bitField0_ |= 0x00000002;
name_ = value;
}
/**
* <pre>
* Publisher name (may be aliased at publisher's request).
* Not supported by Google.
* </pre>
*
* <code>optional string name = 2;</code>
*/
private void clearName() {
bitField0_ = (bitField0_ & ~0x00000002);
name_ = getDefaultInstance().getName();
}
/**
* <pre>
* Publisher name (may be aliased at publisher's request).
* Not supported by Google.
* </pre>
*
* <code>optional string name = 2;</code>
* @param value The bytes for name to set.
*/
private void setNameBytes(
com.google.protobuf.ByteString value) {
name_ = value.toStringUtf8();
bitField0_ |= 0x00000002;
}
public static final int CATTAX_FIELD_NUMBER = 5;
private int cattax_;
/**
* <pre>
* The taxonomy in use for cat.
* Not supported by Google.
* </pre>
*
* <code>optional .com.google.openrtb.CategoryTaxonomy cattax = 5 [default = IAB_CONTENT_1_0];</code>
* @return Whether the cattax field is set.
*/
@java.lang.Override
public boolean hasCattax() {
return ((bitField0_ & 0x00000004) != 0);
}
/**
* <pre>
* The taxonomy in use for cat.
* Not supported by Google.
* </pre>
*
* <code>optional .com.google.openrtb.CategoryTaxonomy cattax = 5 [default = IAB_CONTENT_1_0];</code>
* @return The cattax.
*/
@java.lang.Override
public com.particles.mes.protos.openrtb.CategoryTaxonomy getCattax() {
com.particles.mes.protos.openrtb.CategoryTaxonomy result = com.particles.mes.protos.openrtb.CategoryTaxonomy.forNumber(cattax_);
return result == null ? com.particles.mes.protos.openrtb.CategoryTaxonomy.IAB_CONTENT_1_0 : result;
}
/**
* <pre>
* The taxonomy in use for cat.
* Not supported by Google.
* </pre>
*
* <code>optional .com.google.openrtb.CategoryTaxonomy cattax = 5 [default = IAB_CONTENT_1_0];</code>
* @param value The cattax to set.
*/
private void setCattax(com.particles.mes.protos.openrtb.CategoryTaxonomy value) {
cattax_ = value.getNumber();
bitField0_ |= 0x00000004;
}
/**
* <pre>
* The taxonomy in use for cat.
* Not supported by Google.
* </pre>
*
* <code>optional .com.google.openrtb.CategoryTaxonomy cattax = 5 [default = IAB_CONTENT_1_0];</code>
*/
private void clearCattax() {
bitField0_ = (bitField0_ & ~0x00000004);
cattax_ = 1;
}
public static final int CAT_FIELD_NUMBER = 3;
private com.google.protobuf.Internal.ProtobufList<java.lang.String> cat_;
/**
* <pre>
* Array of IAB content categories that describe the publisher.
* The taxonomy to be used is defined by the cattax field.
* Not supported by Google.
* </pre>
*
* <code>repeated string cat = 3;</code>
* @return A list containing the cat.
*/
@java.lang.Override
public java.util.List<java.lang.String> getCatList() {
return cat_;
}
/**
* <pre>
* Array of IAB content categories that describe the publisher.
* The taxonomy to be used is defined by the cattax field.
* Not supported by Google.
* </pre>
*
* <code>repeated string cat = 3;</code>
* @return The count of cat.
*/
@java.lang.Override
public int getCatCount() {
return cat_.size();
}
/**
* <pre>
* Array of IAB content categories that describe the publisher.
* The taxonomy to be used is defined by the cattax field.
* Not supported by Google.
* </pre>
*
* <code>repeated string cat = 3;</code>
* @param index The index of the element to return.
* @return The cat at the given index.
*/
@java.lang.Override
public java.lang.String getCat(int index) {
return cat_.get(index);
}
/**
* <pre>
* Array of IAB content categories that describe the publisher.
* The taxonomy to be used is defined by the cattax field.
* Not supported by Google.
* </pre>
*
* <code>repeated string cat = 3;</code>
* @param index The index of the value to return.
* @return The bytes of the cat at the given index.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getCatBytes(int index) {
return com.google.protobuf.ByteString.copyFromUtf8(
cat_.get(index));
}
private void ensureCatIsMutable() {
com.google.protobuf.Internal.ProtobufList<java.lang.String> tmp =
cat_; if (!tmp.isModifiable()) {
cat_ =
com.google.protobuf.GeneratedMessageLite.mutableCopy(tmp);
}
}
/**
* <pre>
* Array of IAB content categories that describe the publisher.
* The taxonomy to be used is defined by the cattax field.
* Not supported by Google.
* </pre>
*
* <code>repeated string cat = 3;</code>
* @param index The index to set the value at.
* @param value The cat to set.
*/
private void setCat(
int index, java.lang.String value) {
java.lang.Class<?> valueClass = value.getClass();
ensureCatIsMutable();
cat_.set(index, value);
}
/**
* <pre>
* Array of IAB content categories that describe the publisher.
* The taxonomy to be used is defined by the cattax field.
* Not supported by Google.
* </pre>
*
* <code>repeated string cat = 3;</code>
* @param value The cat to add.
*/
private void addCat(
java.lang.String value) {
java.lang.Class<?> valueClass = value.getClass();
ensureCatIsMutable();
cat_.add(value);
}
/**
* <pre>
* Array of IAB content categories that describe the publisher.
* The taxonomy to be used is defined by the cattax field.
* Not supported by Google.
* </pre>
*
* <code>repeated string cat = 3;</code>
* @param values The cat to add.
*/
private void addAllCat(
java.lang.Iterable<java.lang.String> values) {
ensureCatIsMutable();
com.google.protobuf.AbstractMessageLite.addAll(
values, cat_);
}
/**
* <pre>
* Array of IAB content categories that describe the publisher.
* The taxonomy to be used is defined by the cattax field.
* Not supported by Google.
* </pre>
*
* <code>repeated string cat = 3;</code>
*/
private void clearCat() {
cat_ = com.google.protobuf.GeneratedMessageLite.emptyProtobufList();
}
/**
* <pre>
* Array of IAB content categories that describe the publisher.
* The taxonomy to be used is defined by the cattax field.
* Not supported by Google.
* </pre>
*
* <code>repeated string cat = 3;</code>
* @param value The bytes of the cat to add.
*/
private void addCatBytes(
com.google.protobuf.ByteString value) {
ensureCatIsMutable();
cat_.add(value.toStringUtf8());
}
public static final int DOMAIN_FIELD_NUMBER = 4;
private java.lang.String domain_;
/**
* <pre>
* Highest level domain of the publisher (for example, "publisher.com").
* Not supported by Google.
* </pre>
*
* <code>optional string domain = 4;</code>
* @return Whether the domain field is set.
*/
@java.lang.Override
public boolean hasDomain() {
return ((bitField0_ & 0x00000008) != 0);
}
/**
* <pre>
* Highest level domain of the publisher (for example, "publisher.com").
* Not supported by Google.
* </pre>
*
* <code>optional string domain = 4;</code>
* @return The domain.
*/
@java.lang.Override
public java.lang.String getDomain() {
return domain_;
}
/**
* <pre>
* Highest level domain of the publisher (for example, "publisher.com").
* Not supported by Google.
* </pre>
*
* <code>optional string domain = 4;</code>
* @return The bytes for domain.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getDomainBytes() {
return com.google.protobuf.ByteString.copyFromUtf8(domain_);
}
/**
* <pre>
* Highest level domain of the publisher (for example, "publisher.com").
* Not supported by Google.
* </pre>
*
* <code>optional string domain = 4;</code>
* @param value The domain to set.
*/
private void setDomain(
java.lang.String value) {
java.lang.Class<?> valueClass = value.getClass();
bitField0_ |= 0x00000008;
domain_ = value;
}
/**
* <pre>
* Highest level domain of the publisher (for example, "publisher.com").
* Not supported by Google.
* </pre>
*
* <code>optional string domain = 4;</code>
*/
private void clearDomain() {
bitField0_ = (bitField0_ & ~0x00000008);
domain_ = getDefaultInstance().getDomain();
}
/**
* <pre>
* Highest level domain of the publisher (for example, "publisher.com").
* Not supported by Google.
* </pre>
*
* <code>optional string domain = 4;</code>
* @param value The bytes for domain to set.
*/
private void setDomainBytes(
com.google.protobuf.ByteString value) {
domain_ = value.toStringUtf8();
bitField0_ |= 0x00000008;
}
public static com.particles.mes.protos.openrtb.BidRequest.Publisher parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, data);
}
public static com.particles.mes.protos.openrtb.BidRequest.Publisher parseFrom(
java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, data, extensionRegistry);
}
public static com.particles.mes.protos.openrtb.BidRequest.Publisher parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, data);
}
public static com.particles.mes.protos.openrtb.BidRequest.Publisher parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, data, extensionRegistry);
}
public static com.particles.mes.protos.openrtb.BidRequest.Publisher parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, data);
}
public static com.particles.mes.protos.openrtb.BidRequest.Publisher parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, data, extensionRegistry);
}
public static com.particles.mes.protos.openrtb.BidRequest.Publisher parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, input);
}
public static com.particles.mes.protos.openrtb.BidRequest.Publisher parseFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, input, extensionRegistry);
}
public static com.particles.mes.protos.openrtb.BidRequest.Publisher parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return parseDelimitedFrom(DEFAULT_INSTANCE, input);
}
public static com.particles.mes.protos.openrtb.BidRequest.Publisher parseDelimitedFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return parseDelimitedFrom(DEFAULT_INSTANCE, input, extensionRegistry);
}
public static com.particles.mes.protos.openrtb.BidRequest.Publisher parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, input);
}
public static com.particles.mes.protos.openrtb.BidRequest.Publisher parseFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, input, extensionRegistry);
}
public static Builder newBuilder() {
return (Builder) DEFAULT_INSTANCE.createBuilder();
}
public static Builder newBuilder(com.particles.mes.protos.openrtb.BidRequest.Publisher prototype) {
return (Builder) DEFAULT_INSTANCE.createBuilder(prototype);
}
/**
* <pre>
* OpenRTB 2.0: This object describes the publisher of the media in which
* the ad will be displayed. The publisher is typically the seller
* in an OpenRTB transaction.
* </pre>
*
* Protobuf type {@code com.google.openrtb.BidRequest.Publisher}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageLite.ExtendableBuilder<
com.particles.mes.protos.openrtb.BidRequest.Publisher, Builder> implements
// @@protoc_insertion_point(builder_implements:com.google.openrtb.BidRequest.Publisher)
com.particles.mes.protos.openrtb.BidRequest.PublisherOrBuilder {
// Construct using com.particles.mes.protos.openrtb.BidRequest.Publisher.newBuilder()
private Builder() {
super(DEFAULT_INSTANCE);
}
/**
* <pre>
* Exchange-specific publisher ID.
* Supported by Google.
* </pre>
*
* <code>optional string id = 1;</code>
* @return Whether the id field is set.
*/
@java.lang.Override
public boolean hasId() {
return instance.hasId();
}
/**
* <pre>
* Exchange-specific publisher ID.
* Supported by Google.
* </pre>
*
* <code>optional string id = 1;</code>
* @return The id.
*/
@java.lang.Override
public java.lang.String getId() {
return instance.getId();
}
/**
* <pre>
* Exchange-specific publisher ID.
* Supported by Google.
* </pre>
*
* <code>optional string id = 1;</code>
* @return The bytes for id.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getIdBytes() {
return instance.getIdBytes();
}
/**
* <pre>
* Exchange-specific publisher ID.
* Supported by Google.
* </pre>
*
* <code>optional string id = 1;</code>
* @param value The id to set.
* @return This builder for chaining.
*/
public Builder setId(
java.lang.String value) {
copyOnWrite();
instance.setId(value);
return this;
}
/**
* <pre>
* Exchange-specific publisher ID.
* Supported by Google.
* </pre>
*
* <code>optional string id = 1;</code>
* @return This builder for chaining.
*/
public Builder clearId() {
copyOnWrite();
instance.clearId();
return this;
}
/**
* <pre>
* Exchange-specific publisher ID.
* Supported by Google.
* </pre>
*
* <code>optional string id = 1;</code>
* @param value The bytes for id to set.
* @return This builder for chaining.
*/
public Builder setIdBytes(
com.google.protobuf.ByteString value) {
copyOnWrite();
instance.setIdBytes(value);
return this;
}
/**
* <pre>
* Publisher name (may be aliased at publisher's request).
* Not supported by Google.
* </pre>
*
* <code>optional string name = 2;</code>
* @return Whether the name field is set.
*/
@java.lang.Override
public boolean hasName() {
return instance.hasName();
}
/**
* <pre>
* Publisher name (may be aliased at publisher's request).
* Not supported by Google.
* </pre>
*
* <code>optional string name = 2;</code>
* @return The name.
*/
@java.lang.Override
public java.lang.String getName() {
return instance.getName();
}
/**
* <pre>
* Publisher name (may be aliased at publisher's request).
* Not supported by Google.
* </pre>
*
* <code>optional string name = 2;</code>
* @return The bytes for name.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getNameBytes() {
return instance.getNameBytes();
}
/**
* <pre>
* Publisher name (may be aliased at publisher's request).
* Not supported by Google.
* </pre>
*
* <code>optional string name = 2;</code>
* @param value The name to set.
* @return This builder for chaining.
*/
public Builder setName(
java.lang.String value) {
copyOnWrite();
instance.setName(value);
return this;
}
/**
* <pre>
* Publisher name (may be aliased at publisher's request).
* Not supported by Google.
* </pre>
*
* <code>optional string name = 2;</code>
* @return This builder for chaining.
*/
public Builder clearName() {
copyOnWrite();
instance.clearName();
return this;
}
/**
* <pre>
* Publisher name (may be aliased at publisher's request).
* Not supported by Google.
* </pre>
*
* <code>optional string name = 2;</code>
* @param value The bytes for name to set.
* @return This builder for chaining.
*/
public Builder setNameBytes(
com.google.protobuf.ByteString value) {
copyOnWrite();
instance.setNameBytes(value);
return this;
}
/**
* <pre>
* The taxonomy in use for cat.
* Not supported by Google.
* </pre>
*
* <code>optional .com.google.openrtb.CategoryTaxonomy cattax = 5 [default = IAB_CONTENT_1_0];</code>
* @return Whether the cattax field is set.
*/
@java.lang.Override
public boolean hasCattax() {
return instance.hasCattax();
}
/**
* <pre>
* The taxonomy in use for cat.
* Not supported by Google.
* </pre>
*
* <code>optional .com.google.openrtb.CategoryTaxonomy cattax = 5 [default = IAB_CONTENT_1_0];</code>
* @return The cattax.
*/
@java.lang.Override
public com.particles.mes.protos.openrtb.CategoryTaxonomy getCattax() {
return instance.getCattax();
}
/**
* <pre>
* The taxonomy in use for cat.
* Not supported by Google.
* </pre>
*
* <code>optional .com.google.openrtb.CategoryTaxonomy cattax = 5 [default = IAB_CONTENT_1_0];</code>
* @param value The enum numeric value on the wire for cattax to set.
* @return This builder for chaining.
*/
public Builder setCattax(com.particles.mes.protos.openrtb.CategoryTaxonomy value) {
copyOnWrite();
instance.setCattax(value);
return this;
}
/**
* <pre>
* The taxonomy in use for cat.
* Not supported by Google.
* </pre>
*
* <code>optional .com.google.openrtb.CategoryTaxonomy cattax = 5 [default = IAB_CONTENT_1_0];</code>
* @return This builder for chaining.
*/
public Builder clearCattax() {
copyOnWrite();
instance.clearCattax();
return this;
}
/**
* <pre>
* Array of IAB content categories that describe the publisher.
* The taxonomy to be used is defined by the cattax field.
* Not supported by Google.
* </pre>
*
* <code>repeated string cat = 3;</code>
* @return A list containing the cat.
*/
@java.lang.Override
public java.util.List<java.lang.String>
getCatList() {
return java.util.Collections.unmodifiableList(
instance.getCatList());
}
/**
* <pre>
* Array of IAB content categories that describe the publisher.
* The taxonomy to be used is defined by the cattax field.
* Not supported by Google.
* </pre>
*
* <code>repeated string cat = 3;</code>
* @return The count of cat.
*/
@java.lang.Override
public int getCatCount() {
return instance.getCatCount();
}
/**
* <pre>
* Array of IAB content categories that describe the publisher.
* The taxonomy to be used is defined by the cattax field.
* Not supported by Google.
* </pre>
*
* <code>repeated string cat = 3;</code>
* @param index The index of the element to return.
* @return The cat at the given index.
*/
@java.lang.Override
public java.lang.String getCat(int index) {
return instance.getCat(index);
}
/**
* <pre>
* Array of IAB content categories that describe the publisher.
* The taxonomy to be used is defined by the cattax field.
* Not supported by Google.
* </pre>
*
* <code>repeated string cat = 3;</code>
* @param index The index of the value to return.
* @return The bytes of the cat at the given index.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getCatBytes(int index) {
return instance.getCatBytes(index);
}
/**
* <pre>
* Array of IAB content categories that describe the publisher.
* The taxonomy to be used is defined by the cattax field.
* Not supported by Google.
* </pre>
*
* <code>repeated string cat = 3;</code>
* @param index The index to set the value at.
* @param value The cat to set.
* @return This builder for chaining.
*/
public Builder setCat(
int index, java.lang.String value) {
copyOnWrite();
instance.setCat(index, value);
return this;
}
/**
* <pre>
* Array of IAB content categories that describe the publisher.
* The taxonomy to be used is defined by the cattax field.
* Not supported by Google.
* </pre>
*
* <code>repeated string cat = 3;</code>
* @param value The cat to add.
* @return This builder for chaining.
*/
public Builder addCat(
java.lang.String value) {
copyOnWrite();
instance.addCat(value);
return this;
}
/**
* <pre>
* Array of IAB content categories that describe the publisher.
* The taxonomy to be used is defined by the cattax field.
* Not supported by Google.
* </pre>
*
* <code>repeated string cat = 3;</code>
* @param values The cat to add.
* @return This builder for chaining.
*/
public Builder addAllCat(
java.lang.Iterable<java.lang.String> values) {
copyOnWrite();
instance.addAllCat(values);
return this;
}
/**
* <pre>
* Array of IAB content categories that describe the publisher.
* The taxonomy to be used is defined by the cattax field.
* Not supported by Google.
* </pre>
*
* <code>repeated string cat = 3;</code>
* @return This builder for chaining.
*/
public Builder clearCat() {
copyOnWrite();
instance.clearCat();
return this;
}
/**
* <pre>
* Array of IAB content categories that describe the publisher.
* The taxonomy to be used is defined by the cattax field.
* Not supported by Google.
* </pre>
*
* <code>repeated string cat = 3;</code>
* @param value The bytes of the cat to add.
* @return This builder for chaining.
*/
public Builder addCatBytes(
com.google.protobuf.ByteString value) {
copyOnWrite();
instance.addCatBytes(value);
return this;
}
/**
* <pre>
* Highest level domain of the publisher (for example, "publisher.com").
* Not supported by Google.
* </pre>
*
* <code>optional string domain = 4;</code>
* @return Whether the domain field is set.
*/
@java.lang.Override
public boolean hasDomain() {
return instance.hasDomain();
}
/**
* <pre>
* Highest level domain of the publisher (for example, "publisher.com").
* Not supported by Google.
* </pre>
*
* <code>optional string domain = 4;</code>
* @return The domain.
*/
@java.lang.Override
public java.lang.String getDomain() {
return instance.getDomain();
}
/**
* <pre>
* Highest level domain of the publisher (for example, "publisher.com").
* Not supported by Google.
* </pre>
*
* <code>optional string domain = 4;</code>
* @return The bytes for domain.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getDomainBytes() {
return instance.getDomainBytes();
}
/**
* <pre>
* Highest level domain of the publisher (for example, "publisher.com").
* Not supported by Google.
* </pre>
*
* <code>optional string domain = 4;</code>
* @param value The domain to set.
* @return This builder for chaining.
*/
public Builder setDomain(
java.lang.String value) {
copyOnWrite();
instance.setDomain(value);
return this;
}
/**
* <pre>
* Highest level domain of the publisher (for example, "publisher.com").
* Not supported by Google.
* </pre>
*
* <code>optional string domain = 4;</code>
* @return This builder for chaining.
*/
public Builder clearDomain() {
copyOnWrite();
instance.clearDomain();
return this;
}
/**
* <pre>
* Highest level domain of the publisher (for example, "publisher.com").
* Not supported by Google.
* </pre>
*
* <code>optional string domain = 4;</code>
* @param value The bytes for domain to set.
* @return This builder for chaining.
*/
public Builder setDomainBytes(
com.google.protobuf.ByteString value) {
copyOnWrite();
instance.setDomainBytes(value);
return this;
}
// @@protoc_insertion_point(builder_scope:com.google.openrtb.BidRequest.Publisher)
}
private byte memoizedIsInitialized = 2;
@java.lang.Override
@java.lang.SuppressWarnings({"unchecked", "fallthrough"})
protected final java.lang.Object dynamicMethod(
com.google.protobuf.GeneratedMessageLite.MethodToInvoke method,
java.lang.Object arg0, java.lang.Object arg1) {
switch (method) {
case NEW_MUTABLE_INSTANCE: {
return new com.particles.mes.protos.openrtb.BidRequest.Publisher();
}
case NEW_BUILDER: {
return new Builder();
}
case BUILD_MESSAGE_INFO: {
java.lang.Object[] objects = new java.lang.Object[] {
"bitField0_",
"id_",
"name_",
"cat_",
"domain_",
"cattax_",
com.particles.mes.protos.openrtb.CategoryTaxonomy.internalGetVerifier(),
};
java.lang.String info =
"\u0001\u0005\u0000\u0001\u0001\u0005\u0005\u0000\u0001\u0000\u0001\u1008\u0000\u0002" +
"\u1008\u0001\u0003\u001a\u0004\u1008\u0003\u0005\u100c\u0002";
return newMessageInfo(DEFAULT_INSTANCE, info, objects);
}
// fall through
case GET_DEFAULT_INSTANCE: {
return DEFAULT_INSTANCE;
}
case GET_PARSER: {
com.google.protobuf.Parser<com.particles.mes.protos.openrtb.BidRequest.Publisher> parser = PARSER;
if (parser == null) {
synchronized (com.particles.mes.protos.openrtb.BidRequest.Publisher.class) {
parser = PARSER;
if (parser == null) {
parser =
new DefaultInstanceBasedParser<com.particles.mes.protos.openrtb.BidRequest.Publisher>(
DEFAULT_INSTANCE);
PARSER = parser;
}
}
}
return parser;
}
case GET_MEMOIZED_IS_INITIALIZED: {
return memoizedIsInitialized;
}
case SET_MEMOIZED_IS_INITIALIZED: {
memoizedIsInitialized = (byte) (arg0 == null ? 0 : 1);
return null;
}
}
throw new UnsupportedOperationException();
}
// @@protoc_insertion_point(class_scope:com.google.openrtb.BidRequest.Publisher)
private static final com.particles.mes.protos.openrtb.BidRequest.Publisher DEFAULT_INSTANCE;
static {
Publisher defaultInstance = new Publisher();
// New instances are implicitly immutable so no need to make
// immutable.
DEFAULT_INSTANCE = defaultInstance;
com.google.protobuf.GeneratedMessageLite.registerDefaultInstance(
Publisher.class, defaultInstance);
}
public static com.particles.mes.protos.openrtb.BidRequest.Publisher getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static volatile com.google.protobuf.Parser<Publisher> PARSER;
public static com.google.protobuf.Parser<Publisher> parser() {
return DEFAULT_INSTANCE.getParserForType();
}
}
public interface ContentOrBuilder extends
// @@protoc_insertion_point(interface_extends:com.google.openrtb.BidRequest.Content)
com.google.protobuf.GeneratedMessageLite.
ExtendableMessageOrBuilder<
Content, Content.Builder> {
/**
* <pre>
* ID uniquely identifying the content.
* Not supported by Google.
* </pre>
*
* <code>optional string id = 1;</code>
* @return Whether the id field is set.
*/
boolean hasId();
/**
* <pre>
* ID uniquely identifying the content.
* Not supported by Google.
* </pre>
*
* <code>optional string id = 1;</code>
* @return The id.
*/
java.lang.String getId();
/**
* <pre>
* ID uniquely identifying the content.
* Not supported by Google.
* </pre>
*
* <code>optional string id = 1;</code>
* @return The bytes for id.
*/
com.google.protobuf.ByteString
getIdBytes();
/**
* <pre>
* Content episode number (typically applies to video content).
* Not supported by Google.
* </pre>
*
* <code>optional int32 episode = 2;</code>
* @return Whether the episode field is set.
*/
boolean hasEpisode();
/**
* <pre>
* Content episode number (typically applies to video content).
* Not supported by Google.
* </pre>
*
* <code>optional int32 episode = 2;</code>
* @return The episode.
*/
int getEpisode();
/**
* <pre>
* Content title.
* Video Examples: "Search Committee" (television), "A New Hope" (movie),
* or "Endgame" (made for web).
* Non-Video Example: "Why an Antarctic Glacier Is Melting So Quickly"
* (Time magazine article).
* Not supported by Google.
* </pre>
*
* <code>optional string title = 3;</code>
* @return Whether the title field is set.
*/
boolean hasTitle();
/**
* <pre>
* Content title.
* Video Examples: "Search Committee" (television), "A New Hope" (movie),
* or "Endgame" (made for web).
* Non-Video Example: "Why an Antarctic Glacier Is Melting So Quickly"
* (Time magazine article).
* Not supported by Google.
* </pre>
*
* <code>optional string title = 3;</code>
* @return The title.
*/
java.lang.String getTitle();
/**
* <pre>
* Content title.
* Video Examples: "Search Committee" (television), "A New Hope" (movie),
* or "Endgame" (made for web).
* Non-Video Example: "Why an Antarctic Glacier Is Melting So Quickly"
* (Time magazine article).
* Not supported by Google.
* </pre>
*
* <code>optional string title = 3;</code>
* @return The bytes for title.
*/
com.google.protobuf.ByteString
getTitleBytes();
/**
* <pre>
* Content series.
* Video Examples: "The Office" (television), "Star Wars" (movie),
* or "Arby 'N' The Chief" (made for web).
* Non-Video Example: "Ecocentric" (Time Magazine blog).
* Not supported by Google.
* </pre>
*
* <code>optional string series = 4;</code>
* @return Whether the series field is set.
*/
boolean hasSeries();
/**
* <pre>
* Content series.
* Video Examples: "The Office" (television), "Star Wars" (movie),
* or "Arby 'N' The Chief" (made for web).
* Non-Video Example: "Ecocentric" (Time Magazine blog).
* Not supported by Google.
* </pre>
*
* <code>optional string series = 4;</code>
* @return The series.
*/
java.lang.String getSeries();
/**
* <pre>
* Content series.
* Video Examples: "The Office" (television), "Star Wars" (movie),
* or "Arby 'N' The Chief" (made for web).
* Non-Video Example: "Ecocentric" (Time Magazine blog).
* Not supported by Google.
* </pre>
*
* <code>optional string series = 4;</code>
* @return The bytes for series.
*/
com.google.protobuf.ByteString
getSeriesBytes();
/**
* <pre>
* Content season; typically for video content (for example, "Season 3").
* Not supported by Google.
* </pre>
*
* <code>optional string season = 5;</code>
* @return Whether the season field is set.
*/
boolean hasSeason();
/**
* <pre>
* Content season; typically for video content (for example, "Season 3").
* Not supported by Google.
* </pre>
*
* <code>optional string season = 5;</code>
* @return The season.
*/
java.lang.String getSeason();
/**
* <pre>
* Content season; typically for video content (for example, "Season 3").
* Not supported by Google.
* </pre>
*
* <code>optional string season = 5;</code>
* @return The bytes for season.
*/
com.google.protobuf.ByteString
getSeasonBytes();
/**
* <pre>
* Artist credited with the content.
* Not supported by Google.
* </pre>
*
* <code>optional string artist = 21;</code>
* @return Whether the artist field is set.
*/
boolean hasArtist();
/**
* <pre>
* Artist credited with the content.
* Not supported by Google.
* </pre>
*
* <code>optional string artist = 21;</code>
* @return The artist.
*/
java.lang.String getArtist();
/**
* <pre>
* Artist credited with the content.
* Not supported by Google.
* </pre>
*
* <code>optional string artist = 21;</code>
* @return The bytes for artist.
*/
com.google.protobuf.ByteString
getArtistBytes();
/**
* <pre>
* Genre that best describes the content (for example, rock, pop, etc).
* Not supported by Google.
* </pre>
*
* <code>optional string genre = 22;</code>
* @return Whether the genre field is set.
*/
boolean hasGenre();
/**
* <pre>
* Genre that best describes the content (for example, rock, pop, etc).
* Not supported by Google.
* </pre>
*
* <code>optional string genre = 22;</code>
* @return The genre.
*/
java.lang.String getGenre();
/**
* <pre>
* Genre that best describes the content (for example, rock, pop, etc).
* Not supported by Google.
* </pre>
*
* <code>optional string genre = 22;</code>
* @return The bytes for genre.
*/
com.google.protobuf.ByteString
getGenreBytes();
/**
* <pre>
* Album to which the content belongs; typically for audio.
* Not supported by Google.
* </pre>
*
* <code>optional string album = 23;</code>
* @return Whether the album field is set.
*/
boolean hasAlbum();
/**
* <pre>
* Album to which the content belongs; typically for audio.
* Not supported by Google.
* </pre>
*
* <code>optional string album = 23;</code>
* @return The album.
*/
java.lang.String getAlbum();
/**
* <pre>
* Album to which the content belongs; typically for audio.
* Not supported by Google.
* </pre>
*
* <code>optional string album = 23;</code>
* @return The bytes for album.
*/
com.google.protobuf.ByteString
getAlbumBytes();
/**
* <pre>
* International Standard Recording Code conforming to ISO-3901.
* Not supported by Google.
* </pre>
*
* <code>optional string isrc = 24;</code>
* @return Whether the isrc field is set.
*/
boolean hasIsrc();
/**
* <pre>
* International Standard Recording Code conforming to ISO-3901.
* Not supported by Google.
* </pre>
*
* <code>optional string isrc = 24;</code>
* @return The isrc.
*/
java.lang.String getIsrc();
/**
* <pre>
* International Standard Recording Code conforming to ISO-3901.
* Not supported by Google.
* </pre>
*
* <code>optional string isrc = 24;</code>
* @return The bytes for isrc.
*/
com.google.protobuf.ByteString
getIsrcBytes();
/**
* <pre>
* Details about the content Producer (Section 3.2.10).
* Supported by Google.
* </pre>
*
* <code>optional .com.google.openrtb.BidRequest.Content.Producer producer = 15;</code>
* @return Whether the producer field is set.
*/
boolean hasProducer();
/**
* <pre>
* Details about the content Producer (Section 3.2.10).
* Supported by Google.
* </pre>
*
* <code>optional .com.google.openrtb.BidRequest.Content.Producer producer = 15;</code>
* @return The producer.
*/
com.particles.mes.protos.openrtb.BidRequest.Content.Producer getProducer();
/**
* <pre>
* URL of the content, for buy-side contextualization or review.
* Supported by Google.
* </pre>
*
* <code>optional string url = 6;</code>
* @return Whether the url field is set.
*/
boolean hasUrl();
/**
* <pre>
* URL of the content, for buy-side contextualization or review.
* Supported by Google.
* </pre>
*
* <code>optional string url = 6;</code>
* @return The url.
*/
java.lang.String getUrl();
/**
* <pre>
* URL of the content, for buy-side contextualization or review.
* Supported by Google.
* </pre>
*
* <code>optional string url = 6;</code>
* @return The bytes for url.
*/
com.google.protobuf.ByteString
getUrlBytes();
/**
* <pre>
* The taxonomy in use for cat.
* Not supported by Google.
* </pre>
*
* <code>optional .com.google.openrtb.CategoryTaxonomy cattax = 27 [default = IAB_CONTENT_1_0];</code>
* @return Whether the cattax field is set.
*/
boolean hasCattax();
/**
* <pre>
* The taxonomy in use for cat.
* Not supported by Google.
* </pre>
*
* <code>optional .com.google.openrtb.CategoryTaxonomy cattax = 27 [default = IAB_CONTENT_1_0];</code>
* @return The cattax.
*/
com.particles.mes.protos.openrtb.CategoryTaxonomy getCattax();
/**
* <pre>
* Array of IAB content categories that describe the content.
* The taxonomy to be used is defined by the cattax field.
* Not supported by Google.
* </pre>
*
* <code>repeated string cat = 7;</code>
* @return A list containing the cat.
*/
java.util.List<java.lang.String>
getCatList();
/**
* <pre>
* Array of IAB content categories that describe the content.
* The taxonomy to be used is defined by the cattax field.
* Not supported by Google.
* </pre>
*
* <code>repeated string cat = 7;</code>
* @return The count of cat.
*/
int getCatCount();
/**
* <pre>
* Array of IAB content categories that describe the content.
* The taxonomy to be used is defined by the cattax field.
* Not supported by Google.
* </pre>
*
* <code>repeated string cat = 7;</code>
* @param index The index of the element to return.
* @return The cat at the given index.
*/
java.lang.String getCat(int index);
/**
* <pre>
* Array of IAB content categories that describe the content.
* The taxonomy to be used is defined by the cattax field.
* Not supported by Google.
* </pre>
*
* <code>repeated string cat = 7;</code>
* @param index The index of the element to return.
* @return The cat at the given index.
*/
com.google.protobuf.ByteString
getCatBytes(int index);
/**
* <pre>
* Production quality.
* Supported by Google.
* </pre>
*
* <code>optional .com.google.openrtb.ProductionQuality prodq = 25;</code>
* @return Whether the prodq field is set.
*/
boolean hasProdq();
/**
* <pre>
* Production quality.
* Supported by Google.
* </pre>
*
* <code>optional .com.google.openrtb.ProductionQuality prodq = 25;</code>
* @return The prodq.
*/
com.particles.mes.protos.openrtb.ProductionQuality getProdq();
/**
* <pre>
* Type of content (for example, game, video or text).
* Not supported by Google.
* </pre>
*
* <code>optional .com.google.openrtb.ContentContext context = 20;</code>
* @return Whether the context field is set.
*/
boolean hasContext();
/**
* <pre>
* Type of content (for example, game, video or text).
* Not supported by Google.
* </pre>
*
* <code>optional .com.google.openrtb.ContentContext context = 20;</code>
* @return The context.
*/
com.particles.mes.protos.openrtb.ContentContext getContext();
/**
* <pre>
* Content rating.
* Possible values: "DV-G", "DV-PG", "DV-T", "DV-MA".
* Supported by Google.
* </pre>
*
* <code>optional string contentrating = 10;</code>
* @return Whether the contentrating field is set.
*/
boolean hasContentrating();
/**
* <pre>
* Content rating.
* Possible values: "DV-G", "DV-PG", "DV-T", "DV-MA".
* Supported by Google.
* </pre>
*
* <code>optional string contentrating = 10;</code>
* @return The contentrating.
*/
java.lang.String getContentrating();
/**
* <pre>
* Content rating.
* Possible values: "DV-G", "DV-PG", "DV-T", "DV-MA".
* Supported by Google.
* </pre>
*
* <code>optional string contentrating = 10;</code>
* @return The bytes for contentrating.
*/
com.google.protobuf.ByteString
getContentratingBytes();
/**
* <pre>
* User rating of the content (for example, number of stars or likes).
* Supported by Google.
* </pre>
*
* <code>optional string userrating = 11;</code>
* @return Whether the userrating field is set.
*/
boolean hasUserrating();
/**
* <pre>
* User rating of the content (for example, number of stars or likes).
* Supported by Google.
* </pre>
*
* <code>optional string userrating = 11;</code>
* @return The userrating.
*/
java.lang.String getUserrating();
/**
* <pre>
* User rating of the content (for example, number of stars or likes).
* Supported by Google.
* </pre>
*
* <code>optional string userrating = 11;</code>
* @return The bytes for userrating.
*/
com.google.protobuf.ByteString
getUserratingBytes();
/**
* <pre>
* Media rating per QAG guidelines.
* Not supported by Google.
* </pre>
*
* <code>optional .com.google.openrtb.QAGMediaRating qagmediarating = 17;</code>
* @return Whether the qagmediarating field is set.
*/
boolean hasQagmediarating();
/**
* <pre>
* Media rating per QAG guidelines.
* Not supported by Google.
* </pre>
*
* <code>optional .com.google.openrtb.QAGMediaRating qagmediarating = 17;</code>
* @return The qagmediarating.
*/
com.particles.mes.protos.openrtb.QAGMediaRating getQagmediarating();
/**
* <pre>
* Comma separated list of keywords describing the content.
* Not supported by Google.
* </pre>
*
* <code>optional string keywords = 9;</code>
* @return Whether the keywords field is set.
*/
boolean hasKeywords();
/**
* <pre>
* Comma separated list of keywords describing the content.
* Not supported by Google.
* </pre>
*
* <code>optional string keywords = 9;</code>
* @return The keywords.
*/
java.lang.String getKeywords();
/**
* <pre>
* Comma separated list of keywords describing the content.
* Not supported by Google.
* </pre>
*
* <code>optional string keywords = 9;</code>
* @return The bytes for keywords.
*/
com.google.protobuf.ByteString
getKeywordsBytes();
/**
* <pre>
* false = not live, true = content is live (for example, stream, live
* blog).
* Supported by Google.
* </pre>
*
* <code>optional bool livestream = 13;</code>
* @return Whether the livestream field is set.
*/
boolean hasLivestream();
/**
* <pre>
* false = not live, true = content is live (for example, stream, live
* blog).
* Supported by Google.
* </pre>
*
* <code>optional bool livestream = 13;</code>
* @return The livestream.
*/
boolean getLivestream();
/**
* <pre>
* false = indirect, true = direct.
* Not supported by Google.
* </pre>
*
* <code>optional bool sourcerelationship = 14;</code>
* @return Whether the sourcerelationship field is set.
*/
boolean hasSourcerelationship();
/**
* <pre>
* false = indirect, true = direct.
* Not supported by Google.
* </pre>
*
* <code>optional bool sourcerelationship = 14;</code>
* @return The sourcerelationship.
*/
boolean getSourcerelationship();
/**
* <pre>
* Length of content in seconds; appropriate for video or audio.
* Supported by Google.
* </pre>
*
* <code>optional int32 len = 16;</code>
* @return Whether the len field is set.
*/
boolean hasLen();
/**
* <pre>
* Length of content in seconds; appropriate for video or audio.
* Supported by Google.
* </pre>
*
* <code>optional int32 len = 16;</code>
* @return The len.
*/
int getLen();
/**
* <pre>
* Content language using ISO-639-1-alpha-2.
* Only one of language or langb should be present.
* Supported by Google.
* </pre>
*
* <code>optional string language = 19;</code>
* @return Whether the language field is set.
*/
boolean hasLanguage();
/**
* <pre>
* Content language using ISO-639-1-alpha-2.
* Only one of language or langb should be present.
* Supported by Google.
* </pre>
*
* <code>optional string language = 19;</code>
* @return The language.
*/
java.lang.String getLanguage();
/**
* <pre>
* Content language using ISO-639-1-alpha-2.
* Only one of language or langb should be present.
* Supported by Google.
* </pre>
*
* <code>optional string language = 19;</code>
* @return The bytes for language.
*/
com.google.protobuf.ByteString
getLanguageBytes();
/**
* <pre>
* Content language using IETF BCP 47.
* Only one of language or langb should be present.
* Not supported by Google.
* </pre>
*
* <code>optional string langb = 29;</code>
* @return Whether the langb field is set.
*/
boolean hasLangb();
/**
* <pre>
* Content language using IETF BCP 47.
* Only one of language or langb should be present.
* Not supported by Google.
* </pre>
*
* <code>optional string langb = 29;</code>
* @return The langb.
*/
java.lang.String getLangb();
/**
* <pre>
* Content language using IETF BCP 47.
* Only one of language or langb should be present.
* Not supported by Google.
* </pre>
*
* <code>optional string langb = 29;</code>
* @return The bytes for langb.
*/
com.google.protobuf.ByteString
getLangbBytes();
/**
* <pre>
* Indicator of whether or not the content is embeddable (for example, an
* embeddable video player).
* Not supported by Google.
* </pre>
*
* <code>optional bool embeddable = 18;</code>
* @return Whether the embeddable field is set.
*/
boolean hasEmbeddable();
/**
* <pre>
* Indicator of whether or not the content is embeddable (for example, an
* embeddable video player).
* Not supported by Google.
* </pre>
*
* <code>optional bool embeddable = 18;</code>
* @return The embeddable.
*/
boolean getEmbeddable();
/**
* <pre>
* Additional content data. Each object represents a different data source.
* Supported by Google. Used for Publisher Provided Signals:
* https://support.google.com/admanager/answer/12451124
* </pre>
*
* <code>repeated .com.google.openrtb.BidRequest.Data data = 28;</code>
*/
java.util.List<com.particles.mes.protos.openrtb.BidRequest.Data>
getDataList();
/**
* <pre>
* Additional content data. Each object represents a different data source.
* Supported by Google. Used for Publisher Provided Signals:
* https://support.google.com/admanager/answer/12451124
* </pre>
*
* <code>repeated .com.google.openrtb.BidRequest.Data data = 28;</code>
*/
com.particles.mes.protos.openrtb.BidRequest.Data getData(int index);
/**
* <pre>
* Additional content data. Each object represents a different data source.
* Supported by Google. Used for Publisher Provided Signals:
* https://support.google.com/admanager/answer/12451124
* </pre>
*
* <code>repeated .com.google.openrtb.BidRequest.Data data = 28;</code>
*/
int getDataCount();
/**
* <pre>
* Details about the network the content is on.
* Not supported by Google.
* </pre>
*
* <code>optional .com.google.openrtb.BidRequest.Content.Network network = 30;</code>
* @return Whether the network field is set.
*/
boolean hasNetwork();
/**
* <pre>
* Details about the network the content is on.
* Not supported by Google.
* </pre>
*
* <code>optional .com.google.openrtb.BidRequest.Content.Network network = 30;</code>
* @return The network.
*/
com.particles.mes.protos.openrtb.BidRequest.Content.Network getNetwork();
/**
* <pre>
* Details about the channel the content is on.
* Not supported by Google.
* </pre>
*
* <code>optional .com.google.openrtb.BidRequest.Content.Channel channel = 31;</code>
* @return Whether the channel field is set.
*/
boolean hasChannel();
/**
* <pre>
* Details about the channel the content is on.
* Not supported by Google.
* </pre>
*
* <code>optional .com.google.openrtb.BidRequest.Content.Channel channel = 31;</code>
* @return The channel.
*/
com.particles.mes.protos.openrtb.BidRequest.Content.Channel getChannel();
/**
* <pre>
* DEPRECATED in OpenRTB 2.4+. Prefer the field <code>prodq</code>.
* Video quality per IAB's classification.
* Not supported by Google.
* </pre>
*
* <code>optional .com.google.openrtb.ProductionQuality videoquality = 8 [deprecated = true];</code>
* @deprecated com.google.openrtb.BidRequest.Content.videoquality is deprecated.
* See openrtb/openrtb-v26.proto;l=1031
* @return Whether the videoquality field is set.
*/
@java.lang.Deprecated boolean hasVideoquality();
/**
* <pre>
* DEPRECATED in OpenRTB 2.4+. Prefer the field <code>prodq</code>.
* Video quality per IAB's classification.
* Not supported by Google.
* </pre>
*
* <code>optional .com.google.openrtb.ProductionQuality videoquality = 8 [deprecated = true];</code>
* @deprecated com.google.openrtb.BidRequest.Content.videoquality is deprecated.
* See openrtb/openrtb-v26.proto;l=1031
* @return The videoquality.
*/
@java.lang.Deprecated com.particles.mes.protos.openrtb.ProductionQuality getVideoquality();
}
/**
* <pre>
* OpenRTB 2.0: This object describes the content in which the impression
* will appear, which may be syndicated or non-syndicated content.
* This object may be useful when syndicated content contains impressions and
* does not necessarily match the publisher's general content.
* The exchange might or might not have knowledge of the page where the
* content is running, as a result of the syndication method.
* For example might be a video impression embedded in an iframe on an
* unknown web property or device.
* </pre>
*
* Protobuf type {@code com.google.openrtb.BidRequest.Content}
*/
public static final class Content extends
com.google.protobuf.GeneratedMessageLite.ExtendableMessage<
Content, Content.Builder> implements
// @@protoc_insertion_point(message_implements:com.google.openrtb.BidRequest.Content)
ContentOrBuilder {
private Content() {
id_ = "";
title_ = "";
series_ = "";
season_ = "";
artist_ = "";
genre_ = "";
album_ = "";
isrc_ = "";
url_ = "";
cattax_ = 1;
cat_ = com.google.protobuf.GeneratedMessageLite.emptyProtobufList();
context_ = 1;
contentrating_ = "";
userrating_ = "";
qagmediarating_ = 1;
keywords_ = "";
language_ = "";
langb_ = "";
data_ = emptyProtobufList();
}
public interface ProducerOrBuilder extends
// @@protoc_insertion_point(interface_extends:com.google.openrtb.BidRequest.Content.Producer)
com.google.protobuf.GeneratedMessageLite.
ExtendableMessageOrBuilder<
Producer, Producer.Builder> {
/**
* <pre>
* Content producer or originator ID. Useful if content is syndicated,
* and may be posted on a site using embed tags.
* Not supported by Google.
* </pre>
*
* <code>optional string id = 1;</code>
* @return Whether the id field is set.
*/
boolean hasId();
/**
* <pre>
* Content producer or originator ID. Useful if content is syndicated,
* and may be posted on a site using embed tags.
* Not supported by Google.
* </pre>
*
* <code>optional string id = 1;</code>
* @return The id.
*/
java.lang.String getId();
/**
* <pre>
* Content producer or originator ID. Useful if content is syndicated,
* and may be posted on a site using embed tags.
* Not supported by Google.
* </pre>
*
* <code>optional string id = 1;</code>
* @return The bytes for id.
*/
com.google.protobuf.ByteString
getIdBytes();
/**
* <pre>
* Content producer or originator name (for example, "Warner Bros").
* Not supported by Google.
* </pre>
*
* <code>optional string name = 2;</code>
* @return Whether the name field is set.
*/
boolean hasName();
/**
* <pre>
* Content producer or originator name (for example, "Warner Bros").
* Not supported by Google.
* </pre>
*
* <code>optional string name = 2;</code>
* @return The name.
*/
java.lang.String getName();
/**
* <pre>
* Content producer or originator name (for example, "Warner Bros").
* Not supported by Google.
* </pre>
*
* <code>optional string name = 2;</code>
* @return The bytes for name.
*/
com.google.protobuf.ByteString
getNameBytes();
/**
* <pre>
* The taxonomy in use for cat.
* Not supported by Google.
* </pre>
*
* <code>optional .com.google.openrtb.CategoryTaxonomy cattax = 5 [default = IAB_CONTENT_1_0];</code>
* @return Whether the cattax field is set.
*/
boolean hasCattax();
/**
* <pre>
* The taxonomy in use for cat.
* Not supported by Google.
* </pre>
*
* <code>optional .com.google.openrtb.CategoryTaxonomy cattax = 5 [default = IAB_CONTENT_1_0];</code>
* @return The cattax.
*/
com.particles.mes.protos.openrtb.CategoryTaxonomy getCattax();
/**
* <pre>
* Array of IAB content categories that describe the content producer.
* The taxonomy to be used is defined by the cattax field.
* Not supported by Google.
* </pre>
*
* <code>repeated string cat = 3;</code>
* @return A list containing the cat.
*/
java.util.List<java.lang.String>
getCatList();
/**
* <pre>
* Array of IAB content categories that describe the content producer.
* The taxonomy to be used is defined by the cattax field.
* Not supported by Google.
* </pre>
*
* <code>repeated string cat = 3;</code>
* @return The count of cat.
*/
int getCatCount();
/**
* <pre>
* Array of IAB content categories that describe the content producer.
* The taxonomy to be used is defined by the cattax field.
* Not supported by Google.
* </pre>
*
* <code>repeated string cat = 3;</code>
* @param index The index of the element to return.
* @return The cat at the given index.
*/
java.lang.String getCat(int index);
/**
* <pre>
* Array of IAB content categories that describe the content producer.
* The taxonomy to be used is defined by the cattax field.
* Not supported by Google.
* </pre>
*
* <code>repeated string cat = 3;</code>
* @param index The index of the element to return.
* @return The cat at the given index.
*/
com.google.protobuf.ByteString
getCatBytes(int index);
/**
* <pre>
* Highest level domain of the content producer (for example,
* "producer.com").
* Supported by Google.
* </pre>
*
* <code>optional string domain = 4;</code>
* @return Whether the domain field is set.
*/
boolean hasDomain();
/**
* <pre>
* Highest level domain of the content producer (for example,
* "producer.com").
* Supported by Google.
* </pre>
*
* <code>optional string domain = 4;</code>
* @return The domain.
*/
java.lang.String getDomain();
/**
* <pre>
* Highest level domain of the content producer (for example,
* "producer.com").
* Supported by Google.
* </pre>
*
* <code>optional string domain = 4;</code>
* @return The bytes for domain.
*/
com.google.protobuf.ByteString
getDomainBytes();
}
/**
* <pre>
* OpenRTB 2.0: This object defines the producer of the content in which
* the ad will be shown. This is particularly useful when the content is
* syndicated and may be distributed through different publishers and thus
* when the producer and publisher are not necessarily the same entity.
* </pre>
*
* Protobuf type {@code com.google.openrtb.BidRequest.Content.Producer}
*/
public static final class Producer extends
com.google.protobuf.GeneratedMessageLite.ExtendableMessage<
Producer, Producer.Builder> implements
// @@protoc_insertion_point(message_implements:com.google.openrtb.BidRequest.Content.Producer)
ProducerOrBuilder {
private Producer() {
id_ = "";
name_ = "";
cattax_ = 1;
cat_ = com.google.protobuf.GeneratedMessageLite.emptyProtobufList();
domain_ = "";
}
private int bitField0_;
public static final int ID_FIELD_NUMBER = 1;
private java.lang.String id_;
/**
* <pre>
* Content producer or originator ID. Useful if content is syndicated,
* and may be posted on a site using embed tags.
* Not supported by Google.
* </pre>
*
* <code>optional string id = 1;</code>
* @return Whether the id field is set.
*/
@java.lang.Override
public boolean hasId() {
return ((bitField0_ & 0x00000001) != 0);
}
/**
* <pre>
* Content producer or originator ID. Useful if content is syndicated,
* and may be posted on a site using embed tags.
* Not supported by Google.
* </pre>
*
* <code>optional string id = 1;</code>
* @return The id.
*/
@java.lang.Override
public java.lang.String getId() {
return id_;
}
/**
* <pre>
* Content producer or originator ID. Useful if content is syndicated,
* and may be posted on a site using embed tags.
* Not supported by Google.
* </pre>
*
* <code>optional string id = 1;</code>
* @return The bytes for id.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getIdBytes() {
return com.google.protobuf.ByteString.copyFromUtf8(id_);
}
/**
* <pre>
* Content producer or originator ID. Useful if content is syndicated,
* and may be posted on a site using embed tags.
* Not supported by Google.
* </pre>
*
* <code>optional string id = 1;</code>
* @param value The id to set.
*/
private void setId(
java.lang.String value) {
java.lang.Class<?> valueClass = value.getClass();
bitField0_ |= 0x00000001;
id_ = value;
}
/**
* <pre>
* Content producer or originator ID. Useful if content is syndicated,
* and may be posted on a site using embed tags.
* Not supported by Google.
* </pre>
*
* <code>optional string id = 1;</code>
*/
private void clearId() {
bitField0_ = (bitField0_ & ~0x00000001);
id_ = getDefaultInstance().getId();
}
/**
* <pre>
* Content producer or originator ID. Useful if content is syndicated,
* and may be posted on a site using embed tags.
* Not supported by Google.
* </pre>
*
* <code>optional string id = 1;</code>
* @param value The bytes for id to set.
*/
private void setIdBytes(
com.google.protobuf.ByteString value) {
id_ = value.toStringUtf8();
bitField0_ |= 0x00000001;
}
public static final int NAME_FIELD_NUMBER = 2;
private java.lang.String name_;
/**
* <pre>
* Content producer or originator name (for example, "Warner Bros").
* Not supported by Google.
* </pre>
*
* <code>optional string name = 2;</code>
* @return Whether the name field is set.
*/
@java.lang.Override
public boolean hasName() {
return ((bitField0_ & 0x00000002) != 0);
}
/**
* <pre>
* Content producer or originator name (for example, "Warner Bros").
* Not supported by Google.
* </pre>
*
* <code>optional string name = 2;</code>
* @return The name.
*/
@java.lang.Override
public java.lang.String getName() {
return name_;
}
/**
* <pre>
* Content producer or originator name (for example, "Warner Bros").
* Not supported by Google.
* </pre>
*
* <code>optional string name = 2;</code>
* @return The bytes for name.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getNameBytes() {
return com.google.protobuf.ByteString.copyFromUtf8(name_);
}
/**
* <pre>
* Content producer or originator name (for example, "Warner Bros").
* Not supported by Google.
* </pre>
*
* <code>optional string name = 2;</code>
* @param value The name to set.
*/
private void setName(
java.lang.String value) {
java.lang.Class<?> valueClass = value.getClass();
bitField0_ |= 0x00000002;
name_ = value;
}
/**
* <pre>
* Content producer or originator name (for example, "Warner Bros").
* Not supported by Google.
* </pre>
*
* <code>optional string name = 2;</code>
*/
private void clearName() {
bitField0_ = (bitField0_ & ~0x00000002);
name_ = getDefaultInstance().getName();
}
/**
* <pre>
* Content producer or originator name (for example, "Warner Bros").
* Not supported by Google.
* </pre>
*
* <code>optional string name = 2;</code>
* @param value The bytes for name to set.
*/
private void setNameBytes(
com.google.protobuf.ByteString value) {
name_ = value.toStringUtf8();
bitField0_ |= 0x00000002;
}
public static final int CATTAX_FIELD_NUMBER = 5;
private int cattax_;
/**
* <pre>
* The taxonomy in use for cat.
* Not supported by Google.
* </pre>
*
* <code>optional .com.google.openrtb.CategoryTaxonomy cattax = 5 [default = IAB_CONTENT_1_0];</code>
* @return Whether the cattax field is set.
*/
@java.lang.Override
public boolean hasCattax() {
return ((bitField0_ & 0x00000004) != 0);
}
/**
* <pre>
* The taxonomy in use for cat.
* Not supported by Google.
* </pre>
*
* <code>optional .com.google.openrtb.CategoryTaxonomy cattax = 5 [default = IAB_CONTENT_1_0];</code>
* @return The cattax.
*/
@java.lang.Override
public com.particles.mes.protos.openrtb.CategoryTaxonomy getCattax() {
com.particles.mes.protos.openrtb.CategoryTaxonomy result = com.particles.mes.protos.openrtb.CategoryTaxonomy.forNumber(cattax_);
return result == null ? com.particles.mes.protos.openrtb.CategoryTaxonomy.IAB_CONTENT_1_0 : result;
}
/**
* <pre>
* The taxonomy in use for cat.
* Not supported by Google.
* </pre>
*
* <code>optional .com.google.openrtb.CategoryTaxonomy cattax = 5 [default = IAB_CONTENT_1_0];</code>
* @param value The cattax to set.
*/
private void setCattax(com.particles.mes.protos.openrtb.CategoryTaxonomy value) {
cattax_ = value.getNumber();
bitField0_ |= 0x00000004;
}
/**
* <pre>
* The taxonomy in use for cat.
* Not supported by Google.
* </pre>
*
* <code>optional .com.google.openrtb.CategoryTaxonomy cattax = 5 [default = IAB_CONTENT_1_0];</code>
*/
private void clearCattax() {
bitField0_ = (bitField0_ & ~0x00000004);
cattax_ = 1;
}
public static final int CAT_FIELD_NUMBER = 3;
private com.google.protobuf.Internal.ProtobufList<java.lang.String> cat_;
/**
* <pre>
* Array of IAB content categories that describe the content producer.
* The taxonomy to be used is defined by the cattax field.
* Not supported by Google.
* </pre>
*
* <code>repeated string cat = 3;</code>
* @return A list containing the cat.
*/
@java.lang.Override
public java.util.List<java.lang.String> getCatList() {
return cat_;
}
/**
* <pre>
* Array of IAB content categories that describe the content producer.
* The taxonomy to be used is defined by the cattax field.
* Not supported by Google.
* </pre>
*
* <code>repeated string cat = 3;</code>
* @return The count of cat.
*/
@java.lang.Override
public int getCatCount() {
return cat_.size();
}
/**
* <pre>
* Array of IAB content categories that describe the content producer.
* The taxonomy to be used is defined by the cattax field.
* Not supported by Google.
* </pre>
*
* <code>repeated string cat = 3;</code>
* @param index The index of the element to return.
* @return The cat at the given index.
*/
@java.lang.Override
public java.lang.String getCat(int index) {
return cat_.get(index);
}
/**
* <pre>
* Array of IAB content categories that describe the content producer.
* The taxonomy to be used is defined by the cattax field.
* Not supported by Google.
* </pre>
*
* <code>repeated string cat = 3;</code>
* @param index The index of the value to return.
* @return The bytes of the cat at the given index.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getCatBytes(int index) {
return com.google.protobuf.ByteString.copyFromUtf8(
cat_.get(index));
}
private void ensureCatIsMutable() {
com.google.protobuf.Internal.ProtobufList<java.lang.String> tmp =
cat_; if (!tmp.isModifiable()) {
cat_ =
com.google.protobuf.GeneratedMessageLite.mutableCopy(tmp);
}
}
/**
* <pre>
* Array of IAB content categories that describe the content producer.
* The taxonomy to be used is defined by the cattax field.
* Not supported by Google.
* </pre>
*
* <code>repeated string cat = 3;</code>
* @param index The index to set the value at.
* @param value The cat to set.
*/
private void setCat(
int index, java.lang.String value) {
java.lang.Class<?> valueClass = value.getClass();
ensureCatIsMutable();
cat_.set(index, value);
}
/**
* <pre>
* Array of IAB content categories that describe the content producer.
* The taxonomy to be used is defined by the cattax field.
* Not supported by Google.
* </pre>
*
* <code>repeated string cat = 3;</code>
* @param value The cat to add.
*/
private void addCat(
java.lang.String value) {
java.lang.Class<?> valueClass = value.getClass();
ensureCatIsMutable();
cat_.add(value);
}
/**
* <pre>
* Array of IAB content categories that describe the content producer.
* The taxonomy to be used is defined by the cattax field.
* Not supported by Google.
* </pre>
*
* <code>repeated string cat = 3;</code>
* @param values The cat to add.
*/
private void addAllCat(
java.lang.Iterable<java.lang.String> values) {
ensureCatIsMutable();
com.google.protobuf.AbstractMessageLite.addAll(
values, cat_);
}
/**
* <pre>
* Array of IAB content categories that describe the content producer.
* The taxonomy to be used is defined by the cattax field.
* Not supported by Google.
* </pre>
*
* <code>repeated string cat = 3;</code>
*/
private void clearCat() {
cat_ = com.google.protobuf.GeneratedMessageLite.emptyProtobufList();
}
/**
* <pre>
* Array of IAB content categories that describe the content producer.
* The taxonomy to be used is defined by the cattax field.
* Not supported by Google.
* </pre>
*
* <code>repeated string cat = 3;</code>
* @param value The bytes of the cat to add.
*/
private void addCatBytes(
com.google.protobuf.ByteString value) {
ensureCatIsMutable();
cat_.add(value.toStringUtf8());
}
public static final int DOMAIN_FIELD_NUMBER = 4;
private java.lang.String domain_;
/**
* <pre>
* Highest level domain of the content producer (for example,
* "producer.com").
* Supported by Google.
* </pre>
*
* <code>optional string domain = 4;</code>
* @return Whether the domain field is set.
*/
@java.lang.Override
public boolean hasDomain() {
return ((bitField0_ & 0x00000008) != 0);
}
/**
* <pre>
* Highest level domain of the content producer (for example,
* "producer.com").
* Supported by Google.
* </pre>
*
* <code>optional string domain = 4;</code>
* @return The domain.
*/
@java.lang.Override
public java.lang.String getDomain() {
return domain_;
}
/**
* <pre>
* Highest level domain of the content producer (for example,
* "producer.com").
* Supported by Google.
* </pre>
*
* <code>optional string domain = 4;</code>
* @return The bytes for domain.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getDomainBytes() {
return com.google.protobuf.ByteString.copyFromUtf8(domain_);
}
/**
* <pre>
* Highest level domain of the content producer (for example,
* "producer.com").
* Supported by Google.
* </pre>
*
* <code>optional string domain = 4;</code>
* @param value The domain to set.
*/
private void setDomain(
java.lang.String value) {
java.lang.Class<?> valueClass = value.getClass();
bitField0_ |= 0x00000008;
domain_ = value;
}
/**
* <pre>
* Highest level domain of the content producer (for example,
* "producer.com").
* Supported by Google.
* </pre>
*
* <code>optional string domain = 4;</code>
*/
private void clearDomain() {
bitField0_ = (bitField0_ & ~0x00000008);
domain_ = getDefaultInstance().getDomain();
}
/**
* <pre>
* Highest level domain of the content producer (for example,
* "producer.com").
* Supported by Google.
* </pre>
*
* <code>optional string domain = 4;</code>
* @param value The bytes for domain to set.
*/
private void setDomainBytes(
com.google.protobuf.ByteString value) {
domain_ = value.toStringUtf8();
bitField0_ |= 0x00000008;
}
public static com.particles.mes.protos.openrtb.BidRequest.Content.Producer parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, data);
}
public static com.particles.mes.protos.openrtb.BidRequest.Content.Producer parseFrom(
java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, data, extensionRegistry);
}
public static com.particles.mes.protos.openrtb.BidRequest.Content.Producer parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, data);
}
public static com.particles.mes.protos.openrtb.BidRequest.Content.Producer parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, data, extensionRegistry);
}
public static com.particles.mes.protos.openrtb.BidRequest.Content.Producer parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, data);
}
public static com.particles.mes.protos.openrtb.BidRequest.Content.Producer parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, data, extensionRegistry);
}
public static com.particles.mes.protos.openrtb.BidRequest.Content.Producer parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, input);
}
public static com.particles.mes.protos.openrtb.BidRequest.Content.Producer parseFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, input, extensionRegistry);
}
public static com.particles.mes.protos.openrtb.BidRequest.Content.Producer parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return parseDelimitedFrom(DEFAULT_INSTANCE, input);
}
public static com.particles.mes.protos.openrtb.BidRequest.Content.Producer parseDelimitedFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return parseDelimitedFrom(DEFAULT_INSTANCE, input, extensionRegistry);
}
public static com.particles.mes.protos.openrtb.BidRequest.Content.Producer parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, input);
}
public static com.particles.mes.protos.openrtb.BidRequest.Content.Producer parseFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, input, extensionRegistry);
}
public static Builder newBuilder() {
return (Builder) DEFAULT_INSTANCE.createBuilder();
}
public static Builder newBuilder(com.particles.mes.protos.openrtb.BidRequest.Content.Producer prototype) {
return (Builder) DEFAULT_INSTANCE.createBuilder(prototype);
}
/**
* <pre>
* OpenRTB 2.0: This object defines the producer of the content in which
* the ad will be shown. This is particularly useful when the content is
* syndicated and may be distributed through different publishers and thus
* when the producer and publisher are not necessarily the same entity.
* </pre>
*
* Protobuf type {@code com.google.openrtb.BidRequest.Content.Producer}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageLite.ExtendableBuilder<
com.particles.mes.protos.openrtb.BidRequest.Content.Producer, Builder> implements
// @@protoc_insertion_point(builder_implements:com.google.openrtb.BidRequest.Content.Producer)
com.particles.mes.protos.openrtb.BidRequest.Content.ProducerOrBuilder {
// Construct using com.particles.mes.protos.openrtb.BidRequest.Content.Producer.newBuilder()
private Builder() {
super(DEFAULT_INSTANCE);
}
/**
* <pre>
* Content producer or originator ID. Useful if content is syndicated,
* and may be posted on a site using embed tags.
* Not supported by Google.
* </pre>
*
* <code>optional string id = 1;</code>
* @return Whether the id field is set.
*/
@java.lang.Override
public boolean hasId() {
return instance.hasId();
}
/**
* <pre>
* Content producer or originator ID. Useful if content is syndicated,
* and may be posted on a site using embed tags.
* Not supported by Google.
* </pre>
*
* <code>optional string id = 1;</code>
* @return The id.
*/
@java.lang.Override
public java.lang.String getId() {
return instance.getId();
}
/**
* <pre>
* Content producer or originator ID. Useful if content is syndicated,
* and may be posted on a site using embed tags.
* Not supported by Google.
* </pre>
*
* <code>optional string id = 1;</code>
* @return The bytes for id.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getIdBytes() {
return instance.getIdBytes();
}
/**
* <pre>
* Content producer or originator ID. Useful if content is syndicated,
* and may be posted on a site using embed tags.
* Not supported by Google.
* </pre>
*
* <code>optional string id = 1;</code>
* @param value The id to set.
* @return This builder for chaining.
*/
public Builder setId(
java.lang.String value) {
copyOnWrite();
instance.setId(value);
return this;
}
/**
* <pre>
* Content producer or originator ID. Useful if content is syndicated,
* and may be posted on a site using embed tags.
* Not supported by Google.
* </pre>
*
* <code>optional string id = 1;</code>
* @return This builder for chaining.
*/
public Builder clearId() {
copyOnWrite();
instance.clearId();
return this;
}
/**
* <pre>
* Content producer or originator ID. Useful if content is syndicated,
* and may be posted on a site using embed tags.
* Not supported by Google.
* </pre>
*
* <code>optional string id = 1;</code>
* @param value The bytes for id to set.
* @return This builder for chaining.
*/
public Builder setIdBytes(
com.google.protobuf.ByteString value) {
copyOnWrite();
instance.setIdBytes(value);
return this;
}
/**
* <pre>
* Content producer or originator name (for example, "Warner Bros").
* Not supported by Google.
* </pre>
*
* <code>optional string name = 2;</code>
* @return Whether the name field is set.
*/
@java.lang.Override
public boolean hasName() {
return instance.hasName();
}
/**
* <pre>
* Content producer or originator name (for example, "Warner Bros").
* Not supported by Google.
* </pre>
*
* <code>optional string name = 2;</code>
* @return The name.
*/
@java.lang.Override
public java.lang.String getName() {
return instance.getName();
}
/**
* <pre>
* Content producer or originator name (for example, "Warner Bros").
* Not supported by Google.
* </pre>
*
* <code>optional string name = 2;</code>
* @return The bytes for name.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getNameBytes() {
return instance.getNameBytes();
}
/**
* <pre>
* Content producer or originator name (for example, "Warner Bros").
* Not supported by Google.
* </pre>
*
* <code>optional string name = 2;</code>
* @param value The name to set.
* @return This builder for chaining.
*/
public Builder setName(
java.lang.String value) {
copyOnWrite();
instance.setName(value);
return this;
}
/**
* <pre>
* Content producer or originator name (for example, "Warner Bros").
* Not supported by Google.
* </pre>
*
* <code>optional string name = 2;</code>
* @return This builder for chaining.
*/
public Builder clearName() {
copyOnWrite();
instance.clearName();
return this;
}
/**
* <pre>
* Content producer or originator name (for example, "Warner Bros").
* Not supported by Google.
* </pre>
*
* <code>optional string name = 2;</code>
* @param value The bytes for name to set.
* @return This builder for chaining.
*/
public Builder setNameBytes(
com.google.protobuf.ByteString value) {
copyOnWrite();
instance.setNameBytes(value);
return this;
}
/**
* <pre>
* The taxonomy in use for cat.
* Not supported by Google.
* </pre>
*
* <code>optional .com.google.openrtb.CategoryTaxonomy cattax = 5 [default = IAB_CONTENT_1_0];</code>
* @return Whether the cattax field is set.
*/
@java.lang.Override
public boolean hasCattax() {
return instance.hasCattax();
}
/**
* <pre>
* The taxonomy in use for cat.
* Not supported by Google.
* </pre>
*
* <code>optional .com.google.openrtb.CategoryTaxonomy cattax = 5 [default = IAB_CONTENT_1_0];</code>
* @return The cattax.
*/
@java.lang.Override
public com.particles.mes.protos.openrtb.CategoryTaxonomy getCattax() {
return instance.getCattax();
}
/**
* <pre>
* The taxonomy in use for cat.
* Not supported by Google.
* </pre>
*
* <code>optional .com.google.openrtb.CategoryTaxonomy cattax = 5 [default = IAB_CONTENT_1_0];</code>
* @param value The enum numeric value on the wire for cattax to set.
* @return This builder for chaining.
*/
public Builder setCattax(com.particles.mes.protos.openrtb.CategoryTaxonomy value) {
copyOnWrite();
instance.setCattax(value);
return this;
}
/**
* <pre>
* The taxonomy in use for cat.
* Not supported by Google.
* </pre>
*
* <code>optional .com.google.openrtb.CategoryTaxonomy cattax = 5 [default = IAB_CONTENT_1_0];</code>
* @return This builder for chaining.
*/
public Builder clearCattax() {
copyOnWrite();
instance.clearCattax();
return this;
}
/**
* <pre>
* Array of IAB content categories that describe the content producer.
* The taxonomy to be used is defined by the cattax field.
* Not supported by Google.
* </pre>
*
* <code>repeated string cat = 3;</code>
* @return A list containing the cat.
*/
@java.lang.Override
public java.util.List<java.lang.String>
getCatList() {
return java.util.Collections.unmodifiableList(
instance.getCatList());
}
/**
* <pre>
* Array of IAB content categories that describe the content producer.
* The taxonomy to be used is defined by the cattax field.
* Not supported by Google.
* </pre>
*
* <code>repeated string cat = 3;</code>
* @return The count of cat.
*/
@java.lang.Override
public int getCatCount() {
return instance.getCatCount();
}
/**
* <pre>
* Array of IAB content categories that describe the content producer.
* The taxonomy to be used is defined by the cattax field.
* Not supported by Google.
* </pre>
*
* <code>repeated string cat = 3;</code>
* @param index The index of the element to return.
* @return The cat at the given index.
*/
@java.lang.Override
public java.lang.String getCat(int index) {
return instance.getCat(index);
}
/**
* <pre>
* Array of IAB content categories that describe the content producer.
* The taxonomy to be used is defined by the cattax field.
* Not supported by Google.
* </pre>
*
* <code>repeated string cat = 3;</code>
* @param index The index of the value to return.
* @return The bytes of the cat at the given index.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getCatBytes(int index) {
return instance.getCatBytes(index);
}
/**
* <pre>
* Array of IAB content categories that describe the content producer.
* The taxonomy to be used is defined by the cattax field.
* Not supported by Google.
* </pre>
*
* <code>repeated string cat = 3;</code>
* @param index The index to set the value at.
* @param value The cat to set.
* @return This builder for chaining.
*/
public Builder setCat(
int index, java.lang.String value) {
copyOnWrite();
instance.setCat(index, value);
return this;
}
/**
* <pre>
* Array of IAB content categories that describe the content producer.
* The taxonomy to be used is defined by the cattax field.
* Not supported by Google.
* </pre>
*
* <code>repeated string cat = 3;</code>
* @param value The cat to add.
* @return This builder for chaining.
*/
public Builder addCat(
java.lang.String value) {
copyOnWrite();
instance.addCat(value);
return this;
}
/**
* <pre>
* Array of IAB content categories that describe the content producer.
* The taxonomy to be used is defined by the cattax field.
* Not supported by Google.
* </pre>
*
* <code>repeated string cat = 3;</code>
* @param values The cat to add.
* @return This builder for chaining.
*/
public Builder addAllCat(
java.lang.Iterable<java.lang.String> values) {
copyOnWrite();
instance.addAllCat(values);
return this;
}
/**
* <pre>
* Array of IAB content categories that describe the content producer.
* The taxonomy to be used is defined by the cattax field.
* Not supported by Google.
* </pre>
*
* <code>repeated string cat = 3;</code>
* @return This builder for chaining.
*/
public Builder clearCat() {
copyOnWrite();
instance.clearCat();
return this;
}
/**
* <pre>
* Array of IAB content categories that describe the content producer.
* The taxonomy to be used is defined by the cattax field.
* Not supported by Google.
* </pre>
*
* <code>repeated string cat = 3;</code>
* @param value The bytes of the cat to add.
* @return This builder for chaining.
*/
public Builder addCatBytes(
com.google.protobuf.ByteString value) {
copyOnWrite();
instance.addCatBytes(value);
return this;
}
/**
* <pre>
* Highest level domain of the content producer (for example,
* "producer.com").
* Supported by Google.
* </pre>
*
* <code>optional string domain = 4;</code>
* @return Whether the domain field is set.
*/
@java.lang.Override
public boolean hasDomain() {
return instance.hasDomain();
}
/**
* <pre>
* Highest level domain of the content producer (for example,
* "producer.com").
* Supported by Google.
* </pre>
*
* <code>optional string domain = 4;</code>
* @return The domain.
*/
@java.lang.Override
public java.lang.String getDomain() {
return instance.getDomain();
}
/**
* <pre>
* Highest level domain of the content producer (for example,
* "producer.com").
* Supported by Google.
* </pre>
*
* <code>optional string domain = 4;</code>
* @return The bytes for domain.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getDomainBytes() {
return instance.getDomainBytes();
}
/**
* <pre>
* Highest level domain of the content producer (for example,
* "producer.com").
* Supported by Google.
* </pre>
*
* <code>optional string domain = 4;</code>
* @param value The domain to set.
* @return This builder for chaining.
*/
public Builder setDomain(
java.lang.String value) {
copyOnWrite();
instance.setDomain(value);
return this;
}
/**
* <pre>
* Highest level domain of the content producer (for example,
* "producer.com").
* Supported by Google.
* </pre>
*
* <code>optional string domain = 4;</code>
* @return This builder for chaining.
*/
public Builder clearDomain() {
copyOnWrite();
instance.clearDomain();
return this;
}
/**
* <pre>
* Highest level domain of the content producer (for example,
* "producer.com").
* Supported by Google.
* </pre>
*
* <code>optional string domain = 4;</code>
* @param value The bytes for domain to set.
* @return This builder for chaining.
*/
public Builder setDomainBytes(
com.google.protobuf.ByteString value) {
copyOnWrite();
instance.setDomainBytes(value);
return this;
}
// @@protoc_insertion_point(builder_scope:com.google.openrtb.BidRequest.Content.Producer)
}
private byte memoizedIsInitialized = 2;
@java.lang.Override
@java.lang.SuppressWarnings({"unchecked", "fallthrough"})
protected final java.lang.Object dynamicMethod(
com.google.protobuf.GeneratedMessageLite.MethodToInvoke method,
java.lang.Object arg0, java.lang.Object arg1) {
switch (method) {
case NEW_MUTABLE_INSTANCE: {
return new com.particles.mes.protos.openrtb.BidRequest.Content.Producer();
}
case NEW_BUILDER: {
return new Builder();
}
case BUILD_MESSAGE_INFO: {
java.lang.Object[] objects = new java.lang.Object[] {
"bitField0_",
"id_",
"name_",
"cat_",
"domain_",
"cattax_",
com.particles.mes.protos.openrtb.CategoryTaxonomy.internalGetVerifier(),
};
java.lang.String info =
"\u0001\u0005\u0000\u0001\u0001\u0005\u0005\u0000\u0001\u0000\u0001\u1008\u0000\u0002" +
"\u1008\u0001\u0003\u001a\u0004\u1008\u0003\u0005\u100c\u0002";
return newMessageInfo(DEFAULT_INSTANCE, info, objects);
}
// fall through
case GET_DEFAULT_INSTANCE: {
return DEFAULT_INSTANCE;
}
case GET_PARSER: {
com.google.protobuf.Parser<com.particles.mes.protos.openrtb.BidRequest.Content.Producer> parser = PARSER;
if (parser == null) {
synchronized (com.particles.mes.protos.openrtb.BidRequest.Content.Producer.class) {
parser = PARSER;
if (parser == null) {
parser =
new DefaultInstanceBasedParser<com.particles.mes.protos.openrtb.BidRequest.Content.Producer>(
DEFAULT_INSTANCE);
PARSER = parser;
}
}
}
return parser;
}
case GET_MEMOIZED_IS_INITIALIZED: {
return memoizedIsInitialized;
}
case SET_MEMOIZED_IS_INITIALIZED: {
memoizedIsInitialized = (byte) (arg0 == null ? 0 : 1);
return null;
}
}
throw new UnsupportedOperationException();
}
// @@protoc_insertion_point(class_scope:com.google.openrtb.BidRequest.Content.Producer)
private static final com.particles.mes.protos.openrtb.BidRequest.Content.Producer DEFAULT_INSTANCE;
static {
Producer defaultInstance = new Producer();
// New instances are implicitly immutable so no need to make
// immutable.
DEFAULT_INSTANCE = defaultInstance;
com.google.protobuf.GeneratedMessageLite.registerDefaultInstance(
Producer.class, defaultInstance);
}
public static com.particles.mes.protos.openrtb.BidRequest.Content.Producer getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static volatile com.google.protobuf.Parser<Producer> PARSER;
public static com.google.protobuf.Parser<Producer> parser() {
return DEFAULT_INSTANCE.getParserForType();
}
}
public interface NetworkOrBuilder extends
// @@protoc_insertion_point(interface_extends:com.google.openrtb.BidRequest.Content.Network)
com.google.protobuf.GeneratedMessageLite.
ExtendableMessageOrBuilder<
Network, Network.Builder> {
/**
* <pre>
* A unique identifier assigned by the publisher, for example "net-123".
* This may not be a unique identifier across all supply sources.
* Not supported by Google.
* </pre>
*
* <code>optional string id = 1;</code>
* @return Whether the id field is set.
*/
boolean hasId();
/**
* <pre>
* A unique identifier assigned by the publisher, for example "net-123".
* This may not be a unique identifier across all supply sources.
* Not supported by Google.
* </pre>
*
* <code>optional string id = 1;</code>
* @return The id.
*/
java.lang.String getId();
/**
* <pre>
* A unique identifier assigned by the publisher, for example "net-123".
* This may not be a unique identifier across all supply sources.
* Not supported by Google.
* </pre>
*
* <code>optional string id = 1;</code>
* @return The bytes for id.
*/
com.google.protobuf.ByteString
getIdBytes();
/**
* <pre>
* Network the content is on (e.g., a TV network like "ABC").
* Not supported by Google.
* </pre>
*
* <code>optional string name = 2;</code>
* @return Whether the name field is set.
*/
boolean hasName();
/**
* <pre>
* Network the content is on (e.g., a TV network like "ABC").
* Not supported by Google.
* </pre>
*
* <code>optional string name = 2;</code>
* @return The name.
*/
java.lang.String getName();
/**
* <pre>
* Network the content is on (e.g., a TV network like "ABC").
* Not supported by Google.
* </pre>
*
* <code>optional string name = 2;</code>
* @return The bytes for name.
*/
com.google.protobuf.ByteString
getNameBytes();
/**
* <pre>
* The primary domain of the network (e.g. "abc.com" in the case
* of the network ABC). It is recommended to include the top
* private domain (PSL+1) for DSP targeting normalization purposes.
* Not supported by Google.
* </pre>
*
* <code>optional string domain = 3;</code>
* @return Whether the domain field is set.
*/
boolean hasDomain();
/**
* <pre>
* The primary domain of the network (e.g. "abc.com" in the case
* of the network ABC). It is recommended to include the top
* private domain (PSL+1) for DSP targeting normalization purposes.
* Not supported by Google.
* </pre>
*
* <code>optional string domain = 3;</code>
* @return The domain.
*/
java.lang.String getDomain();
/**
* <pre>
* The primary domain of the network (e.g. "abc.com" in the case
* of the network ABC). It is recommended to include the top
* private domain (PSL+1) for DSP targeting normalization purposes.
* Not supported by Google.
* </pre>
*
* <code>optional string domain = 3;</code>
* @return The bytes for domain.
*/
com.google.protobuf.ByteString
getDomainBytes();
}
/**
* <pre>
* This object describes the network an ad will be displayed on.
* A Network is defined as the parent entity of the Channel object's entity
* for the purposes of organizing Channels. Examples are companies that own
* and/or license a collection of content channels (Viacom, Discovery, CBS,
* WarnerMedia, Turner and others), or studio that creates such content and
* self-distributes content. Name is a human-readable field while domain and
* id can be used for reporting and targeting purposes.
* </pre>
*
* Protobuf type {@code com.google.openrtb.BidRequest.Content.Network}
*/
public static final class Network extends
com.google.protobuf.GeneratedMessageLite.ExtendableMessage<
Network, Network.Builder> implements
// @@protoc_insertion_point(message_implements:com.google.openrtb.BidRequest.Content.Network)
NetworkOrBuilder {
private Network() {
id_ = "";
name_ = "";
domain_ = "";
}
private int bitField0_;
public static final int ID_FIELD_NUMBER = 1;
private java.lang.String id_;
/**
* <pre>
* A unique identifier assigned by the publisher, for example "net-123".
* This may not be a unique identifier across all supply sources.
* Not supported by Google.
* </pre>
*
* <code>optional string id = 1;</code>
* @return Whether the id field is set.
*/
@java.lang.Override
public boolean hasId() {
return ((bitField0_ & 0x00000001) != 0);
}
/**
* <pre>
* A unique identifier assigned by the publisher, for example "net-123".
* This may not be a unique identifier across all supply sources.
* Not supported by Google.
* </pre>
*
* <code>optional string id = 1;</code>
* @return The id.
*/
@java.lang.Override
public java.lang.String getId() {
return id_;
}
/**
* <pre>
* A unique identifier assigned by the publisher, for example "net-123".
* This may not be a unique identifier across all supply sources.
* Not supported by Google.
* </pre>
*
* <code>optional string id = 1;</code>
* @return The bytes for id.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getIdBytes() {
return com.google.protobuf.ByteString.copyFromUtf8(id_);
}
/**
* <pre>
* A unique identifier assigned by the publisher, for example "net-123".
* This may not be a unique identifier across all supply sources.
* Not supported by Google.
* </pre>
*
* <code>optional string id = 1;</code>
* @param value The id to set.
*/
private void setId(
java.lang.String value) {
java.lang.Class<?> valueClass = value.getClass();
bitField0_ |= 0x00000001;
id_ = value;
}
/**
* <pre>
* A unique identifier assigned by the publisher, for example "net-123".
* This may not be a unique identifier across all supply sources.
* Not supported by Google.
* </pre>
*
* <code>optional string id = 1;</code>
*/
private void clearId() {
bitField0_ = (bitField0_ & ~0x00000001);
id_ = getDefaultInstance().getId();
}
/**
* <pre>
* A unique identifier assigned by the publisher, for example "net-123".
* This may not be a unique identifier across all supply sources.
* Not supported by Google.
* </pre>
*
* <code>optional string id = 1;</code>
* @param value The bytes for id to set.
*/
private void setIdBytes(
com.google.protobuf.ByteString value) {
id_ = value.toStringUtf8();
bitField0_ |= 0x00000001;
}
public static final int NAME_FIELD_NUMBER = 2;
private java.lang.String name_;
/**
* <pre>
* Network the content is on (e.g., a TV network like "ABC").
* Not supported by Google.
* </pre>
*
* <code>optional string name = 2;</code>
* @return Whether the name field is set.
*/
@java.lang.Override
public boolean hasName() {
return ((bitField0_ & 0x00000002) != 0);
}
/**
* <pre>
* Network the content is on (e.g., a TV network like "ABC").
* Not supported by Google.
* </pre>
*
* <code>optional string name = 2;</code>
* @return The name.
*/
@java.lang.Override
public java.lang.String getName() {
return name_;
}
/**
* <pre>
* Network the content is on (e.g., a TV network like "ABC").
* Not supported by Google.
* </pre>
*
* <code>optional string name = 2;</code>
* @return The bytes for name.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getNameBytes() {
return com.google.protobuf.ByteString.copyFromUtf8(name_);
}
/**
* <pre>
* Network the content is on (e.g., a TV network like "ABC").
* Not supported by Google.
* </pre>
*
* <code>optional string name = 2;</code>
* @param value The name to set.
*/
private void setName(
java.lang.String value) {
java.lang.Class<?> valueClass = value.getClass();
bitField0_ |= 0x00000002;
name_ = value;
}
/**
* <pre>
* Network the content is on (e.g., a TV network like "ABC").
* Not supported by Google.
* </pre>
*
* <code>optional string name = 2;</code>
*/
private void clearName() {
bitField0_ = (bitField0_ & ~0x00000002);
name_ = getDefaultInstance().getName();
}
/**
* <pre>
* Network the content is on (e.g., a TV network like "ABC").
* Not supported by Google.
* </pre>
*
* <code>optional string name = 2;</code>
* @param value The bytes for name to set.
*/
private void setNameBytes(
com.google.protobuf.ByteString value) {
name_ = value.toStringUtf8();
bitField0_ |= 0x00000002;
}
public static final int DOMAIN_FIELD_NUMBER = 3;
private java.lang.String domain_;
/**
* <pre>
* The primary domain of the network (e.g. "abc.com" in the case
* of the network ABC). It is recommended to include the top
* private domain (PSL+1) for DSP targeting normalization purposes.
* Not supported by Google.
* </pre>
*
* <code>optional string domain = 3;</code>
* @return Whether the domain field is set.
*/
@java.lang.Override
public boolean hasDomain() {
return ((bitField0_ & 0x00000004) != 0);
}
/**
* <pre>
* The primary domain of the network (e.g. "abc.com" in the case
* of the network ABC). It is recommended to include the top
* private domain (PSL+1) for DSP targeting normalization purposes.
* Not supported by Google.
* </pre>
*
* <code>optional string domain = 3;</code>
* @return The domain.
*/
@java.lang.Override
public java.lang.String getDomain() {
return domain_;
}
/**
* <pre>
* The primary domain of the network (e.g. "abc.com" in the case
* of the network ABC). It is recommended to include the top
* private domain (PSL+1) for DSP targeting normalization purposes.
* Not supported by Google.
* </pre>
*
* <code>optional string domain = 3;</code>
* @return The bytes for domain.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getDomainBytes() {
return com.google.protobuf.ByteString.copyFromUtf8(domain_);
}
/**
* <pre>
* The primary domain of the network (e.g. "abc.com" in the case
* of the network ABC). It is recommended to include the top
* private domain (PSL+1) for DSP targeting normalization purposes.
* Not supported by Google.
* </pre>
*
* <code>optional string domain = 3;</code>
* @param value The domain to set.
*/
private void setDomain(
java.lang.String value) {
java.lang.Class<?> valueClass = value.getClass();
bitField0_ |= 0x00000004;
domain_ = value;
}
/**
* <pre>
* The primary domain of the network (e.g. "abc.com" in the case
* of the network ABC). It is recommended to include the top
* private domain (PSL+1) for DSP targeting normalization purposes.
* Not supported by Google.
* </pre>
*
* <code>optional string domain = 3;</code>
*/
private void clearDomain() {
bitField0_ = (bitField0_ & ~0x00000004);
domain_ = getDefaultInstance().getDomain();
}
/**
* <pre>
* The primary domain of the network (e.g. "abc.com" in the case
* of the network ABC). It is recommended to include the top
* private domain (PSL+1) for DSP targeting normalization purposes.
* Not supported by Google.
* </pre>
*
* <code>optional string domain = 3;</code>
* @param value The bytes for domain to set.
*/
private void setDomainBytes(
com.google.protobuf.ByteString value) {
domain_ = value.toStringUtf8();
bitField0_ |= 0x00000004;
}
public static com.particles.mes.protos.openrtb.BidRequest.Content.Network parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, data);
}
public static com.particles.mes.protos.openrtb.BidRequest.Content.Network parseFrom(
java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, data, extensionRegistry);
}
public static com.particles.mes.protos.openrtb.BidRequest.Content.Network parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, data);
}
public static com.particles.mes.protos.openrtb.BidRequest.Content.Network parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, data, extensionRegistry);
}
public static com.particles.mes.protos.openrtb.BidRequest.Content.Network parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, data);
}
public static com.particles.mes.protos.openrtb.BidRequest.Content.Network parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, data, extensionRegistry);
}
public static com.particles.mes.protos.openrtb.BidRequest.Content.Network parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, input);
}
public static com.particles.mes.protos.openrtb.BidRequest.Content.Network parseFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, input, extensionRegistry);
}
public static com.particles.mes.protos.openrtb.BidRequest.Content.Network parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return parseDelimitedFrom(DEFAULT_INSTANCE, input);
}
public static com.particles.mes.protos.openrtb.BidRequest.Content.Network parseDelimitedFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return parseDelimitedFrom(DEFAULT_INSTANCE, input, extensionRegistry);
}
public static com.particles.mes.protos.openrtb.BidRequest.Content.Network parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, input);
}
public static com.particles.mes.protos.openrtb.BidRequest.Content.Network parseFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, input, extensionRegistry);
}
public static Builder newBuilder() {
return (Builder) DEFAULT_INSTANCE.createBuilder();
}
public static Builder newBuilder(com.particles.mes.protos.openrtb.BidRequest.Content.Network prototype) {
return (Builder) DEFAULT_INSTANCE.createBuilder(prototype);
}
/**
* <pre>
* This object describes the network an ad will be displayed on.
* A Network is defined as the parent entity of the Channel object's entity
* for the purposes of organizing Channels. Examples are companies that own
* and/or license a collection of content channels (Viacom, Discovery, CBS,
* WarnerMedia, Turner and others), or studio that creates such content and
* self-distributes content. Name is a human-readable field while domain and
* id can be used for reporting and targeting purposes.
* </pre>
*
* Protobuf type {@code com.google.openrtb.BidRequest.Content.Network}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageLite.ExtendableBuilder<
com.particles.mes.protos.openrtb.BidRequest.Content.Network, Builder> implements
// @@protoc_insertion_point(builder_implements:com.google.openrtb.BidRequest.Content.Network)
com.particles.mes.protos.openrtb.BidRequest.Content.NetworkOrBuilder {
// Construct using com.particles.mes.protos.openrtb.BidRequest.Content.Network.newBuilder()
private Builder() {
super(DEFAULT_INSTANCE);
}
/**
* <pre>
* A unique identifier assigned by the publisher, for example "net-123".
* This may not be a unique identifier across all supply sources.
* Not supported by Google.
* </pre>
*
* <code>optional string id = 1;</code>
* @return Whether the id field is set.
*/
@java.lang.Override
public boolean hasId() {
return instance.hasId();
}
/**
* <pre>
* A unique identifier assigned by the publisher, for example "net-123".
* This may not be a unique identifier across all supply sources.
* Not supported by Google.
* </pre>
*
* <code>optional string id = 1;</code>
* @return The id.
*/
@java.lang.Override
public java.lang.String getId() {
return instance.getId();
}
/**
* <pre>
* A unique identifier assigned by the publisher, for example "net-123".
* This may not be a unique identifier across all supply sources.
* Not supported by Google.
* </pre>
*
* <code>optional string id = 1;</code>
* @return The bytes for id.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getIdBytes() {
return instance.getIdBytes();
}
/**
* <pre>
* A unique identifier assigned by the publisher, for example "net-123".
* This may not be a unique identifier across all supply sources.
* Not supported by Google.
* </pre>
*
* <code>optional string id = 1;</code>
* @param value The id to set.
* @return This builder for chaining.
*/
public Builder setId(
java.lang.String value) {
copyOnWrite();
instance.setId(value);
return this;
}
/**
* <pre>
* A unique identifier assigned by the publisher, for example "net-123".
* This may not be a unique identifier across all supply sources.
* Not supported by Google.
* </pre>
*
* <code>optional string id = 1;</code>
* @return This builder for chaining.
*/
public Builder clearId() {
copyOnWrite();
instance.clearId();
return this;
}
/**
* <pre>
* A unique identifier assigned by the publisher, for example "net-123".
* This may not be a unique identifier across all supply sources.
* Not supported by Google.
* </pre>
*
* <code>optional string id = 1;</code>
* @param value The bytes for id to set.
* @return This builder for chaining.
*/
public Builder setIdBytes(
com.google.protobuf.ByteString value) {
copyOnWrite();
instance.setIdBytes(value);
return this;
}
/**
* <pre>
* Network the content is on (e.g., a TV network like "ABC").
* Not supported by Google.
* </pre>
*
* <code>optional string name = 2;</code>
* @return Whether the name field is set.
*/
@java.lang.Override
public boolean hasName() {
return instance.hasName();
}
/**
* <pre>
* Network the content is on (e.g., a TV network like "ABC").
* Not supported by Google.
* </pre>
*
* <code>optional string name = 2;</code>
* @return The name.
*/
@java.lang.Override
public java.lang.String getName() {
return instance.getName();
}
/**
* <pre>
* Network the content is on (e.g., a TV network like "ABC").
* Not supported by Google.
* </pre>
*
* <code>optional string name = 2;</code>
* @return The bytes for name.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getNameBytes() {
return instance.getNameBytes();
}
/**
* <pre>
* Network the content is on (e.g., a TV network like "ABC").
* Not supported by Google.
* </pre>
*
* <code>optional string name = 2;</code>
* @param value The name to set.
* @return This builder for chaining.
*/
public Builder setName(
java.lang.String value) {
copyOnWrite();
instance.setName(value);
return this;
}
/**
* <pre>
* Network the content is on (e.g., a TV network like "ABC").
* Not supported by Google.
* </pre>
*
* <code>optional string name = 2;</code>
* @return This builder for chaining.
*/
public Builder clearName() {
copyOnWrite();
instance.clearName();
return this;
}
/**
* <pre>
* Network the content is on (e.g., a TV network like "ABC").
* Not supported by Google.
* </pre>
*
* <code>optional string name = 2;</code>
* @param value The bytes for name to set.
* @return This builder for chaining.
*/
public Builder setNameBytes(
com.google.protobuf.ByteString value) {
copyOnWrite();
instance.setNameBytes(value);
return this;
}
/**
* <pre>
* The primary domain of the network (e.g. "abc.com" in the case
* of the network ABC). It is recommended to include the top
* private domain (PSL+1) for DSP targeting normalization purposes.
* Not supported by Google.
* </pre>
*
* <code>optional string domain = 3;</code>
* @return Whether the domain field is set.
*/
@java.lang.Override
public boolean hasDomain() {
return instance.hasDomain();
}
/**
* <pre>
* The primary domain of the network (e.g. "abc.com" in the case
* of the network ABC). It is recommended to include the top
* private domain (PSL+1) for DSP targeting normalization purposes.
* Not supported by Google.
* </pre>
*
* <code>optional string domain = 3;</code>
* @return The domain.
*/
@java.lang.Override
public java.lang.String getDomain() {
return instance.getDomain();
}
/**
* <pre>
* The primary domain of the network (e.g. "abc.com" in the case
* of the network ABC). It is recommended to include the top
* private domain (PSL+1) for DSP targeting normalization purposes.
* Not supported by Google.
* </pre>
*
* <code>optional string domain = 3;</code>
* @return The bytes for domain.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getDomainBytes() {
return instance.getDomainBytes();
}
/**
* <pre>
* The primary domain of the network (e.g. "abc.com" in the case
* of the network ABC). It is recommended to include the top
* private domain (PSL+1) for DSP targeting normalization purposes.
* Not supported by Google.
* </pre>
*
* <code>optional string domain = 3;</code>
* @param value The domain to set.
* @return This builder for chaining.
*/
public Builder setDomain(
java.lang.String value) {
copyOnWrite();
instance.setDomain(value);
return this;
}
/**
* <pre>
* The primary domain of the network (e.g. "abc.com" in the case
* of the network ABC). It is recommended to include the top
* private domain (PSL+1) for DSP targeting normalization purposes.
* Not supported by Google.
* </pre>
*
* <code>optional string domain = 3;</code>
* @return This builder for chaining.
*/
public Builder clearDomain() {
copyOnWrite();
instance.clearDomain();
return this;
}
/**
* <pre>
* The primary domain of the network (e.g. "abc.com" in the case
* of the network ABC). It is recommended to include the top
* private domain (PSL+1) for DSP targeting normalization purposes.
* Not supported by Google.
* </pre>
*
* <code>optional string domain = 3;</code>
* @param value The bytes for domain to set.
* @return This builder for chaining.
*/
public Builder setDomainBytes(
com.google.protobuf.ByteString value) {
copyOnWrite();
instance.setDomainBytes(value);
return this;
}
// @@protoc_insertion_point(builder_scope:com.google.openrtb.BidRequest.Content.Network)
}
private byte memoizedIsInitialized = 2;
@java.lang.Override
@java.lang.SuppressWarnings({"unchecked", "fallthrough"})
protected final java.lang.Object dynamicMethod(
com.google.protobuf.GeneratedMessageLite.MethodToInvoke method,
java.lang.Object arg0, java.lang.Object arg1) {
switch (method) {
case NEW_MUTABLE_INSTANCE: {
return new com.particles.mes.protos.openrtb.BidRequest.Content.Network();
}
case NEW_BUILDER: {
return new Builder();
}
case BUILD_MESSAGE_INFO: {
java.lang.Object[] objects = new java.lang.Object[] {
"bitField0_",
"id_",
"name_",
"domain_",
};
java.lang.String info =
"\u0001\u0003\u0000\u0001\u0001\u0003\u0003\u0000\u0000\u0000\u0001\u1008\u0000\u0002" +
"\u1008\u0001\u0003\u1008\u0002";
return newMessageInfo(DEFAULT_INSTANCE, info, objects);
}
// fall through
case GET_DEFAULT_INSTANCE: {
return DEFAULT_INSTANCE;
}
case GET_PARSER: {
com.google.protobuf.Parser<com.particles.mes.protos.openrtb.BidRequest.Content.Network> parser = PARSER;
if (parser == null) {
synchronized (com.particles.mes.protos.openrtb.BidRequest.Content.Network.class) {
parser = PARSER;
if (parser == null) {
parser =
new DefaultInstanceBasedParser<com.particles.mes.protos.openrtb.BidRequest.Content.Network>(
DEFAULT_INSTANCE);
PARSER = parser;
}
}
}
return parser;
}
case GET_MEMOIZED_IS_INITIALIZED: {
return memoizedIsInitialized;
}
case SET_MEMOIZED_IS_INITIALIZED: {
memoizedIsInitialized = (byte) (arg0 == null ? 0 : 1);
return null;
}
}
throw new UnsupportedOperationException();
}
// @@protoc_insertion_point(class_scope:com.google.openrtb.BidRequest.Content.Network)
private static final com.particles.mes.protos.openrtb.BidRequest.Content.Network DEFAULT_INSTANCE;
static {
Network defaultInstance = new Network();
// New instances are implicitly immutable so no need to make
// immutable.
DEFAULT_INSTANCE = defaultInstance;
com.google.protobuf.GeneratedMessageLite.registerDefaultInstance(
Network.class, defaultInstance);
}
public static com.particles.mes.protos.openrtb.BidRequest.Content.Network getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static volatile com.google.protobuf.Parser<Network> PARSER;
public static com.google.protobuf.Parser<Network> parser() {
return DEFAULT_INSTANCE.getParserForType();
}
}
public interface ChannelOrBuilder extends
// @@protoc_insertion_point(interface_extends:com.google.openrtb.BidRequest.Content.Channel)
com.google.protobuf.GeneratedMessageLite.
ExtendableMessageOrBuilder<
Channel, Channel.Builder> {
/**
* <pre>
* A unique identifier assigned by the publisher, for example "ch-456".
* This may not be a unique identifier across all supply sources.
* Not supported by Google.
* </pre>
*
* <code>optional string id = 1;</code>
* @return Whether the id field is set.
*/
boolean hasId();
/**
* <pre>
* A unique identifier assigned by the publisher, for example "ch-456".
* This may not be a unique identifier across all supply sources.
* Not supported by Google.
* </pre>
*
* <code>optional string id = 1;</code>
* @return The id.
*/
java.lang.String getId();
/**
* <pre>
* A unique identifier assigned by the publisher, for example "ch-456".
* This may not be a unique identifier across all supply sources.
* Not supported by Google.
* </pre>
*
* <code>optional string id = 1;</code>
* @return The bytes for id.
*/
com.google.protobuf.ByteString
getIdBytes();
/**
* <pre>
* Channel the content is on (e.g., a local channel like "WABC-TV").
* Not supported by Google.
* </pre>
*
* <code>optional string name = 2;</code>
* @return Whether the name field is set.
*/
boolean hasName();
/**
* <pre>
* Channel the content is on (e.g., a local channel like "WABC-TV").
* Not supported by Google.
* </pre>
*
* <code>optional string name = 2;</code>
* @return The name.
*/
java.lang.String getName();
/**
* <pre>
* Channel the content is on (e.g., a local channel like "WABC-TV").
* Not supported by Google.
* </pre>
*
* <code>optional string name = 2;</code>
* @return The bytes for name.
*/
com.google.protobuf.ByteString
getNameBytes();
/**
* <pre>
* The primary domain of the channel (e.g. "abc7ny.com" in the
* case of the local channel WABC-TV). It is recommended to
* include the top private domain (PSL+1) for DSP targeting
* normalization purposes.
* Not supported by Google.
* </pre>
*
* <code>optional string domain = 3;</code>
* @return Whether the domain field is set.
*/
boolean hasDomain();
/**
* <pre>
* The primary domain of the channel (e.g. "abc7ny.com" in the
* case of the local channel WABC-TV). It is recommended to
* include the top private domain (PSL+1) for DSP targeting
* normalization purposes.
* Not supported by Google.
* </pre>
*
* <code>optional string domain = 3;</code>
* @return The domain.
*/
java.lang.String getDomain();
/**
* <pre>
* The primary domain of the channel (e.g. "abc7ny.com" in the
* case of the local channel WABC-TV). It is recommended to
* include the top private domain (PSL+1) for DSP targeting
* normalization purposes.
* Not supported by Google.
* </pre>
*
* <code>optional string domain = 3;</code>
* @return The bytes for domain.
*/
com.google.protobuf.ByteString
getDomainBytes();
}
/**
* <pre>
* This object describes the channel an ad will be displayed on.
* A Channel is defined as the entity that curates a content library,
* or stream within a brand name for viewers. Examples are specific view
* selectable 'channels' within linear and streaming television
* (MTV, HGTV, CNN, BBC One, etc) or a specific stream of audio content
* commonly called 'stations.' Name is a human-readable field while domain
* and id can be used for reporting and targeting purposes.
* </pre>
*
* Protobuf type {@code com.google.openrtb.BidRequest.Content.Channel}
*/
public static final class Channel extends
com.google.protobuf.GeneratedMessageLite.ExtendableMessage<
Channel, Channel.Builder> implements
// @@protoc_insertion_point(message_implements:com.google.openrtb.BidRequest.Content.Channel)
ChannelOrBuilder {
private Channel() {
id_ = "";
name_ = "";
domain_ = "";
}
private int bitField0_;
public static final int ID_FIELD_NUMBER = 1;
private java.lang.String id_;
/**
* <pre>
* A unique identifier assigned by the publisher, for example "ch-456".
* This may not be a unique identifier across all supply sources.
* Not supported by Google.
* </pre>
*
* <code>optional string id = 1;</code>
* @return Whether the id field is set.
*/
@java.lang.Override
public boolean hasId() {
return ((bitField0_ & 0x00000001) != 0);
}
/**
* <pre>
* A unique identifier assigned by the publisher, for example "ch-456".
* This may not be a unique identifier across all supply sources.
* Not supported by Google.
* </pre>
*
* <code>optional string id = 1;</code>
* @return The id.
*/
@java.lang.Override
public java.lang.String getId() {
return id_;
}
/**
* <pre>
* A unique identifier assigned by the publisher, for example "ch-456".
* This may not be a unique identifier across all supply sources.
* Not supported by Google.
* </pre>
*
* <code>optional string id = 1;</code>
* @return The bytes for id.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getIdBytes() {
return com.google.protobuf.ByteString.copyFromUtf8(id_);
}
/**
* <pre>
* A unique identifier assigned by the publisher, for example "ch-456".
* This may not be a unique identifier across all supply sources.
* Not supported by Google.
* </pre>
*
* <code>optional string id = 1;</code>
* @param value The id to set.
*/
private void setId(
java.lang.String value) {
java.lang.Class<?> valueClass = value.getClass();
bitField0_ |= 0x00000001;
id_ = value;
}
/**
* <pre>
* A unique identifier assigned by the publisher, for example "ch-456".
* This may not be a unique identifier across all supply sources.
* Not supported by Google.
* </pre>
*
* <code>optional string id = 1;</code>
*/
private void clearId() {
bitField0_ = (bitField0_ & ~0x00000001);
id_ = getDefaultInstance().getId();
}
/**
* <pre>
* A unique identifier assigned by the publisher, for example "ch-456".
* This may not be a unique identifier across all supply sources.
* Not supported by Google.
* </pre>
*
* <code>optional string id = 1;</code>
* @param value The bytes for id to set.
*/
private void setIdBytes(
com.google.protobuf.ByteString value) {
id_ = value.toStringUtf8();
bitField0_ |= 0x00000001;
}
public static final int NAME_FIELD_NUMBER = 2;
private java.lang.String name_;
/**
* <pre>
* Channel the content is on (e.g., a local channel like "WABC-TV").
* Not supported by Google.
* </pre>
*
* <code>optional string name = 2;</code>
* @return Whether the name field is set.
*/
@java.lang.Override
public boolean hasName() {
return ((bitField0_ & 0x00000002) != 0);
}
/**
* <pre>
* Channel the content is on (e.g., a local channel like "WABC-TV").
* Not supported by Google.
* </pre>
*
* <code>optional string name = 2;</code>
* @return The name.
*/
@java.lang.Override
public java.lang.String getName() {
return name_;
}
/**
* <pre>
* Channel the content is on (e.g., a local channel like "WABC-TV").
* Not supported by Google.
* </pre>
*
* <code>optional string name = 2;</code>
* @return The bytes for name.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getNameBytes() {
return com.google.protobuf.ByteString.copyFromUtf8(name_);
}
/**
* <pre>
* Channel the content is on (e.g., a local channel like "WABC-TV").
* Not supported by Google.
* </pre>
*
* <code>optional string name = 2;</code>
* @param value The name to set.
*/
private void setName(
java.lang.String value) {
java.lang.Class<?> valueClass = value.getClass();
bitField0_ |= 0x00000002;
name_ = value;
}
/**
* <pre>
* Channel the content is on (e.g., a local channel like "WABC-TV").
* Not supported by Google.
* </pre>
*
* <code>optional string name = 2;</code>
*/
private void clearName() {
bitField0_ = (bitField0_ & ~0x00000002);
name_ = getDefaultInstance().getName();
}
/**
* <pre>
* Channel the content is on (e.g., a local channel like "WABC-TV").
* Not supported by Google.
* </pre>
*
* <code>optional string name = 2;</code>
* @param value The bytes for name to set.
*/
private void setNameBytes(
com.google.protobuf.ByteString value) {
name_ = value.toStringUtf8();
bitField0_ |= 0x00000002;
}
public static final int DOMAIN_FIELD_NUMBER = 3;
private java.lang.String domain_;
/**
* <pre>
* The primary domain of the channel (e.g. "abc7ny.com" in the
* case of the local channel WABC-TV). It is recommended to
* include the top private domain (PSL+1) for DSP targeting
* normalization purposes.
* Not supported by Google.
* </pre>
*
* <code>optional string domain = 3;</code>
* @return Whether the domain field is set.
*/
@java.lang.Override
public boolean hasDomain() {
return ((bitField0_ & 0x00000004) != 0);
}
/**
* <pre>
* The primary domain of the channel (e.g. "abc7ny.com" in the
* case of the local channel WABC-TV). It is recommended to
* include the top private domain (PSL+1) for DSP targeting
* normalization purposes.
* Not supported by Google.
* </pre>
*
* <code>optional string domain = 3;</code>
* @return The domain.
*/
@java.lang.Override
public java.lang.String getDomain() {
return domain_;
}
/**
* <pre>
* The primary domain of the channel (e.g. "abc7ny.com" in the
* case of the local channel WABC-TV). It is recommended to
* include the top private domain (PSL+1) for DSP targeting
* normalization purposes.
* Not supported by Google.
* </pre>
*
* <code>optional string domain = 3;</code>
* @return The bytes for domain.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getDomainBytes() {
return com.google.protobuf.ByteString.copyFromUtf8(domain_);
}
/**
* <pre>
* The primary domain of the channel (e.g. "abc7ny.com" in the
* case of the local channel WABC-TV). It is recommended to
* include the top private domain (PSL+1) for DSP targeting
* normalization purposes.
* Not supported by Google.
* </pre>
*
* <code>optional string domain = 3;</code>
* @param value The domain to set.
*/
private void setDomain(
java.lang.String value) {
java.lang.Class<?> valueClass = value.getClass();
bitField0_ |= 0x00000004;
domain_ = value;
}
/**
* <pre>
* The primary domain of the channel (e.g. "abc7ny.com" in the
* case of the local channel WABC-TV). It is recommended to
* include the top private domain (PSL+1) for DSP targeting
* normalization purposes.
* Not supported by Google.
* </pre>
*
* <code>optional string domain = 3;</code>
*/
private void clearDomain() {
bitField0_ = (bitField0_ & ~0x00000004);
domain_ = getDefaultInstance().getDomain();
}
/**
* <pre>
* The primary domain of the channel (e.g. "abc7ny.com" in the
* case of the local channel WABC-TV). It is recommended to
* include the top private domain (PSL+1) for DSP targeting
* normalization purposes.
* Not supported by Google.
* </pre>
*
* <code>optional string domain = 3;</code>
* @param value The bytes for domain to set.
*/
private void setDomainBytes(
com.google.protobuf.ByteString value) {
domain_ = value.toStringUtf8();
bitField0_ |= 0x00000004;
}
public static com.particles.mes.protos.openrtb.BidRequest.Content.Channel parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, data);
}
public static com.particles.mes.protos.openrtb.BidRequest.Content.Channel parseFrom(
java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, data, extensionRegistry);
}
public static com.particles.mes.protos.openrtb.BidRequest.Content.Channel parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, data);
}
public static com.particles.mes.protos.openrtb.BidRequest.Content.Channel parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, data, extensionRegistry);
}
public static com.particles.mes.protos.openrtb.BidRequest.Content.Channel parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, data);
}
public static com.particles.mes.protos.openrtb.BidRequest.Content.Channel parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, data, extensionRegistry);
}
public static com.particles.mes.protos.openrtb.BidRequest.Content.Channel parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, input);
}
public static com.particles.mes.protos.openrtb.BidRequest.Content.Channel parseFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, input, extensionRegistry);
}
public static com.particles.mes.protos.openrtb.BidRequest.Content.Channel parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return parseDelimitedFrom(DEFAULT_INSTANCE, input);
}
public static com.particles.mes.protos.openrtb.BidRequest.Content.Channel parseDelimitedFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return parseDelimitedFrom(DEFAULT_INSTANCE, input, extensionRegistry);
}
public static com.particles.mes.protos.openrtb.BidRequest.Content.Channel parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, input);
}
public static com.particles.mes.protos.openrtb.BidRequest.Content.Channel parseFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, input, extensionRegistry);
}
public static Builder newBuilder() {
return (Builder) DEFAULT_INSTANCE.createBuilder();
}
public static Builder newBuilder(com.particles.mes.protos.openrtb.BidRequest.Content.Channel prototype) {
return (Builder) DEFAULT_INSTANCE.createBuilder(prototype);
}
/**
* <pre>
* This object describes the channel an ad will be displayed on.
* A Channel is defined as the entity that curates a content library,
* or stream within a brand name for viewers. Examples are specific view
* selectable 'channels' within linear and streaming television
* (MTV, HGTV, CNN, BBC One, etc) or a specific stream of audio content
* commonly called 'stations.' Name is a human-readable field while domain
* and id can be used for reporting and targeting purposes.
* </pre>
*
* Protobuf type {@code com.google.openrtb.BidRequest.Content.Channel}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageLite.ExtendableBuilder<
com.particles.mes.protos.openrtb.BidRequest.Content.Channel, Builder> implements
// @@protoc_insertion_point(builder_implements:com.google.openrtb.BidRequest.Content.Channel)
com.particles.mes.protos.openrtb.BidRequest.Content.ChannelOrBuilder {
// Construct using com.particles.mes.protos.openrtb.BidRequest.Content.Channel.newBuilder()
private Builder() {
super(DEFAULT_INSTANCE);
}
/**
* <pre>
* A unique identifier assigned by the publisher, for example "ch-456".
* This may not be a unique identifier across all supply sources.
* Not supported by Google.
* </pre>
*
* <code>optional string id = 1;</code>
* @return Whether the id field is set.
*/
@java.lang.Override
public boolean hasId() {
return instance.hasId();
}
/**
* <pre>
* A unique identifier assigned by the publisher, for example "ch-456".
* This may not be a unique identifier across all supply sources.
* Not supported by Google.
* </pre>
*
* <code>optional string id = 1;</code>
* @return The id.
*/
@java.lang.Override
public java.lang.String getId() {
return instance.getId();
}
/**
* <pre>
* A unique identifier assigned by the publisher, for example "ch-456".
* This may not be a unique identifier across all supply sources.
* Not supported by Google.
* </pre>
*
* <code>optional string id = 1;</code>
* @return The bytes for id.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getIdBytes() {
return instance.getIdBytes();
}
/**
* <pre>
* A unique identifier assigned by the publisher, for example "ch-456".
* This may not be a unique identifier across all supply sources.
* Not supported by Google.
* </pre>
*
* <code>optional string id = 1;</code>
* @param value The id to set.
* @return This builder for chaining.
*/
public Builder setId(
java.lang.String value) {
copyOnWrite();
instance.setId(value);
return this;
}
/**
* <pre>
* A unique identifier assigned by the publisher, for example "ch-456".
* This may not be a unique identifier across all supply sources.
* Not supported by Google.
* </pre>
*
* <code>optional string id = 1;</code>
* @return This builder for chaining.
*/
public Builder clearId() {
copyOnWrite();
instance.clearId();
return this;
}
/**
* <pre>
* A unique identifier assigned by the publisher, for example "ch-456".
* This may not be a unique identifier across all supply sources.
* Not supported by Google.
* </pre>
*
* <code>optional string id = 1;</code>
* @param value The bytes for id to set.
* @return This builder for chaining.
*/
public Builder setIdBytes(
com.google.protobuf.ByteString value) {
copyOnWrite();
instance.setIdBytes(value);
return this;
}
/**
* <pre>
* Channel the content is on (e.g., a local channel like "WABC-TV").
* Not supported by Google.
* </pre>
*
* <code>optional string name = 2;</code>
* @return Whether the name field is set.
*/
@java.lang.Override
public boolean hasName() {
return instance.hasName();
}
/**
* <pre>
* Channel the content is on (e.g., a local channel like "WABC-TV").
* Not supported by Google.
* </pre>
*
* <code>optional string name = 2;</code>
* @return The name.
*/
@java.lang.Override
public java.lang.String getName() {
return instance.getName();
}
/**
* <pre>
* Channel the content is on (e.g., a local channel like "WABC-TV").
* Not supported by Google.
* </pre>
*
* <code>optional string name = 2;</code>
* @return The bytes for name.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getNameBytes() {
return instance.getNameBytes();
}
/**
* <pre>
* Channel the content is on (e.g., a local channel like "WABC-TV").
* Not supported by Google.
* </pre>
*
* <code>optional string name = 2;</code>
* @param value The name to set.
* @return This builder for chaining.
*/
public Builder setName(
java.lang.String value) {
copyOnWrite();
instance.setName(value);
return this;
}
/**
* <pre>
* Channel the content is on (e.g., a local channel like "WABC-TV").
* Not supported by Google.
* </pre>
*
* <code>optional string name = 2;</code>
* @return This builder for chaining.
*/
public Builder clearName() {
copyOnWrite();
instance.clearName();
return this;
}
/**
* <pre>
* Channel the content is on (e.g., a local channel like "WABC-TV").
* Not supported by Google.
* </pre>
*
* <code>optional string name = 2;</code>
* @param value The bytes for name to set.
* @return This builder for chaining.
*/
public Builder setNameBytes(
com.google.protobuf.ByteString value) {
copyOnWrite();
instance.setNameBytes(value);
return this;
}
/**
* <pre>
* The primary domain of the channel (e.g. "abc7ny.com" in the
* case of the local channel WABC-TV). It is recommended to
* include the top private domain (PSL+1) for DSP targeting
* normalization purposes.
* Not supported by Google.
* </pre>
*
* <code>optional string domain = 3;</code>
* @return Whether the domain field is set.
*/
@java.lang.Override
public boolean hasDomain() {
return instance.hasDomain();
}
/**
* <pre>
* The primary domain of the channel (e.g. "abc7ny.com" in the
* case of the local channel WABC-TV). It is recommended to
* include the top private domain (PSL+1) for DSP targeting
* normalization purposes.
* Not supported by Google.
* </pre>
*
* <code>optional string domain = 3;</code>
* @return The domain.
*/
@java.lang.Override
public java.lang.String getDomain() {
return instance.getDomain();
}
/**
* <pre>
* The primary domain of the channel (e.g. "abc7ny.com" in the
* case of the local channel WABC-TV). It is recommended to
* include the top private domain (PSL+1) for DSP targeting
* normalization purposes.
* Not supported by Google.
* </pre>
*
* <code>optional string domain = 3;</code>
* @return The bytes for domain.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getDomainBytes() {
return instance.getDomainBytes();
}
/**
* <pre>
* The primary domain of the channel (e.g. "abc7ny.com" in the
* case of the local channel WABC-TV). It is recommended to
* include the top private domain (PSL+1) for DSP targeting
* normalization purposes.
* Not supported by Google.
* </pre>
*
* <code>optional string domain = 3;</code>
* @param value The domain to set.
* @return This builder for chaining.
*/
public Builder setDomain(
java.lang.String value) {
copyOnWrite();
instance.setDomain(value);
return this;
}
/**
* <pre>
* The primary domain of the channel (e.g. "abc7ny.com" in the
* case of the local channel WABC-TV). It is recommended to
* include the top private domain (PSL+1) for DSP targeting
* normalization purposes.
* Not supported by Google.
* </pre>
*
* <code>optional string domain = 3;</code>
* @return This builder for chaining.
*/
public Builder clearDomain() {
copyOnWrite();
instance.clearDomain();
return this;
}
/**
* <pre>
* The primary domain of the channel (e.g. "abc7ny.com" in the
* case of the local channel WABC-TV). It is recommended to
* include the top private domain (PSL+1) for DSP targeting
* normalization purposes.
* Not supported by Google.
* </pre>
*
* <code>optional string domain = 3;</code>
* @param value The bytes for domain to set.
* @return This builder for chaining.
*/
public Builder setDomainBytes(
com.google.protobuf.ByteString value) {
copyOnWrite();
instance.setDomainBytes(value);
return this;
}
// @@protoc_insertion_point(builder_scope:com.google.openrtb.BidRequest.Content.Channel)
}
private byte memoizedIsInitialized = 2;
@java.lang.Override
@java.lang.SuppressWarnings({"unchecked", "fallthrough"})
protected final java.lang.Object dynamicMethod(
com.google.protobuf.GeneratedMessageLite.MethodToInvoke method,
java.lang.Object arg0, java.lang.Object arg1) {
switch (method) {
case NEW_MUTABLE_INSTANCE: {
return new com.particles.mes.protos.openrtb.BidRequest.Content.Channel();
}
case NEW_BUILDER: {
return new Builder();
}
case BUILD_MESSAGE_INFO: {
java.lang.Object[] objects = new java.lang.Object[] {
"bitField0_",
"id_",
"name_",
"domain_",
};
java.lang.String info =
"\u0001\u0003\u0000\u0001\u0001\u0003\u0003\u0000\u0000\u0000\u0001\u1008\u0000\u0002" +
"\u1008\u0001\u0003\u1008\u0002";
return newMessageInfo(DEFAULT_INSTANCE, info, objects);
}
// fall through
case GET_DEFAULT_INSTANCE: {
return DEFAULT_INSTANCE;
}
case GET_PARSER: {
com.google.protobuf.Parser<com.particles.mes.protos.openrtb.BidRequest.Content.Channel> parser = PARSER;
if (parser == null) {
synchronized (com.particles.mes.protos.openrtb.BidRequest.Content.Channel.class) {
parser = PARSER;
if (parser == null) {
parser =
new DefaultInstanceBasedParser<com.particles.mes.protos.openrtb.BidRequest.Content.Channel>(
DEFAULT_INSTANCE);
PARSER = parser;
}
}
}
return parser;
}
case GET_MEMOIZED_IS_INITIALIZED: {
return memoizedIsInitialized;
}
case SET_MEMOIZED_IS_INITIALIZED: {
memoizedIsInitialized = (byte) (arg0 == null ? 0 : 1);
return null;
}
}
throw new UnsupportedOperationException();
}
// @@protoc_insertion_point(class_scope:com.google.openrtb.BidRequest.Content.Channel)
private static final com.particles.mes.protos.openrtb.BidRequest.Content.Channel DEFAULT_INSTANCE;
static {
Channel defaultInstance = new Channel();
// New instances are implicitly immutable so no need to make
// immutable.
DEFAULT_INSTANCE = defaultInstance;
com.google.protobuf.GeneratedMessageLite.registerDefaultInstance(
Channel.class, defaultInstance);
}
public static com.particles.mes.protos.openrtb.BidRequest.Content.Channel getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static volatile com.google.protobuf.Parser<Channel> PARSER;
public static com.google.protobuf.Parser<Channel> parser() {
return DEFAULT_INSTANCE.getParserForType();
}
}
private int bitField0_;
public static final int ID_FIELD_NUMBER = 1;
private java.lang.String id_;
/**
* <pre>
* ID uniquely identifying the content.
* Not supported by Google.
* </pre>
*
* <code>optional string id = 1;</code>
* @return Whether the id field is set.
*/
@java.lang.Override
public boolean hasId() {
return ((bitField0_ & 0x00000001) != 0);
}
/**
* <pre>
* ID uniquely identifying the content.
* Not supported by Google.
* </pre>
*
* <code>optional string id = 1;</code>
* @return The id.
*/
@java.lang.Override
public java.lang.String getId() {
return id_;
}
/**
* <pre>
* ID uniquely identifying the content.
* Not supported by Google.
* </pre>
*
* <code>optional string id = 1;</code>
* @return The bytes for id.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getIdBytes() {
return com.google.protobuf.ByteString.copyFromUtf8(id_);
}
/**
* <pre>
* ID uniquely identifying the content.
* Not supported by Google.
* </pre>
*
* <code>optional string id = 1;</code>
* @param value The id to set.
*/
private void setId(
java.lang.String value) {
java.lang.Class<?> valueClass = value.getClass();
bitField0_ |= 0x00000001;
id_ = value;
}
/**
* <pre>
* ID uniquely identifying the content.
* Not supported by Google.
* </pre>
*
* <code>optional string id = 1;</code>
*/
private void clearId() {
bitField0_ = (bitField0_ & ~0x00000001);
id_ = getDefaultInstance().getId();
}
/**
* <pre>
* ID uniquely identifying the content.
* Not supported by Google.
* </pre>
*
* <code>optional string id = 1;</code>
* @param value The bytes for id to set.
*/
private void setIdBytes(
com.google.protobuf.ByteString value) {
id_ = value.toStringUtf8();
bitField0_ |= 0x00000001;
}
public static final int EPISODE_FIELD_NUMBER = 2;
private int episode_;
/**
* <pre>
* Content episode number (typically applies to video content).
* Not supported by Google.
* </pre>
*
* <code>optional int32 episode = 2;</code>
* @return Whether the episode field is set.
*/
@java.lang.Override
public boolean hasEpisode() {
return ((bitField0_ & 0x00000002) != 0);
}
/**
* <pre>
* Content episode number (typically applies to video content).
* Not supported by Google.
* </pre>
*
* <code>optional int32 episode = 2;</code>
* @return The episode.
*/
@java.lang.Override
public int getEpisode() {
return episode_;
}
/**
* <pre>
* Content episode number (typically applies to video content).
* Not supported by Google.
* </pre>
*
* <code>optional int32 episode = 2;</code>
* @param value The episode to set.
*/
private void setEpisode(int value) {
bitField0_ |= 0x00000002;
episode_ = value;
}
/**
* <pre>
* Content episode number (typically applies to video content).
* Not supported by Google.
* </pre>
*
* <code>optional int32 episode = 2;</code>
*/
private void clearEpisode() {
bitField0_ = (bitField0_ & ~0x00000002);
episode_ = 0;
}
public static final int TITLE_FIELD_NUMBER = 3;
private java.lang.String title_;
/**
* <pre>
* Content title.
* Video Examples: "Search Committee" (television), "A New Hope" (movie),
* or "Endgame" (made for web).
* Non-Video Example: "Why an Antarctic Glacier Is Melting So Quickly"
* (Time magazine article).
* Not supported by Google.
* </pre>
*
* <code>optional string title = 3;</code>
* @return Whether the title field is set.
*/
@java.lang.Override
public boolean hasTitle() {
return ((bitField0_ & 0x00000004) != 0);
}
/**
* <pre>
* Content title.
* Video Examples: "Search Committee" (television), "A New Hope" (movie),
* or "Endgame" (made for web).
* Non-Video Example: "Why an Antarctic Glacier Is Melting So Quickly"
* (Time magazine article).
* Not supported by Google.
* </pre>
*
* <code>optional string title = 3;</code>
* @return The title.
*/
@java.lang.Override
public java.lang.String getTitle() {
return title_;
}
/**
* <pre>
* Content title.
* Video Examples: "Search Committee" (television), "A New Hope" (movie),
* or "Endgame" (made for web).
* Non-Video Example: "Why an Antarctic Glacier Is Melting So Quickly"
* (Time magazine article).
* Not supported by Google.
* </pre>
*
* <code>optional string title = 3;</code>
* @return The bytes for title.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getTitleBytes() {
return com.google.protobuf.ByteString.copyFromUtf8(title_);
}
/**
* <pre>
* Content title.
* Video Examples: "Search Committee" (television), "A New Hope" (movie),
* or "Endgame" (made for web).
* Non-Video Example: "Why an Antarctic Glacier Is Melting So Quickly"
* (Time magazine article).
* Not supported by Google.
* </pre>
*
* <code>optional string title = 3;</code>
* @param value The title to set.
*/
private void setTitle(
java.lang.String value) {
java.lang.Class<?> valueClass = value.getClass();
bitField0_ |= 0x00000004;
title_ = value;
}
/**
* <pre>
* Content title.
* Video Examples: "Search Committee" (television), "A New Hope" (movie),
* or "Endgame" (made for web).
* Non-Video Example: "Why an Antarctic Glacier Is Melting So Quickly"
* (Time magazine article).
* Not supported by Google.
* </pre>
*
* <code>optional string title = 3;</code>
*/
private void clearTitle() {
bitField0_ = (bitField0_ & ~0x00000004);
title_ = getDefaultInstance().getTitle();
}
/**
* <pre>
* Content title.
* Video Examples: "Search Committee" (television), "A New Hope" (movie),
* or "Endgame" (made for web).
* Non-Video Example: "Why an Antarctic Glacier Is Melting So Quickly"
* (Time magazine article).
* Not supported by Google.
* </pre>
*
* <code>optional string title = 3;</code>
* @param value The bytes for title to set.
*/
private void setTitleBytes(
com.google.protobuf.ByteString value) {
title_ = value.toStringUtf8();
bitField0_ |= 0x00000004;
}
public static final int SERIES_FIELD_NUMBER = 4;
private java.lang.String series_;
/**
* <pre>
* Content series.
* Video Examples: "The Office" (television), "Star Wars" (movie),
* or "Arby 'N' The Chief" (made for web).
* Non-Video Example: "Ecocentric" (Time Magazine blog).
* Not supported by Google.
* </pre>
*
* <code>optional string series = 4;</code>
* @return Whether the series field is set.
*/
@java.lang.Override
public boolean hasSeries() {
return ((bitField0_ & 0x00000008) != 0);
}
/**
* <pre>
* Content series.
* Video Examples: "The Office" (television), "Star Wars" (movie),
* or "Arby 'N' The Chief" (made for web).
* Non-Video Example: "Ecocentric" (Time Magazine blog).
* Not supported by Google.
* </pre>
*
* <code>optional string series = 4;</code>
* @return The series.
*/
@java.lang.Override
public java.lang.String getSeries() {
return series_;
}
/**
* <pre>
* Content series.
* Video Examples: "The Office" (television), "Star Wars" (movie),
* or "Arby 'N' The Chief" (made for web).
* Non-Video Example: "Ecocentric" (Time Magazine blog).
* Not supported by Google.
* </pre>
*
* <code>optional string series = 4;</code>
* @return The bytes for series.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getSeriesBytes() {
return com.google.protobuf.ByteString.copyFromUtf8(series_);
}
/**
* <pre>
* Content series.
* Video Examples: "The Office" (television), "Star Wars" (movie),
* or "Arby 'N' The Chief" (made for web).
* Non-Video Example: "Ecocentric" (Time Magazine blog).
* Not supported by Google.
* </pre>
*
* <code>optional string series = 4;</code>
* @param value The series to set.
*/
private void setSeries(
java.lang.String value) {
java.lang.Class<?> valueClass = value.getClass();
bitField0_ |= 0x00000008;
series_ = value;
}
/**
* <pre>
* Content series.
* Video Examples: "The Office" (television), "Star Wars" (movie),
* or "Arby 'N' The Chief" (made for web).
* Non-Video Example: "Ecocentric" (Time Magazine blog).
* Not supported by Google.
* </pre>
*
* <code>optional string series = 4;</code>
*/
private void clearSeries() {
bitField0_ = (bitField0_ & ~0x00000008);
series_ = getDefaultInstance().getSeries();
}
/**
* <pre>
* Content series.
* Video Examples: "The Office" (television), "Star Wars" (movie),
* or "Arby 'N' The Chief" (made for web).
* Non-Video Example: "Ecocentric" (Time Magazine blog).
* Not supported by Google.
* </pre>
*
* <code>optional string series = 4;</code>
* @param value The bytes for series to set.
*/
private void setSeriesBytes(
com.google.protobuf.ByteString value) {
series_ = value.toStringUtf8();
bitField0_ |= 0x00000008;
}
public static final int SEASON_FIELD_NUMBER = 5;
private java.lang.String season_;
/**
* <pre>
* Content season; typically for video content (for example, "Season 3").
* Not supported by Google.
* </pre>
*
* <code>optional string season = 5;</code>
* @return Whether the season field is set.
*/
@java.lang.Override
public boolean hasSeason() {
return ((bitField0_ & 0x00000010) != 0);
}
/**
* <pre>
* Content season; typically for video content (for example, "Season 3").
* Not supported by Google.
* </pre>
*
* <code>optional string season = 5;</code>
* @return The season.
*/
@java.lang.Override
public java.lang.String getSeason() {
return season_;
}
/**
* <pre>
* Content season; typically for video content (for example, "Season 3").
* Not supported by Google.
* </pre>
*
* <code>optional string season = 5;</code>
* @return The bytes for season.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getSeasonBytes() {
return com.google.protobuf.ByteString.copyFromUtf8(season_);
}
/**
* <pre>
* Content season; typically for video content (for example, "Season 3").
* Not supported by Google.
* </pre>
*
* <code>optional string season = 5;</code>
* @param value The season to set.
*/
private void setSeason(
java.lang.String value) {
java.lang.Class<?> valueClass = value.getClass();
bitField0_ |= 0x00000010;
season_ = value;
}
/**
* <pre>
* Content season; typically for video content (for example, "Season 3").
* Not supported by Google.
* </pre>
*
* <code>optional string season = 5;</code>
*/
private void clearSeason() {
bitField0_ = (bitField0_ & ~0x00000010);
season_ = getDefaultInstance().getSeason();
}
/**
* <pre>
* Content season; typically for video content (for example, "Season 3").
* Not supported by Google.
* </pre>
*
* <code>optional string season = 5;</code>
* @param value The bytes for season to set.
*/
private void setSeasonBytes(
com.google.protobuf.ByteString value) {
season_ = value.toStringUtf8();
bitField0_ |= 0x00000010;
}
public static final int ARTIST_FIELD_NUMBER = 21;
private java.lang.String artist_;
/**
* <pre>
* Artist credited with the content.
* Not supported by Google.
* </pre>
*
* <code>optional string artist = 21;</code>
* @return Whether the artist field is set.
*/
@java.lang.Override
public boolean hasArtist() {
return ((bitField0_ & 0x00000020) != 0);
}
/**
* <pre>
* Artist credited with the content.
* Not supported by Google.
* </pre>
*
* <code>optional string artist = 21;</code>
* @return The artist.
*/
@java.lang.Override
public java.lang.String getArtist() {
return artist_;
}
/**
* <pre>
* Artist credited with the content.
* Not supported by Google.
* </pre>
*
* <code>optional string artist = 21;</code>
* @return The bytes for artist.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getArtistBytes() {
return com.google.protobuf.ByteString.copyFromUtf8(artist_);
}
/**
* <pre>
* Artist credited with the content.
* Not supported by Google.
* </pre>
*
* <code>optional string artist = 21;</code>
* @param value The artist to set.
*/
private void setArtist(
java.lang.String value) {
java.lang.Class<?> valueClass = value.getClass();
bitField0_ |= 0x00000020;
artist_ = value;
}
/**
* <pre>
* Artist credited with the content.
* Not supported by Google.
* </pre>
*
* <code>optional string artist = 21;</code>
*/
private void clearArtist() {
bitField0_ = (bitField0_ & ~0x00000020);
artist_ = getDefaultInstance().getArtist();
}
/**
* <pre>
* Artist credited with the content.
* Not supported by Google.
* </pre>
*
* <code>optional string artist = 21;</code>
* @param value The bytes for artist to set.
*/
private void setArtistBytes(
com.google.protobuf.ByteString value) {
artist_ = value.toStringUtf8();
bitField0_ |= 0x00000020;
}
public static final int GENRE_FIELD_NUMBER = 22;
private java.lang.String genre_;
/**
* <pre>
* Genre that best describes the content (for example, rock, pop, etc).
* Not supported by Google.
* </pre>
*
* <code>optional string genre = 22;</code>
* @return Whether the genre field is set.
*/
@java.lang.Override
public boolean hasGenre() {
return ((bitField0_ & 0x00000040) != 0);
}
/**
* <pre>
* Genre that best describes the content (for example, rock, pop, etc).
* Not supported by Google.
* </pre>
*
* <code>optional string genre = 22;</code>
* @return The genre.
*/
@java.lang.Override
public java.lang.String getGenre() {
return genre_;
}
/**
* <pre>
* Genre that best describes the content (for example, rock, pop, etc).
* Not supported by Google.
* </pre>
*
* <code>optional string genre = 22;</code>
* @return The bytes for genre.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getGenreBytes() {
return com.google.protobuf.ByteString.copyFromUtf8(genre_);
}
/**
* <pre>
* Genre that best describes the content (for example, rock, pop, etc).
* Not supported by Google.
* </pre>
*
* <code>optional string genre = 22;</code>
* @param value The genre to set.
*/
private void setGenre(
java.lang.String value) {
java.lang.Class<?> valueClass = value.getClass();
bitField0_ |= 0x00000040;
genre_ = value;
}
/**
* <pre>
* Genre that best describes the content (for example, rock, pop, etc).
* Not supported by Google.
* </pre>
*
* <code>optional string genre = 22;</code>
*/
private void clearGenre() {
bitField0_ = (bitField0_ & ~0x00000040);
genre_ = getDefaultInstance().getGenre();
}
/**
* <pre>
* Genre that best describes the content (for example, rock, pop, etc).
* Not supported by Google.
* </pre>
*
* <code>optional string genre = 22;</code>
* @param value The bytes for genre to set.
*/
private void setGenreBytes(
com.google.protobuf.ByteString value) {
genre_ = value.toStringUtf8();
bitField0_ |= 0x00000040;
}
public static final int ALBUM_FIELD_NUMBER = 23;
private java.lang.String album_;
/**
* <pre>
* Album to which the content belongs; typically for audio.
* Not supported by Google.
* </pre>
*
* <code>optional string album = 23;</code>
* @return Whether the album field is set.
*/
@java.lang.Override
public boolean hasAlbum() {
return ((bitField0_ & 0x00000080) != 0);
}
/**
* <pre>
* Album to which the content belongs; typically for audio.
* Not supported by Google.
* </pre>
*
* <code>optional string album = 23;</code>
* @return The album.
*/
@java.lang.Override
public java.lang.String getAlbum() {
return album_;
}
/**
* <pre>
* Album to which the content belongs; typically for audio.
* Not supported by Google.
* </pre>
*
* <code>optional string album = 23;</code>
* @return The bytes for album.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getAlbumBytes() {
return com.google.protobuf.ByteString.copyFromUtf8(album_);
}
/**
* <pre>
* Album to which the content belongs; typically for audio.
* Not supported by Google.
* </pre>
*
* <code>optional string album = 23;</code>
* @param value The album to set.
*/
private void setAlbum(
java.lang.String value) {
java.lang.Class<?> valueClass = value.getClass();
bitField0_ |= 0x00000080;
album_ = value;
}
/**
* <pre>
* Album to which the content belongs; typically for audio.
* Not supported by Google.
* </pre>
*
* <code>optional string album = 23;</code>
*/
private void clearAlbum() {
bitField0_ = (bitField0_ & ~0x00000080);
album_ = getDefaultInstance().getAlbum();
}
/**
* <pre>
* Album to which the content belongs; typically for audio.
* Not supported by Google.
* </pre>
*
* <code>optional string album = 23;</code>
* @param value The bytes for album to set.
*/
private void setAlbumBytes(
com.google.protobuf.ByteString value) {
album_ = value.toStringUtf8();
bitField0_ |= 0x00000080;
}
public static final int ISRC_FIELD_NUMBER = 24;
private java.lang.String isrc_;
/**
* <pre>
* International Standard Recording Code conforming to ISO-3901.
* Not supported by Google.
* </pre>
*
* <code>optional string isrc = 24;</code>
* @return Whether the isrc field is set.
*/
@java.lang.Override
public boolean hasIsrc() {
return ((bitField0_ & 0x00000100) != 0);
}
/**
* <pre>
* International Standard Recording Code conforming to ISO-3901.
* Not supported by Google.
* </pre>
*
* <code>optional string isrc = 24;</code>
* @return The isrc.
*/
@java.lang.Override
public java.lang.String getIsrc() {
return isrc_;
}
/**
* <pre>
* International Standard Recording Code conforming to ISO-3901.
* Not supported by Google.
* </pre>
*
* <code>optional string isrc = 24;</code>
* @return The bytes for isrc.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getIsrcBytes() {
return com.google.protobuf.ByteString.copyFromUtf8(isrc_);
}
/**
* <pre>
* International Standard Recording Code conforming to ISO-3901.
* Not supported by Google.
* </pre>
*
* <code>optional string isrc = 24;</code>
* @param value The isrc to set.
*/
private void setIsrc(
java.lang.String value) {
java.lang.Class<?> valueClass = value.getClass();
bitField0_ |= 0x00000100;
isrc_ = value;
}
/**
* <pre>
* International Standard Recording Code conforming to ISO-3901.
* Not supported by Google.
* </pre>
*
* <code>optional string isrc = 24;</code>
*/
private void clearIsrc() {
bitField0_ = (bitField0_ & ~0x00000100);
isrc_ = getDefaultInstance().getIsrc();
}
/**
* <pre>
* International Standard Recording Code conforming to ISO-3901.
* Not supported by Google.
* </pre>
*
* <code>optional string isrc = 24;</code>
* @param value The bytes for isrc to set.
*/
private void setIsrcBytes(
com.google.protobuf.ByteString value) {
isrc_ = value.toStringUtf8();
bitField0_ |= 0x00000100;
}
public static final int PRODUCER_FIELD_NUMBER = 15;
private com.particles.mes.protos.openrtb.BidRequest.Content.Producer producer_;
/**
* <pre>
* Details about the content Producer (Section 3.2.10).
* Supported by Google.
* </pre>
*
* <code>optional .com.google.openrtb.BidRequest.Content.Producer producer = 15;</code>
*/
@java.lang.Override
public boolean hasProducer() {
return ((bitField0_ & 0x00000200) != 0);
}
/**
* <pre>
* Details about the content Producer (Section 3.2.10).
* Supported by Google.
* </pre>
*
* <code>optional .com.google.openrtb.BidRequest.Content.Producer producer = 15;</code>
*/
@java.lang.Override
public com.particles.mes.protos.openrtb.BidRequest.Content.Producer getProducer() {
return producer_ == null ? com.particles.mes.protos.openrtb.BidRequest.Content.Producer.getDefaultInstance() : producer_;
}
/**
* <pre>
* Details about the content Producer (Section 3.2.10).
* Supported by Google.
* </pre>
*
* <code>optional .com.google.openrtb.BidRequest.Content.Producer producer = 15;</code>
*/
private void setProducer(com.particles.mes.protos.openrtb.BidRequest.Content.Producer value) {
value.getClass();
producer_ = value;
bitField0_ |= 0x00000200;
}
/**
* <pre>
* Details about the content Producer (Section 3.2.10).
* Supported by Google.
* </pre>
*
* <code>optional .com.google.openrtb.BidRequest.Content.Producer producer = 15;</code>
*/
@java.lang.SuppressWarnings({"ReferenceEquality"})
private void mergeProducer(com.particles.mes.protos.openrtb.BidRequest.Content.Producer value) {
value.getClass();
if (producer_ != null &&
producer_ != com.particles.mes.protos.openrtb.BidRequest.Content.Producer.getDefaultInstance()) {
producer_ =
com.particles.mes.protos.openrtb.BidRequest.Content.Producer.newBuilder(producer_).mergeFrom(value).buildPartial();
} else {
producer_ = value;
}
bitField0_ |= 0x00000200;
}
/**
* <pre>
* Details about the content Producer (Section 3.2.10).
* Supported by Google.
* </pre>
*
* <code>optional .com.google.openrtb.BidRequest.Content.Producer producer = 15;</code>
*/
private void clearProducer() { producer_ = null;
bitField0_ = (bitField0_ & ~0x00000200);
}
public static final int URL_FIELD_NUMBER = 6;
private java.lang.String url_;
/**
* <pre>
* URL of the content, for buy-side contextualization or review.
* Supported by Google.
* </pre>
*
* <code>optional string url = 6;</code>
* @return Whether the url field is set.
*/
@java.lang.Override
public boolean hasUrl() {
return ((bitField0_ & 0x00000400) != 0);
}
/**
* <pre>
* URL of the content, for buy-side contextualization or review.
* Supported by Google.
* </pre>
*
* <code>optional string url = 6;</code>
* @return The url.
*/
@java.lang.Override
public java.lang.String getUrl() {
return url_;
}
/**
* <pre>
* URL of the content, for buy-side contextualization or review.
* Supported by Google.
* </pre>
*
* <code>optional string url = 6;</code>
* @return The bytes for url.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getUrlBytes() {
return com.google.protobuf.ByteString.copyFromUtf8(url_);
}
/**
* <pre>
* URL of the content, for buy-side contextualization or review.
* Supported by Google.
* </pre>
*
* <code>optional string url = 6;</code>
* @param value The url to set.
*/
private void setUrl(
java.lang.String value) {
java.lang.Class<?> valueClass = value.getClass();
bitField0_ |= 0x00000400;
url_ = value;
}
/**
* <pre>
* URL of the content, for buy-side contextualization or review.
* Supported by Google.
* </pre>
*
* <code>optional string url = 6;</code>
*/
private void clearUrl() {
bitField0_ = (bitField0_ & ~0x00000400);
url_ = getDefaultInstance().getUrl();
}
/**
* <pre>
* URL of the content, for buy-side contextualization or review.
* Supported by Google.
* </pre>
*
* <code>optional string url = 6;</code>
* @param value The bytes for url to set.
*/
private void setUrlBytes(
com.google.protobuf.ByteString value) {
url_ = value.toStringUtf8();
bitField0_ |= 0x00000400;
}
public static final int CATTAX_FIELD_NUMBER = 27;
private int cattax_;
/**
* <pre>
* The taxonomy in use for cat.
* Not supported by Google.
* </pre>
*
* <code>optional .com.google.openrtb.CategoryTaxonomy cattax = 27 [default = IAB_CONTENT_1_0];</code>
* @return Whether the cattax field is set.
*/
@java.lang.Override
public boolean hasCattax() {
return ((bitField0_ & 0x00000800) != 0);
}
/**
* <pre>
* The taxonomy in use for cat.
* Not supported by Google.
* </pre>
*
* <code>optional .com.google.openrtb.CategoryTaxonomy cattax = 27 [default = IAB_CONTENT_1_0];</code>
* @return The cattax.
*/
@java.lang.Override
public com.particles.mes.protos.openrtb.CategoryTaxonomy getCattax() {
com.particles.mes.protos.openrtb.CategoryTaxonomy result = com.particles.mes.protos.openrtb.CategoryTaxonomy.forNumber(cattax_);
return result == null ? com.particles.mes.protos.openrtb.CategoryTaxonomy.IAB_CONTENT_1_0 : result;
}
/**
* <pre>
* The taxonomy in use for cat.
* Not supported by Google.
* </pre>
*
* <code>optional .com.google.openrtb.CategoryTaxonomy cattax = 27 [default = IAB_CONTENT_1_0];</code>
* @param value The cattax to set.
*/
private void setCattax(com.particles.mes.protos.openrtb.CategoryTaxonomy value) {
cattax_ = value.getNumber();
bitField0_ |= 0x00000800;
}
/**
* <pre>
* The taxonomy in use for cat.
* Not supported by Google.
* </pre>
*
* <code>optional .com.google.openrtb.CategoryTaxonomy cattax = 27 [default = IAB_CONTENT_1_0];</code>
*/
private void clearCattax() {
bitField0_ = (bitField0_ & ~0x00000800);
cattax_ = 1;
}
public static final int CAT_FIELD_NUMBER = 7;
private com.google.protobuf.Internal.ProtobufList<java.lang.String> cat_;
/**
* <pre>
* Array of IAB content categories that describe the content.
* The taxonomy to be used is defined by the cattax field.
* Not supported by Google.
* </pre>
*
* <code>repeated string cat = 7;</code>
* @return A list containing the cat.
*/
@java.lang.Override
public java.util.List<java.lang.String> getCatList() {
return cat_;
}
/**
* <pre>
* Array of IAB content categories that describe the content.
* The taxonomy to be used is defined by the cattax field.
* Not supported by Google.
* </pre>
*
* <code>repeated string cat = 7;</code>
* @return The count of cat.
*/
@java.lang.Override
public int getCatCount() {
return cat_.size();
}
/**
* <pre>
* Array of IAB content categories that describe the content.
* The taxonomy to be used is defined by the cattax field.
* Not supported by Google.
* </pre>
*
* <code>repeated string cat = 7;</code>
* @param index The index of the element to return.
* @return The cat at the given index.
*/
@java.lang.Override
public java.lang.String getCat(int index) {
return cat_.get(index);
}
/**
* <pre>
* Array of IAB content categories that describe the content.
* The taxonomy to be used is defined by the cattax field.
* Not supported by Google.
* </pre>
*
* <code>repeated string cat = 7;</code>
* @param index The index of the value to return.
* @return The bytes of the cat at the given index.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getCatBytes(int index) {
return com.google.protobuf.ByteString.copyFromUtf8(
cat_.get(index));
}
private void ensureCatIsMutable() {
com.google.protobuf.Internal.ProtobufList<java.lang.String> tmp =
cat_; if (!tmp.isModifiable()) {
cat_ =
com.google.protobuf.GeneratedMessageLite.mutableCopy(tmp);
}
}
/**
* <pre>
* Array of IAB content categories that describe the content.
* The taxonomy to be used is defined by the cattax field.
* Not supported by Google.
* </pre>
*
* <code>repeated string cat = 7;</code>
* @param index The index to set the value at.
* @param value The cat to set.
*/
private void setCat(
int index, java.lang.String value) {
java.lang.Class<?> valueClass = value.getClass();
ensureCatIsMutable();
cat_.set(index, value);
}
/**
* <pre>
* Array of IAB content categories that describe the content.
* The taxonomy to be used is defined by the cattax field.
* Not supported by Google.
* </pre>
*
* <code>repeated string cat = 7;</code>
* @param value The cat to add.
*/
private void addCat(
java.lang.String value) {
java.lang.Class<?> valueClass = value.getClass();
ensureCatIsMutable();
cat_.add(value);
}
/**
* <pre>
* Array of IAB content categories that describe the content.
* The taxonomy to be used is defined by the cattax field.
* Not supported by Google.
* </pre>
*
* <code>repeated string cat = 7;</code>
* @param values The cat to add.
*/
private void addAllCat(
java.lang.Iterable<java.lang.String> values) {
ensureCatIsMutable();
com.google.protobuf.AbstractMessageLite.addAll(
values, cat_);
}
/**
* <pre>
* Array of IAB content categories that describe the content.
* The taxonomy to be used is defined by the cattax field.
* Not supported by Google.
* </pre>
*
* <code>repeated string cat = 7;</code>
*/
private void clearCat() {
cat_ = com.google.protobuf.GeneratedMessageLite.emptyProtobufList();
}
/**
* <pre>
* Array of IAB content categories that describe the content.
* The taxonomy to be used is defined by the cattax field.
* Not supported by Google.
* </pre>
*
* <code>repeated string cat = 7;</code>
* @param value The bytes of the cat to add.
*/
private void addCatBytes(
com.google.protobuf.ByteString value) {
ensureCatIsMutable();
cat_.add(value.toStringUtf8());
}
public static final int PRODQ_FIELD_NUMBER = 25;
private int prodq_;
/**
* <pre>
* Production quality.
* Supported by Google.
* </pre>
*
* <code>optional .com.google.openrtb.ProductionQuality prodq = 25;</code>
* @return Whether the prodq field is set.
*/
@java.lang.Override
public boolean hasProdq() {
return ((bitField0_ & 0x00001000) != 0);
}
/**
* <pre>
* Production quality.
* Supported by Google.
* </pre>
*
* <code>optional .com.google.openrtb.ProductionQuality prodq = 25;</code>
* @return The prodq.
*/
@java.lang.Override
public com.particles.mes.protos.openrtb.ProductionQuality getProdq() {
com.particles.mes.protos.openrtb.ProductionQuality result = com.particles.mes.protos.openrtb.ProductionQuality.forNumber(prodq_);
return result == null ? com.particles.mes.protos.openrtb.ProductionQuality.QUALITY_UNKNOWN : result;
}
/**
* <pre>
* Production quality.
* Supported by Google.
* </pre>
*
* <code>optional .com.google.openrtb.ProductionQuality prodq = 25;</code>
* @param value The prodq to set.
*/
private void setProdq(com.particles.mes.protos.openrtb.ProductionQuality value) {
prodq_ = value.getNumber();
bitField0_ |= 0x00001000;
}
/**
* <pre>
* Production quality.
* Supported by Google.
* </pre>
*
* <code>optional .com.google.openrtb.ProductionQuality prodq = 25;</code>
*/
private void clearProdq() {
bitField0_ = (bitField0_ & ~0x00001000);
prodq_ = 0;
}
public static final int CONTEXT_FIELD_NUMBER = 20;
private int context_;
/**
* <pre>
* Type of content (for example, game, video or text).
* Not supported by Google.
* </pre>
*
* <code>optional .com.google.openrtb.ContentContext context = 20;</code>
* @return Whether the context field is set.
*/
@java.lang.Override
public boolean hasContext() {
return ((bitField0_ & 0x00002000) != 0);
}
/**
* <pre>
* Type of content (for example, game, video or text).
* Not supported by Google.
* </pre>
*
* <code>optional .com.google.openrtb.ContentContext context = 20;</code>
* @return The context.
*/
@java.lang.Override
public com.particles.mes.protos.openrtb.ContentContext getContext() {
com.particles.mes.protos.openrtb.ContentContext result = com.particles.mes.protos.openrtb.ContentContext.forNumber(context_);
return result == null ? com.particles.mes.protos.openrtb.ContentContext.VIDEO : result;
}
/**
* <pre>
* Type of content (for example, game, video or text).
* Not supported by Google.
* </pre>
*
* <code>optional .com.google.openrtb.ContentContext context = 20;</code>
* @param value The context to set.
*/
private void setContext(com.particles.mes.protos.openrtb.ContentContext value) {
context_ = value.getNumber();
bitField0_ |= 0x00002000;
}
/**
* <pre>
* Type of content (for example, game, video or text).
* Not supported by Google.
* </pre>
*
* <code>optional .com.google.openrtb.ContentContext context = 20;</code>
*/
private void clearContext() {
bitField0_ = (bitField0_ & ~0x00002000);
context_ = 1;
}
public static final int CONTENTRATING_FIELD_NUMBER = 10;
private java.lang.String contentrating_;
/**
* <pre>
* Content rating.
* Possible values: "DV-G", "DV-PG", "DV-T", "DV-MA".
* Supported by Google.
* </pre>
*
* <code>optional string contentrating = 10;</code>
* @return Whether the contentrating field is set.
*/
@java.lang.Override
public boolean hasContentrating() {
return ((bitField0_ & 0x00004000) != 0);
}
/**
* <pre>
* Content rating.
* Possible values: "DV-G", "DV-PG", "DV-T", "DV-MA".
* Supported by Google.
* </pre>
*
* <code>optional string contentrating = 10;</code>
* @return The contentrating.
*/
@java.lang.Override
public java.lang.String getContentrating() {
return contentrating_;
}
/**
* <pre>
* Content rating.
* Possible values: "DV-G", "DV-PG", "DV-T", "DV-MA".
* Supported by Google.
* </pre>
*
* <code>optional string contentrating = 10;</code>
* @return The bytes for contentrating.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getContentratingBytes() {
return com.google.protobuf.ByteString.copyFromUtf8(contentrating_);
}
/**
* <pre>
* Content rating.
* Possible values: "DV-G", "DV-PG", "DV-T", "DV-MA".
* Supported by Google.
* </pre>
*
* <code>optional string contentrating = 10;</code>
* @param value The contentrating to set.
*/
private void setContentrating(
java.lang.String value) {
java.lang.Class<?> valueClass = value.getClass();
bitField0_ |= 0x00004000;
contentrating_ = value;
}
/**
* <pre>
* Content rating.
* Possible values: "DV-G", "DV-PG", "DV-T", "DV-MA".
* Supported by Google.
* </pre>
*
* <code>optional string contentrating = 10;</code>
*/
private void clearContentrating() {
bitField0_ = (bitField0_ & ~0x00004000);
contentrating_ = getDefaultInstance().getContentrating();
}
/**
* <pre>
* Content rating.
* Possible values: "DV-G", "DV-PG", "DV-T", "DV-MA".
* Supported by Google.
* </pre>
*
* <code>optional string contentrating = 10;</code>
* @param value The bytes for contentrating to set.
*/
private void setContentratingBytes(
com.google.protobuf.ByteString value) {
contentrating_ = value.toStringUtf8();
bitField0_ |= 0x00004000;
}
public static final int USERRATING_FIELD_NUMBER = 11;
private java.lang.String userrating_;
/**
* <pre>
* User rating of the content (for example, number of stars or likes).
* Supported by Google.
* </pre>
*
* <code>optional string userrating = 11;</code>
* @return Whether the userrating field is set.
*/
@java.lang.Override
public boolean hasUserrating() {
return ((bitField0_ & 0x00008000) != 0);
}
/**
* <pre>
* User rating of the content (for example, number of stars or likes).
* Supported by Google.
* </pre>
*
* <code>optional string userrating = 11;</code>
* @return The userrating.
*/
@java.lang.Override
public java.lang.String getUserrating() {
return userrating_;
}
/**
* <pre>
* User rating of the content (for example, number of stars or likes).
* Supported by Google.
* </pre>
*
* <code>optional string userrating = 11;</code>
* @return The bytes for userrating.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getUserratingBytes() {
return com.google.protobuf.ByteString.copyFromUtf8(userrating_);
}
/**
* <pre>
* User rating of the content (for example, number of stars or likes).
* Supported by Google.
* </pre>
*
* <code>optional string userrating = 11;</code>
* @param value The userrating to set.
*/
private void setUserrating(
java.lang.String value) {
java.lang.Class<?> valueClass = value.getClass();
bitField0_ |= 0x00008000;
userrating_ = value;
}
/**
* <pre>
* User rating of the content (for example, number of stars or likes).
* Supported by Google.
* </pre>
*
* <code>optional string userrating = 11;</code>
*/
private void clearUserrating() {
bitField0_ = (bitField0_ & ~0x00008000);
userrating_ = getDefaultInstance().getUserrating();
}
/**
* <pre>
* User rating of the content (for example, number of stars or likes).
* Supported by Google.
* </pre>
*
* <code>optional string userrating = 11;</code>
* @param value The bytes for userrating to set.
*/
private void setUserratingBytes(
com.google.protobuf.ByteString value) {
userrating_ = value.toStringUtf8();
bitField0_ |= 0x00008000;
}
public static final int QAGMEDIARATING_FIELD_NUMBER = 17;
private int qagmediarating_;
/**
* <pre>
* Media rating per QAG guidelines.
* Not supported by Google.
* </pre>
*
* <code>optional .com.google.openrtb.QAGMediaRating qagmediarating = 17;</code>
* @return Whether the qagmediarating field is set.
*/
@java.lang.Override
public boolean hasQagmediarating() {
return ((bitField0_ & 0x00010000) != 0);
}
/**
* <pre>
* Media rating per QAG guidelines.
* Not supported by Google.
* </pre>
*
* <code>optional .com.google.openrtb.QAGMediaRating qagmediarating = 17;</code>
* @return The qagmediarating.
*/
@java.lang.Override
public com.particles.mes.protos.openrtb.QAGMediaRating getQagmediarating() {
com.particles.mes.protos.openrtb.QAGMediaRating result = com.particles.mes.protos.openrtb.QAGMediaRating.forNumber(qagmediarating_);
return result == null ? com.particles.mes.protos.openrtb.QAGMediaRating.ALL_AUDIENCES : result;
}
/**
* <pre>
* Media rating per QAG guidelines.
* Not supported by Google.
* </pre>
*
* <code>optional .com.google.openrtb.QAGMediaRating qagmediarating = 17;</code>
* @param value The qagmediarating to set.
*/
private void setQagmediarating(com.particles.mes.protos.openrtb.QAGMediaRating value) {
qagmediarating_ = value.getNumber();
bitField0_ |= 0x00010000;
}
/**
* <pre>
* Media rating per QAG guidelines.
* Not supported by Google.
* </pre>
*
* <code>optional .com.google.openrtb.QAGMediaRating qagmediarating = 17;</code>
*/
private void clearQagmediarating() {
bitField0_ = (bitField0_ & ~0x00010000);
qagmediarating_ = 1;
}
public static final int KEYWORDS_FIELD_NUMBER = 9;
private java.lang.String keywords_;
/**
* <pre>
* Comma separated list of keywords describing the content.
* Not supported by Google.
* </pre>
*
* <code>optional string keywords = 9;</code>
* @return Whether the keywords field is set.
*/
@java.lang.Override
public boolean hasKeywords() {
return ((bitField0_ & 0x00020000) != 0);
}
/**
* <pre>
* Comma separated list of keywords describing the content.
* Not supported by Google.
* </pre>
*
* <code>optional string keywords = 9;</code>
* @return The keywords.
*/
@java.lang.Override
public java.lang.String getKeywords() {
return keywords_;
}
/**
* <pre>
* Comma separated list of keywords describing the content.
* Not supported by Google.
* </pre>
*
* <code>optional string keywords = 9;</code>
* @return The bytes for keywords.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getKeywordsBytes() {
return com.google.protobuf.ByteString.copyFromUtf8(keywords_);
}
/**
* <pre>
* Comma separated list of keywords describing the content.
* Not supported by Google.
* </pre>
*
* <code>optional string keywords = 9;</code>
* @param value The keywords to set.
*/
private void setKeywords(
java.lang.String value) {
java.lang.Class<?> valueClass = value.getClass();
bitField0_ |= 0x00020000;
keywords_ = value;
}
/**
* <pre>
* Comma separated list of keywords describing the content.
* Not supported by Google.
* </pre>
*
* <code>optional string keywords = 9;</code>
*/
private void clearKeywords() {
bitField0_ = (bitField0_ & ~0x00020000);
keywords_ = getDefaultInstance().getKeywords();
}
/**
* <pre>
* Comma separated list of keywords describing the content.
* Not supported by Google.
* </pre>
*
* <code>optional string keywords = 9;</code>
* @param value The bytes for keywords to set.
*/
private void setKeywordsBytes(
com.google.protobuf.ByteString value) {
keywords_ = value.toStringUtf8();
bitField0_ |= 0x00020000;
}
public static final int LIVESTREAM_FIELD_NUMBER = 13;
private boolean livestream_;
/**
* <pre>
* false = not live, true = content is live (for example, stream, live
* blog).
* Supported by Google.
* </pre>
*
* <code>optional bool livestream = 13;</code>
* @return Whether the livestream field is set.
*/
@java.lang.Override
public boolean hasLivestream() {
return ((bitField0_ & 0x00040000) != 0);
}
/**
* <pre>
* false = not live, true = content is live (for example, stream, live
* blog).
* Supported by Google.
* </pre>
*
* <code>optional bool livestream = 13;</code>
* @return The livestream.
*/
@java.lang.Override
public boolean getLivestream() {
return livestream_;
}
/**
* <pre>
* false = not live, true = content is live (for example, stream, live
* blog).
* Supported by Google.
* </pre>
*
* <code>optional bool livestream = 13;</code>
* @param value The livestream to set.
*/
private void setLivestream(boolean value) {
bitField0_ |= 0x00040000;
livestream_ = value;
}
/**
* <pre>
* false = not live, true = content is live (for example, stream, live
* blog).
* Supported by Google.
* </pre>
*
* <code>optional bool livestream = 13;</code>
*/
private void clearLivestream() {
bitField0_ = (bitField0_ & ~0x00040000);
livestream_ = false;
}
public static final int SOURCERELATIONSHIP_FIELD_NUMBER = 14;
private boolean sourcerelationship_;
/**
* <pre>
* false = indirect, true = direct.
* Not supported by Google.
* </pre>
*
* <code>optional bool sourcerelationship = 14;</code>
* @return Whether the sourcerelationship field is set.
*/
@java.lang.Override
public boolean hasSourcerelationship() {
return ((bitField0_ & 0x00080000) != 0);
}
/**
* <pre>
* false = indirect, true = direct.
* Not supported by Google.
* </pre>
*
* <code>optional bool sourcerelationship = 14;</code>
* @return The sourcerelationship.
*/
@java.lang.Override
public boolean getSourcerelationship() {
return sourcerelationship_;
}
/**
* <pre>
* false = indirect, true = direct.
* Not supported by Google.
* </pre>
*
* <code>optional bool sourcerelationship = 14;</code>
* @param value The sourcerelationship to set.
*/
private void setSourcerelationship(boolean value) {
bitField0_ |= 0x00080000;
sourcerelationship_ = value;
}
/**
* <pre>
* false = indirect, true = direct.
* Not supported by Google.
* </pre>
*
* <code>optional bool sourcerelationship = 14;</code>
*/
private void clearSourcerelationship() {
bitField0_ = (bitField0_ & ~0x00080000);
sourcerelationship_ = false;
}
public static final int LEN_FIELD_NUMBER = 16;
private int len_;
/**
* <pre>
* Length of content in seconds; appropriate for video or audio.
* Supported by Google.
* </pre>
*
* <code>optional int32 len = 16;</code>
* @return Whether the len field is set.
*/
@java.lang.Override
public boolean hasLen() {
return ((bitField0_ & 0x00100000) != 0);
}
/**
* <pre>
* Length of content in seconds; appropriate for video or audio.
* Supported by Google.
* </pre>
*
* <code>optional int32 len = 16;</code>
* @return The len.
*/
@java.lang.Override
public int getLen() {
return len_;
}
/**
* <pre>
* Length of content in seconds; appropriate for video or audio.
* Supported by Google.
* </pre>
*
* <code>optional int32 len = 16;</code>
* @param value The len to set.
*/
private void setLen(int value) {
bitField0_ |= 0x00100000;
len_ = value;
}
/**
* <pre>
* Length of content in seconds; appropriate for video or audio.
* Supported by Google.
* </pre>
*
* <code>optional int32 len = 16;</code>
*/
private void clearLen() {
bitField0_ = (bitField0_ & ~0x00100000);
len_ = 0;
}
public static final int LANGUAGE_FIELD_NUMBER = 19;
private java.lang.String language_;
/**
* <pre>
* Content language using ISO-639-1-alpha-2.
* Only one of language or langb should be present.
* Supported by Google.
* </pre>
*
* <code>optional string language = 19;</code>
* @return Whether the language field is set.
*/
@java.lang.Override
public boolean hasLanguage() {
return ((bitField0_ & 0x00200000) != 0);
}
/**
* <pre>
* Content language using ISO-639-1-alpha-2.
* Only one of language or langb should be present.
* Supported by Google.
* </pre>
*
* <code>optional string language = 19;</code>
* @return The language.
*/
@java.lang.Override
public java.lang.String getLanguage() {
return language_;
}
/**
* <pre>
* Content language using ISO-639-1-alpha-2.
* Only one of language or langb should be present.
* Supported by Google.
* </pre>
*
* <code>optional string language = 19;</code>
* @return The bytes for language.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getLanguageBytes() {
return com.google.protobuf.ByteString.copyFromUtf8(language_);
}
/**
* <pre>
* Content language using ISO-639-1-alpha-2.
* Only one of language or langb should be present.
* Supported by Google.
* </pre>
*
* <code>optional string language = 19;</code>
* @param value The language to set.
*/
private void setLanguage(
java.lang.String value) {
java.lang.Class<?> valueClass = value.getClass();
bitField0_ |= 0x00200000;
language_ = value;
}
/**
* <pre>
* Content language using ISO-639-1-alpha-2.
* Only one of language or langb should be present.
* Supported by Google.
* </pre>
*
* <code>optional string language = 19;</code>
*/
private void clearLanguage() {
bitField0_ = (bitField0_ & ~0x00200000);
language_ = getDefaultInstance().getLanguage();
}
/**
* <pre>
* Content language using ISO-639-1-alpha-2.
* Only one of language or langb should be present.
* Supported by Google.
* </pre>
*
* <code>optional string language = 19;</code>
* @param value The bytes for language to set.
*/
private void setLanguageBytes(
com.google.protobuf.ByteString value) {
language_ = value.toStringUtf8();
bitField0_ |= 0x00200000;
}
public static final int LANGB_FIELD_NUMBER = 29;
private java.lang.String langb_;
/**
* <pre>
* Content language using IETF BCP 47.
* Only one of language or langb should be present.
* Not supported by Google.
* </pre>
*
* <code>optional string langb = 29;</code>
* @return Whether the langb field is set.
*/
@java.lang.Override
public boolean hasLangb() {
return ((bitField0_ & 0x00400000) != 0);
}
/**
* <pre>
* Content language using IETF BCP 47.
* Only one of language or langb should be present.
* Not supported by Google.
* </pre>
*
* <code>optional string langb = 29;</code>
* @return The langb.
*/
@java.lang.Override
public java.lang.String getLangb() {
return langb_;
}
/**
* <pre>
* Content language using IETF BCP 47.
* Only one of language or langb should be present.
* Not supported by Google.
* </pre>
*
* <code>optional string langb = 29;</code>
* @return The bytes for langb.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getLangbBytes() {
return com.google.protobuf.ByteString.copyFromUtf8(langb_);
}
/**
* <pre>
* Content language using IETF BCP 47.
* Only one of language or langb should be present.
* Not supported by Google.
* </pre>
*
* <code>optional string langb = 29;</code>
* @param value The langb to set.
*/
private void setLangb(
java.lang.String value) {
java.lang.Class<?> valueClass = value.getClass();
bitField0_ |= 0x00400000;
langb_ = value;
}
/**
* <pre>
* Content language using IETF BCP 47.
* Only one of language or langb should be present.
* Not supported by Google.
* </pre>
*
* <code>optional string langb = 29;</code>
*/
private void clearLangb() {
bitField0_ = (bitField0_ & ~0x00400000);
langb_ = getDefaultInstance().getLangb();
}
/**
* <pre>
* Content language using IETF BCP 47.
* Only one of language or langb should be present.
* Not supported by Google.
* </pre>
*
* <code>optional string langb = 29;</code>
* @param value The bytes for langb to set.
*/
private void setLangbBytes(
com.google.protobuf.ByteString value) {
langb_ = value.toStringUtf8();
bitField0_ |= 0x00400000;
}
public static final int EMBEDDABLE_FIELD_NUMBER = 18;
private boolean embeddable_;
/**
* <pre>
* Indicator of whether or not the content is embeddable (for example, an
* embeddable video player).
* Not supported by Google.
* </pre>
*
* <code>optional bool embeddable = 18;</code>
* @return Whether the embeddable field is set.
*/
@java.lang.Override
public boolean hasEmbeddable() {
return ((bitField0_ & 0x00800000) != 0);
}
/**
* <pre>
* Indicator of whether or not the content is embeddable (for example, an
* embeddable video player).
* Not supported by Google.
* </pre>
*
* <code>optional bool embeddable = 18;</code>
* @return The embeddable.
*/
@java.lang.Override
public boolean getEmbeddable() {
return embeddable_;
}
/**
* <pre>
* Indicator of whether or not the content is embeddable (for example, an
* embeddable video player).
* Not supported by Google.
* </pre>
*
* <code>optional bool embeddable = 18;</code>
* @param value The embeddable to set.
*/
private void setEmbeddable(boolean value) {
bitField0_ |= 0x00800000;
embeddable_ = value;
}
/**
* <pre>
* Indicator of whether or not the content is embeddable (for example, an
* embeddable video player).
* Not supported by Google.
* </pre>
*
* <code>optional bool embeddable = 18;</code>
*/
private void clearEmbeddable() {
bitField0_ = (bitField0_ & ~0x00800000);
embeddable_ = false;
}
public static final int DATA_FIELD_NUMBER = 28;
private com.google.protobuf.Internal.ProtobufList<com.particles.mes.protos.openrtb.BidRequest.Data> data_;
/**
* <pre>
* Additional content data. Each object represents a different data source.
* Supported by Google. Used for Publisher Provided Signals:
* https://support.google.com/admanager/answer/12451124
* </pre>
*
* <code>repeated .com.google.openrtb.BidRequest.Data data = 28;</code>
*/
@java.lang.Override
public java.util.List<com.particles.mes.protos.openrtb.BidRequest.Data> getDataList() {
return data_;
}
/**
* <pre>
* Additional content data. Each object represents a different data source.
* Supported by Google. Used for Publisher Provided Signals:
* https://support.google.com/admanager/answer/12451124
* </pre>
*
* <code>repeated .com.google.openrtb.BidRequest.Data data = 28;</code>
*/
public java.util.List<? extends com.particles.mes.protos.openrtb.BidRequest.DataOrBuilder>
getDataOrBuilderList() {
return data_;
}
/**
* <pre>
* Additional content data. Each object represents a different data source.
* Supported by Google. Used for Publisher Provided Signals:
* https://support.google.com/admanager/answer/12451124
* </pre>
*
* <code>repeated .com.google.openrtb.BidRequest.Data data = 28;</code>
*/
@java.lang.Override
public int getDataCount() {
return data_.size();
}
/**
* <pre>
* Additional content data. Each object represents a different data source.
* Supported by Google. Used for Publisher Provided Signals:
* https://support.google.com/admanager/answer/12451124
* </pre>
*
* <code>repeated .com.google.openrtb.BidRequest.Data data = 28;</code>
*/
@java.lang.Override
public com.particles.mes.protos.openrtb.BidRequest.Data getData(int index) {
return data_.get(index);
}
/**
* <pre>
* Additional content data. Each object represents a different data source.
* Supported by Google. Used for Publisher Provided Signals:
* https://support.google.com/admanager/answer/12451124
* </pre>
*
* <code>repeated .com.google.openrtb.BidRequest.Data data = 28;</code>
*/
public com.particles.mes.protos.openrtb.BidRequest.DataOrBuilder getDataOrBuilder(
int index) {
return data_.get(index);
}
private void ensureDataIsMutable() {
com.google.protobuf.Internal.ProtobufList<com.particles.mes.protos.openrtb.BidRequest.Data> tmp = data_;
if (!tmp.isModifiable()) {
data_ =
com.google.protobuf.GeneratedMessageLite.mutableCopy(tmp);
}
}
/**
* <pre>
* Additional content data. Each object represents a different data source.
* Supported by Google. Used for Publisher Provided Signals:
* https://support.google.com/admanager/answer/12451124
* </pre>
*
* <code>repeated .com.google.openrtb.BidRequest.Data data = 28;</code>
*/
private void setData(
int index, com.particles.mes.protos.openrtb.BidRequest.Data value) {
value.getClass();
ensureDataIsMutable();
data_.set(index, value);
}
/**
* <pre>
* Additional content data. Each object represents a different data source.
* Supported by Google. Used for Publisher Provided Signals:
* https://support.google.com/admanager/answer/12451124
* </pre>
*
* <code>repeated .com.google.openrtb.BidRequest.Data data = 28;</code>
*/
private void addData(com.particles.mes.protos.openrtb.BidRequest.Data value) {
value.getClass();
ensureDataIsMutable();
data_.add(value);
}
/**
* <pre>
* Additional content data. Each object represents a different data source.
* Supported by Google. Used for Publisher Provided Signals:
* https://support.google.com/admanager/answer/12451124
* </pre>
*
* <code>repeated .com.google.openrtb.BidRequest.Data data = 28;</code>
*/
private void addData(
int index, com.particles.mes.protos.openrtb.BidRequest.Data value) {
value.getClass();
ensureDataIsMutable();
data_.add(index, value);
}
/**
* <pre>
* Additional content data. Each object represents a different data source.
* Supported by Google. Used for Publisher Provided Signals:
* https://support.google.com/admanager/answer/12451124
* </pre>
*
* <code>repeated .com.google.openrtb.BidRequest.Data data = 28;</code>
*/
private void addAllData(
java.lang.Iterable<? extends com.particles.mes.protos.openrtb.BidRequest.Data> values) {
ensureDataIsMutable();
com.google.protobuf.AbstractMessageLite.addAll(
values, data_);
}
/**
* <pre>
* Additional content data. Each object represents a different data source.
* Supported by Google. Used for Publisher Provided Signals:
* https://support.google.com/admanager/answer/12451124
* </pre>
*
* <code>repeated .com.google.openrtb.BidRequest.Data data = 28;</code>
*/
private void clearData() {
data_ = emptyProtobufList();
}
/**
* <pre>
* Additional content data. Each object represents a different data source.
* Supported by Google. Used for Publisher Provided Signals:
* https://support.google.com/admanager/answer/12451124
* </pre>
*
* <code>repeated .com.google.openrtb.BidRequest.Data data = 28;</code>
*/
private void removeData(int index) {
ensureDataIsMutable();
data_.remove(index);
}
public static final int NETWORK_FIELD_NUMBER = 30;
private com.particles.mes.protos.openrtb.BidRequest.Content.Network network_;
/**
* <pre>
* Details about the network the content is on.
* Not supported by Google.
* </pre>
*
* <code>optional .com.google.openrtb.BidRequest.Content.Network network = 30;</code>
*/
@java.lang.Override
public boolean hasNetwork() {
return ((bitField0_ & 0x01000000) != 0);
}
/**
* <pre>
* Details about the network the content is on.
* Not supported by Google.
* </pre>
*
* <code>optional .com.google.openrtb.BidRequest.Content.Network network = 30;</code>
*/
@java.lang.Override
public com.particles.mes.protos.openrtb.BidRequest.Content.Network getNetwork() {
return network_ == null ? com.particles.mes.protos.openrtb.BidRequest.Content.Network.getDefaultInstance() : network_;
}
/**
* <pre>
* Details about the network the content is on.
* Not supported by Google.
* </pre>
*
* <code>optional .com.google.openrtb.BidRequest.Content.Network network = 30;</code>
*/
private void setNetwork(com.particles.mes.protos.openrtb.BidRequest.Content.Network value) {
value.getClass();
network_ = value;
bitField0_ |= 0x01000000;
}
/**
* <pre>
* Details about the network the content is on.
* Not supported by Google.
* </pre>
*
* <code>optional .com.google.openrtb.BidRequest.Content.Network network = 30;</code>
*/
@java.lang.SuppressWarnings({"ReferenceEquality"})
private void mergeNetwork(com.particles.mes.protos.openrtb.BidRequest.Content.Network value) {
value.getClass();
if (network_ != null &&
network_ != com.particles.mes.protos.openrtb.BidRequest.Content.Network.getDefaultInstance()) {
network_ =
com.particles.mes.protos.openrtb.BidRequest.Content.Network.newBuilder(network_).mergeFrom(value).buildPartial();
} else {
network_ = value;
}
bitField0_ |= 0x01000000;
}
/**
* <pre>
* Details about the network the content is on.
* Not supported by Google.
* </pre>
*
* <code>optional .com.google.openrtb.BidRequest.Content.Network network = 30;</code>
*/
private void clearNetwork() { network_ = null;
bitField0_ = (bitField0_ & ~0x01000000);
}
public static final int CHANNEL_FIELD_NUMBER = 31;
private com.particles.mes.protos.openrtb.BidRequest.Content.Channel channel_;
/**
* <pre>
* Details about the channel the content is on.
* Not supported by Google.
* </pre>
*
* <code>optional .com.google.openrtb.BidRequest.Content.Channel channel = 31;</code>
*/
@java.lang.Override
public boolean hasChannel() {
return ((bitField0_ & 0x02000000) != 0);
}
/**
* <pre>
* Details about the channel the content is on.
* Not supported by Google.
* </pre>
*
* <code>optional .com.google.openrtb.BidRequest.Content.Channel channel = 31;</code>
*/
@java.lang.Override
public com.particles.mes.protos.openrtb.BidRequest.Content.Channel getChannel() {
return channel_ == null ? com.particles.mes.protos.openrtb.BidRequest.Content.Channel.getDefaultInstance() : channel_;
}
/**
* <pre>
* Details about the channel the content is on.
* Not supported by Google.
* </pre>
*
* <code>optional .com.google.openrtb.BidRequest.Content.Channel channel = 31;</code>
*/
private void setChannel(com.particles.mes.protos.openrtb.BidRequest.Content.Channel value) {
value.getClass();
channel_ = value;
bitField0_ |= 0x02000000;
}
/**
* <pre>
* Details about the channel the content is on.
* Not supported by Google.
* </pre>
*
* <code>optional .com.google.openrtb.BidRequest.Content.Channel channel = 31;</code>
*/
@java.lang.SuppressWarnings({"ReferenceEquality"})
private void mergeChannel(com.particles.mes.protos.openrtb.BidRequest.Content.Channel value) {
value.getClass();
if (channel_ != null &&
channel_ != com.particles.mes.protos.openrtb.BidRequest.Content.Channel.getDefaultInstance()) {
channel_ =
com.particles.mes.protos.openrtb.BidRequest.Content.Channel.newBuilder(channel_).mergeFrom(value).buildPartial();
} else {
channel_ = value;
}
bitField0_ |= 0x02000000;
}
/**
* <pre>
* Details about the channel the content is on.
* Not supported by Google.
* </pre>
*
* <code>optional .com.google.openrtb.BidRequest.Content.Channel channel = 31;</code>
*/
private void clearChannel() { channel_ = null;
bitField0_ = (bitField0_ & ~0x02000000);
}
public static final int VIDEOQUALITY_FIELD_NUMBER = 8;
private int videoquality_;
/**
* <pre>
* DEPRECATED in OpenRTB 2.4+. Prefer the field <code>prodq</code>.
* Video quality per IAB's classification.
* Not supported by Google.
* </pre>
*
* <code>optional .com.google.openrtb.ProductionQuality videoquality = 8 [deprecated = true];</code>
* @deprecated com.google.openrtb.BidRequest.Content.videoquality is deprecated.
* See openrtb/openrtb-v26.proto;l=1031
* @return Whether the videoquality field is set.
*/
@java.lang.Override
@java.lang.Deprecated public boolean hasVideoquality() {
return ((bitField0_ & 0x04000000) != 0);
}
/**
* <pre>
* DEPRECATED in OpenRTB 2.4+. Prefer the field <code>prodq</code>.
* Video quality per IAB's classification.
* Not supported by Google.
* </pre>
*
* <code>optional .com.google.openrtb.ProductionQuality videoquality = 8 [deprecated = true];</code>
* @deprecated com.google.openrtb.BidRequest.Content.videoquality is deprecated.
* See openrtb/openrtb-v26.proto;l=1031
* @return The videoquality.
*/
@java.lang.Override
@java.lang.Deprecated public com.particles.mes.protos.openrtb.ProductionQuality getVideoquality() {
com.particles.mes.protos.openrtb.ProductionQuality result = com.particles.mes.protos.openrtb.ProductionQuality.forNumber(videoquality_);
return result == null ? com.particles.mes.protos.openrtb.ProductionQuality.QUALITY_UNKNOWN : result;
}
/**
* <pre>
* DEPRECATED in OpenRTB 2.4+. Prefer the field <code>prodq</code>.
* Video quality per IAB's classification.
* Not supported by Google.
* </pre>
*
* <code>optional .com.google.openrtb.ProductionQuality videoquality = 8 [deprecated = true];</code>
* @deprecated com.google.openrtb.BidRequest.Content.videoquality is deprecated.
* See openrtb/openrtb-v26.proto;l=1031
* @param value The videoquality to set.
*/
private void setVideoquality(com.particles.mes.protos.openrtb.ProductionQuality value) {
videoquality_ = value.getNumber();
bitField0_ |= 0x04000000;
}
/**
* <pre>
* DEPRECATED in OpenRTB 2.4+. Prefer the field <code>prodq</code>.
* Video quality per IAB's classification.
* Not supported by Google.
* </pre>
*
* <code>optional .com.google.openrtb.ProductionQuality videoquality = 8 [deprecated = true];</code>
* @deprecated com.google.openrtb.BidRequest.Content.videoquality is deprecated.
* See openrtb/openrtb-v26.proto;l=1031
*/
private void clearVideoquality() {
bitField0_ = (bitField0_ & ~0x04000000);
videoquality_ = 0;
}
public static com.particles.mes.protos.openrtb.BidRequest.Content parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, data);
}
public static com.particles.mes.protos.openrtb.BidRequest.Content parseFrom(
java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, data, extensionRegistry);
}
public static com.particles.mes.protos.openrtb.BidRequest.Content parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, data);
}
public static com.particles.mes.protos.openrtb.BidRequest.Content parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, data, extensionRegistry);
}
public static com.particles.mes.protos.openrtb.BidRequest.Content parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, data);
}
public static com.particles.mes.protos.openrtb.BidRequest.Content parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, data, extensionRegistry);
}
public static com.particles.mes.protos.openrtb.BidRequest.Content parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, input);
}
public static com.particles.mes.protos.openrtb.BidRequest.Content parseFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, input, extensionRegistry);
}
public static com.particles.mes.protos.openrtb.BidRequest.Content parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return parseDelimitedFrom(DEFAULT_INSTANCE, input);
}
public static com.particles.mes.protos.openrtb.BidRequest.Content parseDelimitedFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return parseDelimitedFrom(DEFAULT_INSTANCE, input, extensionRegistry);
}
public static com.particles.mes.protos.openrtb.BidRequest.Content parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, input);
}
public static com.particles.mes.protos.openrtb.BidRequest.Content parseFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, input, extensionRegistry);
}
public static Builder newBuilder() {
return (Builder) DEFAULT_INSTANCE.createBuilder();
}
public static Builder newBuilder(com.particles.mes.protos.openrtb.BidRequest.Content prototype) {
return (Builder) DEFAULT_INSTANCE.createBuilder(prototype);
}
/**
* <pre>
* OpenRTB 2.0: This object describes the content in which the impression
* will appear, which may be syndicated or non-syndicated content.
* This object may be useful when syndicated content contains impressions and
* does not necessarily match the publisher's general content.
* The exchange might or might not have knowledge of the page where the
* content is running, as a result of the syndication method.
* For example might be a video impression embedded in an iframe on an
* unknown web property or device.
* </pre>
*
* Protobuf type {@code com.google.openrtb.BidRequest.Content}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageLite.ExtendableBuilder<
com.particles.mes.protos.openrtb.BidRequest.Content, Builder> implements
// @@protoc_insertion_point(builder_implements:com.google.openrtb.BidRequest.Content)
com.particles.mes.protos.openrtb.BidRequest.ContentOrBuilder {
// Construct using com.particles.mes.protos.openrtb.BidRequest.Content.newBuilder()
private Builder() {
super(DEFAULT_INSTANCE);
}
/**
* <pre>
* ID uniquely identifying the content.
* Not supported by Google.
* </pre>
*
* <code>optional string id = 1;</code>
* @return Whether the id field is set.
*/
@java.lang.Override
public boolean hasId() {
return instance.hasId();
}
/**
* <pre>
* ID uniquely identifying the content.
* Not supported by Google.
* </pre>
*
* <code>optional string id = 1;</code>
* @return The id.
*/
@java.lang.Override
public java.lang.String getId() {
return instance.getId();
}
/**
* <pre>
* ID uniquely identifying the content.
* Not supported by Google.
* </pre>
*
* <code>optional string id = 1;</code>
* @return The bytes for id.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getIdBytes() {
return instance.getIdBytes();
}
/**
* <pre>
* ID uniquely identifying the content.
* Not supported by Google.
* </pre>
*
* <code>optional string id = 1;</code>
* @param value The id to set.
* @return This builder for chaining.
*/
public Builder setId(
java.lang.String value) {
copyOnWrite();
instance.setId(value);
return this;
}
/**
* <pre>
* ID uniquely identifying the content.
* Not supported by Google.
* </pre>
*
* <code>optional string id = 1;</code>
* @return This builder for chaining.
*/
public Builder clearId() {
copyOnWrite();
instance.clearId();
return this;
}
/**
* <pre>
* ID uniquely identifying the content.
* Not supported by Google.
* </pre>
*
* <code>optional string id = 1;</code>
* @param value The bytes for id to set.
* @return This builder for chaining.
*/
public Builder setIdBytes(
com.google.protobuf.ByteString value) {
copyOnWrite();
instance.setIdBytes(value);
return this;
}
/**
* <pre>
* Content episode number (typically applies to video content).
* Not supported by Google.
* </pre>
*
* <code>optional int32 episode = 2;</code>
* @return Whether the episode field is set.
*/
@java.lang.Override
public boolean hasEpisode() {
return instance.hasEpisode();
}
/**
* <pre>
* Content episode number (typically applies to video content).
* Not supported by Google.
* </pre>
*
* <code>optional int32 episode = 2;</code>
* @return The episode.
*/
@java.lang.Override
public int getEpisode() {
return instance.getEpisode();
}
/**
* <pre>
* Content episode number (typically applies to video content).
* Not supported by Google.
* </pre>
*
* <code>optional int32 episode = 2;</code>
* @param value The episode to set.
* @return This builder for chaining.
*/
public Builder setEpisode(int value) {
copyOnWrite();
instance.setEpisode(value);
return this;
}
/**
* <pre>
* Content episode number (typically applies to video content).
* Not supported by Google.
* </pre>
*
* <code>optional int32 episode = 2;</code>
* @return This builder for chaining.
*/
public Builder clearEpisode() {
copyOnWrite();
instance.clearEpisode();
return this;
}
/**
* <pre>
* Content title.
* Video Examples: "Search Committee" (television), "A New Hope" (movie),
* or "Endgame" (made for web).
* Non-Video Example: "Why an Antarctic Glacier Is Melting So Quickly"
* (Time magazine article).
* Not supported by Google.
* </pre>
*
* <code>optional string title = 3;</code>
* @return Whether the title field is set.
*/
@java.lang.Override
public boolean hasTitle() {
return instance.hasTitle();
}
/**
* <pre>
* Content title.
* Video Examples: "Search Committee" (television), "A New Hope" (movie),
* or "Endgame" (made for web).
* Non-Video Example: "Why an Antarctic Glacier Is Melting So Quickly"
* (Time magazine article).
* Not supported by Google.
* </pre>
*
* <code>optional string title = 3;</code>
* @return The title.
*/
@java.lang.Override
public java.lang.String getTitle() {
return instance.getTitle();
}
/**
* <pre>
* Content title.
* Video Examples: "Search Committee" (television), "A New Hope" (movie),
* or "Endgame" (made for web).
* Non-Video Example: "Why an Antarctic Glacier Is Melting So Quickly"
* (Time magazine article).
* Not supported by Google.
* </pre>
*
* <code>optional string title = 3;</code>
* @return The bytes for title.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getTitleBytes() {
return instance.getTitleBytes();
}
/**
* <pre>
* Content title.
* Video Examples: "Search Committee" (television), "A New Hope" (movie),
* or "Endgame" (made for web).
* Non-Video Example: "Why an Antarctic Glacier Is Melting So Quickly"
* (Time magazine article).
* Not supported by Google.
* </pre>
*
* <code>optional string title = 3;</code>
* @param value The title to set.
* @return This builder for chaining.
*/
public Builder setTitle(
java.lang.String value) {
copyOnWrite();
instance.setTitle(value);
return this;
}
/**
* <pre>
* Content title.
* Video Examples: "Search Committee" (television), "A New Hope" (movie),
* or "Endgame" (made for web).
* Non-Video Example: "Why an Antarctic Glacier Is Melting So Quickly"
* (Time magazine article).
* Not supported by Google.
* </pre>
*
* <code>optional string title = 3;</code>
* @return This builder for chaining.
*/
public Builder clearTitle() {
copyOnWrite();
instance.clearTitle();
return this;
}
/**
* <pre>
* Content title.
* Video Examples: "Search Committee" (television), "A New Hope" (movie),
* or "Endgame" (made for web).
* Non-Video Example: "Why an Antarctic Glacier Is Melting So Quickly"
* (Time magazine article).
* Not supported by Google.
* </pre>
*
* <code>optional string title = 3;</code>
* @param value The bytes for title to set.
* @return This builder for chaining.
*/
public Builder setTitleBytes(
com.google.protobuf.ByteString value) {
copyOnWrite();
instance.setTitleBytes(value);
return this;
}
/**
* <pre>
* Content series.
* Video Examples: "The Office" (television), "Star Wars" (movie),
* or "Arby 'N' The Chief" (made for web).
* Non-Video Example: "Ecocentric" (Time Magazine blog).
* Not supported by Google.
* </pre>
*
* <code>optional string series = 4;</code>
* @return Whether the series field is set.
*/
@java.lang.Override
public boolean hasSeries() {
return instance.hasSeries();
}
/**
* <pre>
* Content series.
* Video Examples: "The Office" (television), "Star Wars" (movie),
* or "Arby 'N' The Chief" (made for web).
* Non-Video Example: "Ecocentric" (Time Magazine blog).
* Not supported by Google.
* </pre>
*
* <code>optional string series = 4;</code>
* @return The series.
*/
@java.lang.Override
public java.lang.String getSeries() {
return instance.getSeries();
}
/**
* <pre>
* Content series.
* Video Examples: "The Office" (television), "Star Wars" (movie),
* or "Arby 'N' The Chief" (made for web).
* Non-Video Example: "Ecocentric" (Time Magazine blog).
* Not supported by Google.
* </pre>
*
* <code>optional string series = 4;</code>
* @return The bytes for series.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getSeriesBytes() {
return instance.getSeriesBytes();
}
/**
* <pre>
* Content series.
* Video Examples: "The Office" (television), "Star Wars" (movie),
* or "Arby 'N' The Chief" (made for web).
* Non-Video Example: "Ecocentric" (Time Magazine blog).
* Not supported by Google.
* </pre>
*
* <code>optional string series = 4;</code>
* @param value The series to set.
* @return This builder for chaining.
*/
public Builder setSeries(
java.lang.String value) {
copyOnWrite();
instance.setSeries(value);
return this;
}
/**
* <pre>
* Content series.
* Video Examples: "The Office" (television), "Star Wars" (movie),
* or "Arby 'N' The Chief" (made for web).
* Non-Video Example: "Ecocentric" (Time Magazine blog).
* Not supported by Google.
* </pre>
*
* <code>optional string series = 4;</code>
* @return This builder for chaining.
*/
public Builder clearSeries() {
copyOnWrite();
instance.clearSeries();
return this;
}
/**
* <pre>
* Content series.
* Video Examples: "The Office" (television), "Star Wars" (movie),
* or "Arby 'N' The Chief" (made for web).
* Non-Video Example: "Ecocentric" (Time Magazine blog).
* Not supported by Google.
* </pre>
*
* <code>optional string series = 4;</code>
* @param value The bytes for series to set.
* @return This builder for chaining.
*/
public Builder setSeriesBytes(
com.google.protobuf.ByteString value) {
copyOnWrite();
instance.setSeriesBytes(value);
return this;
}
/**
* <pre>
* Content season; typically for video content (for example, "Season 3").
* Not supported by Google.
* </pre>
*
* <code>optional string season = 5;</code>
* @return Whether the season field is set.
*/
@java.lang.Override
public boolean hasSeason() {
return instance.hasSeason();
}
/**
* <pre>
* Content season; typically for video content (for example, "Season 3").
* Not supported by Google.
* </pre>
*
* <code>optional string season = 5;</code>
* @return The season.
*/
@java.lang.Override
public java.lang.String getSeason() {
return instance.getSeason();
}
/**
* <pre>
* Content season; typically for video content (for example, "Season 3").
* Not supported by Google.
* </pre>
*
* <code>optional string season = 5;</code>
* @return The bytes for season.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getSeasonBytes() {
return instance.getSeasonBytes();
}
/**
* <pre>
* Content season; typically for video content (for example, "Season 3").
* Not supported by Google.
* </pre>
*
* <code>optional string season = 5;</code>
* @param value The season to set.
* @return This builder for chaining.
*/
public Builder setSeason(
java.lang.String value) {
copyOnWrite();
instance.setSeason(value);
return this;
}
/**
* <pre>
* Content season; typically for video content (for example, "Season 3").
* Not supported by Google.
* </pre>
*
* <code>optional string season = 5;</code>
* @return This builder for chaining.
*/
public Builder clearSeason() {
copyOnWrite();
instance.clearSeason();
return this;
}
/**
* <pre>
* Content season; typically for video content (for example, "Season 3").
* Not supported by Google.
* </pre>
*
* <code>optional string season = 5;</code>
* @param value The bytes for season to set.
* @return This builder for chaining.
*/
public Builder setSeasonBytes(
com.google.protobuf.ByteString value) {
copyOnWrite();
instance.setSeasonBytes(value);
return this;
}
/**
* <pre>
* Artist credited with the content.
* Not supported by Google.
* </pre>
*
* <code>optional string artist = 21;</code>
* @return Whether the artist field is set.
*/
@java.lang.Override
public boolean hasArtist() {
return instance.hasArtist();
}
/**
* <pre>
* Artist credited with the content.
* Not supported by Google.
* </pre>
*
* <code>optional string artist = 21;</code>
* @return The artist.
*/
@java.lang.Override
public java.lang.String getArtist() {
return instance.getArtist();
}
/**
* <pre>
* Artist credited with the content.
* Not supported by Google.
* </pre>
*
* <code>optional string artist = 21;</code>
* @return The bytes for artist.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getArtistBytes() {
return instance.getArtistBytes();
}
/**
* <pre>
* Artist credited with the content.
* Not supported by Google.
* </pre>
*
* <code>optional string artist = 21;</code>
* @param value The artist to set.
* @return This builder for chaining.
*/
public Builder setArtist(
java.lang.String value) {
copyOnWrite();
instance.setArtist(value);
return this;
}
/**
* <pre>
* Artist credited with the content.
* Not supported by Google.
* </pre>
*
* <code>optional string artist = 21;</code>
* @return This builder for chaining.
*/
public Builder clearArtist() {
copyOnWrite();
instance.clearArtist();
return this;
}
/**
* <pre>
* Artist credited with the content.
* Not supported by Google.
* </pre>
*
* <code>optional string artist = 21;</code>
* @param value The bytes for artist to set.
* @return This builder for chaining.
*/
public Builder setArtistBytes(
com.google.protobuf.ByteString value) {
copyOnWrite();
instance.setArtistBytes(value);
return this;
}
/**
* <pre>
* Genre that best describes the content (for example, rock, pop, etc).
* Not supported by Google.
* </pre>
*
* <code>optional string genre = 22;</code>
* @return Whether the genre field is set.
*/
@java.lang.Override
public boolean hasGenre() {
return instance.hasGenre();
}
/**
* <pre>
* Genre that best describes the content (for example, rock, pop, etc).
* Not supported by Google.
* </pre>
*
* <code>optional string genre = 22;</code>
* @return The genre.
*/
@java.lang.Override
public java.lang.String getGenre() {
return instance.getGenre();
}
/**
* <pre>
* Genre that best describes the content (for example, rock, pop, etc).
* Not supported by Google.
* </pre>
*
* <code>optional string genre = 22;</code>
* @return The bytes for genre.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getGenreBytes() {
return instance.getGenreBytes();
}
/**
* <pre>
* Genre that best describes the content (for example, rock, pop, etc).
* Not supported by Google.
* </pre>
*
* <code>optional string genre = 22;</code>
* @param value The genre to set.
* @return This builder for chaining.
*/
public Builder setGenre(
java.lang.String value) {
copyOnWrite();
instance.setGenre(value);
return this;
}
/**
* <pre>
* Genre that best describes the content (for example, rock, pop, etc).
* Not supported by Google.
* </pre>
*
* <code>optional string genre = 22;</code>
* @return This builder for chaining.
*/
public Builder clearGenre() {
copyOnWrite();
instance.clearGenre();
return this;
}
/**
* <pre>
* Genre that best describes the content (for example, rock, pop, etc).
* Not supported by Google.
* </pre>
*
* <code>optional string genre = 22;</code>
* @param value The bytes for genre to set.
* @return This builder for chaining.
*/
public Builder setGenreBytes(
com.google.protobuf.ByteString value) {
copyOnWrite();
instance.setGenreBytes(value);
return this;
}
/**
* <pre>
* Album to which the content belongs; typically for audio.
* Not supported by Google.
* </pre>
*
* <code>optional string album = 23;</code>
* @return Whether the album field is set.
*/
@java.lang.Override
public boolean hasAlbum() {
return instance.hasAlbum();
}
/**
* <pre>
* Album to which the content belongs; typically for audio.
* Not supported by Google.
* </pre>
*
* <code>optional string album = 23;</code>
* @return The album.
*/
@java.lang.Override
public java.lang.String getAlbum() {
return instance.getAlbum();
}
/**
* <pre>
* Album to which the content belongs; typically for audio.
* Not supported by Google.
* </pre>
*
* <code>optional string album = 23;</code>
* @return The bytes for album.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getAlbumBytes() {
return instance.getAlbumBytes();
}
/**
* <pre>
* Album to which the content belongs; typically for audio.
* Not supported by Google.
* </pre>
*
* <code>optional string album = 23;</code>
* @param value The album to set.
* @return This builder for chaining.
*/
public Builder setAlbum(
java.lang.String value) {
copyOnWrite();
instance.setAlbum(value);
return this;
}
/**
* <pre>
* Album to which the content belongs; typically for audio.
* Not supported by Google.
* </pre>
*
* <code>optional string album = 23;</code>
* @return This builder for chaining.
*/
public Builder clearAlbum() {
copyOnWrite();
instance.clearAlbum();
return this;
}
/**
* <pre>
* Album to which the content belongs; typically for audio.
* Not supported by Google.
* </pre>
*
* <code>optional string album = 23;</code>
* @param value The bytes for album to set.
* @return This builder for chaining.
*/
public Builder setAlbumBytes(
com.google.protobuf.ByteString value) {
copyOnWrite();
instance.setAlbumBytes(value);
return this;
}
/**
* <pre>
* International Standard Recording Code conforming to ISO-3901.
* Not supported by Google.
* </pre>
*
* <code>optional string isrc = 24;</code>
* @return Whether the isrc field is set.
*/
@java.lang.Override
public boolean hasIsrc() {
return instance.hasIsrc();
}
/**
* <pre>
* International Standard Recording Code conforming to ISO-3901.
* Not supported by Google.
* </pre>
*
* <code>optional string isrc = 24;</code>
* @return The isrc.
*/
@java.lang.Override
public java.lang.String getIsrc() {
return instance.getIsrc();
}
/**
* <pre>
* International Standard Recording Code conforming to ISO-3901.
* Not supported by Google.
* </pre>
*
* <code>optional string isrc = 24;</code>
* @return The bytes for isrc.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getIsrcBytes() {
return instance.getIsrcBytes();
}
/**
* <pre>
* International Standard Recording Code conforming to ISO-3901.
* Not supported by Google.
* </pre>
*
* <code>optional string isrc = 24;</code>
* @param value The isrc to set.
* @return This builder for chaining.
*/
public Builder setIsrc(
java.lang.String value) {
copyOnWrite();
instance.setIsrc(value);
return this;
}
/**
* <pre>
* International Standard Recording Code conforming to ISO-3901.
* Not supported by Google.
* </pre>
*
* <code>optional string isrc = 24;</code>
* @return This builder for chaining.
*/
public Builder clearIsrc() {
copyOnWrite();
instance.clearIsrc();
return this;
}
/**
* <pre>
* International Standard Recording Code conforming to ISO-3901.
* Not supported by Google.
* </pre>
*
* <code>optional string isrc = 24;</code>
* @param value The bytes for isrc to set.
* @return This builder for chaining.
*/
public Builder setIsrcBytes(
com.google.protobuf.ByteString value) {
copyOnWrite();
instance.setIsrcBytes(value);
return this;
}
/**
* <pre>
* Details about the content Producer (Section 3.2.10).
* Supported by Google.
* </pre>
*
* <code>optional .com.google.openrtb.BidRequest.Content.Producer producer = 15;</code>
*/
@java.lang.Override
public boolean hasProducer() {
return instance.hasProducer();
}
/**
* <pre>
* Details about the content Producer (Section 3.2.10).
* Supported by Google.
* </pre>
*
* <code>optional .com.google.openrtb.BidRequest.Content.Producer producer = 15;</code>
*/
@java.lang.Override
public com.particles.mes.protos.openrtb.BidRequest.Content.Producer getProducer() {
return instance.getProducer();
}
/**
* <pre>
* Details about the content Producer (Section 3.2.10).
* Supported by Google.
* </pre>
*
* <code>optional .com.google.openrtb.BidRequest.Content.Producer producer = 15;</code>
*/
public Builder setProducer(com.particles.mes.protos.openrtb.BidRequest.Content.Producer value) {
copyOnWrite();
instance.setProducer(value);
return this;
}
/**
* <pre>
* Details about the content Producer (Section 3.2.10).
* Supported by Google.
* </pre>
*
* <code>optional .com.google.openrtb.BidRequest.Content.Producer producer = 15;</code>
*/
public Builder setProducer(
com.particles.mes.protos.openrtb.BidRequest.Content.Producer.Builder builderForValue) {
copyOnWrite();
instance.setProducer(builderForValue.build());
return this;
}
/**
* <pre>
* Details about the content Producer (Section 3.2.10).
* Supported by Google.
* </pre>
*
* <code>optional .com.google.openrtb.BidRequest.Content.Producer producer = 15;</code>
*/
public Builder mergeProducer(com.particles.mes.protos.openrtb.BidRequest.Content.Producer value) {
copyOnWrite();
instance.mergeProducer(value);
return this;
}
/**
* <pre>
* Details about the content Producer (Section 3.2.10).
* Supported by Google.
* </pre>
*
* <code>optional .com.google.openrtb.BidRequest.Content.Producer producer = 15;</code>
*/
public Builder clearProducer() { copyOnWrite();
instance.clearProducer();
return this;
}
/**
* <pre>
* URL of the content, for buy-side contextualization or review.
* Supported by Google.
* </pre>
*
* <code>optional string url = 6;</code>
* @return Whether the url field is set.
*/
@java.lang.Override
public boolean hasUrl() {
return instance.hasUrl();
}
/**
* <pre>
* URL of the content, for buy-side contextualization or review.
* Supported by Google.
* </pre>
*
* <code>optional string url = 6;</code>
* @return The url.
*/
@java.lang.Override
public java.lang.String getUrl() {
return instance.getUrl();
}
/**
* <pre>
* URL of the content, for buy-side contextualization or review.
* Supported by Google.
* </pre>
*
* <code>optional string url = 6;</code>
* @return The bytes for url.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getUrlBytes() {
return instance.getUrlBytes();
}
/**
* <pre>
* URL of the content, for buy-side contextualization or review.
* Supported by Google.
* </pre>
*
* <code>optional string url = 6;</code>
* @param value The url to set.
* @return This builder for chaining.
*/
public Builder setUrl(
java.lang.String value) {
copyOnWrite();
instance.setUrl(value);
return this;
}
/**
* <pre>
* URL of the content, for buy-side contextualization or review.
* Supported by Google.
* </pre>
*
* <code>optional string url = 6;</code>
* @return This builder for chaining.
*/
public Builder clearUrl() {
copyOnWrite();
instance.clearUrl();
return this;
}
/**
* <pre>
* URL of the content, for buy-side contextualization or review.
* Supported by Google.
* </pre>
*
* <code>optional string url = 6;</code>
* @param value The bytes for url to set.
* @return This builder for chaining.
*/
public Builder setUrlBytes(
com.google.protobuf.ByteString value) {
copyOnWrite();
instance.setUrlBytes(value);
return this;
}
/**
* <pre>
* The taxonomy in use for cat.
* Not supported by Google.
* </pre>
*
* <code>optional .com.google.openrtb.CategoryTaxonomy cattax = 27 [default = IAB_CONTENT_1_0];</code>
* @return Whether the cattax field is set.
*/
@java.lang.Override
public boolean hasCattax() {
return instance.hasCattax();
}
/**
* <pre>
* The taxonomy in use for cat.
* Not supported by Google.
* </pre>
*
* <code>optional .com.google.openrtb.CategoryTaxonomy cattax = 27 [default = IAB_CONTENT_1_0];</code>
* @return The cattax.
*/
@java.lang.Override
public com.particles.mes.protos.openrtb.CategoryTaxonomy getCattax() {
return instance.getCattax();
}
/**
* <pre>
* The taxonomy in use for cat.
* Not supported by Google.
* </pre>
*
* <code>optional .com.google.openrtb.CategoryTaxonomy cattax = 27 [default = IAB_CONTENT_1_0];</code>
* @param value The enum numeric value on the wire for cattax to set.
* @return This builder for chaining.
*/
public Builder setCattax(com.particles.mes.protos.openrtb.CategoryTaxonomy value) {
copyOnWrite();
instance.setCattax(value);
return this;
}
/**
* <pre>
* The taxonomy in use for cat.
* Not supported by Google.
* </pre>
*
* <code>optional .com.google.openrtb.CategoryTaxonomy cattax = 27 [default = IAB_CONTENT_1_0];</code>
* @return This builder for chaining.
*/
public Builder clearCattax() {
copyOnWrite();
instance.clearCattax();
return this;
}
/**
* <pre>
* Array of IAB content categories that describe the content.
* The taxonomy to be used is defined by the cattax field.
* Not supported by Google.
* </pre>
*
* <code>repeated string cat = 7;</code>
* @return A list containing the cat.
*/
@java.lang.Override
public java.util.List<java.lang.String>
getCatList() {
return java.util.Collections.unmodifiableList(
instance.getCatList());
}
/**
* <pre>
* Array of IAB content categories that describe the content.
* The taxonomy to be used is defined by the cattax field.
* Not supported by Google.
* </pre>
*
* <code>repeated string cat = 7;</code>
* @return The count of cat.
*/
@java.lang.Override
public int getCatCount() {
return instance.getCatCount();
}
/**
* <pre>
* Array of IAB content categories that describe the content.
* The taxonomy to be used is defined by the cattax field.
* Not supported by Google.
* </pre>
*
* <code>repeated string cat = 7;</code>
* @param index The index of the element to return.
* @return The cat at the given index.
*/
@java.lang.Override
public java.lang.String getCat(int index) {
return instance.getCat(index);
}
/**
* <pre>
* Array of IAB content categories that describe the content.
* The taxonomy to be used is defined by the cattax field.
* Not supported by Google.
* </pre>
*
* <code>repeated string cat = 7;</code>
* @param index The index of the value to return.
* @return The bytes of the cat at the given index.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getCatBytes(int index) {
return instance.getCatBytes(index);
}
/**
* <pre>
* Array of IAB content categories that describe the content.
* The taxonomy to be used is defined by the cattax field.
* Not supported by Google.
* </pre>
*
* <code>repeated string cat = 7;</code>
* @param index The index to set the value at.
* @param value The cat to set.
* @return This builder for chaining.
*/
public Builder setCat(
int index, java.lang.String value) {
copyOnWrite();
instance.setCat(index, value);
return this;
}
/**
* <pre>
* Array of IAB content categories that describe the content.
* The taxonomy to be used is defined by the cattax field.
* Not supported by Google.
* </pre>
*
* <code>repeated string cat = 7;</code>
* @param value The cat to add.
* @return This builder for chaining.
*/
public Builder addCat(
java.lang.String value) {
copyOnWrite();
instance.addCat(value);
return this;
}
/**
* <pre>
* Array of IAB content categories that describe the content.
* The taxonomy to be used is defined by the cattax field.
* Not supported by Google.
* </pre>
*
* <code>repeated string cat = 7;</code>
* @param values The cat to add.
* @return This builder for chaining.
*/
public Builder addAllCat(
java.lang.Iterable<java.lang.String> values) {
copyOnWrite();
instance.addAllCat(values);
return this;
}
/**
* <pre>
* Array of IAB content categories that describe the content.
* The taxonomy to be used is defined by the cattax field.
* Not supported by Google.
* </pre>
*
* <code>repeated string cat = 7;</code>
* @return This builder for chaining.
*/
public Builder clearCat() {
copyOnWrite();
instance.clearCat();
return this;
}
/**
* <pre>
* Array of IAB content categories that describe the content.
* The taxonomy to be used is defined by the cattax field.
* Not supported by Google.
* </pre>
*
* <code>repeated string cat = 7;</code>
* @param value The bytes of the cat to add.
* @return This builder for chaining.
*/
public Builder addCatBytes(
com.google.protobuf.ByteString value) {
copyOnWrite();
instance.addCatBytes(value);
return this;
}
/**
* <pre>
* Production quality.
* Supported by Google.
* </pre>
*
* <code>optional .com.google.openrtb.ProductionQuality prodq = 25;</code>
* @return Whether the prodq field is set.
*/
@java.lang.Override
public boolean hasProdq() {
return instance.hasProdq();
}
/**
* <pre>
* Production quality.
* Supported by Google.
* </pre>
*
* <code>optional .com.google.openrtb.ProductionQuality prodq = 25;</code>
* @return The prodq.
*/
@java.lang.Override
public com.particles.mes.protos.openrtb.ProductionQuality getProdq() {
return instance.getProdq();
}
/**
* <pre>
* Production quality.
* Supported by Google.
* </pre>
*
* <code>optional .com.google.openrtb.ProductionQuality prodq = 25;</code>
* @param value The enum numeric value on the wire for prodq to set.
* @return This builder for chaining.
*/
public Builder setProdq(com.particles.mes.protos.openrtb.ProductionQuality value) {
copyOnWrite();
instance.setProdq(value);
return this;
}
/**
* <pre>
* Production quality.
* Supported by Google.
* </pre>
*
* <code>optional .com.google.openrtb.ProductionQuality prodq = 25;</code>
* @return This builder for chaining.
*/
public Builder clearProdq() {
copyOnWrite();
instance.clearProdq();
return this;
}
/**
* <pre>
* Type of content (for example, game, video or text).
* Not supported by Google.
* </pre>
*
* <code>optional .com.google.openrtb.ContentContext context = 20;</code>
* @return Whether the context field is set.
*/
@java.lang.Override
public boolean hasContext() {
return instance.hasContext();
}
/**
* <pre>
* Type of content (for example, game, video or text).
* Not supported by Google.
* </pre>
*
* <code>optional .com.google.openrtb.ContentContext context = 20;</code>
* @return The context.
*/
@java.lang.Override
public com.particles.mes.protos.openrtb.ContentContext getContext() {
return instance.getContext();
}
/**
* <pre>
* Type of content (for example, game, video or text).
* Not supported by Google.
* </pre>
*
* <code>optional .com.google.openrtb.ContentContext context = 20;</code>
* @param value The enum numeric value on the wire for context to set.
* @return This builder for chaining.
*/
public Builder setContext(com.particles.mes.protos.openrtb.ContentContext value) {
copyOnWrite();
instance.setContext(value);
return this;
}
/**
* <pre>
* Type of content (for example, game, video or text).
* Not supported by Google.
* </pre>
*
* <code>optional .com.google.openrtb.ContentContext context = 20;</code>
* @return This builder for chaining.
*/
public Builder clearContext() {
copyOnWrite();
instance.clearContext();
return this;
}
/**
* <pre>
* Content rating.
* Possible values: "DV-G", "DV-PG", "DV-T", "DV-MA".
* Supported by Google.
* </pre>
*
* <code>optional string contentrating = 10;</code>
* @return Whether the contentrating field is set.
*/
@java.lang.Override
public boolean hasContentrating() {
return instance.hasContentrating();
}
/**
* <pre>
* Content rating.
* Possible values: "DV-G", "DV-PG", "DV-T", "DV-MA".
* Supported by Google.
* </pre>
*
* <code>optional string contentrating = 10;</code>
* @return The contentrating.
*/
@java.lang.Override
public java.lang.String getContentrating() {
return instance.getContentrating();
}
/**
* <pre>
* Content rating.
* Possible values: "DV-G", "DV-PG", "DV-T", "DV-MA".
* Supported by Google.
* </pre>
*
* <code>optional string contentrating = 10;</code>
* @return The bytes for contentrating.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getContentratingBytes() {
return instance.getContentratingBytes();
}
/**
* <pre>
* Content rating.
* Possible values: "DV-G", "DV-PG", "DV-T", "DV-MA".
* Supported by Google.
* </pre>
*
* <code>optional string contentrating = 10;</code>
* @param value The contentrating to set.
* @return This builder for chaining.
*/
public Builder setContentrating(
java.lang.String value) {
copyOnWrite();
instance.setContentrating(value);
return this;
}
/**
* <pre>
* Content rating.
* Possible values: "DV-G", "DV-PG", "DV-T", "DV-MA".
* Supported by Google.
* </pre>
*
* <code>optional string contentrating = 10;</code>
* @return This builder for chaining.
*/
public Builder clearContentrating() {
copyOnWrite();
instance.clearContentrating();
return this;
}
/**
* <pre>
* Content rating.
* Possible values: "DV-G", "DV-PG", "DV-T", "DV-MA".
* Supported by Google.
* </pre>
*
* <code>optional string contentrating = 10;</code>
* @param value The bytes for contentrating to set.
* @return This builder for chaining.
*/
public Builder setContentratingBytes(
com.google.protobuf.ByteString value) {
copyOnWrite();
instance.setContentratingBytes(value);
return this;
}
/**
* <pre>
* User rating of the content (for example, number of stars or likes).
* Supported by Google.
* </pre>
*
* <code>optional string userrating = 11;</code>
* @return Whether the userrating field is set.
*/
@java.lang.Override
public boolean hasUserrating() {
return instance.hasUserrating();
}
/**
* <pre>
* User rating of the content (for example, number of stars or likes).
* Supported by Google.
* </pre>
*
* <code>optional string userrating = 11;</code>
* @return The userrating.
*/
@java.lang.Override
public java.lang.String getUserrating() {
return instance.getUserrating();
}
/**
* <pre>
* User rating of the content (for example, number of stars or likes).
* Supported by Google.
* </pre>
*
* <code>optional string userrating = 11;</code>
* @return The bytes for userrating.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getUserratingBytes() {
return instance.getUserratingBytes();
}
/**
* <pre>
* User rating of the content (for example, number of stars or likes).
* Supported by Google.
* </pre>
*
* <code>optional string userrating = 11;</code>
* @param value The userrating to set.
* @return This builder for chaining.
*/
public Builder setUserrating(
java.lang.String value) {
copyOnWrite();
instance.setUserrating(value);
return this;
}
/**
* <pre>
* User rating of the content (for example, number of stars or likes).
* Supported by Google.
* </pre>
*
* <code>optional string userrating = 11;</code>
* @return This builder for chaining.
*/
public Builder clearUserrating() {
copyOnWrite();
instance.clearUserrating();
return this;
}
/**
* <pre>
* User rating of the content (for example, number of stars or likes).
* Supported by Google.
* </pre>
*
* <code>optional string userrating = 11;</code>
* @param value The bytes for userrating to set.
* @return This builder for chaining.
*/
public Builder setUserratingBytes(
com.google.protobuf.ByteString value) {
copyOnWrite();
instance.setUserratingBytes(value);
return this;
}
/**
* <pre>
* Media rating per QAG guidelines.
* Not supported by Google.
* </pre>
*
* <code>optional .com.google.openrtb.QAGMediaRating qagmediarating = 17;</code>
* @return Whether the qagmediarating field is set.
*/
@java.lang.Override
public boolean hasQagmediarating() {
return instance.hasQagmediarating();
}
/**
* <pre>
* Media rating per QAG guidelines.
* Not supported by Google.
* </pre>
*
* <code>optional .com.google.openrtb.QAGMediaRating qagmediarating = 17;</code>
* @return The qagmediarating.
*/
@java.lang.Override
public com.particles.mes.protos.openrtb.QAGMediaRating getQagmediarating() {
return instance.getQagmediarating();
}
/**
* <pre>
* Media rating per QAG guidelines.
* Not supported by Google.
* </pre>
*
* <code>optional .com.google.openrtb.QAGMediaRating qagmediarating = 17;</code>
* @param value The enum numeric value on the wire for qagmediarating to set.
* @return This builder for chaining.
*/
public Builder setQagmediarating(com.particles.mes.protos.openrtb.QAGMediaRating value) {
copyOnWrite();
instance.setQagmediarating(value);
return this;
}
/**
* <pre>
* Media rating per QAG guidelines.
* Not supported by Google.
* </pre>
*
* <code>optional .com.google.openrtb.QAGMediaRating qagmediarating = 17;</code>
* @return This builder for chaining.
*/
public Builder clearQagmediarating() {
copyOnWrite();
instance.clearQagmediarating();
return this;
}
/**
* <pre>
* Comma separated list of keywords describing the content.
* Not supported by Google.
* </pre>
*
* <code>optional string keywords = 9;</code>
* @return Whether the keywords field is set.
*/
@java.lang.Override
public boolean hasKeywords() {
return instance.hasKeywords();
}
/**
* <pre>
* Comma separated list of keywords describing the content.
* Not supported by Google.
* </pre>
*
* <code>optional string keywords = 9;</code>
* @return The keywords.
*/
@java.lang.Override
public java.lang.String getKeywords() {
return instance.getKeywords();
}
/**
* <pre>
* Comma separated list of keywords describing the content.
* Not supported by Google.
* </pre>
*
* <code>optional string keywords = 9;</code>
* @return The bytes for keywords.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getKeywordsBytes() {
return instance.getKeywordsBytes();
}
/**
* <pre>
* Comma separated list of keywords describing the content.
* Not supported by Google.
* </pre>
*
* <code>optional string keywords = 9;</code>
* @param value The keywords to set.
* @return This builder for chaining.
*/
public Builder setKeywords(
java.lang.String value) {
copyOnWrite();
instance.setKeywords(value);
return this;
}
/**
* <pre>
* Comma separated list of keywords describing the content.
* Not supported by Google.
* </pre>
*
* <code>optional string keywords = 9;</code>
* @return This builder for chaining.
*/
public Builder clearKeywords() {
copyOnWrite();
instance.clearKeywords();
return this;
}
/**
* <pre>
* Comma separated list of keywords describing the content.
* Not supported by Google.
* </pre>
*
* <code>optional string keywords = 9;</code>
* @param value The bytes for keywords to set.
* @return This builder for chaining.
*/
public Builder setKeywordsBytes(
com.google.protobuf.ByteString value) {
copyOnWrite();
instance.setKeywordsBytes(value);
return this;
}
/**
* <pre>
* false = not live, true = content is live (for example, stream, live
* blog).
* Supported by Google.
* </pre>
*
* <code>optional bool livestream = 13;</code>
* @return Whether the livestream field is set.
*/
@java.lang.Override
public boolean hasLivestream() {
return instance.hasLivestream();
}
/**
* <pre>
* false = not live, true = content is live (for example, stream, live
* blog).
* Supported by Google.
* </pre>
*
* <code>optional bool livestream = 13;</code>
* @return The livestream.
*/
@java.lang.Override
public boolean getLivestream() {
return instance.getLivestream();
}
/**
* <pre>
* false = not live, true = content is live (for example, stream, live
* blog).
* Supported by Google.
* </pre>
*
* <code>optional bool livestream = 13;</code>
* @param value The livestream to set.
* @return This builder for chaining.
*/
public Builder setLivestream(boolean value) {
copyOnWrite();
instance.setLivestream(value);
return this;
}
/**
* <pre>
* false = not live, true = content is live (for example, stream, live
* blog).
* Supported by Google.
* </pre>
*
* <code>optional bool livestream = 13;</code>
* @return This builder for chaining.
*/
public Builder clearLivestream() {
copyOnWrite();
instance.clearLivestream();
return this;
}
/**
* <pre>
* false = indirect, true = direct.
* Not supported by Google.
* </pre>
*
* <code>optional bool sourcerelationship = 14;</code>
* @return Whether the sourcerelationship field is set.
*/
@java.lang.Override
public boolean hasSourcerelationship() {
return instance.hasSourcerelationship();
}
/**
* <pre>
* false = indirect, true = direct.
* Not supported by Google.
* </pre>
*
* <code>optional bool sourcerelationship = 14;</code>
* @return The sourcerelationship.
*/
@java.lang.Override
public boolean getSourcerelationship() {
return instance.getSourcerelationship();
}
/**
* <pre>
* false = indirect, true = direct.
* Not supported by Google.
* </pre>
*
* <code>optional bool sourcerelationship = 14;</code>
* @param value The sourcerelationship to set.
* @return This builder for chaining.
*/
public Builder setSourcerelationship(boolean value) {
copyOnWrite();
instance.setSourcerelationship(value);
return this;
}
/**
* <pre>
* false = indirect, true = direct.
* Not supported by Google.
* </pre>
*
* <code>optional bool sourcerelationship = 14;</code>
* @return This builder for chaining.
*/
public Builder clearSourcerelationship() {
copyOnWrite();
instance.clearSourcerelationship();
return this;
}
/**
* <pre>
* Length of content in seconds; appropriate for video or audio.
* Supported by Google.
* </pre>
*
* <code>optional int32 len = 16;</code>
* @return Whether the len field is set.
*/
@java.lang.Override
public boolean hasLen() {
return instance.hasLen();
}
/**
* <pre>
* Length of content in seconds; appropriate for video or audio.
* Supported by Google.
* </pre>
*
* <code>optional int32 len = 16;</code>
* @return The len.
*/
@java.lang.Override
public int getLen() {
return instance.getLen();
}
/**
* <pre>
* Length of content in seconds; appropriate for video or audio.
* Supported by Google.
* </pre>
*
* <code>optional int32 len = 16;</code>
* @param value The len to set.
* @return This builder for chaining.
*/
public Builder setLen(int value) {
copyOnWrite();
instance.setLen(value);
return this;
}
/**
* <pre>
* Length of content in seconds; appropriate for video or audio.
* Supported by Google.
* </pre>
*
* <code>optional int32 len = 16;</code>
* @return This builder for chaining.
*/
public Builder clearLen() {
copyOnWrite();
instance.clearLen();
return this;
}
/**
* <pre>
* Content language using ISO-639-1-alpha-2.
* Only one of language or langb should be present.
* Supported by Google.
* </pre>
*
* <code>optional string language = 19;</code>
* @return Whether the language field is set.
*/
@java.lang.Override
public boolean hasLanguage() {
return instance.hasLanguage();
}
/**
* <pre>
* Content language using ISO-639-1-alpha-2.
* Only one of language or langb should be present.
* Supported by Google.
* </pre>
*
* <code>optional string language = 19;</code>
* @return The language.
*/
@java.lang.Override
public java.lang.String getLanguage() {
return instance.getLanguage();
}
/**
* <pre>
* Content language using ISO-639-1-alpha-2.
* Only one of language or langb should be present.
* Supported by Google.
* </pre>
*
* <code>optional string language = 19;</code>
* @return The bytes for language.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getLanguageBytes() {
return instance.getLanguageBytes();
}
/**
* <pre>
* Content language using ISO-639-1-alpha-2.
* Only one of language or langb should be present.
* Supported by Google.
* </pre>
*
* <code>optional string language = 19;</code>
* @param value The language to set.
* @return This builder for chaining.
*/
public Builder setLanguage(
java.lang.String value) {
copyOnWrite();
instance.setLanguage(value);
return this;
}
/**
* <pre>
* Content language using ISO-639-1-alpha-2.
* Only one of language or langb should be present.
* Supported by Google.
* </pre>
*
* <code>optional string language = 19;</code>
* @return This builder for chaining.
*/
public Builder clearLanguage() {
copyOnWrite();
instance.clearLanguage();
return this;
}
/**
* <pre>
* Content language using ISO-639-1-alpha-2.
* Only one of language or langb should be present.
* Supported by Google.
* </pre>
*
* <code>optional string language = 19;</code>
* @param value The bytes for language to set.
* @return This builder for chaining.
*/
public Builder setLanguageBytes(
com.google.protobuf.ByteString value) {
copyOnWrite();
instance.setLanguageBytes(value);
return this;
}
/**
* <pre>
* Content language using IETF BCP 47.
* Only one of language or langb should be present.
* Not supported by Google.
* </pre>
*
* <code>optional string langb = 29;</code>
* @return Whether the langb field is set.
*/
@java.lang.Override
public boolean hasLangb() {
return instance.hasLangb();
}
/**
* <pre>
* Content language using IETF BCP 47.
* Only one of language or langb should be present.
* Not supported by Google.
* </pre>
*
* <code>optional string langb = 29;</code>
* @return The langb.
*/
@java.lang.Override
public java.lang.String getLangb() {
return instance.getLangb();
}
/**
* <pre>
* Content language using IETF BCP 47.
* Only one of language or langb should be present.
* Not supported by Google.
* </pre>
*
* <code>optional string langb = 29;</code>
* @return The bytes for langb.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getLangbBytes() {
return instance.getLangbBytes();
}
/**
* <pre>
* Content language using IETF BCP 47.
* Only one of language or langb should be present.
* Not supported by Google.
* </pre>
*
* <code>optional string langb = 29;</code>
* @param value The langb to set.
* @return This builder for chaining.
*/
public Builder setLangb(
java.lang.String value) {
copyOnWrite();
instance.setLangb(value);
return this;
}
/**
* <pre>
* Content language using IETF BCP 47.
* Only one of language or langb should be present.
* Not supported by Google.
* </pre>
*
* <code>optional string langb = 29;</code>
* @return This builder for chaining.
*/
public Builder clearLangb() {
copyOnWrite();
instance.clearLangb();
return this;
}
/**
* <pre>
* Content language using IETF BCP 47.
* Only one of language or langb should be present.
* Not supported by Google.
* </pre>
*
* <code>optional string langb = 29;</code>
* @param value The bytes for langb to set.
* @return This builder for chaining.
*/
public Builder setLangbBytes(
com.google.protobuf.ByteString value) {
copyOnWrite();
instance.setLangbBytes(value);
return this;
}
/**
* <pre>
* Indicator of whether or not the content is embeddable (for example, an
* embeddable video player).
* Not supported by Google.
* </pre>
*
* <code>optional bool embeddable = 18;</code>
* @return Whether the embeddable field is set.
*/
@java.lang.Override
public boolean hasEmbeddable() {
return instance.hasEmbeddable();
}
/**
* <pre>
* Indicator of whether or not the content is embeddable (for example, an
* embeddable video player).
* Not supported by Google.
* </pre>
*
* <code>optional bool embeddable = 18;</code>
* @return The embeddable.
*/
@java.lang.Override
public boolean getEmbeddable() {
return instance.getEmbeddable();
}
/**
* <pre>
* Indicator of whether or not the content is embeddable (for example, an
* embeddable video player).
* Not supported by Google.
* </pre>
*
* <code>optional bool embeddable = 18;</code>
* @param value The embeddable to set.
* @return This builder for chaining.
*/
public Builder setEmbeddable(boolean value) {
copyOnWrite();
instance.setEmbeddable(value);
return this;
}
/**
* <pre>
* Indicator of whether or not the content is embeddable (for example, an
* embeddable video player).
* Not supported by Google.
* </pre>
*
* <code>optional bool embeddable = 18;</code>
* @return This builder for chaining.
*/
public Builder clearEmbeddable() {
copyOnWrite();
instance.clearEmbeddable();
return this;
}
/**
* <pre>
* Additional content data. Each object represents a different data source.
* Supported by Google. Used for Publisher Provided Signals:
* https://support.google.com/admanager/answer/12451124
* </pre>
*
* <code>repeated .com.google.openrtb.BidRequest.Data data = 28;</code>
*/
@java.lang.Override
public java.util.List<com.particles.mes.protos.openrtb.BidRequest.Data> getDataList() {
return java.util.Collections.unmodifiableList(
instance.getDataList());
}
/**
* <pre>
* Additional content data. Each object represents a different data source.
* Supported by Google. Used for Publisher Provided Signals:
* https://support.google.com/admanager/answer/12451124
* </pre>
*
* <code>repeated .com.google.openrtb.BidRequest.Data data = 28;</code>
*/
@java.lang.Override
public int getDataCount() {
return instance.getDataCount();
}/**
* <pre>
* Additional content data. Each object represents a different data source.
* Supported by Google. Used for Publisher Provided Signals:
* https://support.google.com/admanager/answer/12451124
* </pre>
*
* <code>repeated .com.google.openrtb.BidRequest.Data data = 28;</code>
*/
@java.lang.Override
public com.particles.mes.protos.openrtb.BidRequest.Data getData(int index) {
return instance.getData(index);
}
/**
* <pre>
* Additional content data. Each object represents a different data source.
* Supported by Google. Used for Publisher Provided Signals:
* https://support.google.com/admanager/answer/12451124
* </pre>
*
* <code>repeated .com.google.openrtb.BidRequest.Data data = 28;</code>
*/
public Builder setData(
int index, com.particles.mes.protos.openrtb.BidRequest.Data value) {
copyOnWrite();
instance.setData(index, value);
return this;
}
/**
* <pre>
* Additional content data. Each object represents a different data source.
* Supported by Google. Used for Publisher Provided Signals:
* https://support.google.com/admanager/answer/12451124
* </pre>
*
* <code>repeated .com.google.openrtb.BidRequest.Data data = 28;</code>
*/
public Builder setData(
int index, com.particles.mes.protos.openrtb.BidRequest.Data.Builder builderForValue) {
copyOnWrite();
instance.setData(index,
builderForValue.build());
return this;
}
/**
* <pre>
* Additional content data. Each object represents a different data source.
* Supported by Google. Used for Publisher Provided Signals:
* https://support.google.com/admanager/answer/12451124
* </pre>
*
* <code>repeated .com.google.openrtb.BidRequest.Data data = 28;</code>
*/
public Builder addData(com.particles.mes.protos.openrtb.BidRequest.Data value) {
copyOnWrite();
instance.addData(value);
return this;
}
/**
* <pre>
* Additional content data. Each object represents a different data source.
* Supported by Google. Used for Publisher Provided Signals:
* https://support.google.com/admanager/answer/12451124
* </pre>
*
* <code>repeated .com.google.openrtb.BidRequest.Data data = 28;</code>
*/
public Builder addData(
int index, com.particles.mes.protos.openrtb.BidRequest.Data value) {
copyOnWrite();
instance.addData(index, value);
return this;
}
/**
* <pre>
* Additional content data. Each object represents a different data source.
* Supported by Google. Used for Publisher Provided Signals:
* https://support.google.com/admanager/answer/12451124
* </pre>
*
* <code>repeated .com.google.openrtb.BidRequest.Data data = 28;</code>
*/
public Builder addData(
com.particles.mes.protos.openrtb.BidRequest.Data.Builder builderForValue) {
copyOnWrite();
instance.addData(builderForValue.build());
return this;
}
/**
* <pre>
* Additional content data. Each object represents a different data source.
* Supported by Google. Used for Publisher Provided Signals:
* https://support.google.com/admanager/answer/12451124
* </pre>
*
* <code>repeated .com.google.openrtb.BidRequest.Data data = 28;</code>
*/
public Builder addData(
int index, com.particles.mes.protos.openrtb.BidRequest.Data.Builder builderForValue) {
copyOnWrite();
instance.addData(index,
builderForValue.build());
return this;
}
/**
* <pre>
* Additional content data. Each object represents a different data source.
* Supported by Google. Used for Publisher Provided Signals:
* https://support.google.com/admanager/answer/12451124
* </pre>
*
* <code>repeated .com.google.openrtb.BidRequest.Data data = 28;</code>
*/
public Builder addAllData(
java.lang.Iterable<? extends com.particles.mes.protos.openrtb.BidRequest.Data> values) {
copyOnWrite();
instance.addAllData(values);
return this;
}
/**
* <pre>
* Additional content data. Each object represents a different data source.
* Supported by Google. Used for Publisher Provided Signals:
* https://support.google.com/admanager/answer/12451124
* </pre>
*
* <code>repeated .com.google.openrtb.BidRequest.Data data = 28;</code>
*/
public Builder clearData() {
copyOnWrite();
instance.clearData();
return this;
}
/**
* <pre>
* Additional content data. Each object represents a different data source.
* Supported by Google. Used for Publisher Provided Signals:
* https://support.google.com/admanager/answer/12451124
* </pre>
*
* <code>repeated .com.google.openrtb.BidRequest.Data data = 28;</code>
*/
public Builder removeData(int index) {
copyOnWrite();
instance.removeData(index);
return this;
}
/**
* <pre>
* Details about the network the content is on.
* Not supported by Google.
* </pre>
*
* <code>optional .com.google.openrtb.BidRequest.Content.Network network = 30;</code>
*/
@java.lang.Override
public boolean hasNetwork() {
return instance.hasNetwork();
}
/**
* <pre>
* Details about the network the content is on.
* Not supported by Google.
* </pre>
*
* <code>optional .com.google.openrtb.BidRequest.Content.Network network = 30;</code>
*/
@java.lang.Override
public com.particles.mes.protos.openrtb.BidRequest.Content.Network getNetwork() {
return instance.getNetwork();
}
/**
* <pre>
* Details about the network the content is on.
* Not supported by Google.
* </pre>
*
* <code>optional .com.google.openrtb.BidRequest.Content.Network network = 30;</code>
*/
public Builder setNetwork(com.particles.mes.protos.openrtb.BidRequest.Content.Network value) {
copyOnWrite();
instance.setNetwork(value);
return this;
}
/**
* <pre>
* Details about the network the content is on.
* Not supported by Google.
* </pre>
*
* <code>optional .com.google.openrtb.BidRequest.Content.Network network = 30;</code>
*/
public Builder setNetwork(
com.particles.mes.protos.openrtb.BidRequest.Content.Network.Builder builderForValue) {
copyOnWrite();
instance.setNetwork(builderForValue.build());
return this;
}
/**
* <pre>
* Details about the network the content is on.
* Not supported by Google.
* </pre>
*
* <code>optional .com.google.openrtb.BidRequest.Content.Network network = 30;</code>
*/
public Builder mergeNetwork(com.particles.mes.protos.openrtb.BidRequest.Content.Network value) {
copyOnWrite();
instance.mergeNetwork(value);
return this;
}
/**
* <pre>
* Details about the network the content is on.
* Not supported by Google.
* </pre>
*
* <code>optional .com.google.openrtb.BidRequest.Content.Network network = 30;</code>
*/
public Builder clearNetwork() { copyOnWrite();
instance.clearNetwork();
return this;
}
/**
* <pre>
* Details about the channel the content is on.
* Not supported by Google.
* </pre>
*
* <code>optional .com.google.openrtb.BidRequest.Content.Channel channel = 31;</code>
*/
@java.lang.Override
public boolean hasChannel() {
return instance.hasChannel();
}
/**
* <pre>
* Details about the channel the content is on.
* Not supported by Google.
* </pre>
*
* <code>optional .com.google.openrtb.BidRequest.Content.Channel channel = 31;</code>
*/
@java.lang.Override
public com.particles.mes.protos.openrtb.BidRequest.Content.Channel getChannel() {
return instance.getChannel();
}
/**
* <pre>
* Details about the channel the content is on.
* Not supported by Google.
* </pre>
*
* <code>optional .com.google.openrtb.BidRequest.Content.Channel channel = 31;</code>
*/
public Builder setChannel(com.particles.mes.protos.openrtb.BidRequest.Content.Channel value) {
copyOnWrite();
instance.setChannel(value);
return this;
}
/**
* <pre>
* Details about the channel the content is on.
* Not supported by Google.
* </pre>
*
* <code>optional .com.google.openrtb.BidRequest.Content.Channel channel = 31;</code>
*/
public Builder setChannel(
com.particles.mes.protos.openrtb.BidRequest.Content.Channel.Builder builderForValue) {
copyOnWrite();
instance.setChannel(builderForValue.build());
return this;
}
/**
* <pre>
* Details about the channel the content is on.
* Not supported by Google.
* </pre>
*
* <code>optional .com.google.openrtb.BidRequest.Content.Channel channel = 31;</code>
*/
public Builder mergeChannel(com.particles.mes.protos.openrtb.BidRequest.Content.Channel value) {
copyOnWrite();
instance.mergeChannel(value);
return this;
}
/**
* <pre>
* Details about the channel the content is on.
* Not supported by Google.
* </pre>
*
* <code>optional .com.google.openrtb.BidRequest.Content.Channel channel = 31;</code>
*/
public Builder clearChannel() { copyOnWrite();
instance.clearChannel();
return this;
}
/**
* <pre>
* DEPRECATED in OpenRTB 2.4+. Prefer the field <code>prodq</code>.
* Video quality per IAB's classification.
* Not supported by Google.
* </pre>
*
* <code>optional .com.google.openrtb.ProductionQuality videoquality = 8 [deprecated = true];</code>
* @deprecated com.google.openrtb.BidRequest.Content.videoquality is deprecated.
* See openrtb/openrtb-v26.proto;l=1031
* @return Whether the videoquality field is set.
*/
@java.lang.Override
@java.lang.Deprecated public boolean hasVideoquality() {
return instance.hasVideoquality();
}
/**
* <pre>
* DEPRECATED in OpenRTB 2.4+. Prefer the field <code>prodq</code>.
* Video quality per IAB's classification.
* Not supported by Google.
* </pre>
*
* <code>optional .com.google.openrtb.ProductionQuality videoquality = 8 [deprecated = true];</code>
* @deprecated com.google.openrtb.BidRequest.Content.videoquality is deprecated.
* See openrtb/openrtb-v26.proto;l=1031
* @return The videoquality.
*/
@java.lang.Override
@java.lang.Deprecated public com.particles.mes.protos.openrtb.ProductionQuality getVideoquality() {
return instance.getVideoquality();
}
/**
* <pre>
* DEPRECATED in OpenRTB 2.4+. Prefer the field <code>prodq</code>.
* Video quality per IAB's classification.
* Not supported by Google.
* </pre>
*
* <code>optional .com.google.openrtb.ProductionQuality videoquality = 8 [deprecated = true];</code>
* @deprecated com.google.openrtb.BidRequest.Content.videoquality is deprecated.
* See openrtb/openrtb-v26.proto;l=1031
* @param value The enum numeric value on the wire for videoquality to set.
* @return This builder for chaining.
*/
@java.lang.Deprecated public Builder setVideoquality(com.particles.mes.protos.openrtb.ProductionQuality value) {
copyOnWrite();
instance.setVideoquality(value);
return this;
}
/**
* <pre>
* DEPRECATED in OpenRTB 2.4+. Prefer the field <code>prodq</code>.
* Video quality per IAB's classification.
* Not supported by Google.
* </pre>
*
* <code>optional .com.google.openrtb.ProductionQuality videoquality = 8 [deprecated = true];</code>
* @deprecated com.google.openrtb.BidRequest.Content.videoquality is deprecated.
* See openrtb/openrtb-v26.proto;l=1031
* @return This builder for chaining.
*/
@java.lang.Deprecated public Builder clearVideoquality() {
copyOnWrite();
instance.clearVideoquality();
return this;
}
// @@protoc_insertion_point(builder_scope:com.google.openrtb.BidRequest.Content)
}
private byte memoizedIsInitialized = 2;
@java.lang.Override
@java.lang.SuppressWarnings({"unchecked", "fallthrough"})
protected final java.lang.Object dynamicMethod(
com.google.protobuf.GeneratedMessageLite.MethodToInvoke method,
java.lang.Object arg0, java.lang.Object arg1) {
switch (method) {
case NEW_MUTABLE_INSTANCE: {
return new com.particles.mes.protos.openrtb.BidRequest.Content();
}
case NEW_BUILDER: {
return new Builder();
}
case BUILD_MESSAGE_INFO: {
java.lang.Object[] objects = new java.lang.Object[] {
"bitField0_",
"id_",
"episode_",
"title_",
"series_",
"season_",
"url_",
"cat_",
"videoquality_",
com.particles.mes.protos.openrtb.ProductionQuality.internalGetVerifier(),
"keywords_",
"contentrating_",
"userrating_",
"livestream_",
"sourcerelationship_",
"producer_",
"len_",
"qagmediarating_",
com.particles.mes.protos.openrtb.QAGMediaRating.internalGetVerifier(),
"embeddable_",
"language_",
"context_",
com.particles.mes.protos.openrtb.ContentContext.internalGetVerifier(),
"artist_",
"genre_",
"album_",
"isrc_",
"prodq_",
com.particles.mes.protos.openrtb.ProductionQuality.internalGetVerifier(),
"cattax_",
com.particles.mes.protos.openrtb.CategoryTaxonomy.internalGetVerifier(),
"data_",
com.particles.mes.protos.openrtb.BidRequest.Data.class,
"langb_",
"network_",
"channel_",
};
java.lang.String info =
"\u0001\u001d\u0000\u0001\u0001\u001f\u001d\u0000\u0002\u0004\u0001\u1008\u0000\u0002" +
"\u1004\u0001\u0003\u1008\u0002\u0004\u1008\u0003\u0005\u1008\u0004\u0006\u1008\n" +
"\u0007\u001a\b\u100c\u001a\t\u1008\u0011\n\u1008\u000e\u000b\u1008\u000f\r\u1007" +
"\u0012\u000e\u1007\u0013\u000f\u1409\t\u0010\u1004\u0014\u0011\u100c\u0010\u0012" +
"\u1007\u0017\u0013\u1008\u0015\u0014\u100c\r\u0015\u1008\u0005\u0016\u1008\u0006" +
"\u0017\u1008\u0007\u0018\u1008\b\u0019\u100c\f\u001b\u100c\u000b\u001c\u041b\u001d" +
"\u1008\u0016\u001e\u1409\u0018\u001f\u1409\u0019";
return newMessageInfo(DEFAULT_INSTANCE, info, objects);
}
// fall through
case GET_DEFAULT_INSTANCE: {
return DEFAULT_INSTANCE;
}
case GET_PARSER: {
com.google.protobuf.Parser<com.particles.mes.protos.openrtb.BidRequest.Content> parser = PARSER;
if (parser == null) {
synchronized (com.particles.mes.protos.openrtb.BidRequest.Content.class) {
parser = PARSER;
if (parser == null) {
parser =
new DefaultInstanceBasedParser<com.particles.mes.protos.openrtb.BidRequest.Content>(
DEFAULT_INSTANCE);
PARSER = parser;
}
}
}
return parser;
}
case GET_MEMOIZED_IS_INITIALIZED: {
return memoizedIsInitialized;
}
case SET_MEMOIZED_IS_INITIALIZED: {
memoizedIsInitialized = (byte) (arg0 == null ? 0 : 1);
return null;
}
}
throw new UnsupportedOperationException();
}
// @@protoc_insertion_point(class_scope:com.google.openrtb.BidRequest.Content)
private static final com.particles.mes.protos.openrtb.BidRequest.Content DEFAULT_INSTANCE;
static {
Content defaultInstance = new Content();
// New instances are implicitly immutable so no need to make
// immutable.
DEFAULT_INSTANCE = defaultInstance;
com.google.protobuf.GeneratedMessageLite.registerDefaultInstance(
Content.class, defaultInstance);
}
public static com.particles.mes.protos.openrtb.BidRequest.Content getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static volatile com.google.protobuf.Parser<Content> PARSER;
public static com.google.protobuf.Parser<Content> parser() {
return DEFAULT_INSTANCE.getParserForType();
}
}
public interface SiteOrBuilder extends
// @@protoc_insertion_point(interface_extends:com.google.openrtb.BidRequest.Site)
com.google.protobuf.GeneratedMessageLite.
ExtendableMessageOrBuilder<
Site, Site.Builder> {
/**
* <pre>
* Site ID on the exchange.
* Not supported by Google.
* </pre>
*
* <code>optional string id = 1;</code>
* @return Whether the id field is set.
*/
boolean hasId();
/**
* <pre>
* Site ID on the exchange.
* Not supported by Google.
* </pre>
*
* <code>optional string id = 1;</code>
* @return The id.
*/
java.lang.String getId();
/**
* <pre>
* Site ID on the exchange.
* Not supported by Google.
* </pre>
*
* <code>optional string id = 1;</code>
* @return The bytes for id.
*/
com.google.protobuf.ByteString
getIdBytes();
/**
* <pre>
* Site name (may be masked at publisher's request).
* Not supported by Google.
* </pre>
*
* <code>optional string name = 2;</code>
* @return Whether the name field is set.
*/
boolean hasName();
/**
* <pre>
* Site name (may be masked at publisher's request).
* Not supported by Google.
* </pre>
*
* <code>optional string name = 2;</code>
* @return The name.
*/
java.lang.String getName();
/**
* <pre>
* Site name (may be masked at publisher's request).
* Not supported by Google.
* </pre>
*
* <code>optional string name = 2;</code>
* @return The bytes for name.
*/
com.google.protobuf.ByteString
getNameBytes();
/**
* <pre>
* Domain of the site, used for advertiser side blocking.
* For example, "foo.com".
* Not supported by Google.
* </pre>
*
* <code>optional string domain = 3;</code>
* @return Whether the domain field is set.
*/
boolean hasDomain();
/**
* <pre>
* Domain of the site, used for advertiser side blocking.
* For example, "foo.com".
* Not supported by Google.
* </pre>
*
* <code>optional string domain = 3;</code>
* @return The domain.
*/
java.lang.String getDomain();
/**
* <pre>
* Domain of the site, used for advertiser side blocking.
* For example, "foo.com".
* Not supported by Google.
* </pre>
*
* <code>optional string domain = 3;</code>
* @return The bytes for domain.
*/
com.google.protobuf.ByteString
getDomainBytes();
/**
* <pre>
* The taxonomy in use for cat, sectioncat and pagecat.
* Not supported by Google.
* </pre>
*
* <code>optional .com.google.openrtb.CategoryTaxonomy cattax = 16 [default = IAB_CONTENT_1_0];</code>
* @return Whether the cattax field is set.
*/
boolean hasCattax();
/**
* <pre>
* The taxonomy in use for cat, sectioncat and pagecat.
* Not supported by Google.
* </pre>
*
* <code>optional .com.google.openrtb.CategoryTaxonomy cattax = 16 [default = IAB_CONTENT_1_0];</code>
* @return The cattax.
*/
com.particles.mes.protos.openrtb.CategoryTaxonomy getCattax();
/**
* <pre>
* Array of IAB content categories of the site.
* The taxonomy to be used is defined by the cattax field.
* Not supported by Google.
* </pre>
*
* <code>repeated string cat = 4;</code>
* @return A list containing the cat.
*/
java.util.List<java.lang.String>
getCatList();
/**
* <pre>
* Array of IAB content categories of the site.
* The taxonomy to be used is defined by the cattax field.
* Not supported by Google.
* </pre>
*
* <code>repeated string cat = 4;</code>
* @return The count of cat.
*/
int getCatCount();
/**
* <pre>
* Array of IAB content categories of the site.
* The taxonomy to be used is defined by the cattax field.
* Not supported by Google.
* </pre>
*
* <code>repeated string cat = 4;</code>
* @param index The index of the element to return.
* @return The cat at the given index.
*/
java.lang.String getCat(int index);
/**
* <pre>
* Array of IAB content categories of the site.
* The taxonomy to be used is defined by the cattax field.
* Not supported by Google.
* </pre>
*
* <code>repeated string cat = 4;</code>
* @param index The index of the element to return.
* @return The cat at the given index.
*/
com.google.protobuf.ByteString
getCatBytes(int index);
/**
* <pre>
* Array of IAB content categories that describe the current section
* of the site.
* The taxonomy to be used is defined by the cattax field.
* Not supported by Google.
* </pre>
*
* <code>repeated string sectioncat = 5;</code>
* @return A list containing the sectioncat.
*/
java.util.List<java.lang.String>
getSectioncatList();
/**
* <pre>
* Array of IAB content categories that describe the current section
* of the site.
* The taxonomy to be used is defined by the cattax field.
* Not supported by Google.
* </pre>
*
* <code>repeated string sectioncat = 5;</code>
* @return The count of sectioncat.
*/
int getSectioncatCount();
/**
* <pre>
* Array of IAB content categories that describe the current section
* of the site.
* The taxonomy to be used is defined by the cattax field.
* Not supported by Google.
* </pre>
*
* <code>repeated string sectioncat = 5;</code>
* @param index The index of the element to return.
* @return The sectioncat at the given index.
*/
java.lang.String getSectioncat(int index);
/**
* <pre>
* Array of IAB content categories that describe the current section
* of the site.
* The taxonomy to be used is defined by the cattax field.
* Not supported by Google.
* </pre>
*
* <code>repeated string sectioncat = 5;</code>
* @param index The index of the element to return.
* @return The sectioncat at the given index.
*/
com.google.protobuf.ByteString
getSectioncatBytes(int index);
/**
* <pre>
* Array of IAB content categories that describe the current page or view
* of the site.
* The taxonomy to be used is defined by the cattax field.
* Not supported by Google.
* </pre>
*
* <code>repeated string pagecat = 6;</code>
* @return A list containing the pagecat.
*/
java.util.List<java.lang.String>
getPagecatList();
/**
* <pre>
* Array of IAB content categories that describe the current page or view
* of the site.
* The taxonomy to be used is defined by the cattax field.
* Not supported by Google.
* </pre>
*
* <code>repeated string pagecat = 6;</code>
* @return The count of pagecat.
*/
int getPagecatCount();
/**
* <pre>
* Array of IAB content categories that describe the current page or view
* of the site.
* The taxonomy to be used is defined by the cattax field.
* Not supported by Google.
* </pre>
*
* <code>repeated string pagecat = 6;</code>
* @param index The index of the element to return.
* @return The pagecat at the given index.
*/
java.lang.String getPagecat(int index);
/**
* <pre>
* Array of IAB content categories that describe the current page or view
* of the site.
* The taxonomy to be used is defined by the cattax field.
* Not supported by Google.
* </pre>
*
* <code>repeated string pagecat = 6;</code>
* @param index The index of the element to return.
* @return The pagecat at the given index.
*/
com.google.protobuf.ByteString
getPagecatBytes(int index);
/**
* <pre>
* URL of the page where the impression will be shown.
* Supported by Google.
* </pre>
*
* <code>optional string page = 7;</code>
* @return Whether the page field is set.
*/
boolean hasPage();
/**
* <pre>
* URL of the page where the impression will be shown.
* Supported by Google.
* </pre>
*
* <code>optional string page = 7;</code>
* @return The page.
*/
java.lang.String getPage();
/**
* <pre>
* URL of the page where the impression will be shown.
* Supported by Google.
* </pre>
*
* <code>optional string page = 7;</code>
* @return The bytes for page.
*/
com.google.protobuf.ByteString
getPageBytes();
/**
* <pre>
* Indicates if the site has a privacy policy.
* Not supported by Google.
* </pre>
*
* <code>optional bool privacypolicy = 8;</code>
* @return Whether the privacypolicy field is set.
*/
boolean hasPrivacypolicy();
/**
* <pre>
* Indicates if the site has a privacy policy.
* Not supported by Google.
* </pre>
*
* <code>optional bool privacypolicy = 8;</code>
* @return The privacypolicy.
*/
boolean getPrivacypolicy();
/**
* <pre>
* Referrer URL that caused navigation to the current page.
* Not supported by Google.
* </pre>
*
* <code>optional string ref = 9;</code>
* @return Whether the ref field is set.
*/
boolean hasRef();
/**
* <pre>
* Referrer URL that caused navigation to the current page.
* Not supported by Google.
* </pre>
*
* <code>optional string ref = 9;</code>
* @return The ref.
*/
java.lang.String getRef();
/**
* <pre>
* Referrer URL that caused navigation to the current page.
* Not supported by Google.
* </pre>
*
* <code>optional string ref = 9;</code>
* @return The bytes for ref.
*/
com.google.protobuf.ByteString
getRefBytes();
/**
* <pre>
* Search string that caused navigation to the current page.
* Not supported by Google.
* </pre>
*
* <code>optional string search = 10;</code>
* @return Whether the search field is set.
*/
boolean hasSearch();
/**
* <pre>
* Search string that caused navigation to the current page.
* Not supported by Google.
* </pre>
*
* <code>optional string search = 10;</code>
* @return The search.
*/
java.lang.String getSearch();
/**
* <pre>
* Search string that caused navigation to the current page.
* Not supported by Google.
* </pre>
*
* <code>optional string search = 10;</code>
* @return The bytes for search.
*/
com.google.protobuf.ByteString
getSearchBytes();
/**
* <pre>
* Details about the Publisher (Section 3.2.8) of the site.
* Supported by Google.
* </pre>
*
* <code>optional .com.google.openrtb.BidRequest.Publisher publisher = 11;</code>
* @return Whether the publisher field is set.
*/
boolean hasPublisher();
/**
* <pre>
* Details about the Publisher (Section 3.2.8) of the site.
* Supported by Google.
* </pre>
*
* <code>optional .com.google.openrtb.BidRequest.Publisher publisher = 11;</code>
* @return The publisher.
*/
com.particles.mes.protos.openrtb.BidRequest.Publisher getPublisher();
/**
* <pre>
* Details about the Content (Section 3.2.9) within the site.
* Supported by Google.
* </pre>
*
* <code>optional .com.google.openrtb.BidRequest.Content content = 12;</code>
* @return Whether the content field is set.
*/
boolean hasContent();
/**
* <pre>
* Details about the Content (Section 3.2.9) within the site.
* Supported by Google.
* </pre>
*
* <code>optional .com.google.openrtb.BidRequest.Content content = 12;</code>
* @return The content.
*/
com.particles.mes.protos.openrtb.BidRequest.Content getContent();
/**
* <pre>
* Comma separated list of keywords about this site.
* Not supported by Google.
* </pre>
*
* <code>optional string keywords = 13;</code>
* @return Whether the keywords field is set.
*/
boolean hasKeywords();
/**
* <pre>
* Comma separated list of keywords about this site.
* Not supported by Google.
* </pre>
*
* <code>optional string keywords = 13;</code>
* @return The keywords.
*/
java.lang.String getKeywords();
/**
* <pre>
* Comma separated list of keywords about this site.
* Not supported by Google.
* </pre>
*
* <code>optional string keywords = 13;</code>
* @return The bytes for keywords.
*/
com.google.protobuf.ByteString
getKeywordsBytes();
/**
* <pre>
* Indicates if the site has been programmed to optimize layout
* when viewed on mobile devices.
* Supported by Google.
* </pre>
*
* <code>optional bool mobile = 15;</code>
* @return Whether the mobile field is set.
*/
boolean hasMobile();
/**
* <pre>
* Indicates if the site has been programmed to optimize layout
* when viewed on mobile devices.
* Supported by Google.
* </pre>
*
* <code>optional bool mobile = 15;</code>
* @return The mobile.
*/
boolean getMobile();
}
/**
* <pre>
* OpenRTB 2.0: This object should be included if the ad supported content
* is a website as opposed to a non-browser application. A bid request must
* not contain both a Site and an App object. At a minimum, it is useful to
* provide a site ID or page URL, but this is not strictly required.
* </pre>
*
* Protobuf type {@code com.google.openrtb.BidRequest.Site}
*/
public static final class Site extends
com.google.protobuf.GeneratedMessageLite.ExtendableMessage<
Site, Site.Builder> implements
// @@protoc_insertion_point(message_implements:com.google.openrtb.BidRequest.Site)
SiteOrBuilder {
private Site() {
id_ = "";
name_ = "";
domain_ = "";
cattax_ = 1;
cat_ = com.google.protobuf.GeneratedMessageLite.emptyProtobufList();
sectioncat_ = com.google.protobuf.GeneratedMessageLite.emptyProtobufList();
pagecat_ = com.google.protobuf.GeneratedMessageLite.emptyProtobufList();
page_ = "";
ref_ = "";
search_ = "";
keywords_ = "";
}
private int bitField0_;
public static final int ID_FIELD_NUMBER = 1;
private java.lang.String id_;
/**
* <pre>
* Site ID on the exchange.
* Not supported by Google.
* </pre>
*
* <code>optional string id = 1;</code>
* @return Whether the id field is set.
*/
@java.lang.Override
public boolean hasId() {
return ((bitField0_ & 0x00000001) != 0);
}
/**
* <pre>
* Site ID on the exchange.
* Not supported by Google.
* </pre>
*
* <code>optional string id = 1;</code>
* @return The id.
*/
@java.lang.Override
public java.lang.String getId() {
return id_;
}
/**
* <pre>
* Site ID on the exchange.
* Not supported by Google.
* </pre>
*
* <code>optional string id = 1;</code>
* @return The bytes for id.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getIdBytes() {
return com.google.protobuf.ByteString.copyFromUtf8(id_);
}
/**
* <pre>
* Site ID on the exchange.
* Not supported by Google.
* </pre>
*
* <code>optional string id = 1;</code>
* @param value The id to set.
*/
private void setId(
java.lang.String value) {
java.lang.Class<?> valueClass = value.getClass();
bitField0_ |= 0x00000001;
id_ = value;
}
/**
* <pre>
* Site ID on the exchange.
* Not supported by Google.
* </pre>
*
* <code>optional string id = 1;</code>
*/
private void clearId() {
bitField0_ = (bitField0_ & ~0x00000001);
id_ = getDefaultInstance().getId();
}
/**
* <pre>
* Site ID on the exchange.
* Not supported by Google.
* </pre>
*
* <code>optional string id = 1;</code>
* @param value The bytes for id to set.
*/
private void setIdBytes(
com.google.protobuf.ByteString value) {
id_ = value.toStringUtf8();
bitField0_ |= 0x00000001;
}
public static final int NAME_FIELD_NUMBER = 2;
private java.lang.String name_;
/**
* <pre>
* Site name (may be masked at publisher's request).
* Not supported by Google.
* </pre>
*
* <code>optional string name = 2;</code>
* @return Whether the name field is set.
*/
@java.lang.Override
public boolean hasName() {
return ((bitField0_ & 0x00000002) != 0);
}
/**
* <pre>
* Site name (may be masked at publisher's request).
* Not supported by Google.
* </pre>
*
* <code>optional string name = 2;</code>
* @return The name.
*/
@java.lang.Override
public java.lang.String getName() {
return name_;
}
/**
* <pre>
* Site name (may be masked at publisher's request).
* Not supported by Google.
* </pre>
*
* <code>optional string name = 2;</code>
* @return The bytes for name.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getNameBytes() {
return com.google.protobuf.ByteString.copyFromUtf8(name_);
}
/**
* <pre>
* Site name (may be masked at publisher's request).
* Not supported by Google.
* </pre>
*
* <code>optional string name = 2;</code>
* @param value The name to set.
*/
private void setName(
java.lang.String value) {
java.lang.Class<?> valueClass = value.getClass();
bitField0_ |= 0x00000002;
name_ = value;
}
/**
* <pre>
* Site name (may be masked at publisher's request).
* Not supported by Google.
* </pre>
*
* <code>optional string name = 2;</code>
*/
private void clearName() {
bitField0_ = (bitField0_ & ~0x00000002);
name_ = getDefaultInstance().getName();
}
/**
* <pre>
* Site name (may be masked at publisher's request).
* Not supported by Google.
* </pre>
*
* <code>optional string name = 2;</code>
* @param value The bytes for name to set.
*/
private void setNameBytes(
com.google.protobuf.ByteString value) {
name_ = value.toStringUtf8();
bitField0_ |= 0x00000002;
}
public static final int DOMAIN_FIELD_NUMBER = 3;
private java.lang.String domain_;
/**
* <pre>
* Domain of the site, used for advertiser side blocking.
* For example, "foo.com".
* Not supported by Google.
* </pre>
*
* <code>optional string domain = 3;</code>
* @return Whether the domain field is set.
*/
@java.lang.Override
public boolean hasDomain() {
return ((bitField0_ & 0x00000004) != 0);
}
/**
* <pre>
* Domain of the site, used for advertiser side blocking.
* For example, "foo.com".
* Not supported by Google.
* </pre>
*
* <code>optional string domain = 3;</code>
* @return The domain.
*/
@java.lang.Override
public java.lang.String getDomain() {
return domain_;
}
/**
* <pre>
* Domain of the site, used for advertiser side blocking.
* For example, "foo.com".
* Not supported by Google.
* </pre>
*
* <code>optional string domain = 3;</code>
* @return The bytes for domain.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getDomainBytes() {
return com.google.protobuf.ByteString.copyFromUtf8(domain_);
}
/**
* <pre>
* Domain of the site, used for advertiser side blocking.
* For example, "foo.com".
* Not supported by Google.
* </pre>
*
* <code>optional string domain = 3;</code>
* @param value The domain to set.
*/
private void setDomain(
java.lang.String value) {
java.lang.Class<?> valueClass = value.getClass();
bitField0_ |= 0x00000004;
domain_ = value;
}
/**
* <pre>
* Domain of the site, used for advertiser side blocking.
* For example, "foo.com".
* Not supported by Google.
* </pre>
*
* <code>optional string domain = 3;</code>
*/
private void clearDomain() {
bitField0_ = (bitField0_ & ~0x00000004);
domain_ = getDefaultInstance().getDomain();
}
/**
* <pre>
* Domain of the site, used for advertiser side blocking.
* For example, "foo.com".
* Not supported by Google.
* </pre>
*
* <code>optional string domain = 3;</code>
* @param value The bytes for domain to set.
*/
private void setDomainBytes(
com.google.protobuf.ByteString value) {
domain_ = value.toStringUtf8();
bitField0_ |= 0x00000004;
}
public static final int CATTAX_FIELD_NUMBER = 16;
private int cattax_;
/**
* <pre>
* The taxonomy in use for cat, sectioncat and pagecat.
* Not supported by Google.
* </pre>
*
* <code>optional .com.google.openrtb.CategoryTaxonomy cattax = 16 [default = IAB_CONTENT_1_0];</code>
* @return Whether the cattax field is set.
*/
@java.lang.Override
public boolean hasCattax() {
return ((bitField0_ & 0x00000008) != 0);
}
/**
* <pre>
* The taxonomy in use for cat, sectioncat and pagecat.
* Not supported by Google.
* </pre>
*
* <code>optional .com.google.openrtb.CategoryTaxonomy cattax = 16 [default = IAB_CONTENT_1_0];</code>
* @return The cattax.
*/
@java.lang.Override
public com.particles.mes.protos.openrtb.CategoryTaxonomy getCattax() {
com.particles.mes.protos.openrtb.CategoryTaxonomy result = com.particles.mes.protos.openrtb.CategoryTaxonomy.forNumber(cattax_);
return result == null ? com.particles.mes.protos.openrtb.CategoryTaxonomy.IAB_CONTENT_1_0 : result;
}
/**
* <pre>
* The taxonomy in use for cat, sectioncat and pagecat.
* Not supported by Google.
* </pre>
*
* <code>optional .com.google.openrtb.CategoryTaxonomy cattax = 16 [default = IAB_CONTENT_1_0];</code>
* @param value The cattax to set.
*/
private void setCattax(com.particles.mes.protos.openrtb.CategoryTaxonomy value) {
cattax_ = value.getNumber();
bitField0_ |= 0x00000008;
}
/**
* <pre>
* The taxonomy in use for cat, sectioncat and pagecat.
* Not supported by Google.
* </pre>
*
* <code>optional .com.google.openrtb.CategoryTaxonomy cattax = 16 [default = IAB_CONTENT_1_0];</code>
*/
private void clearCattax() {
bitField0_ = (bitField0_ & ~0x00000008);
cattax_ = 1;
}
public static final int CAT_FIELD_NUMBER = 4;
private com.google.protobuf.Internal.ProtobufList<java.lang.String> cat_;
/**
* <pre>
* Array of IAB content categories of the site.
* The taxonomy to be used is defined by the cattax field.
* Not supported by Google.
* </pre>
*
* <code>repeated string cat = 4;</code>
* @return A list containing the cat.
*/
@java.lang.Override
public java.util.List<java.lang.String> getCatList() {
return cat_;
}
/**
* <pre>
* Array of IAB content categories of the site.
* The taxonomy to be used is defined by the cattax field.
* Not supported by Google.
* </pre>
*
* <code>repeated string cat = 4;</code>
* @return The count of cat.
*/
@java.lang.Override
public int getCatCount() {
return cat_.size();
}
/**
* <pre>
* Array of IAB content categories of the site.
* The taxonomy to be used is defined by the cattax field.
* Not supported by Google.
* </pre>
*
* <code>repeated string cat = 4;</code>
* @param index The index of the element to return.
* @return The cat at the given index.
*/
@java.lang.Override
public java.lang.String getCat(int index) {
return cat_.get(index);
}
/**
* <pre>
* Array of IAB content categories of the site.
* The taxonomy to be used is defined by the cattax field.
* Not supported by Google.
* </pre>
*
* <code>repeated string cat = 4;</code>
* @param index The index of the value to return.
* @return The bytes of the cat at the given index.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getCatBytes(int index) {
return com.google.protobuf.ByteString.copyFromUtf8(
cat_.get(index));
}
private void ensureCatIsMutable() {
com.google.protobuf.Internal.ProtobufList<java.lang.String> tmp =
cat_; if (!tmp.isModifiable()) {
cat_ =
com.google.protobuf.GeneratedMessageLite.mutableCopy(tmp);
}
}
/**
* <pre>
* Array of IAB content categories of the site.
* The taxonomy to be used is defined by the cattax field.
* Not supported by Google.
* </pre>
*
* <code>repeated string cat = 4;</code>
* @param index The index to set the value at.
* @param value The cat to set.
*/
private void setCat(
int index, java.lang.String value) {
java.lang.Class<?> valueClass = value.getClass();
ensureCatIsMutable();
cat_.set(index, value);
}
/**
* <pre>
* Array of IAB content categories of the site.
* The taxonomy to be used is defined by the cattax field.
* Not supported by Google.
* </pre>
*
* <code>repeated string cat = 4;</code>
* @param value The cat to add.
*/
private void addCat(
java.lang.String value) {
java.lang.Class<?> valueClass = value.getClass();
ensureCatIsMutable();
cat_.add(value);
}
/**
* <pre>
* Array of IAB content categories of the site.
* The taxonomy to be used is defined by the cattax field.
* Not supported by Google.
* </pre>
*
* <code>repeated string cat = 4;</code>
* @param values The cat to add.
*/
private void addAllCat(
java.lang.Iterable<java.lang.String> values) {
ensureCatIsMutable();
com.google.protobuf.AbstractMessageLite.addAll(
values, cat_);
}
/**
* <pre>
* Array of IAB content categories of the site.
* The taxonomy to be used is defined by the cattax field.
* Not supported by Google.
* </pre>
*
* <code>repeated string cat = 4;</code>
*/
private void clearCat() {
cat_ = com.google.protobuf.GeneratedMessageLite.emptyProtobufList();
}
/**
* <pre>
* Array of IAB content categories of the site.
* The taxonomy to be used is defined by the cattax field.
* Not supported by Google.
* </pre>
*
* <code>repeated string cat = 4;</code>
* @param value The bytes of the cat to add.
*/
private void addCatBytes(
com.google.protobuf.ByteString value) {
ensureCatIsMutable();
cat_.add(value.toStringUtf8());
}
public static final int SECTIONCAT_FIELD_NUMBER = 5;
private com.google.protobuf.Internal.ProtobufList<java.lang.String> sectioncat_;
/**
* <pre>
* Array of IAB content categories that describe the current section
* of the site.
* The taxonomy to be used is defined by the cattax field.
* Not supported by Google.
* </pre>
*
* <code>repeated string sectioncat = 5;</code>
* @return A list containing the sectioncat.
*/
@java.lang.Override
public java.util.List<java.lang.String> getSectioncatList() {
return sectioncat_;
}
/**
* <pre>
* Array of IAB content categories that describe the current section
* of the site.
* The taxonomy to be used is defined by the cattax field.
* Not supported by Google.
* </pre>
*
* <code>repeated string sectioncat = 5;</code>
* @return The count of sectioncat.
*/
@java.lang.Override
public int getSectioncatCount() {
return sectioncat_.size();
}
/**
* <pre>
* Array of IAB content categories that describe the current section
* of the site.
* The taxonomy to be used is defined by the cattax field.
* Not supported by Google.
* </pre>
*
* <code>repeated string sectioncat = 5;</code>
* @param index The index of the element to return.
* @return The sectioncat at the given index.
*/
@java.lang.Override
public java.lang.String getSectioncat(int index) {
return sectioncat_.get(index);
}
/**
* <pre>
* Array of IAB content categories that describe the current section
* of the site.
* The taxonomy to be used is defined by the cattax field.
* Not supported by Google.
* </pre>
*
* <code>repeated string sectioncat = 5;</code>
* @param index The index of the value to return.
* @return The bytes of the sectioncat at the given index.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getSectioncatBytes(int index) {
return com.google.protobuf.ByteString.copyFromUtf8(
sectioncat_.get(index));
}
private void ensureSectioncatIsMutable() {
com.google.protobuf.Internal.ProtobufList<java.lang.String> tmp =
sectioncat_; if (!tmp.isModifiable()) {
sectioncat_ =
com.google.protobuf.GeneratedMessageLite.mutableCopy(tmp);
}
}
/**
* <pre>
* Array of IAB content categories that describe the current section
* of the site.
* The taxonomy to be used is defined by the cattax field.
* Not supported by Google.
* </pre>
*
* <code>repeated string sectioncat = 5;</code>
* @param index The index to set the value at.
* @param value The sectioncat to set.
*/
private void setSectioncat(
int index, java.lang.String value) {
java.lang.Class<?> valueClass = value.getClass();
ensureSectioncatIsMutable();
sectioncat_.set(index, value);
}
/**
* <pre>
* Array of IAB content categories that describe the current section
* of the site.
* The taxonomy to be used is defined by the cattax field.
* Not supported by Google.
* </pre>
*
* <code>repeated string sectioncat = 5;</code>
* @param value The sectioncat to add.
*/
private void addSectioncat(
java.lang.String value) {
java.lang.Class<?> valueClass = value.getClass();
ensureSectioncatIsMutable();
sectioncat_.add(value);
}
/**
* <pre>
* Array of IAB content categories that describe the current section
* of the site.
* The taxonomy to be used is defined by the cattax field.
* Not supported by Google.
* </pre>
*
* <code>repeated string sectioncat = 5;</code>
* @param values The sectioncat to add.
*/
private void addAllSectioncat(
java.lang.Iterable<java.lang.String> values) {
ensureSectioncatIsMutable();
com.google.protobuf.AbstractMessageLite.addAll(
values, sectioncat_);
}
/**
* <pre>
* Array of IAB content categories that describe the current section
* of the site.
* The taxonomy to be used is defined by the cattax field.
* Not supported by Google.
* </pre>
*
* <code>repeated string sectioncat = 5;</code>
*/
private void clearSectioncat() {
sectioncat_ = com.google.protobuf.GeneratedMessageLite.emptyProtobufList();
}
/**
* <pre>
* Array of IAB content categories that describe the current section
* of the site.
* The taxonomy to be used is defined by the cattax field.
* Not supported by Google.
* </pre>
*
* <code>repeated string sectioncat = 5;</code>
* @param value The bytes of the sectioncat to add.
*/
private void addSectioncatBytes(
com.google.protobuf.ByteString value) {
ensureSectioncatIsMutable();
sectioncat_.add(value.toStringUtf8());
}
public static final int PAGECAT_FIELD_NUMBER = 6;
private com.google.protobuf.Internal.ProtobufList<java.lang.String> pagecat_;
/**
* <pre>
* Array of IAB content categories that describe the current page or view
* of the site.
* The taxonomy to be used is defined by the cattax field.
* Not supported by Google.
* </pre>
*
* <code>repeated string pagecat = 6;</code>
* @return A list containing the pagecat.
*/
@java.lang.Override
public java.util.List<java.lang.String> getPagecatList() {
return pagecat_;
}
/**
* <pre>
* Array of IAB content categories that describe the current page or view
* of the site.
* The taxonomy to be used is defined by the cattax field.
* Not supported by Google.
* </pre>
*
* <code>repeated string pagecat = 6;</code>
* @return The count of pagecat.
*/
@java.lang.Override
public int getPagecatCount() {
return pagecat_.size();
}
/**
* <pre>
* Array of IAB content categories that describe the current page or view
* of the site.
* The taxonomy to be used is defined by the cattax field.
* Not supported by Google.
* </pre>
*
* <code>repeated string pagecat = 6;</code>
* @param index The index of the element to return.
* @return The pagecat at the given index.
*/
@java.lang.Override
public java.lang.String getPagecat(int index) {
return pagecat_.get(index);
}
/**
* <pre>
* Array of IAB content categories that describe the current page or view
* of the site.
* The taxonomy to be used is defined by the cattax field.
* Not supported by Google.
* </pre>
*
* <code>repeated string pagecat = 6;</code>
* @param index The index of the value to return.
* @return The bytes of the pagecat at the given index.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getPagecatBytes(int index) {
return com.google.protobuf.ByteString.copyFromUtf8(
pagecat_.get(index));
}
private void ensurePagecatIsMutable() {
com.google.protobuf.Internal.ProtobufList<java.lang.String> tmp =
pagecat_; if (!tmp.isModifiable()) {
pagecat_ =
com.google.protobuf.GeneratedMessageLite.mutableCopy(tmp);
}
}
/**
* <pre>
* Array of IAB content categories that describe the current page or view
* of the site.
* The taxonomy to be used is defined by the cattax field.
* Not supported by Google.
* </pre>
*
* <code>repeated string pagecat = 6;</code>
* @param index The index to set the value at.
* @param value The pagecat to set.
*/
private void setPagecat(
int index, java.lang.String value) {
java.lang.Class<?> valueClass = value.getClass();
ensurePagecatIsMutable();
pagecat_.set(index, value);
}
/**
* <pre>
* Array of IAB content categories that describe the current page or view
* of the site.
* The taxonomy to be used is defined by the cattax field.
* Not supported by Google.
* </pre>
*
* <code>repeated string pagecat = 6;</code>
* @param value The pagecat to add.
*/
private void addPagecat(
java.lang.String value) {
java.lang.Class<?> valueClass = value.getClass();
ensurePagecatIsMutable();
pagecat_.add(value);
}
/**
* <pre>
* Array of IAB content categories that describe the current page or view
* of the site.
* The taxonomy to be used is defined by the cattax field.
* Not supported by Google.
* </pre>
*
* <code>repeated string pagecat = 6;</code>
* @param values The pagecat to add.
*/
private void addAllPagecat(
java.lang.Iterable<java.lang.String> values) {
ensurePagecatIsMutable();
com.google.protobuf.AbstractMessageLite.addAll(
values, pagecat_);
}
/**
* <pre>
* Array of IAB content categories that describe the current page or view
* of the site.
* The taxonomy to be used is defined by the cattax field.
* Not supported by Google.
* </pre>
*
* <code>repeated string pagecat = 6;</code>
*/
private void clearPagecat() {
pagecat_ = com.google.protobuf.GeneratedMessageLite.emptyProtobufList();
}
/**
* <pre>
* Array of IAB content categories that describe the current page or view
* of the site.
* The taxonomy to be used is defined by the cattax field.
* Not supported by Google.
* </pre>
*
* <code>repeated string pagecat = 6;</code>
* @param value The bytes of the pagecat to add.
*/
private void addPagecatBytes(
com.google.protobuf.ByteString value) {
ensurePagecatIsMutable();
pagecat_.add(value.toStringUtf8());
}
public static final int PAGE_FIELD_NUMBER = 7;
private java.lang.String page_;
/**
* <pre>
* URL of the page where the impression will be shown.
* Supported by Google.
* </pre>
*
* <code>optional string page = 7;</code>
* @return Whether the page field is set.
*/
@java.lang.Override
public boolean hasPage() {
return ((bitField0_ & 0x00000010) != 0);
}
/**
* <pre>
* URL of the page where the impression will be shown.
* Supported by Google.
* </pre>
*
* <code>optional string page = 7;</code>
* @return The page.
*/
@java.lang.Override
public java.lang.String getPage() {
return page_;
}
/**
* <pre>
* URL of the page where the impression will be shown.
* Supported by Google.
* </pre>
*
* <code>optional string page = 7;</code>
* @return The bytes for page.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getPageBytes() {
return com.google.protobuf.ByteString.copyFromUtf8(page_);
}
/**
* <pre>
* URL of the page where the impression will be shown.
* Supported by Google.
* </pre>
*
* <code>optional string page = 7;</code>
* @param value The page to set.
*/
private void setPage(
java.lang.String value) {
java.lang.Class<?> valueClass = value.getClass();
bitField0_ |= 0x00000010;
page_ = value;
}
/**
* <pre>
* URL of the page where the impression will be shown.
* Supported by Google.
* </pre>
*
* <code>optional string page = 7;</code>
*/
private void clearPage() {
bitField0_ = (bitField0_ & ~0x00000010);
page_ = getDefaultInstance().getPage();
}
/**
* <pre>
* URL of the page where the impression will be shown.
* Supported by Google.
* </pre>
*
* <code>optional string page = 7;</code>
* @param value The bytes for page to set.
*/
private void setPageBytes(
com.google.protobuf.ByteString value) {
page_ = value.toStringUtf8();
bitField0_ |= 0x00000010;
}
public static final int PRIVACYPOLICY_FIELD_NUMBER = 8;
private boolean privacypolicy_;
/**
* <pre>
* Indicates if the site has a privacy policy.
* Not supported by Google.
* </pre>
*
* <code>optional bool privacypolicy = 8;</code>
* @return Whether the privacypolicy field is set.
*/
@java.lang.Override
public boolean hasPrivacypolicy() {
return ((bitField0_ & 0x00000020) != 0);
}
/**
* <pre>
* Indicates if the site has a privacy policy.
* Not supported by Google.
* </pre>
*
* <code>optional bool privacypolicy = 8;</code>
* @return The privacypolicy.
*/
@java.lang.Override
public boolean getPrivacypolicy() {
return privacypolicy_;
}
/**
* <pre>
* Indicates if the site has a privacy policy.
* Not supported by Google.
* </pre>
*
* <code>optional bool privacypolicy = 8;</code>
* @param value The privacypolicy to set.
*/
private void setPrivacypolicy(boolean value) {
bitField0_ |= 0x00000020;
privacypolicy_ = value;
}
/**
* <pre>
* Indicates if the site has a privacy policy.
* Not supported by Google.
* </pre>
*
* <code>optional bool privacypolicy = 8;</code>
*/
private void clearPrivacypolicy() {
bitField0_ = (bitField0_ & ~0x00000020);
privacypolicy_ = false;
}
public static final int REF_FIELD_NUMBER = 9;
private java.lang.String ref_;
/**
* <pre>
* Referrer URL that caused navigation to the current page.
* Not supported by Google.
* </pre>
*
* <code>optional string ref = 9;</code>
* @return Whether the ref field is set.
*/
@java.lang.Override
public boolean hasRef() {
return ((bitField0_ & 0x00000040) != 0);
}
/**
* <pre>
* Referrer URL that caused navigation to the current page.
* Not supported by Google.
* </pre>
*
* <code>optional string ref = 9;</code>
* @return The ref.
*/
@java.lang.Override
public java.lang.String getRef() {
return ref_;
}
/**
* <pre>
* Referrer URL that caused navigation to the current page.
* Not supported by Google.
* </pre>
*
* <code>optional string ref = 9;</code>
* @return The bytes for ref.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getRefBytes() {
return com.google.protobuf.ByteString.copyFromUtf8(ref_);
}
/**
* <pre>
* Referrer URL that caused navigation to the current page.
* Not supported by Google.
* </pre>
*
* <code>optional string ref = 9;</code>
* @param value The ref to set.
*/
private void setRef(
java.lang.String value) {
java.lang.Class<?> valueClass = value.getClass();
bitField0_ |= 0x00000040;
ref_ = value;
}
/**
* <pre>
* Referrer URL that caused navigation to the current page.
* Not supported by Google.
* </pre>
*
* <code>optional string ref = 9;</code>
*/
private void clearRef() {
bitField0_ = (bitField0_ & ~0x00000040);
ref_ = getDefaultInstance().getRef();
}
/**
* <pre>
* Referrer URL that caused navigation to the current page.
* Not supported by Google.
* </pre>
*
* <code>optional string ref = 9;</code>
* @param value The bytes for ref to set.
*/
private void setRefBytes(
com.google.protobuf.ByteString value) {
ref_ = value.toStringUtf8();
bitField0_ |= 0x00000040;
}
public static final int SEARCH_FIELD_NUMBER = 10;
private java.lang.String search_;
/**
* <pre>
* Search string that caused navigation to the current page.
* Not supported by Google.
* </pre>
*
* <code>optional string search = 10;</code>
* @return Whether the search field is set.
*/
@java.lang.Override
public boolean hasSearch() {
return ((bitField0_ & 0x00000080) != 0);
}
/**
* <pre>
* Search string that caused navigation to the current page.
* Not supported by Google.
* </pre>
*
* <code>optional string search = 10;</code>
* @return The search.
*/
@java.lang.Override
public java.lang.String getSearch() {
return search_;
}
/**
* <pre>
* Search string that caused navigation to the current page.
* Not supported by Google.
* </pre>
*
* <code>optional string search = 10;</code>
* @return The bytes for search.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getSearchBytes() {
return com.google.protobuf.ByteString.copyFromUtf8(search_);
}
/**
* <pre>
* Search string that caused navigation to the current page.
* Not supported by Google.
* </pre>
*
* <code>optional string search = 10;</code>
* @param value The search to set.
*/
private void setSearch(
java.lang.String value) {
java.lang.Class<?> valueClass = value.getClass();
bitField0_ |= 0x00000080;
search_ = value;
}
/**
* <pre>
* Search string that caused navigation to the current page.
* Not supported by Google.
* </pre>
*
* <code>optional string search = 10;</code>
*/
private void clearSearch() {
bitField0_ = (bitField0_ & ~0x00000080);
search_ = getDefaultInstance().getSearch();
}
/**
* <pre>
* Search string that caused navigation to the current page.
* Not supported by Google.
* </pre>
*
* <code>optional string search = 10;</code>
* @param value The bytes for search to set.
*/
private void setSearchBytes(
com.google.protobuf.ByteString value) {
search_ = value.toStringUtf8();
bitField0_ |= 0x00000080;
}
public static final int PUBLISHER_FIELD_NUMBER = 11;
private com.particles.mes.protos.openrtb.BidRequest.Publisher publisher_;
/**
* <pre>
* Details about the Publisher (Section 3.2.8) of the site.
* Supported by Google.
* </pre>
*
* <code>optional .com.google.openrtb.BidRequest.Publisher publisher = 11;</code>
*/
@java.lang.Override
public boolean hasPublisher() {
return ((bitField0_ & 0x00000100) != 0);
}
/**
* <pre>
* Details about the Publisher (Section 3.2.8) of the site.
* Supported by Google.
* </pre>
*
* <code>optional .com.google.openrtb.BidRequest.Publisher publisher = 11;</code>
*/
@java.lang.Override
public com.particles.mes.protos.openrtb.BidRequest.Publisher getPublisher() {
return publisher_ == null ? com.particles.mes.protos.openrtb.BidRequest.Publisher.getDefaultInstance() : publisher_;
}
/**
* <pre>
* Details about the Publisher (Section 3.2.8) of the site.
* Supported by Google.
* </pre>
*
* <code>optional .com.google.openrtb.BidRequest.Publisher publisher = 11;</code>
*/
private void setPublisher(com.particles.mes.protos.openrtb.BidRequest.Publisher value) {
value.getClass();
publisher_ = value;
bitField0_ |= 0x00000100;
}
/**
* <pre>
* Details about the Publisher (Section 3.2.8) of the site.
* Supported by Google.
* </pre>
*
* <code>optional .com.google.openrtb.BidRequest.Publisher publisher = 11;</code>
*/
@java.lang.SuppressWarnings({"ReferenceEquality"})
private void mergePublisher(com.particles.mes.protos.openrtb.BidRequest.Publisher value) {
value.getClass();
if (publisher_ != null &&
publisher_ != com.particles.mes.protos.openrtb.BidRequest.Publisher.getDefaultInstance()) {
publisher_ =
com.particles.mes.protos.openrtb.BidRequest.Publisher.newBuilder(publisher_).mergeFrom(value).buildPartial();
} else {
publisher_ = value;
}
bitField0_ |= 0x00000100;
}
/**
* <pre>
* Details about the Publisher (Section 3.2.8) of the site.
* Supported by Google.
* </pre>
*
* <code>optional .com.google.openrtb.BidRequest.Publisher publisher = 11;</code>
*/
private void clearPublisher() { publisher_ = null;
bitField0_ = (bitField0_ & ~0x00000100);
}
public static final int CONTENT_FIELD_NUMBER = 12;
private com.particles.mes.protos.openrtb.BidRequest.Content content_;
/**
* <pre>
* Details about the Content (Section 3.2.9) within the site.
* Supported by Google.
* </pre>
*
* <code>optional .com.google.openrtb.BidRequest.Content content = 12;</code>
*/
@java.lang.Override
public boolean hasContent() {
return ((bitField0_ & 0x00000200) != 0);
}
/**
* <pre>
* Details about the Content (Section 3.2.9) within the site.
* Supported by Google.
* </pre>
*
* <code>optional .com.google.openrtb.BidRequest.Content content = 12;</code>
*/
@java.lang.Override
public com.particles.mes.protos.openrtb.BidRequest.Content getContent() {
return content_ == null ? com.particles.mes.protos.openrtb.BidRequest.Content.getDefaultInstance() : content_;
}
/**
* <pre>
* Details about the Content (Section 3.2.9) within the site.
* Supported by Google.
* </pre>
*
* <code>optional .com.google.openrtb.BidRequest.Content content = 12;</code>
*/
private void setContent(com.particles.mes.protos.openrtb.BidRequest.Content value) {
value.getClass();
content_ = value;
bitField0_ |= 0x00000200;
}
/**
* <pre>
* Details about the Content (Section 3.2.9) within the site.
* Supported by Google.
* </pre>
*
* <code>optional .com.google.openrtb.BidRequest.Content content = 12;</code>
*/
@java.lang.SuppressWarnings({"ReferenceEquality"})
private void mergeContent(com.particles.mes.protos.openrtb.BidRequest.Content value) {
value.getClass();
if (content_ != null &&
content_ != com.particles.mes.protos.openrtb.BidRequest.Content.getDefaultInstance()) {
content_ =
com.particles.mes.protos.openrtb.BidRequest.Content.newBuilder(content_).mergeFrom(value).buildPartial();
} else {
content_ = value;
}
bitField0_ |= 0x00000200;
}
/**
* <pre>
* Details about the Content (Section 3.2.9) within the site.
* Supported by Google.
* </pre>
*
* <code>optional .com.google.openrtb.BidRequest.Content content = 12;</code>
*/
private void clearContent() { content_ = null;
bitField0_ = (bitField0_ & ~0x00000200);
}
public static final int KEYWORDS_FIELD_NUMBER = 13;
private java.lang.String keywords_;
/**
* <pre>
* Comma separated list of keywords about this site.
* Not supported by Google.
* </pre>
*
* <code>optional string keywords = 13;</code>
* @return Whether the keywords field is set.
*/
@java.lang.Override
public boolean hasKeywords() {
return ((bitField0_ & 0x00000400) != 0);
}
/**
* <pre>
* Comma separated list of keywords about this site.
* Not supported by Google.
* </pre>
*
* <code>optional string keywords = 13;</code>
* @return The keywords.
*/
@java.lang.Override
public java.lang.String getKeywords() {
return keywords_;
}
/**
* <pre>
* Comma separated list of keywords about this site.
* Not supported by Google.
* </pre>
*
* <code>optional string keywords = 13;</code>
* @return The bytes for keywords.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getKeywordsBytes() {
return com.google.protobuf.ByteString.copyFromUtf8(keywords_);
}
/**
* <pre>
* Comma separated list of keywords about this site.
* Not supported by Google.
* </pre>
*
* <code>optional string keywords = 13;</code>
* @param value The keywords to set.
*/
private void setKeywords(
java.lang.String value) {
java.lang.Class<?> valueClass = value.getClass();
bitField0_ |= 0x00000400;
keywords_ = value;
}
/**
* <pre>
* Comma separated list of keywords about this site.
* Not supported by Google.
* </pre>
*
* <code>optional string keywords = 13;</code>
*/
private void clearKeywords() {
bitField0_ = (bitField0_ & ~0x00000400);
keywords_ = getDefaultInstance().getKeywords();
}
/**
* <pre>
* Comma separated list of keywords about this site.
* Not supported by Google.
* </pre>
*
* <code>optional string keywords = 13;</code>
* @param value The bytes for keywords to set.
*/
private void setKeywordsBytes(
com.google.protobuf.ByteString value) {
keywords_ = value.toStringUtf8();
bitField0_ |= 0x00000400;
}
public static final int MOBILE_FIELD_NUMBER = 15;
private boolean mobile_;
/**
* <pre>
* Indicates if the site has been programmed to optimize layout
* when viewed on mobile devices.
* Supported by Google.
* </pre>
*
* <code>optional bool mobile = 15;</code>
* @return Whether the mobile field is set.
*/
@java.lang.Override
public boolean hasMobile() {
return ((bitField0_ & 0x00000800) != 0);
}
/**
* <pre>
* Indicates if the site has been programmed to optimize layout
* when viewed on mobile devices.
* Supported by Google.
* </pre>
*
* <code>optional bool mobile = 15;</code>
* @return The mobile.
*/
@java.lang.Override
public boolean getMobile() {
return mobile_;
}
/**
* <pre>
* Indicates if the site has been programmed to optimize layout
* when viewed on mobile devices.
* Supported by Google.
* </pre>
*
* <code>optional bool mobile = 15;</code>
* @param value The mobile to set.
*/
private void setMobile(boolean value) {
bitField0_ |= 0x00000800;
mobile_ = value;
}
/**
* <pre>
* Indicates if the site has been programmed to optimize layout
* when viewed on mobile devices.
* Supported by Google.
* </pre>
*
* <code>optional bool mobile = 15;</code>
*/
private void clearMobile() {
bitField0_ = (bitField0_ & ~0x00000800);
mobile_ = false;
}
public static com.particles.mes.protos.openrtb.BidRequest.Site parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, data);
}
public static com.particles.mes.protos.openrtb.BidRequest.Site parseFrom(
java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, data, extensionRegistry);
}
public static com.particles.mes.protos.openrtb.BidRequest.Site parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, data);
}
public static com.particles.mes.protos.openrtb.BidRequest.Site parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, data, extensionRegistry);
}
public static com.particles.mes.protos.openrtb.BidRequest.Site parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, data);
}
public static com.particles.mes.protos.openrtb.BidRequest.Site parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, data, extensionRegistry);
}
public static com.particles.mes.protos.openrtb.BidRequest.Site parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, input);
}
public static com.particles.mes.protos.openrtb.BidRequest.Site parseFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, input, extensionRegistry);
}
public static com.particles.mes.protos.openrtb.BidRequest.Site parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return parseDelimitedFrom(DEFAULT_INSTANCE, input);
}
public static com.particles.mes.protos.openrtb.BidRequest.Site parseDelimitedFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return parseDelimitedFrom(DEFAULT_INSTANCE, input, extensionRegistry);
}
public static com.particles.mes.protos.openrtb.BidRequest.Site parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, input);
}
public static com.particles.mes.protos.openrtb.BidRequest.Site parseFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, input, extensionRegistry);
}
public static Builder newBuilder() {
return (Builder) DEFAULT_INSTANCE.createBuilder();
}
public static Builder newBuilder(com.particles.mes.protos.openrtb.BidRequest.Site prototype) {
return (Builder) DEFAULT_INSTANCE.createBuilder(prototype);
}
/**
* <pre>
* OpenRTB 2.0: This object should be included if the ad supported content
* is a website as opposed to a non-browser application. A bid request must
* not contain both a Site and an App object. At a minimum, it is useful to
* provide a site ID or page URL, but this is not strictly required.
* </pre>
*
* Protobuf type {@code com.google.openrtb.BidRequest.Site}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageLite.ExtendableBuilder<
com.particles.mes.protos.openrtb.BidRequest.Site, Builder> implements
// @@protoc_insertion_point(builder_implements:com.google.openrtb.BidRequest.Site)
com.particles.mes.protos.openrtb.BidRequest.SiteOrBuilder {
// Construct using com.particles.mes.protos.openrtb.BidRequest.Site.newBuilder()
private Builder() {
super(DEFAULT_INSTANCE);
}
/**
* <pre>
* Site ID on the exchange.
* Not supported by Google.
* </pre>
*
* <code>optional string id = 1;</code>
* @return Whether the id field is set.
*/
@java.lang.Override
public boolean hasId() {
return instance.hasId();
}
/**
* <pre>
* Site ID on the exchange.
* Not supported by Google.
* </pre>
*
* <code>optional string id = 1;</code>
* @return The id.
*/
@java.lang.Override
public java.lang.String getId() {
return instance.getId();
}
/**
* <pre>
* Site ID on the exchange.
* Not supported by Google.
* </pre>
*
* <code>optional string id = 1;</code>
* @return The bytes for id.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getIdBytes() {
return instance.getIdBytes();
}
/**
* <pre>
* Site ID on the exchange.
* Not supported by Google.
* </pre>
*
* <code>optional string id = 1;</code>
* @param value The id to set.
* @return This builder for chaining.
*/
public Builder setId(
java.lang.String value) {
copyOnWrite();
instance.setId(value);
return this;
}
/**
* <pre>
* Site ID on the exchange.
* Not supported by Google.
* </pre>
*
* <code>optional string id = 1;</code>
* @return This builder for chaining.
*/
public Builder clearId() {
copyOnWrite();
instance.clearId();
return this;
}
/**
* <pre>
* Site ID on the exchange.
* Not supported by Google.
* </pre>
*
* <code>optional string id = 1;</code>
* @param value The bytes for id to set.
* @return This builder for chaining.
*/
public Builder setIdBytes(
com.google.protobuf.ByteString value) {
copyOnWrite();
instance.setIdBytes(value);
return this;
}
/**
* <pre>
* Site name (may be masked at publisher's request).
* Not supported by Google.
* </pre>
*
* <code>optional string name = 2;</code>
* @return Whether the name field is set.
*/
@java.lang.Override
public boolean hasName() {
return instance.hasName();
}
/**
* <pre>
* Site name (may be masked at publisher's request).
* Not supported by Google.
* </pre>
*
* <code>optional string name = 2;</code>
* @return The name.
*/
@java.lang.Override
public java.lang.String getName() {
return instance.getName();
}
/**
* <pre>
* Site name (may be masked at publisher's request).
* Not supported by Google.
* </pre>
*
* <code>optional string name = 2;</code>
* @return The bytes for name.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getNameBytes() {
return instance.getNameBytes();
}
/**
* <pre>
* Site name (may be masked at publisher's request).
* Not supported by Google.
* </pre>
*
* <code>optional string name = 2;</code>
* @param value The name to set.
* @return This builder for chaining.
*/
public Builder setName(
java.lang.String value) {
copyOnWrite();
instance.setName(value);
return this;
}
/**
* <pre>
* Site name (may be masked at publisher's request).
* Not supported by Google.
* </pre>
*
* <code>optional string name = 2;</code>
* @return This builder for chaining.
*/
public Builder clearName() {
copyOnWrite();
instance.clearName();
return this;
}
/**
* <pre>
* Site name (may be masked at publisher's request).
* Not supported by Google.
* </pre>
*
* <code>optional string name = 2;</code>
* @param value The bytes for name to set.
* @return This builder for chaining.
*/
public Builder setNameBytes(
com.google.protobuf.ByteString value) {
copyOnWrite();
instance.setNameBytes(value);
return this;
}
/**
* <pre>
* Domain of the site, used for advertiser side blocking.
* For example, "foo.com".
* Not supported by Google.
* </pre>
*
* <code>optional string domain = 3;</code>
* @return Whether the domain field is set.
*/
@java.lang.Override
public boolean hasDomain() {
return instance.hasDomain();
}
/**
* <pre>
* Domain of the site, used for advertiser side blocking.
* For example, "foo.com".
* Not supported by Google.
* </pre>
*
* <code>optional string domain = 3;</code>
* @return The domain.
*/
@java.lang.Override
public java.lang.String getDomain() {
return instance.getDomain();
}
/**
* <pre>
* Domain of the site, used for advertiser side blocking.
* For example, "foo.com".
* Not supported by Google.
* </pre>
*
* <code>optional string domain = 3;</code>
* @return The bytes for domain.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getDomainBytes() {
return instance.getDomainBytes();
}
/**
* <pre>
* Domain of the site, used for advertiser side blocking.
* For example, "foo.com".
* Not supported by Google.
* </pre>
*
* <code>optional string domain = 3;</code>
* @param value The domain to set.
* @return This builder for chaining.
*/
public Builder setDomain(
java.lang.String value) {
copyOnWrite();
instance.setDomain(value);
return this;
}
/**
* <pre>
* Domain of the site, used for advertiser side blocking.
* For example, "foo.com".
* Not supported by Google.
* </pre>
*
* <code>optional string domain = 3;</code>
* @return This builder for chaining.
*/
public Builder clearDomain() {
copyOnWrite();
instance.clearDomain();
return this;
}
/**
* <pre>
* Domain of the site, used for advertiser side blocking.
* For example, "foo.com".
* Not supported by Google.
* </pre>
*
* <code>optional string domain = 3;</code>
* @param value The bytes for domain to set.
* @return This builder for chaining.
*/
public Builder setDomainBytes(
com.google.protobuf.ByteString value) {
copyOnWrite();
instance.setDomainBytes(value);
return this;
}
/**
* <pre>
* The taxonomy in use for cat, sectioncat and pagecat.
* Not supported by Google.
* </pre>
*
* <code>optional .com.google.openrtb.CategoryTaxonomy cattax = 16 [default = IAB_CONTENT_1_0];</code>
* @return Whether the cattax field is set.
*/
@java.lang.Override
public boolean hasCattax() {
return instance.hasCattax();
}
/**
* <pre>
* The taxonomy in use for cat, sectioncat and pagecat.
* Not supported by Google.
* </pre>
*
* <code>optional .com.google.openrtb.CategoryTaxonomy cattax = 16 [default = IAB_CONTENT_1_0];</code>
* @return The cattax.
*/
@java.lang.Override
public com.particles.mes.protos.openrtb.CategoryTaxonomy getCattax() {
return instance.getCattax();
}
/**
* <pre>
* The taxonomy in use for cat, sectioncat and pagecat.
* Not supported by Google.
* </pre>
*
* <code>optional .com.google.openrtb.CategoryTaxonomy cattax = 16 [default = IAB_CONTENT_1_0];</code>
* @param value The enum numeric value on the wire for cattax to set.
* @return This builder for chaining.
*/
public Builder setCattax(com.particles.mes.protos.openrtb.CategoryTaxonomy value) {
copyOnWrite();
instance.setCattax(value);
return this;
}
/**
* <pre>
* The taxonomy in use for cat, sectioncat and pagecat.
* Not supported by Google.
* </pre>
*
* <code>optional .com.google.openrtb.CategoryTaxonomy cattax = 16 [default = IAB_CONTENT_1_0];</code>
* @return This builder for chaining.
*/
public Builder clearCattax() {
copyOnWrite();
instance.clearCattax();
return this;
}
/**
* <pre>
* Array of IAB content categories of the site.
* The taxonomy to be used is defined by the cattax field.
* Not supported by Google.
* </pre>
*
* <code>repeated string cat = 4;</code>
* @return A list containing the cat.
*/
@java.lang.Override
public java.util.List<java.lang.String>
getCatList() {
return java.util.Collections.unmodifiableList(
instance.getCatList());
}
/**
* <pre>
* Array of IAB content categories of the site.
* The taxonomy to be used is defined by the cattax field.
* Not supported by Google.
* </pre>
*
* <code>repeated string cat = 4;</code>
* @return The count of cat.
*/
@java.lang.Override
public int getCatCount() {
return instance.getCatCount();
}
/**
* <pre>
* Array of IAB content categories of the site.
* The taxonomy to be used is defined by the cattax field.
* Not supported by Google.
* </pre>
*
* <code>repeated string cat = 4;</code>
* @param index The index of the element to return.
* @return The cat at the given index.
*/
@java.lang.Override
public java.lang.String getCat(int index) {
return instance.getCat(index);
}
/**
* <pre>
* Array of IAB content categories of the site.
* The taxonomy to be used is defined by the cattax field.
* Not supported by Google.
* </pre>
*
* <code>repeated string cat = 4;</code>
* @param index The index of the value to return.
* @return The bytes of the cat at the given index.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getCatBytes(int index) {
return instance.getCatBytes(index);
}
/**
* <pre>
* Array of IAB content categories of the site.
* The taxonomy to be used is defined by the cattax field.
* Not supported by Google.
* </pre>
*
* <code>repeated string cat = 4;</code>
* @param index The index to set the value at.
* @param value The cat to set.
* @return This builder for chaining.
*/
public Builder setCat(
int index, java.lang.String value) {
copyOnWrite();
instance.setCat(index, value);
return this;
}
/**
* <pre>
* Array of IAB content categories of the site.
* The taxonomy to be used is defined by the cattax field.
* Not supported by Google.
* </pre>
*
* <code>repeated string cat = 4;</code>
* @param value The cat to add.
* @return This builder for chaining.
*/
public Builder addCat(
java.lang.String value) {
copyOnWrite();
instance.addCat(value);
return this;
}
/**
* <pre>
* Array of IAB content categories of the site.
* The taxonomy to be used is defined by the cattax field.
* Not supported by Google.
* </pre>
*
* <code>repeated string cat = 4;</code>
* @param values The cat to add.
* @return This builder for chaining.
*/
public Builder addAllCat(
java.lang.Iterable<java.lang.String> values) {
copyOnWrite();
instance.addAllCat(values);
return this;
}
/**
* <pre>
* Array of IAB content categories of the site.
* The taxonomy to be used is defined by the cattax field.
* Not supported by Google.
* </pre>
*
* <code>repeated string cat = 4;</code>
* @return This builder for chaining.
*/
public Builder clearCat() {
copyOnWrite();
instance.clearCat();
return this;
}
/**
* <pre>
* Array of IAB content categories of the site.
* The taxonomy to be used is defined by the cattax field.
* Not supported by Google.
* </pre>
*
* <code>repeated string cat = 4;</code>
* @param value The bytes of the cat to add.
* @return This builder for chaining.
*/
public Builder addCatBytes(
com.google.protobuf.ByteString value) {
copyOnWrite();
instance.addCatBytes(value);
return this;
}
/**
* <pre>
* Array of IAB content categories that describe the current section
* of the site.
* The taxonomy to be used is defined by the cattax field.
* Not supported by Google.
* </pre>
*
* <code>repeated string sectioncat = 5;</code>
* @return A list containing the sectioncat.
*/
@java.lang.Override
public java.util.List<java.lang.String>
getSectioncatList() {
return java.util.Collections.unmodifiableList(
instance.getSectioncatList());
}
/**
* <pre>
* Array of IAB content categories that describe the current section
* of the site.
* The taxonomy to be used is defined by the cattax field.
* Not supported by Google.
* </pre>
*
* <code>repeated string sectioncat = 5;</code>
* @return The count of sectioncat.
*/
@java.lang.Override
public int getSectioncatCount() {
return instance.getSectioncatCount();
}
/**
* <pre>
* Array of IAB content categories that describe the current section
* of the site.
* The taxonomy to be used is defined by the cattax field.
* Not supported by Google.
* </pre>
*
* <code>repeated string sectioncat = 5;</code>
* @param index The index of the element to return.
* @return The sectioncat at the given index.
*/
@java.lang.Override
public java.lang.String getSectioncat(int index) {
return instance.getSectioncat(index);
}
/**
* <pre>
* Array of IAB content categories that describe the current section
* of the site.
* The taxonomy to be used is defined by the cattax field.
* Not supported by Google.
* </pre>
*
* <code>repeated string sectioncat = 5;</code>
* @param index The index of the value to return.
* @return The bytes of the sectioncat at the given index.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getSectioncatBytes(int index) {
return instance.getSectioncatBytes(index);
}
/**
* <pre>
* Array of IAB content categories that describe the current section
* of the site.
* The taxonomy to be used is defined by the cattax field.
* Not supported by Google.
* </pre>
*
* <code>repeated string sectioncat = 5;</code>
* @param index The index to set the value at.
* @param value The sectioncat to set.
* @return This builder for chaining.
*/
public Builder setSectioncat(
int index, java.lang.String value) {
copyOnWrite();
instance.setSectioncat(index, value);
return this;
}
/**
* <pre>
* Array of IAB content categories that describe the current section
* of the site.
* The taxonomy to be used is defined by the cattax field.
* Not supported by Google.
* </pre>
*
* <code>repeated string sectioncat = 5;</code>
* @param value The sectioncat to add.
* @return This builder for chaining.
*/
public Builder addSectioncat(
java.lang.String value) {
copyOnWrite();
instance.addSectioncat(value);
return this;
}
/**
* <pre>
* Array of IAB content categories that describe the current section
* of the site.
* The taxonomy to be used is defined by the cattax field.
* Not supported by Google.
* </pre>
*
* <code>repeated string sectioncat = 5;</code>
* @param values The sectioncat to add.
* @return This builder for chaining.
*/
public Builder addAllSectioncat(
java.lang.Iterable<java.lang.String> values) {
copyOnWrite();
instance.addAllSectioncat(values);
return this;
}
/**
* <pre>
* Array of IAB content categories that describe the current section
* of the site.
* The taxonomy to be used is defined by the cattax field.
* Not supported by Google.
* </pre>
*
* <code>repeated string sectioncat = 5;</code>
* @return This builder for chaining.
*/
public Builder clearSectioncat() {
copyOnWrite();
instance.clearSectioncat();
return this;
}
/**
* <pre>
* Array of IAB content categories that describe the current section
* of the site.
* The taxonomy to be used is defined by the cattax field.
* Not supported by Google.
* </pre>
*
* <code>repeated string sectioncat = 5;</code>
* @param value The bytes of the sectioncat to add.
* @return This builder for chaining.
*/
public Builder addSectioncatBytes(
com.google.protobuf.ByteString value) {
copyOnWrite();
instance.addSectioncatBytes(value);
return this;
}
/**
* <pre>
* Array of IAB content categories that describe the current page or view
* of the site.
* The taxonomy to be used is defined by the cattax field.
* Not supported by Google.
* </pre>
*
* <code>repeated string pagecat = 6;</code>
* @return A list containing the pagecat.
*/
@java.lang.Override
public java.util.List<java.lang.String>
getPagecatList() {
return java.util.Collections.unmodifiableList(
instance.getPagecatList());
}
/**
* <pre>
* Array of IAB content categories that describe the current page or view
* of the site.
* The taxonomy to be used is defined by the cattax field.
* Not supported by Google.
* </pre>
*
* <code>repeated string pagecat = 6;</code>
* @return The count of pagecat.
*/
@java.lang.Override
public int getPagecatCount() {
return instance.getPagecatCount();
}
/**
* <pre>
* Array of IAB content categories that describe the current page or view
* of the site.
* The taxonomy to be used is defined by the cattax field.
* Not supported by Google.
* </pre>
*
* <code>repeated string pagecat = 6;</code>
* @param index The index of the element to return.
* @return The pagecat at the given index.
*/
@java.lang.Override
public java.lang.String getPagecat(int index) {
return instance.getPagecat(index);
}
/**
* <pre>
* Array of IAB content categories that describe the current page or view
* of the site.
* The taxonomy to be used is defined by the cattax field.
* Not supported by Google.
* </pre>
*
* <code>repeated string pagecat = 6;</code>
* @param index The index of the value to return.
* @return The bytes of the pagecat at the given index.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getPagecatBytes(int index) {
return instance.getPagecatBytes(index);
}
/**
* <pre>
* Array of IAB content categories that describe the current page or view
* of the site.
* The taxonomy to be used is defined by the cattax field.
* Not supported by Google.
* </pre>
*
* <code>repeated string pagecat = 6;</code>
* @param index The index to set the value at.
* @param value The pagecat to set.
* @return This builder for chaining.
*/
public Builder setPagecat(
int index, java.lang.String value) {
copyOnWrite();
instance.setPagecat(index, value);
return this;
}
/**
* <pre>
* Array of IAB content categories that describe the current page or view
* of the site.
* The taxonomy to be used is defined by the cattax field.
* Not supported by Google.
* </pre>
*
* <code>repeated string pagecat = 6;</code>
* @param value The pagecat to add.
* @return This builder for chaining.
*/
public Builder addPagecat(
java.lang.String value) {
copyOnWrite();
instance.addPagecat(value);
return this;
}
/**
* <pre>
* Array of IAB content categories that describe the current page or view
* of the site.
* The taxonomy to be used is defined by the cattax field.
* Not supported by Google.
* </pre>
*
* <code>repeated string pagecat = 6;</code>
* @param values The pagecat to add.
* @return This builder for chaining.
*/
public Builder addAllPagecat(
java.lang.Iterable<java.lang.String> values) {
copyOnWrite();
instance.addAllPagecat(values);
return this;
}
/**
* <pre>
* Array of IAB content categories that describe the current page or view
* of the site.
* The taxonomy to be used is defined by the cattax field.
* Not supported by Google.
* </pre>
*
* <code>repeated string pagecat = 6;</code>
* @return This builder for chaining.
*/
public Builder clearPagecat() {
copyOnWrite();
instance.clearPagecat();
return this;
}
/**
* <pre>
* Array of IAB content categories that describe the current page or view
* of the site.
* The taxonomy to be used is defined by the cattax field.
* Not supported by Google.
* </pre>
*
* <code>repeated string pagecat = 6;</code>
* @param value The bytes of the pagecat to add.
* @return This builder for chaining.
*/
public Builder addPagecatBytes(
com.google.protobuf.ByteString value) {
copyOnWrite();
instance.addPagecatBytes(value);
return this;
}
/**
* <pre>
* URL of the page where the impression will be shown.
* Supported by Google.
* </pre>
*
* <code>optional string page = 7;</code>
* @return Whether the page field is set.
*/
@java.lang.Override
public boolean hasPage() {
return instance.hasPage();
}
/**
* <pre>
* URL of the page where the impression will be shown.
* Supported by Google.
* </pre>
*
* <code>optional string page = 7;</code>
* @return The page.
*/
@java.lang.Override
public java.lang.String getPage() {
return instance.getPage();
}
/**
* <pre>
* URL of the page where the impression will be shown.
* Supported by Google.
* </pre>
*
* <code>optional string page = 7;</code>
* @return The bytes for page.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getPageBytes() {
return instance.getPageBytes();
}
/**
* <pre>
* URL of the page where the impression will be shown.
* Supported by Google.
* </pre>
*
* <code>optional string page = 7;</code>
* @param value The page to set.
* @return This builder for chaining.
*/
public Builder setPage(
java.lang.String value) {
copyOnWrite();
instance.setPage(value);
return this;
}
/**
* <pre>
* URL of the page where the impression will be shown.
* Supported by Google.
* </pre>
*
* <code>optional string page = 7;</code>
* @return This builder for chaining.
*/
public Builder clearPage() {
copyOnWrite();
instance.clearPage();
return this;
}
/**
* <pre>
* URL of the page where the impression will be shown.
* Supported by Google.
* </pre>
*
* <code>optional string page = 7;</code>
* @param value The bytes for page to set.
* @return This builder for chaining.
*/
public Builder setPageBytes(
com.google.protobuf.ByteString value) {
copyOnWrite();
instance.setPageBytes(value);
return this;
}
/**
* <pre>
* Indicates if the site has a privacy policy.
* Not supported by Google.
* </pre>
*
* <code>optional bool privacypolicy = 8;</code>
* @return Whether the privacypolicy field is set.
*/
@java.lang.Override
public boolean hasPrivacypolicy() {
return instance.hasPrivacypolicy();
}
/**
* <pre>
* Indicates if the site has a privacy policy.
* Not supported by Google.
* </pre>
*
* <code>optional bool privacypolicy = 8;</code>
* @return The privacypolicy.
*/
@java.lang.Override
public boolean getPrivacypolicy() {
return instance.getPrivacypolicy();
}
/**
* <pre>
* Indicates if the site has a privacy policy.
* Not supported by Google.
* </pre>
*
* <code>optional bool privacypolicy = 8;</code>
* @param value The privacypolicy to set.
* @return This builder for chaining.
*/
public Builder setPrivacypolicy(boolean value) {
copyOnWrite();
instance.setPrivacypolicy(value);
return this;
}
/**
* <pre>
* Indicates if the site has a privacy policy.
* Not supported by Google.
* </pre>
*
* <code>optional bool privacypolicy = 8;</code>
* @return This builder for chaining.
*/
public Builder clearPrivacypolicy() {
copyOnWrite();
instance.clearPrivacypolicy();
return this;
}
/**
* <pre>
* Referrer URL that caused navigation to the current page.
* Not supported by Google.
* </pre>
*
* <code>optional string ref = 9;</code>
* @return Whether the ref field is set.
*/
@java.lang.Override
public boolean hasRef() {
return instance.hasRef();
}
/**
* <pre>
* Referrer URL that caused navigation to the current page.
* Not supported by Google.
* </pre>
*
* <code>optional string ref = 9;</code>
* @return The ref.
*/
@java.lang.Override
public java.lang.String getRef() {
return instance.getRef();
}
/**
* <pre>
* Referrer URL that caused navigation to the current page.
* Not supported by Google.
* </pre>
*
* <code>optional string ref = 9;</code>
* @return The bytes for ref.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getRefBytes() {
return instance.getRefBytes();
}
/**
* <pre>
* Referrer URL that caused navigation to the current page.
* Not supported by Google.
* </pre>
*
* <code>optional string ref = 9;</code>
* @param value The ref to set.
* @return This builder for chaining.
*/
public Builder setRef(
java.lang.String value) {
copyOnWrite();
instance.setRef(value);
return this;
}
/**
* <pre>
* Referrer URL that caused navigation to the current page.
* Not supported by Google.
* </pre>
*
* <code>optional string ref = 9;</code>
* @return This builder for chaining.
*/
public Builder clearRef() {
copyOnWrite();
instance.clearRef();
return this;
}
/**
* <pre>
* Referrer URL that caused navigation to the current page.
* Not supported by Google.
* </pre>
*
* <code>optional string ref = 9;</code>
* @param value The bytes for ref to set.
* @return This builder for chaining.
*/
public Builder setRefBytes(
com.google.protobuf.ByteString value) {
copyOnWrite();
instance.setRefBytes(value);
return this;
}
/**
* <pre>
* Search string that caused navigation to the current page.
* Not supported by Google.
* </pre>
*
* <code>optional string search = 10;</code>
* @return Whether the search field is set.
*/
@java.lang.Override
public boolean hasSearch() {
return instance.hasSearch();
}
/**
* <pre>
* Search string that caused navigation to the current page.
* Not supported by Google.
* </pre>
*
* <code>optional string search = 10;</code>
* @return The search.
*/
@java.lang.Override
public java.lang.String getSearch() {
return instance.getSearch();
}
/**
* <pre>
* Search string that caused navigation to the current page.
* Not supported by Google.
* </pre>
*
* <code>optional string search = 10;</code>
* @return The bytes for search.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getSearchBytes() {
return instance.getSearchBytes();
}
/**
* <pre>
* Search string that caused navigation to the current page.
* Not supported by Google.
* </pre>
*
* <code>optional string search = 10;</code>
* @param value The search to set.
* @return This builder for chaining.
*/
public Builder setSearch(
java.lang.String value) {
copyOnWrite();
instance.setSearch(value);
return this;
}
/**
* <pre>
* Search string that caused navigation to the current page.
* Not supported by Google.
* </pre>
*
* <code>optional string search = 10;</code>
* @return This builder for chaining.
*/
public Builder clearSearch() {
copyOnWrite();
instance.clearSearch();
return this;
}
/**
* <pre>
* Search string that caused navigation to the current page.
* Not supported by Google.
* </pre>
*
* <code>optional string search = 10;</code>
* @param value The bytes for search to set.
* @return This builder for chaining.
*/
public Builder setSearchBytes(
com.google.protobuf.ByteString value) {
copyOnWrite();
instance.setSearchBytes(value);
return this;
}
/**
* <pre>
* Details about the Publisher (Section 3.2.8) of the site.
* Supported by Google.
* </pre>
*
* <code>optional .com.google.openrtb.BidRequest.Publisher publisher = 11;</code>
*/
@java.lang.Override
public boolean hasPublisher() {
return instance.hasPublisher();
}
/**
* <pre>
* Details about the Publisher (Section 3.2.8) of the site.
* Supported by Google.
* </pre>
*
* <code>optional .com.google.openrtb.BidRequest.Publisher publisher = 11;</code>
*/
@java.lang.Override
public com.particles.mes.protos.openrtb.BidRequest.Publisher getPublisher() {
return instance.getPublisher();
}
/**
* <pre>
* Details about the Publisher (Section 3.2.8) of the site.
* Supported by Google.
* </pre>
*
* <code>optional .com.google.openrtb.BidRequest.Publisher publisher = 11;</code>
*/
public Builder setPublisher(com.particles.mes.protos.openrtb.BidRequest.Publisher value) {
copyOnWrite();
instance.setPublisher(value);
return this;
}
/**
* <pre>
* Details about the Publisher (Section 3.2.8) of the site.
* Supported by Google.
* </pre>
*
* <code>optional .com.google.openrtb.BidRequest.Publisher publisher = 11;</code>
*/
public Builder setPublisher(
com.particles.mes.protos.openrtb.BidRequest.Publisher.Builder builderForValue) {
copyOnWrite();
instance.setPublisher(builderForValue.build());
return this;
}
/**
* <pre>
* Details about the Publisher (Section 3.2.8) of the site.
* Supported by Google.
* </pre>
*
* <code>optional .com.google.openrtb.BidRequest.Publisher publisher = 11;</code>
*/
public Builder mergePublisher(com.particles.mes.protos.openrtb.BidRequest.Publisher value) {
copyOnWrite();
instance.mergePublisher(value);
return this;
}
/**
* <pre>
* Details about the Publisher (Section 3.2.8) of the site.
* Supported by Google.
* </pre>
*
* <code>optional .com.google.openrtb.BidRequest.Publisher publisher = 11;</code>
*/
public Builder clearPublisher() { copyOnWrite();
instance.clearPublisher();
return this;
}
/**
* <pre>
* Details about the Content (Section 3.2.9) within the site.
* Supported by Google.
* </pre>
*
* <code>optional .com.google.openrtb.BidRequest.Content content = 12;</code>
*/
@java.lang.Override
public boolean hasContent() {
return instance.hasContent();
}
/**
* <pre>
* Details about the Content (Section 3.2.9) within the site.
* Supported by Google.
* </pre>
*
* <code>optional .com.google.openrtb.BidRequest.Content content = 12;</code>
*/
@java.lang.Override
public com.particles.mes.protos.openrtb.BidRequest.Content getContent() {
return instance.getContent();
}
/**
* <pre>
* Details about the Content (Section 3.2.9) within the site.
* Supported by Google.
* </pre>
*
* <code>optional .com.google.openrtb.BidRequest.Content content = 12;</code>
*/
public Builder setContent(com.particles.mes.protos.openrtb.BidRequest.Content value) {
copyOnWrite();
instance.setContent(value);
return this;
}
/**
* <pre>
* Details about the Content (Section 3.2.9) within the site.
* Supported by Google.
* </pre>
*
* <code>optional .com.google.openrtb.BidRequest.Content content = 12;</code>
*/
public Builder setContent(
com.particles.mes.protos.openrtb.BidRequest.Content.Builder builderForValue) {
copyOnWrite();
instance.setContent(builderForValue.build());
return this;
}
/**
* <pre>
* Details about the Content (Section 3.2.9) within the site.
* Supported by Google.
* </pre>
*
* <code>optional .com.google.openrtb.BidRequest.Content content = 12;</code>
*/
public Builder mergeContent(com.particles.mes.protos.openrtb.BidRequest.Content value) {
copyOnWrite();
instance.mergeContent(value);
return this;
}
/**
* <pre>
* Details about the Content (Section 3.2.9) within the site.
* Supported by Google.
* </pre>
*
* <code>optional .com.google.openrtb.BidRequest.Content content = 12;</code>
*/
public Builder clearContent() { copyOnWrite();
instance.clearContent();
return this;
}
/**
* <pre>
* Comma separated list of keywords about this site.
* Not supported by Google.
* </pre>
*
* <code>optional string keywords = 13;</code>
* @return Whether the keywords field is set.
*/
@java.lang.Override
public boolean hasKeywords() {
return instance.hasKeywords();
}
/**
* <pre>
* Comma separated list of keywords about this site.
* Not supported by Google.
* </pre>
*
* <code>optional string keywords = 13;</code>
* @return The keywords.
*/
@java.lang.Override
public java.lang.String getKeywords() {
return instance.getKeywords();
}
/**
* <pre>
* Comma separated list of keywords about this site.
* Not supported by Google.
* </pre>
*
* <code>optional string keywords = 13;</code>
* @return The bytes for keywords.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getKeywordsBytes() {
return instance.getKeywordsBytes();
}
/**
* <pre>
* Comma separated list of keywords about this site.
* Not supported by Google.
* </pre>
*
* <code>optional string keywords = 13;</code>
* @param value The keywords to set.
* @return This builder for chaining.
*/
public Builder setKeywords(
java.lang.String value) {
copyOnWrite();
instance.setKeywords(value);
return this;
}
/**
* <pre>
* Comma separated list of keywords about this site.
* Not supported by Google.
* </pre>
*
* <code>optional string keywords = 13;</code>
* @return This builder for chaining.
*/
public Builder clearKeywords() {
copyOnWrite();
instance.clearKeywords();
return this;
}
/**
* <pre>
* Comma separated list of keywords about this site.
* Not supported by Google.
* </pre>
*
* <code>optional string keywords = 13;</code>
* @param value The bytes for keywords to set.
* @return This builder for chaining.
*/
public Builder setKeywordsBytes(
com.google.protobuf.ByteString value) {
copyOnWrite();
instance.setKeywordsBytes(value);
return this;
}
/**
* <pre>
* Indicates if the site has been programmed to optimize layout
* when viewed on mobile devices.
* Supported by Google.
* </pre>
*
* <code>optional bool mobile = 15;</code>
* @return Whether the mobile field is set.
*/
@java.lang.Override
public boolean hasMobile() {
return instance.hasMobile();
}
/**
* <pre>
* Indicates if the site has been programmed to optimize layout
* when viewed on mobile devices.
* Supported by Google.
* </pre>
*
* <code>optional bool mobile = 15;</code>
* @return The mobile.
*/
@java.lang.Override
public boolean getMobile() {
return instance.getMobile();
}
/**
* <pre>
* Indicates if the site has been programmed to optimize layout
* when viewed on mobile devices.
* Supported by Google.
* </pre>
*
* <code>optional bool mobile = 15;</code>
* @param value The mobile to set.
* @return This builder for chaining.
*/
public Builder setMobile(boolean value) {
copyOnWrite();
instance.setMobile(value);
return this;
}
/**
* <pre>
* Indicates if the site has been programmed to optimize layout
* when viewed on mobile devices.
* Supported by Google.
* </pre>
*
* <code>optional bool mobile = 15;</code>
* @return This builder for chaining.
*/
public Builder clearMobile() {
copyOnWrite();
instance.clearMobile();
return this;
}
// @@protoc_insertion_point(builder_scope:com.google.openrtb.BidRequest.Site)
}
private byte memoizedIsInitialized = 2;
@java.lang.Override
@java.lang.SuppressWarnings({"unchecked", "fallthrough"})
protected final java.lang.Object dynamicMethod(
com.google.protobuf.GeneratedMessageLite.MethodToInvoke method,
java.lang.Object arg0, java.lang.Object arg1) {
switch (method) {
case NEW_MUTABLE_INSTANCE: {
return new com.particles.mes.protos.openrtb.BidRequest.Site();
}
case NEW_BUILDER: {
return new Builder();
}
case BUILD_MESSAGE_INFO: {
java.lang.Object[] objects = new java.lang.Object[] {
"bitField0_",
"id_",
"name_",
"domain_",
"cat_",
"sectioncat_",
"pagecat_",
"page_",
"privacypolicy_",
"ref_",
"search_",
"publisher_",
"content_",
"keywords_",
"mobile_",
"cattax_",
com.particles.mes.protos.openrtb.CategoryTaxonomy.internalGetVerifier(),
};
java.lang.String info =
"\u0001\u000f\u0000\u0001\u0001\u0010\u000f\u0000\u0003\u0002\u0001\u1008\u0000\u0002" +
"\u1008\u0001\u0003\u1008\u0002\u0004\u001a\u0005\u001a\u0006\u001a\u0007\u1008\u0004" +
"\b\u1007\u0005\t\u1008\u0006\n\u1008\u0007\u000b\u1409\b\f\u1409\t\r\u1008\n\u000f" +
"\u1007\u000b\u0010\u100c\u0003";
return newMessageInfo(DEFAULT_INSTANCE, info, objects);
}
// fall through
case GET_DEFAULT_INSTANCE: {
return DEFAULT_INSTANCE;
}
case GET_PARSER: {
com.google.protobuf.Parser<com.particles.mes.protos.openrtb.BidRequest.Site> parser = PARSER;
if (parser == null) {
synchronized (com.particles.mes.protos.openrtb.BidRequest.Site.class) {
parser = PARSER;
if (parser == null) {
parser =
new DefaultInstanceBasedParser<com.particles.mes.protos.openrtb.BidRequest.Site>(
DEFAULT_INSTANCE);
PARSER = parser;
}
}
}
return parser;
}
case GET_MEMOIZED_IS_INITIALIZED: {
return memoizedIsInitialized;
}
case SET_MEMOIZED_IS_INITIALIZED: {
memoizedIsInitialized = (byte) (arg0 == null ? 0 : 1);
return null;
}
}
throw new UnsupportedOperationException();
}
// @@protoc_insertion_point(class_scope:com.google.openrtb.BidRequest.Site)
private static final com.particles.mes.protos.openrtb.BidRequest.Site DEFAULT_INSTANCE;
static {
Site defaultInstance = new Site();
// New instances are implicitly immutable so no need to make
// immutable.
DEFAULT_INSTANCE = defaultInstance;
com.google.protobuf.GeneratedMessageLite.registerDefaultInstance(
Site.class, defaultInstance);
}
public static com.particles.mes.protos.openrtb.BidRequest.Site getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static volatile com.google.protobuf.Parser<Site> PARSER;
public static com.google.protobuf.Parser<Site> parser() {
return DEFAULT_INSTANCE.getParserForType();
}
}
public interface AppOrBuilder extends
// @@protoc_insertion_point(interface_extends:com.google.openrtb.BidRequest.App)
com.google.protobuf.GeneratedMessageLite.
ExtendableMessageOrBuilder<
App, App.Builder> {
/**
* <pre>
* Application ID on the exchange.
* Not supported by Google.
* </pre>
*
* <code>optional string id = 1;</code>
* @return Whether the id field is set.
*/
boolean hasId();
/**
* <pre>
* Application ID on the exchange.
* Not supported by Google.
* </pre>
*
* <code>optional string id = 1;</code>
* @return The id.
*/
java.lang.String getId();
/**
* <pre>
* Application ID on the exchange.
* Not supported by Google.
* </pre>
*
* <code>optional string id = 1;</code>
* @return The bytes for id.
*/
com.google.protobuf.ByteString
getIdBytes();
/**
* <pre>
* Application name (may be aliased at publisher's request). App names for
* SDK-less requests (mostly from connected TVs) can be provided by the
* publisher directly in the request.
* Supported by Google.
* </pre>
*
* <code>optional string name = 2;</code>
* @return Whether the name field is set.
*/
boolean hasName();
/**
* <pre>
* Application name (may be aliased at publisher's request). App names for
* SDK-less requests (mostly from connected TVs) can be provided by the
* publisher directly in the request.
* Supported by Google.
* </pre>
*
* <code>optional string name = 2;</code>
* @return The name.
*/
java.lang.String getName();
/**
* <pre>
* Application name (may be aliased at publisher's request). App names for
* SDK-less requests (mostly from connected TVs) can be provided by the
* publisher directly in the request.
* Supported by Google.
* </pre>
*
* <code>optional string name = 2;</code>
* @return The bytes for name.
*/
com.google.protobuf.ByteString
getNameBytes();
/**
* <pre>
* Domain of the application. For example, "mygame.foo.com".
* Not supported by Google.
* </pre>
*
* <code>optional string domain = 3;</code>
* @return Whether the domain field is set.
*/
boolean hasDomain();
/**
* <pre>
* Domain of the application. For example, "mygame.foo.com".
* Not supported by Google.
* </pre>
*
* <code>optional string domain = 3;</code>
* @return The domain.
*/
java.lang.String getDomain();
/**
* <pre>
* Domain of the application. For example, "mygame.foo.com".
* Not supported by Google.
* </pre>
*
* <code>optional string domain = 3;</code>
* @return The bytes for domain.
*/
com.google.protobuf.ByteString
getDomainBytes();
/**
* <pre>
* The taxonomy in use for cat, sectioncat and pagecat.
* Not supported by Google.
* </pre>
*
* <code>optional .com.google.openrtb.CategoryTaxonomy cattax = 17 [default = IAB_CONTENT_1_0];</code>
* @return Whether the cattax field is set.
*/
boolean hasCattax();
/**
* <pre>
* The taxonomy in use for cat, sectioncat and pagecat.
* Not supported by Google.
* </pre>
*
* <code>optional .com.google.openrtb.CategoryTaxonomy cattax = 17 [default = IAB_CONTENT_1_0];</code>
* @return The cattax.
*/
com.particles.mes.protos.openrtb.CategoryTaxonomy getCattax();
/**
* <pre>
* Array of IAB content categories of the app.
* The taxonomy to be used is defined by the cattax field.
* Not supported by Google.
* </pre>
*
* <code>repeated string cat = 4;</code>
* @return A list containing the cat.
*/
java.util.List<java.lang.String>
getCatList();
/**
* <pre>
* Array of IAB content categories of the app.
* The taxonomy to be used is defined by the cattax field.
* Not supported by Google.
* </pre>
*
* <code>repeated string cat = 4;</code>
* @return The count of cat.
*/
int getCatCount();
/**
* <pre>
* Array of IAB content categories of the app.
* The taxonomy to be used is defined by the cattax field.
* Not supported by Google.
* </pre>
*
* <code>repeated string cat = 4;</code>
* @param index The index of the element to return.
* @return The cat at the given index.
*/
java.lang.String getCat(int index);
/**
* <pre>
* Array of IAB content categories of the app.
* The taxonomy to be used is defined by the cattax field.
* Not supported by Google.
* </pre>
*
* <code>repeated string cat = 4;</code>
* @param index The index of the element to return.
* @return The cat at the given index.
*/
com.google.protobuf.ByteString
getCatBytes(int index);
/**
* <pre>
* Array of IAB content categories that describe the current section
* of the app.
* The taxonomy to be used is defined by the cattax field.
* Not supported by Google.
* </pre>
*
* <code>repeated string sectioncat = 5;</code>
* @return A list containing the sectioncat.
*/
java.util.List<java.lang.String>
getSectioncatList();
/**
* <pre>
* Array of IAB content categories that describe the current section
* of the app.
* The taxonomy to be used is defined by the cattax field.
* Not supported by Google.
* </pre>
*
* <code>repeated string sectioncat = 5;</code>
* @return The count of sectioncat.
*/
int getSectioncatCount();
/**
* <pre>
* Array of IAB content categories that describe the current section
* of the app.
* The taxonomy to be used is defined by the cattax field.
* Not supported by Google.
* </pre>
*
* <code>repeated string sectioncat = 5;</code>
* @param index The index of the element to return.
* @return The sectioncat at the given index.
*/
java.lang.String getSectioncat(int index);
/**
* <pre>
* Array of IAB content categories that describe the current section
* of the app.
* The taxonomy to be used is defined by the cattax field.
* Not supported by Google.
* </pre>
*
* <code>repeated string sectioncat = 5;</code>
* @param index The index of the element to return.
* @return The sectioncat at the given index.
*/
com.google.protobuf.ByteString
getSectioncatBytes(int index);
/**
* <pre>
* Array of IAB content categories that describe the current page or view
* of the app.
* The taxonomy to be used is defined by the cattax field.
* Not supported by Google.
* </pre>
*
* <code>repeated string pagecat = 6;</code>
* @return A list containing the pagecat.
*/
java.util.List<java.lang.String>
getPagecatList();
/**
* <pre>
* Array of IAB content categories that describe the current page or view
* of the app.
* The taxonomy to be used is defined by the cattax field.
* Not supported by Google.
* </pre>
*
* <code>repeated string pagecat = 6;</code>
* @return The count of pagecat.
*/
int getPagecatCount();
/**
* <pre>
* Array of IAB content categories that describe the current page or view
* of the app.
* The taxonomy to be used is defined by the cattax field.
* Not supported by Google.
* </pre>
*
* <code>repeated string pagecat = 6;</code>
* @param index The index of the element to return.
* @return The pagecat at the given index.
*/
java.lang.String getPagecat(int index);
/**
* <pre>
* Array of IAB content categories that describe the current page or view
* of the app.
* The taxonomy to be used is defined by the cattax field.
* Not supported by Google.
* </pre>
*
* <code>repeated string pagecat = 6;</code>
* @param index The index of the element to return.
* @return The pagecat at the given index.
*/
com.google.protobuf.ByteString
getPagecatBytes(int index);
/**
* <pre>
* Application version.
* Not supported by Google.
* </pre>
*
* <code>optional string ver = 7;</code>
* @return Whether the ver field is set.
*/
boolean hasVer();
/**
* <pre>
* Application version.
* Not supported by Google.
* </pre>
*
* <code>optional string ver = 7;</code>
* @return The ver.
*/
java.lang.String getVer();
/**
* <pre>
* Application version.
* Not supported by Google.
* </pre>
*
* <code>optional string ver = 7;</code>
* @return The bytes for ver.
*/
com.google.protobuf.ByteString
getVerBytes();
/**
* <pre>
* A platform-specific application identifier intended to be
* unique to the app and independent of the exchange. On Android,
* this should be a bundle or package name (for example, com.foo.mygame).
* On iOS, it is a numeric ID. For SDK-less requests (mostly from connected
* TVs), it can be provided by the publisher directly in the request.
* Supported by Google.
* </pre>
*
* <code>optional string bundle = 8;</code>
* @return Whether the bundle field is set.
*/
boolean hasBundle();
/**
* <pre>
* A platform-specific application identifier intended to be
* unique to the app and independent of the exchange. On Android,
* this should be a bundle or package name (for example, com.foo.mygame).
* On iOS, it is a numeric ID. For SDK-less requests (mostly from connected
* TVs), it can be provided by the publisher directly in the request.
* Supported by Google.
* </pre>
*
* <code>optional string bundle = 8;</code>
* @return The bundle.
*/
java.lang.String getBundle();
/**
* <pre>
* A platform-specific application identifier intended to be
* unique to the app and independent of the exchange. On Android,
* this should be a bundle or package name (for example, com.foo.mygame).
* On iOS, it is a numeric ID. For SDK-less requests (mostly from connected
* TVs), it can be provided by the publisher directly in the request.
* Supported by Google.
* </pre>
*
* <code>optional string bundle = 8;</code>
* @return The bytes for bundle.
*/
com.google.protobuf.ByteString
getBundleBytes();
/**
* <pre>
* Indicates if the app has a privacy policy.
* Not supported by Google.
* </pre>
*
* <code>optional bool privacypolicy = 9;</code>
* @return Whether the privacypolicy field is set.
*/
boolean hasPrivacypolicy();
/**
* <pre>
* Indicates if the app has a privacy policy.
* Not supported by Google.
* </pre>
*
* <code>optional bool privacypolicy = 9;</code>
* @return The privacypolicy.
*/
boolean getPrivacypolicy();
/**
* <pre>
* false = app is free, true = the app is a paid version.
* Not supported by Google.
* </pre>
*
* <code>optional bool paid = 10;</code>
* @return Whether the paid field is set.
*/
boolean hasPaid();
/**
* <pre>
* false = app is free, true = the app is a paid version.
* Not supported by Google.
* </pre>
*
* <code>optional bool paid = 10;</code>
* @return The paid.
*/
boolean getPaid();
/**
* <pre>
* Details about the Publisher (Section 3.2.8) of the app.
* Supported by Google.
* </pre>
*
* <code>optional .com.google.openrtb.BidRequest.Publisher publisher = 11;</code>
* @return Whether the publisher field is set.
*/
boolean hasPublisher();
/**
* <pre>
* Details about the Publisher (Section 3.2.8) of the app.
* Supported by Google.
* </pre>
*
* <code>optional .com.google.openrtb.BidRequest.Publisher publisher = 11;</code>
* @return The publisher.
*/
com.particles.mes.protos.openrtb.BidRequest.Publisher getPublisher();
/**
* <pre>
* Details about the Content (Section 3.2.9) within the app.
* Supported by Google.
* </pre>
*
* <code>optional .com.google.openrtb.BidRequest.Content content = 12;</code>
* @return Whether the content field is set.
*/
boolean hasContent();
/**
* <pre>
* Details about the Content (Section 3.2.9) within the app.
* Supported by Google.
* </pre>
*
* <code>optional .com.google.openrtb.BidRequest.Content content = 12;</code>
* @return The content.
*/
com.particles.mes.protos.openrtb.BidRequest.Content getContent();
/**
* <pre>
* Comma separated list of keywords about the app.
* Not supported by Google.
* </pre>
*
* <code>optional string keywords = 13;</code>
* @return Whether the keywords field is set.
*/
boolean hasKeywords();
/**
* <pre>
* Comma separated list of keywords about the app.
* Not supported by Google.
* </pre>
*
* <code>optional string keywords = 13;</code>
* @return The keywords.
*/
java.lang.String getKeywords();
/**
* <pre>
* Comma separated list of keywords about the app.
* Not supported by Google.
* </pre>
*
* <code>optional string keywords = 13;</code>
* @return The bytes for keywords.
*/
com.google.protobuf.ByteString
getKeywordsBytes();
/**
* <pre>
* App store URL for an installed app; for QAG 1.5 compliance.
* Supported by Google.
* </pre>
*
* <code>optional string storeurl = 16;</code>
* @return Whether the storeurl field is set.
*/
boolean hasStoreurl();
/**
* <pre>
* App store URL for an installed app; for QAG 1.5 compliance.
* Supported by Google.
* </pre>
*
* <code>optional string storeurl = 16;</code>
* @return The storeurl.
*/
java.lang.String getStoreurl();
/**
* <pre>
* App store URL for an installed app; for QAG 1.5 compliance.
* Supported by Google.
* </pre>
*
* <code>optional string storeurl = 16;</code>
* @return The bytes for storeurl.
*/
com.google.protobuf.ByteString
getStoreurlBytes();
/**
* <code>optional string ext = 90;</code>
* @return Whether the ext field is set.
*/
boolean hasExt();
/**
* <code>optional string ext = 90;</code>
* @return The ext.
*/
java.lang.String getExt();
/**
* <code>optional string ext = 90;</code>
* @return The bytes for ext.
*/
com.google.protobuf.ByteString
getExtBytes();
}
/**
* <pre>
* OpenRTB 2.0: This object should be included if the ad supported content
* is a non-browser application (typically in mobile) as opposed to a website.
* A bid request must not contain both an App and a Site object.
* At a minimum, it is useful to provide an App ID or bundle,
* but this is not strictly required.
* </pre>
*
* Protobuf type {@code com.google.openrtb.BidRequest.App}
*/
public static final class App extends
com.google.protobuf.GeneratedMessageLite.ExtendableMessage<
App, App.Builder> implements
// @@protoc_insertion_point(message_implements:com.google.openrtb.BidRequest.App)
AppOrBuilder {
private App() {
id_ = "";
name_ = "";
domain_ = "";
cattax_ = 1;
cat_ = com.google.protobuf.GeneratedMessageLite.emptyProtobufList();
sectioncat_ = com.google.protobuf.GeneratedMessageLite.emptyProtobufList();
pagecat_ = com.google.protobuf.GeneratedMessageLite.emptyProtobufList();
ver_ = "";
bundle_ = "";
keywords_ = "";
storeurl_ = "";
ext_ = "";
}
private int bitField0_;
public static final int ID_FIELD_NUMBER = 1;
private java.lang.String id_;
/**
* <pre>
* Application ID on the exchange.
* Not supported by Google.
* </pre>
*
* <code>optional string id = 1;</code>
* @return Whether the id field is set.
*/
@java.lang.Override
public boolean hasId() {
return ((bitField0_ & 0x00000001) != 0);
}
/**
* <pre>
* Application ID on the exchange.
* Not supported by Google.
* </pre>
*
* <code>optional string id = 1;</code>
* @return The id.
*/
@java.lang.Override
public java.lang.String getId() {
return id_;
}
/**
* <pre>
* Application ID on the exchange.
* Not supported by Google.
* </pre>
*
* <code>optional string id = 1;</code>
* @return The bytes for id.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getIdBytes() {
return com.google.protobuf.ByteString.copyFromUtf8(id_);
}
/**
* <pre>
* Application ID on the exchange.
* Not supported by Google.
* </pre>
*
* <code>optional string id = 1;</code>
* @param value The id to set.
*/
private void setId(
java.lang.String value) {
java.lang.Class<?> valueClass = value.getClass();
bitField0_ |= 0x00000001;
id_ = value;
}
/**
* <pre>
* Application ID on the exchange.
* Not supported by Google.
* </pre>
*
* <code>optional string id = 1;</code>
*/
private void clearId() {
bitField0_ = (bitField0_ & ~0x00000001);
id_ = getDefaultInstance().getId();
}
/**
* <pre>
* Application ID on the exchange.
* Not supported by Google.
* </pre>
*
* <code>optional string id = 1;</code>
* @param value The bytes for id to set.
*/
private void setIdBytes(
com.google.protobuf.ByteString value) {
id_ = value.toStringUtf8();
bitField0_ |= 0x00000001;
}
public static final int NAME_FIELD_NUMBER = 2;
private java.lang.String name_;
/**
* <pre>
* Application name (may be aliased at publisher's request). App names for
* SDK-less requests (mostly from connected TVs) can be provided by the
* publisher directly in the request.
* Supported by Google.
* </pre>
*
* <code>optional string name = 2;</code>
* @return Whether the name field is set.
*/
@java.lang.Override
public boolean hasName() {
return ((bitField0_ & 0x00000002) != 0);
}
/**
* <pre>
* Application name (may be aliased at publisher's request). App names for
* SDK-less requests (mostly from connected TVs) can be provided by the
* publisher directly in the request.
* Supported by Google.
* </pre>
*
* <code>optional string name = 2;</code>
* @return The name.
*/
@java.lang.Override
public java.lang.String getName() {
return name_;
}
/**
* <pre>
* Application name (may be aliased at publisher's request). App names for
* SDK-less requests (mostly from connected TVs) can be provided by the
* publisher directly in the request.
* Supported by Google.
* </pre>
*
* <code>optional string name = 2;</code>
* @return The bytes for name.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getNameBytes() {
return com.google.protobuf.ByteString.copyFromUtf8(name_);
}
/**
* <pre>
* Application name (may be aliased at publisher's request). App names for
* SDK-less requests (mostly from connected TVs) can be provided by the
* publisher directly in the request.
* Supported by Google.
* </pre>
*
* <code>optional string name = 2;</code>
* @param value The name to set.
*/
private void setName(
java.lang.String value) {
java.lang.Class<?> valueClass = value.getClass();
bitField0_ |= 0x00000002;
name_ = value;
}
/**
* <pre>
* Application name (may be aliased at publisher's request). App names for
* SDK-less requests (mostly from connected TVs) can be provided by the
* publisher directly in the request.
* Supported by Google.
* </pre>
*
* <code>optional string name = 2;</code>
*/
private void clearName() {
bitField0_ = (bitField0_ & ~0x00000002);
name_ = getDefaultInstance().getName();
}
/**
* <pre>
* Application name (may be aliased at publisher's request). App names for
* SDK-less requests (mostly from connected TVs) can be provided by the
* publisher directly in the request.
* Supported by Google.
* </pre>
*
* <code>optional string name = 2;</code>
* @param value The bytes for name to set.
*/
private void setNameBytes(
com.google.protobuf.ByteString value) {
name_ = value.toStringUtf8();
bitField0_ |= 0x00000002;
}
public static final int DOMAIN_FIELD_NUMBER = 3;
private java.lang.String domain_;
/**
* <pre>
* Domain of the application. For example, "mygame.foo.com".
* Not supported by Google.
* </pre>
*
* <code>optional string domain = 3;</code>
* @return Whether the domain field is set.
*/
@java.lang.Override
public boolean hasDomain() {
return ((bitField0_ & 0x00000004) != 0);
}
/**
* <pre>
* Domain of the application. For example, "mygame.foo.com".
* Not supported by Google.
* </pre>
*
* <code>optional string domain = 3;</code>
* @return The domain.
*/
@java.lang.Override
public java.lang.String getDomain() {
return domain_;
}
/**
* <pre>
* Domain of the application. For example, "mygame.foo.com".
* Not supported by Google.
* </pre>
*
* <code>optional string domain = 3;</code>
* @return The bytes for domain.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getDomainBytes() {
return com.google.protobuf.ByteString.copyFromUtf8(domain_);
}
/**
* <pre>
* Domain of the application. For example, "mygame.foo.com".
* Not supported by Google.
* </pre>
*
* <code>optional string domain = 3;</code>
* @param value The domain to set.
*/
private void setDomain(
java.lang.String value) {
java.lang.Class<?> valueClass = value.getClass();
bitField0_ |= 0x00000004;
domain_ = value;
}
/**
* <pre>
* Domain of the application. For example, "mygame.foo.com".
* Not supported by Google.
* </pre>
*
* <code>optional string domain = 3;</code>
*/
private void clearDomain() {
bitField0_ = (bitField0_ & ~0x00000004);
domain_ = getDefaultInstance().getDomain();
}
/**
* <pre>
* Domain of the application. For example, "mygame.foo.com".
* Not supported by Google.
* </pre>
*
* <code>optional string domain = 3;</code>
* @param value The bytes for domain to set.
*/
private void setDomainBytes(
com.google.protobuf.ByteString value) {
domain_ = value.toStringUtf8();
bitField0_ |= 0x00000004;
}
public static final int CATTAX_FIELD_NUMBER = 17;
private int cattax_;
/**
* <pre>
* The taxonomy in use for cat, sectioncat and pagecat.
* Not supported by Google.
* </pre>
*
* <code>optional .com.google.openrtb.CategoryTaxonomy cattax = 17 [default = IAB_CONTENT_1_0];</code>
* @return Whether the cattax field is set.
*/
@java.lang.Override
public boolean hasCattax() {
return ((bitField0_ & 0x00000008) != 0);
}
/**
* <pre>
* The taxonomy in use for cat, sectioncat and pagecat.
* Not supported by Google.
* </pre>
*
* <code>optional .com.google.openrtb.CategoryTaxonomy cattax = 17 [default = IAB_CONTENT_1_0];</code>
* @return The cattax.
*/
@java.lang.Override
public com.particles.mes.protos.openrtb.CategoryTaxonomy getCattax() {
com.particles.mes.protos.openrtb.CategoryTaxonomy result = com.particles.mes.protos.openrtb.CategoryTaxonomy.forNumber(cattax_);
return result == null ? com.particles.mes.protos.openrtb.CategoryTaxonomy.IAB_CONTENT_1_0 : result;
}
/**
* <pre>
* The taxonomy in use for cat, sectioncat and pagecat.
* Not supported by Google.
* </pre>
*
* <code>optional .com.google.openrtb.CategoryTaxonomy cattax = 17 [default = IAB_CONTENT_1_0];</code>
* @param value The cattax to set.
*/
private void setCattax(com.particles.mes.protos.openrtb.CategoryTaxonomy value) {
cattax_ = value.getNumber();
bitField0_ |= 0x00000008;
}
/**
* <pre>
* The taxonomy in use for cat, sectioncat and pagecat.
* Not supported by Google.
* </pre>
*
* <code>optional .com.google.openrtb.CategoryTaxonomy cattax = 17 [default = IAB_CONTENT_1_0];</code>
*/
private void clearCattax() {
bitField0_ = (bitField0_ & ~0x00000008);
cattax_ = 1;
}
public static final int CAT_FIELD_NUMBER = 4;
private com.google.protobuf.Internal.ProtobufList<java.lang.String> cat_;
/**
* <pre>
* Array of IAB content categories of the app.
* The taxonomy to be used is defined by the cattax field.
* Not supported by Google.
* </pre>
*
* <code>repeated string cat = 4;</code>
* @return A list containing the cat.
*/
@java.lang.Override
public java.util.List<java.lang.String> getCatList() {
return cat_;
}
/**
* <pre>
* Array of IAB content categories of the app.
* The taxonomy to be used is defined by the cattax field.
* Not supported by Google.
* </pre>
*
* <code>repeated string cat = 4;</code>
* @return The count of cat.
*/
@java.lang.Override
public int getCatCount() {
return cat_.size();
}
/**
* <pre>
* Array of IAB content categories of the app.
* The taxonomy to be used is defined by the cattax field.
* Not supported by Google.
* </pre>
*
* <code>repeated string cat = 4;</code>
* @param index The index of the element to return.
* @return The cat at the given index.
*/
@java.lang.Override
public java.lang.String getCat(int index) {
return cat_.get(index);
}
/**
* <pre>
* Array of IAB content categories of the app.
* The taxonomy to be used is defined by the cattax field.
* Not supported by Google.
* </pre>
*
* <code>repeated string cat = 4;</code>
* @param index The index of the value to return.
* @return The bytes of the cat at the given index.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getCatBytes(int index) {
return com.google.protobuf.ByteString.copyFromUtf8(
cat_.get(index));
}
private void ensureCatIsMutable() {
com.google.protobuf.Internal.ProtobufList<java.lang.String> tmp =
cat_; if (!tmp.isModifiable()) {
cat_ =
com.google.protobuf.GeneratedMessageLite.mutableCopy(tmp);
}
}
/**
* <pre>
* Array of IAB content categories of the app.
* The taxonomy to be used is defined by the cattax field.
* Not supported by Google.
* </pre>
*
* <code>repeated string cat = 4;</code>
* @param index The index to set the value at.
* @param value The cat to set.
*/
private void setCat(
int index, java.lang.String value) {
java.lang.Class<?> valueClass = value.getClass();
ensureCatIsMutable();
cat_.set(index, value);
}
/**
* <pre>
* Array of IAB content categories of the app.
* The taxonomy to be used is defined by the cattax field.
* Not supported by Google.
* </pre>
*
* <code>repeated string cat = 4;</code>
* @param value The cat to add.
*/
private void addCat(
java.lang.String value) {
java.lang.Class<?> valueClass = value.getClass();
ensureCatIsMutable();
cat_.add(value);
}
/**
* <pre>
* Array of IAB content categories of the app.
* The taxonomy to be used is defined by the cattax field.
* Not supported by Google.
* </pre>
*
* <code>repeated string cat = 4;</code>
* @param values The cat to add.
*/
private void addAllCat(
java.lang.Iterable<java.lang.String> values) {
ensureCatIsMutable();
com.google.protobuf.AbstractMessageLite.addAll(
values, cat_);
}
/**
* <pre>
* Array of IAB content categories of the app.
* The taxonomy to be used is defined by the cattax field.
* Not supported by Google.
* </pre>
*
* <code>repeated string cat = 4;</code>
*/
private void clearCat() {
cat_ = com.google.protobuf.GeneratedMessageLite.emptyProtobufList();
}
/**
* <pre>
* Array of IAB content categories of the app.
* The taxonomy to be used is defined by the cattax field.
* Not supported by Google.
* </pre>
*
* <code>repeated string cat = 4;</code>
* @param value The bytes of the cat to add.
*/
private void addCatBytes(
com.google.protobuf.ByteString value) {
ensureCatIsMutable();
cat_.add(value.toStringUtf8());
}
public static final int SECTIONCAT_FIELD_NUMBER = 5;
private com.google.protobuf.Internal.ProtobufList<java.lang.String> sectioncat_;
/**
* <pre>
* Array of IAB content categories that describe the current section
* of the app.
* The taxonomy to be used is defined by the cattax field.
* Not supported by Google.
* </pre>
*
* <code>repeated string sectioncat = 5;</code>
* @return A list containing the sectioncat.
*/
@java.lang.Override
public java.util.List<java.lang.String> getSectioncatList() {
return sectioncat_;
}
/**
* <pre>
* Array of IAB content categories that describe the current section
* of the app.
* The taxonomy to be used is defined by the cattax field.
* Not supported by Google.
* </pre>
*
* <code>repeated string sectioncat = 5;</code>
* @return The count of sectioncat.
*/
@java.lang.Override
public int getSectioncatCount() {
return sectioncat_.size();
}
/**
* <pre>
* Array of IAB content categories that describe the current section
* of the app.
* The taxonomy to be used is defined by the cattax field.
* Not supported by Google.
* </pre>
*
* <code>repeated string sectioncat = 5;</code>
* @param index The index of the element to return.
* @return The sectioncat at the given index.
*/
@java.lang.Override
public java.lang.String getSectioncat(int index) {
return sectioncat_.get(index);
}
/**
* <pre>
* Array of IAB content categories that describe the current section
* of the app.
* The taxonomy to be used is defined by the cattax field.
* Not supported by Google.
* </pre>
*
* <code>repeated string sectioncat = 5;</code>
* @param index The index of the value to return.
* @return The bytes of the sectioncat at the given index.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getSectioncatBytes(int index) {
return com.google.protobuf.ByteString.copyFromUtf8(
sectioncat_.get(index));
}
private void ensureSectioncatIsMutable() {
com.google.protobuf.Internal.ProtobufList<java.lang.String> tmp =
sectioncat_; if (!tmp.isModifiable()) {
sectioncat_ =
com.google.protobuf.GeneratedMessageLite.mutableCopy(tmp);
}
}
/**
* <pre>
* Array of IAB content categories that describe the current section
* of the app.
* The taxonomy to be used is defined by the cattax field.
* Not supported by Google.
* </pre>
*
* <code>repeated string sectioncat = 5;</code>
* @param index The index to set the value at.
* @param value The sectioncat to set.
*/
private void setSectioncat(
int index, java.lang.String value) {
java.lang.Class<?> valueClass = value.getClass();
ensureSectioncatIsMutable();
sectioncat_.set(index, value);
}
/**
* <pre>
* Array of IAB content categories that describe the current section
* of the app.
* The taxonomy to be used is defined by the cattax field.
* Not supported by Google.
* </pre>
*
* <code>repeated string sectioncat = 5;</code>
* @param value The sectioncat to add.
*/
private void addSectioncat(
java.lang.String value) {
java.lang.Class<?> valueClass = value.getClass();
ensureSectioncatIsMutable();
sectioncat_.add(value);
}
/**
* <pre>
* Array of IAB content categories that describe the current section
* of the app.
* The taxonomy to be used is defined by the cattax field.
* Not supported by Google.
* </pre>
*
* <code>repeated string sectioncat = 5;</code>
* @param values The sectioncat to add.
*/
private void addAllSectioncat(
java.lang.Iterable<java.lang.String> values) {
ensureSectioncatIsMutable();
com.google.protobuf.AbstractMessageLite.addAll(
values, sectioncat_);
}
/**
* <pre>
* Array of IAB content categories that describe the current section
* of the app.
* The taxonomy to be used is defined by the cattax field.
* Not supported by Google.
* </pre>
*
* <code>repeated string sectioncat = 5;</code>
*/
private void clearSectioncat() {
sectioncat_ = com.google.protobuf.GeneratedMessageLite.emptyProtobufList();
}
/**
* <pre>
* Array of IAB content categories that describe the current section
* of the app.
* The taxonomy to be used is defined by the cattax field.
* Not supported by Google.
* </pre>
*
* <code>repeated string sectioncat = 5;</code>
* @param value The bytes of the sectioncat to add.
*/
private void addSectioncatBytes(
com.google.protobuf.ByteString value) {
ensureSectioncatIsMutable();
sectioncat_.add(value.toStringUtf8());
}
public static final int PAGECAT_FIELD_NUMBER = 6;
private com.google.protobuf.Internal.ProtobufList<java.lang.String> pagecat_;
/**
* <pre>
* Array of IAB content categories that describe the current page or view
* of the app.
* The taxonomy to be used is defined by the cattax field.
* Not supported by Google.
* </pre>
*
* <code>repeated string pagecat = 6;</code>
* @return A list containing the pagecat.
*/
@java.lang.Override
public java.util.List<java.lang.String> getPagecatList() {
return pagecat_;
}
/**
* <pre>
* Array of IAB content categories that describe the current page or view
* of the app.
* The taxonomy to be used is defined by the cattax field.
* Not supported by Google.
* </pre>
*
* <code>repeated string pagecat = 6;</code>
* @return The count of pagecat.
*/
@java.lang.Override
public int getPagecatCount() {
return pagecat_.size();
}
/**
* <pre>
* Array of IAB content categories that describe the current page or view
* of the app.
* The taxonomy to be used is defined by the cattax field.
* Not supported by Google.
* </pre>
*
* <code>repeated string pagecat = 6;</code>
* @param index The index of the element to return.
* @return The pagecat at the given index.
*/
@java.lang.Override
public java.lang.String getPagecat(int index) {
return pagecat_.get(index);
}
/**
* <pre>
* Array of IAB content categories that describe the current page or view
* of the app.
* The taxonomy to be used is defined by the cattax field.
* Not supported by Google.
* </pre>
*
* <code>repeated string pagecat = 6;</code>
* @param index The index of the value to return.
* @return The bytes of the pagecat at the given index.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getPagecatBytes(int index) {
return com.google.protobuf.ByteString.copyFromUtf8(
pagecat_.get(index));
}
private void ensurePagecatIsMutable() {
com.google.protobuf.Internal.ProtobufList<java.lang.String> tmp =
pagecat_; if (!tmp.isModifiable()) {
pagecat_ =
com.google.protobuf.GeneratedMessageLite.mutableCopy(tmp);
}
}
/**
* <pre>
* Array of IAB content categories that describe the current page or view
* of the app.
* The taxonomy to be used is defined by the cattax field.
* Not supported by Google.
* </pre>
*
* <code>repeated string pagecat = 6;</code>
* @param index The index to set the value at.
* @param value The pagecat to set.
*/
private void setPagecat(
int index, java.lang.String value) {
java.lang.Class<?> valueClass = value.getClass();
ensurePagecatIsMutable();
pagecat_.set(index, value);
}
/**
* <pre>
* Array of IAB content categories that describe the current page or view
* of the app.
* The taxonomy to be used is defined by the cattax field.
* Not supported by Google.
* </pre>
*
* <code>repeated string pagecat = 6;</code>
* @param value The pagecat to add.
*/
private void addPagecat(
java.lang.String value) {
java.lang.Class<?> valueClass = value.getClass();
ensurePagecatIsMutable();
pagecat_.add(value);
}
/**
* <pre>
* Array of IAB content categories that describe the current page or view
* of the app.
* The taxonomy to be used is defined by the cattax field.
* Not supported by Google.
* </pre>
*
* <code>repeated string pagecat = 6;</code>
* @param values The pagecat to add.
*/
private void addAllPagecat(
java.lang.Iterable<java.lang.String> values) {
ensurePagecatIsMutable();
com.google.protobuf.AbstractMessageLite.addAll(
values, pagecat_);
}
/**
* <pre>
* Array of IAB content categories that describe the current page or view
* of the app.
* The taxonomy to be used is defined by the cattax field.
* Not supported by Google.
* </pre>
*
* <code>repeated string pagecat = 6;</code>
*/
private void clearPagecat() {
pagecat_ = com.google.protobuf.GeneratedMessageLite.emptyProtobufList();
}
/**
* <pre>
* Array of IAB content categories that describe the current page or view
* of the app.
* The taxonomy to be used is defined by the cattax field.
* Not supported by Google.
* </pre>
*
* <code>repeated string pagecat = 6;</code>
* @param value The bytes of the pagecat to add.
*/
private void addPagecatBytes(
com.google.protobuf.ByteString value) {
ensurePagecatIsMutable();
pagecat_.add(value.toStringUtf8());
}
public static final int VER_FIELD_NUMBER = 7;
private java.lang.String ver_;
/**
* <pre>
* Application version.
* Not supported by Google.
* </pre>
*
* <code>optional string ver = 7;</code>
* @return Whether the ver field is set.
*/
@java.lang.Override
public boolean hasVer() {
return ((bitField0_ & 0x00000010) != 0);
}
/**
* <pre>
* Application version.
* Not supported by Google.
* </pre>
*
* <code>optional string ver = 7;</code>
* @return The ver.
*/
@java.lang.Override
public java.lang.String getVer() {
return ver_;
}
/**
* <pre>
* Application version.
* Not supported by Google.
* </pre>
*
* <code>optional string ver = 7;</code>
* @return The bytes for ver.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getVerBytes() {
return com.google.protobuf.ByteString.copyFromUtf8(ver_);
}
/**
* <pre>
* Application version.
* Not supported by Google.
* </pre>
*
* <code>optional string ver = 7;</code>
* @param value The ver to set.
*/
private void setVer(
java.lang.String value) {
java.lang.Class<?> valueClass = value.getClass();
bitField0_ |= 0x00000010;
ver_ = value;
}
/**
* <pre>
* Application version.
* Not supported by Google.
* </pre>
*
* <code>optional string ver = 7;</code>
*/
private void clearVer() {
bitField0_ = (bitField0_ & ~0x00000010);
ver_ = getDefaultInstance().getVer();
}
/**
* <pre>
* Application version.
* Not supported by Google.
* </pre>
*
* <code>optional string ver = 7;</code>
* @param value The bytes for ver to set.
*/
private void setVerBytes(
com.google.protobuf.ByteString value) {
ver_ = value.toStringUtf8();
bitField0_ |= 0x00000010;
}
public static final int BUNDLE_FIELD_NUMBER = 8;
private java.lang.String bundle_;
/**
* <pre>
* A platform-specific application identifier intended to be
* unique to the app and independent of the exchange. On Android,
* this should be a bundle or package name (for example, com.foo.mygame).
* On iOS, it is a numeric ID. For SDK-less requests (mostly from connected
* TVs), it can be provided by the publisher directly in the request.
* Supported by Google.
* </pre>
*
* <code>optional string bundle = 8;</code>
* @return Whether the bundle field is set.
*/
@java.lang.Override
public boolean hasBundle() {
return ((bitField0_ & 0x00000020) != 0);
}
/**
* <pre>
* A platform-specific application identifier intended to be
* unique to the app and independent of the exchange. On Android,
* this should be a bundle or package name (for example, com.foo.mygame).
* On iOS, it is a numeric ID. For SDK-less requests (mostly from connected
* TVs), it can be provided by the publisher directly in the request.
* Supported by Google.
* </pre>
*
* <code>optional string bundle = 8;</code>
* @return The bundle.
*/
@java.lang.Override
public java.lang.String getBundle() {
return bundle_;
}
/**
* <pre>
* A platform-specific application identifier intended to be
* unique to the app and independent of the exchange. On Android,
* this should be a bundle or package name (for example, com.foo.mygame).
* On iOS, it is a numeric ID. For SDK-less requests (mostly from connected
* TVs), it can be provided by the publisher directly in the request.
* Supported by Google.
* </pre>
*
* <code>optional string bundle = 8;</code>
* @return The bytes for bundle.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getBundleBytes() {
return com.google.protobuf.ByteString.copyFromUtf8(bundle_);
}
/**
* <pre>
* A platform-specific application identifier intended to be
* unique to the app and independent of the exchange. On Android,
* this should be a bundle or package name (for example, com.foo.mygame).
* On iOS, it is a numeric ID. For SDK-less requests (mostly from connected
* TVs), it can be provided by the publisher directly in the request.
* Supported by Google.
* </pre>
*
* <code>optional string bundle = 8;</code>
* @param value The bundle to set.
*/
private void setBundle(
java.lang.String value) {
java.lang.Class<?> valueClass = value.getClass();
bitField0_ |= 0x00000020;
bundle_ = value;
}
/**
* <pre>
* A platform-specific application identifier intended to be
* unique to the app and independent of the exchange. On Android,
* this should be a bundle or package name (for example, com.foo.mygame).
* On iOS, it is a numeric ID. For SDK-less requests (mostly from connected
* TVs), it can be provided by the publisher directly in the request.
* Supported by Google.
* </pre>
*
* <code>optional string bundle = 8;</code>
*/
private void clearBundle() {
bitField0_ = (bitField0_ & ~0x00000020);
bundle_ = getDefaultInstance().getBundle();
}
/**
* <pre>
* A platform-specific application identifier intended to be
* unique to the app and independent of the exchange. On Android,
* this should be a bundle or package name (for example, com.foo.mygame).
* On iOS, it is a numeric ID. For SDK-less requests (mostly from connected
* TVs), it can be provided by the publisher directly in the request.
* Supported by Google.
* </pre>
*
* <code>optional string bundle = 8;</code>
* @param value The bytes for bundle to set.
*/
private void setBundleBytes(
com.google.protobuf.ByteString value) {
bundle_ = value.toStringUtf8();
bitField0_ |= 0x00000020;
}
public static final int PRIVACYPOLICY_FIELD_NUMBER = 9;
private boolean privacypolicy_;
/**
* <pre>
* Indicates if the app has a privacy policy.
* Not supported by Google.
* </pre>
*
* <code>optional bool privacypolicy = 9;</code>
* @return Whether the privacypolicy field is set.
*/
@java.lang.Override
public boolean hasPrivacypolicy() {
return ((bitField0_ & 0x00000040) != 0);
}
/**
* <pre>
* Indicates if the app has a privacy policy.
* Not supported by Google.
* </pre>
*
* <code>optional bool privacypolicy = 9;</code>
* @return The privacypolicy.
*/
@java.lang.Override
public boolean getPrivacypolicy() {
return privacypolicy_;
}
/**
* <pre>
* Indicates if the app has a privacy policy.
* Not supported by Google.
* </pre>
*
* <code>optional bool privacypolicy = 9;</code>
* @param value The privacypolicy to set.
*/
private void setPrivacypolicy(boolean value) {
bitField0_ |= 0x00000040;
privacypolicy_ = value;
}
/**
* <pre>
* Indicates if the app has a privacy policy.
* Not supported by Google.
* </pre>
*
* <code>optional bool privacypolicy = 9;</code>
*/
private void clearPrivacypolicy() {
bitField0_ = (bitField0_ & ~0x00000040);
privacypolicy_ = false;
}
public static final int PAID_FIELD_NUMBER = 10;
private boolean paid_;
/**
* <pre>
* false = app is free, true = the app is a paid version.
* Not supported by Google.
* </pre>
*
* <code>optional bool paid = 10;</code>
* @return Whether the paid field is set.
*/
@java.lang.Override
public boolean hasPaid() {
return ((bitField0_ & 0x00000080) != 0);
}
/**
* <pre>
* false = app is free, true = the app is a paid version.
* Not supported by Google.
* </pre>
*
* <code>optional bool paid = 10;</code>
* @return The paid.
*/
@java.lang.Override
public boolean getPaid() {
return paid_;
}
/**
* <pre>
* false = app is free, true = the app is a paid version.
* Not supported by Google.
* </pre>
*
* <code>optional bool paid = 10;</code>
* @param value The paid to set.
*/
private void setPaid(boolean value) {
bitField0_ |= 0x00000080;
paid_ = value;
}
/**
* <pre>
* false = app is free, true = the app is a paid version.
* Not supported by Google.
* </pre>
*
* <code>optional bool paid = 10;</code>
*/
private void clearPaid() {
bitField0_ = (bitField0_ & ~0x00000080);
paid_ = false;
}
public static final int PUBLISHER_FIELD_NUMBER = 11;
private com.particles.mes.protos.openrtb.BidRequest.Publisher publisher_;
/**
* <pre>
* Details about the Publisher (Section 3.2.8) of the app.
* Supported by Google.
* </pre>
*
* <code>optional .com.google.openrtb.BidRequest.Publisher publisher = 11;</code>
*/
@java.lang.Override
public boolean hasPublisher() {
return ((bitField0_ & 0x00000100) != 0);
}
/**
* <pre>
* Details about the Publisher (Section 3.2.8) of the app.
* Supported by Google.
* </pre>
*
* <code>optional .com.google.openrtb.BidRequest.Publisher publisher = 11;</code>
*/
@java.lang.Override
public com.particles.mes.protos.openrtb.BidRequest.Publisher getPublisher() {
return publisher_ == null ? com.particles.mes.protos.openrtb.BidRequest.Publisher.getDefaultInstance() : publisher_;
}
/**
* <pre>
* Details about the Publisher (Section 3.2.8) of the app.
* Supported by Google.
* </pre>
*
* <code>optional .com.google.openrtb.BidRequest.Publisher publisher = 11;</code>
*/
private void setPublisher(com.particles.mes.protos.openrtb.BidRequest.Publisher value) {
value.getClass();
publisher_ = value;
bitField0_ |= 0x00000100;
}
/**
* <pre>
* Details about the Publisher (Section 3.2.8) of the app.
* Supported by Google.
* </pre>
*
* <code>optional .com.google.openrtb.BidRequest.Publisher publisher = 11;</code>
*/
@java.lang.SuppressWarnings({"ReferenceEquality"})
private void mergePublisher(com.particles.mes.protos.openrtb.BidRequest.Publisher value) {
value.getClass();
if (publisher_ != null &&
publisher_ != com.particles.mes.protos.openrtb.BidRequest.Publisher.getDefaultInstance()) {
publisher_ =
com.particles.mes.protos.openrtb.BidRequest.Publisher.newBuilder(publisher_).mergeFrom(value).buildPartial();
} else {
publisher_ = value;
}
bitField0_ |= 0x00000100;
}
/**
* <pre>
* Details about the Publisher (Section 3.2.8) of the app.
* Supported by Google.
* </pre>
*
* <code>optional .com.google.openrtb.BidRequest.Publisher publisher = 11;</code>
*/
private void clearPublisher() { publisher_ = null;
bitField0_ = (bitField0_ & ~0x00000100);
}
public static final int CONTENT_FIELD_NUMBER = 12;
private com.particles.mes.protos.openrtb.BidRequest.Content content_;
/**
* <pre>
* Details about the Content (Section 3.2.9) within the app.
* Supported by Google.
* </pre>
*
* <code>optional .com.google.openrtb.BidRequest.Content content = 12;</code>
*/
@java.lang.Override
public boolean hasContent() {
return ((bitField0_ & 0x00000200) != 0);
}
/**
* <pre>
* Details about the Content (Section 3.2.9) within the app.
* Supported by Google.
* </pre>
*
* <code>optional .com.google.openrtb.BidRequest.Content content = 12;</code>
*/
@java.lang.Override
public com.particles.mes.protos.openrtb.BidRequest.Content getContent() {
return content_ == null ? com.particles.mes.protos.openrtb.BidRequest.Content.getDefaultInstance() : content_;
}
/**
* <pre>
* Details about the Content (Section 3.2.9) within the app.
* Supported by Google.
* </pre>
*
* <code>optional .com.google.openrtb.BidRequest.Content content = 12;</code>
*/
private void setContent(com.particles.mes.protos.openrtb.BidRequest.Content value) {
value.getClass();
content_ = value;
bitField0_ |= 0x00000200;
}
/**
* <pre>
* Details about the Content (Section 3.2.9) within the app.
* Supported by Google.
* </pre>
*
* <code>optional .com.google.openrtb.BidRequest.Content content = 12;</code>
*/
@java.lang.SuppressWarnings({"ReferenceEquality"})
private void mergeContent(com.particles.mes.protos.openrtb.BidRequest.Content value) {
value.getClass();
if (content_ != null &&
content_ != com.particles.mes.protos.openrtb.BidRequest.Content.getDefaultInstance()) {
content_ =
com.particles.mes.protos.openrtb.BidRequest.Content.newBuilder(content_).mergeFrom(value).buildPartial();
} else {
content_ = value;
}
bitField0_ |= 0x00000200;
}
/**
* <pre>
* Details about the Content (Section 3.2.9) within the app.
* Supported by Google.
* </pre>
*
* <code>optional .com.google.openrtb.BidRequest.Content content = 12;</code>
*/
private void clearContent() { content_ = null;
bitField0_ = (bitField0_ & ~0x00000200);
}
public static final int KEYWORDS_FIELD_NUMBER = 13;
private java.lang.String keywords_;
/**
* <pre>
* Comma separated list of keywords about the app.
* Not supported by Google.
* </pre>
*
* <code>optional string keywords = 13;</code>
* @return Whether the keywords field is set.
*/
@java.lang.Override
public boolean hasKeywords() {
return ((bitField0_ & 0x00000400) != 0);
}
/**
* <pre>
* Comma separated list of keywords about the app.
* Not supported by Google.
* </pre>
*
* <code>optional string keywords = 13;</code>
* @return The keywords.
*/
@java.lang.Override
public java.lang.String getKeywords() {
return keywords_;
}
/**
* <pre>
* Comma separated list of keywords about the app.
* Not supported by Google.
* </pre>
*
* <code>optional string keywords = 13;</code>
* @return The bytes for keywords.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getKeywordsBytes() {
return com.google.protobuf.ByteString.copyFromUtf8(keywords_);
}
/**
* <pre>
* Comma separated list of keywords about the app.
* Not supported by Google.
* </pre>
*
* <code>optional string keywords = 13;</code>
* @param value The keywords to set.
*/
private void setKeywords(
java.lang.String value) {
java.lang.Class<?> valueClass = value.getClass();
bitField0_ |= 0x00000400;
keywords_ = value;
}
/**
* <pre>
* Comma separated list of keywords about the app.
* Not supported by Google.
* </pre>
*
* <code>optional string keywords = 13;</code>
*/
private void clearKeywords() {
bitField0_ = (bitField0_ & ~0x00000400);
keywords_ = getDefaultInstance().getKeywords();
}
/**
* <pre>
* Comma separated list of keywords about the app.
* Not supported by Google.
* </pre>
*
* <code>optional string keywords = 13;</code>
* @param value The bytes for keywords to set.
*/
private void setKeywordsBytes(
com.google.protobuf.ByteString value) {
keywords_ = value.toStringUtf8();
bitField0_ |= 0x00000400;
}
public static final int STOREURL_FIELD_NUMBER = 16;
private java.lang.String storeurl_;
/**
* <pre>
* App store URL for an installed app; for QAG 1.5 compliance.
* Supported by Google.
* </pre>
*
* <code>optional string storeurl = 16;</code>
* @return Whether the storeurl field is set.
*/
@java.lang.Override
public boolean hasStoreurl() {
return ((bitField0_ & 0x00000800) != 0);
}
/**
* <pre>
* App store URL for an installed app; for QAG 1.5 compliance.
* Supported by Google.
* </pre>
*
* <code>optional string storeurl = 16;</code>
* @return The storeurl.
*/
@java.lang.Override
public java.lang.String getStoreurl() {
return storeurl_;
}
/**
* <pre>
* App store URL for an installed app; for QAG 1.5 compliance.
* Supported by Google.
* </pre>
*
* <code>optional string storeurl = 16;</code>
* @return The bytes for storeurl.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getStoreurlBytes() {
return com.google.protobuf.ByteString.copyFromUtf8(storeurl_);
}
/**
* <pre>
* App store URL for an installed app; for QAG 1.5 compliance.
* Supported by Google.
* </pre>
*
* <code>optional string storeurl = 16;</code>
* @param value The storeurl to set.
*/
private void setStoreurl(
java.lang.String value) {
java.lang.Class<?> valueClass = value.getClass();
bitField0_ |= 0x00000800;
storeurl_ = value;
}
/**
* <pre>
* App store URL for an installed app; for QAG 1.5 compliance.
* Supported by Google.
* </pre>
*
* <code>optional string storeurl = 16;</code>
*/
private void clearStoreurl() {
bitField0_ = (bitField0_ & ~0x00000800);
storeurl_ = getDefaultInstance().getStoreurl();
}
/**
* <pre>
* App store URL for an installed app; for QAG 1.5 compliance.
* Supported by Google.
* </pre>
*
* <code>optional string storeurl = 16;</code>
* @param value The bytes for storeurl to set.
*/
private void setStoreurlBytes(
com.google.protobuf.ByteString value) {
storeurl_ = value.toStringUtf8();
bitField0_ |= 0x00000800;
}
public static final int EXT_FIELD_NUMBER = 90;
private java.lang.String ext_;
/**
* <code>optional string ext = 90;</code>
* @return Whether the ext field is set.
*/
@java.lang.Override
public boolean hasExt() {
return ((bitField0_ & 0x00001000) != 0);
}
/**
* <code>optional string ext = 90;</code>
* @return The ext.
*/
@java.lang.Override
public java.lang.String getExt() {
return ext_;
}
/**
* <code>optional string ext = 90;</code>
* @return The bytes for ext.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getExtBytes() {
return com.google.protobuf.ByteString.copyFromUtf8(ext_);
}
/**
* <code>optional string ext = 90;</code>
* @param value The ext to set.
*/
private void setExt(
java.lang.String value) {
java.lang.Class<?> valueClass = value.getClass();
bitField0_ |= 0x00001000;
ext_ = value;
}
/**
* <code>optional string ext = 90;</code>
*/
private void clearExt() {
bitField0_ = (bitField0_ & ~0x00001000);
ext_ = getDefaultInstance().getExt();
}
/**
* <code>optional string ext = 90;</code>
* @param value The bytes for ext to set.
*/
private void setExtBytes(
com.google.protobuf.ByteString value) {
ext_ = value.toStringUtf8();
bitField0_ |= 0x00001000;
}
public static com.particles.mes.protos.openrtb.BidRequest.App parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, data);
}
public static com.particles.mes.protos.openrtb.BidRequest.App parseFrom(
java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, data, extensionRegistry);
}
public static com.particles.mes.protos.openrtb.BidRequest.App parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, data);
}
public static com.particles.mes.protos.openrtb.BidRequest.App parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, data, extensionRegistry);
}
public static com.particles.mes.protos.openrtb.BidRequest.App parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, data);
}
public static com.particles.mes.protos.openrtb.BidRequest.App parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, data, extensionRegistry);
}
public static com.particles.mes.protos.openrtb.BidRequest.App parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, input);
}
public static com.particles.mes.protos.openrtb.BidRequest.App parseFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, input, extensionRegistry);
}
public static com.particles.mes.protos.openrtb.BidRequest.App parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return parseDelimitedFrom(DEFAULT_INSTANCE, input);
}
public static com.particles.mes.protos.openrtb.BidRequest.App parseDelimitedFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return parseDelimitedFrom(DEFAULT_INSTANCE, input, extensionRegistry);
}
public static com.particles.mes.protos.openrtb.BidRequest.App parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, input);
}
public static com.particles.mes.protos.openrtb.BidRequest.App parseFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, input, extensionRegistry);
}
public static Builder newBuilder() {
return (Builder) DEFAULT_INSTANCE.createBuilder();
}
public static Builder newBuilder(com.particles.mes.protos.openrtb.BidRequest.App prototype) {
return (Builder) DEFAULT_INSTANCE.createBuilder(prototype);
}
/**
* <pre>
* OpenRTB 2.0: This object should be included if the ad supported content
* is a non-browser application (typically in mobile) as opposed to a website.
* A bid request must not contain both an App and a Site object.
* At a minimum, it is useful to provide an App ID or bundle,
* but this is not strictly required.
* </pre>
*
* Protobuf type {@code com.google.openrtb.BidRequest.App}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageLite.ExtendableBuilder<
com.particles.mes.protos.openrtb.BidRequest.App, Builder> implements
// @@protoc_insertion_point(builder_implements:com.google.openrtb.BidRequest.App)
com.particles.mes.protos.openrtb.BidRequest.AppOrBuilder {
// Construct using com.particles.mes.protos.openrtb.BidRequest.App.newBuilder()
private Builder() {
super(DEFAULT_INSTANCE);
}
/**
* <pre>
* Application ID on the exchange.
* Not supported by Google.
* </pre>
*
* <code>optional string id = 1;</code>
* @return Whether the id field is set.
*/
@java.lang.Override
public boolean hasId() {
return instance.hasId();
}
/**
* <pre>
* Application ID on the exchange.
* Not supported by Google.
* </pre>
*
* <code>optional string id = 1;</code>
* @return The id.
*/
@java.lang.Override
public java.lang.String getId() {
return instance.getId();
}
/**
* <pre>
* Application ID on the exchange.
* Not supported by Google.
* </pre>
*
* <code>optional string id = 1;</code>
* @return The bytes for id.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getIdBytes() {
return instance.getIdBytes();
}
/**
* <pre>
* Application ID on the exchange.
* Not supported by Google.
* </pre>
*
* <code>optional string id = 1;</code>
* @param value The id to set.
* @return This builder for chaining.
*/
public Builder setId(
java.lang.String value) {
copyOnWrite();
instance.setId(value);
return this;
}
/**
* <pre>
* Application ID on the exchange.
* Not supported by Google.
* </pre>
*
* <code>optional string id = 1;</code>
* @return This builder for chaining.
*/
public Builder clearId() {
copyOnWrite();
instance.clearId();
return this;
}
/**
* <pre>
* Application ID on the exchange.
* Not supported by Google.
* </pre>
*
* <code>optional string id = 1;</code>
* @param value The bytes for id to set.
* @return This builder for chaining.
*/
public Builder setIdBytes(
com.google.protobuf.ByteString value) {
copyOnWrite();
instance.setIdBytes(value);
return this;
}
/**
* <pre>
* Application name (may be aliased at publisher's request). App names for
* SDK-less requests (mostly from connected TVs) can be provided by the
* publisher directly in the request.
* Supported by Google.
* </pre>
*
* <code>optional string name = 2;</code>
* @return Whether the name field is set.
*/
@java.lang.Override
public boolean hasName() {
return instance.hasName();
}
/**
* <pre>
* Application name (may be aliased at publisher's request). App names for
* SDK-less requests (mostly from connected TVs) can be provided by the
* publisher directly in the request.
* Supported by Google.
* </pre>
*
* <code>optional string name = 2;</code>
* @return The name.
*/
@java.lang.Override
public java.lang.String getName() {
return instance.getName();
}
/**
* <pre>
* Application name (may be aliased at publisher's request). App names for
* SDK-less requests (mostly from connected TVs) can be provided by the
* publisher directly in the request.
* Supported by Google.
* </pre>
*
* <code>optional string name = 2;</code>
* @return The bytes for name.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getNameBytes() {
return instance.getNameBytes();
}
/**
* <pre>
* Application name (may be aliased at publisher's request). App names for
* SDK-less requests (mostly from connected TVs) can be provided by the
* publisher directly in the request.
* Supported by Google.
* </pre>
*
* <code>optional string name = 2;</code>
* @param value The name to set.
* @return This builder for chaining.
*/
public Builder setName(
java.lang.String value) {
copyOnWrite();
instance.setName(value);
return this;
}
/**
* <pre>
* Application name (may be aliased at publisher's request). App names for
* SDK-less requests (mostly from connected TVs) can be provided by the
* publisher directly in the request.
* Supported by Google.
* </pre>
*
* <code>optional string name = 2;</code>
* @return This builder for chaining.
*/
public Builder clearName() {
copyOnWrite();
instance.clearName();
return this;
}
/**
* <pre>
* Application name (may be aliased at publisher's request). App names for
* SDK-less requests (mostly from connected TVs) can be provided by the
* publisher directly in the request.
* Supported by Google.
* </pre>
*
* <code>optional string name = 2;</code>
* @param value The bytes for name to set.
* @return This builder for chaining.
*/
public Builder setNameBytes(
com.google.protobuf.ByteString value) {
copyOnWrite();
instance.setNameBytes(value);
return this;
}
/**
* <pre>
* Domain of the application. For example, "mygame.foo.com".
* Not supported by Google.
* </pre>
*
* <code>optional string domain = 3;</code>
* @return Whether the domain field is set.
*/
@java.lang.Override
public boolean hasDomain() {
return instance.hasDomain();
}
/**
* <pre>
* Domain of the application. For example, "mygame.foo.com".
* Not supported by Google.
* </pre>
*
* <code>optional string domain = 3;</code>
* @return The domain.
*/
@java.lang.Override
public java.lang.String getDomain() {
return instance.getDomain();
}
/**
* <pre>
* Domain of the application. For example, "mygame.foo.com".
* Not supported by Google.
* </pre>
*
* <code>optional string domain = 3;</code>
* @return The bytes for domain.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getDomainBytes() {
return instance.getDomainBytes();
}
/**
* <pre>
* Domain of the application. For example, "mygame.foo.com".
* Not supported by Google.
* </pre>
*
* <code>optional string domain = 3;</code>
* @param value The domain to set.
* @return This builder for chaining.
*/
public Builder setDomain(
java.lang.String value) {
copyOnWrite();
instance.setDomain(value);
return this;
}
/**
* <pre>
* Domain of the application. For example, "mygame.foo.com".
* Not supported by Google.
* </pre>
*
* <code>optional string domain = 3;</code>
* @return This builder for chaining.
*/
public Builder clearDomain() {
copyOnWrite();
instance.clearDomain();
return this;
}
/**
* <pre>
* Domain of the application. For example, "mygame.foo.com".
* Not supported by Google.
* </pre>
*
* <code>optional string domain = 3;</code>
* @param value The bytes for domain to set.
* @return This builder for chaining.
*/
public Builder setDomainBytes(
com.google.protobuf.ByteString value) {
copyOnWrite();
instance.setDomainBytes(value);
return this;
}
/**
* <pre>
* The taxonomy in use for cat, sectioncat and pagecat.
* Not supported by Google.
* </pre>
*
* <code>optional .com.google.openrtb.CategoryTaxonomy cattax = 17 [default = IAB_CONTENT_1_0];</code>
* @return Whether the cattax field is set.
*/
@java.lang.Override
public boolean hasCattax() {
return instance.hasCattax();
}
/**
* <pre>
* The taxonomy in use for cat, sectioncat and pagecat.
* Not supported by Google.
* </pre>
*
* <code>optional .com.google.openrtb.CategoryTaxonomy cattax = 17 [default = IAB_CONTENT_1_0];</code>
* @return The cattax.
*/
@java.lang.Override
public com.particles.mes.protos.openrtb.CategoryTaxonomy getCattax() {
return instance.getCattax();
}
/**
* <pre>
* The taxonomy in use for cat, sectioncat and pagecat.
* Not supported by Google.
* </pre>
*
* <code>optional .com.google.openrtb.CategoryTaxonomy cattax = 17 [default = IAB_CONTENT_1_0];</code>
* @param value The enum numeric value on the wire for cattax to set.
* @return This builder for chaining.
*/
public Builder setCattax(com.particles.mes.protos.openrtb.CategoryTaxonomy value) {
copyOnWrite();
instance.setCattax(value);
return this;
}
/**
* <pre>
* The taxonomy in use for cat, sectioncat and pagecat.
* Not supported by Google.
* </pre>
*
* <code>optional .com.google.openrtb.CategoryTaxonomy cattax = 17 [default = IAB_CONTENT_1_0];</code>
* @return This builder for chaining.
*/
public Builder clearCattax() {
copyOnWrite();
instance.clearCattax();
return this;
}
/**
* <pre>
* Array of IAB content categories of the app.
* The taxonomy to be used is defined by the cattax field.
* Not supported by Google.
* </pre>
*
* <code>repeated string cat = 4;</code>
* @return A list containing the cat.
*/
@java.lang.Override
public java.util.List<java.lang.String>
getCatList() {
return java.util.Collections.unmodifiableList(
instance.getCatList());
}
/**
* <pre>
* Array of IAB content categories of the app.
* The taxonomy to be used is defined by the cattax field.
* Not supported by Google.
* </pre>
*
* <code>repeated string cat = 4;</code>
* @return The count of cat.
*/
@java.lang.Override
public int getCatCount() {
return instance.getCatCount();
}
/**
* <pre>
* Array of IAB content categories of the app.
* The taxonomy to be used is defined by the cattax field.
* Not supported by Google.
* </pre>
*
* <code>repeated string cat = 4;</code>
* @param index The index of the element to return.
* @return The cat at the given index.
*/
@java.lang.Override
public java.lang.String getCat(int index) {
return instance.getCat(index);
}
/**
* <pre>
* Array of IAB content categories of the app.
* The taxonomy to be used is defined by the cattax field.
* Not supported by Google.
* </pre>
*
* <code>repeated string cat = 4;</code>
* @param index The index of the value to return.
* @return The bytes of the cat at the given index.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getCatBytes(int index) {
return instance.getCatBytes(index);
}
/**
* <pre>
* Array of IAB content categories of the app.
* The taxonomy to be used is defined by the cattax field.
* Not supported by Google.
* </pre>
*
* <code>repeated string cat = 4;</code>
* @param index The index to set the value at.
* @param value The cat to set.
* @return This builder for chaining.
*/
public Builder setCat(
int index, java.lang.String value) {
copyOnWrite();
instance.setCat(index, value);
return this;
}
/**
* <pre>
* Array of IAB content categories of the app.
* The taxonomy to be used is defined by the cattax field.
* Not supported by Google.
* </pre>
*
* <code>repeated string cat = 4;</code>
* @param value The cat to add.
* @return This builder for chaining.
*/
public Builder addCat(
java.lang.String value) {
copyOnWrite();
instance.addCat(value);
return this;
}
/**
* <pre>
* Array of IAB content categories of the app.
* The taxonomy to be used is defined by the cattax field.
* Not supported by Google.
* </pre>
*
* <code>repeated string cat = 4;</code>
* @param values The cat to add.
* @return This builder for chaining.
*/
public Builder addAllCat(
java.lang.Iterable<java.lang.String> values) {
copyOnWrite();
instance.addAllCat(values);
return this;
}
/**
* <pre>
* Array of IAB content categories of the app.
* The taxonomy to be used is defined by the cattax field.
* Not supported by Google.
* </pre>
*
* <code>repeated string cat = 4;</code>
* @return This builder for chaining.
*/
public Builder clearCat() {
copyOnWrite();
instance.clearCat();
return this;
}
/**
* <pre>
* Array of IAB content categories of the app.
* The taxonomy to be used is defined by the cattax field.
* Not supported by Google.
* </pre>
*
* <code>repeated string cat = 4;</code>
* @param value The bytes of the cat to add.
* @return This builder for chaining.
*/
public Builder addCatBytes(
com.google.protobuf.ByteString value) {
copyOnWrite();
instance.addCatBytes(value);
return this;
}
/**
* <pre>
* Array of IAB content categories that describe the current section
* of the app.
* The taxonomy to be used is defined by the cattax field.
* Not supported by Google.
* </pre>
*
* <code>repeated string sectioncat = 5;</code>
* @return A list containing the sectioncat.
*/
@java.lang.Override
public java.util.List<java.lang.String>
getSectioncatList() {
return java.util.Collections.unmodifiableList(
instance.getSectioncatList());
}
/**
* <pre>
* Array of IAB content categories that describe the current section
* of the app.
* The taxonomy to be used is defined by the cattax field.
* Not supported by Google.
* </pre>
*
* <code>repeated string sectioncat = 5;</code>
* @return The count of sectioncat.
*/
@java.lang.Override
public int getSectioncatCount() {
return instance.getSectioncatCount();
}
/**
* <pre>
* Array of IAB content categories that describe the current section
* of the app.
* The taxonomy to be used is defined by the cattax field.
* Not supported by Google.
* </pre>
*
* <code>repeated string sectioncat = 5;</code>
* @param index The index of the element to return.
* @return The sectioncat at the given index.
*/
@java.lang.Override
public java.lang.String getSectioncat(int index) {
return instance.getSectioncat(index);
}
/**
* <pre>
* Array of IAB content categories that describe the current section
* of the app.
* The taxonomy to be used is defined by the cattax field.
* Not supported by Google.
* </pre>
*
* <code>repeated string sectioncat = 5;</code>
* @param index The index of the value to return.
* @return The bytes of the sectioncat at the given index.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getSectioncatBytes(int index) {
return instance.getSectioncatBytes(index);
}
/**
* <pre>
* Array of IAB content categories that describe the current section
* of the app.
* The taxonomy to be used is defined by the cattax field.
* Not supported by Google.
* </pre>
*
* <code>repeated string sectioncat = 5;</code>
* @param index The index to set the value at.
* @param value The sectioncat to set.
* @return This builder for chaining.
*/
public Builder setSectioncat(
int index, java.lang.String value) {
copyOnWrite();
instance.setSectioncat(index, value);
return this;
}
/**
* <pre>
* Array of IAB content categories that describe the current section
* of the app.
* The taxonomy to be used is defined by the cattax field.
* Not supported by Google.
* </pre>
*
* <code>repeated string sectioncat = 5;</code>
* @param value The sectioncat to add.
* @return This builder for chaining.
*/
public Builder addSectioncat(
java.lang.String value) {
copyOnWrite();
instance.addSectioncat(value);
return this;
}
/**
* <pre>
* Array of IAB content categories that describe the current section
* of the app.
* The taxonomy to be used is defined by the cattax field.
* Not supported by Google.
* </pre>
*
* <code>repeated string sectioncat = 5;</code>
* @param values The sectioncat to add.
* @return This builder for chaining.
*/
public Builder addAllSectioncat(
java.lang.Iterable<java.lang.String> values) {
copyOnWrite();
instance.addAllSectioncat(values);
return this;
}
/**
* <pre>
* Array of IAB content categories that describe the current section
* of the app.
* The taxonomy to be used is defined by the cattax field.
* Not supported by Google.
* </pre>
*
* <code>repeated string sectioncat = 5;</code>
* @return This builder for chaining.
*/
public Builder clearSectioncat() {
copyOnWrite();
instance.clearSectioncat();
return this;
}
/**
* <pre>
* Array of IAB content categories that describe the current section
* of the app.
* The taxonomy to be used is defined by the cattax field.
* Not supported by Google.
* </pre>
*
* <code>repeated string sectioncat = 5;</code>
* @param value The bytes of the sectioncat to add.
* @return This builder for chaining.
*/
public Builder addSectioncatBytes(
com.google.protobuf.ByteString value) {
copyOnWrite();
instance.addSectioncatBytes(value);
return this;
}
/**
* <pre>
* Array of IAB content categories that describe the current page or view
* of the app.
* The taxonomy to be used is defined by the cattax field.
* Not supported by Google.
* </pre>
*
* <code>repeated string pagecat = 6;</code>
* @return A list containing the pagecat.
*/
@java.lang.Override
public java.util.List<java.lang.String>
getPagecatList() {
return java.util.Collections.unmodifiableList(
instance.getPagecatList());
}
/**
* <pre>
* Array of IAB content categories that describe the current page or view
* of the app.
* The taxonomy to be used is defined by the cattax field.
* Not supported by Google.
* </pre>
*
* <code>repeated string pagecat = 6;</code>
* @return The count of pagecat.
*/
@java.lang.Override
public int getPagecatCount() {
return instance.getPagecatCount();
}
/**
* <pre>
* Array of IAB content categories that describe the current page or view
* of the app.
* The taxonomy to be used is defined by the cattax field.
* Not supported by Google.
* </pre>
*
* <code>repeated string pagecat = 6;</code>
* @param index The index of the element to return.
* @return The pagecat at the given index.
*/
@java.lang.Override
public java.lang.String getPagecat(int index) {
return instance.getPagecat(index);
}
/**
* <pre>
* Array of IAB content categories that describe the current page or view
* of the app.
* The taxonomy to be used is defined by the cattax field.
* Not supported by Google.
* </pre>
*
* <code>repeated string pagecat = 6;</code>
* @param index The index of the value to return.
* @return The bytes of the pagecat at the given index.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getPagecatBytes(int index) {
return instance.getPagecatBytes(index);
}
/**
* <pre>
* Array of IAB content categories that describe the current page or view
* of the app.
* The taxonomy to be used is defined by the cattax field.
* Not supported by Google.
* </pre>
*
* <code>repeated string pagecat = 6;</code>
* @param index The index to set the value at.
* @param value The pagecat to set.
* @return This builder for chaining.
*/
public Builder setPagecat(
int index, java.lang.String value) {
copyOnWrite();
instance.setPagecat(index, value);
return this;
}
/**
* <pre>
* Array of IAB content categories that describe the current page or view
* of the app.
* The taxonomy to be used is defined by the cattax field.
* Not supported by Google.
* </pre>
*
* <code>repeated string pagecat = 6;</code>
* @param value The pagecat to add.
* @return This builder for chaining.
*/
public Builder addPagecat(
java.lang.String value) {
copyOnWrite();
instance.addPagecat(value);
return this;
}
/**
* <pre>
* Array of IAB content categories that describe the current page or view
* of the app.
* The taxonomy to be used is defined by the cattax field.
* Not supported by Google.
* </pre>
*
* <code>repeated string pagecat = 6;</code>
* @param values The pagecat to add.
* @return This builder for chaining.
*/
public Builder addAllPagecat(
java.lang.Iterable<java.lang.String> values) {
copyOnWrite();
instance.addAllPagecat(values);
return this;
}
/**
* <pre>
* Array of IAB content categories that describe the current page or view
* of the app.
* The taxonomy to be used is defined by the cattax field.
* Not supported by Google.
* </pre>
*
* <code>repeated string pagecat = 6;</code>
* @return This builder for chaining.
*/
public Builder clearPagecat() {
copyOnWrite();
instance.clearPagecat();
return this;
}
/**
* <pre>
* Array of IAB content categories that describe the current page or view
* of the app.
* The taxonomy to be used is defined by the cattax field.
* Not supported by Google.
* </pre>
*
* <code>repeated string pagecat = 6;</code>
* @param value The bytes of the pagecat to add.
* @return This builder for chaining.
*/
public Builder addPagecatBytes(
com.google.protobuf.ByteString value) {
copyOnWrite();
instance.addPagecatBytes(value);
return this;
}
/**
* <pre>
* Application version.
* Not supported by Google.
* </pre>
*
* <code>optional string ver = 7;</code>
* @return Whether the ver field is set.
*/
@java.lang.Override
public boolean hasVer() {
return instance.hasVer();
}
/**
* <pre>
* Application version.
* Not supported by Google.
* </pre>
*
* <code>optional string ver = 7;</code>
* @return The ver.
*/
@java.lang.Override
public java.lang.String getVer() {
return instance.getVer();
}
/**
* <pre>
* Application version.
* Not supported by Google.
* </pre>
*
* <code>optional string ver = 7;</code>
* @return The bytes for ver.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getVerBytes() {
return instance.getVerBytes();
}
/**
* <pre>
* Application version.
* Not supported by Google.
* </pre>
*
* <code>optional string ver = 7;</code>
* @param value The ver to set.
* @return This builder for chaining.
*/
public Builder setVer(
java.lang.String value) {
copyOnWrite();
instance.setVer(value);
return this;
}
/**
* <pre>
* Application version.
* Not supported by Google.
* </pre>
*
* <code>optional string ver = 7;</code>
* @return This builder for chaining.
*/
public Builder clearVer() {
copyOnWrite();
instance.clearVer();
return this;
}
/**
* <pre>
* Application version.
* Not supported by Google.
* </pre>
*
* <code>optional string ver = 7;</code>
* @param value The bytes for ver to set.
* @return This builder for chaining.
*/
public Builder setVerBytes(
com.google.protobuf.ByteString value) {
copyOnWrite();
instance.setVerBytes(value);
return this;
}
/**
* <pre>
* A platform-specific application identifier intended to be
* unique to the app and independent of the exchange. On Android,
* this should be a bundle or package name (for example, com.foo.mygame).
* On iOS, it is a numeric ID. For SDK-less requests (mostly from connected
* TVs), it can be provided by the publisher directly in the request.
* Supported by Google.
* </pre>
*
* <code>optional string bundle = 8;</code>
* @return Whether the bundle field is set.
*/
@java.lang.Override
public boolean hasBundle() {
return instance.hasBundle();
}
/**
* <pre>
* A platform-specific application identifier intended to be
* unique to the app and independent of the exchange. On Android,
* this should be a bundle or package name (for example, com.foo.mygame).
* On iOS, it is a numeric ID. For SDK-less requests (mostly from connected
* TVs), it can be provided by the publisher directly in the request.
* Supported by Google.
* </pre>
*
* <code>optional string bundle = 8;</code>
* @return The bundle.
*/
@java.lang.Override
public java.lang.String getBundle() {
return instance.getBundle();
}
/**
* <pre>
* A platform-specific application identifier intended to be
* unique to the app and independent of the exchange. On Android,
* this should be a bundle or package name (for example, com.foo.mygame).
* On iOS, it is a numeric ID. For SDK-less requests (mostly from connected
* TVs), it can be provided by the publisher directly in the request.
* Supported by Google.
* </pre>
*
* <code>optional string bundle = 8;</code>
* @return The bytes for bundle.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getBundleBytes() {
return instance.getBundleBytes();
}
/**
* <pre>
* A platform-specific application identifier intended to be
* unique to the app and independent of the exchange. On Android,
* this should be a bundle or package name (for example, com.foo.mygame).
* On iOS, it is a numeric ID. For SDK-less requests (mostly from connected
* TVs), it can be provided by the publisher directly in the request.
* Supported by Google.
* </pre>
*
* <code>optional string bundle = 8;</code>
* @param value The bundle to set.
* @return This builder for chaining.
*/
public Builder setBundle(
java.lang.String value) {
copyOnWrite();
instance.setBundle(value);
return this;
}
/**
* <pre>
* A platform-specific application identifier intended to be
* unique to the app and independent of the exchange. On Android,
* this should be a bundle or package name (for example, com.foo.mygame).
* On iOS, it is a numeric ID. For SDK-less requests (mostly from connected
* TVs), it can be provided by the publisher directly in the request.
* Supported by Google.
* </pre>
*
* <code>optional string bundle = 8;</code>
* @return This builder for chaining.
*/
public Builder clearBundle() {
copyOnWrite();
instance.clearBundle();
return this;
}
/**
* <pre>
* A platform-specific application identifier intended to be
* unique to the app and independent of the exchange. On Android,
* this should be a bundle or package name (for example, com.foo.mygame).
* On iOS, it is a numeric ID. For SDK-less requests (mostly from connected
* TVs), it can be provided by the publisher directly in the request.
* Supported by Google.
* </pre>
*
* <code>optional string bundle = 8;</code>
* @param value The bytes for bundle to set.
* @return This builder for chaining.
*/
public Builder setBundleBytes(
com.google.protobuf.ByteString value) {
copyOnWrite();
instance.setBundleBytes(value);
return this;
}
/**
* <pre>
* Indicates if the app has a privacy policy.
* Not supported by Google.
* </pre>
*
* <code>optional bool privacypolicy = 9;</code>
* @return Whether the privacypolicy field is set.
*/
@java.lang.Override
public boolean hasPrivacypolicy() {
return instance.hasPrivacypolicy();
}
/**
* <pre>
* Indicates if the app has a privacy policy.
* Not supported by Google.
* </pre>
*
* <code>optional bool privacypolicy = 9;</code>
* @return The privacypolicy.
*/
@java.lang.Override
public boolean getPrivacypolicy() {
return instance.getPrivacypolicy();
}
/**
* <pre>
* Indicates if the app has a privacy policy.
* Not supported by Google.
* </pre>
*
* <code>optional bool privacypolicy = 9;</code>
* @param value The privacypolicy to set.
* @return This builder for chaining.
*/
public Builder setPrivacypolicy(boolean value) {
copyOnWrite();
instance.setPrivacypolicy(value);
return this;
}
/**
* <pre>
* Indicates if the app has a privacy policy.
* Not supported by Google.
* </pre>
*
* <code>optional bool privacypolicy = 9;</code>
* @return This builder for chaining.
*/
public Builder clearPrivacypolicy() {
copyOnWrite();
instance.clearPrivacypolicy();
return this;
}
/**
* <pre>
* false = app is free, true = the app is a paid version.
* Not supported by Google.
* </pre>
*
* <code>optional bool paid = 10;</code>
* @return Whether the paid field is set.
*/
@java.lang.Override
public boolean hasPaid() {
return instance.hasPaid();
}
/**
* <pre>
* false = app is free, true = the app is a paid version.
* Not supported by Google.
* </pre>
*
* <code>optional bool paid = 10;</code>
* @return The paid.
*/
@java.lang.Override
public boolean getPaid() {
return instance.getPaid();
}
/**
* <pre>
* false = app is free, true = the app is a paid version.
* Not supported by Google.
* </pre>
*
* <code>optional bool paid = 10;</code>
* @param value The paid to set.
* @return This builder for chaining.
*/
public Builder setPaid(boolean value) {
copyOnWrite();
instance.setPaid(value);
return this;
}
/**
* <pre>
* false = app is free, true = the app is a paid version.
* Not supported by Google.
* </pre>
*
* <code>optional bool paid = 10;</code>
* @return This builder for chaining.
*/
public Builder clearPaid() {
copyOnWrite();
instance.clearPaid();
return this;
}
/**
* <pre>
* Details about the Publisher (Section 3.2.8) of the app.
* Supported by Google.
* </pre>
*
* <code>optional .com.google.openrtb.BidRequest.Publisher publisher = 11;</code>
*/
@java.lang.Override
public boolean hasPublisher() {
return instance.hasPublisher();
}
/**
* <pre>
* Details about the Publisher (Section 3.2.8) of the app.
* Supported by Google.
* </pre>
*
* <code>optional .com.google.openrtb.BidRequest.Publisher publisher = 11;</code>
*/
@java.lang.Override
public com.particles.mes.protos.openrtb.BidRequest.Publisher getPublisher() {
return instance.getPublisher();
}
/**
* <pre>
* Details about the Publisher (Section 3.2.8) of the app.
* Supported by Google.
* </pre>
*
* <code>optional .com.google.openrtb.BidRequest.Publisher publisher = 11;</code>
*/
public Builder setPublisher(com.particles.mes.protos.openrtb.BidRequest.Publisher value) {
copyOnWrite();
instance.setPublisher(value);
return this;
}
/**
* <pre>
* Details about the Publisher (Section 3.2.8) of the app.
* Supported by Google.
* </pre>
*
* <code>optional .com.google.openrtb.BidRequest.Publisher publisher = 11;</code>
*/
public Builder setPublisher(
com.particles.mes.protos.openrtb.BidRequest.Publisher.Builder builderForValue) {
copyOnWrite();
instance.setPublisher(builderForValue.build());
return this;
}
/**
* <pre>
* Details about the Publisher (Section 3.2.8) of the app.
* Supported by Google.
* </pre>
*
* <code>optional .com.google.openrtb.BidRequest.Publisher publisher = 11;</code>
*/
public Builder mergePublisher(com.particles.mes.protos.openrtb.BidRequest.Publisher value) {
copyOnWrite();
instance.mergePublisher(value);
return this;
}
/**
* <pre>
* Details about the Publisher (Section 3.2.8) of the app.
* Supported by Google.
* </pre>
*
* <code>optional .com.google.openrtb.BidRequest.Publisher publisher = 11;</code>
*/
public Builder clearPublisher() { copyOnWrite();
instance.clearPublisher();
return this;
}
/**
* <pre>
* Details about the Content (Section 3.2.9) within the app.
* Supported by Google.
* </pre>
*
* <code>optional .com.google.openrtb.BidRequest.Content content = 12;</code>
*/
@java.lang.Override
public boolean hasContent() {
return instance.hasContent();
}
/**
* <pre>
* Details about the Content (Section 3.2.9) within the app.
* Supported by Google.
* </pre>
*
* <code>optional .com.google.openrtb.BidRequest.Content content = 12;</code>
*/
@java.lang.Override
public com.particles.mes.protos.openrtb.BidRequest.Content getContent() {
return instance.getContent();
}
/**
* <pre>
* Details about the Content (Section 3.2.9) within the app.
* Supported by Google.
* </pre>
*
* <code>optional .com.google.openrtb.BidRequest.Content content = 12;</code>
*/
public Builder setContent(com.particles.mes.protos.openrtb.BidRequest.Content value) {
copyOnWrite();
instance.setContent(value);
return this;
}
/**
* <pre>
* Details about the Content (Section 3.2.9) within the app.
* Supported by Google.
* </pre>
*
* <code>optional .com.google.openrtb.BidRequest.Content content = 12;</code>
*/
public Builder setContent(
com.particles.mes.protos.openrtb.BidRequest.Content.Builder builderForValue) {
copyOnWrite();
instance.setContent(builderForValue.build());
return this;
}
/**
* <pre>
* Details about the Content (Section 3.2.9) within the app.
* Supported by Google.
* </pre>
*
* <code>optional .com.google.openrtb.BidRequest.Content content = 12;</code>
*/
public Builder mergeContent(com.particles.mes.protos.openrtb.BidRequest.Content value) {
copyOnWrite();
instance.mergeContent(value);
return this;
}
/**
* <pre>
* Details about the Content (Section 3.2.9) within the app.
* Supported by Google.
* </pre>
*
* <code>optional .com.google.openrtb.BidRequest.Content content = 12;</code>
*/
public Builder clearContent() { copyOnWrite();
instance.clearContent();
return this;
}
/**
* <pre>
* Comma separated list of keywords about the app.
* Not supported by Google.
* </pre>
*
* <code>optional string keywords = 13;</code>
* @return Whether the keywords field is set.
*/
@java.lang.Override
public boolean hasKeywords() {
return instance.hasKeywords();
}
/**
* <pre>
* Comma separated list of keywords about the app.
* Not supported by Google.
* </pre>
*
* <code>optional string keywords = 13;</code>
* @return The keywords.
*/
@java.lang.Override
public java.lang.String getKeywords() {
return instance.getKeywords();
}
/**
* <pre>
* Comma separated list of keywords about the app.
* Not supported by Google.
* </pre>
*
* <code>optional string keywords = 13;</code>
* @return The bytes for keywords.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getKeywordsBytes() {
return instance.getKeywordsBytes();
}
/**
* <pre>
* Comma separated list of keywords about the app.
* Not supported by Google.
* </pre>
*
* <code>optional string keywords = 13;</code>
* @param value The keywords to set.
* @return This builder for chaining.
*/
public Builder setKeywords(
java.lang.String value) {
copyOnWrite();
instance.setKeywords(value);
return this;
}
/**
* <pre>
* Comma separated list of keywords about the app.
* Not supported by Google.
* </pre>
*
* <code>optional string keywords = 13;</code>
* @return This builder for chaining.
*/
public Builder clearKeywords() {
copyOnWrite();
instance.clearKeywords();
return this;
}
/**
* <pre>
* Comma separated list of keywords about the app.
* Not supported by Google.
* </pre>
*
* <code>optional string keywords = 13;</code>
* @param value The bytes for keywords to set.
* @return This builder for chaining.
*/
public Builder setKeywordsBytes(
com.google.protobuf.ByteString value) {
copyOnWrite();
instance.setKeywordsBytes(value);
return this;
}
/**
* <pre>
* App store URL for an installed app; for QAG 1.5 compliance.
* Supported by Google.
* </pre>
*
* <code>optional string storeurl = 16;</code>
* @return Whether the storeurl field is set.
*/
@java.lang.Override
public boolean hasStoreurl() {
return instance.hasStoreurl();
}
/**
* <pre>
* App store URL for an installed app; for QAG 1.5 compliance.
* Supported by Google.
* </pre>
*
* <code>optional string storeurl = 16;</code>
* @return The storeurl.
*/
@java.lang.Override
public java.lang.String getStoreurl() {
return instance.getStoreurl();
}
/**
* <pre>
* App store URL for an installed app; for QAG 1.5 compliance.
* Supported by Google.
* </pre>
*
* <code>optional string storeurl = 16;</code>
* @return The bytes for storeurl.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getStoreurlBytes() {
return instance.getStoreurlBytes();
}
/**
* <pre>
* App store URL for an installed app; for QAG 1.5 compliance.
* Supported by Google.
* </pre>
*
* <code>optional string storeurl = 16;</code>
* @param value The storeurl to set.
* @return This builder for chaining.
*/
public Builder setStoreurl(
java.lang.String value) {
copyOnWrite();
instance.setStoreurl(value);
return this;
}
/**
* <pre>
* App store URL for an installed app; for QAG 1.5 compliance.
* Supported by Google.
* </pre>
*
* <code>optional string storeurl = 16;</code>
* @return This builder for chaining.
*/
public Builder clearStoreurl() {
copyOnWrite();
instance.clearStoreurl();
return this;
}
/**
* <pre>
* App store URL for an installed app; for QAG 1.5 compliance.
* Supported by Google.
* </pre>
*
* <code>optional string storeurl = 16;</code>
* @param value The bytes for storeurl to set.
* @return This builder for chaining.
*/
public Builder setStoreurlBytes(
com.google.protobuf.ByteString value) {
copyOnWrite();
instance.setStoreurlBytes(value);
return this;
}
/**
* <code>optional string ext = 90;</code>
* @return Whether the ext field is set.
*/
@java.lang.Override
public boolean hasExt() {
return instance.hasExt();
}
/**
* <code>optional string ext = 90;</code>
* @return The ext.
*/
@java.lang.Override
public java.lang.String getExt() {
return instance.getExt();
}
/**
* <code>optional string ext = 90;</code>
* @return The bytes for ext.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getExtBytes() {
return instance.getExtBytes();
}
/**
* <code>optional string ext = 90;</code>
* @param value The ext to set.
* @return This builder for chaining.
*/
public Builder setExt(
java.lang.String value) {
copyOnWrite();
instance.setExt(value);
return this;
}
/**
* <code>optional string ext = 90;</code>
* @return This builder for chaining.
*/
public Builder clearExt() {
copyOnWrite();
instance.clearExt();
return this;
}
/**
* <code>optional string ext = 90;</code>
* @param value The bytes for ext to set.
* @return This builder for chaining.
*/
public Builder setExtBytes(
com.google.protobuf.ByteString value) {
copyOnWrite();
instance.setExtBytes(value);
return this;
}
// @@protoc_insertion_point(builder_scope:com.google.openrtb.BidRequest.App)
}
private byte memoizedIsInitialized = 2;
@java.lang.Override
@java.lang.SuppressWarnings({"unchecked", "fallthrough"})
protected final java.lang.Object dynamicMethod(
com.google.protobuf.GeneratedMessageLite.MethodToInvoke method,
java.lang.Object arg0, java.lang.Object arg1) {
switch (method) {
case NEW_MUTABLE_INSTANCE: {
return new com.particles.mes.protos.openrtb.BidRequest.App();
}
case NEW_BUILDER: {
return new Builder();
}
case BUILD_MESSAGE_INFO: {
java.lang.Object[] objects = new java.lang.Object[] {
"bitField0_",
"id_",
"name_",
"domain_",
"cat_",
"sectioncat_",
"pagecat_",
"ver_",
"bundle_",
"privacypolicy_",
"paid_",
"publisher_",
"content_",
"keywords_",
"storeurl_",
"cattax_",
com.particles.mes.protos.openrtb.CategoryTaxonomy.internalGetVerifier(),
"ext_",
};
java.lang.String info =
"\u0001\u0010\u0000\u0001\u0001Z\u0010\u0000\u0003\u0002\u0001\u1008\u0000\u0002\u1008" +
"\u0001\u0003\u1008\u0002\u0004\u001a\u0005\u001a\u0006\u001a\u0007\u1008\u0004\b" +
"\u1008\u0005\t\u1007\u0006\n\u1007\u0007\u000b\u1409\b\f\u1409\t\r\u1008\n\u0010" +
"\u1008\u000b\u0011\u100c\u0003Z\u1008\f";
return newMessageInfo(DEFAULT_INSTANCE, info, objects);
}
// fall through
case GET_DEFAULT_INSTANCE: {
return DEFAULT_INSTANCE;
}
case GET_PARSER: {
com.google.protobuf.Parser<com.particles.mes.protos.openrtb.BidRequest.App> parser = PARSER;
if (parser == null) {
synchronized (com.particles.mes.protos.openrtb.BidRequest.App.class) {
parser = PARSER;
if (parser == null) {
parser =
new DefaultInstanceBasedParser<com.particles.mes.protos.openrtb.BidRequest.App>(
DEFAULT_INSTANCE);
PARSER = parser;
}
}
}
return parser;
}
case GET_MEMOIZED_IS_INITIALIZED: {
return memoizedIsInitialized;
}
case SET_MEMOIZED_IS_INITIALIZED: {
memoizedIsInitialized = (byte) (arg0 == null ? 0 : 1);
return null;
}
}
throw new UnsupportedOperationException();
}
// @@protoc_insertion_point(class_scope:com.google.openrtb.BidRequest.App)
private static final com.particles.mes.protos.openrtb.BidRequest.App DEFAULT_INSTANCE;
static {
App defaultInstance = new App();
// New instances are implicitly immutable so no need to make
// immutable.
DEFAULT_INSTANCE = defaultInstance;
com.google.protobuf.GeneratedMessageLite.registerDefaultInstance(
App.class, defaultInstance);
}
public static com.particles.mes.protos.openrtb.BidRequest.App getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static volatile com.google.protobuf.Parser<App> PARSER;
public static com.google.protobuf.Parser<App> parser() {
return DEFAULT_INSTANCE.getParserForType();
}
}
public interface GeoOrBuilder extends
// @@protoc_insertion_point(interface_extends:com.google.openrtb.BidRequest.Geo)
com.google.protobuf.GeneratedMessageLite.
ExtendableMessageOrBuilder<
Geo, Geo.Builder> {
/**
* <pre>
* Approximate latitude from -90.0 to +90.0, where negative is south.
* Supported by Google.
* </pre>
*
* <code>optional double lat = 1;</code>
* @return Whether the lat field is set.
*/
boolean hasLat();
/**
* <pre>
* Approximate latitude from -90.0 to +90.0, where negative is south.
* Supported by Google.
* </pre>
*
* <code>optional double lat = 1;</code>
* @return The lat.
*/
double getLat();
/**
* <pre>
* Approximate longitude from -180.0 to +180.0, where negative is west.
* Supported by Google.
* </pre>
*
* <code>optional double lon = 2;</code>
* @return Whether the lon field is set.
*/
boolean hasLon();
/**
* <pre>
* Approximate longitude from -180.0 to +180.0, where negative is west.
* Supported by Google.
* </pre>
*
* <code>optional double lon = 2;</code>
* @return The lon.
*/
double getLon();
/**
* <pre>
* Country using ISO-3166-1 Alpha-3.
* Supported by Google.
* </pre>
*
* <code>optional string country = 3;</code>
* @return Whether the country field is set.
*/
boolean hasCountry();
/**
* <pre>
* Country using ISO-3166-1 Alpha-3.
* Supported by Google.
* </pre>
*
* <code>optional string country = 3;</code>
* @return The country.
*/
java.lang.String getCountry();
/**
* <pre>
* Country using ISO-3166-1 Alpha-3.
* Supported by Google.
* </pre>
*
* <code>optional string country = 3;</code>
* @return The bytes for country.
*/
com.google.protobuf.ByteString
getCountryBytes();
/**
* <pre>
* Region code using ISO-3166-2; 2-letter state code if USA.
* Supported by Google.
* </pre>
*
* <code>optional string region = 4;</code>
* @return Whether the region field is set.
*/
boolean hasRegion();
/**
* <pre>
* Region code using ISO-3166-2; 2-letter state code if USA.
* Supported by Google.
* </pre>
*
* <code>optional string region = 4;</code>
* @return The region.
*/
java.lang.String getRegion();
/**
* <pre>
* Region code using ISO-3166-2; 2-letter state code if USA.
* Supported by Google.
* </pre>
*
* <code>optional string region = 4;</code>
* @return The bytes for region.
*/
com.google.protobuf.ByteString
getRegionBytes();
/**
* <pre>
* Region of a country using FIPS 10-4 notation. While OpenRTB supports
* this attribute, it has been withdrawn by NIST in 2008.
* Not supported by Google.
* </pre>
*
* <code>optional string regionfips104 = 5;</code>
* @return Whether the regionfips104 field is set.
*/
boolean hasRegionfips104();
/**
* <pre>
* Region of a country using FIPS 10-4 notation. While OpenRTB supports
* this attribute, it has been withdrawn by NIST in 2008.
* Not supported by Google.
* </pre>
*
* <code>optional string regionfips104 = 5;</code>
* @return The regionfips104.
*/
java.lang.String getRegionfips104();
/**
* <pre>
* Region of a country using FIPS 10-4 notation. While OpenRTB supports
* this attribute, it has been withdrawn by NIST in 2008.
* Not supported by Google.
* </pre>
*
* <code>optional string regionfips104 = 5;</code>
* @return The bytes for regionfips104.
*/
com.google.protobuf.ByteString
getRegionfips104Bytes();
/**
* <pre>
* Google metro code; similar to but not exactly Nielsen DMAs.
* See Appendix A for a link to the codes.
* (http://code.google.com/apis/adwords/docs/appendix/metrocodes.html).
* Supported by Google.
* </pre>
*
* <code>optional string metro = 6;</code>
* @return Whether the metro field is set.
*/
boolean hasMetro();
/**
* <pre>
* Google metro code; similar to but not exactly Nielsen DMAs.
* See Appendix A for a link to the codes.
* (http://code.google.com/apis/adwords/docs/appendix/metrocodes.html).
* Supported by Google.
* </pre>
*
* <code>optional string metro = 6;</code>
* @return The metro.
*/
java.lang.String getMetro();
/**
* <pre>
* Google metro code; similar to but not exactly Nielsen DMAs.
* See Appendix A for a link to the codes.
* (http://code.google.com/apis/adwords/docs/appendix/metrocodes.html).
* Supported by Google.
* </pre>
*
* <code>optional string metro = 6;</code>
* @return The bytes for metro.
*/
com.google.protobuf.ByteString
getMetroBytes();
/**
* <pre>
* City using United Nations Code for Trade & Transport Locations.
* See Appendix A for a link to the codes.
* (http://www.unece.org/cefact/locode/service/location.htm).
* Supported by Google.
* </pre>
*
* <code>optional string city = 7;</code>
* @return Whether the city field is set.
*/
boolean hasCity();
/**
* <pre>
* City using United Nations Code for Trade & Transport Locations.
* See Appendix A for a link to the codes.
* (http://www.unece.org/cefact/locode/service/location.htm).
* Supported by Google.
* </pre>
*
* <code>optional string city = 7;</code>
* @return The city.
*/
java.lang.String getCity();
/**
* <pre>
* City using United Nations Code for Trade & Transport Locations.
* See Appendix A for a link to the codes.
* (http://www.unece.org/cefact/locode/service/location.htm).
* Supported by Google.
* </pre>
*
* <code>optional string city = 7;</code>
* @return The bytes for city.
*/
com.google.protobuf.ByteString
getCityBytes();
/**
* <pre>
* Zip/postal code.
* Supported by Google.
* </pre>
*
* <code>optional string zip = 8;</code>
* @return Whether the zip field is set.
*/
boolean hasZip();
/**
* <pre>
* Zip/postal code.
* Supported by Google.
* </pre>
*
* <code>optional string zip = 8;</code>
* @return The zip.
*/
java.lang.String getZip();
/**
* <pre>
* Zip/postal code.
* Supported by Google.
* </pre>
*
* <code>optional string zip = 8;</code>
* @return The bytes for zip.
*/
com.google.protobuf.ByteString
getZipBytes();
/**
* <pre>
* Source of location data; recommended when passing lat/lon.
* Supported by Google.
* </pre>
*
* <code>optional .com.google.openrtb.LocationType type = 9;</code>
* @return Whether the type field is set.
*/
boolean hasType();
/**
* <pre>
* Source of location data; recommended when passing lat/lon.
* Supported by Google.
* </pre>
*
* <code>optional .com.google.openrtb.LocationType type = 9;</code>
* @return The type.
*/
com.particles.mes.protos.openrtb.LocationType getType();
/**
* <pre>
* Estimated location accuracy in meters; recommended when lat/lon are
* specified and derived from a device's location services (for example,
* type = 1). Note that this is the accuracy as reported from the device.
* Consult OS specific documentation (for example, Android, iOS) for exact
* interpretation.
* Google: The radius in meters of a circle approximating the location of a
* device, where the center point is defined by lat/lon. This field is
* populated based on coarse IP-based geolocation.
* Supported by Google.
* </pre>
*
* <code>optional int32 accuracy = 11;</code>
* @return Whether the accuracy field is set.
*/
boolean hasAccuracy();
/**
* <pre>
* Estimated location accuracy in meters; recommended when lat/lon are
* specified and derived from a device's location services (for example,
* type = 1). Note that this is the accuracy as reported from the device.
* Consult OS specific documentation (for example, Android, iOS) for exact
* interpretation.
* Google: The radius in meters of a circle approximating the location of a
* device, where the center point is defined by lat/lon. This field is
* populated based on coarse IP-based geolocation.
* Supported by Google.
* </pre>
*
* <code>optional int32 accuracy = 11;</code>
* @return The accuracy.
*/
int getAccuracy();
/**
* <pre>
* Number of seconds since this geolocation fix was established.
* Note that devices may cache location data across multiple fetches.
* Ideally, this value should be from the time the actual fix was taken.
* Not supported by Google.
* </pre>
*
* <code>optional int32 lastfix = 12;</code>
* @return Whether the lastfix field is set.
*/
boolean hasLastfix();
/**
* <pre>
* Number of seconds since this geolocation fix was established.
* Note that devices may cache location data across multiple fetches.
* Ideally, this value should be from the time the actual fix was taken.
* Not supported by Google.
* </pre>
*
* <code>optional int32 lastfix = 12;</code>
* @return The lastfix.
*/
int getLastfix();
/**
* <pre>
* Service or provider used to determine geolocation from IP
* address if applicable (for example, type = 2).
* Not supported by Google.
* </pre>
*
* <code>optional .com.google.openrtb.LocationService ipservice = 13;</code>
* @return Whether the ipservice field is set.
*/
boolean hasIpservice();
/**
* <pre>
* Service or provider used to determine geolocation from IP
* address if applicable (for example, type = 2).
* Not supported by Google.
* </pre>
*
* <code>optional .com.google.openrtb.LocationService ipservice = 13;</code>
* @return The ipservice.
*/
com.particles.mes.protos.openrtb.LocationService getIpservice();
/**
* <pre>
* Local time as the number +/- of minutes from UTC.
* Supported by Google.
* </pre>
*
* <code>optional int32 utcoffset = 10;</code>
* @return Whether the utcoffset field is set.
*/
boolean hasUtcoffset();
/**
* <pre>
* Local time as the number +/- of minutes from UTC.
* Supported by Google.
* </pre>
*
* <code>optional int32 utcoffset = 10;</code>
* @return The utcoffset.
*/
int getUtcoffset();
}
/**
* <pre>
* OpenRTB 2.0: This object encapsulates various methods for specifying a
* geographic location. When subordinate to a Device object, it indicates the
* location of the device which can also be interpreted as the user's current
* location. When subordinate to a User object, it indicates the location of
* the user's home base (for example, not necessarily their current location).
* Google: In Google's implementation of OpenRTB, coarse geolocation
* information is approximated based on the IP address of the device the ad
* request originated from. This information will typically–but not always–be
* included in the bid request with lat/lon representing the center point of
* a circle, where accuracy is its radius. To learn more about geolocation,
* see the geotargeting guide:
* https://developers.google.com/authorized-buyers/rtb/geotargeting.
* </pre>
*
* Protobuf type {@code com.google.openrtb.BidRequest.Geo}
*/
public static final class Geo extends
com.google.protobuf.GeneratedMessageLite.ExtendableMessage<
Geo, Geo.Builder> implements
// @@protoc_insertion_point(message_implements:com.google.openrtb.BidRequest.Geo)
GeoOrBuilder {
private Geo() {
country_ = "";
region_ = "";
regionfips104_ = "";
metro_ = "";
city_ = "";
zip_ = "";
type_ = 1;
ipservice_ = 1;
}
private int bitField0_;
public static final int LAT_FIELD_NUMBER = 1;
private double lat_;
/**
* <pre>
* Approximate latitude from -90.0 to +90.0, where negative is south.
* Supported by Google.
* </pre>
*
* <code>optional double lat = 1;</code>
* @return Whether the lat field is set.
*/
@java.lang.Override
public boolean hasLat() {
return ((bitField0_ & 0x00000001) != 0);
}
/**
* <pre>
* Approximate latitude from -90.0 to +90.0, where negative is south.
* Supported by Google.
* </pre>
*
* <code>optional double lat = 1;</code>
* @return The lat.
*/
@java.lang.Override
public double getLat() {
return lat_;
}
/**
* <pre>
* Approximate latitude from -90.0 to +90.0, where negative is south.
* Supported by Google.
* </pre>
*
* <code>optional double lat = 1;</code>
* @param value The lat to set.
*/
private void setLat(double value) {
bitField0_ |= 0x00000001;
lat_ = value;
}
/**
* <pre>
* Approximate latitude from -90.0 to +90.0, where negative is south.
* Supported by Google.
* </pre>
*
* <code>optional double lat = 1;</code>
*/
private void clearLat() {
bitField0_ = (bitField0_ & ~0x00000001);
lat_ = 0D;
}
public static final int LON_FIELD_NUMBER = 2;
private double lon_;
/**
* <pre>
* Approximate longitude from -180.0 to +180.0, where negative is west.
* Supported by Google.
* </pre>
*
* <code>optional double lon = 2;</code>
* @return Whether the lon field is set.
*/
@java.lang.Override
public boolean hasLon() {
return ((bitField0_ & 0x00000002) != 0);
}
/**
* <pre>
* Approximate longitude from -180.0 to +180.0, where negative is west.
* Supported by Google.
* </pre>
*
* <code>optional double lon = 2;</code>
* @return The lon.
*/
@java.lang.Override
public double getLon() {
return lon_;
}
/**
* <pre>
* Approximate longitude from -180.0 to +180.0, where negative is west.
* Supported by Google.
* </pre>
*
* <code>optional double lon = 2;</code>
* @param value The lon to set.
*/
private void setLon(double value) {
bitField0_ |= 0x00000002;
lon_ = value;
}
/**
* <pre>
* Approximate longitude from -180.0 to +180.0, where negative is west.
* Supported by Google.
* </pre>
*
* <code>optional double lon = 2;</code>
*/
private void clearLon() {
bitField0_ = (bitField0_ & ~0x00000002);
lon_ = 0D;
}
public static final int COUNTRY_FIELD_NUMBER = 3;
private java.lang.String country_;
/**
* <pre>
* Country using ISO-3166-1 Alpha-3.
* Supported by Google.
* </pre>
*
* <code>optional string country = 3;</code>
* @return Whether the country field is set.
*/
@java.lang.Override
public boolean hasCountry() {
return ((bitField0_ & 0x00000004) != 0);
}
/**
* <pre>
* Country using ISO-3166-1 Alpha-3.
* Supported by Google.
* </pre>
*
* <code>optional string country = 3;</code>
* @return The country.
*/
@java.lang.Override
public java.lang.String getCountry() {
return country_;
}
/**
* <pre>
* Country using ISO-3166-1 Alpha-3.
* Supported by Google.
* </pre>
*
* <code>optional string country = 3;</code>
* @return The bytes for country.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getCountryBytes() {
return com.google.protobuf.ByteString.copyFromUtf8(country_);
}
/**
* <pre>
* Country using ISO-3166-1 Alpha-3.
* Supported by Google.
* </pre>
*
* <code>optional string country = 3;</code>
* @param value The country to set.
*/
private void setCountry(
java.lang.String value) {
java.lang.Class<?> valueClass = value.getClass();
bitField0_ |= 0x00000004;
country_ = value;
}
/**
* <pre>
* Country using ISO-3166-1 Alpha-3.
* Supported by Google.
* </pre>
*
* <code>optional string country = 3;</code>
*/
private void clearCountry() {
bitField0_ = (bitField0_ & ~0x00000004);
country_ = getDefaultInstance().getCountry();
}
/**
* <pre>
* Country using ISO-3166-1 Alpha-3.
* Supported by Google.
* </pre>
*
* <code>optional string country = 3;</code>
* @param value The bytes for country to set.
*/
private void setCountryBytes(
com.google.protobuf.ByteString value) {
country_ = value.toStringUtf8();
bitField0_ |= 0x00000004;
}
public static final int REGION_FIELD_NUMBER = 4;
private java.lang.String region_;
/**
* <pre>
* Region code using ISO-3166-2; 2-letter state code if USA.
* Supported by Google.
* </pre>
*
* <code>optional string region = 4;</code>
* @return Whether the region field is set.
*/
@java.lang.Override
public boolean hasRegion() {
return ((bitField0_ & 0x00000008) != 0);
}
/**
* <pre>
* Region code using ISO-3166-2; 2-letter state code if USA.
* Supported by Google.
* </pre>
*
* <code>optional string region = 4;</code>
* @return The region.
*/
@java.lang.Override
public java.lang.String getRegion() {
return region_;
}
/**
* <pre>
* Region code using ISO-3166-2; 2-letter state code if USA.
* Supported by Google.
* </pre>
*
* <code>optional string region = 4;</code>
* @return The bytes for region.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getRegionBytes() {
return com.google.protobuf.ByteString.copyFromUtf8(region_);
}
/**
* <pre>
* Region code using ISO-3166-2; 2-letter state code if USA.
* Supported by Google.
* </pre>
*
* <code>optional string region = 4;</code>
* @param value The region to set.
*/
private void setRegion(
java.lang.String value) {
java.lang.Class<?> valueClass = value.getClass();
bitField0_ |= 0x00000008;
region_ = value;
}
/**
* <pre>
* Region code using ISO-3166-2; 2-letter state code if USA.
* Supported by Google.
* </pre>
*
* <code>optional string region = 4;</code>
*/
private void clearRegion() {
bitField0_ = (bitField0_ & ~0x00000008);
region_ = getDefaultInstance().getRegion();
}
/**
* <pre>
* Region code using ISO-3166-2; 2-letter state code if USA.
* Supported by Google.
* </pre>
*
* <code>optional string region = 4;</code>
* @param value The bytes for region to set.
*/
private void setRegionBytes(
com.google.protobuf.ByteString value) {
region_ = value.toStringUtf8();
bitField0_ |= 0x00000008;
}
public static final int REGIONFIPS104_FIELD_NUMBER = 5;
private java.lang.String regionfips104_;
/**
* <pre>
* Region of a country using FIPS 10-4 notation. While OpenRTB supports
* this attribute, it has been withdrawn by NIST in 2008.
* Not supported by Google.
* </pre>
*
* <code>optional string regionfips104 = 5;</code>
* @return Whether the regionfips104 field is set.
*/
@java.lang.Override
public boolean hasRegionfips104() {
return ((bitField0_ & 0x00000010) != 0);
}
/**
* <pre>
* Region of a country using FIPS 10-4 notation. While OpenRTB supports
* this attribute, it has been withdrawn by NIST in 2008.
* Not supported by Google.
* </pre>
*
* <code>optional string regionfips104 = 5;</code>
* @return The regionfips104.
*/
@java.lang.Override
public java.lang.String getRegionfips104() {
return regionfips104_;
}
/**
* <pre>
* Region of a country using FIPS 10-4 notation. While OpenRTB supports
* this attribute, it has been withdrawn by NIST in 2008.
* Not supported by Google.
* </pre>
*
* <code>optional string regionfips104 = 5;</code>
* @return The bytes for regionfips104.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getRegionfips104Bytes() {
return com.google.protobuf.ByteString.copyFromUtf8(regionfips104_);
}
/**
* <pre>
* Region of a country using FIPS 10-4 notation. While OpenRTB supports
* this attribute, it has been withdrawn by NIST in 2008.
* Not supported by Google.
* </pre>
*
* <code>optional string regionfips104 = 5;</code>
* @param value The regionfips104 to set.
*/
private void setRegionfips104(
java.lang.String value) {
java.lang.Class<?> valueClass = value.getClass();
bitField0_ |= 0x00000010;
regionfips104_ = value;
}
/**
* <pre>
* Region of a country using FIPS 10-4 notation. While OpenRTB supports
* this attribute, it has been withdrawn by NIST in 2008.
* Not supported by Google.
* </pre>
*
* <code>optional string regionfips104 = 5;</code>
*/
private void clearRegionfips104() {
bitField0_ = (bitField0_ & ~0x00000010);
regionfips104_ = getDefaultInstance().getRegionfips104();
}
/**
* <pre>
* Region of a country using FIPS 10-4 notation. While OpenRTB supports
* this attribute, it has been withdrawn by NIST in 2008.
* Not supported by Google.
* </pre>
*
* <code>optional string regionfips104 = 5;</code>
* @param value The bytes for regionfips104 to set.
*/
private void setRegionfips104Bytes(
com.google.protobuf.ByteString value) {
regionfips104_ = value.toStringUtf8();
bitField0_ |= 0x00000010;
}
public static final int METRO_FIELD_NUMBER = 6;
private java.lang.String metro_;
/**
* <pre>
* Google metro code; similar to but not exactly Nielsen DMAs.
* See Appendix A for a link to the codes.
* (http://code.google.com/apis/adwords/docs/appendix/metrocodes.html).
* Supported by Google.
* </pre>
*
* <code>optional string metro = 6;</code>
* @return Whether the metro field is set.
*/
@java.lang.Override
public boolean hasMetro() {
return ((bitField0_ & 0x00000020) != 0);
}
/**
* <pre>
* Google metro code; similar to but not exactly Nielsen DMAs.
* See Appendix A for a link to the codes.
* (http://code.google.com/apis/adwords/docs/appendix/metrocodes.html).
* Supported by Google.
* </pre>
*
* <code>optional string metro = 6;</code>
* @return The metro.
*/
@java.lang.Override
public java.lang.String getMetro() {
return metro_;
}
/**
* <pre>
* Google metro code; similar to but not exactly Nielsen DMAs.
* See Appendix A for a link to the codes.
* (http://code.google.com/apis/adwords/docs/appendix/metrocodes.html).
* Supported by Google.
* </pre>
*
* <code>optional string metro = 6;</code>
* @return The bytes for metro.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getMetroBytes() {
return com.google.protobuf.ByteString.copyFromUtf8(metro_);
}
/**
* <pre>
* Google metro code; similar to but not exactly Nielsen DMAs.
* See Appendix A for a link to the codes.
* (http://code.google.com/apis/adwords/docs/appendix/metrocodes.html).
* Supported by Google.
* </pre>
*
* <code>optional string metro = 6;</code>
* @param value The metro to set.
*/
private void setMetro(
java.lang.String value) {
java.lang.Class<?> valueClass = value.getClass();
bitField0_ |= 0x00000020;
metro_ = value;
}
/**
* <pre>
* Google metro code; similar to but not exactly Nielsen DMAs.
* See Appendix A for a link to the codes.
* (http://code.google.com/apis/adwords/docs/appendix/metrocodes.html).
* Supported by Google.
* </pre>
*
* <code>optional string metro = 6;</code>
*/
private void clearMetro() {
bitField0_ = (bitField0_ & ~0x00000020);
metro_ = getDefaultInstance().getMetro();
}
/**
* <pre>
* Google metro code; similar to but not exactly Nielsen DMAs.
* See Appendix A for a link to the codes.
* (http://code.google.com/apis/adwords/docs/appendix/metrocodes.html).
* Supported by Google.
* </pre>
*
* <code>optional string metro = 6;</code>
* @param value The bytes for metro to set.
*/
private void setMetroBytes(
com.google.protobuf.ByteString value) {
metro_ = value.toStringUtf8();
bitField0_ |= 0x00000020;
}
public static final int CITY_FIELD_NUMBER = 7;
private java.lang.String city_;
/**
* <pre>
* City using United Nations Code for Trade & Transport Locations.
* See Appendix A for a link to the codes.
* (http://www.unece.org/cefact/locode/service/location.htm).
* Supported by Google.
* </pre>
*
* <code>optional string city = 7;</code>
* @return Whether the city field is set.
*/
@java.lang.Override
public boolean hasCity() {
return ((bitField0_ & 0x00000040) != 0);
}
/**
* <pre>
* City using United Nations Code for Trade & Transport Locations.
* See Appendix A for a link to the codes.
* (http://www.unece.org/cefact/locode/service/location.htm).
* Supported by Google.
* </pre>
*
* <code>optional string city = 7;</code>
* @return The city.
*/
@java.lang.Override
public java.lang.String getCity() {
return city_;
}
/**
* <pre>
* City using United Nations Code for Trade & Transport Locations.
* See Appendix A for a link to the codes.
* (http://www.unece.org/cefact/locode/service/location.htm).
* Supported by Google.
* </pre>
*
* <code>optional string city = 7;</code>
* @return The bytes for city.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getCityBytes() {
return com.google.protobuf.ByteString.copyFromUtf8(city_);
}
/**
* <pre>
* City using United Nations Code for Trade & Transport Locations.
* See Appendix A for a link to the codes.
* (http://www.unece.org/cefact/locode/service/location.htm).
* Supported by Google.
* </pre>
*
* <code>optional string city = 7;</code>
* @param value The city to set.
*/
private void setCity(
java.lang.String value) {
java.lang.Class<?> valueClass = value.getClass();
bitField0_ |= 0x00000040;
city_ = value;
}
/**
* <pre>
* City using United Nations Code for Trade & Transport Locations.
* See Appendix A for a link to the codes.
* (http://www.unece.org/cefact/locode/service/location.htm).
* Supported by Google.
* </pre>
*
* <code>optional string city = 7;</code>
*/
private void clearCity() {
bitField0_ = (bitField0_ & ~0x00000040);
city_ = getDefaultInstance().getCity();
}
/**
* <pre>
* City using United Nations Code for Trade & Transport Locations.
* See Appendix A for a link to the codes.
* (http://www.unece.org/cefact/locode/service/location.htm).
* Supported by Google.
* </pre>
*
* <code>optional string city = 7;</code>
* @param value The bytes for city to set.
*/
private void setCityBytes(
com.google.protobuf.ByteString value) {
city_ = value.toStringUtf8();
bitField0_ |= 0x00000040;
}
public static final int ZIP_FIELD_NUMBER = 8;
private java.lang.String zip_;
/**
* <pre>
* Zip/postal code.
* Supported by Google.
* </pre>
*
* <code>optional string zip = 8;</code>
* @return Whether the zip field is set.
*/
@java.lang.Override
public boolean hasZip() {
return ((bitField0_ & 0x00000080) != 0);
}
/**
* <pre>
* Zip/postal code.
* Supported by Google.
* </pre>
*
* <code>optional string zip = 8;</code>
* @return The zip.
*/
@java.lang.Override
public java.lang.String getZip() {
return zip_;
}
/**
* <pre>
* Zip/postal code.
* Supported by Google.
* </pre>
*
* <code>optional string zip = 8;</code>
* @return The bytes for zip.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getZipBytes() {
return com.google.protobuf.ByteString.copyFromUtf8(zip_);
}
/**
* <pre>
* Zip/postal code.
* Supported by Google.
* </pre>
*
* <code>optional string zip = 8;</code>
* @param value The zip to set.
*/
private void setZip(
java.lang.String value) {
java.lang.Class<?> valueClass = value.getClass();
bitField0_ |= 0x00000080;
zip_ = value;
}
/**
* <pre>
* Zip/postal code.
* Supported by Google.
* </pre>
*
* <code>optional string zip = 8;</code>
*/
private void clearZip() {
bitField0_ = (bitField0_ & ~0x00000080);
zip_ = getDefaultInstance().getZip();
}
/**
* <pre>
* Zip/postal code.
* Supported by Google.
* </pre>
*
* <code>optional string zip = 8;</code>
* @param value The bytes for zip to set.
*/
private void setZipBytes(
com.google.protobuf.ByteString value) {
zip_ = value.toStringUtf8();
bitField0_ |= 0x00000080;
}
public static final int TYPE_FIELD_NUMBER = 9;
private int type_;
/**
* <pre>
* Source of location data; recommended when passing lat/lon.
* Supported by Google.
* </pre>
*
* <code>optional .com.google.openrtb.LocationType type = 9;</code>
* @return Whether the type field is set.
*/
@java.lang.Override
public boolean hasType() {
return ((bitField0_ & 0x00000100) != 0);
}
/**
* <pre>
* Source of location data; recommended when passing lat/lon.
* Supported by Google.
* </pre>
*
* <code>optional .com.google.openrtb.LocationType type = 9;</code>
* @return The type.
*/
@java.lang.Override
public com.particles.mes.protos.openrtb.LocationType getType() {
com.particles.mes.protos.openrtb.LocationType result = com.particles.mes.protos.openrtb.LocationType.forNumber(type_);
return result == null ? com.particles.mes.protos.openrtb.LocationType.GPS_LOCATION : result;
}
/**
* <pre>
* Source of location data; recommended when passing lat/lon.
* Supported by Google.
* </pre>
*
* <code>optional .com.google.openrtb.LocationType type = 9;</code>
* @param value The type to set.
*/
private void setType(com.particles.mes.protos.openrtb.LocationType value) {
type_ = value.getNumber();
bitField0_ |= 0x00000100;
}
/**
* <pre>
* Source of location data; recommended when passing lat/lon.
* Supported by Google.
* </pre>
*
* <code>optional .com.google.openrtb.LocationType type = 9;</code>
*/
private void clearType() {
bitField0_ = (bitField0_ & ~0x00000100);
type_ = 1;
}
public static final int ACCURACY_FIELD_NUMBER = 11;
private int accuracy_;
/**
* <pre>
* Estimated location accuracy in meters; recommended when lat/lon are
* specified and derived from a device's location services (for example,
* type = 1). Note that this is the accuracy as reported from the device.
* Consult OS specific documentation (for example, Android, iOS) for exact
* interpretation.
* Google: The radius in meters of a circle approximating the location of a
* device, where the center point is defined by lat/lon. This field is
* populated based on coarse IP-based geolocation.
* Supported by Google.
* </pre>
*
* <code>optional int32 accuracy = 11;</code>
* @return Whether the accuracy field is set.
*/
@java.lang.Override
public boolean hasAccuracy() {
return ((bitField0_ & 0x00000200) != 0);
}
/**
* <pre>
* Estimated location accuracy in meters; recommended when lat/lon are
* specified and derived from a device's location services (for example,
* type = 1). Note that this is the accuracy as reported from the device.
* Consult OS specific documentation (for example, Android, iOS) for exact
* interpretation.
* Google: The radius in meters of a circle approximating the location of a
* device, where the center point is defined by lat/lon. This field is
* populated based on coarse IP-based geolocation.
* Supported by Google.
* </pre>
*
* <code>optional int32 accuracy = 11;</code>
* @return The accuracy.
*/
@java.lang.Override
public int getAccuracy() {
return accuracy_;
}
/**
* <pre>
* Estimated location accuracy in meters; recommended when lat/lon are
* specified and derived from a device's location services (for example,
* type = 1). Note that this is the accuracy as reported from the device.
* Consult OS specific documentation (for example, Android, iOS) for exact
* interpretation.
* Google: The radius in meters of a circle approximating the location of a
* device, where the center point is defined by lat/lon. This field is
* populated based on coarse IP-based geolocation.
* Supported by Google.
* </pre>
*
* <code>optional int32 accuracy = 11;</code>
* @param value The accuracy to set.
*/
private void setAccuracy(int value) {
bitField0_ |= 0x00000200;
accuracy_ = value;
}
/**
* <pre>
* Estimated location accuracy in meters; recommended when lat/lon are
* specified and derived from a device's location services (for example,
* type = 1). Note that this is the accuracy as reported from the device.
* Consult OS specific documentation (for example, Android, iOS) for exact
* interpretation.
* Google: The radius in meters of a circle approximating the location of a
* device, where the center point is defined by lat/lon. This field is
* populated based on coarse IP-based geolocation.
* Supported by Google.
* </pre>
*
* <code>optional int32 accuracy = 11;</code>
*/
private void clearAccuracy() {
bitField0_ = (bitField0_ & ~0x00000200);
accuracy_ = 0;
}
public static final int LASTFIX_FIELD_NUMBER = 12;
private int lastfix_;
/**
* <pre>
* Number of seconds since this geolocation fix was established.
* Note that devices may cache location data across multiple fetches.
* Ideally, this value should be from the time the actual fix was taken.
* Not supported by Google.
* </pre>
*
* <code>optional int32 lastfix = 12;</code>
* @return Whether the lastfix field is set.
*/
@java.lang.Override
public boolean hasLastfix() {
return ((bitField0_ & 0x00000400) != 0);
}
/**
* <pre>
* Number of seconds since this geolocation fix was established.
* Note that devices may cache location data across multiple fetches.
* Ideally, this value should be from the time the actual fix was taken.
* Not supported by Google.
* </pre>
*
* <code>optional int32 lastfix = 12;</code>
* @return The lastfix.
*/
@java.lang.Override
public int getLastfix() {
return lastfix_;
}
/**
* <pre>
* Number of seconds since this geolocation fix was established.
* Note that devices may cache location data across multiple fetches.
* Ideally, this value should be from the time the actual fix was taken.
* Not supported by Google.
* </pre>
*
* <code>optional int32 lastfix = 12;</code>
* @param value The lastfix to set.
*/
private void setLastfix(int value) {
bitField0_ |= 0x00000400;
lastfix_ = value;
}
/**
* <pre>
* Number of seconds since this geolocation fix was established.
* Note that devices may cache location data across multiple fetches.
* Ideally, this value should be from the time the actual fix was taken.
* Not supported by Google.
* </pre>
*
* <code>optional int32 lastfix = 12;</code>
*/
private void clearLastfix() {
bitField0_ = (bitField0_ & ~0x00000400);
lastfix_ = 0;
}
public static final int IPSERVICE_FIELD_NUMBER = 13;
private int ipservice_;
/**
* <pre>
* Service or provider used to determine geolocation from IP
* address if applicable (for example, type = 2).
* Not supported by Google.
* </pre>
*
* <code>optional .com.google.openrtb.LocationService ipservice = 13;</code>
* @return Whether the ipservice field is set.
*/
@java.lang.Override
public boolean hasIpservice() {
return ((bitField0_ & 0x00000800) != 0);
}
/**
* <pre>
* Service or provider used to determine geolocation from IP
* address if applicable (for example, type = 2).
* Not supported by Google.
* </pre>
*
* <code>optional .com.google.openrtb.LocationService ipservice = 13;</code>
* @return The ipservice.
*/
@java.lang.Override
public com.particles.mes.protos.openrtb.LocationService getIpservice() {
com.particles.mes.protos.openrtb.LocationService result = com.particles.mes.protos.openrtb.LocationService.forNumber(ipservice_);
return result == null ? com.particles.mes.protos.openrtb.LocationService.IP2LOCATION : result;
}
/**
* <pre>
* Service or provider used to determine geolocation from IP
* address if applicable (for example, type = 2).
* Not supported by Google.
* </pre>
*
* <code>optional .com.google.openrtb.LocationService ipservice = 13;</code>
* @param value The ipservice to set.
*/
private void setIpservice(com.particles.mes.protos.openrtb.LocationService value) {
ipservice_ = value.getNumber();
bitField0_ |= 0x00000800;
}
/**
* <pre>
* Service or provider used to determine geolocation from IP
* address if applicable (for example, type = 2).
* Not supported by Google.
* </pre>
*
* <code>optional .com.google.openrtb.LocationService ipservice = 13;</code>
*/
private void clearIpservice() {
bitField0_ = (bitField0_ & ~0x00000800);
ipservice_ = 1;
}
public static final int UTCOFFSET_FIELD_NUMBER = 10;
private int utcoffset_;
/**
* <pre>
* Local time as the number +/- of minutes from UTC.
* Supported by Google.
* </pre>
*
* <code>optional int32 utcoffset = 10;</code>
* @return Whether the utcoffset field is set.
*/
@java.lang.Override
public boolean hasUtcoffset() {
return ((bitField0_ & 0x00001000) != 0);
}
/**
* <pre>
* Local time as the number +/- of minutes from UTC.
* Supported by Google.
* </pre>
*
* <code>optional int32 utcoffset = 10;</code>
* @return The utcoffset.
*/
@java.lang.Override
public int getUtcoffset() {
return utcoffset_;
}
/**
* <pre>
* Local time as the number +/- of minutes from UTC.
* Supported by Google.
* </pre>
*
* <code>optional int32 utcoffset = 10;</code>
* @param value The utcoffset to set.
*/
private void setUtcoffset(int value) {
bitField0_ |= 0x00001000;
utcoffset_ = value;
}
/**
* <pre>
* Local time as the number +/- of minutes from UTC.
* Supported by Google.
* </pre>
*
* <code>optional int32 utcoffset = 10;</code>
*/
private void clearUtcoffset() {
bitField0_ = (bitField0_ & ~0x00001000);
utcoffset_ = 0;
}
public static com.particles.mes.protos.openrtb.BidRequest.Geo parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, data);
}
public static com.particles.mes.protos.openrtb.BidRequest.Geo parseFrom(
java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, data, extensionRegistry);
}
public static com.particles.mes.protos.openrtb.BidRequest.Geo parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, data);
}
public static com.particles.mes.protos.openrtb.BidRequest.Geo parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, data, extensionRegistry);
}
public static com.particles.mes.protos.openrtb.BidRequest.Geo parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, data);
}
public static com.particles.mes.protos.openrtb.BidRequest.Geo parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, data, extensionRegistry);
}
public static com.particles.mes.protos.openrtb.BidRequest.Geo parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, input);
}
public static com.particles.mes.protos.openrtb.BidRequest.Geo parseFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, input, extensionRegistry);
}
public static com.particles.mes.protos.openrtb.BidRequest.Geo parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return parseDelimitedFrom(DEFAULT_INSTANCE, input);
}
public static com.particles.mes.protos.openrtb.BidRequest.Geo parseDelimitedFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return parseDelimitedFrom(DEFAULT_INSTANCE, input, extensionRegistry);
}
public static com.particles.mes.protos.openrtb.BidRequest.Geo parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, input);
}
public static com.particles.mes.protos.openrtb.BidRequest.Geo parseFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, input, extensionRegistry);
}
public static Builder newBuilder() {
return (Builder) DEFAULT_INSTANCE.createBuilder();
}
public static Builder newBuilder(com.particles.mes.protos.openrtb.BidRequest.Geo prototype) {
return (Builder) DEFAULT_INSTANCE.createBuilder(prototype);
}
/**
* <pre>
* OpenRTB 2.0: This object encapsulates various methods for specifying a
* geographic location. When subordinate to a Device object, it indicates the
* location of the device which can also be interpreted as the user's current
* location. When subordinate to a User object, it indicates the location of
* the user's home base (for example, not necessarily their current location).
* Google: In Google's implementation of OpenRTB, coarse geolocation
* information is approximated based on the IP address of the device the ad
* request originated from. This information will typically–but not always–be
* included in the bid request with lat/lon representing the center point of
* a circle, where accuracy is its radius. To learn more about geolocation,
* see the geotargeting guide:
* https://developers.google.com/authorized-buyers/rtb/geotargeting.
* </pre>
*
* Protobuf type {@code com.google.openrtb.BidRequest.Geo}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageLite.ExtendableBuilder<
com.particles.mes.protos.openrtb.BidRequest.Geo, Builder> implements
// @@protoc_insertion_point(builder_implements:com.google.openrtb.BidRequest.Geo)
com.particles.mes.protos.openrtb.BidRequest.GeoOrBuilder {
// Construct using com.particles.mes.protos.openrtb.BidRequest.Geo.newBuilder()
private Builder() {
super(DEFAULT_INSTANCE);
}
/**
* <pre>
* Approximate latitude from -90.0 to +90.0, where negative is south.
* Supported by Google.
* </pre>
*
* <code>optional double lat = 1;</code>
* @return Whether the lat field is set.
*/
@java.lang.Override
public boolean hasLat() {
return instance.hasLat();
}
/**
* <pre>
* Approximate latitude from -90.0 to +90.0, where negative is south.
* Supported by Google.
* </pre>
*
* <code>optional double lat = 1;</code>
* @return The lat.
*/
@java.lang.Override
public double getLat() {
return instance.getLat();
}
/**
* <pre>
* Approximate latitude from -90.0 to +90.0, where negative is south.
* Supported by Google.
* </pre>
*
* <code>optional double lat = 1;</code>
* @param value The lat to set.
* @return This builder for chaining.
*/
public Builder setLat(double value) {
copyOnWrite();
instance.setLat(value);
return this;
}
/**
* <pre>
* Approximate latitude from -90.0 to +90.0, where negative is south.
* Supported by Google.
* </pre>
*
* <code>optional double lat = 1;</code>
* @return This builder for chaining.
*/
public Builder clearLat() {
copyOnWrite();
instance.clearLat();
return this;
}
/**
* <pre>
* Approximate longitude from -180.0 to +180.0, where negative is west.
* Supported by Google.
* </pre>
*
* <code>optional double lon = 2;</code>
* @return Whether the lon field is set.
*/
@java.lang.Override
public boolean hasLon() {
return instance.hasLon();
}
/**
* <pre>
* Approximate longitude from -180.0 to +180.0, where negative is west.
* Supported by Google.
* </pre>
*
* <code>optional double lon = 2;</code>
* @return The lon.
*/
@java.lang.Override
public double getLon() {
return instance.getLon();
}
/**
* <pre>
* Approximate longitude from -180.0 to +180.0, where negative is west.
* Supported by Google.
* </pre>
*
* <code>optional double lon = 2;</code>
* @param value The lon to set.
* @return This builder for chaining.
*/
public Builder setLon(double value) {
copyOnWrite();
instance.setLon(value);
return this;
}
/**
* <pre>
* Approximate longitude from -180.0 to +180.0, where negative is west.
* Supported by Google.
* </pre>
*
* <code>optional double lon = 2;</code>
* @return This builder for chaining.
*/
public Builder clearLon() {
copyOnWrite();
instance.clearLon();
return this;
}
/**
* <pre>
* Country using ISO-3166-1 Alpha-3.
* Supported by Google.
* </pre>
*
* <code>optional string country = 3;</code>
* @return Whether the country field is set.
*/
@java.lang.Override
public boolean hasCountry() {
return instance.hasCountry();
}
/**
* <pre>
* Country using ISO-3166-1 Alpha-3.
* Supported by Google.
* </pre>
*
* <code>optional string country = 3;</code>
* @return The country.
*/
@java.lang.Override
public java.lang.String getCountry() {
return instance.getCountry();
}
/**
* <pre>
* Country using ISO-3166-1 Alpha-3.
* Supported by Google.
* </pre>
*
* <code>optional string country = 3;</code>
* @return The bytes for country.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getCountryBytes() {
return instance.getCountryBytes();
}
/**
* <pre>
* Country using ISO-3166-1 Alpha-3.
* Supported by Google.
* </pre>
*
* <code>optional string country = 3;</code>
* @param value The country to set.
* @return This builder for chaining.
*/
public Builder setCountry(
java.lang.String value) {
copyOnWrite();
instance.setCountry(value);
return this;
}
/**
* <pre>
* Country using ISO-3166-1 Alpha-3.
* Supported by Google.
* </pre>
*
* <code>optional string country = 3;</code>
* @return This builder for chaining.
*/
public Builder clearCountry() {
copyOnWrite();
instance.clearCountry();
return this;
}
/**
* <pre>
* Country using ISO-3166-1 Alpha-3.
* Supported by Google.
* </pre>
*
* <code>optional string country = 3;</code>
* @param value The bytes for country to set.
* @return This builder for chaining.
*/
public Builder setCountryBytes(
com.google.protobuf.ByteString value) {
copyOnWrite();
instance.setCountryBytes(value);
return this;
}
/**
* <pre>
* Region code using ISO-3166-2; 2-letter state code if USA.
* Supported by Google.
* </pre>
*
* <code>optional string region = 4;</code>
* @return Whether the region field is set.
*/
@java.lang.Override
public boolean hasRegion() {
return instance.hasRegion();
}
/**
* <pre>
* Region code using ISO-3166-2; 2-letter state code if USA.
* Supported by Google.
* </pre>
*
* <code>optional string region = 4;</code>
* @return The region.
*/
@java.lang.Override
public java.lang.String getRegion() {
return instance.getRegion();
}
/**
* <pre>
* Region code using ISO-3166-2; 2-letter state code if USA.
* Supported by Google.
* </pre>
*
* <code>optional string region = 4;</code>
* @return The bytes for region.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getRegionBytes() {
return instance.getRegionBytes();
}
/**
* <pre>
* Region code using ISO-3166-2; 2-letter state code if USA.
* Supported by Google.
* </pre>
*
* <code>optional string region = 4;</code>
* @param value The region to set.
* @return This builder for chaining.
*/
public Builder setRegion(
java.lang.String value) {
copyOnWrite();
instance.setRegion(value);
return this;
}
/**
* <pre>
* Region code using ISO-3166-2; 2-letter state code if USA.
* Supported by Google.
* </pre>
*
* <code>optional string region = 4;</code>
* @return This builder for chaining.
*/
public Builder clearRegion() {
copyOnWrite();
instance.clearRegion();
return this;
}
/**
* <pre>
* Region code using ISO-3166-2; 2-letter state code if USA.
* Supported by Google.
* </pre>
*
* <code>optional string region = 4;</code>
* @param value The bytes for region to set.
* @return This builder for chaining.
*/
public Builder setRegionBytes(
com.google.protobuf.ByteString value) {
copyOnWrite();
instance.setRegionBytes(value);
return this;
}
/**
* <pre>
* Region of a country using FIPS 10-4 notation. While OpenRTB supports
* this attribute, it has been withdrawn by NIST in 2008.
* Not supported by Google.
* </pre>
*
* <code>optional string regionfips104 = 5;</code>
* @return Whether the regionfips104 field is set.
*/
@java.lang.Override
public boolean hasRegionfips104() {
return instance.hasRegionfips104();
}
/**
* <pre>
* Region of a country using FIPS 10-4 notation. While OpenRTB supports
* this attribute, it has been withdrawn by NIST in 2008.
* Not supported by Google.
* </pre>
*
* <code>optional string regionfips104 = 5;</code>
* @return The regionfips104.
*/
@java.lang.Override
public java.lang.String getRegionfips104() {
return instance.getRegionfips104();
}
/**
* <pre>
* Region of a country using FIPS 10-4 notation. While OpenRTB supports
* this attribute, it has been withdrawn by NIST in 2008.
* Not supported by Google.
* </pre>
*
* <code>optional string regionfips104 = 5;</code>
* @return The bytes for regionfips104.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getRegionfips104Bytes() {
return instance.getRegionfips104Bytes();
}
/**
* <pre>
* Region of a country using FIPS 10-4 notation. While OpenRTB supports
* this attribute, it has been withdrawn by NIST in 2008.
* Not supported by Google.
* </pre>
*
* <code>optional string regionfips104 = 5;</code>
* @param value The regionfips104 to set.
* @return This builder for chaining.
*/
public Builder setRegionfips104(
java.lang.String value) {
copyOnWrite();
instance.setRegionfips104(value);
return this;
}
/**
* <pre>
* Region of a country using FIPS 10-4 notation. While OpenRTB supports
* this attribute, it has been withdrawn by NIST in 2008.
* Not supported by Google.
* </pre>
*
* <code>optional string regionfips104 = 5;</code>
* @return This builder for chaining.
*/
public Builder clearRegionfips104() {
copyOnWrite();
instance.clearRegionfips104();
return this;
}
/**
* <pre>
* Region of a country using FIPS 10-4 notation. While OpenRTB supports
* this attribute, it has been withdrawn by NIST in 2008.
* Not supported by Google.
* </pre>
*
* <code>optional string regionfips104 = 5;</code>
* @param value The bytes for regionfips104 to set.
* @return This builder for chaining.
*/
public Builder setRegionfips104Bytes(
com.google.protobuf.ByteString value) {
copyOnWrite();
instance.setRegionfips104Bytes(value);
return this;
}
/**
* <pre>
* Google metro code; similar to but not exactly Nielsen DMAs.
* See Appendix A for a link to the codes.
* (http://code.google.com/apis/adwords/docs/appendix/metrocodes.html).
* Supported by Google.
* </pre>
*
* <code>optional string metro = 6;</code>
* @return Whether the metro field is set.
*/
@java.lang.Override
public boolean hasMetro() {
return instance.hasMetro();
}
/**
* <pre>
* Google metro code; similar to but not exactly Nielsen DMAs.
* See Appendix A for a link to the codes.
* (http://code.google.com/apis/adwords/docs/appendix/metrocodes.html).
* Supported by Google.
* </pre>
*
* <code>optional string metro = 6;</code>
* @return The metro.
*/
@java.lang.Override
public java.lang.String getMetro() {
return instance.getMetro();
}
/**
* <pre>
* Google metro code; similar to but not exactly Nielsen DMAs.
* See Appendix A for a link to the codes.
* (http://code.google.com/apis/adwords/docs/appendix/metrocodes.html).
* Supported by Google.
* </pre>
*
* <code>optional string metro = 6;</code>
* @return The bytes for metro.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getMetroBytes() {
return instance.getMetroBytes();
}
/**
* <pre>
* Google metro code; similar to but not exactly Nielsen DMAs.
* See Appendix A for a link to the codes.
* (http://code.google.com/apis/adwords/docs/appendix/metrocodes.html).
* Supported by Google.
* </pre>
*
* <code>optional string metro = 6;</code>
* @param value The metro to set.
* @return This builder for chaining.
*/
public Builder setMetro(
java.lang.String value) {
copyOnWrite();
instance.setMetro(value);
return this;
}
/**
* <pre>
* Google metro code; similar to but not exactly Nielsen DMAs.
* See Appendix A for a link to the codes.
* (http://code.google.com/apis/adwords/docs/appendix/metrocodes.html).
* Supported by Google.
* </pre>
*
* <code>optional string metro = 6;</code>
* @return This builder for chaining.
*/
public Builder clearMetro() {
copyOnWrite();
instance.clearMetro();
return this;
}
/**
* <pre>
* Google metro code; similar to but not exactly Nielsen DMAs.
* See Appendix A for a link to the codes.
* (http://code.google.com/apis/adwords/docs/appendix/metrocodes.html).
* Supported by Google.
* </pre>
*
* <code>optional string metro = 6;</code>
* @param value The bytes for metro to set.
* @return This builder for chaining.
*/
public Builder setMetroBytes(
com.google.protobuf.ByteString value) {
copyOnWrite();
instance.setMetroBytes(value);
return this;
}
/**
* <pre>
* City using United Nations Code for Trade & Transport Locations.
* See Appendix A for a link to the codes.
* (http://www.unece.org/cefact/locode/service/location.htm).
* Supported by Google.
* </pre>
*
* <code>optional string city = 7;</code>
* @return Whether the city field is set.
*/
@java.lang.Override
public boolean hasCity() {
return instance.hasCity();
}
/**
* <pre>
* City using United Nations Code for Trade & Transport Locations.
* See Appendix A for a link to the codes.
* (http://www.unece.org/cefact/locode/service/location.htm).
* Supported by Google.
* </pre>
*
* <code>optional string city = 7;</code>
* @return The city.
*/
@java.lang.Override
public java.lang.String getCity() {
return instance.getCity();
}
/**
* <pre>
* City using United Nations Code for Trade & Transport Locations.
* See Appendix A for a link to the codes.
* (http://www.unece.org/cefact/locode/service/location.htm).
* Supported by Google.
* </pre>
*
* <code>optional string city = 7;</code>
* @return The bytes for city.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getCityBytes() {
return instance.getCityBytes();
}
/**
* <pre>
* City using United Nations Code for Trade & Transport Locations.
* See Appendix A for a link to the codes.
* (http://www.unece.org/cefact/locode/service/location.htm).
* Supported by Google.
* </pre>
*
* <code>optional string city = 7;</code>
* @param value The city to set.
* @return This builder for chaining.
*/
public Builder setCity(
java.lang.String value) {
copyOnWrite();
instance.setCity(value);
return this;
}
/**
* <pre>
* City using United Nations Code for Trade & Transport Locations.
* See Appendix A for a link to the codes.
* (http://www.unece.org/cefact/locode/service/location.htm).
* Supported by Google.
* </pre>
*
* <code>optional string city = 7;</code>
* @return This builder for chaining.
*/
public Builder clearCity() {
copyOnWrite();
instance.clearCity();
return this;
}
/**
* <pre>
* City using United Nations Code for Trade & Transport Locations.
* See Appendix A for a link to the codes.
* (http://www.unece.org/cefact/locode/service/location.htm).
* Supported by Google.
* </pre>
*
* <code>optional string city = 7;</code>
* @param value The bytes for city to set.
* @return This builder for chaining.
*/
public Builder setCityBytes(
com.google.protobuf.ByteString value) {
copyOnWrite();
instance.setCityBytes(value);
return this;
}
/**
* <pre>
* Zip/postal code.
* Supported by Google.
* </pre>
*
* <code>optional string zip = 8;</code>
* @return Whether the zip field is set.
*/
@java.lang.Override
public boolean hasZip() {
return instance.hasZip();
}
/**
* <pre>
* Zip/postal code.
* Supported by Google.
* </pre>
*
* <code>optional string zip = 8;</code>
* @return The zip.
*/
@java.lang.Override
public java.lang.String getZip() {
return instance.getZip();
}
/**
* <pre>
* Zip/postal code.
* Supported by Google.
* </pre>
*
* <code>optional string zip = 8;</code>
* @return The bytes for zip.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getZipBytes() {
return instance.getZipBytes();
}
/**
* <pre>
* Zip/postal code.
* Supported by Google.
* </pre>
*
* <code>optional string zip = 8;</code>
* @param value The zip to set.
* @return This builder for chaining.
*/
public Builder setZip(
java.lang.String value) {
copyOnWrite();
instance.setZip(value);
return this;
}
/**
* <pre>
* Zip/postal code.
* Supported by Google.
* </pre>
*
* <code>optional string zip = 8;</code>
* @return This builder for chaining.
*/
public Builder clearZip() {
copyOnWrite();
instance.clearZip();
return this;
}
/**
* <pre>
* Zip/postal code.
* Supported by Google.
* </pre>
*
* <code>optional string zip = 8;</code>
* @param value The bytes for zip to set.
* @return This builder for chaining.
*/
public Builder setZipBytes(
com.google.protobuf.ByteString value) {
copyOnWrite();
instance.setZipBytes(value);
return this;
}
/**
* <pre>
* Source of location data; recommended when passing lat/lon.
* Supported by Google.
* </pre>
*
* <code>optional .com.google.openrtb.LocationType type = 9;</code>
* @return Whether the type field is set.
*/
@java.lang.Override
public boolean hasType() {
return instance.hasType();
}
/**
* <pre>
* Source of location data; recommended when passing lat/lon.
* Supported by Google.
* </pre>
*
* <code>optional .com.google.openrtb.LocationType type = 9;</code>
* @return The type.
*/
@java.lang.Override
public com.particles.mes.protos.openrtb.LocationType getType() {
return instance.getType();
}
/**
* <pre>
* Source of location data; recommended when passing lat/lon.
* Supported by Google.
* </pre>
*
* <code>optional .com.google.openrtb.LocationType type = 9;</code>
* @param value The enum numeric value on the wire for type to set.
* @return This builder for chaining.
*/
public Builder setType(com.particles.mes.protos.openrtb.LocationType value) {
copyOnWrite();
instance.setType(value);
return this;
}
/**
* <pre>
* Source of location data; recommended when passing lat/lon.
* Supported by Google.
* </pre>
*
* <code>optional .com.google.openrtb.LocationType type = 9;</code>
* @return This builder for chaining.
*/
public Builder clearType() {
copyOnWrite();
instance.clearType();
return this;
}
/**
* <pre>
* Estimated location accuracy in meters; recommended when lat/lon are
* specified and derived from a device's location services (for example,
* type = 1). Note that this is the accuracy as reported from the device.
* Consult OS specific documentation (for example, Android, iOS) for exact
* interpretation.
* Google: The radius in meters of a circle approximating the location of a
* device, where the center point is defined by lat/lon. This field is
* populated based on coarse IP-based geolocation.
* Supported by Google.
* </pre>
*
* <code>optional int32 accuracy = 11;</code>
* @return Whether the accuracy field is set.
*/
@java.lang.Override
public boolean hasAccuracy() {
return instance.hasAccuracy();
}
/**
* <pre>
* Estimated location accuracy in meters; recommended when lat/lon are
* specified and derived from a device's location services (for example,
* type = 1). Note that this is the accuracy as reported from the device.
* Consult OS specific documentation (for example, Android, iOS) for exact
* interpretation.
* Google: The radius in meters of a circle approximating the location of a
* device, where the center point is defined by lat/lon. This field is
* populated based on coarse IP-based geolocation.
* Supported by Google.
* </pre>
*
* <code>optional int32 accuracy = 11;</code>
* @return The accuracy.
*/
@java.lang.Override
public int getAccuracy() {
return instance.getAccuracy();
}
/**
* <pre>
* Estimated location accuracy in meters; recommended when lat/lon are
* specified and derived from a device's location services (for example,
* type = 1). Note that this is the accuracy as reported from the device.
* Consult OS specific documentation (for example, Android, iOS) for exact
* interpretation.
* Google: The radius in meters of a circle approximating the location of a
* device, where the center point is defined by lat/lon. This field is
* populated based on coarse IP-based geolocation.
* Supported by Google.
* </pre>
*
* <code>optional int32 accuracy = 11;</code>
* @param value The accuracy to set.
* @return This builder for chaining.
*/
public Builder setAccuracy(int value) {
copyOnWrite();
instance.setAccuracy(value);
return this;
}
/**
* <pre>
* Estimated location accuracy in meters; recommended when lat/lon are
* specified and derived from a device's location services (for example,
* type = 1). Note that this is the accuracy as reported from the device.
* Consult OS specific documentation (for example, Android, iOS) for exact
* interpretation.
* Google: The radius in meters of a circle approximating the location of a
* device, where the center point is defined by lat/lon. This field is
* populated based on coarse IP-based geolocation.
* Supported by Google.
* </pre>
*
* <code>optional int32 accuracy = 11;</code>
* @return This builder for chaining.
*/
public Builder clearAccuracy() {
copyOnWrite();
instance.clearAccuracy();
return this;
}
/**
* <pre>
* Number of seconds since this geolocation fix was established.
* Note that devices may cache location data across multiple fetches.
* Ideally, this value should be from the time the actual fix was taken.
* Not supported by Google.
* </pre>
*
* <code>optional int32 lastfix = 12;</code>
* @return Whether the lastfix field is set.
*/
@java.lang.Override
public boolean hasLastfix() {
return instance.hasLastfix();
}
/**
* <pre>
* Number of seconds since this geolocation fix was established.
* Note that devices may cache location data across multiple fetches.
* Ideally, this value should be from the time the actual fix was taken.
* Not supported by Google.
* </pre>
*
* <code>optional int32 lastfix = 12;</code>
* @return The lastfix.
*/
@java.lang.Override
public int getLastfix() {
return instance.getLastfix();
}
/**
* <pre>
* Number of seconds since this geolocation fix was established.
* Note that devices may cache location data across multiple fetches.
* Ideally, this value should be from the time the actual fix was taken.
* Not supported by Google.
* </pre>
*
* <code>optional int32 lastfix = 12;</code>
* @param value The lastfix to set.
* @return This builder for chaining.
*/
public Builder setLastfix(int value) {
copyOnWrite();
instance.setLastfix(value);
return this;
}
/**
* <pre>
* Number of seconds since this geolocation fix was established.
* Note that devices may cache location data across multiple fetches.
* Ideally, this value should be from the time the actual fix was taken.
* Not supported by Google.
* </pre>
*
* <code>optional int32 lastfix = 12;</code>
* @return This builder for chaining.
*/
public Builder clearLastfix() {
copyOnWrite();
instance.clearLastfix();
return this;
}
/**
* <pre>
* Service or provider used to determine geolocation from IP
* address if applicable (for example, type = 2).
* Not supported by Google.
* </pre>
*
* <code>optional .com.google.openrtb.LocationService ipservice = 13;</code>
* @return Whether the ipservice field is set.
*/
@java.lang.Override
public boolean hasIpservice() {
return instance.hasIpservice();
}
/**
* <pre>
* Service or provider used to determine geolocation from IP
* address if applicable (for example, type = 2).
* Not supported by Google.
* </pre>
*
* <code>optional .com.google.openrtb.LocationService ipservice = 13;</code>
* @return The ipservice.
*/
@java.lang.Override
public com.particles.mes.protos.openrtb.LocationService getIpservice() {
return instance.getIpservice();
}
/**
* <pre>
* Service or provider used to determine geolocation from IP
* address if applicable (for example, type = 2).
* Not supported by Google.
* </pre>
*
* <code>optional .com.google.openrtb.LocationService ipservice = 13;</code>
* @param value The enum numeric value on the wire for ipservice to set.
* @return This builder for chaining.
*/
public Builder setIpservice(com.particles.mes.protos.openrtb.LocationService value) {
copyOnWrite();
instance.setIpservice(value);
return this;
}
/**
* <pre>
* Service or provider used to determine geolocation from IP
* address if applicable (for example, type = 2).
* Not supported by Google.
* </pre>
*
* <code>optional .com.google.openrtb.LocationService ipservice = 13;</code>
* @return This builder for chaining.
*/
public Builder clearIpservice() {
copyOnWrite();
instance.clearIpservice();
return this;
}
/**
* <pre>
* Local time as the number +/- of minutes from UTC.
* Supported by Google.
* </pre>
*
* <code>optional int32 utcoffset = 10;</code>
* @return Whether the utcoffset field is set.
*/
@java.lang.Override
public boolean hasUtcoffset() {
return instance.hasUtcoffset();
}
/**
* <pre>
* Local time as the number +/- of minutes from UTC.
* Supported by Google.
* </pre>
*
* <code>optional int32 utcoffset = 10;</code>
* @return The utcoffset.
*/
@java.lang.Override
public int getUtcoffset() {
return instance.getUtcoffset();
}
/**
* <pre>
* Local time as the number +/- of minutes from UTC.
* Supported by Google.
* </pre>
*
* <code>optional int32 utcoffset = 10;</code>
* @param value The utcoffset to set.
* @return This builder for chaining.
*/
public Builder setUtcoffset(int value) {
copyOnWrite();
instance.setUtcoffset(value);
return this;
}
/**
* <pre>
* Local time as the number +/- of minutes from UTC.
* Supported by Google.
* </pre>
*
* <code>optional int32 utcoffset = 10;</code>
* @return This builder for chaining.
*/
public Builder clearUtcoffset() {
copyOnWrite();
instance.clearUtcoffset();
return this;
}
// @@protoc_insertion_point(builder_scope:com.google.openrtb.BidRequest.Geo)
}
private byte memoizedIsInitialized = 2;
@java.lang.Override
@java.lang.SuppressWarnings({"unchecked", "fallthrough"})
protected final java.lang.Object dynamicMethod(
com.google.protobuf.GeneratedMessageLite.MethodToInvoke method,
java.lang.Object arg0, java.lang.Object arg1) {
switch (method) {
case NEW_MUTABLE_INSTANCE: {
return new com.particles.mes.protos.openrtb.BidRequest.Geo();
}
case NEW_BUILDER: {
return new Builder();
}
case BUILD_MESSAGE_INFO: {
java.lang.Object[] objects = new java.lang.Object[] {
"bitField0_",
"lat_",
"lon_",
"country_",
"region_",
"regionfips104_",
"metro_",
"city_",
"zip_",
"type_",
com.particles.mes.protos.openrtb.LocationType.internalGetVerifier(),
"utcoffset_",
"accuracy_",
"lastfix_",
"ipservice_",
com.particles.mes.protos.openrtb.LocationService.internalGetVerifier(),
};
java.lang.String info =
"\u0001\r\u0000\u0001\u0001\r\r\u0000\u0000\u0000\u0001\u1000\u0000\u0002\u1000\u0001" +
"\u0003\u1008\u0002\u0004\u1008\u0003\u0005\u1008\u0004\u0006\u1008\u0005\u0007\u1008" +
"\u0006\b\u1008\u0007\t\u100c\b\n\u1004\f\u000b\u1004\t\f\u1004\n\r\u100c\u000b";
return newMessageInfo(DEFAULT_INSTANCE, info, objects);
}
// fall through
case GET_DEFAULT_INSTANCE: {
return DEFAULT_INSTANCE;
}
case GET_PARSER: {
com.google.protobuf.Parser<com.particles.mes.protos.openrtb.BidRequest.Geo> parser = PARSER;
if (parser == null) {
synchronized (com.particles.mes.protos.openrtb.BidRequest.Geo.class) {
parser = PARSER;
if (parser == null) {
parser =
new DefaultInstanceBasedParser<com.particles.mes.protos.openrtb.BidRequest.Geo>(
DEFAULT_INSTANCE);
PARSER = parser;
}
}
}
return parser;
}
case GET_MEMOIZED_IS_INITIALIZED: {
return memoizedIsInitialized;
}
case SET_MEMOIZED_IS_INITIALIZED: {
memoizedIsInitialized = (byte) (arg0 == null ? 0 : 1);
return null;
}
}
throw new UnsupportedOperationException();
}
// @@protoc_insertion_point(class_scope:com.google.openrtb.BidRequest.Geo)
private static final com.particles.mes.protos.openrtb.BidRequest.Geo DEFAULT_INSTANCE;
static {
Geo defaultInstance = new Geo();
// New instances are implicitly immutable so no need to make
// immutable.
DEFAULT_INSTANCE = defaultInstance;
com.google.protobuf.GeneratedMessageLite.registerDefaultInstance(
Geo.class, defaultInstance);
}
public static com.particles.mes.protos.openrtb.BidRequest.Geo getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static volatile com.google.protobuf.Parser<Geo> PARSER;
public static com.google.protobuf.Parser<Geo> parser() {
return DEFAULT_INSTANCE.getParserForType();
}
}
public interface DeviceOrBuilder extends
// @@protoc_insertion_point(interface_extends:com.google.openrtb.BidRequest.Device)
com.google.protobuf.GeneratedMessageLite.
ExtendableMessageOrBuilder<
Device, Device.Builder> {
/**
* <pre>
* Location of the device assumed to be the user's current location defined
* by a Geo object (Section 3.2.12).
* Supported by Google.
* </pre>
*
* <code>optional .com.google.openrtb.BidRequest.Geo geo = 4;</code>
* @return Whether the geo field is set.
*/
boolean hasGeo();
/**
* <pre>
* Location of the device assumed to be the user's current location defined
* by a Geo object (Section 3.2.12).
* Supported by Google.
* </pre>
*
* <code>optional .com.google.openrtb.BidRequest.Geo geo = 4;</code>
* @return The geo.
*/
com.particles.mes.protos.openrtb.BidRequest.Geo getGeo();
/**
* <pre>
* Standard "Do Not Track" option as set in the header by the browser,
* where false = tracking is unrestricted, true = do not track.
* Not supported by Google.
* </pre>
*
* <code>optional bool dnt = 1;</code>
* @return Whether the dnt field is set.
*/
boolean hasDnt();
/**
* <pre>
* Standard "Do Not Track" option as set in the header by the browser,
* where false = tracking is unrestricted, true = do not track.
* Not supported by Google.
* </pre>
*
* <code>optional bool dnt = 1;</code>
* @return The dnt.
*/
boolean getDnt();
/**
* <pre>
* "Limit Ad Tracking" is a commercially endorsed signal based on the
* operating system or device settings, where `false` indicates that
* tracking is unrestricted and `true` indicates that tracking must be
* limited per commercial guidelines.
* This signal reflects user decisions on surfaces including iOS App
* Tracking Transparency:
* https://developer.apple.com/documentation/apptrackingtransparency
* See also lmt and App Tracking Transparency guidance:
* https://github.com/InteractiveAdvertisingBureau/openrtb/blob/master/extensions/community_extensions/skadnetwork.md#dnt-lmt-and-app-tracking-transparency-guidance
* and Android advertising ID:
* https://support.google.com/googleplay/android-developer/answer/6048248
* Supported by Google.
* </pre>
*
* <code>optional bool lmt = 23;</code>
* @return Whether the lmt field is set.
*/
boolean hasLmt();
/**
* <pre>
* "Limit Ad Tracking" is a commercially endorsed signal based on the
* operating system or device settings, where `false` indicates that
* tracking is unrestricted and `true` indicates that tracking must be
* limited per commercial guidelines.
* This signal reflects user decisions on surfaces including iOS App
* Tracking Transparency:
* https://developer.apple.com/documentation/apptrackingtransparency
* See also lmt and App Tracking Transparency guidance:
* https://github.com/InteractiveAdvertisingBureau/openrtb/blob/master/extensions/community_extensions/skadnetwork.md#dnt-lmt-and-app-tracking-transparency-guidance
* and Android advertising ID:
* https://support.google.com/googleplay/android-developer/answer/6048248
* Supported by Google.
* </pre>
*
* <code>optional bool lmt = 23;</code>
* @return The lmt.
*/
boolean getLmt();
/**
* <pre>
* Browser user agent string. Certain data may be redacted or replaced.
* Supported by Google.
* </pre>
*
* <code>optional string ua = 2;</code>
* @return Whether the ua field is set.
*/
boolean hasUa();
/**
* <pre>
* Browser user agent string. Certain data may be redacted or replaced.
* Supported by Google.
* </pre>
*
* <code>optional string ua = 2;</code>
* @return The ua.
*/
java.lang.String getUa();
/**
* <pre>
* Browser user agent string. Certain data may be redacted or replaced.
* Supported by Google.
* </pre>
*
* <code>optional string ua = 2;</code>
* @return The bytes for ua.
*/
com.google.protobuf.ByteString
getUaBytes();
/**
* <pre>
* Structured user agent information. If both Device.ua and Device.sua are
* present in the bid request, Device.sua should be considered the more
* accurate representation of the device attributes. This is because
* Device.ua may contain a frozen or reduced user agent string.
* Supported by Google.
* </pre>
*
* <code>optional .com.google.openrtb.BidRequest.Device.UserAgent sua = 31;</code>
* @return Whether the sua field is set.
*/
boolean hasSua();
/**
* <pre>
* Structured user agent information. If both Device.ua and Device.sua are
* present in the bid request, Device.sua should be considered the more
* accurate representation of the device attributes. This is because
* Device.ua may contain a frozen or reduced user agent string.
* Supported by Google.
* </pre>
*
* <code>optional .com.google.openrtb.BidRequest.Device.UserAgent sua = 31;</code>
* @return The sua.
*/
com.particles.mes.protos.openrtb.BidRequest.Device.UserAgent getSua();
/**
* <pre>
* IPv4 address closest to device.
* Supported by Google. Truncated to the first 3 octets: "X.X.X.0".
* </pre>
*
* <code>optional string ip = 3;</code>
* @return Whether the ip field is set.
*/
boolean hasIp();
/**
* <pre>
* IPv4 address closest to device.
* Supported by Google. Truncated to the first 3 octets: "X.X.X.0".
* </pre>
*
* <code>optional string ip = 3;</code>
* @return The ip.
*/
java.lang.String getIp();
/**
* <pre>
* IPv4 address closest to device.
* Supported by Google. Truncated to the first 3 octets: "X.X.X.0".
* </pre>
*
* <code>optional string ip = 3;</code>
* @return The bytes for ip.
*/
com.google.protobuf.ByteString
getIpBytes();
/**
* <pre>
* IPv6 address closest to device.
* Supported by Google. Truncated to the first 6 octets: "X:X:X:::::".
* </pre>
*
* <code>optional string ipv6 = 9;</code>
* @return Whether the ipv6 field is set.
*/
boolean hasIpv6();
/**
* <pre>
* IPv6 address closest to device.
* Supported by Google. Truncated to the first 6 octets: "X:X:X:::::".
* </pre>
*
* <code>optional string ipv6 = 9;</code>
* @return The ipv6.
*/
java.lang.String getIpv6();
/**
* <pre>
* IPv6 address closest to device.
* Supported by Google. Truncated to the first 6 octets: "X:X:X:::::".
* </pre>
*
* <code>optional string ipv6 = 9;</code>
* @return The bytes for ipv6.
*/
com.google.protobuf.ByteString
getIpv6Bytes();
/**
* <pre>
* The general type of device.
* Supported by Google.
* </pre>
*
* <code>optional .com.google.openrtb.DeviceType devicetype = 18;</code>
* @return Whether the devicetype field is set.
*/
boolean hasDevicetype();
/**
* <pre>
* The general type of device.
* Supported by Google.
* </pre>
*
* <code>optional .com.google.openrtb.DeviceType devicetype = 18;</code>
* @return The devicetype.
*/
com.particles.mes.protos.openrtb.DeviceType getDevicetype();
/**
* <pre>
* Device make (for example, "Apple" or "Samsung").
* Supported by Google.
* </pre>
*
* <code>optional string make = 12;</code>
* @return Whether the make field is set.
*/
boolean hasMake();
/**
* <pre>
* Device make (for example, "Apple" or "Samsung").
* Supported by Google.
* </pre>
*
* <code>optional string make = 12;</code>
* @return The make.
*/
java.lang.String getMake();
/**
* <pre>
* Device make (for example, "Apple" or "Samsung").
* Supported by Google.
* </pre>
*
* <code>optional string make = 12;</code>
* @return The bytes for make.
*/
com.google.protobuf.ByteString
getMakeBytes();
/**
* <pre>
* Device model (for example, "pixel 7 pro"). For iPhone/iPad, this
* field contains Apple's model identifier string (such as "iPhone12,1" and
* "iPad13,8") if available. Otherwise this field contains the generic model
* (either "iphone" or "ipad").
* Supported by Google.
* </pre>
*
* <code>optional string model = 13;</code>
* @return Whether the model field is set.
*/
boolean hasModel();
/**
* <pre>
* Device model (for example, "pixel 7 pro"). For iPhone/iPad, this
* field contains Apple's model identifier string (such as "iPhone12,1" and
* "iPad13,8") if available. Otherwise this field contains the generic model
* (either "iphone" or "ipad").
* Supported by Google.
* </pre>
*
* <code>optional string model = 13;</code>
* @return The model.
*/
java.lang.String getModel();
/**
* <pre>
* Device model (for example, "pixel 7 pro"). For iPhone/iPad, this
* field contains Apple's model identifier string (such as "iPhone12,1" and
* "iPad13,8") if available. Otherwise this field contains the generic model
* (either "iphone" or "ipad").
* Supported by Google.
* </pre>
*
* <code>optional string model = 13;</code>
* @return The bytes for model.
*/
com.google.protobuf.ByteString
getModelBytes();
/**
* <pre>
* Device operating system (for example, "iOS").
* Supported by Google.
* </pre>
*
* <code>optional string os = 14;</code>
* @return Whether the os field is set.
*/
boolean hasOs();
/**
* <pre>
* Device operating system (for example, "iOS").
* Supported by Google.
* </pre>
*
* <code>optional string os = 14;</code>
* @return The os.
*/
java.lang.String getOs();
/**
* <pre>
* Device operating system (for example, "iOS").
* Supported by Google.
* </pre>
*
* <code>optional string os = 14;</code>
* @return The bytes for os.
*/
com.google.protobuf.ByteString
getOsBytes();
/**
* <pre>
* Device operating system version (for example, "3.1.2").
* Supported by Google.
* </pre>
*
* <code>optional string osv = 15;</code>
* @return Whether the osv field is set.
*/
boolean hasOsv();
/**
* <pre>
* Device operating system version (for example, "3.1.2").
* Supported by Google.
* </pre>
*
* <code>optional string osv = 15;</code>
* @return The osv.
*/
java.lang.String getOsv();
/**
* <pre>
* Device operating system version (for example, "3.1.2").
* Supported by Google.
* </pre>
*
* <code>optional string osv = 15;</code>
* @return The bytes for osv.
*/
com.google.protobuf.ByteString
getOsvBytes();
/**
* <pre>
* Hardware version of the device. For iPhone/iPad, this field contains
* Apple's model identifier string (such as "iPhone12,1" and "iPad13,8") if
* available.
* Supported by Google.
* </pre>
*
* <code>optional string hwv = 24;</code>
* @return Whether the hwv field is set.
*/
boolean hasHwv();
/**
* <pre>
* Hardware version of the device. For iPhone/iPad, this field contains
* Apple's model identifier string (such as "iPhone12,1" and "iPad13,8") if
* available.
* Supported by Google.
* </pre>
*
* <code>optional string hwv = 24;</code>
* @return The hwv.
*/
java.lang.String getHwv();
/**
* <pre>
* Hardware version of the device. For iPhone/iPad, this field contains
* Apple's model identifier string (such as "iPhone12,1" and "iPad13,8") if
* available.
* Supported by Google.
* </pre>
*
* <code>optional string hwv = 24;</code>
* @return The bytes for hwv.
*/
com.google.protobuf.ByteString
getHwvBytes();
/**
* <pre>
* Physical width of the screen in pixels.
* Supported by Google.
* </pre>
*
* <code>optional int32 w = 25;</code>
* @return Whether the w field is set.
*/
boolean hasW();
/**
* <pre>
* Physical width of the screen in pixels.
* Supported by Google.
* </pre>
*
* <code>optional int32 w = 25;</code>
* @return The w.
*/
int getW();
/**
* <pre>
* Physical height of the screen in pixels.
* Supported by Google.
* </pre>
*
* <code>optional int32 h = 26;</code>
* @return Whether the h field is set.
*/
boolean hasH();
/**
* <pre>
* Physical height of the screen in pixels.
* Supported by Google.
* </pre>
*
* <code>optional int32 h = 26;</code>
* @return The h.
*/
int getH();
/**
* <pre>
* Screen size as pixels per linear inch.
* Not supported by Google.
* </pre>
*
* <code>optional int32 ppi = 27;</code>
* @return Whether the ppi field is set.
*/
boolean hasPpi();
/**
* <pre>
* Screen size as pixels per linear inch.
* Not supported by Google.
* </pre>
*
* <code>optional int32 ppi = 27;</code>
* @return The ppi.
*/
int getPpi();
/**
* <pre>
* The ratio of physical pixels to device independent pixels.
* Supported by Google.
* </pre>
*
* <code>optional double pxratio = 28;</code>
* @return Whether the pxratio field is set.
*/
boolean hasPxratio();
/**
* <pre>
* The ratio of physical pixels to device independent pixels.
* Supported by Google.
* </pre>
*
* <code>optional double pxratio = 28;</code>
* @return The pxratio.
*/
double getPxratio();
/**
* <pre>
* Support for JavaScript.
* Not supported by Google.
* </pre>
*
* <code>optional bool js = 16;</code>
* @return Whether the js field is set.
*/
boolean hasJs();
/**
* <pre>
* Support for JavaScript.
* Not supported by Google.
* </pre>
*
* <code>optional bool js = 16;</code>
* @return The js.
*/
boolean getJs();
/**
* <pre>
* Indicates if the geolocation API will be available to JavaScript
* code running in the banner.
* Not supported by Google.
* </pre>
*
* <code>optional bool geofetch = 29;</code>
* @return Whether the geofetch field is set.
*/
boolean hasGeofetch();
/**
* <pre>
* Indicates if the geolocation API will be available to JavaScript
* code running in the banner.
* Not supported by Google.
* </pre>
*
* <code>optional bool geofetch = 29;</code>
* @return The geofetch.
*/
boolean getGeofetch();
/**
* <pre>
* Version of Flash supported by the browser.
* Not supported by Google.
* </pre>
*
* <code>optional string flashver = 19;</code>
* @return Whether the flashver field is set.
*/
boolean hasFlashver();
/**
* <pre>
* Version of Flash supported by the browser.
* Not supported by Google.
* </pre>
*
* <code>optional string flashver = 19;</code>
* @return The flashver.
*/
java.lang.String getFlashver();
/**
* <pre>
* Version of Flash supported by the browser.
* Not supported by Google.
* </pre>
*
* <code>optional string flashver = 19;</code>
* @return The bytes for flashver.
*/
com.google.protobuf.ByteString
getFlashverBytes();
/**
* <pre>
* Browser language using ISO-639-1-alpha-2.
* Only one of language or langb should be present.
* Not supported by Google.
* </pre>
*
* <code>optional string language = 11;</code>
* @return Whether the language field is set.
*/
boolean hasLanguage();
/**
* <pre>
* Browser language using ISO-639-1-alpha-2.
* Only one of language or langb should be present.
* Not supported by Google.
* </pre>
*
* <code>optional string language = 11;</code>
* @return The language.
*/
java.lang.String getLanguage();
/**
* <pre>
* Browser language using ISO-639-1-alpha-2.
* Only one of language or langb should be present.
* Not supported by Google.
* </pre>
*
* <code>optional string language = 11;</code>
* @return The bytes for language.
*/
com.google.protobuf.ByteString
getLanguageBytes();
/**
* <pre>
* Browser language using IETF BCP 47.
* Only one of language or langb should be present.
* Not supported by Google.
* </pre>
*
* <code>optional string langb = 32;</code>
* @return Whether the langb field is set.
*/
boolean hasLangb();
/**
* <pre>
* Browser language using IETF BCP 47.
* Only one of language or langb should be present.
* Not supported by Google.
* </pre>
*
* <code>optional string langb = 32;</code>
* @return The langb.
*/
java.lang.String getLangb();
/**
* <pre>
* Browser language using IETF BCP 47.
* Only one of language or langb should be present.
* Not supported by Google.
* </pre>
*
* <code>optional string langb = 32;</code>
* @return The bytes for langb.
*/
com.google.protobuf.ByteString
getLangbBytes();
/**
* <pre>
* Carrier or ISP (for example, "VERIZON") using exchange curated string
* names which should be published to bidders a priori.
* Supported by Google.
* </pre>
*
* <code>optional string carrier = 10;</code>
* @return Whether the carrier field is set.
*/
boolean hasCarrier();
/**
* <pre>
* Carrier or ISP (for example, "VERIZON") using exchange curated string
* names which should be published to bidders a priori.
* Supported by Google.
* </pre>
*
* <code>optional string carrier = 10;</code>
* @return The carrier.
*/
java.lang.String getCarrier();
/**
* <pre>
* Carrier or ISP (for example, "VERIZON") using exchange curated string
* names which should be published to bidders a priori.
* Supported by Google.
* </pre>
*
* <code>optional string carrier = 10;</code>
* @return The bytes for carrier.
*/
com.google.protobuf.ByteString
getCarrierBytes();
/**
* <pre>
* Mobile carrier as the concatenated MCC-MNC code (for example,
* "310-005" identifies Verizon Wireless CDMA in the USA).
* Refer to https://en.wikipedia.org/wiki/Mobile_country_code
* for further examples. Note that the dash between the MCC
* and MNC parts is required to remove parsing ambiguity.
* The MCC-MNC values represent the SIM installed on the device and
* do not change when a device is roaming. Roaming may be inferred by
* a combination of the MCC-MNC, geo, IP and other data signals.
* Not supported by Google.
* </pre>
*
* <code>optional string mccmnc = 30;</code>
* @return Whether the mccmnc field is set.
*/
boolean hasMccmnc();
/**
* <pre>
* Mobile carrier as the concatenated MCC-MNC code (for example,
* "310-005" identifies Verizon Wireless CDMA in the USA).
* Refer to https://en.wikipedia.org/wiki/Mobile_country_code
* for further examples. Note that the dash between the MCC
* and MNC parts is required to remove parsing ambiguity.
* The MCC-MNC values represent the SIM installed on the device and
* do not change when a device is roaming. Roaming may be inferred by
* a combination of the MCC-MNC, geo, IP and other data signals.
* Not supported by Google.
* </pre>
*
* <code>optional string mccmnc = 30;</code>
* @return The mccmnc.
*/
java.lang.String getMccmnc();
/**
* <pre>
* Mobile carrier as the concatenated MCC-MNC code (for example,
* "310-005" identifies Verizon Wireless CDMA in the USA).
* Refer to https://en.wikipedia.org/wiki/Mobile_country_code
* for further examples. Note that the dash between the MCC
* and MNC parts is required to remove parsing ambiguity.
* The MCC-MNC values represent the SIM installed on the device and
* do not change when a device is roaming. Roaming may be inferred by
* a combination of the MCC-MNC, geo, IP and other data signals.
* Not supported by Google.
* </pre>
*
* <code>optional string mccmnc = 30;</code>
* @return The bytes for mccmnc.
*/
com.google.protobuf.ByteString
getMccmncBytes();
/**
* <pre>
* Network connection type.
* Google: For 5G connection type, we send CELL_4G instead of CELL_5G.
* Supported by Google.
* </pre>
*
* <code>optional .com.google.openrtb.ConnectionType connectiontype = 17;</code>
* @return Whether the connectiontype field is set.
*/
boolean hasConnectiontype();
/**
* <pre>
* Network connection type.
* Google: For 5G connection type, we send CELL_4G instead of CELL_5G.
* Supported by Google.
* </pre>
*
* <code>optional .com.google.openrtb.ConnectionType connectiontype = 17;</code>
* @return The connectiontype.
*/
com.particles.mes.protos.openrtb.ConnectionType getConnectiontype();
/**
* <pre>
* ID sanctioned for advertiser use in the clear (meaning, not hashed).
* Supported by Google.
* </pre>
*
* <code>optional string ifa = 20;</code>
* @return Whether the ifa field is set.
*/
boolean hasIfa();
/**
* <pre>
* ID sanctioned for advertiser use in the clear (meaning, not hashed).
* Supported by Google.
* </pre>
*
* <code>optional string ifa = 20;</code>
* @return The ifa.
*/
java.lang.String getIfa();
/**
* <pre>
* ID sanctioned for advertiser use in the clear (meaning, not hashed).
* Supported by Google.
* </pre>
*
* <code>optional string ifa = 20;</code>
* @return The bytes for ifa.
*/
com.google.protobuf.ByteString
getIfaBytes();
/**
* <pre>
* DEPRECATED in OpenRTB 2.6+. No replacement.
* Hardware device ID (for example, IMEI); hashed through SHA1.
* Not supported by Google.
* </pre>
*
* <code>optional string didsha1 = 5 [deprecated = true];</code>
* @deprecated com.google.openrtb.BidRequest.Device.didsha1 is deprecated.
* See openrtb/openrtb-v26.proto;l=1484
* @return Whether the didsha1 field is set.
*/
@java.lang.Deprecated boolean hasDidsha1();
/**
* <pre>
* DEPRECATED in OpenRTB 2.6+. No replacement.
* Hardware device ID (for example, IMEI); hashed through SHA1.
* Not supported by Google.
* </pre>
*
* <code>optional string didsha1 = 5 [deprecated = true];</code>
* @deprecated com.google.openrtb.BidRequest.Device.didsha1 is deprecated.
* See openrtb/openrtb-v26.proto;l=1484
* @return The didsha1.
*/
@java.lang.Deprecated java.lang.String getDidsha1();
/**
* <pre>
* DEPRECATED in OpenRTB 2.6+. No replacement.
* Hardware device ID (for example, IMEI); hashed through SHA1.
* Not supported by Google.
* </pre>
*
* <code>optional string didsha1 = 5 [deprecated = true];</code>
* @deprecated com.google.openrtb.BidRequest.Device.didsha1 is deprecated.
* See openrtb/openrtb-v26.proto;l=1484
* @return The bytes for didsha1.
*/
@java.lang.Deprecated com.google.protobuf.ByteString
getDidsha1Bytes();
/**
* <pre>
* DEPRECATED in OpenRTB 2.6+. No replacement.
* Hardware device ID (for example, IMEI); hashed through MD5.
* Not supported by Google.
* </pre>
*
* <code>optional string didmd5 = 6 [deprecated = true];</code>
* @deprecated com.google.openrtb.BidRequest.Device.didmd5 is deprecated.
* See openrtb/openrtb-v26.proto;l=1489
* @return Whether the didmd5 field is set.
*/
@java.lang.Deprecated boolean hasDidmd5();
/**
* <pre>
* DEPRECATED in OpenRTB 2.6+. No replacement.
* Hardware device ID (for example, IMEI); hashed through MD5.
* Not supported by Google.
* </pre>
*
* <code>optional string didmd5 = 6 [deprecated = true];</code>
* @deprecated com.google.openrtb.BidRequest.Device.didmd5 is deprecated.
* See openrtb/openrtb-v26.proto;l=1489
* @return The didmd5.
*/
@java.lang.Deprecated java.lang.String getDidmd5();
/**
* <pre>
* DEPRECATED in OpenRTB 2.6+. No replacement.
* Hardware device ID (for example, IMEI); hashed through MD5.
* Not supported by Google.
* </pre>
*
* <code>optional string didmd5 = 6 [deprecated = true];</code>
* @deprecated com.google.openrtb.BidRequest.Device.didmd5 is deprecated.
* See openrtb/openrtb-v26.proto;l=1489
* @return The bytes for didmd5.
*/
@java.lang.Deprecated com.google.protobuf.ByteString
getDidmd5Bytes();
/**
* <pre>
* DEPRECATED in OpenRTB 2.6+. No replacement.
* Platform device ID (for example, Android ID); hashed through SHA1.
* Not supported by Google.
* </pre>
*
* <code>optional string dpidsha1 = 7 [deprecated = true];</code>
* @deprecated com.google.openrtb.BidRequest.Device.dpidsha1 is deprecated.
* See openrtb/openrtb-v26.proto;l=1494
* @return Whether the dpidsha1 field is set.
*/
@java.lang.Deprecated boolean hasDpidsha1();
/**
* <pre>
* DEPRECATED in OpenRTB 2.6+. No replacement.
* Platform device ID (for example, Android ID); hashed through SHA1.
* Not supported by Google.
* </pre>
*
* <code>optional string dpidsha1 = 7 [deprecated = true];</code>
* @deprecated com.google.openrtb.BidRequest.Device.dpidsha1 is deprecated.
* See openrtb/openrtb-v26.proto;l=1494
* @return The dpidsha1.
*/
@java.lang.Deprecated java.lang.String getDpidsha1();
/**
* <pre>
* DEPRECATED in OpenRTB 2.6+. No replacement.
* Platform device ID (for example, Android ID); hashed through SHA1.
* Not supported by Google.
* </pre>
*
* <code>optional string dpidsha1 = 7 [deprecated = true];</code>
* @deprecated com.google.openrtb.BidRequest.Device.dpidsha1 is deprecated.
* See openrtb/openrtb-v26.proto;l=1494
* @return The bytes for dpidsha1.
*/
@java.lang.Deprecated com.google.protobuf.ByteString
getDpidsha1Bytes();
/**
* <pre>
* DEPRECATED in OpenRTB 2.6+. No replacement.
* Platform device ID (for example, Android ID); hashed through MD5.
* Supported by Google.
* </pre>
*
* <code>optional string dpidmd5 = 8 [deprecated = true];</code>
* @deprecated com.google.openrtb.BidRequest.Device.dpidmd5 is deprecated.
* See openrtb/openrtb-v26.proto;l=1499
* @return Whether the dpidmd5 field is set.
*/
@java.lang.Deprecated boolean hasDpidmd5();
/**
* <pre>
* DEPRECATED in OpenRTB 2.6+. No replacement.
* Platform device ID (for example, Android ID); hashed through MD5.
* Supported by Google.
* </pre>
*
* <code>optional string dpidmd5 = 8 [deprecated = true];</code>
* @deprecated com.google.openrtb.BidRequest.Device.dpidmd5 is deprecated.
* See openrtb/openrtb-v26.proto;l=1499
* @return The dpidmd5.
*/
@java.lang.Deprecated java.lang.String getDpidmd5();
/**
* <pre>
* DEPRECATED in OpenRTB 2.6+. No replacement.
* Platform device ID (for example, Android ID); hashed through MD5.
* Supported by Google.
* </pre>
*
* <code>optional string dpidmd5 = 8 [deprecated = true];</code>
* @deprecated com.google.openrtb.BidRequest.Device.dpidmd5 is deprecated.
* See openrtb/openrtb-v26.proto;l=1499
* @return The bytes for dpidmd5.
*/
@java.lang.Deprecated com.google.protobuf.ByteString
getDpidmd5Bytes();
/**
* <pre>
* DEPRECATED in OpenRTB 2.6+. No replacement.
* MAC address of the device; hashed through SHA1.
* Not supported by Google.
* </pre>
*
* <code>optional string macsha1 = 21 [deprecated = true];</code>
* @deprecated com.google.openrtb.BidRequest.Device.macsha1 is deprecated.
* See openrtb/openrtb-v26.proto;l=1504
* @return Whether the macsha1 field is set.
*/
@java.lang.Deprecated boolean hasMacsha1();
/**
* <pre>
* DEPRECATED in OpenRTB 2.6+. No replacement.
* MAC address of the device; hashed through SHA1.
* Not supported by Google.
* </pre>
*
* <code>optional string macsha1 = 21 [deprecated = true];</code>
* @deprecated com.google.openrtb.BidRequest.Device.macsha1 is deprecated.
* See openrtb/openrtb-v26.proto;l=1504
* @return The macsha1.
*/
@java.lang.Deprecated java.lang.String getMacsha1();
/**
* <pre>
* DEPRECATED in OpenRTB 2.6+. No replacement.
* MAC address of the device; hashed through SHA1.
* Not supported by Google.
* </pre>
*
* <code>optional string macsha1 = 21 [deprecated = true];</code>
* @deprecated com.google.openrtb.BidRequest.Device.macsha1 is deprecated.
* See openrtb/openrtb-v26.proto;l=1504
* @return The bytes for macsha1.
*/
@java.lang.Deprecated com.google.protobuf.ByteString
getMacsha1Bytes();
/**
* <pre>
* DEPRECATED in OpenRTB 2.6+. No replacement.
* MAC address of the device; hashed through MD5.
* Not supported by Google.
* </pre>
*
* <code>optional string macmd5 = 22 [deprecated = true];</code>
* @deprecated com.google.openrtb.BidRequest.Device.macmd5 is deprecated.
* See openrtb/openrtb-v26.proto;l=1509
* @return Whether the macmd5 field is set.
*/
@java.lang.Deprecated boolean hasMacmd5();
/**
* <pre>
* DEPRECATED in OpenRTB 2.6+. No replacement.
* MAC address of the device; hashed through MD5.
* Not supported by Google.
* </pre>
*
* <code>optional string macmd5 = 22 [deprecated = true];</code>
* @deprecated com.google.openrtb.BidRequest.Device.macmd5 is deprecated.
* See openrtb/openrtb-v26.proto;l=1509
* @return The macmd5.
*/
@java.lang.Deprecated java.lang.String getMacmd5();
/**
* <pre>
* DEPRECATED in OpenRTB 2.6+. No replacement.
* MAC address of the device; hashed through MD5.
* Not supported by Google.
* </pre>
*
* <code>optional string macmd5 = 22 [deprecated = true];</code>
* @deprecated com.google.openrtb.BidRequest.Device.macmd5 is deprecated.
* See openrtb/openrtb-v26.proto;l=1509
* @return The bytes for macmd5.
*/
@java.lang.Deprecated com.google.protobuf.ByteString
getMacmd5Bytes();
/**
* <code>optional string ext = 90;</code>
* @return Whether the ext field is set.
*/
boolean hasExt();
/**
* <code>optional string ext = 90;</code>
* @return The ext.
*/
java.lang.String getExt();
/**
* <code>optional string ext = 90;</code>
* @return The bytes for ext.
*/
com.google.protobuf.ByteString
getExtBytes();
}
/**
* <pre>
* OpenRTB 2.0: This object provides information pertaining to the device
* through which the user is interacting. Device information includes its
* hardware, platform, location, and carrier data. The device can refer to a
* mobile handset, a desktop computer, set top box, or other digital device.
* </pre>
*
* Protobuf type {@code com.google.openrtb.BidRequest.Device}
*/
public static final class Device extends
com.google.protobuf.GeneratedMessageLite.ExtendableMessage<
Device, Device.Builder> implements
// @@protoc_insertion_point(message_implements:com.google.openrtb.BidRequest.Device)
DeviceOrBuilder {
private Device() {
ua_ = "";
ip_ = "";
ipv6_ = "";
devicetype_ = 1;
make_ = "";
model_ = "";
os_ = "";
osv_ = "";
hwv_ = "";
flashver_ = "";
language_ = "";
langb_ = "";
carrier_ = "";
mccmnc_ = "";
ifa_ = "";
didsha1_ = "";
didmd5_ = "";
dpidsha1_ = "";
dpidmd5_ = "";
macsha1_ = "";
macmd5_ = "";
ext_ = "";
}
public interface UserAgentOrBuilder extends
// @@protoc_insertion_point(interface_extends:com.google.openrtb.BidRequest.Device.UserAgent)
com.google.protobuf.MessageLiteOrBuilder {
/**
* <pre>
* Each BrandVersion object identifies a browser or similar software
* component. Exchanges should send brands and versions derived from
* the Sec-CH-UA-Full-Version-List header.
* Not supported by Google.
* </pre>
*
* <code>repeated .com.google.openrtb.BidRequest.Device.UserAgent.BrandVersion browsers = 1;</code>
*/
java.util.List<com.particles.mes.protos.openrtb.BidRequest.Device.UserAgent.BrandVersion>
getBrowsersList();
/**
* <pre>
* Each BrandVersion object identifies a browser or similar software
* component. Exchanges should send brands and versions derived from
* the Sec-CH-UA-Full-Version-List header.
* Not supported by Google.
* </pre>
*
* <code>repeated .com.google.openrtb.BidRequest.Device.UserAgent.BrandVersion browsers = 1;</code>
*/
com.particles.mes.protos.openrtb.BidRequest.Device.UserAgent.BrandVersion getBrowsers(int index);
/**
* <pre>
* Each BrandVersion object identifies a browser or similar software
* component. Exchanges should send brands and versions derived from
* the Sec-CH-UA-Full-Version-List header.
* Not supported by Google.
* </pre>
*
* <code>repeated .com.google.openrtb.BidRequest.Device.UserAgent.BrandVersion browsers = 1;</code>
*/
int getBrowsersCount();
/**
* <pre>
* Identifies the user agent's execution platform / OS. Exchanges should
* send a brand derived from the Sec-CH-UA-Platform header, and version
* derived from the Sec-CH-UAPlatform-Version header.
* Not supported by Google.
* </pre>
*
* <code>optional .com.google.openrtb.BidRequest.Device.UserAgent.BrandVersion platform = 2;</code>
* @return Whether the platform field is set.
*/
boolean hasPlatform();
/**
* <pre>
* Identifies the user agent's execution platform / OS. Exchanges should
* send a brand derived from the Sec-CH-UA-Platform header, and version
* derived from the Sec-CH-UAPlatform-Version header.
* Not supported by Google.
* </pre>
*
* <code>optional .com.google.openrtb.BidRequest.Device.UserAgent.BrandVersion platform = 2;</code>
* @return The platform.
*/
com.particles.mes.protos.openrtb.BidRequest.Device.UserAgent.BrandVersion getPlatform();
/**
* <pre>
* true if the agent prefers a "mobile" version of the content if
* available, meaning optimized for small screens or touch input. false if
* the agent prefers the "desktop" or "full" content. Exchanges should
* derive this value from the Sec-CH-UAMobile header.
* Not supported by Google.
* </pre>
*
* <code>optional bool mobile = 3;</code>
* @return Whether the mobile field is set.
*/
boolean hasMobile();
/**
* <pre>
* true if the agent prefers a "mobile" version of the content if
* available, meaning optimized for small screens or touch input. false if
* the agent prefers the "desktop" or "full" content. Exchanges should
* derive this value from the Sec-CH-UAMobile header.
* Not supported by Google.
* </pre>
*
* <code>optional bool mobile = 3;</code>
* @return The mobile.
*/
boolean getMobile();
/**
* <pre>
* Device's major binary architecture, for example, "x86" or "arm".
* Exchanges should retrieve this value from the Sec-CH-UA-Arch header.
* Not supported by Google.
* </pre>
*
* <code>optional string architecture = 4;</code>
* @return Whether the architecture field is set.
*/
boolean hasArchitecture();
/**
* <pre>
* Device's major binary architecture, for example, "x86" or "arm".
* Exchanges should retrieve this value from the Sec-CH-UA-Arch header.
* Not supported by Google.
* </pre>
*
* <code>optional string architecture = 4;</code>
* @return The architecture.
*/
java.lang.String getArchitecture();
/**
* <pre>
* Device's major binary architecture, for example, "x86" or "arm".
* Exchanges should retrieve this value from the Sec-CH-UA-Arch header.
* Not supported by Google.
* </pre>
*
* <code>optional string architecture = 4;</code>
* @return The bytes for architecture.
*/
com.google.protobuf.ByteString
getArchitectureBytes();
/**
* <pre>
* Device's bitness, for example, "64" for 64-bit architecture. Exchanges
* should retrieve this value from the Sec-CH-UA-Bitness header.
* Not supported by Google.
* </pre>
*
* <code>optional string bitness = 5;</code>
* @return Whether the bitness field is set.
*/
boolean hasBitness();
/**
* <pre>
* Device's bitness, for example, "64" for 64-bit architecture. Exchanges
* should retrieve this value from the Sec-CH-UA-Bitness header.
* Not supported by Google.
* </pre>
*
* <code>optional string bitness = 5;</code>
* @return The bitness.
*/
java.lang.String getBitness();
/**
* <pre>
* Device's bitness, for example, "64" for 64-bit architecture. Exchanges
* should retrieve this value from the Sec-CH-UA-Bitness header.
* Not supported by Google.
* </pre>
*
* <code>optional string bitness = 5;</code>
* @return The bytes for bitness.
*/
com.google.protobuf.ByteString
getBitnessBytes();
/**
* <pre>
* Device model. Exchanges should retrieve this value from the
* Sec-CH-UAModel header.
* Not supported by Google.
* </pre>
*
* <code>optional string model = 6;</code>
* @return Whether the model field is set.
*/
boolean hasModel();
/**
* <pre>
* Device model. Exchanges should retrieve this value from the
* Sec-CH-UAModel header.
* Not supported by Google.
* </pre>
*
* <code>optional string model = 6;</code>
* @return The model.
*/
java.lang.String getModel();
/**
* <pre>
* Device model. Exchanges should retrieve this value from the
* Sec-CH-UAModel header.
* Not supported by Google.
* </pre>
*
* <code>optional string model = 6;</code>
* @return The bytes for model.
*/
com.google.protobuf.ByteString
getModelBytes();
/**
* <pre>
* The source of data for the User Agent information.
* Supported by Google.
* </pre>
*
* <code>optional .com.google.openrtb.UserAgentSource source = 7;</code>
* @return Whether the source field is set.
*/
boolean hasSource();
/**
* <pre>
* The source of data for the User Agent information.
* Supported by Google.
* </pre>
*
* <code>optional .com.google.openrtb.UserAgentSource source = 7;</code>
* @return The source.
*/
com.particles.mes.protos.openrtb.UserAgentSource getSource();
}
/**
* <pre>
* Structured user agent information, which can be used when a client
* supports User-Agent Client Hints: https://wicg.github.io/ua-client-hints/
* Note: When available, fields are sourced from Client Hints HTTP headers
* or equivalent JavaScript accessors from the NavigatorUAData interface.
* For agents that have no support for User-Agent Client Hints, an exchange
* can also extract information from the parsed User-Agent header, so this
* object can always be used as the source of the user agent information.
* </pre>
*
* Protobuf type {@code com.google.openrtb.BidRequest.Device.UserAgent}
*/
public static final class UserAgent extends
com.google.protobuf.GeneratedMessageLite<
UserAgent, UserAgent.Builder> implements
// @@protoc_insertion_point(message_implements:com.google.openrtb.BidRequest.Device.UserAgent)
UserAgentOrBuilder {
private UserAgent() {
browsers_ = emptyProtobufList();
architecture_ = "";
bitness_ = "";
model_ = "";
}
public interface BrandVersionOrBuilder extends
// @@protoc_insertion_point(interface_extends:com.google.openrtb.BidRequest.Device.UserAgent.BrandVersion)
com.google.protobuf.MessageLiteOrBuilder {
/**
* <pre>
* A brand identifier, for example, "Chrome" or "Windows". The value may
* be sourced from the User-Agent Client Hints headers, representing
* either the user agent brand (from the Sec-CH-UA-Full-Version header)
* or the platform brand (from the Sec-CH-UA-Platform header).
* Not supported by Google.
* </pre>
*
* <code>optional string brand = 1;</code>
* @return Whether the brand field is set.
*/
boolean hasBrand();
/**
* <pre>
* A brand identifier, for example, "Chrome" or "Windows". The value may
* be sourced from the User-Agent Client Hints headers, representing
* either the user agent brand (from the Sec-CH-UA-Full-Version header)
* or the platform brand (from the Sec-CH-UA-Platform header).
* Not supported by Google.
* </pre>
*
* <code>optional string brand = 1;</code>
* @return The brand.
*/
java.lang.String getBrand();
/**
* <pre>
* A brand identifier, for example, "Chrome" or "Windows". The value may
* be sourced from the User-Agent Client Hints headers, representing
* either the user agent brand (from the Sec-CH-UA-Full-Version header)
* or the platform brand (from the Sec-CH-UA-Platform header).
* Not supported by Google.
* </pre>
*
* <code>optional string brand = 1;</code>
* @return The bytes for brand.
*/
com.google.protobuf.ByteString
getBrandBytes();
/**
* <pre>
* A sequence of version components, in descending hierarchical order
* (major, minor, micro, ...).
* Not supported by Google.
* </pre>
*
* <code>repeated string version = 2;</code>
* @return A list containing the version.
*/
java.util.List<java.lang.String>
getVersionList();
/**
* <pre>
* A sequence of version components, in descending hierarchical order
* (major, minor, micro, ...).
* Not supported by Google.
* </pre>
*
* <code>repeated string version = 2;</code>
* @return The count of version.
*/
int getVersionCount();
/**
* <pre>
* A sequence of version components, in descending hierarchical order
* (major, minor, micro, ...).
* Not supported by Google.
* </pre>
*
* <code>repeated string version = 2;</code>
* @param index The index of the element to return.
* @return The version at the given index.
*/
java.lang.String getVersion(int index);
/**
* <pre>
* A sequence of version components, in descending hierarchical order
* (major, minor, micro, ...).
* Not supported by Google.
* </pre>
*
* <code>repeated string version = 2;</code>
* @param index The index of the element to return.
* @return The version at the given index.
*/
com.google.protobuf.ByteString
getVersionBytes(int index);
}
/**
* <pre>
* Identifies a device's browser or similar software component, and the
* user agent's execution platform or operating system.
* </pre>
*
* Protobuf type {@code com.google.openrtb.BidRequest.Device.UserAgent.BrandVersion}
*/
public static final class BrandVersion extends
com.google.protobuf.GeneratedMessageLite<
BrandVersion, BrandVersion.Builder> implements
// @@protoc_insertion_point(message_implements:com.google.openrtb.BidRequest.Device.UserAgent.BrandVersion)
BrandVersionOrBuilder {
private BrandVersion() {
brand_ = "";
version_ = com.google.protobuf.GeneratedMessageLite.emptyProtobufList();
}
private int bitField0_;
public static final int BRAND_FIELD_NUMBER = 1;
private java.lang.String brand_;
/**
* <pre>
* A brand identifier, for example, "Chrome" or "Windows". The value may
* be sourced from the User-Agent Client Hints headers, representing
* either the user agent brand (from the Sec-CH-UA-Full-Version header)
* or the platform brand (from the Sec-CH-UA-Platform header).
* Not supported by Google.
* </pre>
*
* <code>optional string brand = 1;</code>
* @return Whether the brand field is set.
*/
@java.lang.Override
public boolean hasBrand() {
return ((bitField0_ & 0x00000001) != 0);
}
/**
* <pre>
* A brand identifier, for example, "Chrome" or "Windows". The value may
* be sourced from the User-Agent Client Hints headers, representing
* either the user agent brand (from the Sec-CH-UA-Full-Version header)
* or the platform brand (from the Sec-CH-UA-Platform header).
* Not supported by Google.
* </pre>
*
* <code>optional string brand = 1;</code>
* @return The brand.
*/
@java.lang.Override
public java.lang.String getBrand() {
return brand_;
}
/**
* <pre>
* A brand identifier, for example, "Chrome" or "Windows". The value may
* be sourced from the User-Agent Client Hints headers, representing
* either the user agent brand (from the Sec-CH-UA-Full-Version header)
* or the platform brand (from the Sec-CH-UA-Platform header).
* Not supported by Google.
* </pre>
*
* <code>optional string brand = 1;</code>
* @return The bytes for brand.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getBrandBytes() {
return com.google.protobuf.ByteString.copyFromUtf8(brand_);
}
/**
* <pre>
* A brand identifier, for example, "Chrome" or "Windows". The value may
* be sourced from the User-Agent Client Hints headers, representing
* either the user agent brand (from the Sec-CH-UA-Full-Version header)
* or the platform brand (from the Sec-CH-UA-Platform header).
* Not supported by Google.
* </pre>
*
* <code>optional string brand = 1;</code>
* @param value The brand to set.
*/
private void setBrand(
java.lang.String value) {
java.lang.Class<?> valueClass = value.getClass();
bitField0_ |= 0x00000001;
brand_ = value;
}
/**
* <pre>
* A brand identifier, for example, "Chrome" or "Windows". The value may
* be sourced from the User-Agent Client Hints headers, representing
* either the user agent brand (from the Sec-CH-UA-Full-Version header)
* or the platform brand (from the Sec-CH-UA-Platform header).
* Not supported by Google.
* </pre>
*
* <code>optional string brand = 1;</code>
*/
private void clearBrand() {
bitField0_ = (bitField0_ & ~0x00000001);
brand_ = getDefaultInstance().getBrand();
}
/**
* <pre>
* A brand identifier, for example, "Chrome" or "Windows". The value may
* be sourced from the User-Agent Client Hints headers, representing
* either the user agent brand (from the Sec-CH-UA-Full-Version header)
* or the platform brand (from the Sec-CH-UA-Platform header).
* Not supported by Google.
* </pre>
*
* <code>optional string brand = 1;</code>
* @param value The bytes for brand to set.
*/
private void setBrandBytes(
com.google.protobuf.ByteString value) {
brand_ = value.toStringUtf8();
bitField0_ |= 0x00000001;
}
public static final int VERSION_FIELD_NUMBER = 2;
private com.google.protobuf.Internal.ProtobufList<java.lang.String> version_;
/**
* <pre>
* A sequence of version components, in descending hierarchical order
* (major, minor, micro, ...).
* Not supported by Google.
* </pre>
*
* <code>repeated string version = 2;</code>
* @return A list containing the version.
*/
@java.lang.Override
public java.util.List<java.lang.String> getVersionList() {
return version_;
}
/**
* <pre>
* A sequence of version components, in descending hierarchical order
* (major, minor, micro, ...).
* Not supported by Google.
* </pre>
*
* <code>repeated string version = 2;</code>
* @return The count of version.
*/
@java.lang.Override
public int getVersionCount() {
return version_.size();
}
/**
* <pre>
* A sequence of version components, in descending hierarchical order
* (major, minor, micro, ...).
* Not supported by Google.
* </pre>
*
* <code>repeated string version = 2;</code>
* @param index The index of the element to return.
* @return The version at the given index.
*/
@java.lang.Override
public java.lang.String getVersion(int index) {
return version_.get(index);
}
/**
* <pre>
* A sequence of version components, in descending hierarchical order
* (major, minor, micro, ...).
* Not supported by Google.
* </pre>
*
* <code>repeated string version = 2;</code>
* @param index The index of the value to return.
* @return The bytes of the version at the given index.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getVersionBytes(int index) {
return com.google.protobuf.ByteString.copyFromUtf8(
version_.get(index));
}
private void ensureVersionIsMutable() {
com.google.protobuf.Internal.ProtobufList<java.lang.String> tmp =
version_; if (!tmp.isModifiable()) {
version_ =
com.google.protobuf.GeneratedMessageLite.mutableCopy(tmp);
}
}
/**
* <pre>
* A sequence of version components, in descending hierarchical order
* (major, minor, micro, ...).
* Not supported by Google.
* </pre>
*
* <code>repeated string version = 2;</code>
* @param index The index to set the value at.
* @param value The version to set.
*/
private void setVersion(
int index, java.lang.String value) {
java.lang.Class<?> valueClass = value.getClass();
ensureVersionIsMutable();
version_.set(index, value);
}
/**
* <pre>
* A sequence of version components, in descending hierarchical order
* (major, minor, micro, ...).
* Not supported by Google.
* </pre>
*
* <code>repeated string version = 2;</code>
* @param value The version to add.
*/
private void addVersion(
java.lang.String value) {
java.lang.Class<?> valueClass = value.getClass();
ensureVersionIsMutable();
version_.add(value);
}
/**
* <pre>
* A sequence of version components, in descending hierarchical order
* (major, minor, micro, ...).
* Not supported by Google.
* </pre>
*
* <code>repeated string version = 2;</code>
* @param values The version to add.
*/
private void addAllVersion(
java.lang.Iterable<java.lang.String> values) {
ensureVersionIsMutable();
com.google.protobuf.AbstractMessageLite.addAll(
values, version_);
}
/**
* <pre>
* A sequence of version components, in descending hierarchical order
* (major, minor, micro, ...).
* Not supported by Google.
* </pre>
*
* <code>repeated string version = 2;</code>
*/
private void clearVersion() {
version_ = com.google.protobuf.GeneratedMessageLite.emptyProtobufList();
}
/**
* <pre>
* A sequence of version components, in descending hierarchical order
* (major, minor, micro, ...).
* Not supported by Google.
* </pre>
*
* <code>repeated string version = 2;</code>
* @param value The bytes of the version to add.
*/
private void addVersionBytes(
com.google.protobuf.ByteString value) {
ensureVersionIsMutable();
version_.add(value.toStringUtf8());
}
public static com.particles.mes.protos.openrtb.BidRequest.Device.UserAgent.BrandVersion parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, data);
}
public static com.particles.mes.protos.openrtb.BidRequest.Device.UserAgent.BrandVersion parseFrom(
java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, data, extensionRegistry);
}
public static com.particles.mes.protos.openrtb.BidRequest.Device.UserAgent.BrandVersion parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, data);
}
public static com.particles.mes.protos.openrtb.BidRequest.Device.UserAgent.BrandVersion parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, data, extensionRegistry);
}
public static com.particles.mes.protos.openrtb.BidRequest.Device.UserAgent.BrandVersion parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, data);
}
public static com.particles.mes.protos.openrtb.BidRequest.Device.UserAgent.BrandVersion parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, data, extensionRegistry);
}
public static com.particles.mes.protos.openrtb.BidRequest.Device.UserAgent.BrandVersion parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, input);
}
public static com.particles.mes.protos.openrtb.BidRequest.Device.UserAgent.BrandVersion parseFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, input, extensionRegistry);
}
public static com.particles.mes.protos.openrtb.BidRequest.Device.UserAgent.BrandVersion parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return parseDelimitedFrom(DEFAULT_INSTANCE, input);
}
public static com.particles.mes.protos.openrtb.BidRequest.Device.UserAgent.BrandVersion parseDelimitedFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return parseDelimitedFrom(DEFAULT_INSTANCE, input, extensionRegistry);
}
public static com.particles.mes.protos.openrtb.BidRequest.Device.UserAgent.BrandVersion parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, input);
}
public static com.particles.mes.protos.openrtb.BidRequest.Device.UserAgent.BrandVersion parseFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, input, extensionRegistry);
}
public static Builder newBuilder() {
return (Builder) DEFAULT_INSTANCE.createBuilder();
}
public static Builder newBuilder(com.particles.mes.protos.openrtb.BidRequest.Device.UserAgent.BrandVersion prototype) {
return (Builder) DEFAULT_INSTANCE.createBuilder(prototype);
}
/**
* <pre>
* Identifies a device's browser or similar software component, and the
* user agent's execution platform or operating system.
* </pre>
*
* Protobuf type {@code com.google.openrtb.BidRequest.Device.UserAgent.BrandVersion}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageLite.Builder<
com.particles.mes.protos.openrtb.BidRequest.Device.UserAgent.BrandVersion, Builder> implements
// @@protoc_insertion_point(builder_implements:com.google.openrtb.BidRequest.Device.UserAgent.BrandVersion)
com.particles.mes.protos.openrtb.BidRequest.Device.UserAgent.BrandVersionOrBuilder {
// Construct using com.particles.mes.protos.openrtb.BidRequest.Device.UserAgent.BrandVersion.newBuilder()
private Builder() {
super(DEFAULT_INSTANCE);
}
/**
* <pre>
* A brand identifier, for example, "Chrome" or "Windows". The value may
* be sourced from the User-Agent Client Hints headers, representing
* either the user agent brand (from the Sec-CH-UA-Full-Version header)
* or the platform brand (from the Sec-CH-UA-Platform header).
* Not supported by Google.
* </pre>
*
* <code>optional string brand = 1;</code>
* @return Whether the brand field is set.
*/
@java.lang.Override
public boolean hasBrand() {
return instance.hasBrand();
}
/**
* <pre>
* A brand identifier, for example, "Chrome" or "Windows". The value may
* be sourced from the User-Agent Client Hints headers, representing
* either the user agent brand (from the Sec-CH-UA-Full-Version header)
* or the platform brand (from the Sec-CH-UA-Platform header).
* Not supported by Google.
* </pre>
*
* <code>optional string brand = 1;</code>
* @return The brand.
*/
@java.lang.Override
public java.lang.String getBrand() {
return instance.getBrand();
}
/**
* <pre>
* A brand identifier, for example, "Chrome" or "Windows". The value may
* be sourced from the User-Agent Client Hints headers, representing
* either the user agent brand (from the Sec-CH-UA-Full-Version header)
* or the platform brand (from the Sec-CH-UA-Platform header).
* Not supported by Google.
* </pre>
*
* <code>optional string brand = 1;</code>
* @return The bytes for brand.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getBrandBytes() {
return instance.getBrandBytes();
}
/**
* <pre>
* A brand identifier, for example, "Chrome" or "Windows". The value may
* be sourced from the User-Agent Client Hints headers, representing
* either the user agent brand (from the Sec-CH-UA-Full-Version header)
* or the platform brand (from the Sec-CH-UA-Platform header).
* Not supported by Google.
* </pre>
*
* <code>optional string brand = 1;</code>
* @param value The brand to set.
* @return This builder for chaining.
*/
public Builder setBrand(
java.lang.String value) {
copyOnWrite();
instance.setBrand(value);
return this;
}
/**
* <pre>
* A brand identifier, for example, "Chrome" or "Windows". The value may
* be sourced from the User-Agent Client Hints headers, representing
* either the user agent brand (from the Sec-CH-UA-Full-Version header)
* or the platform brand (from the Sec-CH-UA-Platform header).
* Not supported by Google.
* </pre>
*
* <code>optional string brand = 1;</code>
* @return This builder for chaining.
*/
public Builder clearBrand() {
copyOnWrite();
instance.clearBrand();
return this;
}
/**
* <pre>
* A brand identifier, for example, "Chrome" or "Windows". The value may
* be sourced from the User-Agent Client Hints headers, representing
* either the user agent brand (from the Sec-CH-UA-Full-Version header)
* or the platform brand (from the Sec-CH-UA-Platform header).
* Not supported by Google.
* </pre>
*
* <code>optional string brand = 1;</code>
* @param value The bytes for brand to set.
* @return This builder for chaining.
*/
public Builder setBrandBytes(
com.google.protobuf.ByteString value) {
copyOnWrite();
instance.setBrandBytes(value);
return this;
}
/**
* <pre>
* A sequence of version components, in descending hierarchical order
* (major, minor, micro, ...).
* Not supported by Google.
* </pre>
*
* <code>repeated string version = 2;</code>
* @return A list containing the version.
*/
@java.lang.Override
public java.util.List<java.lang.String>
getVersionList() {
return java.util.Collections.unmodifiableList(
instance.getVersionList());
}
/**
* <pre>
* A sequence of version components, in descending hierarchical order
* (major, minor, micro, ...).
* Not supported by Google.
* </pre>
*
* <code>repeated string version = 2;</code>
* @return The count of version.
*/
@java.lang.Override
public int getVersionCount() {
return instance.getVersionCount();
}
/**
* <pre>
* A sequence of version components, in descending hierarchical order
* (major, minor, micro, ...).
* Not supported by Google.
* </pre>
*
* <code>repeated string version = 2;</code>
* @param index The index of the element to return.
* @return The version at the given index.
*/
@java.lang.Override
public java.lang.String getVersion(int index) {
return instance.getVersion(index);
}
/**
* <pre>
* A sequence of version components, in descending hierarchical order
* (major, minor, micro, ...).
* Not supported by Google.
* </pre>
*
* <code>repeated string version = 2;</code>
* @param index The index of the value to return.
* @return The bytes of the version at the given index.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getVersionBytes(int index) {
return instance.getVersionBytes(index);
}
/**
* <pre>
* A sequence of version components, in descending hierarchical order
* (major, minor, micro, ...).
* Not supported by Google.
* </pre>
*
* <code>repeated string version = 2;</code>
* @param index The index to set the value at.
* @param value The version to set.
* @return This builder for chaining.
*/
public Builder setVersion(
int index, java.lang.String value) {
copyOnWrite();
instance.setVersion(index, value);
return this;
}
/**
* <pre>
* A sequence of version components, in descending hierarchical order
* (major, minor, micro, ...).
* Not supported by Google.
* </pre>
*
* <code>repeated string version = 2;</code>
* @param value The version to add.
* @return This builder for chaining.
*/
public Builder addVersion(
java.lang.String value) {
copyOnWrite();
instance.addVersion(value);
return this;
}
/**
* <pre>
* A sequence of version components, in descending hierarchical order
* (major, minor, micro, ...).
* Not supported by Google.
* </pre>
*
* <code>repeated string version = 2;</code>
* @param values The version to add.
* @return This builder for chaining.
*/
public Builder addAllVersion(
java.lang.Iterable<java.lang.String> values) {
copyOnWrite();
instance.addAllVersion(values);
return this;
}
/**
* <pre>
* A sequence of version components, in descending hierarchical order
* (major, minor, micro, ...).
* Not supported by Google.
* </pre>
*
* <code>repeated string version = 2;</code>
* @return This builder for chaining.
*/
public Builder clearVersion() {
copyOnWrite();
instance.clearVersion();
return this;
}
/**
* <pre>
* A sequence of version components, in descending hierarchical order
* (major, minor, micro, ...).
* Not supported by Google.
* </pre>
*
* <code>repeated string version = 2;</code>
* @param value The bytes of the version to add.
* @return This builder for chaining.
*/
public Builder addVersionBytes(
com.google.protobuf.ByteString value) {
copyOnWrite();
instance.addVersionBytes(value);
return this;
}
// @@protoc_insertion_point(builder_scope:com.google.openrtb.BidRequest.Device.UserAgent.BrandVersion)
}
@java.lang.Override
@java.lang.SuppressWarnings({"unchecked", "fallthrough"})
protected final java.lang.Object dynamicMethod(
com.google.protobuf.GeneratedMessageLite.MethodToInvoke method,
java.lang.Object arg0, java.lang.Object arg1) {
switch (method) {
case NEW_MUTABLE_INSTANCE: {
return new com.particles.mes.protos.openrtb.BidRequest.Device.UserAgent.BrandVersion();
}
case NEW_BUILDER: {
return new Builder();
}
case BUILD_MESSAGE_INFO: {
java.lang.Object[] objects = new java.lang.Object[] {
"bitField0_",
"brand_",
"version_",
};
java.lang.String info =
"\u0001\u0002\u0000\u0001\u0001\u0002\u0002\u0000\u0001\u0000\u0001\u1008\u0000\u0002" +
"\u001a";
return newMessageInfo(DEFAULT_INSTANCE, info, objects);
}
// fall through
case GET_DEFAULT_INSTANCE: {
return DEFAULT_INSTANCE;
}
case GET_PARSER: {
com.google.protobuf.Parser<com.particles.mes.protos.openrtb.BidRequest.Device.UserAgent.BrandVersion> parser = PARSER;
if (parser == null) {
synchronized (com.particles.mes.protos.openrtb.BidRequest.Device.UserAgent.BrandVersion.class) {
parser = PARSER;
if (parser == null) {
parser =
new DefaultInstanceBasedParser<com.particles.mes.protos.openrtb.BidRequest.Device.UserAgent.BrandVersion>(
DEFAULT_INSTANCE);
PARSER = parser;
}
}
}
return parser;
}
case GET_MEMOIZED_IS_INITIALIZED: {
return (byte) 1;
}
case SET_MEMOIZED_IS_INITIALIZED: {
return null;
}
}
throw new UnsupportedOperationException();
}
// @@protoc_insertion_point(class_scope:com.google.openrtb.BidRequest.Device.UserAgent.BrandVersion)
private static final com.particles.mes.protos.openrtb.BidRequest.Device.UserAgent.BrandVersion DEFAULT_INSTANCE;
static {
BrandVersion defaultInstance = new BrandVersion();
// New instances are implicitly immutable so no need to make
// immutable.
DEFAULT_INSTANCE = defaultInstance;
com.google.protobuf.GeneratedMessageLite.registerDefaultInstance(
BrandVersion.class, defaultInstance);
}
public static com.particles.mes.protos.openrtb.BidRequest.Device.UserAgent.BrandVersion getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static volatile com.google.protobuf.Parser<BrandVersion> PARSER;
public static com.google.protobuf.Parser<BrandVersion> parser() {
return DEFAULT_INSTANCE.getParserForType();
}
}
private int bitField0_;
public static final int BROWSERS_FIELD_NUMBER = 1;
private com.google.protobuf.Internal.ProtobufList<com.particles.mes.protos.openrtb.BidRequest.Device.UserAgent.BrandVersion> browsers_;
/**
* <pre>
* Each BrandVersion object identifies a browser or similar software
* component. Exchanges should send brands and versions derived from
* the Sec-CH-UA-Full-Version-List header.
* Not supported by Google.
* </pre>
*
* <code>repeated .com.google.openrtb.BidRequest.Device.UserAgent.BrandVersion browsers = 1;</code>
*/
@java.lang.Override
public java.util.List<com.particles.mes.protos.openrtb.BidRequest.Device.UserAgent.BrandVersion> getBrowsersList() {
return browsers_;
}
/**
* <pre>
* Each BrandVersion object identifies a browser or similar software
* component. Exchanges should send brands and versions derived from
* the Sec-CH-UA-Full-Version-List header.
* Not supported by Google.
* </pre>
*
* <code>repeated .com.google.openrtb.BidRequest.Device.UserAgent.BrandVersion browsers = 1;</code>
*/
public java.util.List<? extends com.particles.mes.protos.openrtb.BidRequest.Device.UserAgent.BrandVersionOrBuilder>
getBrowsersOrBuilderList() {
return browsers_;
}
/**
* <pre>
* Each BrandVersion object identifies a browser or similar software
* component. Exchanges should send brands and versions derived from
* the Sec-CH-UA-Full-Version-List header.
* Not supported by Google.
* </pre>
*
* <code>repeated .com.google.openrtb.BidRequest.Device.UserAgent.BrandVersion browsers = 1;</code>
*/
@java.lang.Override
public int getBrowsersCount() {
return browsers_.size();
}
/**
* <pre>
* Each BrandVersion object identifies a browser or similar software
* component. Exchanges should send brands and versions derived from
* the Sec-CH-UA-Full-Version-List header.
* Not supported by Google.
* </pre>
*
* <code>repeated .com.google.openrtb.BidRequest.Device.UserAgent.BrandVersion browsers = 1;</code>
*/
@java.lang.Override
public com.particles.mes.protos.openrtb.BidRequest.Device.UserAgent.BrandVersion getBrowsers(int index) {
return browsers_.get(index);
}
/**
* <pre>
* Each BrandVersion object identifies a browser or similar software
* component. Exchanges should send brands and versions derived from
* the Sec-CH-UA-Full-Version-List header.
* Not supported by Google.
* </pre>
*
* <code>repeated .com.google.openrtb.BidRequest.Device.UserAgent.BrandVersion browsers = 1;</code>
*/
public com.particles.mes.protos.openrtb.BidRequest.Device.UserAgent.BrandVersionOrBuilder getBrowsersOrBuilder(
int index) {
return browsers_.get(index);
}
private void ensureBrowsersIsMutable() {
com.google.protobuf.Internal.ProtobufList<com.particles.mes.protos.openrtb.BidRequest.Device.UserAgent.BrandVersion> tmp = browsers_;
if (!tmp.isModifiable()) {
browsers_ =
com.google.protobuf.GeneratedMessageLite.mutableCopy(tmp);
}
}
/**
* <pre>
* Each BrandVersion object identifies a browser or similar software
* component. Exchanges should send brands and versions derived from
* the Sec-CH-UA-Full-Version-List header.
* Not supported by Google.
* </pre>
*
* <code>repeated .com.google.openrtb.BidRequest.Device.UserAgent.BrandVersion browsers = 1;</code>
*/
private void setBrowsers(
int index, com.particles.mes.protos.openrtb.BidRequest.Device.UserAgent.BrandVersion value) {
value.getClass();
ensureBrowsersIsMutable();
browsers_.set(index, value);
}
/**
* <pre>
* Each BrandVersion object identifies a browser or similar software
* component. Exchanges should send brands and versions derived from
* the Sec-CH-UA-Full-Version-List header.
* Not supported by Google.
* </pre>
*
* <code>repeated .com.google.openrtb.BidRequest.Device.UserAgent.BrandVersion browsers = 1;</code>
*/
private void addBrowsers(com.particles.mes.protos.openrtb.BidRequest.Device.UserAgent.BrandVersion value) {
value.getClass();
ensureBrowsersIsMutable();
browsers_.add(value);
}
/**
* <pre>
* Each BrandVersion object identifies a browser or similar software
* component. Exchanges should send brands and versions derived from
* the Sec-CH-UA-Full-Version-List header.
* Not supported by Google.
* </pre>
*
* <code>repeated .com.google.openrtb.BidRequest.Device.UserAgent.BrandVersion browsers = 1;</code>
*/
private void addBrowsers(
int index, com.particles.mes.protos.openrtb.BidRequest.Device.UserAgent.BrandVersion value) {
value.getClass();
ensureBrowsersIsMutable();
browsers_.add(index, value);
}
/**
* <pre>
* Each BrandVersion object identifies a browser or similar software
* component. Exchanges should send brands and versions derived from
* the Sec-CH-UA-Full-Version-List header.
* Not supported by Google.
* </pre>
*
* <code>repeated .com.google.openrtb.BidRequest.Device.UserAgent.BrandVersion browsers = 1;</code>
*/
private void addAllBrowsers(
java.lang.Iterable<? extends com.particles.mes.protos.openrtb.BidRequest.Device.UserAgent.BrandVersion> values) {
ensureBrowsersIsMutable();
com.google.protobuf.AbstractMessageLite.addAll(
values, browsers_);
}
/**
* <pre>
* Each BrandVersion object identifies a browser or similar software
* component. Exchanges should send brands and versions derived from
* the Sec-CH-UA-Full-Version-List header.
* Not supported by Google.
* </pre>
*
* <code>repeated .com.google.openrtb.BidRequest.Device.UserAgent.BrandVersion browsers = 1;</code>
*/
private void clearBrowsers() {
browsers_ = emptyProtobufList();
}
/**
* <pre>
* Each BrandVersion object identifies a browser or similar software
* component. Exchanges should send brands and versions derived from
* the Sec-CH-UA-Full-Version-List header.
* Not supported by Google.
* </pre>
*
* <code>repeated .com.google.openrtb.BidRequest.Device.UserAgent.BrandVersion browsers = 1;</code>
*/
private void removeBrowsers(int index) {
ensureBrowsersIsMutable();
browsers_.remove(index);
}
public static final int PLATFORM_FIELD_NUMBER = 2;
private com.particles.mes.protos.openrtb.BidRequest.Device.UserAgent.BrandVersion platform_;
/**
* <pre>
* Identifies the user agent's execution platform / OS. Exchanges should
* send a brand derived from the Sec-CH-UA-Platform header, and version
* derived from the Sec-CH-UAPlatform-Version header.
* Not supported by Google.
* </pre>
*
* <code>optional .com.google.openrtb.BidRequest.Device.UserAgent.BrandVersion platform = 2;</code>
*/
@java.lang.Override
public boolean hasPlatform() {
return ((bitField0_ & 0x00000001) != 0);
}
/**
* <pre>
* Identifies the user agent's execution platform / OS. Exchanges should
* send a brand derived from the Sec-CH-UA-Platform header, and version
* derived from the Sec-CH-UAPlatform-Version header.
* Not supported by Google.
* </pre>
*
* <code>optional .com.google.openrtb.BidRequest.Device.UserAgent.BrandVersion platform = 2;</code>
*/
@java.lang.Override
public com.particles.mes.protos.openrtb.BidRequest.Device.UserAgent.BrandVersion getPlatform() {
return platform_ == null ? com.particles.mes.protos.openrtb.BidRequest.Device.UserAgent.BrandVersion.getDefaultInstance() : platform_;
}
/**
* <pre>
* Identifies the user agent's execution platform / OS. Exchanges should
* send a brand derived from the Sec-CH-UA-Platform header, and version
* derived from the Sec-CH-UAPlatform-Version header.
* Not supported by Google.
* </pre>
*
* <code>optional .com.google.openrtb.BidRequest.Device.UserAgent.BrandVersion platform = 2;</code>
*/
private void setPlatform(com.particles.mes.protos.openrtb.BidRequest.Device.UserAgent.BrandVersion value) {
value.getClass();
platform_ = value;
bitField0_ |= 0x00000001;
}
/**
* <pre>
* Identifies the user agent's execution platform / OS. Exchanges should
* send a brand derived from the Sec-CH-UA-Platform header, and version
* derived from the Sec-CH-UAPlatform-Version header.
* Not supported by Google.
* </pre>
*
* <code>optional .com.google.openrtb.BidRequest.Device.UserAgent.BrandVersion platform = 2;</code>
*/
@java.lang.SuppressWarnings({"ReferenceEquality"})
private void mergePlatform(com.particles.mes.protos.openrtb.BidRequest.Device.UserAgent.BrandVersion value) {
value.getClass();
if (platform_ != null &&
platform_ != com.particles.mes.protos.openrtb.BidRequest.Device.UserAgent.BrandVersion.getDefaultInstance()) {
platform_ =
com.particles.mes.protos.openrtb.BidRequest.Device.UserAgent.BrandVersion.newBuilder(platform_).mergeFrom(value).buildPartial();
} else {
platform_ = value;
}
bitField0_ |= 0x00000001;
}
/**
* <pre>
* Identifies the user agent's execution platform / OS. Exchanges should
* send a brand derived from the Sec-CH-UA-Platform header, and version
* derived from the Sec-CH-UAPlatform-Version header.
* Not supported by Google.
* </pre>
*
* <code>optional .com.google.openrtb.BidRequest.Device.UserAgent.BrandVersion platform = 2;</code>
*/
private void clearPlatform() { platform_ = null;
bitField0_ = (bitField0_ & ~0x00000001);
}
public static final int MOBILE_FIELD_NUMBER = 3;
private boolean mobile_;
/**
* <pre>
* true if the agent prefers a "mobile" version of the content if
* available, meaning optimized for small screens or touch input. false if
* the agent prefers the "desktop" or "full" content. Exchanges should
* derive this value from the Sec-CH-UAMobile header.
* Not supported by Google.
* </pre>
*
* <code>optional bool mobile = 3;</code>
* @return Whether the mobile field is set.
*/
@java.lang.Override
public boolean hasMobile() {
return ((bitField0_ & 0x00000002) != 0);
}
/**
* <pre>
* true if the agent prefers a "mobile" version of the content if
* available, meaning optimized for small screens or touch input. false if
* the agent prefers the "desktop" or "full" content. Exchanges should
* derive this value from the Sec-CH-UAMobile header.
* Not supported by Google.
* </pre>
*
* <code>optional bool mobile = 3;</code>
* @return The mobile.
*/
@java.lang.Override
public boolean getMobile() {
return mobile_;
}
/**
* <pre>
* true if the agent prefers a "mobile" version of the content if
* available, meaning optimized for small screens or touch input. false if
* the agent prefers the "desktop" or "full" content. Exchanges should
* derive this value from the Sec-CH-UAMobile header.
* Not supported by Google.
* </pre>
*
* <code>optional bool mobile = 3;</code>
* @param value The mobile to set.
*/
private void setMobile(boolean value) {
bitField0_ |= 0x00000002;
mobile_ = value;
}
/**
* <pre>
* true if the agent prefers a "mobile" version of the content if
* available, meaning optimized for small screens or touch input. false if
* the agent prefers the "desktop" or "full" content. Exchanges should
* derive this value from the Sec-CH-UAMobile header.
* Not supported by Google.
* </pre>
*
* <code>optional bool mobile = 3;</code>
*/
private void clearMobile() {
bitField0_ = (bitField0_ & ~0x00000002);
mobile_ = false;
}
public static final int ARCHITECTURE_FIELD_NUMBER = 4;
private java.lang.String architecture_;
/**
* <pre>
* Device's major binary architecture, for example, "x86" or "arm".
* Exchanges should retrieve this value from the Sec-CH-UA-Arch header.
* Not supported by Google.
* </pre>
*
* <code>optional string architecture = 4;</code>
* @return Whether the architecture field is set.
*/
@java.lang.Override
public boolean hasArchitecture() {
return ((bitField0_ & 0x00000004) != 0);
}
/**
* <pre>
* Device's major binary architecture, for example, "x86" or "arm".
* Exchanges should retrieve this value from the Sec-CH-UA-Arch header.
* Not supported by Google.
* </pre>
*
* <code>optional string architecture = 4;</code>
* @return The architecture.
*/
@java.lang.Override
public java.lang.String getArchitecture() {
return architecture_;
}
/**
* <pre>
* Device's major binary architecture, for example, "x86" or "arm".
* Exchanges should retrieve this value from the Sec-CH-UA-Arch header.
* Not supported by Google.
* </pre>
*
* <code>optional string architecture = 4;</code>
* @return The bytes for architecture.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getArchitectureBytes() {
return com.google.protobuf.ByteString.copyFromUtf8(architecture_);
}
/**
* <pre>
* Device's major binary architecture, for example, "x86" or "arm".
* Exchanges should retrieve this value from the Sec-CH-UA-Arch header.
* Not supported by Google.
* </pre>
*
* <code>optional string architecture = 4;</code>
* @param value The architecture to set.
*/
private void setArchitecture(
java.lang.String value) {
java.lang.Class<?> valueClass = value.getClass();
bitField0_ |= 0x00000004;
architecture_ = value;
}
/**
* <pre>
* Device's major binary architecture, for example, "x86" or "arm".
* Exchanges should retrieve this value from the Sec-CH-UA-Arch header.
* Not supported by Google.
* </pre>
*
* <code>optional string architecture = 4;</code>
*/
private void clearArchitecture() {
bitField0_ = (bitField0_ & ~0x00000004);
architecture_ = getDefaultInstance().getArchitecture();
}
/**
* <pre>
* Device's major binary architecture, for example, "x86" or "arm".
* Exchanges should retrieve this value from the Sec-CH-UA-Arch header.
* Not supported by Google.
* </pre>
*
* <code>optional string architecture = 4;</code>
* @param value The bytes for architecture to set.
*/
private void setArchitectureBytes(
com.google.protobuf.ByteString value) {
architecture_ = value.toStringUtf8();
bitField0_ |= 0x00000004;
}
public static final int BITNESS_FIELD_NUMBER = 5;
private java.lang.String bitness_;
/**
* <pre>
* Device's bitness, for example, "64" for 64-bit architecture. Exchanges
* should retrieve this value from the Sec-CH-UA-Bitness header.
* Not supported by Google.
* </pre>
*
* <code>optional string bitness = 5;</code>
* @return Whether the bitness field is set.
*/
@java.lang.Override
public boolean hasBitness() {
return ((bitField0_ & 0x00000008) != 0);
}
/**
* <pre>
* Device's bitness, for example, "64" for 64-bit architecture. Exchanges
* should retrieve this value from the Sec-CH-UA-Bitness header.
* Not supported by Google.
* </pre>
*
* <code>optional string bitness = 5;</code>
* @return The bitness.
*/
@java.lang.Override
public java.lang.String getBitness() {
return bitness_;
}
/**
* <pre>
* Device's bitness, for example, "64" for 64-bit architecture. Exchanges
* should retrieve this value from the Sec-CH-UA-Bitness header.
* Not supported by Google.
* </pre>
*
* <code>optional string bitness = 5;</code>
* @return The bytes for bitness.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getBitnessBytes() {
return com.google.protobuf.ByteString.copyFromUtf8(bitness_);
}
/**
* <pre>
* Device's bitness, for example, "64" for 64-bit architecture. Exchanges
* should retrieve this value from the Sec-CH-UA-Bitness header.
* Not supported by Google.
* </pre>
*
* <code>optional string bitness = 5;</code>
* @param value The bitness to set.
*/
private void setBitness(
java.lang.String value) {
java.lang.Class<?> valueClass = value.getClass();
bitField0_ |= 0x00000008;
bitness_ = value;
}
/**
* <pre>
* Device's bitness, for example, "64" for 64-bit architecture. Exchanges
* should retrieve this value from the Sec-CH-UA-Bitness header.
* Not supported by Google.
* </pre>
*
* <code>optional string bitness = 5;</code>
*/
private void clearBitness() {
bitField0_ = (bitField0_ & ~0x00000008);
bitness_ = getDefaultInstance().getBitness();
}
/**
* <pre>
* Device's bitness, for example, "64" for 64-bit architecture. Exchanges
* should retrieve this value from the Sec-CH-UA-Bitness header.
* Not supported by Google.
* </pre>
*
* <code>optional string bitness = 5;</code>
* @param value The bytes for bitness to set.
*/
private void setBitnessBytes(
com.google.protobuf.ByteString value) {
bitness_ = value.toStringUtf8();
bitField0_ |= 0x00000008;
}
public static final int MODEL_FIELD_NUMBER = 6;
private java.lang.String model_;
/**
* <pre>
* Device model. Exchanges should retrieve this value from the
* Sec-CH-UAModel header.
* Not supported by Google.
* </pre>
*
* <code>optional string model = 6;</code>
* @return Whether the model field is set.
*/
@java.lang.Override
public boolean hasModel() {
return ((bitField0_ & 0x00000010) != 0);
}
/**
* <pre>
* Device model. Exchanges should retrieve this value from the
* Sec-CH-UAModel header.
* Not supported by Google.
* </pre>
*
* <code>optional string model = 6;</code>
* @return The model.
*/
@java.lang.Override
public java.lang.String getModel() {
return model_;
}
/**
* <pre>
* Device model. Exchanges should retrieve this value from the
* Sec-CH-UAModel header.
* Not supported by Google.
* </pre>
*
* <code>optional string model = 6;</code>
* @return The bytes for model.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getModelBytes() {
return com.google.protobuf.ByteString.copyFromUtf8(model_);
}
/**
* <pre>
* Device model. Exchanges should retrieve this value from the
* Sec-CH-UAModel header.
* Not supported by Google.
* </pre>
*
* <code>optional string model = 6;</code>
* @param value The model to set.
*/
private void setModel(
java.lang.String value) {
java.lang.Class<?> valueClass = value.getClass();
bitField0_ |= 0x00000010;
model_ = value;
}
/**
* <pre>
* Device model. Exchanges should retrieve this value from the
* Sec-CH-UAModel header.
* Not supported by Google.
* </pre>
*
* <code>optional string model = 6;</code>
*/
private void clearModel() {
bitField0_ = (bitField0_ & ~0x00000010);
model_ = getDefaultInstance().getModel();
}
/**
* <pre>
* Device model. Exchanges should retrieve this value from the
* Sec-CH-UAModel header.
* Not supported by Google.
* </pre>
*
* <code>optional string model = 6;</code>
* @param value The bytes for model to set.
*/
private void setModelBytes(
com.google.protobuf.ByteString value) {
model_ = value.toStringUtf8();
bitField0_ |= 0x00000010;
}
public static final int SOURCE_FIELD_NUMBER = 7;
private int source_;
/**
* <pre>
* The source of data for the User Agent information.
* Supported by Google.
* </pre>
*
* <code>optional .com.google.openrtb.UserAgentSource source = 7;</code>
* @return Whether the source field is set.
*/
@java.lang.Override
public boolean hasSource() {
return ((bitField0_ & 0x00000020) != 0);
}
/**
* <pre>
* The source of data for the User Agent information.
* Supported by Google.
* </pre>
*
* <code>optional .com.google.openrtb.UserAgentSource source = 7;</code>
* @return The source.
*/
@java.lang.Override
public com.particles.mes.protos.openrtb.UserAgentSource getSource() {
com.particles.mes.protos.openrtb.UserAgentSource result = com.particles.mes.protos.openrtb.UserAgentSource.forNumber(source_);
return result == null ? com.particles.mes.protos.openrtb.UserAgentSource.UNKNOWN_SOURCE : result;
}
/**
* <pre>
* The source of data for the User Agent information.
* Supported by Google.
* </pre>
*
* <code>optional .com.google.openrtb.UserAgentSource source = 7;</code>
* @param value The source to set.
*/
private void setSource(com.particles.mes.protos.openrtb.UserAgentSource value) {
source_ = value.getNumber();
bitField0_ |= 0x00000020;
}
/**
* <pre>
* The source of data for the User Agent information.
* Supported by Google.
* </pre>
*
* <code>optional .com.google.openrtb.UserAgentSource source = 7;</code>
*/
private void clearSource() {
bitField0_ = (bitField0_ & ~0x00000020);
source_ = 0;
}
public static com.particles.mes.protos.openrtb.BidRequest.Device.UserAgent parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, data);
}
public static com.particles.mes.protos.openrtb.BidRequest.Device.UserAgent parseFrom(
java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, data, extensionRegistry);
}
public static com.particles.mes.protos.openrtb.BidRequest.Device.UserAgent parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, data);
}
public static com.particles.mes.protos.openrtb.BidRequest.Device.UserAgent parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, data, extensionRegistry);
}
public static com.particles.mes.protos.openrtb.BidRequest.Device.UserAgent parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, data);
}
public static com.particles.mes.protos.openrtb.BidRequest.Device.UserAgent parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, data, extensionRegistry);
}
public static com.particles.mes.protos.openrtb.BidRequest.Device.UserAgent parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, input);
}
public static com.particles.mes.protos.openrtb.BidRequest.Device.UserAgent parseFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, input, extensionRegistry);
}
public static com.particles.mes.protos.openrtb.BidRequest.Device.UserAgent parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return parseDelimitedFrom(DEFAULT_INSTANCE, input);
}
public static com.particles.mes.protos.openrtb.BidRequest.Device.UserAgent parseDelimitedFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return parseDelimitedFrom(DEFAULT_INSTANCE, input, extensionRegistry);
}
public static com.particles.mes.protos.openrtb.BidRequest.Device.UserAgent parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, input);
}
public static com.particles.mes.protos.openrtb.BidRequest.Device.UserAgent parseFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, input, extensionRegistry);
}
public static Builder newBuilder() {
return (Builder) DEFAULT_INSTANCE.createBuilder();
}
public static Builder newBuilder(com.particles.mes.protos.openrtb.BidRequest.Device.UserAgent prototype) {
return (Builder) DEFAULT_INSTANCE.createBuilder(prototype);
}
/**
* <pre>
* Structured user agent information, which can be used when a client
* supports User-Agent Client Hints: https://wicg.github.io/ua-client-hints/
* Note: When available, fields are sourced from Client Hints HTTP headers
* or equivalent JavaScript accessors from the NavigatorUAData interface.
* For agents that have no support for User-Agent Client Hints, an exchange
* can also extract information from the parsed User-Agent header, so this
* object can always be used as the source of the user agent information.
* </pre>
*
* Protobuf type {@code com.google.openrtb.BidRequest.Device.UserAgent}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageLite.Builder<
com.particles.mes.protos.openrtb.BidRequest.Device.UserAgent, Builder> implements
// @@protoc_insertion_point(builder_implements:com.google.openrtb.BidRequest.Device.UserAgent)
com.particles.mes.protos.openrtb.BidRequest.Device.UserAgentOrBuilder {
// Construct using com.particles.mes.protos.openrtb.BidRequest.Device.UserAgent.newBuilder()
private Builder() {
super(DEFAULT_INSTANCE);
}
/**
* <pre>
* Each BrandVersion object identifies a browser or similar software
* component. Exchanges should send brands and versions derived from
* the Sec-CH-UA-Full-Version-List header.
* Not supported by Google.
* </pre>
*
* <code>repeated .com.google.openrtb.BidRequest.Device.UserAgent.BrandVersion browsers = 1;</code>
*/
@java.lang.Override
public java.util.List<com.particles.mes.protos.openrtb.BidRequest.Device.UserAgent.BrandVersion> getBrowsersList() {
return java.util.Collections.unmodifiableList(
instance.getBrowsersList());
}
/**
* <pre>
* Each BrandVersion object identifies a browser or similar software
* component. Exchanges should send brands and versions derived from
* the Sec-CH-UA-Full-Version-List header.
* Not supported by Google.
* </pre>
*
* <code>repeated .com.google.openrtb.BidRequest.Device.UserAgent.BrandVersion browsers = 1;</code>
*/
@java.lang.Override
public int getBrowsersCount() {
return instance.getBrowsersCount();
}/**
* <pre>
* Each BrandVersion object identifies a browser or similar software
* component. Exchanges should send brands and versions derived from
* the Sec-CH-UA-Full-Version-List header.
* Not supported by Google.
* </pre>
*
* <code>repeated .com.google.openrtb.BidRequest.Device.UserAgent.BrandVersion browsers = 1;</code>
*/
@java.lang.Override
public com.particles.mes.protos.openrtb.BidRequest.Device.UserAgent.BrandVersion getBrowsers(int index) {
return instance.getBrowsers(index);
}
/**
* <pre>
* Each BrandVersion object identifies a browser or similar software
* component. Exchanges should send brands and versions derived from
* the Sec-CH-UA-Full-Version-List header.
* Not supported by Google.
* </pre>
*
* <code>repeated .com.google.openrtb.BidRequest.Device.UserAgent.BrandVersion browsers = 1;</code>
*/
public Builder setBrowsers(
int index, com.particles.mes.protos.openrtb.BidRequest.Device.UserAgent.BrandVersion value) {
copyOnWrite();
instance.setBrowsers(index, value);
return this;
}
/**
* <pre>
* Each BrandVersion object identifies a browser or similar software
* component. Exchanges should send brands and versions derived from
* the Sec-CH-UA-Full-Version-List header.
* Not supported by Google.
* </pre>
*
* <code>repeated .com.google.openrtb.BidRequest.Device.UserAgent.BrandVersion browsers = 1;</code>
*/
public Builder setBrowsers(
int index, com.particles.mes.protos.openrtb.BidRequest.Device.UserAgent.BrandVersion.Builder builderForValue) {
copyOnWrite();
instance.setBrowsers(index,
builderForValue.build());
return this;
}
/**
* <pre>
* Each BrandVersion object identifies a browser or similar software
* component. Exchanges should send brands and versions derived from
* the Sec-CH-UA-Full-Version-List header.
* Not supported by Google.
* </pre>
*
* <code>repeated .com.google.openrtb.BidRequest.Device.UserAgent.BrandVersion browsers = 1;</code>
*/
public Builder addBrowsers(com.particles.mes.protos.openrtb.BidRequest.Device.UserAgent.BrandVersion value) {
copyOnWrite();
instance.addBrowsers(value);
return this;
}
/**
* <pre>
* Each BrandVersion object identifies a browser or similar software
* component. Exchanges should send brands and versions derived from
* the Sec-CH-UA-Full-Version-List header.
* Not supported by Google.
* </pre>
*
* <code>repeated .com.google.openrtb.BidRequest.Device.UserAgent.BrandVersion browsers = 1;</code>
*/
public Builder addBrowsers(
int index, com.particles.mes.protos.openrtb.BidRequest.Device.UserAgent.BrandVersion value) {
copyOnWrite();
instance.addBrowsers(index, value);
return this;
}
/**
* <pre>
* Each BrandVersion object identifies a browser or similar software
* component. Exchanges should send brands and versions derived from
* the Sec-CH-UA-Full-Version-List header.
* Not supported by Google.
* </pre>
*
* <code>repeated .com.google.openrtb.BidRequest.Device.UserAgent.BrandVersion browsers = 1;</code>
*/
public Builder addBrowsers(
com.particles.mes.protos.openrtb.BidRequest.Device.UserAgent.BrandVersion.Builder builderForValue) {
copyOnWrite();
instance.addBrowsers(builderForValue.build());
return this;
}
/**
* <pre>
* Each BrandVersion object identifies a browser or similar software
* component. Exchanges should send brands and versions derived from
* the Sec-CH-UA-Full-Version-List header.
* Not supported by Google.
* </pre>
*
* <code>repeated .com.google.openrtb.BidRequest.Device.UserAgent.BrandVersion browsers = 1;</code>
*/
public Builder addBrowsers(
int index, com.particles.mes.protos.openrtb.BidRequest.Device.UserAgent.BrandVersion.Builder builderForValue) {
copyOnWrite();
instance.addBrowsers(index,
builderForValue.build());
return this;
}
/**
* <pre>
* Each BrandVersion object identifies a browser or similar software
* component. Exchanges should send brands and versions derived from
* the Sec-CH-UA-Full-Version-List header.
* Not supported by Google.
* </pre>
*
* <code>repeated .com.google.openrtb.BidRequest.Device.UserAgent.BrandVersion browsers = 1;</code>
*/
public Builder addAllBrowsers(
java.lang.Iterable<? extends com.particles.mes.protos.openrtb.BidRequest.Device.UserAgent.BrandVersion> values) {
copyOnWrite();
instance.addAllBrowsers(values);
return this;
}
/**
* <pre>
* Each BrandVersion object identifies a browser or similar software
* component. Exchanges should send brands and versions derived from
* the Sec-CH-UA-Full-Version-List header.
* Not supported by Google.
* </pre>
*
* <code>repeated .com.google.openrtb.BidRequest.Device.UserAgent.BrandVersion browsers = 1;</code>
*/
public Builder clearBrowsers() {
copyOnWrite();
instance.clearBrowsers();
return this;
}
/**
* <pre>
* Each BrandVersion object identifies a browser or similar software
* component. Exchanges should send brands and versions derived from
* the Sec-CH-UA-Full-Version-List header.
* Not supported by Google.
* </pre>
*
* <code>repeated .com.google.openrtb.BidRequest.Device.UserAgent.BrandVersion browsers = 1;</code>
*/
public Builder removeBrowsers(int index) {
copyOnWrite();
instance.removeBrowsers(index);
return this;
}
/**
* <pre>
* Identifies the user agent's execution platform / OS. Exchanges should
* send a brand derived from the Sec-CH-UA-Platform header, and version
* derived from the Sec-CH-UAPlatform-Version header.
* Not supported by Google.
* </pre>
*
* <code>optional .com.google.openrtb.BidRequest.Device.UserAgent.BrandVersion platform = 2;</code>
*/
@java.lang.Override
public boolean hasPlatform() {
return instance.hasPlatform();
}
/**
* <pre>
* Identifies the user agent's execution platform / OS. Exchanges should
* send a brand derived from the Sec-CH-UA-Platform header, and version
* derived from the Sec-CH-UAPlatform-Version header.
* Not supported by Google.
* </pre>
*
* <code>optional .com.google.openrtb.BidRequest.Device.UserAgent.BrandVersion platform = 2;</code>
*/
@java.lang.Override
public com.particles.mes.protos.openrtb.BidRequest.Device.UserAgent.BrandVersion getPlatform() {
return instance.getPlatform();
}
/**
* <pre>
* Identifies the user agent's execution platform / OS. Exchanges should
* send a brand derived from the Sec-CH-UA-Platform header, and version
* derived from the Sec-CH-UAPlatform-Version header.
* Not supported by Google.
* </pre>
*
* <code>optional .com.google.openrtb.BidRequest.Device.UserAgent.BrandVersion platform = 2;</code>
*/
public Builder setPlatform(com.particles.mes.protos.openrtb.BidRequest.Device.UserAgent.BrandVersion value) {
copyOnWrite();
instance.setPlatform(value);
return this;
}
/**
* <pre>
* Identifies the user agent's execution platform / OS. Exchanges should
* send a brand derived from the Sec-CH-UA-Platform header, and version
* derived from the Sec-CH-UAPlatform-Version header.
* Not supported by Google.
* </pre>
*
* <code>optional .com.google.openrtb.BidRequest.Device.UserAgent.BrandVersion platform = 2;</code>
*/
public Builder setPlatform(
com.particles.mes.protos.openrtb.BidRequest.Device.UserAgent.BrandVersion.Builder builderForValue) {
copyOnWrite();
instance.setPlatform(builderForValue.build());
return this;
}
/**
* <pre>
* Identifies the user agent's execution platform / OS. Exchanges should
* send a brand derived from the Sec-CH-UA-Platform header, and version
* derived from the Sec-CH-UAPlatform-Version header.
* Not supported by Google.
* </pre>
*
* <code>optional .com.google.openrtb.BidRequest.Device.UserAgent.BrandVersion platform = 2;</code>
*/
public Builder mergePlatform(com.particles.mes.protos.openrtb.BidRequest.Device.UserAgent.BrandVersion value) {
copyOnWrite();
instance.mergePlatform(value);
return this;
}
/**
* <pre>
* Identifies the user agent's execution platform / OS. Exchanges should
* send a brand derived from the Sec-CH-UA-Platform header, and version
* derived from the Sec-CH-UAPlatform-Version header.
* Not supported by Google.
* </pre>
*
* <code>optional .com.google.openrtb.BidRequest.Device.UserAgent.BrandVersion platform = 2;</code>
*/
public Builder clearPlatform() { copyOnWrite();
instance.clearPlatform();
return this;
}
/**
* <pre>
* true if the agent prefers a "mobile" version of the content if
* available, meaning optimized for small screens or touch input. false if
* the agent prefers the "desktop" or "full" content. Exchanges should
* derive this value from the Sec-CH-UAMobile header.
* Not supported by Google.
* </pre>
*
* <code>optional bool mobile = 3;</code>
* @return Whether the mobile field is set.
*/
@java.lang.Override
public boolean hasMobile() {
return instance.hasMobile();
}
/**
* <pre>
* true if the agent prefers a "mobile" version of the content if
* available, meaning optimized for small screens or touch input. false if
* the agent prefers the "desktop" or "full" content. Exchanges should
* derive this value from the Sec-CH-UAMobile header.
* Not supported by Google.
* </pre>
*
* <code>optional bool mobile = 3;</code>
* @return The mobile.
*/
@java.lang.Override
public boolean getMobile() {
return instance.getMobile();
}
/**
* <pre>
* true if the agent prefers a "mobile" version of the content if
* available, meaning optimized for small screens or touch input. false if
* the agent prefers the "desktop" or "full" content. Exchanges should
* derive this value from the Sec-CH-UAMobile header.
* Not supported by Google.
* </pre>
*
* <code>optional bool mobile = 3;</code>
* @param value The mobile to set.
* @return This builder for chaining.
*/
public Builder setMobile(boolean value) {
copyOnWrite();
instance.setMobile(value);
return this;
}
/**
* <pre>
* true if the agent prefers a "mobile" version of the content if
* available, meaning optimized for small screens or touch input. false if
* the agent prefers the "desktop" or "full" content. Exchanges should
* derive this value from the Sec-CH-UAMobile header.
* Not supported by Google.
* </pre>
*
* <code>optional bool mobile = 3;</code>
* @return This builder for chaining.
*/
public Builder clearMobile() {
copyOnWrite();
instance.clearMobile();
return this;
}
/**
* <pre>
* Device's major binary architecture, for example, "x86" or "arm".
* Exchanges should retrieve this value from the Sec-CH-UA-Arch header.
* Not supported by Google.
* </pre>
*
* <code>optional string architecture = 4;</code>
* @return Whether the architecture field is set.
*/
@java.lang.Override
public boolean hasArchitecture() {
return instance.hasArchitecture();
}
/**
* <pre>
* Device's major binary architecture, for example, "x86" or "arm".
* Exchanges should retrieve this value from the Sec-CH-UA-Arch header.
* Not supported by Google.
* </pre>
*
* <code>optional string architecture = 4;</code>
* @return The architecture.
*/
@java.lang.Override
public java.lang.String getArchitecture() {
return instance.getArchitecture();
}
/**
* <pre>
* Device's major binary architecture, for example, "x86" or "arm".
* Exchanges should retrieve this value from the Sec-CH-UA-Arch header.
* Not supported by Google.
* </pre>
*
* <code>optional string architecture = 4;</code>
* @return The bytes for architecture.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getArchitectureBytes() {
return instance.getArchitectureBytes();
}
/**
* <pre>
* Device's major binary architecture, for example, "x86" or "arm".
* Exchanges should retrieve this value from the Sec-CH-UA-Arch header.
* Not supported by Google.
* </pre>
*
* <code>optional string architecture = 4;</code>
* @param value The architecture to set.
* @return This builder for chaining.
*/
public Builder setArchitecture(
java.lang.String value) {
copyOnWrite();
instance.setArchitecture(value);
return this;
}
/**
* <pre>
* Device's major binary architecture, for example, "x86" or "arm".
* Exchanges should retrieve this value from the Sec-CH-UA-Arch header.
* Not supported by Google.
* </pre>
*
* <code>optional string architecture = 4;</code>
* @return This builder for chaining.
*/
public Builder clearArchitecture() {
copyOnWrite();
instance.clearArchitecture();
return this;
}
/**
* <pre>
* Device's major binary architecture, for example, "x86" or "arm".
* Exchanges should retrieve this value from the Sec-CH-UA-Arch header.
* Not supported by Google.
* </pre>
*
* <code>optional string architecture = 4;</code>
* @param value The bytes for architecture to set.
* @return This builder for chaining.
*/
public Builder setArchitectureBytes(
com.google.protobuf.ByteString value) {
copyOnWrite();
instance.setArchitectureBytes(value);
return this;
}
/**
* <pre>
* Device's bitness, for example, "64" for 64-bit architecture. Exchanges
* should retrieve this value from the Sec-CH-UA-Bitness header.
* Not supported by Google.
* </pre>
*
* <code>optional string bitness = 5;</code>
* @return Whether the bitness field is set.
*/
@java.lang.Override
public boolean hasBitness() {
return instance.hasBitness();
}
/**
* <pre>
* Device's bitness, for example, "64" for 64-bit architecture. Exchanges
* should retrieve this value from the Sec-CH-UA-Bitness header.
* Not supported by Google.
* </pre>
*
* <code>optional string bitness = 5;</code>
* @return The bitness.
*/
@java.lang.Override
public java.lang.String getBitness() {
return instance.getBitness();
}
/**
* <pre>
* Device's bitness, for example, "64" for 64-bit architecture. Exchanges
* should retrieve this value from the Sec-CH-UA-Bitness header.
* Not supported by Google.
* </pre>
*
* <code>optional string bitness = 5;</code>
* @return The bytes for bitness.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getBitnessBytes() {
return instance.getBitnessBytes();
}
/**
* <pre>
* Device's bitness, for example, "64" for 64-bit architecture. Exchanges
* should retrieve this value from the Sec-CH-UA-Bitness header.
* Not supported by Google.
* </pre>
*
* <code>optional string bitness = 5;</code>
* @param value The bitness to set.
* @return This builder for chaining.
*/
public Builder setBitness(
java.lang.String value) {
copyOnWrite();
instance.setBitness(value);
return this;
}
/**
* <pre>
* Device's bitness, for example, "64" for 64-bit architecture. Exchanges
* should retrieve this value from the Sec-CH-UA-Bitness header.
* Not supported by Google.
* </pre>
*
* <code>optional string bitness = 5;</code>
* @return This builder for chaining.
*/
public Builder clearBitness() {
copyOnWrite();
instance.clearBitness();
return this;
}
/**
* <pre>
* Device's bitness, for example, "64" for 64-bit architecture. Exchanges
* should retrieve this value from the Sec-CH-UA-Bitness header.
* Not supported by Google.
* </pre>
*
* <code>optional string bitness = 5;</code>
* @param value The bytes for bitness to set.
* @return This builder for chaining.
*/
public Builder setBitnessBytes(
com.google.protobuf.ByteString value) {
copyOnWrite();
instance.setBitnessBytes(value);
return this;
}
/**
* <pre>
* Device model. Exchanges should retrieve this value from the
* Sec-CH-UAModel header.
* Not supported by Google.
* </pre>
*
* <code>optional string model = 6;</code>
* @return Whether the model field is set.
*/
@java.lang.Override
public boolean hasModel() {
return instance.hasModel();
}
/**
* <pre>
* Device model. Exchanges should retrieve this value from the
* Sec-CH-UAModel header.
* Not supported by Google.
* </pre>
*
* <code>optional string model = 6;</code>
* @return The model.
*/
@java.lang.Override
public java.lang.String getModel() {
return instance.getModel();
}
/**
* <pre>
* Device model. Exchanges should retrieve this value from the
* Sec-CH-UAModel header.
* Not supported by Google.
* </pre>
*
* <code>optional string model = 6;</code>
* @return The bytes for model.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getModelBytes() {
return instance.getModelBytes();
}
/**
* <pre>
* Device model. Exchanges should retrieve this value from the
* Sec-CH-UAModel header.
* Not supported by Google.
* </pre>
*
* <code>optional string model = 6;</code>
* @param value The model to set.
* @return This builder for chaining.
*/
public Builder setModel(
java.lang.String value) {
copyOnWrite();
instance.setModel(value);
return this;
}
/**
* <pre>
* Device model. Exchanges should retrieve this value from the
* Sec-CH-UAModel header.
* Not supported by Google.
* </pre>
*
* <code>optional string model = 6;</code>
* @return This builder for chaining.
*/
public Builder clearModel() {
copyOnWrite();
instance.clearModel();
return this;
}
/**
* <pre>
* Device model. Exchanges should retrieve this value from the
* Sec-CH-UAModel header.
* Not supported by Google.
* </pre>
*
* <code>optional string model = 6;</code>
* @param value The bytes for model to set.
* @return This builder for chaining.
*/
public Builder setModelBytes(
com.google.protobuf.ByteString value) {
copyOnWrite();
instance.setModelBytes(value);
return this;
}
/**
* <pre>
* The source of data for the User Agent information.
* Supported by Google.
* </pre>
*
* <code>optional .com.google.openrtb.UserAgentSource source = 7;</code>
* @return Whether the source field is set.
*/
@java.lang.Override
public boolean hasSource() {
return instance.hasSource();
}
/**
* <pre>
* The source of data for the User Agent information.
* Supported by Google.
* </pre>
*
* <code>optional .com.google.openrtb.UserAgentSource source = 7;</code>
* @return The source.
*/
@java.lang.Override
public com.particles.mes.protos.openrtb.UserAgentSource getSource() {
return instance.getSource();
}
/**
* <pre>
* The source of data for the User Agent information.
* Supported by Google.
* </pre>
*
* <code>optional .com.google.openrtb.UserAgentSource source = 7;</code>
* @param value The enum numeric value on the wire for source to set.
* @return This builder for chaining.
*/
public Builder setSource(com.particles.mes.protos.openrtb.UserAgentSource value) {
copyOnWrite();
instance.setSource(value);
return this;
}
/**
* <pre>
* The source of data for the User Agent information.
* Supported by Google.
* </pre>
*
* <code>optional .com.google.openrtb.UserAgentSource source = 7;</code>
* @return This builder for chaining.
*/
public Builder clearSource() {
copyOnWrite();
instance.clearSource();
return this;
}
// @@protoc_insertion_point(builder_scope:com.google.openrtb.BidRequest.Device.UserAgent)
}
@java.lang.Override
@java.lang.SuppressWarnings({"unchecked", "fallthrough"})
protected final java.lang.Object dynamicMethod(
com.google.protobuf.GeneratedMessageLite.MethodToInvoke method,
java.lang.Object arg0, java.lang.Object arg1) {
switch (method) {
case NEW_MUTABLE_INSTANCE: {
return new com.particles.mes.protos.openrtb.BidRequest.Device.UserAgent();
}
case NEW_BUILDER: {
return new Builder();
}
case BUILD_MESSAGE_INFO: {
java.lang.Object[] objects = new java.lang.Object[] {
"bitField0_",
"browsers_",
com.particles.mes.protos.openrtb.BidRequest.Device.UserAgent.BrandVersion.class,
"platform_",
"mobile_",
"architecture_",
"bitness_",
"model_",
"source_",
com.particles.mes.protos.openrtb.UserAgentSource.internalGetVerifier(),
};
java.lang.String info =
"\u0001\u0007\u0000\u0001\u0001\u0007\u0007\u0000\u0001\u0000\u0001\u001b\u0002\u1009" +
"\u0000\u0003\u1007\u0001\u0004\u1008\u0002\u0005\u1008\u0003\u0006\u1008\u0004\u0007" +
"\u100c\u0005";
return newMessageInfo(DEFAULT_INSTANCE, info, objects);
}
// fall through
case GET_DEFAULT_INSTANCE: {
return DEFAULT_INSTANCE;
}
case GET_PARSER: {
com.google.protobuf.Parser<com.particles.mes.protos.openrtb.BidRequest.Device.UserAgent> parser = PARSER;
if (parser == null) {
synchronized (com.particles.mes.protos.openrtb.BidRequest.Device.UserAgent.class) {
parser = PARSER;
if (parser == null) {
parser =
new DefaultInstanceBasedParser<com.particles.mes.protos.openrtb.BidRequest.Device.UserAgent>(
DEFAULT_INSTANCE);
PARSER = parser;
}
}
}
return parser;
}
case GET_MEMOIZED_IS_INITIALIZED: {
return (byte) 1;
}
case SET_MEMOIZED_IS_INITIALIZED: {
return null;
}
}
throw new UnsupportedOperationException();
}
// @@protoc_insertion_point(class_scope:com.google.openrtb.BidRequest.Device.UserAgent)
private static final com.particles.mes.protos.openrtb.BidRequest.Device.UserAgent DEFAULT_INSTANCE;
static {
UserAgent defaultInstance = new UserAgent();
// New instances are implicitly immutable so no need to make
// immutable.
DEFAULT_INSTANCE = defaultInstance;
com.google.protobuf.GeneratedMessageLite.registerDefaultInstance(
UserAgent.class, defaultInstance);
}
public static com.particles.mes.protos.openrtb.BidRequest.Device.UserAgent getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static volatile com.google.protobuf.Parser<UserAgent> PARSER;
public static com.google.protobuf.Parser<UserAgent> parser() {
return DEFAULT_INSTANCE.getParserForType();
}
}
private int bitField0_;
private int bitField1_;
public static final int GEO_FIELD_NUMBER = 4;
private com.particles.mes.protos.openrtb.BidRequest.Geo geo_;
/**
* <pre>
* Location of the device assumed to be the user's current location defined
* by a Geo object (Section 3.2.12).
* Supported by Google.
* </pre>
*
* <code>optional .com.google.openrtb.BidRequest.Geo geo = 4;</code>
*/
@java.lang.Override
public boolean hasGeo() {
return ((bitField0_ & 0x00000001) != 0);
}
/**
* <pre>
* Location of the device assumed to be the user's current location defined
* by a Geo object (Section 3.2.12).
* Supported by Google.
* </pre>
*
* <code>optional .com.google.openrtb.BidRequest.Geo geo = 4;</code>
*/
@java.lang.Override
public com.particles.mes.protos.openrtb.BidRequest.Geo getGeo() {
return geo_ == null ? com.particles.mes.protos.openrtb.BidRequest.Geo.getDefaultInstance() : geo_;
}
/**
* <pre>
* Location of the device assumed to be the user's current location defined
* by a Geo object (Section 3.2.12).
* Supported by Google.
* </pre>
*
* <code>optional .com.google.openrtb.BidRequest.Geo geo = 4;</code>
*/
private void setGeo(com.particles.mes.protos.openrtb.BidRequest.Geo value) {
value.getClass();
geo_ = value;
bitField0_ |= 0x00000001;
}
/**
* <pre>
* Location of the device assumed to be the user's current location defined
* by a Geo object (Section 3.2.12).
* Supported by Google.
* </pre>
*
* <code>optional .com.google.openrtb.BidRequest.Geo geo = 4;</code>
*/
@java.lang.SuppressWarnings({"ReferenceEquality"})
private void mergeGeo(com.particles.mes.protos.openrtb.BidRequest.Geo value) {
value.getClass();
if (geo_ != null &&
geo_ != com.particles.mes.protos.openrtb.BidRequest.Geo.getDefaultInstance()) {
geo_ =
com.particles.mes.protos.openrtb.BidRequest.Geo.newBuilder(geo_).mergeFrom(value).buildPartial();
} else {
geo_ = value;
}
bitField0_ |= 0x00000001;
}
/**
* <pre>
* Location of the device assumed to be the user's current location defined
* by a Geo object (Section 3.2.12).
* Supported by Google.
* </pre>
*
* <code>optional .com.google.openrtb.BidRequest.Geo geo = 4;</code>
*/
private void clearGeo() { geo_ = null;
bitField0_ = (bitField0_ & ~0x00000001);
}
public static final int DNT_FIELD_NUMBER = 1;
private boolean dnt_;
/**
* <pre>
* Standard "Do Not Track" option as set in the header by the browser,
* where false = tracking is unrestricted, true = do not track.
* Not supported by Google.
* </pre>
*
* <code>optional bool dnt = 1;</code>
* @return Whether the dnt field is set.
*/
@java.lang.Override
public boolean hasDnt() {
return ((bitField0_ & 0x00000002) != 0);
}
/**
* <pre>
* Standard "Do Not Track" option as set in the header by the browser,
* where false = tracking is unrestricted, true = do not track.
* Not supported by Google.
* </pre>
*
* <code>optional bool dnt = 1;</code>
* @return The dnt.
*/
@java.lang.Override
public boolean getDnt() {
return dnt_;
}
/**
* <pre>
* Standard "Do Not Track" option as set in the header by the browser,
* where false = tracking is unrestricted, true = do not track.
* Not supported by Google.
* </pre>
*
* <code>optional bool dnt = 1;</code>
* @param value The dnt to set.
*/
private void setDnt(boolean value) {
bitField0_ |= 0x00000002;
dnt_ = value;
}
/**
* <pre>
* Standard "Do Not Track" option as set in the header by the browser,
* where false = tracking is unrestricted, true = do not track.
* Not supported by Google.
* </pre>
*
* <code>optional bool dnt = 1;</code>
*/
private void clearDnt() {
bitField0_ = (bitField0_ & ~0x00000002);
dnt_ = false;
}
public static final int LMT_FIELD_NUMBER = 23;
private boolean lmt_;
/**
* <pre>
* "Limit Ad Tracking" is a commercially endorsed signal based on the
* operating system or device settings, where `false` indicates that
* tracking is unrestricted and `true` indicates that tracking must be
* limited per commercial guidelines.
* This signal reflects user decisions on surfaces including iOS App
* Tracking Transparency:
* https://developer.apple.com/documentation/apptrackingtransparency
* See also lmt and App Tracking Transparency guidance:
* https://github.com/InteractiveAdvertisingBureau/openrtb/blob/master/extensions/community_extensions/skadnetwork.md#dnt-lmt-and-app-tracking-transparency-guidance
* and Android advertising ID:
* https://support.google.com/googleplay/android-developer/answer/6048248
* Supported by Google.
* </pre>
*
* <code>optional bool lmt = 23;</code>
* @return Whether the lmt field is set.
*/
@java.lang.Override
public boolean hasLmt() {
return ((bitField0_ & 0x00000004) != 0);
}
/**
* <pre>
* "Limit Ad Tracking" is a commercially endorsed signal based on the
* operating system or device settings, where `false` indicates that
* tracking is unrestricted and `true` indicates that tracking must be
* limited per commercial guidelines.
* This signal reflects user decisions on surfaces including iOS App
* Tracking Transparency:
* https://developer.apple.com/documentation/apptrackingtransparency
* See also lmt and App Tracking Transparency guidance:
* https://github.com/InteractiveAdvertisingBureau/openrtb/blob/master/extensions/community_extensions/skadnetwork.md#dnt-lmt-and-app-tracking-transparency-guidance
* and Android advertising ID:
* https://support.google.com/googleplay/android-developer/answer/6048248
* Supported by Google.
* </pre>
*
* <code>optional bool lmt = 23;</code>
* @return The lmt.
*/
@java.lang.Override
public boolean getLmt() {
return lmt_;
}
/**
* <pre>
* "Limit Ad Tracking" is a commercially endorsed signal based on the
* operating system or device settings, where `false` indicates that
* tracking is unrestricted and `true` indicates that tracking must be
* limited per commercial guidelines.
* This signal reflects user decisions on surfaces including iOS App
* Tracking Transparency:
* https://developer.apple.com/documentation/apptrackingtransparency
* See also lmt and App Tracking Transparency guidance:
* https://github.com/InteractiveAdvertisingBureau/openrtb/blob/master/extensions/community_extensions/skadnetwork.md#dnt-lmt-and-app-tracking-transparency-guidance
* and Android advertising ID:
* https://support.google.com/googleplay/android-developer/answer/6048248
* Supported by Google.
* </pre>
*
* <code>optional bool lmt = 23;</code>
* @param value The lmt to set.
*/
private void setLmt(boolean value) {
bitField0_ |= 0x00000004;
lmt_ = value;
}
/**
* <pre>
* "Limit Ad Tracking" is a commercially endorsed signal based on the
* operating system or device settings, where `false` indicates that
* tracking is unrestricted and `true` indicates that tracking must be
* limited per commercial guidelines.
* This signal reflects user decisions on surfaces including iOS App
* Tracking Transparency:
* https://developer.apple.com/documentation/apptrackingtransparency
* See also lmt and App Tracking Transparency guidance:
* https://github.com/InteractiveAdvertisingBureau/openrtb/blob/master/extensions/community_extensions/skadnetwork.md#dnt-lmt-and-app-tracking-transparency-guidance
* and Android advertising ID:
* https://support.google.com/googleplay/android-developer/answer/6048248
* Supported by Google.
* </pre>
*
* <code>optional bool lmt = 23;</code>
*/
private void clearLmt() {
bitField0_ = (bitField0_ & ~0x00000004);
lmt_ = false;
}
public static final int UA_FIELD_NUMBER = 2;
private java.lang.String ua_;
/**
* <pre>
* Browser user agent string. Certain data may be redacted or replaced.
* Supported by Google.
* </pre>
*
* <code>optional string ua = 2;</code>
* @return Whether the ua field is set.
*/
@java.lang.Override
public boolean hasUa() {
return ((bitField0_ & 0x00000008) != 0);
}
/**
* <pre>
* Browser user agent string. Certain data may be redacted or replaced.
* Supported by Google.
* </pre>
*
* <code>optional string ua = 2;</code>
* @return The ua.
*/
@java.lang.Override
public java.lang.String getUa() {
return ua_;
}
/**
* <pre>
* Browser user agent string. Certain data may be redacted or replaced.
* Supported by Google.
* </pre>
*
* <code>optional string ua = 2;</code>
* @return The bytes for ua.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getUaBytes() {
return com.google.protobuf.ByteString.copyFromUtf8(ua_);
}
/**
* <pre>
* Browser user agent string. Certain data may be redacted or replaced.
* Supported by Google.
* </pre>
*
* <code>optional string ua = 2;</code>
* @param value The ua to set.
*/
private void setUa(
java.lang.String value) {
java.lang.Class<?> valueClass = value.getClass();
bitField0_ |= 0x00000008;
ua_ = value;
}
/**
* <pre>
* Browser user agent string. Certain data may be redacted or replaced.
* Supported by Google.
* </pre>
*
* <code>optional string ua = 2;</code>
*/
private void clearUa() {
bitField0_ = (bitField0_ & ~0x00000008);
ua_ = getDefaultInstance().getUa();
}
/**
* <pre>
* Browser user agent string. Certain data may be redacted or replaced.
* Supported by Google.
* </pre>
*
* <code>optional string ua = 2;</code>
* @param value The bytes for ua to set.
*/
private void setUaBytes(
com.google.protobuf.ByteString value) {
ua_ = value.toStringUtf8();
bitField0_ |= 0x00000008;
}
public static final int SUA_FIELD_NUMBER = 31;
private com.particles.mes.protos.openrtb.BidRequest.Device.UserAgent sua_;
/**
* <pre>
* Structured user agent information. If both Device.ua and Device.sua are
* present in the bid request, Device.sua should be considered the more
* accurate representation of the device attributes. This is because
* Device.ua may contain a frozen or reduced user agent string.
* Supported by Google.
* </pre>
*
* <code>optional .com.google.openrtb.BidRequest.Device.UserAgent sua = 31;</code>
*/
@java.lang.Override
public boolean hasSua() {
return ((bitField0_ & 0x00000010) != 0);
}
/**
* <pre>
* Structured user agent information. If both Device.ua and Device.sua are
* present in the bid request, Device.sua should be considered the more
* accurate representation of the device attributes. This is because
* Device.ua may contain a frozen or reduced user agent string.
* Supported by Google.
* </pre>
*
* <code>optional .com.google.openrtb.BidRequest.Device.UserAgent sua = 31;</code>
*/
@java.lang.Override
public com.particles.mes.protos.openrtb.BidRequest.Device.UserAgent getSua() {
return sua_ == null ? com.particles.mes.protos.openrtb.BidRequest.Device.UserAgent.getDefaultInstance() : sua_;
}
/**
* <pre>
* Structured user agent information. If both Device.ua and Device.sua are
* present in the bid request, Device.sua should be considered the more
* accurate representation of the device attributes. This is because
* Device.ua may contain a frozen or reduced user agent string.
* Supported by Google.
* </pre>
*
* <code>optional .com.google.openrtb.BidRequest.Device.UserAgent sua = 31;</code>
*/
private void setSua(com.particles.mes.protos.openrtb.BidRequest.Device.UserAgent value) {
value.getClass();
sua_ = value;
bitField0_ |= 0x00000010;
}
/**
* <pre>
* Structured user agent information. If both Device.ua and Device.sua are
* present in the bid request, Device.sua should be considered the more
* accurate representation of the device attributes. This is because
* Device.ua may contain a frozen or reduced user agent string.
* Supported by Google.
* </pre>
*
* <code>optional .com.google.openrtb.BidRequest.Device.UserAgent sua = 31;</code>
*/
@java.lang.SuppressWarnings({"ReferenceEquality"})
private void mergeSua(com.particles.mes.protos.openrtb.BidRequest.Device.UserAgent value) {
value.getClass();
if (sua_ != null &&
sua_ != com.particles.mes.protos.openrtb.BidRequest.Device.UserAgent.getDefaultInstance()) {
sua_ =
com.particles.mes.protos.openrtb.BidRequest.Device.UserAgent.newBuilder(sua_).mergeFrom(value).buildPartial();
} else {
sua_ = value;
}
bitField0_ |= 0x00000010;
}
/**
* <pre>
* Structured user agent information. If both Device.ua and Device.sua are
* present in the bid request, Device.sua should be considered the more
* accurate representation of the device attributes. This is because
* Device.ua may contain a frozen or reduced user agent string.
* Supported by Google.
* </pre>
*
* <code>optional .com.google.openrtb.BidRequest.Device.UserAgent sua = 31;</code>
*/
private void clearSua() { sua_ = null;
bitField0_ = (bitField0_ & ~0x00000010);
}
public static final int IP_FIELD_NUMBER = 3;
private java.lang.String ip_;
/**
* <pre>
* IPv4 address closest to device.
* Supported by Google. Truncated to the first 3 octets: "X.X.X.0".
* </pre>
*
* <code>optional string ip = 3;</code>
* @return Whether the ip field is set.
*/
@java.lang.Override
public boolean hasIp() {
return ((bitField0_ & 0x00000020) != 0);
}
/**
* <pre>
* IPv4 address closest to device.
* Supported by Google. Truncated to the first 3 octets: "X.X.X.0".
* </pre>
*
* <code>optional string ip = 3;</code>
* @return The ip.
*/
@java.lang.Override
public java.lang.String getIp() {
return ip_;
}
/**
* <pre>
* IPv4 address closest to device.
* Supported by Google. Truncated to the first 3 octets: "X.X.X.0".
* </pre>
*
* <code>optional string ip = 3;</code>
* @return The bytes for ip.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getIpBytes() {
return com.google.protobuf.ByteString.copyFromUtf8(ip_);
}
/**
* <pre>
* IPv4 address closest to device.
* Supported by Google. Truncated to the first 3 octets: "X.X.X.0".
* </pre>
*
* <code>optional string ip = 3;</code>
* @param value The ip to set.
*/
private void setIp(
java.lang.String value) {
java.lang.Class<?> valueClass = value.getClass();
bitField0_ |= 0x00000020;
ip_ = value;
}
/**
* <pre>
* IPv4 address closest to device.
* Supported by Google. Truncated to the first 3 octets: "X.X.X.0".
* </pre>
*
* <code>optional string ip = 3;</code>
*/
private void clearIp() {
bitField0_ = (bitField0_ & ~0x00000020);
ip_ = getDefaultInstance().getIp();
}
/**
* <pre>
* IPv4 address closest to device.
* Supported by Google. Truncated to the first 3 octets: "X.X.X.0".
* </pre>
*
* <code>optional string ip = 3;</code>
* @param value The bytes for ip to set.
*/
private void setIpBytes(
com.google.protobuf.ByteString value) {
ip_ = value.toStringUtf8();
bitField0_ |= 0x00000020;
}
public static final int IPV6_FIELD_NUMBER = 9;
private java.lang.String ipv6_;
/**
* <pre>
* IPv6 address closest to device.
* Supported by Google. Truncated to the first 6 octets: "X:X:X:::::".
* </pre>
*
* <code>optional string ipv6 = 9;</code>
* @return Whether the ipv6 field is set.
*/
@java.lang.Override
public boolean hasIpv6() {
return ((bitField0_ & 0x00000040) != 0);
}
/**
* <pre>
* IPv6 address closest to device.
* Supported by Google. Truncated to the first 6 octets: "X:X:X:::::".
* </pre>
*
* <code>optional string ipv6 = 9;</code>
* @return The ipv6.
*/
@java.lang.Override
public java.lang.String getIpv6() {
return ipv6_;
}
/**
* <pre>
* IPv6 address closest to device.
* Supported by Google. Truncated to the first 6 octets: "X:X:X:::::".
* </pre>
*
* <code>optional string ipv6 = 9;</code>
* @return The bytes for ipv6.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getIpv6Bytes() {
return com.google.protobuf.ByteString.copyFromUtf8(ipv6_);
}
/**
* <pre>
* IPv6 address closest to device.
* Supported by Google. Truncated to the first 6 octets: "X:X:X:::::".
* </pre>
*
* <code>optional string ipv6 = 9;</code>
* @param value The ipv6 to set.
*/
private void setIpv6(
java.lang.String value) {
java.lang.Class<?> valueClass = value.getClass();
bitField0_ |= 0x00000040;
ipv6_ = value;
}
/**
* <pre>
* IPv6 address closest to device.
* Supported by Google. Truncated to the first 6 octets: "X:X:X:::::".
* </pre>
*
* <code>optional string ipv6 = 9;</code>
*/
private void clearIpv6() {
bitField0_ = (bitField0_ & ~0x00000040);
ipv6_ = getDefaultInstance().getIpv6();
}
/**
* <pre>
* IPv6 address closest to device.
* Supported by Google. Truncated to the first 6 octets: "X:X:X:::::".
* </pre>
*
* <code>optional string ipv6 = 9;</code>
* @param value The bytes for ipv6 to set.
*/
private void setIpv6Bytes(
com.google.protobuf.ByteString value) {
ipv6_ = value.toStringUtf8();
bitField0_ |= 0x00000040;
}
public static final int DEVICETYPE_FIELD_NUMBER = 18;
private int devicetype_;
/**
* <pre>
* The general type of device.
* Supported by Google.
* </pre>
*
* <code>optional .com.google.openrtb.DeviceType devicetype = 18;</code>
* @return Whether the devicetype field is set.
*/
@java.lang.Override
public boolean hasDevicetype() {
return ((bitField0_ & 0x00000080) != 0);
}
/**
* <pre>
* The general type of device.
* Supported by Google.
* </pre>
*
* <code>optional .com.google.openrtb.DeviceType devicetype = 18;</code>
* @return The devicetype.
*/
@java.lang.Override
public com.particles.mes.protos.openrtb.DeviceType getDevicetype() {
com.particles.mes.protos.openrtb.DeviceType result = com.particles.mes.protos.openrtb.DeviceType.forNumber(devicetype_);
return result == null ? com.particles.mes.protos.openrtb.DeviceType.MOBILE : result;
}
/**
* <pre>
* The general type of device.
* Supported by Google.
* </pre>
*
* <code>optional .com.google.openrtb.DeviceType devicetype = 18;</code>
* @param value The devicetype to set.
*/
private void setDevicetype(com.particles.mes.protos.openrtb.DeviceType value) {
devicetype_ = value.getNumber();
bitField0_ |= 0x00000080;
}
/**
* <pre>
* The general type of device.
* Supported by Google.
* </pre>
*
* <code>optional .com.google.openrtb.DeviceType devicetype = 18;</code>
*/
private void clearDevicetype() {
bitField0_ = (bitField0_ & ~0x00000080);
devicetype_ = 1;
}
public static final int MAKE_FIELD_NUMBER = 12;
private java.lang.String make_;
/**
* <pre>
* Device make (for example, "Apple" or "Samsung").
* Supported by Google.
* </pre>
*
* <code>optional string make = 12;</code>
* @return Whether the make field is set.
*/
@java.lang.Override
public boolean hasMake() {
return ((bitField0_ & 0x00000100) != 0);
}
/**
* <pre>
* Device make (for example, "Apple" or "Samsung").
* Supported by Google.
* </pre>
*
* <code>optional string make = 12;</code>
* @return The make.
*/
@java.lang.Override
public java.lang.String getMake() {
return make_;
}
/**
* <pre>
* Device make (for example, "Apple" or "Samsung").
* Supported by Google.
* </pre>
*
* <code>optional string make = 12;</code>
* @return The bytes for make.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getMakeBytes() {
return com.google.protobuf.ByteString.copyFromUtf8(make_);
}
/**
* <pre>
* Device make (for example, "Apple" or "Samsung").
* Supported by Google.
* </pre>
*
* <code>optional string make = 12;</code>
* @param value The make to set.
*/
private void setMake(
java.lang.String value) {
java.lang.Class<?> valueClass = value.getClass();
bitField0_ |= 0x00000100;
make_ = value;
}
/**
* <pre>
* Device make (for example, "Apple" or "Samsung").
* Supported by Google.
* </pre>
*
* <code>optional string make = 12;</code>
*/
private void clearMake() {
bitField0_ = (bitField0_ & ~0x00000100);
make_ = getDefaultInstance().getMake();
}
/**
* <pre>
* Device make (for example, "Apple" or "Samsung").
* Supported by Google.
* </pre>
*
* <code>optional string make = 12;</code>
* @param value The bytes for make to set.
*/
private void setMakeBytes(
com.google.protobuf.ByteString value) {
make_ = value.toStringUtf8();
bitField0_ |= 0x00000100;
}
public static final int MODEL_FIELD_NUMBER = 13;
private java.lang.String model_;
/**
* <pre>
* Device model (for example, "pixel 7 pro"). For iPhone/iPad, this
* field contains Apple's model identifier string (such as "iPhone12,1" and
* "iPad13,8") if available. Otherwise this field contains the generic model
* (either "iphone" or "ipad").
* Supported by Google.
* </pre>
*
* <code>optional string model = 13;</code>
* @return Whether the model field is set.
*/
@java.lang.Override
public boolean hasModel() {
return ((bitField0_ & 0x00000200) != 0);
}
/**
* <pre>
* Device model (for example, "pixel 7 pro"). For iPhone/iPad, this
* field contains Apple's model identifier string (such as "iPhone12,1" and
* "iPad13,8") if available. Otherwise this field contains the generic model
* (either "iphone" or "ipad").
* Supported by Google.
* </pre>
*
* <code>optional string model = 13;</code>
* @return The model.
*/
@java.lang.Override
public java.lang.String getModel() {
return model_;
}
/**
* <pre>
* Device model (for example, "pixel 7 pro"). For iPhone/iPad, this
* field contains Apple's model identifier string (such as "iPhone12,1" and
* "iPad13,8") if available. Otherwise this field contains the generic model
* (either "iphone" or "ipad").
* Supported by Google.
* </pre>
*
* <code>optional string model = 13;</code>
* @return The bytes for model.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getModelBytes() {
return com.google.protobuf.ByteString.copyFromUtf8(model_);
}
/**
* <pre>
* Device model (for example, "pixel 7 pro"). For iPhone/iPad, this
* field contains Apple's model identifier string (such as "iPhone12,1" and
* "iPad13,8") if available. Otherwise this field contains the generic model
* (either "iphone" or "ipad").
* Supported by Google.
* </pre>
*
* <code>optional string model = 13;</code>
* @param value The model to set.
*/
private void setModel(
java.lang.String value) {
java.lang.Class<?> valueClass = value.getClass();
bitField0_ |= 0x00000200;
model_ = value;
}
/**
* <pre>
* Device model (for example, "pixel 7 pro"). For iPhone/iPad, this
* field contains Apple's model identifier string (such as "iPhone12,1" and
* "iPad13,8") if available. Otherwise this field contains the generic model
* (either "iphone" or "ipad").
* Supported by Google.
* </pre>
*
* <code>optional string model = 13;</code>
*/
private void clearModel() {
bitField0_ = (bitField0_ & ~0x00000200);
model_ = getDefaultInstance().getModel();
}
/**
* <pre>
* Device model (for example, "pixel 7 pro"). For iPhone/iPad, this
* field contains Apple's model identifier string (such as "iPhone12,1" and
* "iPad13,8") if available. Otherwise this field contains the generic model
* (either "iphone" or "ipad").
* Supported by Google.
* </pre>
*
* <code>optional string model = 13;</code>
* @param value The bytes for model to set.
*/
private void setModelBytes(
com.google.protobuf.ByteString value) {
model_ = value.toStringUtf8();
bitField0_ |= 0x00000200;
}
public static final int OS_FIELD_NUMBER = 14;
private java.lang.String os_;
/**
* <pre>
* Device operating system (for example, "iOS").
* Supported by Google.
* </pre>
*
* <code>optional string os = 14;</code>
* @return Whether the os field is set.
*/
@java.lang.Override
public boolean hasOs() {
return ((bitField0_ & 0x00000400) != 0);
}
/**
* <pre>
* Device operating system (for example, "iOS").
* Supported by Google.
* </pre>
*
* <code>optional string os = 14;</code>
* @return The os.
*/
@java.lang.Override
public java.lang.String getOs() {
return os_;
}
/**
* <pre>
* Device operating system (for example, "iOS").
* Supported by Google.
* </pre>
*
* <code>optional string os = 14;</code>
* @return The bytes for os.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getOsBytes() {
return com.google.protobuf.ByteString.copyFromUtf8(os_);
}
/**
* <pre>
* Device operating system (for example, "iOS").
* Supported by Google.
* </pre>
*
* <code>optional string os = 14;</code>
* @param value The os to set.
*/
private void setOs(
java.lang.String value) {
java.lang.Class<?> valueClass = value.getClass();
bitField0_ |= 0x00000400;
os_ = value;
}
/**
* <pre>
* Device operating system (for example, "iOS").
* Supported by Google.
* </pre>
*
* <code>optional string os = 14;</code>
*/
private void clearOs() {
bitField0_ = (bitField0_ & ~0x00000400);
os_ = getDefaultInstance().getOs();
}
/**
* <pre>
* Device operating system (for example, "iOS").
* Supported by Google.
* </pre>
*
* <code>optional string os = 14;</code>
* @param value The bytes for os to set.
*/
private void setOsBytes(
com.google.protobuf.ByteString value) {
os_ = value.toStringUtf8();
bitField0_ |= 0x00000400;
}
public static final int OSV_FIELD_NUMBER = 15;
private java.lang.String osv_;
/**
* <pre>
* Device operating system version (for example, "3.1.2").
* Supported by Google.
* </pre>
*
* <code>optional string osv = 15;</code>
* @return Whether the osv field is set.
*/
@java.lang.Override
public boolean hasOsv() {
return ((bitField0_ & 0x00000800) != 0);
}
/**
* <pre>
* Device operating system version (for example, "3.1.2").
* Supported by Google.
* </pre>
*
* <code>optional string osv = 15;</code>
* @return The osv.
*/
@java.lang.Override
public java.lang.String getOsv() {
return osv_;
}
/**
* <pre>
* Device operating system version (for example, "3.1.2").
* Supported by Google.
* </pre>
*
* <code>optional string osv = 15;</code>
* @return The bytes for osv.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getOsvBytes() {
return com.google.protobuf.ByteString.copyFromUtf8(osv_);
}
/**
* <pre>
* Device operating system version (for example, "3.1.2").
* Supported by Google.
* </pre>
*
* <code>optional string osv = 15;</code>
* @param value The osv to set.
*/
private void setOsv(
java.lang.String value) {
java.lang.Class<?> valueClass = value.getClass();
bitField0_ |= 0x00000800;
osv_ = value;
}
/**
* <pre>
* Device operating system version (for example, "3.1.2").
* Supported by Google.
* </pre>
*
* <code>optional string osv = 15;</code>
*/
private void clearOsv() {
bitField0_ = (bitField0_ & ~0x00000800);
osv_ = getDefaultInstance().getOsv();
}
/**
* <pre>
* Device operating system version (for example, "3.1.2").
* Supported by Google.
* </pre>
*
* <code>optional string osv = 15;</code>
* @param value The bytes for osv to set.
*/
private void setOsvBytes(
com.google.protobuf.ByteString value) {
osv_ = value.toStringUtf8();
bitField0_ |= 0x00000800;
}
public static final int HWV_FIELD_NUMBER = 24;
private java.lang.String hwv_;
/**
* <pre>
* Hardware version of the device. For iPhone/iPad, this field contains
* Apple's model identifier string (such as "iPhone12,1" and "iPad13,8") if
* available.
* Supported by Google.
* </pre>
*
* <code>optional string hwv = 24;</code>
* @return Whether the hwv field is set.
*/
@java.lang.Override
public boolean hasHwv() {
return ((bitField0_ & 0x00001000) != 0);
}
/**
* <pre>
* Hardware version of the device. For iPhone/iPad, this field contains
* Apple's model identifier string (such as "iPhone12,1" and "iPad13,8") if
* available.
* Supported by Google.
* </pre>
*
* <code>optional string hwv = 24;</code>
* @return The hwv.
*/
@java.lang.Override
public java.lang.String getHwv() {
return hwv_;
}
/**
* <pre>
* Hardware version of the device. For iPhone/iPad, this field contains
* Apple's model identifier string (such as "iPhone12,1" and "iPad13,8") if
* available.
* Supported by Google.
* </pre>
*
* <code>optional string hwv = 24;</code>
* @return The bytes for hwv.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getHwvBytes() {
return com.google.protobuf.ByteString.copyFromUtf8(hwv_);
}
/**
* <pre>
* Hardware version of the device. For iPhone/iPad, this field contains
* Apple's model identifier string (such as "iPhone12,1" and "iPad13,8") if
* available.
* Supported by Google.
* </pre>
*
* <code>optional string hwv = 24;</code>
* @param value The hwv to set.
*/
private void setHwv(
java.lang.String value) {
java.lang.Class<?> valueClass = value.getClass();
bitField0_ |= 0x00001000;
hwv_ = value;
}
/**
* <pre>
* Hardware version of the device. For iPhone/iPad, this field contains
* Apple's model identifier string (such as "iPhone12,1" and "iPad13,8") if
* available.
* Supported by Google.
* </pre>
*
* <code>optional string hwv = 24;</code>
*/
private void clearHwv() {
bitField0_ = (bitField0_ & ~0x00001000);
hwv_ = getDefaultInstance().getHwv();
}
/**
* <pre>
* Hardware version of the device. For iPhone/iPad, this field contains
* Apple's model identifier string (such as "iPhone12,1" and "iPad13,8") if
* available.
* Supported by Google.
* </pre>
*
* <code>optional string hwv = 24;</code>
* @param value The bytes for hwv to set.
*/
private void setHwvBytes(
com.google.protobuf.ByteString value) {
hwv_ = value.toStringUtf8();
bitField0_ |= 0x00001000;
}
public static final int W_FIELD_NUMBER = 25;
private int w_;
/**
* <pre>
* Physical width of the screen in pixels.
* Supported by Google.
* </pre>
*
* <code>optional int32 w = 25;</code>
* @return Whether the w field is set.
*/
@java.lang.Override
public boolean hasW() {
return ((bitField0_ & 0x00002000) != 0);
}
/**
* <pre>
* Physical width of the screen in pixels.
* Supported by Google.
* </pre>
*
* <code>optional int32 w = 25;</code>
* @return The w.
*/
@java.lang.Override
public int getW() {
return w_;
}
/**
* <pre>
* Physical width of the screen in pixels.
* Supported by Google.
* </pre>
*
* <code>optional int32 w = 25;</code>
* @param value The w to set.
*/
private void setW(int value) {
bitField0_ |= 0x00002000;
w_ = value;
}
/**
* <pre>
* Physical width of the screen in pixels.
* Supported by Google.
* </pre>
*
* <code>optional int32 w = 25;</code>
*/
private void clearW() {
bitField0_ = (bitField0_ & ~0x00002000);
w_ = 0;
}
public static final int H_FIELD_NUMBER = 26;
private int h_;
/**
* <pre>
* Physical height of the screen in pixels.
* Supported by Google.
* </pre>
*
* <code>optional int32 h = 26;</code>
* @return Whether the h field is set.
*/
@java.lang.Override
public boolean hasH() {
return ((bitField0_ & 0x00004000) != 0);
}
/**
* <pre>
* Physical height of the screen in pixels.
* Supported by Google.
* </pre>
*
* <code>optional int32 h = 26;</code>
* @return The h.
*/
@java.lang.Override
public int getH() {
return h_;
}
/**
* <pre>
* Physical height of the screen in pixels.
* Supported by Google.
* </pre>
*
* <code>optional int32 h = 26;</code>
* @param value The h to set.
*/
private void setH(int value) {
bitField0_ |= 0x00004000;
h_ = value;
}
/**
* <pre>
* Physical height of the screen in pixels.
* Supported by Google.
* </pre>
*
* <code>optional int32 h = 26;</code>
*/
private void clearH() {
bitField0_ = (bitField0_ & ~0x00004000);
h_ = 0;
}
public static final int PPI_FIELD_NUMBER = 27;
private int ppi_;
/**
* <pre>
* Screen size as pixels per linear inch.
* Not supported by Google.
* </pre>
*
* <code>optional int32 ppi = 27;</code>
* @return Whether the ppi field is set.
*/
@java.lang.Override
public boolean hasPpi() {
return ((bitField0_ & 0x00008000) != 0);
}
/**
* <pre>
* Screen size as pixels per linear inch.
* Not supported by Google.
* </pre>
*
* <code>optional int32 ppi = 27;</code>
* @return The ppi.
*/
@java.lang.Override
public int getPpi() {
return ppi_;
}
/**
* <pre>
* Screen size as pixels per linear inch.
* Not supported by Google.
* </pre>
*
* <code>optional int32 ppi = 27;</code>
* @param value The ppi to set.
*/
private void setPpi(int value) {
bitField0_ |= 0x00008000;
ppi_ = value;
}
/**
* <pre>
* Screen size as pixels per linear inch.
* Not supported by Google.
* </pre>
*
* <code>optional int32 ppi = 27;</code>
*/
private void clearPpi() {
bitField0_ = (bitField0_ & ~0x00008000);
ppi_ = 0;
}
public static final int PXRATIO_FIELD_NUMBER = 28;
private double pxratio_;
/**
* <pre>
* The ratio of physical pixels to device independent pixels.
* Supported by Google.
* </pre>
*
* <code>optional double pxratio = 28;</code>
* @return Whether the pxratio field is set.
*/
@java.lang.Override
public boolean hasPxratio() {
return ((bitField0_ & 0x00010000) != 0);
}
/**
* <pre>
* The ratio of physical pixels to device independent pixels.
* Supported by Google.
* </pre>
*
* <code>optional double pxratio = 28;</code>
* @return The pxratio.
*/
@java.lang.Override
public double getPxratio() {
return pxratio_;
}
/**
* <pre>
* The ratio of physical pixels to device independent pixels.
* Supported by Google.
* </pre>
*
* <code>optional double pxratio = 28;</code>
* @param value The pxratio to set.
*/
private void setPxratio(double value) {
bitField0_ |= 0x00010000;
pxratio_ = value;
}
/**
* <pre>
* The ratio of physical pixels to device independent pixels.
* Supported by Google.
* </pre>
*
* <code>optional double pxratio = 28;</code>
*/
private void clearPxratio() {
bitField0_ = (bitField0_ & ~0x00010000);
pxratio_ = 0D;
}
public static final int JS_FIELD_NUMBER = 16;
private boolean js_;
/**
* <pre>
* Support for JavaScript.
* Not supported by Google.
* </pre>
*
* <code>optional bool js = 16;</code>
* @return Whether the js field is set.
*/
@java.lang.Override
public boolean hasJs() {
return ((bitField0_ & 0x00020000) != 0);
}
/**
* <pre>
* Support for JavaScript.
* Not supported by Google.
* </pre>
*
* <code>optional bool js = 16;</code>
* @return The js.
*/
@java.lang.Override
public boolean getJs() {
return js_;
}
/**
* <pre>
* Support for JavaScript.
* Not supported by Google.
* </pre>
*
* <code>optional bool js = 16;</code>
* @param value The js to set.
*/
private void setJs(boolean value) {
bitField0_ |= 0x00020000;
js_ = value;
}
/**
* <pre>
* Support for JavaScript.
* Not supported by Google.
* </pre>
*
* <code>optional bool js = 16;</code>
*/
private void clearJs() {
bitField0_ = (bitField0_ & ~0x00020000);
js_ = false;
}
public static final int GEOFETCH_FIELD_NUMBER = 29;
private boolean geofetch_;
/**
* <pre>
* Indicates if the geolocation API will be available to JavaScript
* code running in the banner.
* Not supported by Google.
* </pre>
*
* <code>optional bool geofetch = 29;</code>
* @return Whether the geofetch field is set.
*/
@java.lang.Override
public boolean hasGeofetch() {
return ((bitField0_ & 0x00040000) != 0);
}
/**
* <pre>
* Indicates if the geolocation API will be available to JavaScript
* code running in the banner.
* Not supported by Google.
* </pre>
*
* <code>optional bool geofetch = 29;</code>
* @return The geofetch.
*/
@java.lang.Override
public boolean getGeofetch() {
return geofetch_;
}
/**
* <pre>
* Indicates if the geolocation API will be available to JavaScript
* code running in the banner.
* Not supported by Google.
* </pre>
*
* <code>optional bool geofetch = 29;</code>
* @param value The geofetch to set.
*/
private void setGeofetch(boolean value) {
bitField0_ |= 0x00040000;
geofetch_ = value;
}
/**
* <pre>
* Indicates if the geolocation API will be available to JavaScript
* code running in the banner.
* Not supported by Google.
* </pre>
*
* <code>optional bool geofetch = 29;</code>
*/
private void clearGeofetch() {
bitField0_ = (bitField0_ & ~0x00040000);
geofetch_ = false;
}
public static final int FLASHVER_FIELD_NUMBER = 19;
private java.lang.String flashver_;
/**
* <pre>
* Version of Flash supported by the browser.
* Not supported by Google.
* </pre>
*
* <code>optional string flashver = 19;</code>
* @return Whether the flashver field is set.
*/
@java.lang.Override
public boolean hasFlashver() {
return ((bitField0_ & 0x00080000) != 0);
}
/**
* <pre>
* Version of Flash supported by the browser.
* Not supported by Google.
* </pre>
*
* <code>optional string flashver = 19;</code>
* @return The flashver.
*/
@java.lang.Override
public java.lang.String getFlashver() {
return flashver_;
}
/**
* <pre>
* Version of Flash supported by the browser.
* Not supported by Google.
* </pre>
*
* <code>optional string flashver = 19;</code>
* @return The bytes for flashver.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getFlashverBytes() {
return com.google.protobuf.ByteString.copyFromUtf8(flashver_);
}
/**
* <pre>
* Version of Flash supported by the browser.
* Not supported by Google.
* </pre>
*
* <code>optional string flashver = 19;</code>
* @param value The flashver to set.
*/
private void setFlashver(
java.lang.String value) {
java.lang.Class<?> valueClass = value.getClass();
bitField0_ |= 0x00080000;
flashver_ = value;
}
/**
* <pre>
* Version of Flash supported by the browser.
* Not supported by Google.
* </pre>
*
* <code>optional string flashver = 19;</code>
*/
private void clearFlashver() {
bitField0_ = (bitField0_ & ~0x00080000);
flashver_ = getDefaultInstance().getFlashver();
}
/**
* <pre>
* Version of Flash supported by the browser.
* Not supported by Google.
* </pre>
*
* <code>optional string flashver = 19;</code>
* @param value The bytes for flashver to set.
*/
private void setFlashverBytes(
com.google.protobuf.ByteString value) {
flashver_ = value.toStringUtf8();
bitField0_ |= 0x00080000;
}
public static final int LANGUAGE_FIELD_NUMBER = 11;
private java.lang.String language_;
/**
* <pre>
* Browser language using ISO-639-1-alpha-2.
* Only one of language or langb should be present.
* Not supported by Google.
* </pre>
*
* <code>optional string language = 11;</code>
* @return Whether the language field is set.
*/
@java.lang.Override
public boolean hasLanguage() {
return ((bitField0_ & 0x00100000) != 0);
}
/**
* <pre>
* Browser language using ISO-639-1-alpha-2.
* Only one of language or langb should be present.
* Not supported by Google.
* </pre>
*
* <code>optional string language = 11;</code>
* @return The language.
*/
@java.lang.Override
public java.lang.String getLanguage() {
return language_;
}
/**
* <pre>
* Browser language using ISO-639-1-alpha-2.
* Only one of language or langb should be present.
* Not supported by Google.
* </pre>
*
* <code>optional string language = 11;</code>
* @return The bytes for language.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getLanguageBytes() {
return com.google.protobuf.ByteString.copyFromUtf8(language_);
}
/**
* <pre>
* Browser language using ISO-639-1-alpha-2.
* Only one of language or langb should be present.
* Not supported by Google.
* </pre>
*
* <code>optional string language = 11;</code>
* @param value The language to set.
*/
private void setLanguage(
java.lang.String value) {
java.lang.Class<?> valueClass = value.getClass();
bitField0_ |= 0x00100000;
language_ = value;
}
/**
* <pre>
* Browser language using ISO-639-1-alpha-2.
* Only one of language or langb should be present.
* Not supported by Google.
* </pre>
*
* <code>optional string language = 11;</code>
*/
private void clearLanguage() {
bitField0_ = (bitField0_ & ~0x00100000);
language_ = getDefaultInstance().getLanguage();
}
/**
* <pre>
* Browser language using ISO-639-1-alpha-2.
* Only one of language or langb should be present.
* Not supported by Google.
* </pre>
*
* <code>optional string language = 11;</code>
* @param value The bytes for language to set.
*/
private void setLanguageBytes(
com.google.protobuf.ByteString value) {
language_ = value.toStringUtf8();
bitField0_ |= 0x00100000;
}
public static final int LANGB_FIELD_NUMBER = 32;
private java.lang.String langb_;
/**
* <pre>
* Browser language using IETF BCP 47.
* Only one of language or langb should be present.
* Not supported by Google.
* </pre>
*
* <code>optional string langb = 32;</code>
* @return Whether the langb field is set.
*/
@java.lang.Override
public boolean hasLangb() {
return ((bitField0_ & 0x00200000) != 0);
}
/**
* <pre>
* Browser language using IETF BCP 47.
* Only one of language or langb should be present.
* Not supported by Google.
* </pre>
*
* <code>optional string langb = 32;</code>
* @return The langb.
*/
@java.lang.Override
public java.lang.String getLangb() {
return langb_;
}
/**
* <pre>
* Browser language using IETF BCP 47.
* Only one of language or langb should be present.
* Not supported by Google.
* </pre>
*
* <code>optional string langb = 32;</code>
* @return The bytes for langb.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getLangbBytes() {
return com.google.protobuf.ByteString.copyFromUtf8(langb_);
}
/**
* <pre>
* Browser language using IETF BCP 47.
* Only one of language or langb should be present.
* Not supported by Google.
* </pre>
*
* <code>optional string langb = 32;</code>
* @param value The langb to set.
*/
private void setLangb(
java.lang.String value) {
java.lang.Class<?> valueClass = value.getClass();
bitField0_ |= 0x00200000;
langb_ = value;
}
/**
* <pre>
* Browser language using IETF BCP 47.
* Only one of language or langb should be present.
* Not supported by Google.
* </pre>
*
* <code>optional string langb = 32;</code>
*/
private void clearLangb() {
bitField0_ = (bitField0_ & ~0x00200000);
langb_ = getDefaultInstance().getLangb();
}
/**
* <pre>
* Browser language using IETF BCP 47.
* Only one of language or langb should be present.
* Not supported by Google.
* </pre>
*
* <code>optional string langb = 32;</code>
* @param value The bytes for langb to set.
*/
private void setLangbBytes(
com.google.protobuf.ByteString value) {
langb_ = value.toStringUtf8();
bitField0_ |= 0x00200000;
}
public static final int CARRIER_FIELD_NUMBER = 10;
private java.lang.String carrier_;
/**
* <pre>
* Carrier or ISP (for example, "VERIZON") using exchange curated string
* names which should be published to bidders a priori.
* Supported by Google.
* </pre>
*
* <code>optional string carrier = 10;</code>
* @return Whether the carrier field is set.
*/
@java.lang.Override
public boolean hasCarrier() {
return ((bitField0_ & 0x00400000) != 0);
}
/**
* <pre>
* Carrier or ISP (for example, "VERIZON") using exchange curated string
* names which should be published to bidders a priori.
* Supported by Google.
* </pre>
*
* <code>optional string carrier = 10;</code>
* @return The carrier.
*/
@java.lang.Override
public java.lang.String getCarrier() {
return carrier_;
}
/**
* <pre>
* Carrier or ISP (for example, "VERIZON") using exchange curated string
* names which should be published to bidders a priori.
* Supported by Google.
* </pre>
*
* <code>optional string carrier = 10;</code>
* @return The bytes for carrier.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getCarrierBytes() {
return com.google.protobuf.ByteString.copyFromUtf8(carrier_);
}
/**
* <pre>
* Carrier or ISP (for example, "VERIZON") using exchange curated string
* names which should be published to bidders a priori.
* Supported by Google.
* </pre>
*
* <code>optional string carrier = 10;</code>
* @param value The carrier to set.
*/
private void setCarrier(
java.lang.String value) {
java.lang.Class<?> valueClass = value.getClass();
bitField0_ |= 0x00400000;
carrier_ = value;
}
/**
* <pre>
* Carrier or ISP (for example, "VERIZON") using exchange curated string
* names which should be published to bidders a priori.
* Supported by Google.
* </pre>
*
* <code>optional string carrier = 10;</code>
*/
private void clearCarrier() {
bitField0_ = (bitField0_ & ~0x00400000);
carrier_ = getDefaultInstance().getCarrier();
}
/**
* <pre>
* Carrier or ISP (for example, "VERIZON") using exchange curated string
* names which should be published to bidders a priori.
* Supported by Google.
* </pre>
*
* <code>optional string carrier = 10;</code>
* @param value The bytes for carrier to set.
*/
private void setCarrierBytes(
com.google.protobuf.ByteString value) {
carrier_ = value.toStringUtf8();
bitField0_ |= 0x00400000;
}
public static final int MCCMNC_FIELD_NUMBER = 30;
private java.lang.String mccmnc_;
/**
* <pre>
* Mobile carrier as the concatenated MCC-MNC code (for example,
* "310-005" identifies Verizon Wireless CDMA in the USA).
* Refer to https://en.wikipedia.org/wiki/Mobile_country_code
* for further examples. Note that the dash between the MCC
* and MNC parts is required to remove parsing ambiguity.
* The MCC-MNC values represent the SIM installed on the device and
* do not change when a device is roaming. Roaming may be inferred by
* a combination of the MCC-MNC, geo, IP and other data signals.
* Not supported by Google.
* </pre>
*
* <code>optional string mccmnc = 30;</code>
* @return Whether the mccmnc field is set.
*/
@java.lang.Override
public boolean hasMccmnc() {
return ((bitField0_ & 0x00800000) != 0);
}
/**
* <pre>
* Mobile carrier as the concatenated MCC-MNC code (for example,
* "310-005" identifies Verizon Wireless CDMA in the USA).
* Refer to https://en.wikipedia.org/wiki/Mobile_country_code
* for further examples. Note that the dash between the MCC
* and MNC parts is required to remove parsing ambiguity.
* The MCC-MNC values represent the SIM installed on the device and
* do not change when a device is roaming. Roaming may be inferred by
* a combination of the MCC-MNC, geo, IP and other data signals.
* Not supported by Google.
* </pre>
*
* <code>optional string mccmnc = 30;</code>
* @return The mccmnc.
*/
@java.lang.Override
public java.lang.String getMccmnc() {
return mccmnc_;
}
/**
* <pre>
* Mobile carrier as the concatenated MCC-MNC code (for example,
* "310-005" identifies Verizon Wireless CDMA in the USA).
* Refer to https://en.wikipedia.org/wiki/Mobile_country_code
* for further examples. Note that the dash between the MCC
* and MNC parts is required to remove parsing ambiguity.
* The MCC-MNC values represent the SIM installed on the device and
* do not change when a device is roaming. Roaming may be inferred by
* a combination of the MCC-MNC, geo, IP and other data signals.
* Not supported by Google.
* </pre>
*
* <code>optional string mccmnc = 30;</code>
* @return The bytes for mccmnc.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getMccmncBytes() {
return com.google.protobuf.ByteString.copyFromUtf8(mccmnc_);
}
/**
* <pre>
* Mobile carrier as the concatenated MCC-MNC code (for example,
* "310-005" identifies Verizon Wireless CDMA in the USA).
* Refer to https://en.wikipedia.org/wiki/Mobile_country_code
* for further examples. Note that the dash between the MCC
* and MNC parts is required to remove parsing ambiguity.
* The MCC-MNC values represent the SIM installed on the device and
* do not change when a device is roaming. Roaming may be inferred by
* a combination of the MCC-MNC, geo, IP and other data signals.
* Not supported by Google.
* </pre>
*
* <code>optional string mccmnc = 30;</code>
* @param value The mccmnc to set.
*/
private void setMccmnc(
java.lang.String value) {
java.lang.Class<?> valueClass = value.getClass();
bitField0_ |= 0x00800000;
mccmnc_ = value;
}
/**
* <pre>
* Mobile carrier as the concatenated MCC-MNC code (for example,
* "310-005" identifies Verizon Wireless CDMA in the USA).
* Refer to https://en.wikipedia.org/wiki/Mobile_country_code
* for further examples. Note that the dash between the MCC
* and MNC parts is required to remove parsing ambiguity.
* The MCC-MNC values represent the SIM installed on the device and
* do not change when a device is roaming. Roaming may be inferred by
* a combination of the MCC-MNC, geo, IP and other data signals.
* Not supported by Google.
* </pre>
*
* <code>optional string mccmnc = 30;</code>
*/
private void clearMccmnc() {
bitField0_ = (bitField0_ & ~0x00800000);
mccmnc_ = getDefaultInstance().getMccmnc();
}
/**
* <pre>
* Mobile carrier as the concatenated MCC-MNC code (for example,
* "310-005" identifies Verizon Wireless CDMA in the USA).
* Refer to https://en.wikipedia.org/wiki/Mobile_country_code
* for further examples. Note that the dash between the MCC
* and MNC parts is required to remove parsing ambiguity.
* The MCC-MNC values represent the SIM installed on the device and
* do not change when a device is roaming. Roaming may be inferred by
* a combination of the MCC-MNC, geo, IP and other data signals.
* Not supported by Google.
* </pre>
*
* <code>optional string mccmnc = 30;</code>
* @param value The bytes for mccmnc to set.
*/
private void setMccmncBytes(
com.google.protobuf.ByteString value) {
mccmnc_ = value.toStringUtf8();
bitField0_ |= 0x00800000;
}
public static final int CONNECTIONTYPE_FIELD_NUMBER = 17;
private int connectiontype_;
/**
* <pre>
* Network connection type.
* Google: For 5G connection type, we send CELL_4G instead of CELL_5G.
* Supported by Google.
* </pre>
*
* <code>optional .com.google.openrtb.ConnectionType connectiontype = 17;</code>
* @return Whether the connectiontype field is set.
*/
@java.lang.Override
public boolean hasConnectiontype() {
return ((bitField0_ & 0x01000000) != 0);
}
/**
* <pre>
* Network connection type.
* Google: For 5G connection type, we send CELL_4G instead of CELL_5G.
* Supported by Google.
* </pre>
*
* <code>optional .com.google.openrtb.ConnectionType connectiontype = 17;</code>
* @return The connectiontype.
*/
@java.lang.Override
public com.particles.mes.protos.openrtb.ConnectionType getConnectiontype() {
com.particles.mes.protos.openrtb.ConnectionType result = com.particles.mes.protos.openrtb.ConnectionType.forNumber(connectiontype_);
return result == null ? com.particles.mes.protos.openrtb.ConnectionType.CONNECTION_UNKNOWN : result;
}
/**
* <pre>
* Network connection type.
* Google: For 5G connection type, we send CELL_4G instead of CELL_5G.
* Supported by Google.
* </pre>
*
* <code>optional .com.google.openrtb.ConnectionType connectiontype = 17;</code>
* @param value The connectiontype to set.
*/
private void setConnectiontype(com.particles.mes.protos.openrtb.ConnectionType value) {
connectiontype_ = value.getNumber();
bitField0_ |= 0x01000000;
}
/**
* <pre>
* Network connection type.
* Google: For 5G connection type, we send CELL_4G instead of CELL_5G.
* Supported by Google.
* </pre>
*
* <code>optional .com.google.openrtb.ConnectionType connectiontype = 17;</code>
*/
private void clearConnectiontype() {
bitField0_ = (bitField0_ & ~0x01000000);
connectiontype_ = 0;
}
public static final int IFA_FIELD_NUMBER = 20;
private java.lang.String ifa_;
/**
* <pre>
* ID sanctioned for advertiser use in the clear (meaning, not hashed).
* Supported by Google.
* </pre>
*
* <code>optional string ifa = 20;</code>
* @return Whether the ifa field is set.
*/
@java.lang.Override
public boolean hasIfa() {
return ((bitField0_ & 0x02000000) != 0);
}
/**
* <pre>
* ID sanctioned for advertiser use in the clear (meaning, not hashed).
* Supported by Google.
* </pre>
*
* <code>optional string ifa = 20;</code>
* @return The ifa.
*/
@java.lang.Override
public java.lang.String getIfa() {
return ifa_;
}
/**
* <pre>
* ID sanctioned for advertiser use in the clear (meaning, not hashed).
* Supported by Google.
* </pre>
*
* <code>optional string ifa = 20;</code>
* @return The bytes for ifa.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getIfaBytes() {
return com.google.protobuf.ByteString.copyFromUtf8(ifa_);
}
/**
* <pre>
* ID sanctioned for advertiser use in the clear (meaning, not hashed).
* Supported by Google.
* </pre>
*
* <code>optional string ifa = 20;</code>
* @param value The ifa to set.
*/
private void setIfa(
java.lang.String value) {
java.lang.Class<?> valueClass = value.getClass();
bitField0_ |= 0x02000000;
ifa_ = value;
}
/**
* <pre>
* ID sanctioned for advertiser use in the clear (meaning, not hashed).
* Supported by Google.
* </pre>
*
* <code>optional string ifa = 20;</code>
*/
private void clearIfa() {
bitField0_ = (bitField0_ & ~0x02000000);
ifa_ = getDefaultInstance().getIfa();
}
/**
* <pre>
* ID sanctioned for advertiser use in the clear (meaning, not hashed).
* Supported by Google.
* </pre>
*
* <code>optional string ifa = 20;</code>
* @param value The bytes for ifa to set.
*/
private void setIfaBytes(
com.google.protobuf.ByteString value) {
ifa_ = value.toStringUtf8();
bitField0_ |= 0x02000000;
}
public static final int DIDSHA1_FIELD_NUMBER = 5;
private java.lang.String didsha1_;
/**
* <pre>
* DEPRECATED in OpenRTB 2.6+. No replacement.
* Hardware device ID (for example, IMEI); hashed through SHA1.
* Not supported by Google.
* </pre>
*
* <code>optional string didsha1 = 5 [deprecated = true];</code>
* @deprecated com.google.openrtb.BidRequest.Device.didsha1 is deprecated.
* See openrtb/openrtb-v26.proto;l=1484
* @return Whether the didsha1 field is set.
*/
@java.lang.Override
@java.lang.Deprecated public boolean hasDidsha1() {
return ((bitField0_ & 0x04000000) != 0);
}
/**
* <pre>
* DEPRECATED in OpenRTB 2.6+. No replacement.
* Hardware device ID (for example, IMEI); hashed through SHA1.
* Not supported by Google.
* </pre>
*
* <code>optional string didsha1 = 5 [deprecated = true];</code>
* @deprecated com.google.openrtb.BidRequest.Device.didsha1 is deprecated.
* See openrtb/openrtb-v26.proto;l=1484
* @return The didsha1.
*/
@java.lang.Override
@java.lang.Deprecated public java.lang.String getDidsha1() {
return didsha1_;
}
/**
* <pre>
* DEPRECATED in OpenRTB 2.6+. No replacement.
* Hardware device ID (for example, IMEI); hashed through SHA1.
* Not supported by Google.
* </pre>
*
* <code>optional string didsha1 = 5 [deprecated = true];</code>
* @deprecated com.google.openrtb.BidRequest.Device.didsha1 is deprecated.
* See openrtb/openrtb-v26.proto;l=1484
* @return The bytes for didsha1.
*/
@java.lang.Override
@java.lang.Deprecated public com.google.protobuf.ByteString
getDidsha1Bytes() {
return com.google.protobuf.ByteString.copyFromUtf8(didsha1_);
}
/**
* <pre>
* DEPRECATED in OpenRTB 2.6+. No replacement.
* Hardware device ID (for example, IMEI); hashed through SHA1.
* Not supported by Google.
* </pre>
*
* <code>optional string didsha1 = 5 [deprecated = true];</code>
* @deprecated com.google.openrtb.BidRequest.Device.didsha1 is deprecated.
* See openrtb/openrtb-v26.proto;l=1484
* @param value The didsha1 to set.
*/
private void setDidsha1(
java.lang.String value) {
java.lang.Class<?> valueClass = value.getClass();
bitField0_ |= 0x04000000;
didsha1_ = value;
}
/**
* <pre>
* DEPRECATED in OpenRTB 2.6+. No replacement.
* Hardware device ID (for example, IMEI); hashed through SHA1.
* Not supported by Google.
* </pre>
*
* <code>optional string didsha1 = 5 [deprecated = true];</code>
* @deprecated com.google.openrtb.BidRequest.Device.didsha1 is deprecated.
* See openrtb/openrtb-v26.proto;l=1484
*/
private void clearDidsha1() {
bitField0_ = (bitField0_ & ~0x04000000);
didsha1_ = getDefaultInstance().getDidsha1();
}
/**
* <pre>
* DEPRECATED in OpenRTB 2.6+. No replacement.
* Hardware device ID (for example, IMEI); hashed through SHA1.
* Not supported by Google.
* </pre>
*
* <code>optional string didsha1 = 5 [deprecated = true];</code>
* @deprecated com.google.openrtb.BidRequest.Device.didsha1 is deprecated.
* See openrtb/openrtb-v26.proto;l=1484
* @param value The bytes for didsha1 to set.
*/
private void setDidsha1Bytes(
com.google.protobuf.ByteString value) {
didsha1_ = value.toStringUtf8();
bitField0_ |= 0x04000000;
}
public static final int DIDMD5_FIELD_NUMBER = 6;
private java.lang.String didmd5_;
/**
* <pre>
* DEPRECATED in OpenRTB 2.6+. No replacement.
* Hardware device ID (for example, IMEI); hashed through MD5.
* Not supported by Google.
* </pre>
*
* <code>optional string didmd5 = 6 [deprecated = true];</code>
* @deprecated com.google.openrtb.BidRequest.Device.didmd5 is deprecated.
* See openrtb/openrtb-v26.proto;l=1489
* @return Whether the didmd5 field is set.
*/
@java.lang.Override
@java.lang.Deprecated public boolean hasDidmd5() {
return ((bitField0_ & 0x08000000) != 0);
}
/**
* <pre>
* DEPRECATED in OpenRTB 2.6+. No replacement.
* Hardware device ID (for example, IMEI); hashed through MD5.
* Not supported by Google.
* </pre>
*
* <code>optional string didmd5 = 6 [deprecated = true];</code>
* @deprecated com.google.openrtb.BidRequest.Device.didmd5 is deprecated.
* See openrtb/openrtb-v26.proto;l=1489
* @return The didmd5.
*/
@java.lang.Override
@java.lang.Deprecated public java.lang.String getDidmd5() {
return didmd5_;
}
/**
* <pre>
* DEPRECATED in OpenRTB 2.6+. No replacement.
* Hardware device ID (for example, IMEI); hashed through MD5.
* Not supported by Google.
* </pre>
*
* <code>optional string didmd5 = 6 [deprecated = true];</code>
* @deprecated com.google.openrtb.BidRequest.Device.didmd5 is deprecated.
* See openrtb/openrtb-v26.proto;l=1489
* @return The bytes for didmd5.
*/
@java.lang.Override
@java.lang.Deprecated public com.google.protobuf.ByteString
getDidmd5Bytes() {
return com.google.protobuf.ByteString.copyFromUtf8(didmd5_);
}
/**
* <pre>
* DEPRECATED in OpenRTB 2.6+. No replacement.
* Hardware device ID (for example, IMEI); hashed through MD5.
* Not supported by Google.
* </pre>
*
* <code>optional string didmd5 = 6 [deprecated = true];</code>
* @deprecated com.google.openrtb.BidRequest.Device.didmd5 is deprecated.
* See openrtb/openrtb-v26.proto;l=1489
* @param value The didmd5 to set.
*/
private void setDidmd5(
java.lang.String value) {
java.lang.Class<?> valueClass = value.getClass();
bitField0_ |= 0x08000000;
didmd5_ = value;
}
/**
* <pre>
* DEPRECATED in OpenRTB 2.6+. No replacement.
* Hardware device ID (for example, IMEI); hashed through MD5.
* Not supported by Google.
* </pre>
*
* <code>optional string didmd5 = 6 [deprecated = true];</code>
* @deprecated com.google.openrtb.BidRequest.Device.didmd5 is deprecated.
* See openrtb/openrtb-v26.proto;l=1489
*/
private void clearDidmd5() {
bitField0_ = (bitField0_ & ~0x08000000);
didmd5_ = getDefaultInstance().getDidmd5();
}
/**
* <pre>
* DEPRECATED in OpenRTB 2.6+. No replacement.
* Hardware device ID (for example, IMEI); hashed through MD5.
* Not supported by Google.
* </pre>
*
* <code>optional string didmd5 = 6 [deprecated = true];</code>
* @deprecated com.google.openrtb.BidRequest.Device.didmd5 is deprecated.
* See openrtb/openrtb-v26.proto;l=1489
* @param value The bytes for didmd5 to set.
*/
private void setDidmd5Bytes(
com.google.protobuf.ByteString value) {
didmd5_ = value.toStringUtf8();
bitField0_ |= 0x08000000;
}
public static final int DPIDSHA1_FIELD_NUMBER = 7;
private java.lang.String dpidsha1_;
/**
* <pre>
* DEPRECATED in OpenRTB 2.6+. No replacement.
* Platform device ID (for example, Android ID); hashed through SHA1.
* Not supported by Google.
* </pre>
*
* <code>optional string dpidsha1 = 7 [deprecated = true];</code>
* @deprecated com.google.openrtb.BidRequest.Device.dpidsha1 is deprecated.
* See openrtb/openrtb-v26.proto;l=1494
* @return Whether the dpidsha1 field is set.
*/
@java.lang.Override
@java.lang.Deprecated public boolean hasDpidsha1() {
return ((bitField0_ & 0x10000000) != 0);
}
/**
* <pre>
* DEPRECATED in OpenRTB 2.6+. No replacement.
* Platform device ID (for example, Android ID); hashed through SHA1.
* Not supported by Google.
* </pre>
*
* <code>optional string dpidsha1 = 7 [deprecated = true];</code>
* @deprecated com.google.openrtb.BidRequest.Device.dpidsha1 is deprecated.
* See openrtb/openrtb-v26.proto;l=1494
* @return The dpidsha1.
*/
@java.lang.Override
@java.lang.Deprecated public java.lang.String getDpidsha1() {
return dpidsha1_;
}
/**
* <pre>
* DEPRECATED in OpenRTB 2.6+. No replacement.
* Platform device ID (for example, Android ID); hashed through SHA1.
* Not supported by Google.
* </pre>
*
* <code>optional string dpidsha1 = 7 [deprecated = true];</code>
* @deprecated com.google.openrtb.BidRequest.Device.dpidsha1 is deprecated.
* See openrtb/openrtb-v26.proto;l=1494
* @return The bytes for dpidsha1.
*/
@java.lang.Override
@java.lang.Deprecated public com.google.protobuf.ByteString
getDpidsha1Bytes() {
return com.google.protobuf.ByteString.copyFromUtf8(dpidsha1_);
}
/**
* <pre>
* DEPRECATED in OpenRTB 2.6+. No replacement.
* Platform device ID (for example, Android ID); hashed through SHA1.
* Not supported by Google.
* </pre>
*
* <code>optional string dpidsha1 = 7 [deprecated = true];</code>
* @deprecated com.google.openrtb.BidRequest.Device.dpidsha1 is deprecated.
* See openrtb/openrtb-v26.proto;l=1494
* @param value The dpidsha1 to set.
*/
private void setDpidsha1(
java.lang.String value) {
java.lang.Class<?> valueClass = value.getClass();
bitField0_ |= 0x10000000;
dpidsha1_ = value;
}
/**
* <pre>
* DEPRECATED in OpenRTB 2.6+. No replacement.
* Platform device ID (for example, Android ID); hashed through SHA1.
* Not supported by Google.
* </pre>
*
* <code>optional string dpidsha1 = 7 [deprecated = true];</code>
* @deprecated com.google.openrtb.BidRequest.Device.dpidsha1 is deprecated.
* See openrtb/openrtb-v26.proto;l=1494
*/
private void clearDpidsha1() {
bitField0_ = (bitField0_ & ~0x10000000);
dpidsha1_ = getDefaultInstance().getDpidsha1();
}
/**
* <pre>
* DEPRECATED in OpenRTB 2.6+. No replacement.
* Platform device ID (for example, Android ID); hashed through SHA1.
* Not supported by Google.
* </pre>
*
* <code>optional string dpidsha1 = 7 [deprecated = true];</code>
* @deprecated com.google.openrtb.BidRequest.Device.dpidsha1 is deprecated.
* See openrtb/openrtb-v26.proto;l=1494
* @param value The bytes for dpidsha1 to set.
*/
private void setDpidsha1Bytes(
com.google.protobuf.ByteString value) {
dpidsha1_ = value.toStringUtf8();
bitField0_ |= 0x10000000;
}
public static final int DPIDMD5_FIELD_NUMBER = 8;
private java.lang.String dpidmd5_;
/**
* <pre>
* DEPRECATED in OpenRTB 2.6+. No replacement.
* Platform device ID (for example, Android ID); hashed through MD5.
* Supported by Google.
* </pre>
*
* <code>optional string dpidmd5 = 8 [deprecated = true];</code>
* @deprecated com.google.openrtb.BidRequest.Device.dpidmd5 is deprecated.
* See openrtb/openrtb-v26.proto;l=1499
* @return Whether the dpidmd5 field is set.
*/
@java.lang.Override
@java.lang.Deprecated public boolean hasDpidmd5() {
return ((bitField0_ & 0x20000000) != 0);
}
/**
* <pre>
* DEPRECATED in OpenRTB 2.6+. No replacement.
* Platform device ID (for example, Android ID); hashed through MD5.
* Supported by Google.
* </pre>
*
* <code>optional string dpidmd5 = 8 [deprecated = true];</code>
* @deprecated com.google.openrtb.BidRequest.Device.dpidmd5 is deprecated.
* See openrtb/openrtb-v26.proto;l=1499
* @return The dpidmd5.
*/
@java.lang.Override
@java.lang.Deprecated public java.lang.String getDpidmd5() {
return dpidmd5_;
}
/**
* <pre>
* DEPRECATED in OpenRTB 2.6+. No replacement.
* Platform device ID (for example, Android ID); hashed through MD5.
* Supported by Google.
* </pre>
*
* <code>optional string dpidmd5 = 8 [deprecated = true];</code>
* @deprecated com.google.openrtb.BidRequest.Device.dpidmd5 is deprecated.
* See openrtb/openrtb-v26.proto;l=1499
* @return The bytes for dpidmd5.
*/
@java.lang.Override
@java.lang.Deprecated public com.google.protobuf.ByteString
getDpidmd5Bytes() {
return com.google.protobuf.ByteString.copyFromUtf8(dpidmd5_);
}
/**
* <pre>
* DEPRECATED in OpenRTB 2.6+. No replacement.
* Platform device ID (for example, Android ID); hashed through MD5.
* Supported by Google.
* </pre>
*
* <code>optional string dpidmd5 = 8 [deprecated = true];</code>
* @deprecated com.google.openrtb.BidRequest.Device.dpidmd5 is deprecated.
* See openrtb/openrtb-v26.proto;l=1499
* @param value The dpidmd5 to set.
*/
private void setDpidmd5(
java.lang.String value) {
java.lang.Class<?> valueClass = value.getClass();
bitField0_ |= 0x20000000;
dpidmd5_ = value;
}
/**
* <pre>
* DEPRECATED in OpenRTB 2.6+. No replacement.
* Platform device ID (for example, Android ID); hashed through MD5.
* Supported by Google.
* </pre>
*
* <code>optional string dpidmd5 = 8 [deprecated = true];</code>
* @deprecated com.google.openrtb.BidRequest.Device.dpidmd5 is deprecated.
* See openrtb/openrtb-v26.proto;l=1499
*/
private void clearDpidmd5() {
bitField0_ = (bitField0_ & ~0x20000000);
dpidmd5_ = getDefaultInstance().getDpidmd5();
}
/**
* <pre>
* DEPRECATED in OpenRTB 2.6+. No replacement.
* Platform device ID (for example, Android ID); hashed through MD5.
* Supported by Google.
* </pre>
*
* <code>optional string dpidmd5 = 8 [deprecated = true];</code>
* @deprecated com.google.openrtb.BidRequest.Device.dpidmd5 is deprecated.
* See openrtb/openrtb-v26.proto;l=1499
* @param value The bytes for dpidmd5 to set.
*/
private void setDpidmd5Bytes(
com.google.protobuf.ByteString value) {
dpidmd5_ = value.toStringUtf8();
bitField0_ |= 0x20000000;
}
public static final int MACSHA1_FIELD_NUMBER = 21;
private java.lang.String macsha1_;
/**
* <pre>
* DEPRECATED in OpenRTB 2.6+. No replacement.
* MAC address of the device; hashed through SHA1.
* Not supported by Google.
* </pre>
*
* <code>optional string macsha1 = 21 [deprecated = true];</code>
* @deprecated com.google.openrtb.BidRequest.Device.macsha1 is deprecated.
* See openrtb/openrtb-v26.proto;l=1504
* @return Whether the macsha1 field is set.
*/
@java.lang.Override
@java.lang.Deprecated public boolean hasMacsha1() {
return ((bitField0_ & 0x40000000) != 0);
}
/**
* <pre>
* DEPRECATED in OpenRTB 2.6+. No replacement.
* MAC address of the device; hashed through SHA1.
* Not supported by Google.
* </pre>
*
* <code>optional string macsha1 = 21 [deprecated = true];</code>
* @deprecated com.google.openrtb.BidRequest.Device.macsha1 is deprecated.
* See openrtb/openrtb-v26.proto;l=1504
* @return The macsha1.
*/
@java.lang.Override
@java.lang.Deprecated public java.lang.String getMacsha1() {
return macsha1_;
}
/**
* <pre>
* DEPRECATED in OpenRTB 2.6+. No replacement.
* MAC address of the device; hashed through SHA1.
* Not supported by Google.
* </pre>
*
* <code>optional string macsha1 = 21 [deprecated = true];</code>
* @deprecated com.google.openrtb.BidRequest.Device.macsha1 is deprecated.
* See openrtb/openrtb-v26.proto;l=1504
* @return The bytes for macsha1.
*/
@java.lang.Override
@java.lang.Deprecated public com.google.protobuf.ByteString
getMacsha1Bytes() {
return com.google.protobuf.ByteString.copyFromUtf8(macsha1_);
}
/**
* <pre>
* DEPRECATED in OpenRTB 2.6+. No replacement.
* MAC address of the device; hashed through SHA1.
* Not supported by Google.
* </pre>
*
* <code>optional string macsha1 = 21 [deprecated = true];</code>
* @deprecated com.google.openrtb.BidRequest.Device.macsha1 is deprecated.
* See openrtb/openrtb-v26.proto;l=1504
* @param value The macsha1 to set.
*/
private void setMacsha1(
java.lang.String value) {
java.lang.Class<?> valueClass = value.getClass();
bitField0_ |= 0x40000000;
macsha1_ = value;
}
/**
* <pre>
* DEPRECATED in OpenRTB 2.6+. No replacement.
* MAC address of the device; hashed through SHA1.
* Not supported by Google.
* </pre>
*
* <code>optional string macsha1 = 21 [deprecated = true];</code>
* @deprecated com.google.openrtb.BidRequest.Device.macsha1 is deprecated.
* See openrtb/openrtb-v26.proto;l=1504
*/
private void clearMacsha1() {
bitField0_ = (bitField0_ & ~0x40000000);
macsha1_ = getDefaultInstance().getMacsha1();
}
/**
* <pre>
* DEPRECATED in OpenRTB 2.6+. No replacement.
* MAC address of the device; hashed through SHA1.
* Not supported by Google.
* </pre>
*
* <code>optional string macsha1 = 21 [deprecated = true];</code>
* @deprecated com.google.openrtb.BidRequest.Device.macsha1 is deprecated.
* See openrtb/openrtb-v26.proto;l=1504
* @param value The bytes for macsha1 to set.
*/
private void setMacsha1Bytes(
com.google.protobuf.ByteString value) {
macsha1_ = value.toStringUtf8();
bitField0_ |= 0x40000000;
}
public static final int MACMD5_FIELD_NUMBER = 22;
private java.lang.String macmd5_;
/**
* <pre>
* DEPRECATED in OpenRTB 2.6+. No replacement.
* MAC address of the device; hashed through MD5.
* Not supported by Google.
* </pre>
*
* <code>optional string macmd5 = 22 [deprecated = true];</code>
* @deprecated com.google.openrtb.BidRequest.Device.macmd5 is deprecated.
* See openrtb/openrtb-v26.proto;l=1509
* @return Whether the macmd5 field is set.
*/
@java.lang.Override
@java.lang.Deprecated public boolean hasMacmd5() {
return ((bitField0_ & 0x80000000) != 0);
}
/**
* <pre>
* DEPRECATED in OpenRTB 2.6+. No replacement.
* MAC address of the device; hashed through MD5.
* Not supported by Google.
* </pre>
*
* <code>optional string macmd5 = 22 [deprecated = true];</code>
* @deprecated com.google.openrtb.BidRequest.Device.macmd5 is deprecated.
* See openrtb/openrtb-v26.proto;l=1509
* @return The macmd5.
*/
@java.lang.Override
@java.lang.Deprecated public java.lang.String getMacmd5() {
return macmd5_;
}
/**
* <pre>
* DEPRECATED in OpenRTB 2.6+. No replacement.
* MAC address of the device; hashed through MD5.
* Not supported by Google.
* </pre>
*
* <code>optional string macmd5 = 22 [deprecated = true];</code>
* @deprecated com.google.openrtb.BidRequest.Device.macmd5 is deprecated.
* See openrtb/openrtb-v26.proto;l=1509
* @return The bytes for macmd5.
*/
@java.lang.Override
@java.lang.Deprecated public com.google.protobuf.ByteString
getMacmd5Bytes() {
return com.google.protobuf.ByteString.copyFromUtf8(macmd5_);
}
/**
* <pre>
* DEPRECATED in OpenRTB 2.6+. No replacement.
* MAC address of the device; hashed through MD5.
* Not supported by Google.
* </pre>
*
* <code>optional string macmd5 = 22 [deprecated = true];</code>
* @deprecated com.google.openrtb.BidRequest.Device.macmd5 is deprecated.
* See openrtb/openrtb-v26.proto;l=1509
* @param value The macmd5 to set.
*/
private void setMacmd5(
java.lang.String value) {
java.lang.Class<?> valueClass = value.getClass();
bitField0_ |= 0x80000000;
macmd5_ = value;
}
/**
* <pre>
* DEPRECATED in OpenRTB 2.6+. No replacement.
* MAC address of the device; hashed through MD5.
* Not supported by Google.
* </pre>
*
* <code>optional string macmd5 = 22 [deprecated = true];</code>
* @deprecated com.google.openrtb.BidRequest.Device.macmd5 is deprecated.
* See openrtb/openrtb-v26.proto;l=1509
*/
private void clearMacmd5() {
bitField0_ = (bitField0_ & ~0x80000000);
macmd5_ = getDefaultInstance().getMacmd5();
}
/**
* <pre>
* DEPRECATED in OpenRTB 2.6+. No replacement.
* MAC address of the device; hashed through MD5.
* Not supported by Google.
* </pre>
*
* <code>optional string macmd5 = 22 [deprecated = true];</code>
* @deprecated com.google.openrtb.BidRequest.Device.macmd5 is deprecated.
* See openrtb/openrtb-v26.proto;l=1509
* @param value The bytes for macmd5 to set.
*/
private void setMacmd5Bytes(
com.google.protobuf.ByteString value) {
macmd5_ = value.toStringUtf8();
bitField0_ |= 0x80000000;
}
public static final int EXT_FIELD_NUMBER = 90;
private java.lang.String ext_;
/**
* <code>optional string ext = 90;</code>
* @return Whether the ext field is set.
*/
@java.lang.Override
public boolean hasExt() {
return ((bitField1_ & 0x00000001) != 0);
}
/**
* <code>optional string ext = 90;</code>
* @return The ext.
*/
@java.lang.Override
public java.lang.String getExt() {
return ext_;
}
/**
* <code>optional string ext = 90;</code>
* @return The bytes for ext.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getExtBytes() {
return com.google.protobuf.ByteString.copyFromUtf8(ext_);
}
/**
* <code>optional string ext = 90;</code>
* @param value The ext to set.
*/
private void setExt(
java.lang.String value) {
java.lang.Class<?> valueClass = value.getClass();
bitField1_ |= 0x00000001;
ext_ = value;
}
/**
* <code>optional string ext = 90;</code>
*/
private void clearExt() {
bitField1_ = (bitField1_ & ~0x00000001);
ext_ = getDefaultInstance().getExt();
}
/**
* <code>optional string ext = 90;</code>
* @param value The bytes for ext to set.
*/
private void setExtBytes(
com.google.protobuf.ByteString value) {
ext_ = value.toStringUtf8();
bitField1_ |= 0x00000001;
}
public static com.particles.mes.protos.openrtb.BidRequest.Device parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, data);
}
public static com.particles.mes.protos.openrtb.BidRequest.Device parseFrom(
java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, data, extensionRegistry);
}
public static com.particles.mes.protos.openrtb.BidRequest.Device parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, data);
}
public static com.particles.mes.protos.openrtb.BidRequest.Device parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, data, extensionRegistry);
}
public static com.particles.mes.protos.openrtb.BidRequest.Device parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, data);
}
public static com.particles.mes.protos.openrtb.BidRequest.Device parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, data, extensionRegistry);
}
public static com.particles.mes.protos.openrtb.BidRequest.Device parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, input);
}
public static com.particles.mes.protos.openrtb.BidRequest.Device parseFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, input, extensionRegistry);
}
public static com.particles.mes.protos.openrtb.BidRequest.Device parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return parseDelimitedFrom(DEFAULT_INSTANCE, input);
}
public static com.particles.mes.protos.openrtb.BidRequest.Device parseDelimitedFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return parseDelimitedFrom(DEFAULT_INSTANCE, input, extensionRegistry);
}
public static com.particles.mes.protos.openrtb.BidRequest.Device parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, input);
}
public static com.particles.mes.protos.openrtb.BidRequest.Device parseFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, input, extensionRegistry);
}
public static Builder newBuilder() {
return (Builder) DEFAULT_INSTANCE.createBuilder();
}
public static Builder newBuilder(com.particles.mes.protos.openrtb.BidRequest.Device prototype) {
return (Builder) DEFAULT_INSTANCE.createBuilder(prototype);
}
/**
* <pre>
* OpenRTB 2.0: This object provides information pertaining to the device
* through which the user is interacting. Device information includes its
* hardware, platform, location, and carrier data. The device can refer to a
* mobile handset, a desktop computer, set top box, or other digital device.
* </pre>
*
* Protobuf type {@code com.google.openrtb.BidRequest.Device}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageLite.ExtendableBuilder<
com.particles.mes.protos.openrtb.BidRequest.Device, Builder> implements
// @@protoc_insertion_point(builder_implements:com.google.openrtb.BidRequest.Device)
com.particles.mes.protos.openrtb.BidRequest.DeviceOrBuilder {
// Construct using com.particles.mes.protos.openrtb.BidRequest.Device.newBuilder()
private Builder() {
super(DEFAULT_INSTANCE);
}
/**
* <pre>
* Location of the device assumed to be the user's current location defined
* by a Geo object (Section 3.2.12).
* Supported by Google.
* </pre>
*
* <code>optional .com.google.openrtb.BidRequest.Geo geo = 4;</code>
*/
@java.lang.Override
public boolean hasGeo() {
return instance.hasGeo();
}
/**
* <pre>
* Location of the device assumed to be the user's current location defined
* by a Geo object (Section 3.2.12).
* Supported by Google.
* </pre>
*
* <code>optional .com.google.openrtb.BidRequest.Geo geo = 4;</code>
*/
@java.lang.Override
public com.particles.mes.protos.openrtb.BidRequest.Geo getGeo() {
return instance.getGeo();
}
/**
* <pre>
* Location of the device assumed to be the user's current location defined
* by a Geo object (Section 3.2.12).
* Supported by Google.
* </pre>
*
* <code>optional .com.google.openrtb.BidRequest.Geo geo = 4;</code>
*/
public Builder setGeo(com.particles.mes.protos.openrtb.BidRequest.Geo value) {
copyOnWrite();
instance.setGeo(value);
return this;
}
/**
* <pre>
* Location of the device assumed to be the user's current location defined
* by a Geo object (Section 3.2.12).
* Supported by Google.
* </pre>
*
* <code>optional .com.google.openrtb.BidRequest.Geo geo = 4;</code>
*/
public Builder setGeo(
com.particles.mes.protos.openrtb.BidRequest.Geo.Builder builderForValue) {
copyOnWrite();
instance.setGeo(builderForValue.build());
return this;
}
/**
* <pre>
* Location of the device assumed to be the user's current location defined
* by a Geo object (Section 3.2.12).
* Supported by Google.
* </pre>
*
* <code>optional .com.google.openrtb.BidRequest.Geo geo = 4;</code>
*/
public Builder mergeGeo(com.particles.mes.protos.openrtb.BidRequest.Geo value) {
copyOnWrite();
instance.mergeGeo(value);
return this;
}
/**
* <pre>
* Location of the device assumed to be the user's current location defined
* by a Geo object (Section 3.2.12).
* Supported by Google.
* </pre>
*
* <code>optional .com.google.openrtb.BidRequest.Geo geo = 4;</code>
*/
public Builder clearGeo() { copyOnWrite();
instance.clearGeo();
return this;
}
/**
* <pre>
* Standard "Do Not Track" option as set in the header by the browser,
* where false = tracking is unrestricted, true = do not track.
* Not supported by Google.
* </pre>
*
* <code>optional bool dnt = 1;</code>
* @return Whether the dnt field is set.
*/
@java.lang.Override
public boolean hasDnt() {
return instance.hasDnt();
}
/**
* <pre>
* Standard "Do Not Track" option as set in the header by the browser,
* where false = tracking is unrestricted, true = do not track.
* Not supported by Google.
* </pre>
*
* <code>optional bool dnt = 1;</code>
* @return The dnt.
*/
@java.lang.Override
public boolean getDnt() {
return instance.getDnt();
}
/**
* <pre>
* Standard "Do Not Track" option as set in the header by the browser,
* where false = tracking is unrestricted, true = do not track.
* Not supported by Google.
* </pre>
*
* <code>optional bool dnt = 1;</code>
* @param value The dnt to set.
* @return This builder for chaining.
*/
public Builder setDnt(boolean value) {
copyOnWrite();
instance.setDnt(value);
return this;
}
/**
* <pre>
* Standard "Do Not Track" option as set in the header by the browser,
* where false = tracking is unrestricted, true = do not track.
* Not supported by Google.
* </pre>
*
* <code>optional bool dnt = 1;</code>
* @return This builder for chaining.
*/
public Builder clearDnt() {
copyOnWrite();
instance.clearDnt();
return this;
}
/**
* <pre>
* "Limit Ad Tracking" is a commercially endorsed signal based on the
* operating system or device settings, where `false` indicates that
* tracking is unrestricted and `true` indicates that tracking must be
* limited per commercial guidelines.
* This signal reflects user decisions on surfaces including iOS App
* Tracking Transparency:
* https://developer.apple.com/documentation/apptrackingtransparency
* See also lmt and App Tracking Transparency guidance:
* https://github.com/InteractiveAdvertisingBureau/openrtb/blob/master/extensions/community_extensions/skadnetwork.md#dnt-lmt-and-app-tracking-transparency-guidance
* and Android advertising ID:
* https://support.google.com/googleplay/android-developer/answer/6048248
* Supported by Google.
* </pre>
*
* <code>optional bool lmt = 23;</code>
* @return Whether the lmt field is set.
*/
@java.lang.Override
public boolean hasLmt() {
return instance.hasLmt();
}
/**
* <pre>
* "Limit Ad Tracking" is a commercially endorsed signal based on the
* operating system or device settings, where `false` indicates that
* tracking is unrestricted and `true` indicates that tracking must be
* limited per commercial guidelines.
* This signal reflects user decisions on surfaces including iOS App
* Tracking Transparency:
* https://developer.apple.com/documentation/apptrackingtransparency
* See also lmt and App Tracking Transparency guidance:
* https://github.com/InteractiveAdvertisingBureau/openrtb/blob/master/extensions/community_extensions/skadnetwork.md#dnt-lmt-and-app-tracking-transparency-guidance
* and Android advertising ID:
* https://support.google.com/googleplay/android-developer/answer/6048248
* Supported by Google.
* </pre>
*
* <code>optional bool lmt = 23;</code>
* @return The lmt.
*/
@java.lang.Override
public boolean getLmt() {
return instance.getLmt();
}
/**
* <pre>
* "Limit Ad Tracking" is a commercially endorsed signal based on the
* operating system or device settings, where `false` indicates that
* tracking is unrestricted and `true` indicates that tracking must be
* limited per commercial guidelines.
* This signal reflects user decisions on surfaces including iOS App
* Tracking Transparency:
* https://developer.apple.com/documentation/apptrackingtransparency
* See also lmt and App Tracking Transparency guidance:
* https://github.com/InteractiveAdvertisingBureau/openrtb/blob/master/extensions/community_extensions/skadnetwork.md#dnt-lmt-and-app-tracking-transparency-guidance
* and Android advertising ID:
* https://support.google.com/googleplay/android-developer/answer/6048248
* Supported by Google.
* </pre>
*
* <code>optional bool lmt = 23;</code>
* @param value The lmt to set.
* @return This builder for chaining.
*/
public Builder setLmt(boolean value) {
copyOnWrite();
instance.setLmt(value);
return this;
}
/**
* <pre>
* "Limit Ad Tracking" is a commercially endorsed signal based on the
* operating system or device settings, where `false` indicates that
* tracking is unrestricted and `true` indicates that tracking must be
* limited per commercial guidelines.
* This signal reflects user decisions on surfaces including iOS App
* Tracking Transparency:
* https://developer.apple.com/documentation/apptrackingtransparency
* See also lmt and App Tracking Transparency guidance:
* https://github.com/InteractiveAdvertisingBureau/openrtb/blob/master/extensions/community_extensions/skadnetwork.md#dnt-lmt-and-app-tracking-transparency-guidance
* and Android advertising ID:
* https://support.google.com/googleplay/android-developer/answer/6048248
* Supported by Google.
* </pre>
*
* <code>optional bool lmt = 23;</code>
* @return This builder for chaining.
*/
public Builder clearLmt() {
copyOnWrite();
instance.clearLmt();
return this;
}
/**
* <pre>
* Browser user agent string. Certain data may be redacted or replaced.
* Supported by Google.
* </pre>
*
* <code>optional string ua = 2;</code>
* @return Whether the ua field is set.
*/
@java.lang.Override
public boolean hasUa() {
return instance.hasUa();
}
/**
* <pre>
* Browser user agent string. Certain data may be redacted or replaced.
* Supported by Google.
* </pre>
*
* <code>optional string ua = 2;</code>
* @return The ua.
*/
@java.lang.Override
public java.lang.String getUa() {
return instance.getUa();
}
/**
* <pre>
* Browser user agent string. Certain data may be redacted or replaced.
* Supported by Google.
* </pre>
*
* <code>optional string ua = 2;</code>
* @return The bytes for ua.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getUaBytes() {
return instance.getUaBytes();
}
/**
* <pre>
* Browser user agent string. Certain data may be redacted or replaced.
* Supported by Google.
* </pre>
*
* <code>optional string ua = 2;</code>
* @param value The ua to set.
* @return This builder for chaining.
*/
public Builder setUa(
java.lang.String value) {
copyOnWrite();
instance.setUa(value);
return this;
}
/**
* <pre>
* Browser user agent string. Certain data may be redacted or replaced.
* Supported by Google.
* </pre>
*
* <code>optional string ua = 2;</code>
* @return This builder for chaining.
*/
public Builder clearUa() {
copyOnWrite();
instance.clearUa();
return this;
}
/**
* <pre>
* Browser user agent string. Certain data may be redacted or replaced.
* Supported by Google.
* </pre>
*
* <code>optional string ua = 2;</code>
* @param value The bytes for ua to set.
* @return This builder for chaining.
*/
public Builder setUaBytes(
com.google.protobuf.ByteString value) {
copyOnWrite();
instance.setUaBytes(value);
return this;
}
/**
* <pre>
* Structured user agent information. If both Device.ua and Device.sua are
* present in the bid request, Device.sua should be considered the more
* accurate representation of the device attributes. This is because
* Device.ua may contain a frozen or reduced user agent string.
* Supported by Google.
* </pre>
*
* <code>optional .com.google.openrtb.BidRequest.Device.UserAgent sua = 31;</code>
*/
@java.lang.Override
public boolean hasSua() {
return instance.hasSua();
}
/**
* <pre>
* Structured user agent information. If both Device.ua and Device.sua are
* present in the bid request, Device.sua should be considered the more
* accurate representation of the device attributes. This is because
* Device.ua may contain a frozen or reduced user agent string.
* Supported by Google.
* </pre>
*
* <code>optional .com.google.openrtb.BidRequest.Device.UserAgent sua = 31;</code>
*/
@java.lang.Override
public com.particles.mes.protos.openrtb.BidRequest.Device.UserAgent getSua() {
return instance.getSua();
}
/**
* <pre>
* Structured user agent information. If both Device.ua and Device.sua are
* present in the bid request, Device.sua should be considered the more
* accurate representation of the device attributes. This is because
* Device.ua may contain a frozen or reduced user agent string.
* Supported by Google.
* </pre>
*
* <code>optional .com.google.openrtb.BidRequest.Device.UserAgent sua = 31;</code>
*/
public Builder setSua(com.particles.mes.protos.openrtb.BidRequest.Device.UserAgent value) {
copyOnWrite();
instance.setSua(value);
return this;
}
/**
* <pre>
* Structured user agent information. If both Device.ua and Device.sua are
* present in the bid request, Device.sua should be considered the more
* accurate representation of the device attributes. This is because
* Device.ua may contain a frozen or reduced user agent string.
* Supported by Google.
* </pre>
*
* <code>optional .com.google.openrtb.BidRequest.Device.UserAgent sua = 31;</code>
*/
public Builder setSua(
com.particles.mes.protos.openrtb.BidRequest.Device.UserAgent.Builder builderForValue) {
copyOnWrite();
instance.setSua(builderForValue.build());
return this;
}
/**
* <pre>
* Structured user agent information. If both Device.ua and Device.sua are
* present in the bid request, Device.sua should be considered the more
* accurate representation of the device attributes. This is because
* Device.ua may contain a frozen or reduced user agent string.
* Supported by Google.
* </pre>
*
* <code>optional .com.google.openrtb.BidRequest.Device.UserAgent sua = 31;</code>
*/
public Builder mergeSua(com.particles.mes.protos.openrtb.BidRequest.Device.UserAgent value) {
copyOnWrite();
instance.mergeSua(value);
return this;
}
/**
* <pre>
* Structured user agent information. If both Device.ua and Device.sua are
* present in the bid request, Device.sua should be considered the more
* accurate representation of the device attributes. This is because
* Device.ua may contain a frozen or reduced user agent string.
* Supported by Google.
* </pre>
*
* <code>optional .com.google.openrtb.BidRequest.Device.UserAgent sua = 31;</code>
*/
public Builder clearSua() { copyOnWrite();
instance.clearSua();
return this;
}
/**
* <pre>
* IPv4 address closest to device.
* Supported by Google. Truncated to the first 3 octets: "X.X.X.0".
* </pre>
*
* <code>optional string ip = 3;</code>
* @return Whether the ip field is set.
*/
@java.lang.Override
public boolean hasIp() {
return instance.hasIp();
}
/**
* <pre>
* IPv4 address closest to device.
* Supported by Google. Truncated to the first 3 octets: "X.X.X.0".
* </pre>
*
* <code>optional string ip = 3;</code>
* @return The ip.
*/
@java.lang.Override
public java.lang.String getIp() {
return instance.getIp();
}
/**
* <pre>
* IPv4 address closest to device.
* Supported by Google. Truncated to the first 3 octets: "X.X.X.0".
* </pre>
*
* <code>optional string ip = 3;</code>
* @return The bytes for ip.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getIpBytes() {
return instance.getIpBytes();
}
/**
* <pre>
* IPv4 address closest to device.
* Supported by Google. Truncated to the first 3 octets: "X.X.X.0".
* </pre>
*
* <code>optional string ip = 3;</code>
* @param value The ip to set.
* @return This builder for chaining.
*/
public Builder setIp(
java.lang.String value) {
copyOnWrite();
instance.setIp(value);
return this;
}
/**
* <pre>
* IPv4 address closest to device.
* Supported by Google. Truncated to the first 3 octets: "X.X.X.0".
* </pre>
*
* <code>optional string ip = 3;</code>
* @return This builder for chaining.
*/
public Builder clearIp() {
copyOnWrite();
instance.clearIp();
return this;
}
/**
* <pre>
* IPv4 address closest to device.
* Supported by Google. Truncated to the first 3 octets: "X.X.X.0".
* </pre>
*
* <code>optional string ip = 3;</code>
* @param value The bytes for ip to set.
* @return This builder for chaining.
*/
public Builder setIpBytes(
com.google.protobuf.ByteString value) {
copyOnWrite();
instance.setIpBytes(value);
return this;
}
/**
* <pre>
* IPv6 address closest to device.
* Supported by Google. Truncated to the first 6 octets: "X:X:X:::::".
* </pre>
*
* <code>optional string ipv6 = 9;</code>
* @return Whether the ipv6 field is set.
*/
@java.lang.Override
public boolean hasIpv6() {
return instance.hasIpv6();
}
/**
* <pre>
* IPv6 address closest to device.
* Supported by Google. Truncated to the first 6 octets: "X:X:X:::::".
* </pre>
*
* <code>optional string ipv6 = 9;</code>
* @return The ipv6.
*/
@java.lang.Override
public java.lang.String getIpv6() {
return instance.getIpv6();
}
/**
* <pre>
* IPv6 address closest to device.
* Supported by Google. Truncated to the first 6 octets: "X:X:X:::::".
* </pre>
*
* <code>optional string ipv6 = 9;</code>
* @return The bytes for ipv6.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getIpv6Bytes() {
return instance.getIpv6Bytes();
}
/**
* <pre>
* IPv6 address closest to device.
* Supported by Google. Truncated to the first 6 octets: "X:X:X:::::".
* </pre>
*
* <code>optional string ipv6 = 9;</code>
* @param value The ipv6 to set.
* @return This builder for chaining.
*/
public Builder setIpv6(
java.lang.String value) {
copyOnWrite();
instance.setIpv6(value);
return this;
}
/**
* <pre>
* IPv6 address closest to device.
* Supported by Google. Truncated to the first 6 octets: "X:X:X:::::".
* </pre>
*
* <code>optional string ipv6 = 9;</code>
* @return This builder for chaining.
*/
public Builder clearIpv6() {
copyOnWrite();
instance.clearIpv6();
return this;
}
/**
* <pre>
* IPv6 address closest to device.
* Supported by Google. Truncated to the first 6 octets: "X:X:X:::::".
* </pre>
*
* <code>optional string ipv6 = 9;</code>
* @param value The bytes for ipv6 to set.
* @return This builder for chaining.
*/
public Builder setIpv6Bytes(
com.google.protobuf.ByteString value) {
copyOnWrite();
instance.setIpv6Bytes(value);
return this;
}
/**
* <pre>
* The general type of device.
* Supported by Google.
* </pre>
*
* <code>optional .com.google.openrtb.DeviceType devicetype = 18;</code>
* @return Whether the devicetype field is set.
*/
@java.lang.Override
public boolean hasDevicetype() {
return instance.hasDevicetype();
}
/**
* <pre>
* The general type of device.
* Supported by Google.
* </pre>
*
* <code>optional .com.google.openrtb.DeviceType devicetype = 18;</code>
* @return The devicetype.
*/
@java.lang.Override
public com.particles.mes.protos.openrtb.DeviceType getDevicetype() {
return instance.getDevicetype();
}
/**
* <pre>
* The general type of device.
* Supported by Google.
* </pre>
*
* <code>optional .com.google.openrtb.DeviceType devicetype = 18;</code>
* @param value The enum numeric value on the wire for devicetype to set.
* @return This builder for chaining.
*/
public Builder setDevicetype(com.particles.mes.protos.openrtb.DeviceType value) {
copyOnWrite();
instance.setDevicetype(value);
return this;
}
/**
* <pre>
* The general type of device.
* Supported by Google.
* </pre>
*
* <code>optional .com.google.openrtb.DeviceType devicetype = 18;</code>
* @return This builder for chaining.
*/
public Builder clearDevicetype() {
copyOnWrite();
instance.clearDevicetype();
return this;
}
/**
* <pre>
* Device make (for example, "Apple" or "Samsung").
* Supported by Google.
* </pre>
*
* <code>optional string make = 12;</code>
* @return Whether the make field is set.
*/
@java.lang.Override
public boolean hasMake() {
return instance.hasMake();
}
/**
* <pre>
* Device make (for example, "Apple" or "Samsung").
* Supported by Google.
* </pre>
*
* <code>optional string make = 12;</code>
* @return The make.
*/
@java.lang.Override
public java.lang.String getMake() {
return instance.getMake();
}
/**
* <pre>
* Device make (for example, "Apple" or "Samsung").
* Supported by Google.
* </pre>
*
* <code>optional string make = 12;</code>
* @return The bytes for make.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getMakeBytes() {
return instance.getMakeBytes();
}
/**
* <pre>
* Device make (for example, "Apple" or "Samsung").
* Supported by Google.
* </pre>
*
* <code>optional string make = 12;</code>
* @param value The make to set.
* @return This builder for chaining.
*/
public Builder setMake(
java.lang.String value) {
copyOnWrite();
instance.setMake(value);
return this;
}
/**
* <pre>
* Device make (for example, "Apple" or "Samsung").
* Supported by Google.
* </pre>
*
* <code>optional string make = 12;</code>
* @return This builder for chaining.
*/
public Builder clearMake() {
copyOnWrite();
instance.clearMake();
return this;
}
/**
* <pre>
* Device make (for example, "Apple" or "Samsung").
* Supported by Google.
* </pre>
*
* <code>optional string make = 12;</code>
* @param value The bytes for make to set.
* @return This builder for chaining.
*/
public Builder setMakeBytes(
com.google.protobuf.ByteString value) {
copyOnWrite();
instance.setMakeBytes(value);
return this;
}
/**
* <pre>
* Device model (for example, "pixel 7 pro"). For iPhone/iPad, this
* field contains Apple's model identifier string (such as "iPhone12,1" and
* "iPad13,8") if available. Otherwise this field contains the generic model
* (either "iphone" or "ipad").
* Supported by Google.
* </pre>
*
* <code>optional string model = 13;</code>
* @return Whether the model field is set.
*/
@java.lang.Override
public boolean hasModel() {
return instance.hasModel();
}
/**
* <pre>
* Device model (for example, "pixel 7 pro"). For iPhone/iPad, this
* field contains Apple's model identifier string (such as "iPhone12,1" and
* "iPad13,8") if available. Otherwise this field contains the generic model
* (either "iphone" or "ipad").
* Supported by Google.
* </pre>
*
* <code>optional string model = 13;</code>
* @return The model.
*/
@java.lang.Override
public java.lang.String getModel() {
return instance.getModel();
}
/**
* <pre>
* Device model (for example, "pixel 7 pro"). For iPhone/iPad, this
* field contains Apple's model identifier string (such as "iPhone12,1" and
* "iPad13,8") if available. Otherwise this field contains the generic model
* (either "iphone" or "ipad").
* Supported by Google.
* </pre>
*
* <code>optional string model = 13;</code>
* @return The bytes for model.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getModelBytes() {
return instance.getModelBytes();
}
/**
* <pre>
* Device model (for example, "pixel 7 pro"). For iPhone/iPad, this
* field contains Apple's model identifier string (such as "iPhone12,1" and
* "iPad13,8") if available. Otherwise this field contains the generic model
* (either "iphone" or "ipad").
* Supported by Google.
* </pre>
*
* <code>optional string model = 13;</code>
* @param value The model to set.
* @return This builder for chaining.
*/
public Builder setModel(
java.lang.String value) {
copyOnWrite();
instance.setModel(value);
return this;
}
/**
* <pre>
* Device model (for example, "pixel 7 pro"). For iPhone/iPad, this
* field contains Apple's model identifier string (such as "iPhone12,1" and
* "iPad13,8") if available. Otherwise this field contains the generic model
* (either "iphone" or "ipad").
* Supported by Google.
* </pre>
*
* <code>optional string model = 13;</code>
* @return This builder for chaining.
*/
public Builder clearModel() {
copyOnWrite();
instance.clearModel();
return this;
}
/**
* <pre>
* Device model (for example, "pixel 7 pro"). For iPhone/iPad, this
* field contains Apple's model identifier string (such as "iPhone12,1" and
* "iPad13,8") if available. Otherwise this field contains the generic model
* (either "iphone" or "ipad").
* Supported by Google.
* </pre>
*
* <code>optional string model = 13;</code>
* @param value The bytes for model to set.
* @return This builder for chaining.
*/
public Builder setModelBytes(
com.google.protobuf.ByteString value) {
copyOnWrite();
instance.setModelBytes(value);
return this;
}
/**
* <pre>
* Device operating system (for example, "iOS").
* Supported by Google.
* </pre>
*
* <code>optional string os = 14;</code>
* @return Whether the os field is set.
*/
@java.lang.Override
public boolean hasOs() {
return instance.hasOs();
}
/**
* <pre>
* Device operating system (for example, "iOS").
* Supported by Google.
* </pre>
*
* <code>optional string os = 14;</code>
* @return The os.
*/
@java.lang.Override
public java.lang.String getOs() {
return instance.getOs();
}
/**
* <pre>
* Device operating system (for example, "iOS").
* Supported by Google.
* </pre>
*
* <code>optional string os = 14;</code>
* @return The bytes for os.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getOsBytes() {
return instance.getOsBytes();
}
/**
* <pre>
* Device operating system (for example, "iOS").
* Supported by Google.
* </pre>
*
* <code>optional string os = 14;</code>
* @param value The os to set.
* @return This builder for chaining.
*/
public Builder setOs(
java.lang.String value) {
copyOnWrite();
instance.setOs(value);
return this;
}
/**
* <pre>
* Device operating system (for example, "iOS").
* Supported by Google.
* </pre>
*
* <code>optional string os = 14;</code>
* @return This builder for chaining.
*/
public Builder clearOs() {
copyOnWrite();
instance.clearOs();
return this;
}
/**
* <pre>
* Device operating system (for example, "iOS").
* Supported by Google.
* </pre>
*
* <code>optional string os = 14;</code>
* @param value The bytes for os to set.
* @return This builder for chaining.
*/
public Builder setOsBytes(
com.google.protobuf.ByteString value) {
copyOnWrite();
instance.setOsBytes(value);
return this;
}
/**
* <pre>
* Device operating system version (for example, "3.1.2").
* Supported by Google.
* </pre>
*
* <code>optional string osv = 15;</code>
* @return Whether the osv field is set.
*/
@java.lang.Override
public boolean hasOsv() {
return instance.hasOsv();
}
/**
* <pre>
* Device operating system version (for example, "3.1.2").
* Supported by Google.
* </pre>
*
* <code>optional string osv = 15;</code>
* @return The osv.
*/
@java.lang.Override
public java.lang.String getOsv() {
return instance.getOsv();
}
/**
* <pre>
* Device operating system version (for example, "3.1.2").
* Supported by Google.
* </pre>
*
* <code>optional string osv = 15;</code>
* @return The bytes for osv.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getOsvBytes() {
return instance.getOsvBytes();
}
/**
* <pre>
* Device operating system version (for example, "3.1.2").
* Supported by Google.
* </pre>
*
* <code>optional string osv = 15;</code>
* @param value The osv to set.
* @return This builder for chaining.
*/
public Builder setOsv(
java.lang.String value) {
copyOnWrite();
instance.setOsv(value);
return this;
}
/**
* <pre>
* Device operating system version (for example, "3.1.2").
* Supported by Google.
* </pre>
*
* <code>optional string osv = 15;</code>
* @return This builder for chaining.
*/
public Builder clearOsv() {
copyOnWrite();
instance.clearOsv();
return this;
}
/**
* <pre>
* Device operating system version (for example, "3.1.2").
* Supported by Google.
* </pre>
*
* <code>optional string osv = 15;</code>
* @param value The bytes for osv to set.
* @return This builder for chaining.
*/
public Builder setOsvBytes(
com.google.protobuf.ByteString value) {
copyOnWrite();
instance.setOsvBytes(value);
return this;
}
/**
* <pre>
* Hardware version of the device. For iPhone/iPad, this field contains
* Apple's model identifier string (such as "iPhone12,1" and "iPad13,8") if
* available.
* Supported by Google.
* </pre>
*
* <code>optional string hwv = 24;</code>
* @return Whether the hwv field is set.
*/
@java.lang.Override
public boolean hasHwv() {
return instance.hasHwv();
}
/**
* <pre>
* Hardware version of the device. For iPhone/iPad, this field contains
* Apple's model identifier string (such as "iPhone12,1" and "iPad13,8") if
* available.
* Supported by Google.
* </pre>
*
* <code>optional string hwv = 24;</code>
* @return The hwv.
*/
@java.lang.Override
public java.lang.String getHwv() {
return instance.getHwv();
}
/**
* <pre>
* Hardware version of the device. For iPhone/iPad, this field contains
* Apple's model identifier string (such as "iPhone12,1" and "iPad13,8") if
* available.
* Supported by Google.
* </pre>
*
* <code>optional string hwv = 24;</code>
* @return The bytes for hwv.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getHwvBytes() {
return instance.getHwvBytes();
}
/**
* <pre>
* Hardware version of the device. For iPhone/iPad, this field contains
* Apple's model identifier string (such as "iPhone12,1" and "iPad13,8") if
* available.
* Supported by Google.
* </pre>
*
* <code>optional string hwv = 24;</code>
* @param value The hwv to set.
* @return This builder for chaining.
*/
public Builder setHwv(
java.lang.String value) {
copyOnWrite();
instance.setHwv(value);
return this;
}
/**
* <pre>
* Hardware version of the device. For iPhone/iPad, this field contains
* Apple's model identifier string (such as "iPhone12,1" and "iPad13,8") if
* available.
* Supported by Google.
* </pre>
*
* <code>optional string hwv = 24;</code>
* @return This builder for chaining.
*/
public Builder clearHwv() {
copyOnWrite();
instance.clearHwv();
return this;
}
/**
* <pre>
* Hardware version of the device. For iPhone/iPad, this field contains
* Apple's model identifier string (such as "iPhone12,1" and "iPad13,8") if
* available.
* Supported by Google.
* </pre>
*
* <code>optional string hwv = 24;</code>
* @param value The bytes for hwv to set.
* @return This builder for chaining.
*/
public Builder setHwvBytes(
com.google.protobuf.ByteString value) {
copyOnWrite();
instance.setHwvBytes(value);
return this;
}
/**
* <pre>
* Physical width of the screen in pixels.
* Supported by Google.
* </pre>
*
* <code>optional int32 w = 25;</code>
* @return Whether the w field is set.
*/
@java.lang.Override
public boolean hasW() {
return instance.hasW();
}
/**
* <pre>
* Physical width of the screen in pixels.
* Supported by Google.
* </pre>
*
* <code>optional int32 w = 25;</code>
* @return The w.
*/
@java.lang.Override
public int getW() {
return instance.getW();
}
/**
* <pre>
* Physical width of the screen in pixels.
* Supported by Google.
* </pre>
*
* <code>optional int32 w = 25;</code>
* @param value The w to set.
* @return This builder for chaining.
*/
public Builder setW(int value) {
copyOnWrite();
instance.setW(value);
return this;
}
/**
* <pre>
* Physical width of the screen in pixels.
* Supported by Google.
* </pre>
*
* <code>optional int32 w = 25;</code>
* @return This builder for chaining.
*/
public Builder clearW() {
copyOnWrite();
instance.clearW();
return this;
}
/**
* <pre>
* Physical height of the screen in pixels.
* Supported by Google.
* </pre>
*
* <code>optional int32 h = 26;</code>
* @return Whether the h field is set.
*/
@java.lang.Override
public boolean hasH() {
return instance.hasH();
}
/**
* <pre>
* Physical height of the screen in pixels.
* Supported by Google.
* </pre>
*
* <code>optional int32 h = 26;</code>
* @return The h.
*/
@java.lang.Override
public int getH() {
return instance.getH();
}
/**
* <pre>
* Physical height of the screen in pixels.
* Supported by Google.
* </pre>
*
* <code>optional int32 h = 26;</code>
* @param value The h to set.
* @return This builder for chaining.
*/
public Builder setH(int value) {
copyOnWrite();
instance.setH(value);
return this;
}
/**
* <pre>
* Physical height of the screen in pixels.
* Supported by Google.
* </pre>
*
* <code>optional int32 h = 26;</code>
* @return This builder for chaining.
*/
public Builder clearH() {
copyOnWrite();
instance.clearH();
return this;
}
/**
* <pre>
* Screen size as pixels per linear inch.
* Not supported by Google.
* </pre>
*
* <code>optional int32 ppi = 27;</code>
* @return Whether the ppi field is set.
*/
@java.lang.Override
public boolean hasPpi() {
return instance.hasPpi();
}
/**
* <pre>
* Screen size as pixels per linear inch.
* Not supported by Google.
* </pre>
*
* <code>optional int32 ppi = 27;</code>
* @return The ppi.
*/
@java.lang.Override
public int getPpi() {
return instance.getPpi();
}
/**
* <pre>
* Screen size as pixels per linear inch.
* Not supported by Google.
* </pre>
*
* <code>optional int32 ppi = 27;</code>
* @param value The ppi to set.
* @return This builder for chaining.
*/
public Builder setPpi(int value) {
copyOnWrite();
instance.setPpi(value);
return this;
}
/**
* <pre>
* Screen size as pixels per linear inch.
* Not supported by Google.
* </pre>
*
* <code>optional int32 ppi = 27;</code>
* @return This builder for chaining.
*/
public Builder clearPpi() {
copyOnWrite();
instance.clearPpi();
return this;
}
/**
* <pre>
* The ratio of physical pixels to device independent pixels.
* Supported by Google.
* </pre>
*
* <code>optional double pxratio = 28;</code>
* @return Whether the pxratio field is set.
*/
@java.lang.Override
public boolean hasPxratio() {
return instance.hasPxratio();
}
/**
* <pre>
* The ratio of physical pixels to device independent pixels.
* Supported by Google.
* </pre>
*
* <code>optional double pxratio = 28;</code>
* @return The pxratio.
*/
@java.lang.Override
public double getPxratio() {
return instance.getPxratio();
}
/**
* <pre>
* The ratio of physical pixels to device independent pixels.
* Supported by Google.
* </pre>
*
* <code>optional double pxratio = 28;</code>
* @param value The pxratio to set.
* @return This builder for chaining.
*/
public Builder setPxratio(double value) {
copyOnWrite();
instance.setPxratio(value);
return this;
}
/**
* <pre>
* The ratio of physical pixels to device independent pixels.
* Supported by Google.
* </pre>
*
* <code>optional double pxratio = 28;</code>
* @return This builder for chaining.
*/
public Builder clearPxratio() {
copyOnWrite();
instance.clearPxratio();
return this;
}
/**
* <pre>
* Support for JavaScript.
* Not supported by Google.
* </pre>
*
* <code>optional bool js = 16;</code>
* @return Whether the js field is set.
*/
@java.lang.Override
public boolean hasJs() {
return instance.hasJs();
}
/**
* <pre>
* Support for JavaScript.
* Not supported by Google.
* </pre>
*
* <code>optional bool js = 16;</code>
* @return The js.
*/
@java.lang.Override
public boolean getJs() {
return instance.getJs();
}
/**
* <pre>
* Support for JavaScript.
* Not supported by Google.
* </pre>
*
* <code>optional bool js = 16;</code>
* @param value The js to set.
* @return This builder for chaining.
*/
public Builder setJs(boolean value) {
copyOnWrite();
instance.setJs(value);
return this;
}
/**
* <pre>
* Support for JavaScript.
* Not supported by Google.
* </pre>
*
* <code>optional bool js = 16;</code>
* @return This builder for chaining.
*/
public Builder clearJs() {
copyOnWrite();
instance.clearJs();
return this;
}
/**
* <pre>
* Indicates if the geolocation API will be available to JavaScript
* code running in the banner.
* Not supported by Google.
* </pre>
*
* <code>optional bool geofetch = 29;</code>
* @return Whether the geofetch field is set.
*/
@java.lang.Override
public boolean hasGeofetch() {
return instance.hasGeofetch();
}
/**
* <pre>
* Indicates if the geolocation API will be available to JavaScript
* code running in the banner.
* Not supported by Google.
* </pre>
*
* <code>optional bool geofetch = 29;</code>
* @return The geofetch.
*/
@java.lang.Override
public boolean getGeofetch() {
return instance.getGeofetch();
}
/**
* <pre>
* Indicates if the geolocation API will be available to JavaScript
* code running in the banner.
* Not supported by Google.
* </pre>
*
* <code>optional bool geofetch = 29;</code>
* @param value The geofetch to set.
* @return This builder for chaining.
*/
public Builder setGeofetch(boolean value) {
copyOnWrite();
instance.setGeofetch(value);
return this;
}
/**
* <pre>
* Indicates if the geolocation API will be available to JavaScript
* code running in the banner.
* Not supported by Google.
* </pre>
*
* <code>optional bool geofetch = 29;</code>
* @return This builder for chaining.
*/
public Builder clearGeofetch() {
copyOnWrite();
instance.clearGeofetch();
return this;
}
/**
* <pre>
* Version of Flash supported by the browser.
* Not supported by Google.
* </pre>
*
* <code>optional string flashver = 19;</code>
* @return Whether the flashver field is set.
*/
@java.lang.Override
public boolean hasFlashver() {
return instance.hasFlashver();
}
/**
* <pre>
* Version of Flash supported by the browser.
* Not supported by Google.
* </pre>
*
* <code>optional string flashver = 19;</code>
* @return The flashver.
*/
@java.lang.Override
public java.lang.String getFlashver() {
return instance.getFlashver();
}
/**
* <pre>
* Version of Flash supported by the browser.
* Not supported by Google.
* </pre>
*
* <code>optional string flashver = 19;</code>
* @return The bytes for flashver.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getFlashverBytes() {
return instance.getFlashverBytes();
}
/**
* <pre>
* Version of Flash supported by the browser.
* Not supported by Google.
* </pre>
*
* <code>optional string flashver = 19;</code>
* @param value The flashver to set.
* @return This builder for chaining.
*/
public Builder setFlashver(
java.lang.String value) {
copyOnWrite();
instance.setFlashver(value);
return this;
}
/**
* <pre>
* Version of Flash supported by the browser.
* Not supported by Google.
* </pre>
*
* <code>optional string flashver = 19;</code>
* @return This builder for chaining.
*/
public Builder clearFlashver() {
copyOnWrite();
instance.clearFlashver();
return this;
}
/**
* <pre>
* Version of Flash supported by the browser.
* Not supported by Google.
* </pre>
*
* <code>optional string flashver = 19;</code>
* @param value The bytes for flashver to set.
* @return This builder for chaining.
*/
public Builder setFlashverBytes(
com.google.protobuf.ByteString value) {
copyOnWrite();
instance.setFlashverBytes(value);
return this;
}
/**
* <pre>
* Browser language using ISO-639-1-alpha-2.
* Only one of language or langb should be present.
* Not supported by Google.
* </pre>
*
* <code>optional string language = 11;</code>
* @return Whether the language field is set.
*/
@java.lang.Override
public boolean hasLanguage() {
return instance.hasLanguage();
}
/**
* <pre>
* Browser language using ISO-639-1-alpha-2.
* Only one of language or langb should be present.
* Not supported by Google.
* </pre>
*
* <code>optional string language = 11;</code>
* @return The language.
*/
@java.lang.Override
public java.lang.String getLanguage() {
return instance.getLanguage();
}
/**
* <pre>
* Browser language using ISO-639-1-alpha-2.
* Only one of language or langb should be present.
* Not supported by Google.
* </pre>
*
* <code>optional string language = 11;</code>
* @return The bytes for language.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getLanguageBytes() {
return instance.getLanguageBytes();
}
/**
* <pre>
* Browser language using ISO-639-1-alpha-2.
* Only one of language or langb should be present.
* Not supported by Google.
* </pre>
*
* <code>optional string language = 11;</code>
* @param value The language to set.
* @return This builder for chaining.
*/
public Builder setLanguage(
java.lang.String value) {
copyOnWrite();
instance.setLanguage(value);
return this;
}
/**
* <pre>
* Browser language using ISO-639-1-alpha-2.
* Only one of language or langb should be present.
* Not supported by Google.
* </pre>
*
* <code>optional string language = 11;</code>
* @return This builder for chaining.
*/
public Builder clearLanguage() {
copyOnWrite();
instance.clearLanguage();
return this;
}
/**
* <pre>
* Browser language using ISO-639-1-alpha-2.
* Only one of language or langb should be present.
* Not supported by Google.
* </pre>
*
* <code>optional string language = 11;</code>
* @param value The bytes for language to set.
* @return This builder for chaining.
*/
public Builder setLanguageBytes(
com.google.protobuf.ByteString value) {
copyOnWrite();
instance.setLanguageBytes(value);
return this;
}
/**
* <pre>
* Browser language using IETF BCP 47.
* Only one of language or langb should be present.
* Not supported by Google.
* </pre>
*
* <code>optional string langb = 32;</code>
* @return Whether the langb field is set.
*/
@java.lang.Override
public boolean hasLangb() {
return instance.hasLangb();
}
/**
* <pre>
* Browser language using IETF BCP 47.
* Only one of language or langb should be present.
* Not supported by Google.
* </pre>
*
* <code>optional string langb = 32;</code>
* @return The langb.
*/
@java.lang.Override
public java.lang.String getLangb() {
return instance.getLangb();
}
/**
* <pre>
* Browser language using IETF BCP 47.
* Only one of language or langb should be present.
* Not supported by Google.
* </pre>
*
* <code>optional string langb = 32;</code>
* @return The bytes for langb.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getLangbBytes() {
return instance.getLangbBytes();
}
/**
* <pre>
* Browser language using IETF BCP 47.
* Only one of language or langb should be present.
* Not supported by Google.
* </pre>
*
* <code>optional string langb = 32;</code>
* @param value The langb to set.
* @return This builder for chaining.
*/
public Builder setLangb(
java.lang.String value) {
copyOnWrite();
instance.setLangb(value);
return this;
}
/**
* <pre>
* Browser language using IETF BCP 47.
* Only one of language or langb should be present.
* Not supported by Google.
* </pre>
*
* <code>optional string langb = 32;</code>
* @return This builder for chaining.
*/
public Builder clearLangb() {
copyOnWrite();
instance.clearLangb();
return this;
}
/**
* <pre>
* Browser language using IETF BCP 47.
* Only one of language or langb should be present.
* Not supported by Google.
* </pre>
*
* <code>optional string langb = 32;</code>
* @param value The bytes for langb to set.
* @return This builder for chaining.
*/
public Builder setLangbBytes(
com.google.protobuf.ByteString value) {
copyOnWrite();
instance.setLangbBytes(value);
return this;
}
/**
* <pre>
* Carrier or ISP (for example, "VERIZON") using exchange curated string
* names which should be published to bidders a priori.
* Supported by Google.
* </pre>
*
* <code>optional string carrier = 10;</code>
* @return Whether the carrier field is set.
*/
@java.lang.Override
public boolean hasCarrier() {
return instance.hasCarrier();
}
/**
* <pre>
* Carrier or ISP (for example, "VERIZON") using exchange curated string
* names which should be published to bidders a priori.
* Supported by Google.
* </pre>
*
* <code>optional string carrier = 10;</code>
* @return The carrier.
*/
@java.lang.Override
public java.lang.String getCarrier() {
return instance.getCarrier();
}
/**
* <pre>
* Carrier or ISP (for example, "VERIZON") using exchange curated string
* names which should be published to bidders a priori.
* Supported by Google.
* </pre>
*
* <code>optional string carrier = 10;</code>
* @return The bytes for carrier.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getCarrierBytes() {
return instance.getCarrierBytes();
}
/**
* <pre>
* Carrier or ISP (for example, "VERIZON") using exchange curated string
* names which should be published to bidders a priori.
* Supported by Google.
* </pre>
*
* <code>optional string carrier = 10;</code>
* @param value The carrier to set.
* @return This builder for chaining.
*/
public Builder setCarrier(
java.lang.String value) {
copyOnWrite();
instance.setCarrier(value);
return this;
}
/**
* <pre>
* Carrier or ISP (for example, "VERIZON") using exchange curated string
* names which should be published to bidders a priori.
* Supported by Google.
* </pre>
*
* <code>optional string carrier = 10;</code>
* @return This builder for chaining.
*/
public Builder clearCarrier() {
copyOnWrite();
instance.clearCarrier();
return this;
}
/**
* <pre>
* Carrier or ISP (for example, "VERIZON") using exchange curated string
* names which should be published to bidders a priori.
* Supported by Google.
* </pre>
*
* <code>optional string carrier = 10;</code>
* @param value The bytes for carrier to set.
* @return This builder for chaining.
*/
public Builder setCarrierBytes(
com.google.protobuf.ByteString value) {
copyOnWrite();
instance.setCarrierBytes(value);
return this;
}
/**
* <pre>
* Mobile carrier as the concatenated MCC-MNC code (for example,
* "310-005" identifies Verizon Wireless CDMA in the USA).
* Refer to https://en.wikipedia.org/wiki/Mobile_country_code
* for further examples. Note that the dash between the MCC
* and MNC parts is required to remove parsing ambiguity.
* The MCC-MNC values represent the SIM installed on the device and
* do not change when a device is roaming. Roaming may be inferred by
* a combination of the MCC-MNC, geo, IP and other data signals.
* Not supported by Google.
* </pre>
*
* <code>optional string mccmnc = 30;</code>
* @return Whether the mccmnc field is set.
*/
@java.lang.Override
public boolean hasMccmnc() {
return instance.hasMccmnc();
}
/**
* <pre>
* Mobile carrier as the concatenated MCC-MNC code (for example,
* "310-005" identifies Verizon Wireless CDMA in the USA).
* Refer to https://en.wikipedia.org/wiki/Mobile_country_code
* for further examples. Note that the dash between the MCC
* and MNC parts is required to remove parsing ambiguity.
* The MCC-MNC values represent the SIM installed on the device and
* do not change when a device is roaming. Roaming may be inferred by
* a combination of the MCC-MNC, geo, IP and other data signals.
* Not supported by Google.
* </pre>
*
* <code>optional string mccmnc = 30;</code>
* @return The mccmnc.
*/
@java.lang.Override
public java.lang.String getMccmnc() {
return instance.getMccmnc();
}
/**
* <pre>
* Mobile carrier as the concatenated MCC-MNC code (for example,
* "310-005" identifies Verizon Wireless CDMA in the USA).
* Refer to https://en.wikipedia.org/wiki/Mobile_country_code
* for further examples. Note that the dash between the MCC
* and MNC parts is required to remove parsing ambiguity.
* The MCC-MNC values represent the SIM installed on the device and
* do not change when a device is roaming. Roaming may be inferred by
* a combination of the MCC-MNC, geo, IP and other data signals.
* Not supported by Google.
* </pre>
*
* <code>optional string mccmnc = 30;</code>
* @return The bytes for mccmnc.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getMccmncBytes() {
return instance.getMccmncBytes();
}
/**
* <pre>
* Mobile carrier as the concatenated MCC-MNC code (for example,
* "310-005" identifies Verizon Wireless CDMA in the USA).
* Refer to https://en.wikipedia.org/wiki/Mobile_country_code
* for further examples. Note that the dash between the MCC
* and MNC parts is required to remove parsing ambiguity.
* The MCC-MNC values represent the SIM installed on the device and
* do not change when a device is roaming. Roaming may be inferred by
* a combination of the MCC-MNC, geo, IP and other data signals.
* Not supported by Google.
* </pre>
*
* <code>optional string mccmnc = 30;</code>
* @param value The mccmnc to set.
* @return This builder for chaining.
*/
public Builder setMccmnc(
java.lang.String value) {
copyOnWrite();
instance.setMccmnc(value);
return this;
}
/**
* <pre>
* Mobile carrier as the concatenated MCC-MNC code (for example,
* "310-005" identifies Verizon Wireless CDMA in the USA).
* Refer to https://en.wikipedia.org/wiki/Mobile_country_code
* for further examples. Note that the dash between the MCC
* and MNC parts is required to remove parsing ambiguity.
* The MCC-MNC values represent the SIM installed on the device and
* do not change when a device is roaming. Roaming may be inferred by
* a combination of the MCC-MNC, geo, IP and other data signals.
* Not supported by Google.
* </pre>
*
* <code>optional string mccmnc = 30;</code>
* @return This builder for chaining.
*/
public Builder clearMccmnc() {
copyOnWrite();
instance.clearMccmnc();
return this;
}
/**
* <pre>
* Mobile carrier as the concatenated MCC-MNC code (for example,
* "310-005" identifies Verizon Wireless CDMA in the USA).
* Refer to https://en.wikipedia.org/wiki/Mobile_country_code
* for further examples. Note that the dash between the MCC
* and MNC parts is required to remove parsing ambiguity.
* The MCC-MNC values represent the SIM installed on the device and
* do not change when a device is roaming. Roaming may be inferred by
* a combination of the MCC-MNC, geo, IP and other data signals.
* Not supported by Google.
* </pre>
*
* <code>optional string mccmnc = 30;</code>
* @param value The bytes for mccmnc to set.
* @return This builder for chaining.
*/
public Builder setMccmncBytes(
com.google.protobuf.ByteString value) {
copyOnWrite();
instance.setMccmncBytes(value);
return this;
}
/**
* <pre>
* Network connection type.
* Google: For 5G connection type, we send CELL_4G instead of CELL_5G.
* Supported by Google.
* </pre>
*
* <code>optional .com.google.openrtb.ConnectionType connectiontype = 17;</code>
* @return Whether the connectiontype field is set.
*/
@java.lang.Override
public boolean hasConnectiontype() {
return instance.hasConnectiontype();
}
/**
* <pre>
* Network connection type.
* Google: For 5G connection type, we send CELL_4G instead of CELL_5G.
* Supported by Google.
* </pre>
*
* <code>optional .com.google.openrtb.ConnectionType connectiontype = 17;</code>
* @return The connectiontype.
*/
@java.lang.Override
public com.particles.mes.protos.openrtb.ConnectionType getConnectiontype() {
return instance.getConnectiontype();
}
/**
* <pre>
* Network connection type.
* Google: For 5G connection type, we send CELL_4G instead of CELL_5G.
* Supported by Google.
* </pre>
*
* <code>optional .com.google.openrtb.ConnectionType connectiontype = 17;</code>
* @param value The enum numeric value on the wire for connectiontype to set.
* @return This builder for chaining.
*/
public Builder setConnectiontype(com.particles.mes.protos.openrtb.ConnectionType value) {
copyOnWrite();
instance.setConnectiontype(value);
return this;
}
/**
* <pre>
* Network connection type.
* Google: For 5G connection type, we send CELL_4G instead of CELL_5G.
* Supported by Google.
* </pre>
*
* <code>optional .com.google.openrtb.ConnectionType connectiontype = 17;</code>
* @return This builder for chaining.
*/
public Builder clearConnectiontype() {
copyOnWrite();
instance.clearConnectiontype();
return this;
}
/**
* <pre>
* ID sanctioned for advertiser use in the clear (meaning, not hashed).
* Supported by Google.
* </pre>
*
* <code>optional string ifa = 20;</code>
* @return Whether the ifa field is set.
*/
@java.lang.Override
public boolean hasIfa() {
return instance.hasIfa();
}
/**
* <pre>
* ID sanctioned for advertiser use in the clear (meaning, not hashed).
* Supported by Google.
* </pre>
*
* <code>optional string ifa = 20;</code>
* @return The ifa.
*/
@java.lang.Override
public java.lang.String getIfa() {
return instance.getIfa();
}
/**
* <pre>
* ID sanctioned for advertiser use in the clear (meaning, not hashed).
* Supported by Google.
* </pre>
*
* <code>optional string ifa = 20;</code>
* @return The bytes for ifa.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getIfaBytes() {
return instance.getIfaBytes();
}
/**
* <pre>
* ID sanctioned for advertiser use in the clear (meaning, not hashed).
* Supported by Google.
* </pre>
*
* <code>optional string ifa = 20;</code>
* @param value The ifa to set.
* @return This builder for chaining.
*/
public Builder setIfa(
java.lang.String value) {
copyOnWrite();
instance.setIfa(value);
return this;
}
/**
* <pre>
* ID sanctioned for advertiser use in the clear (meaning, not hashed).
* Supported by Google.
* </pre>
*
* <code>optional string ifa = 20;</code>
* @return This builder for chaining.
*/
public Builder clearIfa() {
copyOnWrite();
instance.clearIfa();
return this;
}
/**
* <pre>
* ID sanctioned for advertiser use in the clear (meaning, not hashed).
* Supported by Google.
* </pre>
*
* <code>optional string ifa = 20;</code>
* @param value The bytes for ifa to set.
* @return This builder for chaining.
*/
public Builder setIfaBytes(
com.google.protobuf.ByteString value) {
copyOnWrite();
instance.setIfaBytes(value);
return this;
}
/**
* <pre>
* DEPRECATED in OpenRTB 2.6+. No replacement.
* Hardware device ID (for example, IMEI); hashed through SHA1.
* Not supported by Google.
* </pre>
*
* <code>optional string didsha1 = 5 [deprecated = true];</code>
* @deprecated com.google.openrtb.BidRequest.Device.didsha1 is deprecated.
* See openrtb/openrtb-v26.proto;l=1484
* @return Whether the didsha1 field is set.
*/
@java.lang.Override
@java.lang.Deprecated public boolean hasDidsha1() {
return instance.hasDidsha1();
}
/**
* <pre>
* DEPRECATED in OpenRTB 2.6+. No replacement.
* Hardware device ID (for example, IMEI); hashed through SHA1.
* Not supported by Google.
* </pre>
*
* <code>optional string didsha1 = 5 [deprecated = true];</code>
* @deprecated com.google.openrtb.BidRequest.Device.didsha1 is deprecated.
* See openrtb/openrtb-v26.proto;l=1484
* @return The didsha1.
*/
@java.lang.Override
@java.lang.Deprecated public java.lang.String getDidsha1() {
return instance.getDidsha1();
}
/**
* <pre>
* DEPRECATED in OpenRTB 2.6+. No replacement.
* Hardware device ID (for example, IMEI); hashed through SHA1.
* Not supported by Google.
* </pre>
*
* <code>optional string didsha1 = 5 [deprecated = true];</code>
* @deprecated com.google.openrtb.BidRequest.Device.didsha1 is deprecated.
* See openrtb/openrtb-v26.proto;l=1484
* @return The bytes for didsha1.
*/
@java.lang.Override
@java.lang.Deprecated public com.google.protobuf.ByteString
getDidsha1Bytes() {
return instance.getDidsha1Bytes();
}
/**
* <pre>
* DEPRECATED in OpenRTB 2.6+. No replacement.
* Hardware device ID (for example, IMEI); hashed through SHA1.
* Not supported by Google.
* </pre>
*
* <code>optional string didsha1 = 5 [deprecated = true];</code>
* @deprecated com.google.openrtb.BidRequest.Device.didsha1 is deprecated.
* See openrtb/openrtb-v26.proto;l=1484
* @param value The didsha1 to set.
* @return This builder for chaining.
*/
@java.lang.Deprecated public Builder setDidsha1(
java.lang.String value) {
copyOnWrite();
instance.setDidsha1(value);
return this;
}
/**
* <pre>
* DEPRECATED in OpenRTB 2.6+. No replacement.
* Hardware device ID (for example, IMEI); hashed through SHA1.
* Not supported by Google.
* </pre>
*
* <code>optional string didsha1 = 5 [deprecated = true];</code>
* @deprecated com.google.openrtb.BidRequest.Device.didsha1 is deprecated.
* See openrtb/openrtb-v26.proto;l=1484
* @return This builder for chaining.
*/
@java.lang.Deprecated public Builder clearDidsha1() {
copyOnWrite();
instance.clearDidsha1();
return this;
}
/**
* <pre>
* DEPRECATED in OpenRTB 2.6+. No replacement.
* Hardware device ID (for example, IMEI); hashed through SHA1.
* Not supported by Google.
* </pre>
*
* <code>optional string didsha1 = 5 [deprecated = true];</code>
* @deprecated com.google.openrtb.BidRequest.Device.didsha1 is deprecated.
* See openrtb/openrtb-v26.proto;l=1484
* @param value The bytes for didsha1 to set.
* @return This builder for chaining.
*/
@java.lang.Deprecated public Builder setDidsha1Bytes(
com.google.protobuf.ByteString value) {
copyOnWrite();
instance.setDidsha1Bytes(value);
return this;
}
/**
* <pre>
* DEPRECATED in OpenRTB 2.6+. No replacement.
* Hardware device ID (for example, IMEI); hashed through MD5.
* Not supported by Google.
* </pre>
*
* <code>optional string didmd5 = 6 [deprecated = true];</code>
* @deprecated com.google.openrtb.BidRequest.Device.didmd5 is deprecated.
* See openrtb/openrtb-v26.proto;l=1489
* @return Whether the didmd5 field is set.
*/
@java.lang.Override
@java.lang.Deprecated public boolean hasDidmd5() {
return instance.hasDidmd5();
}
/**
* <pre>
* DEPRECATED in OpenRTB 2.6+. No replacement.
* Hardware device ID (for example, IMEI); hashed through MD5.
* Not supported by Google.
* </pre>
*
* <code>optional string didmd5 = 6 [deprecated = true];</code>
* @deprecated com.google.openrtb.BidRequest.Device.didmd5 is deprecated.
* See openrtb/openrtb-v26.proto;l=1489
* @return The didmd5.
*/
@java.lang.Override
@java.lang.Deprecated public java.lang.String getDidmd5() {
return instance.getDidmd5();
}
/**
* <pre>
* DEPRECATED in OpenRTB 2.6+. No replacement.
* Hardware device ID (for example, IMEI); hashed through MD5.
* Not supported by Google.
* </pre>
*
* <code>optional string didmd5 = 6 [deprecated = true];</code>
* @deprecated com.google.openrtb.BidRequest.Device.didmd5 is deprecated.
* See openrtb/openrtb-v26.proto;l=1489
* @return The bytes for didmd5.
*/
@java.lang.Override
@java.lang.Deprecated public com.google.protobuf.ByteString
getDidmd5Bytes() {
return instance.getDidmd5Bytes();
}
/**
* <pre>
* DEPRECATED in OpenRTB 2.6+. No replacement.
* Hardware device ID (for example, IMEI); hashed through MD5.
* Not supported by Google.
* </pre>
*
* <code>optional string didmd5 = 6 [deprecated = true];</code>
* @deprecated com.google.openrtb.BidRequest.Device.didmd5 is deprecated.
* See openrtb/openrtb-v26.proto;l=1489
* @param value The didmd5 to set.
* @return This builder for chaining.
*/
@java.lang.Deprecated public Builder setDidmd5(
java.lang.String value) {
copyOnWrite();
instance.setDidmd5(value);
return this;
}
/**
* <pre>
* DEPRECATED in OpenRTB 2.6+. No replacement.
* Hardware device ID (for example, IMEI); hashed through MD5.
* Not supported by Google.
* </pre>
*
* <code>optional string didmd5 = 6 [deprecated = true];</code>
* @deprecated com.google.openrtb.BidRequest.Device.didmd5 is deprecated.
* See openrtb/openrtb-v26.proto;l=1489
* @return This builder for chaining.
*/
@java.lang.Deprecated public Builder clearDidmd5() {
copyOnWrite();
instance.clearDidmd5();
return this;
}
/**
* <pre>
* DEPRECATED in OpenRTB 2.6+. No replacement.
* Hardware device ID (for example, IMEI); hashed through MD5.
* Not supported by Google.
* </pre>
*
* <code>optional string didmd5 = 6 [deprecated = true];</code>
* @deprecated com.google.openrtb.BidRequest.Device.didmd5 is deprecated.
* See openrtb/openrtb-v26.proto;l=1489
* @param value The bytes for didmd5 to set.
* @return This builder for chaining.
*/
@java.lang.Deprecated public Builder setDidmd5Bytes(
com.google.protobuf.ByteString value) {
copyOnWrite();
instance.setDidmd5Bytes(value);
return this;
}
/**
* <pre>
* DEPRECATED in OpenRTB 2.6+. No replacement.
* Platform device ID (for example, Android ID); hashed through SHA1.
* Not supported by Google.
* </pre>
*
* <code>optional string dpidsha1 = 7 [deprecated = true];</code>
* @deprecated com.google.openrtb.BidRequest.Device.dpidsha1 is deprecated.
* See openrtb/openrtb-v26.proto;l=1494
* @return Whether the dpidsha1 field is set.
*/
@java.lang.Override
@java.lang.Deprecated public boolean hasDpidsha1() {
return instance.hasDpidsha1();
}
/**
* <pre>
* DEPRECATED in OpenRTB 2.6+. No replacement.
* Platform device ID (for example, Android ID); hashed through SHA1.
* Not supported by Google.
* </pre>
*
* <code>optional string dpidsha1 = 7 [deprecated = true];</code>
* @deprecated com.google.openrtb.BidRequest.Device.dpidsha1 is deprecated.
* See openrtb/openrtb-v26.proto;l=1494
* @return The dpidsha1.
*/
@java.lang.Override
@java.lang.Deprecated public java.lang.String getDpidsha1() {
return instance.getDpidsha1();
}
/**
* <pre>
* DEPRECATED in OpenRTB 2.6+. No replacement.
* Platform device ID (for example, Android ID); hashed through SHA1.
* Not supported by Google.
* </pre>
*
* <code>optional string dpidsha1 = 7 [deprecated = true];</code>
* @deprecated com.google.openrtb.BidRequest.Device.dpidsha1 is deprecated.
* See openrtb/openrtb-v26.proto;l=1494
* @return The bytes for dpidsha1.
*/
@java.lang.Override
@java.lang.Deprecated public com.google.protobuf.ByteString
getDpidsha1Bytes() {
return instance.getDpidsha1Bytes();
}
/**
* <pre>
* DEPRECATED in OpenRTB 2.6+. No replacement.
* Platform device ID (for example, Android ID); hashed through SHA1.
* Not supported by Google.
* </pre>
*
* <code>optional string dpidsha1 = 7 [deprecated = true];</code>
* @deprecated com.google.openrtb.BidRequest.Device.dpidsha1 is deprecated.
* See openrtb/openrtb-v26.proto;l=1494
* @param value The dpidsha1 to set.
* @return This builder for chaining.
*/
@java.lang.Deprecated public Builder setDpidsha1(
java.lang.String value) {
copyOnWrite();
instance.setDpidsha1(value);
return this;
}
/**
* <pre>
* DEPRECATED in OpenRTB 2.6+. No replacement.
* Platform device ID (for example, Android ID); hashed through SHA1.
* Not supported by Google.
* </pre>
*
* <code>optional string dpidsha1 = 7 [deprecated = true];</code>
* @deprecated com.google.openrtb.BidRequest.Device.dpidsha1 is deprecated.
* See openrtb/openrtb-v26.proto;l=1494
* @return This builder for chaining.
*/
@java.lang.Deprecated public Builder clearDpidsha1() {
copyOnWrite();
instance.clearDpidsha1();
return this;
}
/**
* <pre>
* DEPRECATED in OpenRTB 2.6+. No replacement.
* Platform device ID (for example, Android ID); hashed through SHA1.
* Not supported by Google.
* </pre>
*
* <code>optional string dpidsha1 = 7 [deprecated = true];</code>
* @deprecated com.google.openrtb.BidRequest.Device.dpidsha1 is deprecated.
* See openrtb/openrtb-v26.proto;l=1494
* @param value The bytes for dpidsha1 to set.
* @return This builder for chaining.
*/
@java.lang.Deprecated public Builder setDpidsha1Bytes(
com.google.protobuf.ByteString value) {
copyOnWrite();
instance.setDpidsha1Bytes(value);
return this;
}
/**
* <pre>
* DEPRECATED in OpenRTB 2.6+. No replacement.
* Platform device ID (for example, Android ID); hashed through MD5.
* Supported by Google.
* </pre>
*
* <code>optional string dpidmd5 = 8 [deprecated = true];</code>
* @deprecated com.google.openrtb.BidRequest.Device.dpidmd5 is deprecated.
* See openrtb/openrtb-v26.proto;l=1499
* @return Whether the dpidmd5 field is set.
*/
@java.lang.Override
@java.lang.Deprecated public boolean hasDpidmd5() {
return instance.hasDpidmd5();
}
/**
* <pre>
* DEPRECATED in OpenRTB 2.6+. No replacement.
* Platform device ID (for example, Android ID); hashed through MD5.
* Supported by Google.
* </pre>
*
* <code>optional string dpidmd5 = 8 [deprecated = true];</code>
* @deprecated com.google.openrtb.BidRequest.Device.dpidmd5 is deprecated.
* See openrtb/openrtb-v26.proto;l=1499
* @return The dpidmd5.
*/
@java.lang.Override
@java.lang.Deprecated public java.lang.String getDpidmd5() {
return instance.getDpidmd5();
}
/**
* <pre>
* DEPRECATED in OpenRTB 2.6+. No replacement.
* Platform device ID (for example, Android ID); hashed through MD5.
* Supported by Google.
* </pre>
*
* <code>optional string dpidmd5 = 8 [deprecated = true];</code>
* @deprecated com.google.openrtb.BidRequest.Device.dpidmd5 is deprecated.
* See openrtb/openrtb-v26.proto;l=1499
* @return The bytes for dpidmd5.
*/
@java.lang.Override
@java.lang.Deprecated public com.google.protobuf.ByteString
getDpidmd5Bytes() {
return instance.getDpidmd5Bytes();
}
/**
* <pre>
* DEPRECATED in OpenRTB 2.6+. No replacement.
* Platform device ID (for example, Android ID); hashed through MD5.
* Supported by Google.
* </pre>
*
* <code>optional string dpidmd5 = 8 [deprecated = true];</code>
* @deprecated com.google.openrtb.BidRequest.Device.dpidmd5 is deprecated.
* See openrtb/openrtb-v26.proto;l=1499
* @param value The dpidmd5 to set.
* @return This builder for chaining.
*/
@java.lang.Deprecated public Builder setDpidmd5(
java.lang.String value) {
copyOnWrite();
instance.setDpidmd5(value);
return this;
}
/**
* <pre>
* DEPRECATED in OpenRTB 2.6+. No replacement.
* Platform device ID (for example, Android ID); hashed through MD5.
* Supported by Google.
* </pre>
*
* <code>optional string dpidmd5 = 8 [deprecated = true];</code>
* @deprecated com.google.openrtb.BidRequest.Device.dpidmd5 is deprecated.
* See openrtb/openrtb-v26.proto;l=1499
* @return This builder for chaining.
*/
@java.lang.Deprecated public Builder clearDpidmd5() {
copyOnWrite();
instance.clearDpidmd5();
return this;
}
/**
* <pre>
* DEPRECATED in OpenRTB 2.6+. No replacement.
* Platform device ID (for example, Android ID); hashed through MD5.
* Supported by Google.
* </pre>
*
* <code>optional string dpidmd5 = 8 [deprecated = true];</code>
* @deprecated com.google.openrtb.BidRequest.Device.dpidmd5 is deprecated.
* See openrtb/openrtb-v26.proto;l=1499
* @param value The bytes for dpidmd5 to set.
* @return This builder for chaining.
*/
@java.lang.Deprecated public Builder setDpidmd5Bytes(
com.google.protobuf.ByteString value) {
copyOnWrite();
instance.setDpidmd5Bytes(value);
return this;
}
/**
* <pre>
* DEPRECATED in OpenRTB 2.6+. No replacement.
* MAC address of the device; hashed through SHA1.
* Not supported by Google.
* </pre>
*
* <code>optional string macsha1 = 21 [deprecated = true];</code>
* @deprecated com.google.openrtb.BidRequest.Device.macsha1 is deprecated.
* See openrtb/openrtb-v26.proto;l=1504
* @return Whether the macsha1 field is set.
*/
@java.lang.Override
@java.lang.Deprecated public boolean hasMacsha1() {
return instance.hasMacsha1();
}
/**
* <pre>
* DEPRECATED in OpenRTB 2.6+. No replacement.
* MAC address of the device; hashed through SHA1.
* Not supported by Google.
* </pre>
*
* <code>optional string macsha1 = 21 [deprecated = true];</code>
* @deprecated com.google.openrtb.BidRequest.Device.macsha1 is deprecated.
* See openrtb/openrtb-v26.proto;l=1504
* @return The macsha1.
*/
@java.lang.Override
@java.lang.Deprecated public java.lang.String getMacsha1() {
return instance.getMacsha1();
}
/**
* <pre>
* DEPRECATED in OpenRTB 2.6+. No replacement.
* MAC address of the device; hashed through SHA1.
* Not supported by Google.
* </pre>
*
* <code>optional string macsha1 = 21 [deprecated = true];</code>
* @deprecated com.google.openrtb.BidRequest.Device.macsha1 is deprecated.
* See openrtb/openrtb-v26.proto;l=1504
* @return The bytes for macsha1.
*/
@java.lang.Override
@java.lang.Deprecated public com.google.protobuf.ByteString
getMacsha1Bytes() {
return instance.getMacsha1Bytes();
}
/**
* <pre>
* DEPRECATED in OpenRTB 2.6+. No replacement.
* MAC address of the device; hashed through SHA1.
* Not supported by Google.
* </pre>
*
* <code>optional string macsha1 = 21 [deprecated = true];</code>
* @deprecated com.google.openrtb.BidRequest.Device.macsha1 is deprecated.
* See openrtb/openrtb-v26.proto;l=1504
* @param value The macsha1 to set.
* @return This builder for chaining.
*/
@java.lang.Deprecated public Builder setMacsha1(
java.lang.String value) {
copyOnWrite();
instance.setMacsha1(value);
return this;
}
/**
* <pre>
* DEPRECATED in OpenRTB 2.6+. No replacement.
* MAC address of the device; hashed through SHA1.
* Not supported by Google.
* </pre>
*
* <code>optional string macsha1 = 21 [deprecated = true];</code>
* @deprecated com.google.openrtb.BidRequest.Device.macsha1 is deprecated.
* See openrtb/openrtb-v26.proto;l=1504
* @return This builder for chaining.
*/
@java.lang.Deprecated public Builder clearMacsha1() {
copyOnWrite();
instance.clearMacsha1();
return this;
}
/**
* <pre>
* DEPRECATED in OpenRTB 2.6+. No replacement.
* MAC address of the device; hashed through SHA1.
* Not supported by Google.
* </pre>
*
* <code>optional string macsha1 = 21 [deprecated = true];</code>
* @deprecated com.google.openrtb.BidRequest.Device.macsha1 is deprecated.
* See openrtb/openrtb-v26.proto;l=1504
* @param value The bytes for macsha1 to set.
* @return This builder for chaining.
*/
@java.lang.Deprecated public Builder setMacsha1Bytes(
com.google.protobuf.ByteString value) {
copyOnWrite();
instance.setMacsha1Bytes(value);
return this;
}
/**
* <pre>
* DEPRECATED in OpenRTB 2.6+. No replacement.
* MAC address of the device; hashed through MD5.
* Not supported by Google.
* </pre>
*
* <code>optional string macmd5 = 22 [deprecated = true];</code>
* @deprecated com.google.openrtb.BidRequest.Device.macmd5 is deprecated.
* See openrtb/openrtb-v26.proto;l=1509
* @return Whether the macmd5 field is set.
*/
@java.lang.Override
@java.lang.Deprecated public boolean hasMacmd5() {
return instance.hasMacmd5();
}
/**
* <pre>
* DEPRECATED in OpenRTB 2.6+. No replacement.
* MAC address of the device; hashed through MD5.
* Not supported by Google.
* </pre>
*
* <code>optional string macmd5 = 22 [deprecated = true];</code>
* @deprecated com.google.openrtb.BidRequest.Device.macmd5 is deprecated.
* See openrtb/openrtb-v26.proto;l=1509
* @return The macmd5.
*/
@java.lang.Override
@java.lang.Deprecated public java.lang.String getMacmd5() {
return instance.getMacmd5();
}
/**
* <pre>
* DEPRECATED in OpenRTB 2.6+. No replacement.
* MAC address of the device; hashed through MD5.
* Not supported by Google.
* </pre>
*
* <code>optional string macmd5 = 22 [deprecated = true];</code>
* @deprecated com.google.openrtb.BidRequest.Device.macmd5 is deprecated.
* See openrtb/openrtb-v26.proto;l=1509
* @return The bytes for macmd5.
*/
@java.lang.Override
@java.lang.Deprecated public com.google.protobuf.ByteString
getMacmd5Bytes() {
return instance.getMacmd5Bytes();
}
/**
* <pre>
* DEPRECATED in OpenRTB 2.6+. No replacement.
* MAC address of the device; hashed through MD5.
* Not supported by Google.
* </pre>
*
* <code>optional string macmd5 = 22 [deprecated = true];</code>
* @deprecated com.google.openrtb.BidRequest.Device.macmd5 is deprecated.
* See openrtb/openrtb-v26.proto;l=1509
* @param value The macmd5 to set.
* @return This builder for chaining.
*/
@java.lang.Deprecated public Builder setMacmd5(
java.lang.String value) {
copyOnWrite();
instance.setMacmd5(value);
return this;
}
/**
* <pre>
* DEPRECATED in OpenRTB 2.6+. No replacement.
* MAC address of the device; hashed through MD5.
* Not supported by Google.
* </pre>
*
* <code>optional string macmd5 = 22 [deprecated = true];</code>
* @deprecated com.google.openrtb.BidRequest.Device.macmd5 is deprecated.
* See openrtb/openrtb-v26.proto;l=1509
* @return This builder for chaining.
*/
@java.lang.Deprecated public Builder clearMacmd5() {
copyOnWrite();
instance.clearMacmd5();
return this;
}
/**
* <pre>
* DEPRECATED in OpenRTB 2.6+. No replacement.
* MAC address of the device; hashed through MD5.
* Not supported by Google.
* </pre>
*
* <code>optional string macmd5 = 22 [deprecated = true];</code>
* @deprecated com.google.openrtb.BidRequest.Device.macmd5 is deprecated.
* See openrtb/openrtb-v26.proto;l=1509
* @param value The bytes for macmd5 to set.
* @return This builder for chaining.
*/
@java.lang.Deprecated public Builder setMacmd5Bytes(
com.google.protobuf.ByteString value) {
copyOnWrite();
instance.setMacmd5Bytes(value);
return this;
}
/**
* <code>optional string ext = 90;</code>
* @return Whether the ext field is set.
*/
@java.lang.Override
public boolean hasExt() {
return instance.hasExt();
}
/**
* <code>optional string ext = 90;</code>
* @return The ext.
*/
@java.lang.Override
public java.lang.String getExt() {
return instance.getExt();
}
/**
* <code>optional string ext = 90;</code>
* @return The bytes for ext.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getExtBytes() {
return instance.getExtBytes();
}
/**
* <code>optional string ext = 90;</code>
* @param value The ext to set.
* @return This builder for chaining.
*/
public Builder setExt(
java.lang.String value) {
copyOnWrite();
instance.setExt(value);
return this;
}
/**
* <code>optional string ext = 90;</code>
* @return This builder for chaining.
*/
public Builder clearExt() {
copyOnWrite();
instance.clearExt();
return this;
}
/**
* <code>optional string ext = 90;</code>
* @param value The bytes for ext to set.
* @return This builder for chaining.
*/
public Builder setExtBytes(
com.google.protobuf.ByteString value) {
copyOnWrite();
instance.setExtBytes(value);
return this;
}
// @@protoc_insertion_point(builder_scope:com.google.openrtb.BidRequest.Device)
}
private byte memoizedIsInitialized = 2;
@java.lang.Override
@java.lang.SuppressWarnings({"unchecked", "fallthrough"})
protected final java.lang.Object dynamicMethod(
com.google.protobuf.GeneratedMessageLite.MethodToInvoke method,
java.lang.Object arg0, java.lang.Object arg1) {
switch (method) {
case NEW_MUTABLE_INSTANCE: {
return new com.particles.mes.protos.openrtb.BidRequest.Device();
}
case NEW_BUILDER: {
return new Builder();
}
case BUILD_MESSAGE_INFO: {
java.lang.Object[] objects = new java.lang.Object[] {
"bitField0_",
"bitField1_",
"dnt_",
"ua_",
"ip_",
"geo_",
"didsha1_",
"didmd5_",
"dpidsha1_",
"dpidmd5_",
"ipv6_",
"carrier_",
"language_",
"make_",
"model_",
"os_",
"osv_",
"js_",
"connectiontype_",
com.particles.mes.protos.openrtb.ConnectionType.internalGetVerifier(),
"devicetype_",
com.particles.mes.protos.openrtb.DeviceType.internalGetVerifier(),
"flashver_",
"ifa_",
"macsha1_",
"macmd5_",
"lmt_",
"hwv_",
"w_",
"h_",
"ppi_",
"pxratio_",
"geofetch_",
"mccmnc_",
"sua_",
"langb_",
"ext_",
};
java.lang.String info =
"\u0001!\u0000\u0002\u0001Z!\u0000\u0000\u0001\u0001\u1007\u0001\u0002\u1008\u0003" +
"\u0003\u1008\u0005\u0004\u1409\u0000\u0005\u1008\u001a\u0006\u1008\u001b\u0007\u1008" +
"\u001c\b\u1008\u001d\t\u1008\u0006\n\u1008\u0016\u000b\u1008\u0014\f\u1008\b\r\u1008" +
"\t\u000e\u1008\n\u000f\u1008\u000b\u0010\u1007\u0011\u0011\u100c\u0018\u0012\u100c" +
"\u0007\u0013\u1008\u0013\u0014\u1008\u0019\u0015\u1008\u001e\u0016\u1008\u001f\u0017" +
"\u1007\u0002\u0018\u1008\f\u0019\u1004\r\u001a\u1004\u000e\u001b\u1004\u000f\u001c" +
"\u1000\u0010\u001d\u1007\u0012\u001e\u1008\u0017\u001f\u1009\u0004 \u1008\u0015Z" +
"\u1008 ";
return newMessageInfo(DEFAULT_INSTANCE, info, objects);
}
// fall through
case GET_DEFAULT_INSTANCE: {
return DEFAULT_INSTANCE;
}
case GET_PARSER: {
com.google.protobuf.Parser<com.particles.mes.protos.openrtb.BidRequest.Device> parser = PARSER;
if (parser == null) {
synchronized (com.particles.mes.protos.openrtb.BidRequest.Device.class) {
parser = PARSER;
if (parser == null) {
parser =
new DefaultInstanceBasedParser<com.particles.mes.protos.openrtb.BidRequest.Device>(
DEFAULT_INSTANCE);
PARSER = parser;
}
}
}
return parser;
}
case GET_MEMOIZED_IS_INITIALIZED: {
return memoizedIsInitialized;
}
case SET_MEMOIZED_IS_INITIALIZED: {
memoizedIsInitialized = (byte) (arg0 == null ? 0 : 1);
return null;
}
}
throw new UnsupportedOperationException();
}
// @@protoc_insertion_point(class_scope:com.google.openrtb.BidRequest.Device)
private static final com.particles.mes.protos.openrtb.BidRequest.Device DEFAULT_INSTANCE;
static {
Device defaultInstance = new Device();
// New instances are implicitly immutable so no need to make
// immutable.
DEFAULT_INSTANCE = defaultInstance;
com.google.protobuf.GeneratedMessageLite.registerDefaultInstance(
Device.class, defaultInstance);
}
public static com.particles.mes.protos.openrtb.BidRequest.Device getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static volatile com.google.protobuf.Parser<Device> PARSER;
public static com.google.protobuf.Parser<Device> parser() {
return DEFAULT_INSTANCE.getParserForType();
}
}
public interface RegsOrBuilder extends
// @@protoc_insertion_point(interface_extends:com.google.openrtb.BidRequest.Regs)
com.google.protobuf.GeneratedMessageLite.
ExtendableMessageOrBuilder<
Regs, Regs.Builder> {
/**
* <pre>
* Indicates if this request is subject to the COPPA regulations
* established by the USA FTC.
* Not supported by Google.
* </pre>
*
* <code>optional bool coppa = 1;</code>
* @return Whether the coppa field is set.
*/
boolean hasCoppa();
/**
* <pre>
* Indicates if this request is subject to the COPPA regulations
* established by the USA FTC.
* Not supported by Google.
* </pre>
*
* <code>optional bool coppa = 1;</code>
* @return The coppa.
*/
boolean getCoppa();
/**
* <pre>
* Contains the Global Privacy Platform's consent string. See the Global
* Privacy Platform specification for more details:
* https://github.com/InteractiveAdvertisingBureau/Global-Privacy-Platform
* Not supported by Google.
* </pre>
*
* <code>optional string gpp = 2;</code>
* @return Whether the gpp field is set.
*/
boolean hasGpp();
/**
* <pre>
* Contains the Global Privacy Platform's consent string. See the Global
* Privacy Platform specification for more details:
* https://github.com/InteractiveAdvertisingBureau/Global-Privacy-Platform
* Not supported by Google.
* </pre>
*
* <code>optional string gpp = 2;</code>
* @return The gpp.
*/
java.lang.String getGpp();
/**
* <pre>
* Contains the Global Privacy Platform's consent string. See the Global
* Privacy Platform specification for more details:
* https://github.com/InteractiveAdvertisingBureau/Global-Privacy-Platform
* Not supported by Google.
* </pre>
*
* <code>optional string gpp = 2;</code>
* @return The bytes for gpp.
*/
com.google.protobuf.ByteString
getGppBytes();
/**
* <pre>
* Array of the section(s) of the string which should be applied for this
* transaction. Generally will contain one and only one value, but there are
* edge cases where more than one may apply. GPP Section 3 (Header) and 4
* (Signal Integrity) do not need to be included. See enum GppSectionId.
* Not supported by Google.
* </pre>
*
* <code>repeated .com.google.openrtb.BidRequest.Regs.GppSectionId gpp_sid = 3 [packed = true];</code>
* @return A list containing the gppSid.
*/
java.util.List<com.particles.mes.protos.openrtb.BidRequest.Regs.GppSectionId> getGppSidList();
/**
* <pre>
* Array of the section(s) of the string which should be applied for this
* transaction. Generally will contain one and only one value, but there are
* edge cases where more than one may apply. GPP Section 3 (Header) and 4
* (Signal Integrity) do not need to be included. See enum GppSectionId.
* Not supported by Google.
* </pre>
*
* <code>repeated .com.google.openrtb.BidRequest.Regs.GppSectionId gpp_sid = 3 [packed = true];</code>
* @return The count of gppSid.
*/
int getGppSidCount();
/**
* <pre>
* Array of the section(s) of the string which should be applied for this
* transaction. Generally will contain one and only one value, but there are
* edge cases where more than one may apply. GPP Section 3 (Header) and 4
* (Signal Integrity) do not need to be included. See enum GppSectionId.
* Not supported by Google.
* </pre>
*
* <code>repeated .com.google.openrtb.BidRequest.Regs.GppSectionId gpp_sid = 3 [packed = true];</code>
* @param index The index of the element to return.
* @return The gppSid at the given index.
*/
com.particles.mes.protos.openrtb.BidRequest.Regs.GppSectionId getGppSid(int index);
/**
* <code>optional string ext = 90;</code>
* @return Whether the ext field is set.
*/
boolean hasExt();
/**
* <code>optional string ext = 90;</code>
* @return The ext.
*/
java.lang.String getExt();
/**
* <code>optional string ext = 90;</code>
* @return The bytes for ext.
*/
com.google.protobuf.ByteString
getExtBytes();
}
/**
* <pre>
* OpenRTB 2.2: This object contains any legal, governmental, or industry
* regulations that apply to the request. The coppa field signals whether
* or not the request falls under the United States Federal Trade Commission's
* regulations for the United States Children's Online Privacy Protection Act
* ("COPPA"). Refer to Section 7.1 for more information.
* </pre>
*
* Protobuf type {@code com.google.openrtb.BidRequest.Regs}
*/
public static final class Regs extends
com.google.protobuf.GeneratedMessageLite.ExtendableMessage<
Regs, Regs.Builder> implements
// @@protoc_insertion_point(message_implements:com.google.openrtb.BidRequest.Regs)
RegsOrBuilder {
private Regs() {
gpp_ = "";
gppSid_ = emptyIntList();
ext_ = "";
}
/**
* <pre>
* Each section represents a unique privacy signal, usually a unique
* jurisdiction. Below are the supported discrete sections.
* </pre>
*
* Protobuf enum {@code com.google.openrtb.BidRequest.Regs.GppSectionId}
*/
public enum GppSectionId
implements com.google.protobuf.Internal.EnumLite {
/**
* <pre>
* EU TCF v1 section (deprecated)
* </pre>
*
* <code>TCFEUV1 = 1;</code>
*/
TCFEUV1(1),
/**
* <pre>
* EU TCF v2 section (see note below)
* </pre>
*
* <code>TCFEUV2 = 2;</code>
*/
TCFEUV2(2),
/**
* <pre>
* GPP Header section (REQUIRED, see note below)
* </pre>
*
* <code>GPP_HEADER = 3;</code>
*/
GPP_HEADER(3),
/**
* <pre>
* GPP signal integrity section
* </pre>
*
* <code>GPP_SIGNAL = 4;</code>
*/
GPP_SIGNAL(4),
/**
* <pre>
* Canadian TCF section
* </pre>
*
* <code>TCFCA = 5;</code>
*/
TCFCA(5),
/**
* <pre>
* USPrivacy String (Unencoded Format)
* </pre>
*
* <code>USPV1 = 6;</code>
*/
USPV1(6),
/**
* <pre>
* US - national section
* </pre>
*
* <code>USNAT = 7;</code>
*/
USNAT(7),
/**
* <pre>
* US - California section
* </pre>
*
* <code>USCA = 8;</code>
*/
USCA(8),
/**
* <pre>
* US - Virginia section
* </pre>
*
* <code>USVA = 9;</code>
*/
USVA(9),
/**
* <pre>
* US - Colorado section
* </pre>
*
* <code>USCO = 10;</code>
*/
USCO(10),
/**
* <pre>
* US - Utah section
* </pre>
*
* <code>USUT = 11;</code>
*/
USUT(11),
/**
* <pre>
* US - Connecticut section
* </pre>
*
* <code>USCT = 12;</code>
*/
USCT(12),
;
/**
* <pre>
* EU TCF v1 section (deprecated)
* </pre>
*
* <code>TCFEUV1 = 1;</code>
*/
public static final int TCFEUV1_VALUE = 1;
/**
* <pre>
* EU TCF v2 section (see note below)
* </pre>
*
* <code>TCFEUV2 = 2;</code>
*/
public static final int TCFEUV2_VALUE = 2;
/**
* <pre>
* GPP Header section (REQUIRED, see note below)
* </pre>
*
* <code>GPP_HEADER = 3;</code>
*/
public static final int GPP_HEADER_VALUE = 3;
/**
* <pre>
* GPP signal integrity section
* </pre>
*
* <code>GPP_SIGNAL = 4;</code>
*/
public static final int GPP_SIGNAL_VALUE = 4;
/**
* <pre>
* Canadian TCF section
* </pre>
*
* <code>TCFCA = 5;</code>
*/
public static final int TCFCA_VALUE = 5;
/**
* <pre>
* USPrivacy String (Unencoded Format)
* </pre>
*
* <code>USPV1 = 6;</code>
*/
public static final int USPV1_VALUE = 6;
/**
* <pre>
* US - national section
* </pre>
*
* <code>USNAT = 7;</code>
*/
public static final int USNAT_VALUE = 7;
/**
* <pre>
* US - California section
* </pre>
*
* <code>USCA = 8;</code>
*/
public static final int USCA_VALUE = 8;
/**
* <pre>
* US - Virginia section
* </pre>
*
* <code>USVA = 9;</code>
*/
public static final int USVA_VALUE = 9;
/**
* <pre>
* US - Colorado section
* </pre>
*
* <code>USCO = 10;</code>
*/
public static final int USCO_VALUE = 10;
/**
* <pre>
* US - Utah section
* </pre>
*
* <code>USUT = 11;</code>
*/
public static final int USUT_VALUE = 11;
/**
* <pre>
* US - Connecticut section
* </pre>
*
* <code>USCT = 12;</code>
*/
public static final int USCT_VALUE = 12;
@java.lang.Override
public final int getNumber() {
return value;
}
/**
* @param value The number of the enum to look for.
* @return The enum associated with the given number.
* @deprecated Use {@link #forNumber(int)} instead.
*/
@java.lang.Deprecated
public static GppSectionId valueOf(int value) {
return forNumber(value);
}
public static GppSectionId forNumber(int value) {
switch (value) {
case 1: return TCFEUV1;
case 2: return TCFEUV2;
case 3: return GPP_HEADER;
case 4: return GPP_SIGNAL;
case 5: return TCFCA;
case 6: return USPV1;
case 7: return USNAT;
case 8: return USCA;
case 9: return USVA;
case 10: return USCO;
case 11: return USUT;
case 12: return USCT;
default: return null;
}
}
public static com.google.protobuf.Internal.EnumLiteMap<GppSectionId>
internalGetValueMap() {
return internalValueMap;
}
private static final com.google.protobuf.Internal.EnumLiteMap<
GppSectionId> internalValueMap =
new com.google.protobuf.Internal.EnumLiteMap<GppSectionId>() {
@java.lang.Override
public GppSectionId findValueByNumber(int number) {
return GppSectionId.forNumber(number);
}
};
public static com.google.protobuf.Internal.EnumVerifier
internalGetVerifier() {
return GppSectionIdVerifier.INSTANCE;
}
private static final class GppSectionIdVerifier implements
com.google.protobuf.Internal.EnumVerifier {
static final com.google.protobuf.Internal.EnumVerifier INSTANCE = new GppSectionIdVerifier();
@java.lang.Override
public boolean isInRange(int number) {
return GppSectionId.forNumber(number) != null;
}
};
private final int value;
private GppSectionId(int value) {
this.value = value;
}
// @@protoc_insertion_point(enum_scope:com.google.openrtb.BidRequest.Regs.GppSectionId)
}
private int bitField0_;
public static final int COPPA_FIELD_NUMBER = 1;
private boolean coppa_;
/**
* <pre>
* Indicates if this request is subject to the COPPA regulations
* established by the USA FTC.
* Not supported by Google.
* </pre>
*
* <code>optional bool coppa = 1;</code>
* @return Whether the coppa field is set.
*/
@java.lang.Override
public boolean hasCoppa() {
return ((bitField0_ & 0x00000001) != 0);
}
/**
* <pre>
* Indicates if this request is subject to the COPPA regulations
* established by the USA FTC.
* Not supported by Google.
* </pre>
*
* <code>optional bool coppa = 1;</code>
* @return The coppa.
*/
@java.lang.Override
public boolean getCoppa() {
return coppa_;
}
/**
* <pre>
* Indicates if this request is subject to the COPPA regulations
* established by the USA FTC.
* Not supported by Google.
* </pre>
*
* <code>optional bool coppa = 1;</code>
* @param value The coppa to set.
*/
private void setCoppa(boolean value) {
bitField0_ |= 0x00000001;
coppa_ = value;
}
/**
* <pre>
* Indicates if this request is subject to the COPPA regulations
* established by the USA FTC.
* Not supported by Google.
* </pre>
*
* <code>optional bool coppa = 1;</code>
*/
private void clearCoppa() {
bitField0_ = (bitField0_ & ~0x00000001);
coppa_ = false;
}
public static final int GPP_FIELD_NUMBER = 2;
private java.lang.String gpp_;
/**
* <pre>
* Contains the Global Privacy Platform's consent string. See the Global
* Privacy Platform specification for more details:
* https://github.com/InteractiveAdvertisingBureau/Global-Privacy-Platform
* Not supported by Google.
* </pre>
*
* <code>optional string gpp = 2;</code>
* @return Whether the gpp field is set.
*/
@java.lang.Override
public boolean hasGpp() {
return ((bitField0_ & 0x00000002) != 0);
}
/**
* <pre>
* Contains the Global Privacy Platform's consent string. See the Global
* Privacy Platform specification for more details:
* https://github.com/InteractiveAdvertisingBureau/Global-Privacy-Platform
* Not supported by Google.
* </pre>
*
* <code>optional string gpp = 2;</code>
* @return The gpp.
*/
@java.lang.Override
public java.lang.String getGpp() {
return gpp_;
}
/**
* <pre>
* Contains the Global Privacy Platform's consent string. See the Global
* Privacy Platform specification for more details:
* https://github.com/InteractiveAdvertisingBureau/Global-Privacy-Platform
* Not supported by Google.
* </pre>
*
* <code>optional string gpp = 2;</code>
* @return The bytes for gpp.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getGppBytes() {
return com.google.protobuf.ByteString.copyFromUtf8(gpp_);
}
/**
* <pre>
* Contains the Global Privacy Platform's consent string. See the Global
* Privacy Platform specification for more details:
* https://github.com/InteractiveAdvertisingBureau/Global-Privacy-Platform
* Not supported by Google.
* </pre>
*
* <code>optional string gpp = 2;</code>
* @param value The gpp to set.
*/
private void setGpp(
java.lang.String value) {
java.lang.Class<?> valueClass = value.getClass();
bitField0_ |= 0x00000002;
gpp_ = value;
}
/**
* <pre>
* Contains the Global Privacy Platform's consent string. See the Global
* Privacy Platform specification for more details:
* https://github.com/InteractiveAdvertisingBureau/Global-Privacy-Platform
* Not supported by Google.
* </pre>
*
* <code>optional string gpp = 2;</code>
*/
private void clearGpp() {
bitField0_ = (bitField0_ & ~0x00000002);
gpp_ = getDefaultInstance().getGpp();
}
/**
* <pre>
* Contains the Global Privacy Platform's consent string. See the Global
* Privacy Platform specification for more details:
* https://github.com/InteractiveAdvertisingBureau/Global-Privacy-Platform
* Not supported by Google.
* </pre>
*
* <code>optional string gpp = 2;</code>
* @param value The bytes for gpp to set.
*/
private void setGppBytes(
com.google.protobuf.ByteString value) {
gpp_ = value.toStringUtf8();
bitField0_ |= 0x00000002;
}
public static final int GPP_SID_FIELD_NUMBER = 3;
private com.google.protobuf.Internal.IntList gppSid_;
private static final com.google.protobuf.Internal.ListAdapter.Converter<
java.lang.Integer, com.particles.mes.protos.openrtb.BidRequest.Regs.GppSectionId> gppSid_converter_ =
new com.google.protobuf.Internal.ListAdapter.Converter<
java.lang.Integer, com.particles.mes.protos.openrtb.BidRequest.Regs.GppSectionId>() {
@java.lang.Override
public com.particles.mes.protos.openrtb.BidRequest.Regs.GppSectionId convert(java.lang.Integer from) {
com.particles.mes.protos.openrtb.BidRequest.Regs.GppSectionId result = com.particles.mes.protos.openrtb.BidRequest.Regs.GppSectionId.forNumber(from);
return result == null ? com.particles.mes.protos.openrtb.BidRequest.Regs.GppSectionId.TCFEUV1 : result;
}
};
/**
* <pre>
* Array of the section(s) of the string which should be applied for this
* transaction. Generally will contain one and only one value, but there are
* edge cases where more than one may apply. GPP Section 3 (Header) and 4
* (Signal Integrity) do not need to be included. See enum GppSectionId.
* Not supported by Google.
* </pre>
*
* <code>repeated .com.google.openrtb.BidRequest.Regs.GppSectionId gpp_sid = 3 [packed = true];</code>
* @return A list containing the gppSid.
*/
@java.lang.Override
public java.util.List<com.particles.mes.protos.openrtb.BidRequest.Regs.GppSectionId> getGppSidList() {
return new com.google.protobuf.Internal.ListAdapter<
java.lang.Integer, com.particles.mes.protos.openrtb.BidRequest.Regs.GppSectionId>(gppSid_, gppSid_converter_);
}
/**
* <pre>
* Array of the section(s) of the string which should be applied for this
* transaction. Generally will contain one and only one value, but there are
* edge cases where more than one may apply. GPP Section 3 (Header) and 4
* (Signal Integrity) do not need to be included. See enum GppSectionId.
* Not supported by Google.
* </pre>
*
* <code>repeated .com.google.openrtb.BidRequest.Regs.GppSectionId gpp_sid = 3 [packed = true];</code>
* @return The count of gppSid.
*/
@java.lang.Override
public int getGppSidCount() {
return gppSid_.size();
}
/**
* <pre>
* Array of the section(s) of the string which should be applied for this
* transaction. Generally will contain one and only one value, but there are
* edge cases where more than one may apply. GPP Section 3 (Header) and 4
* (Signal Integrity) do not need to be included. See enum GppSectionId.
* Not supported by Google.
* </pre>
*
* <code>repeated .com.google.openrtb.BidRequest.Regs.GppSectionId gpp_sid = 3 [packed = true];</code>
* @param index The index of the element to return.
* @return The gppSid at the given index.
*/
@java.lang.Override
public com.particles.mes.protos.openrtb.BidRequest.Regs.GppSectionId getGppSid(int index) {
com.particles.mes.protos.openrtb.BidRequest.Regs.GppSectionId result = com.particles.mes.protos.openrtb.BidRequest.Regs.GppSectionId.forNumber(gppSid_.getInt(index));
return result == null ? com.particles.mes.protos.openrtb.BidRequest.Regs.GppSectionId.TCFEUV1 : result;
}
private int gppSidMemoizedSerializedSize;
private void ensureGppSidIsMutable() {
com.google.protobuf.Internal.IntList tmp = gppSid_;
if (!tmp.isModifiable()) {
gppSid_ =
com.google.protobuf.GeneratedMessageLite.mutableCopy(tmp);
}
}
/**
* <pre>
* Array of the section(s) of the string which should be applied for this
* transaction. Generally will contain one and only one value, but there are
* edge cases where more than one may apply. GPP Section 3 (Header) and 4
* (Signal Integrity) do not need to be included. See enum GppSectionId.
* Not supported by Google.
* </pre>
*
* <code>repeated .com.google.openrtb.BidRequest.Regs.GppSectionId gpp_sid = 3 [packed = true];</code>
* @param index The index to set the value at.
* @param value The gppSid to set.
*/
private void setGppSid(
int index, com.particles.mes.protos.openrtb.BidRequest.Regs.GppSectionId value) {
value.getClass();
ensureGppSidIsMutable();
gppSid_.setInt(index, value.getNumber());
}
/**
* <pre>
* Array of the section(s) of the string which should be applied for this
* transaction. Generally will contain one and only one value, but there are
* edge cases where more than one may apply. GPP Section 3 (Header) and 4
* (Signal Integrity) do not need to be included. See enum GppSectionId.
* Not supported by Google.
* </pre>
*
* <code>repeated .com.google.openrtb.BidRequest.Regs.GppSectionId gpp_sid = 3 [packed = true];</code>
* @param value The gppSid to add.
*/
private void addGppSid(com.particles.mes.protos.openrtb.BidRequest.Regs.GppSectionId value) {
value.getClass();
ensureGppSidIsMutable();
gppSid_.addInt(value.getNumber());
}
/**
* <pre>
* Array of the section(s) of the string which should be applied for this
* transaction. Generally will contain one and only one value, but there are
* edge cases where more than one may apply. GPP Section 3 (Header) and 4
* (Signal Integrity) do not need to be included. See enum GppSectionId.
* Not supported by Google.
* </pre>
*
* <code>repeated .com.google.openrtb.BidRequest.Regs.GppSectionId gpp_sid = 3 [packed = true];</code>
* @param values The gppSid to add.
*/
private void addAllGppSid(
java.lang.Iterable<? extends com.particles.mes.protos.openrtb.BidRequest.Regs.GppSectionId> values) {
ensureGppSidIsMutable();
for (com.particles.mes.protos.openrtb.BidRequest.Regs.GppSectionId value : values) {
gppSid_.addInt(value.getNumber());
}
}
/**
* <pre>
* Array of the section(s) of the string which should be applied for this
* transaction. Generally will contain one and only one value, but there are
* edge cases where more than one may apply. GPP Section 3 (Header) and 4
* (Signal Integrity) do not need to be included. See enum GppSectionId.
* Not supported by Google.
* </pre>
*
* <code>repeated .com.google.openrtb.BidRequest.Regs.GppSectionId gpp_sid = 3 [packed = true];</code>
*/
private void clearGppSid() {
gppSid_ = emptyIntList();
}
public static final int EXT_FIELD_NUMBER = 90;
private java.lang.String ext_;
/**
* <code>optional string ext = 90;</code>
* @return Whether the ext field is set.
*/
@java.lang.Override
public boolean hasExt() {
return ((bitField0_ & 0x00000004) != 0);
}
/**
* <code>optional string ext = 90;</code>
* @return The ext.
*/
@java.lang.Override
public java.lang.String getExt() {
return ext_;
}
/**
* <code>optional string ext = 90;</code>
* @return The bytes for ext.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getExtBytes() {
return com.google.protobuf.ByteString.copyFromUtf8(ext_);
}
/**
* <code>optional string ext = 90;</code>
* @param value The ext to set.
*/
private void setExt(
java.lang.String value) {
java.lang.Class<?> valueClass = value.getClass();
bitField0_ |= 0x00000004;
ext_ = value;
}
/**
* <code>optional string ext = 90;</code>
*/
private void clearExt() {
bitField0_ = (bitField0_ & ~0x00000004);
ext_ = getDefaultInstance().getExt();
}
/**
* <code>optional string ext = 90;</code>
* @param value The bytes for ext to set.
*/
private void setExtBytes(
com.google.protobuf.ByteString value) {
ext_ = value.toStringUtf8();
bitField0_ |= 0x00000004;
}
public static com.particles.mes.protos.openrtb.BidRequest.Regs parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, data);
}
public static com.particles.mes.protos.openrtb.BidRequest.Regs parseFrom(
java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, data, extensionRegistry);
}
public static com.particles.mes.protos.openrtb.BidRequest.Regs parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, data);
}
public static com.particles.mes.protos.openrtb.BidRequest.Regs parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, data, extensionRegistry);
}
public static com.particles.mes.protos.openrtb.BidRequest.Regs parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, data);
}
public static com.particles.mes.protos.openrtb.BidRequest.Regs parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, data, extensionRegistry);
}
public static com.particles.mes.protos.openrtb.BidRequest.Regs parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, input);
}
public static com.particles.mes.protos.openrtb.BidRequest.Regs parseFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, input, extensionRegistry);
}
public static com.particles.mes.protos.openrtb.BidRequest.Regs parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return parseDelimitedFrom(DEFAULT_INSTANCE, input);
}
public static com.particles.mes.protos.openrtb.BidRequest.Regs parseDelimitedFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return parseDelimitedFrom(DEFAULT_INSTANCE, input, extensionRegistry);
}
public static com.particles.mes.protos.openrtb.BidRequest.Regs parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, input);
}
public static com.particles.mes.protos.openrtb.BidRequest.Regs parseFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, input, extensionRegistry);
}
public static Builder newBuilder() {
return (Builder) DEFAULT_INSTANCE.createBuilder();
}
public static Builder newBuilder(com.particles.mes.protos.openrtb.BidRequest.Regs prototype) {
return (Builder) DEFAULT_INSTANCE.createBuilder(prototype);
}
/**
* <pre>
* OpenRTB 2.2: This object contains any legal, governmental, or industry
* regulations that apply to the request. The coppa field signals whether
* or not the request falls under the United States Federal Trade Commission's
* regulations for the United States Children's Online Privacy Protection Act
* ("COPPA"). Refer to Section 7.1 for more information.
* </pre>
*
* Protobuf type {@code com.google.openrtb.BidRequest.Regs}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageLite.ExtendableBuilder<
com.particles.mes.protos.openrtb.BidRequest.Regs, Builder> implements
// @@protoc_insertion_point(builder_implements:com.google.openrtb.BidRequest.Regs)
com.particles.mes.protos.openrtb.BidRequest.RegsOrBuilder {
// Construct using com.particles.mes.protos.openrtb.BidRequest.Regs.newBuilder()
private Builder() {
super(DEFAULT_INSTANCE);
}
/**
* <pre>
* Indicates if this request is subject to the COPPA regulations
* established by the USA FTC.
* Not supported by Google.
* </pre>
*
* <code>optional bool coppa = 1;</code>
* @return Whether the coppa field is set.
*/
@java.lang.Override
public boolean hasCoppa() {
return instance.hasCoppa();
}
/**
* <pre>
* Indicates if this request is subject to the COPPA regulations
* established by the USA FTC.
* Not supported by Google.
* </pre>
*
* <code>optional bool coppa = 1;</code>
* @return The coppa.
*/
@java.lang.Override
public boolean getCoppa() {
return instance.getCoppa();
}
/**
* <pre>
* Indicates if this request is subject to the COPPA regulations
* established by the USA FTC.
* Not supported by Google.
* </pre>
*
* <code>optional bool coppa = 1;</code>
* @param value The coppa to set.
* @return This builder for chaining.
*/
public Builder setCoppa(boolean value) {
copyOnWrite();
instance.setCoppa(value);
return this;
}
/**
* <pre>
* Indicates if this request is subject to the COPPA regulations
* established by the USA FTC.
* Not supported by Google.
* </pre>
*
* <code>optional bool coppa = 1;</code>
* @return This builder for chaining.
*/
public Builder clearCoppa() {
copyOnWrite();
instance.clearCoppa();
return this;
}
/**
* <pre>
* Contains the Global Privacy Platform's consent string. See the Global
* Privacy Platform specification for more details:
* https://github.com/InteractiveAdvertisingBureau/Global-Privacy-Platform
* Not supported by Google.
* </pre>
*
* <code>optional string gpp = 2;</code>
* @return Whether the gpp field is set.
*/
@java.lang.Override
public boolean hasGpp() {
return instance.hasGpp();
}
/**
* <pre>
* Contains the Global Privacy Platform's consent string. See the Global
* Privacy Platform specification for more details:
* https://github.com/InteractiveAdvertisingBureau/Global-Privacy-Platform
* Not supported by Google.
* </pre>
*
* <code>optional string gpp = 2;</code>
* @return The gpp.
*/
@java.lang.Override
public java.lang.String getGpp() {
return instance.getGpp();
}
/**
* <pre>
* Contains the Global Privacy Platform's consent string. See the Global
* Privacy Platform specification for more details:
* https://github.com/InteractiveAdvertisingBureau/Global-Privacy-Platform
* Not supported by Google.
* </pre>
*
* <code>optional string gpp = 2;</code>
* @return The bytes for gpp.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getGppBytes() {
return instance.getGppBytes();
}
/**
* <pre>
* Contains the Global Privacy Platform's consent string. See the Global
* Privacy Platform specification for more details:
* https://github.com/InteractiveAdvertisingBureau/Global-Privacy-Platform
* Not supported by Google.
* </pre>
*
* <code>optional string gpp = 2;</code>
* @param value The gpp to set.
* @return This builder for chaining.
*/
public Builder setGpp(
java.lang.String value) {
copyOnWrite();
instance.setGpp(value);
return this;
}
/**
* <pre>
* Contains the Global Privacy Platform's consent string. See the Global
* Privacy Platform specification for more details:
* https://github.com/InteractiveAdvertisingBureau/Global-Privacy-Platform
* Not supported by Google.
* </pre>
*
* <code>optional string gpp = 2;</code>
* @return This builder for chaining.
*/
public Builder clearGpp() {
copyOnWrite();
instance.clearGpp();
return this;
}
/**
* <pre>
* Contains the Global Privacy Platform's consent string. See the Global
* Privacy Platform specification for more details:
* https://github.com/InteractiveAdvertisingBureau/Global-Privacy-Platform
* Not supported by Google.
* </pre>
*
* <code>optional string gpp = 2;</code>
* @param value The bytes for gpp to set.
* @return This builder for chaining.
*/
public Builder setGppBytes(
com.google.protobuf.ByteString value) {
copyOnWrite();
instance.setGppBytes(value);
return this;
}
/**
* <pre>
* Array of the section(s) of the string which should be applied for this
* transaction. Generally will contain one and only one value, but there are
* edge cases where more than one may apply. GPP Section 3 (Header) and 4
* (Signal Integrity) do not need to be included. See enum GppSectionId.
* Not supported by Google.
* </pre>
*
* <code>repeated .com.google.openrtb.BidRequest.Regs.GppSectionId gpp_sid = 3 [packed = true];</code>
* @return A list containing the gppSid.
*/
@java.lang.Override
public java.util.List<com.particles.mes.protos.openrtb.BidRequest.Regs.GppSectionId> getGppSidList() {
return instance.getGppSidList();
}
/**
* <pre>
* Array of the section(s) of the string which should be applied for this
* transaction. Generally will contain one and only one value, but there are
* edge cases where more than one may apply. GPP Section 3 (Header) and 4
* (Signal Integrity) do not need to be included. See enum GppSectionId.
* Not supported by Google.
* </pre>
*
* <code>repeated .com.google.openrtb.BidRequest.Regs.GppSectionId gpp_sid = 3 [packed = true];</code>
* @return The count of gppSid.
*/
@java.lang.Override
public int getGppSidCount() {
return instance.getGppSidCount();
}
/**
* <pre>
* Array of the section(s) of the string which should be applied for this
* transaction. Generally will contain one and only one value, but there are
* edge cases where more than one may apply. GPP Section 3 (Header) and 4
* (Signal Integrity) do not need to be included. See enum GppSectionId.
* Not supported by Google.
* </pre>
*
* <code>repeated .com.google.openrtb.BidRequest.Regs.GppSectionId gpp_sid = 3 [packed = true];</code>
* @param index The index of the element to return.
* @return The gppSid at the given index.
*/
@java.lang.Override
public com.particles.mes.protos.openrtb.BidRequest.Regs.GppSectionId getGppSid(int index) {
return instance.getGppSid(index);
}
/**
* <pre>
* Array of the section(s) of the string which should be applied for this
* transaction. Generally will contain one and only one value, but there are
* edge cases where more than one may apply. GPP Section 3 (Header) and 4
* (Signal Integrity) do not need to be included. See enum GppSectionId.
* Not supported by Google.
* </pre>
*
* <code>repeated .com.google.openrtb.BidRequest.Regs.GppSectionId gpp_sid = 3 [packed = true];</code>
* @param index The index to set the value at.
* @param value The gppSid to set.
* @return This builder for chaining.
*/
public Builder setGppSid(
int index, com.particles.mes.protos.openrtb.BidRequest.Regs.GppSectionId value) {
copyOnWrite();
instance.setGppSid(index, value);
return this;
}
/**
* <pre>
* Array of the section(s) of the string which should be applied for this
* transaction. Generally will contain one and only one value, but there are
* edge cases where more than one may apply. GPP Section 3 (Header) and 4
* (Signal Integrity) do not need to be included. See enum GppSectionId.
* Not supported by Google.
* </pre>
*
* <code>repeated .com.google.openrtb.BidRequest.Regs.GppSectionId gpp_sid = 3 [packed = true];</code>
* @param value The gppSid to add.
* @return This builder for chaining.
*/
public Builder addGppSid(com.particles.mes.protos.openrtb.BidRequest.Regs.GppSectionId value) {
copyOnWrite();
instance.addGppSid(value);
return this;
}
/**
* <pre>
* Array of the section(s) of the string which should be applied for this
* transaction. Generally will contain one and only one value, but there are
* edge cases where more than one may apply. GPP Section 3 (Header) and 4
* (Signal Integrity) do not need to be included. See enum GppSectionId.
* Not supported by Google.
* </pre>
*
* <code>repeated .com.google.openrtb.BidRequest.Regs.GppSectionId gpp_sid = 3 [packed = true];</code>
* @param values The gppSid to add.
* @return This builder for chaining.
*/
public Builder addAllGppSid(
java.lang.Iterable<? extends com.particles.mes.protos.openrtb.BidRequest.Regs.GppSectionId> values) {
copyOnWrite();
instance.addAllGppSid(values); return this;
}
/**
* <pre>
* Array of the section(s) of the string which should be applied for this
* transaction. Generally will contain one and only one value, but there are
* edge cases where more than one may apply. GPP Section 3 (Header) and 4
* (Signal Integrity) do not need to be included. See enum GppSectionId.
* Not supported by Google.
* </pre>
*
* <code>repeated .com.google.openrtb.BidRequest.Regs.GppSectionId gpp_sid = 3 [packed = true];</code>
* @return This builder for chaining.
*/
public Builder clearGppSid() {
copyOnWrite();
instance.clearGppSid();
return this;
}
/**
* <code>optional string ext = 90;</code>
* @return Whether the ext field is set.
*/
@java.lang.Override
public boolean hasExt() {
return instance.hasExt();
}
/**
* <code>optional string ext = 90;</code>
* @return The ext.
*/
@java.lang.Override
public java.lang.String getExt() {
return instance.getExt();
}
/**
* <code>optional string ext = 90;</code>
* @return The bytes for ext.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getExtBytes() {
return instance.getExtBytes();
}
/**
* <code>optional string ext = 90;</code>
* @param value The ext to set.
* @return This builder for chaining.
*/
public Builder setExt(
java.lang.String value) {
copyOnWrite();
instance.setExt(value);
return this;
}
/**
* <code>optional string ext = 90;</code>
* @return This builder for chaining.
*/
public Builder clearExt() {
copyOnWrite();
instance.clearExt();
return this;
}
/**
* <code>optional string ext = 90;</code>
* @param value The bytes for ext to set.
* @return This builder for chaining.
*/
public Builder setExtBytes(
com.google.protobuf.ByteString value) {
copyOnWrite();
instance.setExtBytes(value);
return this;
}
// @@protoc_insertion_point(builder_scope:com.google.openrtb.BidRequest.Regs)
}
private byte memoizedIsInitialized = 2;
@java.lang.Override
@java.lang.SuppressWarnings({"unchecked", "fallthrough"})
protected final java.lang.Object dynamicMethod(
com.google.protobuf.GeneratedMessageLite.MethodToInvoke method,
java.lang.Object arg0, java.lang.Object arg1) {
switch (method) {
case NEW_MUTABLE_INSTANCE: {
return new com.particles.mes.protos.openrtb.BidRequest.Regs();
}
case NEW_BUILDER: {
return new Builder();
}
case BUILD_MESSAGE_INFO: {
java.lang.Object[] objects = new java.lang.Object[] {
"bitField0_",
"coppa_",
"gpp_",
"gppSid_",
com.particles.mes.protos.openrtb.BidRequest.Regs.GppSectionId.internalGetVerifier(),
"ext_",
};
java.lang.String info =
"\u0001\u0004\u0000\u0001\u0001Z\u0004\u0000\u0001\u0000\u0001\u1007\u0000\u0002\u1008" +
"\u0001\u0003,Z\u1008\u0002";
return newMessageInfo(DEFAULT_INSTANCE, info, objects);
}
// fall through
case GET_DEFAULT_INSTANCE: {
return DEFAULT_INSTANCE;
}
case GET_PARSER: {
com.google.protobuf.Parser<com.particles.mes.protos.openrtb.BidRequest.Regs> parser = PARSER;
if (parser == null) {
synchronized (com.particles.mes.protos.openrtb.BidRequest.Regs.class) {
parser = PARSER;
if (parser == null) {
parser =
new DefaultInstanceBasedParser<com.particles.mes.protos.openrtb.BidRequest.Regs>(
DEFAULT_INSTANCE);
PARSER = parser;
}
}
}
return parser;
}
case GET_MEMOIZED_IS_INITIALIZED: {
return memoizedIsInitialized;
}
case SET_MEMOIZED_IS_INITIALIZED: {
memoizedIsInitialized = (byte) (arg0 == null ? 0 : 1);
return null;
}
}
throw new UnsupportedOperationException();
}
// @@protoc_insertion_point(class_scope:com.google.openrtb.BidRequest.Regs)
private static final com.particles.mes.protos.openrtb.BidRequest.Regs DEFAULT_INSTANCE;
static {
Regs defaultInstance = new Regs();
// New instances are implicitly immutable so no need to make
// immutable.
DEFAULT_INSTANCE = defaultInstance;
com.google.protobuf.GeneratedMessageLite.registerDefaultInstance(
Regs.class, defaultInstance);
}
public static com.particles.mes.protos.openrtb.BidRequest.Regs getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static volatile com.google.protobuf.Parser<Regs> PARSER;
public static com.google.protobuf.Parser<Regs> parser() {
return DEFAULT_INSTANCE.getParserForType();
}
}
public interface DataOrBuilder extends
// @@protoc_insertion_point(interface_extends:com.google.openrtb.BidRequest.Data)
com.google.protobuf.GeneratedMessageLite.
ExtendableMessageOrBuilder<
Data, Data.Builder> {
/**
* <pre>
* The Google assigned ID of the data provider. Only set for Data segments
* from Publisher Provided Signals. For the list of data providers, see
* https://storage.googleapis.com/adx-rtb-dictionaries/data_providers.txt.
* Supported by Google.
* </pre>
*
* <code>optional string id = 1;</code>
* @return Whether the id field is set.
*/
boolean hasId();
/**
* <pre>
* The Google assigned ID of the data provider. Only set for Data segments
* from Publisher Provided Signals. For the list of data providers, see
* https://storage.googleapis.com/adx-rtb-dictionaries/data_providers.txt.
* Supported by Google.
* </pre>
*
* <code>optional string id = 1;</code>
* @return The id.
*/
java.lang.String getId();
/**
* <pre>
* The Google assigned ID of the data provider. Only set for Data segments
* from Publisher Provided Signals. For the list of data providers, see
* https://storage.googleapis.com/adx-rtb-dictionaries/data_providers.txt.
* Supported by Google.
* </pre>
*
* <code>optional string id = 1;</code>
* @return The bytes for id.
*/
com.google.protobuf.ByteString
getIdBytes();
/**
* <pre>
* Exchange-specific name for the data provider.
* Not supported by Google.
* </pre>
*
* <code>optional string name = 2;</code>
* @return Whether the name field is set.
*/
boolean hasName();
/**
* <pre>
* Exchange-specific name for the data provider.
* Not supported by Google.
* </pre>
*
* <code>optional string name = 2;</code>
* @return The name.
*/
java.lang.String getName();
/**
* <pre>
* Exchange-specific name for the data provider.
* Not supported by Google.
* </pre>
*
* <code>optional string name = 2;</code>
* @return The bytes for name.
*/
com.google.protobuf.ByteString
getNameBytes();
/**
* <pre>
* Array of Segment (Section 3.2.15) objects that contain the actual
* data values.
* Supported by Google.
* </pre>
*
* <code>repeated .com.google.openrtb.BidRequest.Data.Segment segment = 3;</code>
*/
java.util.List<com.particles.mes.protos.openrtb.BidRequest.Data.Segment>
getSegmentList();
/**
* <pre>
* Array of Segment (Section 3.2.15) objects that contain the actual
* data values.
* Supported by Google.
* </pre>
*
* <code>repeated .com.google.openrtb.BidRequest.Data.Segment segment = 3;</code>
*/
com.particles.mes.protos.openrtb.BidRequest.Data.Segment getSegment(int index);
/**
* <pre>
* Array of Segment (Section 3.2.15) objects that contain the actual
* data values.
* Supported by Google.
* </pre>
*
* <code>repeated .com.google.openrtb.BidRequest.Data.Segment segment = 3;</code>
*/
int getSegmentCount();
/**
* <code>optional string ext = 90;</code>
* @return Whether the ext field is set.
*/
boolean hasExt();
/**
* <code>optional string ext = 90;</code>
* @return The ext.
*/
java.lang.String getExt();
/**
* <code>optional string ext = 90;</code>
* @return The bytes for ext.
*/
com.google.protobuf.ByteString
getExtBytes();
}
/**
* <pre>
* OpenRTB 2.0: The data and segment objects together allow additional data
* about the user to be specified. This data may be from multiple sources
* whether from the exchange itself or third party providers as specified by
* the id field. A bid request can mix data objects from multiple providers or
* can have multiple data objects. The specific data providers in use should
* be published by the exchange a priori to its bidders.
* Google: This is used to send Publisher Provided Signals and Topics to
* bidders.
* </pre>
*
* Protobuf type {@code com.google.openrtb.BidRequest.Data}
*/
public static final class Data extends
com.google.protobuf.GeneratedMessageLite.ExtendableMessage<
Data, Data.Builder> implements
// @@protoc_insertion_point(message_implements:com.google.openrtb.BidRequest.Data)
DataOrBuilder {
private Data() {
id_ = "";
name_ = "";
segment_ = emptyProtobufList();
ext_ = "";
}
public interface SegmentOrBuilder extends
// @@protoc_insertion_point(interface_extends:com.google.openrtb.BidRequest.Data.Segment)
com.google.protobuf.GeneratedMessageLite.
ExtendableMessageOrBuilder<
Segment, Segment.Builder> {
/**
* <pre>
* ID of the data segment specific to the data provider.
* Supported by Google.
* </pre>
*
* <code>optional string id = 1;</code>
* @return Whether the id field is set.
*/
boolean hasId();
/**
* <pre>
* ID of the data segment specific to the data provider.
* Supported by Google.
* </pre>
*
* <code>optional string id = 1;</code>
* @return The id.
*/
java.lang.String getId();
/**
* <pre>
* ID of the data segment specific to the data provider.
* Supported by Google.
* </pre>
*
* <code>optional string id = 1;</code>
* @return The bytes for id.
*/
com.google.protobuf.ByteString
getIdBytes();
/**
* <pre>
* Name of the data segment specific to the data provider.
* Not supported by Google.
* </pre>
*
* <code>optional string name = 2;</code>
* @return Whether the name field is set.
*/
boolean hasName();
/**
* <pre>
* Name of the data segment specific to the data provider.
* Not supported by Google.
* </pre>
*
* <code>optional string name = 2;</code>
* @return The name.
*/
java.lang.String getName();
/**
* <pre>
* Name of the data segment specific to the data provider.
* Not supported by Google.
* </pre>
*
* <code>optional string name = 2;</code>
* @return The bytes for name.
*/
com.google.protobuf.ByteString
getNameBytes();
/**
* <pre>
* String representation of the data segment value.
* Not supported by Google.
* </pre>
*
* <code>optional string value = 3;</code>
* @return Whether the value field is set.
*/
boolean hasValue();
/**
* <pre>
* String representation of the data segment value.
* Not supported by Google.
* </pre>
*
* <code>optional string value = 3;</code>
* @return The value.
*/
java.lang.String getValue();
/**
* <pre>
* String representation of the data segment value.
* Not supported by Google.
* </pre>
*
* <code>optional string value = 3;</code>
* @return The bytes for value.
*/
com.google.protobuf.ByteString
getValueBytes();
}
/**
* <pre>
* OpenRTB 2.0: Segment objects are essentially key-value pairs that
* convey specific units of data about the user. The parent Data object
* is a collection of such values from a given data provider.
* The specific segment names and value options must be published by the
* exchange a priori to its bidders.
* </pre>
*
* Protobuf type {@code com.google.openrtb.BidRequest.Data.Segment}
*/
public static final class Segment extends
com.google.protobuf.GeneratedMessageLite.ExtendableMessage<
Segment, Segment.Builder> implements
// @@protoc_insertion_point(message_implements:com.google.openrtb.BidRequest.Data.Segment)
SegmentOrBuilder {
private Segment() {
id_ = "";
name_ = "";
value_ = "";
}
private int bitField0_;
public static final int ID_FIELD_NUMBER = 1;
private java.lang.String id_;
/**
* <pre>
* ID of the data segment specific to the data provider.
* Supported by Google.
* </pre>
*
* <code>optional string id = 1;</code>
* @return Whether the id field is set.
*/
@java.lang.Override
public boolean hasId() {
return ((bitField0_ & 0x00000001) != 0);
}
/**
* <pre>
* ID of the data segment specific to the data provider.
* Supported by Google.
* </pre>
*
* <code>optional string id = 1;</code>
* @return The id.
*/
@java.lang.Override
public java.lang.String getId() {
return id_;
}
/**
* <pre>
* ID of the data segment specific to the data provider.
* Supported by Google.
* </pre>
*
* <code>optional string id = 1;</code>
* @return The bytes for id.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getIdBytes() {
return com.google.protobuf.ByteString.copyFromUtf8(id_);
}
/**
* <pre>
* ID of the data segment specific to the data provider.
* Supported by Google.
* </pre>
*
* <code>optional string id = 1;</code>
* @param value The id to set.
*/
private void setId(
java.lang.String value) {
java.lang.Class<?> valueClass = value.getClass();
bitField0_ |= 0x00000001;
id_ = value;
}
/**
* <pre>
* ID of the data segment specific to the data provider.
* Supported by Google.
* </pre>
*
* <code>optional string id = 1;</code>
*/
private void clearId() {
bitField0_ = (bitField0_ & ~0x00000001);
id_ = getDefaultInstance().getId();
}
/**
* <pre>
* ID of the data segment specific to the data provider.
* Supported by Google.
* </pre>
*
* <code>optional string id = 1;</code>
* @param value The bytes for id to set.
*/
private void setIdBytes(
com.google.protobuf.ByteString value) {
id_ = value.toStringUtf8();
bitField0_ |= 0x00000001;
}
public static final int NAME_FIELD_NUMBER = 2;
private java.lang.String name_;
/**
* <pre>
* Name of the data segment specific to the data provider.
* Not supported by Google.
* </pre>
*
* <code>optional string name = 2;</code>
* @return Whether the name field is set.
*/
@java.lang.Override
public boolean hasName() {
return ((bitField0_ & 0x00000002) != 0);
}
/**
* <pre>
* Name of the data segment specific to the data provider.
* Not supported by Google.
* </pre>
*
* <code>optional string name = 2;</code>
* @return The name.
*/
@java.lang.Override
public java.lang.String getName() {
return name_;
}
/**
* <pre>
* Name of the data segment specific to the data provider.
* Not supported by Google.
* </pre>
*
* <code>optional string name = 2;</code>
* @return The bytes for name.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getNameBytes() {
return com.google.protobuf.ByteString.copyFromUtf8(name_);
}
/**
* <pre>
* Name of the data segment specific to the data provider.
* Not supported by Google.
* </pre>
*
* <code>optional string name = 2;</code>
* @param value The name to set.
*/
private void setName(
java.lang.String value) {
java.lang.Class<?> valueClass = value.getClass();
bitField0_ |= 0x00000002;
name_ = value;
}
/**
* <pre>
* Name of the data segment specific to the data provider.
* Not supported by Google.
* </pre>
*
* <code>optional string name = 2;</code>
*/
private void clearName() {
bitField0_ = (bitField0_ & ~0x00000002);
name_ = getDefaultInstance().getName();
}
/**
* <pre>
* Name of the data segment specific to the data provider.
* Not supported by Google.
* </pre>
*
* <code>optional string name = 2;</code>
* @param value The bytes for name to set.
*/
private void setNameBytes(
com.google.protobuf.ByteString value) {
name_ = value.toStringUtf8();
bitField0_ |= 0x00000002;
}
public static final int VALUE_FIELD_NUMBER = 3;
private java.lang.String value_;
/**
* <pre>
* String representation of the data segment value.
* Not supported by Google.
* </pre>
*
* <code>optional string value = 3;</code>
* @return Whether the value field is set.
*/
@java.lang.Override
public boolean hasValue() {
return ((bitField0_ & 0x00000004) != 0);
}
/**
* <pre>
* String representation of the data segment value.
* Not supported by Google.
* </pre>
*
* <code>optional string value = 3;</code>
* @return The value.
*/
@java.lang.Override
public java.lang.String getValue() {
return value_;
}
/**
* <pre>
* String representation of the data segment value.
* Not supported by Google.
* </pre>
*
* <code>optional string value = 3;</code>
* @return The bytes for value.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getValueBytes() {
return com.google.protobuf.ByteString.copyFromUtf8(value_);
}
/**
* <pre>
* String representation of the data segment value.
* Not supported by Google.
* </pre>
*
* <code>optional string value = 3;</code>
* @param value The value to set.
*/
private void setValue(
java.lang.String value) {
java.lang.Class<?> valueClass = value.getClass();
bitField0_ |= 0x00000004;
value_ = value;
}
/**
* <pre>
* String representation of the data segment value.
* Not supported by Google.
* </pre>
*
* <code>optional string value = 3;</code>
*/
private void clearValue() {
bitField0_ = (bitField0_ & ~0x00000004);
value_ = getDefaultInstance().getValue();
}
/**
* <pre>
* String representation of the data segment value.
* Not supported by Google.
* </pre>
*
* <code>optional string value = 3;</code>
* @param value The bytes for value to set.
*/
private void setValueBytes(
com.google.protobuf.ByteString value) {
value_ = value.toStringUtf8();
bitField0_ |= 0x00000004;
}
public static com.particles.mes.protos.openrtb.BidRequest.Data.Segment parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, data);
}
public static com.particles.mes.protos.openrtb.BidRequest.Data.Segment parseFrom(
java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, data, extensionRegistry);
}
public static com.particles.mes.protos.openrtb.BidRequest.Data.Segment parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, data);
}
public static com.particles.mes.protos.openrtb.BidRequest.Data.Segment parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, data, extensionRegistry);
}
public static com.particles.mes.protos.openrtb.BidRequest.Data.Segment parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, data);
}
public static com.particles.mes.protos.openrtb.BidRequest.Data.Segment parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, data, extensionRegistry);
}
public static com.particles.mes.protos.openrtb.BidRequest.Data.Segment parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, input);
}
public static com.particles.mes.protos.openrtb.BidRequest.Data.Segment parseFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, input, extensionRegistry);
}
public static com.particles.mes.protos.openrtb.BidRequest.Data.Segment parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return parseDelimitedFrom(DEFAULT_INSTANCE, input);
}
public static com.particles.mes.protos.openrtb.BidRequest.Data.Segment parseDelimitedFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return parseDelimitedFrom(DEFAULT_INSTANCE, input, extensionRegistry);
}
public static com.particles.mes.protos.openrtb.BidRequest.Data.Segment parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, input);
}
public static com.particles.mes.protos.openrtb.BidRequest.Data.Segment parseFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, input, extensionRegistry);
}
public static Builder newBuilder() {
return (Builder) DEFAULT_INSTANCE.createBuilder();
}
public static Builder newBuilder(com.particles.mes.protos.openrtb.BidRequest.Data.Segment prototype) {
return (Builder) DEFAULT_INSTANCE.createBuilder(prototype);
}
/**
* <pre>
* OpenRTB 2.0: Segment objects are essentially key-value pairs that
* convey specific units of data about the user. The parent Data object
* is a collection of such values from a given data provider.
* The specific segment names and value options must be published by the
* exchange a priori to its bidders.
* </pre>
*
* Protobuf type {@code com.google.openrtb.BidRequest.Data.Segment}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageLite.ExtendableBuilder<
com.particles.mes.protos.openrtb.BidRequest.Data.Segment, Builder> implements
// @@protoc_insertion_point(builder_implements:com.google.openrtb.BidRequest.Data.Segment)
com.particles.mes.protos.openrtb.BidRequest.Data.SegmentOrBuilder {
// Construct using com.particles.mes.protos.openrtb.BidRequest.Data.Segment.newBuilder()
private Builder() {
super(DEFAULT_INSTANCE);
}
/**
* <pre>
* ID of the data segment specific to the data provider.
* Supported by Google.
* </pre>
*
* <code>optional string id = 1;</code>
* @return Whether the id field is set.
*/
@java.lang.Override
public boolean hasId() {
return instance.hasId();
}
/**
* <pre>
* ID of the data segment specific to the data provider.
* Supported by Google.
* </pre>
*
* <code>optional string id = 1;</code>
* @return The id.
*/
@java.lang.Override
public java.lang.String getId() {
return instance.getId();
}
/**
* <pre>
* ID of the data segment specific to the data provider.
* Supported by Google.
* </pre>
*
* <code>optional string id = 1;</code>
* @return The bytes for id.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getIdBytes() {
return instance.getIdBytes();
}
/**
* <pre>
* ID of the data segment specific to the data provider.
* Supported by Google.
* </pre>
*
* <code>optional string id = 1;</code>
* @param value The id to set.
* @return This builder for chaining.
*/
public Builder setId(
java.lang.String value) {
copyOnWrite();
instance.setId(value);
return this;
}
/**
* <pre>
* ID of the data segment specific to the data provider.
* Supported by Google.
* </pre>
*
* <code>optional string id = 1;</code>
* @return This builder for chaining.
*/
public Builder clearId() {
copyOnWrite();
instance.clearId();
return this;
}
/**
* <pre>
* ID of the data segment specific to the data provider.
* Supported by Google.
* </pre>
*
* <code>optional string id = 1;</code>
* @param value The bytes for id to set.
* @return This builder for chaining.
*/
public Builder setIdBytes(
com.google.protobuf.ByteString value) {
copyOnWrite();
instance.setIdBytes(value);
return this;
}
/**
* <pre>
* Name of the data segment specific to the data provider.
* Not supported by Google.
* </pre>
*
* <code>optional string name = 2;</code>
* @return Whether the name field is set.
*/
@java.lang.Override
public boolean hasName() {
return instance.hasName();
}
/**
* <pre>
* Name of the data segment specific to the data provider.
* Not supported by Google.
* </pre>
*
* <code>optional string name = 2;</code>
* @return The name.
*/
@java.lang.Override
public java.lang.String getName() {
return instance.getName();
}
/**
* <pre>
* Name of the data segment specific to the data provider.
* Not supported by Google.
* </pre>
*
* <code>optional string name = 2;</code>
* @return The bytes for name.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getNameBytes() {
return instance.getNameBytes();
}
/**
* <pre>
* Name of the data segment specific to the data provider.
* Not supported by Google.
* </pre>
*
* <code>optional string name = 2;</code>
* @param value The name to set.
* @return This builder for chaining.
*/
public Builder setName(
java.lang.String value) {
copyOnWrite();
instance.setName(value);
return this;
}
/**
* <pre>
* Name of the data segment specific to the data provider.
* Not supported by Google.
* </pre>
*
* <code>optional string name = 2;</code>
* @return This builder for chaining.
*/
public Builder clearName() {
copyOnWrite();
instance.clearName();
return this;
}
/**
* <pre>
* Name of the data segment specific to the data provider.
* Not supported by Google.
* </pre>
*
* <code>optional string name = 2;</code>
* @param value The bytes for name to set.
* @return This builder for chaining.
*/
public Builder setNameBytes(
com.google.protobuf.ByteString value) {
copyOnWrite();
instance.setNameBytes(value);
return this;
}
/**
* <pre>
* String representation of the data segment value.
* Not supported by Google.
* </pre>
*
* <code>optional string value = 3;</code>
* @return Whether the value field is set.
*/
@java.lang.Override
public boolean hasValue() {
return instance.hasValue();
}
/**
* <pre>
* String representation of the data segment value.
* Not supported by Google.
* </pre>
*
* <code>optional string value = 3;</code>
* @return The value.
*/
@java.lang.Override
public java.lang.String getValue() {
return instance.getValue();
}
/**
* <pre>
* String representation of the data segment value.
* Not supported by Google.
* </pre>
*
* <code>optional string value = 3;</code>
* @return The bytes for value.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getValueBytes() {
return instance.getValueBytes();
}
/**
* <pre>
* String representation of the data segment value.
* Not supported by Google.
* </pre>
*
* <code>optional string value = 3;</code>
* @param value The value to set.
* @return This builder for chaining.
*/
public Builder setValue(
java.lang.String value) {
copyOnWrite();
instance.setValue(value);
return this;
}
/**
* <pre>
* String representation of the data segment value.
* Not supported by Google.
* </pre>
*
* <code>optional string value = 3;</code>
* @return This builder for chaining.
*/
public Builder clearValue() {
copyOnWrite();
instance.clearValue();
return this;
}
/**
* <pre>
* String representation of the data segment value.
* Not supported by Google.
* </pre>
*
* <code>optional string value = 3;</code>
* @param value The bytes for value to set.
* @return This builder for chaining.
*/
public Builder setValueBytes(
com.google.protobuf.ByteString value) {
copyOnWrite();
instance.setValueBytes(value);
return this;
}
// @@protoc_insertion_point(builder_scope:com.google.openrtb.BidRequest.Data.Segment)
}
private byte memoizedIsInitialized = 2;
@java.lang.Override
@java.lang.SuppressWarnings({"unchecked", "fallthrough"})
protected final java.lang.Object dynamicMethod(
com.google.protobuf.GeneratedMessageLite.MethodToInvoke method,
java.lang.Object arg0, java.lang.Object arg1) {
switch (method) {
case NEW_MUTABLE_INSTANCE: {
return new com.particles.mes.protos.openrtb.BidRequest.Data.Segment();
}
case NEW_BUILDER: {
return new Builder();
}
case BUILD_MESSAGE_INFO: {
java.lang.Object[] objects = new java.lang.Object[] {
"bitField0_",
"id_",
"name_",
"value_",
};
java.lang.String info =
"\u0001\u0003\u0000\u0001\u0001\u0003\u0003\u0000\u0000\u0000\u0001\u1008\u0000\u0002" +
"\u1008\u0001\u0003\u1008\u0002";
return newMessageInfo(DEFAULT_INSTANCE, info, objects);
}
// fall through
case GET_DEFAULT_INSTANCE: {
return DEFAULT_INSTANCE;
}
case GET_PARSER: {
com.google.protobuf.Parser<com.particles.mes.protos.openrtb.BidRequest.Data.Segment> parser = PARSER;
if (parser == null) {
synchronized (com.particles.mes.protos.openrtb.BidRequest.Data.Segment.class) {
parser = PARSER;
if (parser == null) {
parser =
new DefaultInstanceBasedParser<com.particles.mes.protos.openrtb.BidRequest.Data.Segment>(
DEFAULT_INSTANCE);
PARSER = parser;
}
}
}
return parser;
}
case GET_MEMOIZED_IS_INITIALIZED: {
return memoizedIsInitialized;
}
case SET_MEMOIZED_IS_INITIALIZED: {
memoizedIsInitialized = (byte) (arg0 == null ? 0 : 1);
return null;
}
}
throw new UnsupportedOperationException();
}
// @@protoc_insertion_point(class_scope:com.google.openrtb.BidRequest.Data.Segment)
private static final com.particles.mes.protos.openrtb.BidRequest.Data.Segment DEFAULT_INSTANCE;
static {
Segment defaultInstance = new Segment();
// New instances are implicitly immutable so no need to make
// immutable.
DEFAULT_INSTANCE = defaultInstance;
com.google.protobuf.GeneratedMessageLite.registerDefaultInstance(
Segment.class, defaultInstance);
}
public static com.particles.mes.protos.openrtb.BidRequest.Data.Segment getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static volatile com.google.protobuf.Parser<Segment> PARSER;
public static com.google.protobuf.Parser<Segment> parser() {
return DEFAULT_INSTANCE.getParserForType();
}
}
private int bitField0_;
public static final int ID_FIELD_NUMBER = 1;
private java.lang.String id_;
/**
* <pre>
* The Google assigned ID of the data provider. Only set for Data segments
* from Publisher Provided Signals. For the list of data providers, see
* https://storage.googleapis.com/adx-rtb-dictionaries/data_providers.txt.
* Supported by Google.
* </pre>
*
* <code>optional string id = 1;</code>
* @return Whether the id field is set.
*/
@java.lang.Override
public boolean hasId() {
return ((bitField0_ & 0x00000001) != 0);
}
/**
* <pre>
* The Google assigned ID of the data provider. Only set for Data segments
* from Publisher Provided Signals. For the list of data providers, see
* https://storage.googleapis.com/adx-rtb-dictionaries/data_providers.txt.
* Supported by Google.
* </pre>
*
* <code>optional string id = 1;</code>
* @return The id.
*/
@java.lang.Override
public java.lang.String getId() {
return id_;
}
/**
* <pre>
* The Google assigned ID of the data provider. Only set for Data segments
* from Publisher Provided Signals. For the list of data providers, see
* https://storage.googleapis.com/adx-rtb-dictionaries/data_providers.txt.
* Supported by Google.
* </pre>
*
* <code>optional string id = 1;</code>
* @return The bytes for id.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getIdBytes() {
return com.google.protobuf.ByteString.copyFromUtf8(id_);
}
/**
* <pre>
* The Google assigned ID of the data provider. Only set for Data segments
* from Publisher Provided Signals. For the list of data providers, see
* https://storage.googleapis.com/adx-rtb-dictionaries/data_providers.txt.
* Supported by Google.
* </pre>
*
* <code>optional string id = 1;</code>
* @param value The id to set.
*/
private void setId(
java.lang.String value) {
java.lang.Class<?> valueClass = value.getClass();
bitField0_ |= 0x00000001;
id_ = value;
}
/**
* <pre>
* The Google assigned ID of the data provider. Only set for Data segments
* from Publisher Provided Signals. For the list of data providers, see
* https://storage.googleapis.com/adx-rtb-dictionaries/data_providers.txt.
* Supported by Google.
* </pre>
*
* <code>optional string id = 1;</code>
*/
private void clearId() {
bitField0_ = (bitField0_ & ~0x00000001);
id_ = getDefaultInstance().getId();
}
/**
* <pre>
* The Google assigned ID of the data provider. Only set for Data segments
* from Publisher Provided Signals. For the list of data providers, see
* https://storage.googleapis.com/adx-rtb-dictionaries/data_providers.txt.
* Supported by Google.
* </pre>
*
* <code>optional string id = 1;</code>
* @param value The bytes for id to set.
*/
private void setIdBytes(
com.google.protobuf.ByteString value) {
id_ = value.toStringUtf8();
bitField0_ |= 0x00000001;
}
public static final int NAME_FIELD_NUMBER = 2;
private java.lang.String name_;
/**
* <pre>
* Exchange-specific name for the data provider.
* Not supported by Google.
* </pre>
*
* <code>optional string name = 2;</code>
* @return Whether the name field is set.
*/
@java.lang.Override
public boolean hasName() {
return ((bitField0_ & 0x00000002) != 0);
}
/**
* <pre>
* Exchange-specific name for the data provider.
* Not supported by Google.
* </pre>
*
* <code>optional string name = 2;</code>
* @return The name.
*/
@java.lang.Override
public java.lang.String getName() {
return name_;
}
/**
* <pre>
* Exchange-specific name for the data provider.
* Not supported by Google.
* </pre>
*
* <code>optional string name = 2;</code>
* @return The bytes for name.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getNameBytes() {
return com.google.protobuf.ByteString.copyFromUtf8(name_);
}
/**
* <pre>
* Exchange-specific name for the data provider.
* Not supported by Google.
* </pre>
*
* <code>optional string name = 2;</code>
* @param value The name to set.
*/
private void setName(
java.lang.String value) {
java.lang.Class<?> valueClass = value.getClass();
bitField0_ |= 0x00000002;
name_ = value;
}
/**
* <pre>
* Exchange-specific name for the data provider.
* Not supported by Google.
* </pre>
*
* <code>optional string name = 2;</code>
*/
private void clearName() {
bitField0_ = (bitField0_ & ~0x00000002);
name_ = getDefaultInstance().getName();
}
/**
* <pre>
* Exchange-specific name for the data provider.
* Not supported by Google.
* </pre>
*
* <code>optional string name = 2;</code>
* @param value The bytes for name to set.
*/
private void setNameBytes(
com.google.protobuf.ByteString value) {
name_ = value.toStringUtf8();
bitField0_ |= 0x00000002;
}
public static final int SEGMENT_FIELD_NUMBER = 3;
private com.google.protobuf.Internal.ProtobufList<com.particles.mes.protos.openrtb.BidRequest.Data.Segment> segment_;
/**
* <pre>
* Array of Segment (Section 3.2.15) objects that contain the actual
* data values.
* Supported by Google.
* </pre>
*
* <code>repeated .com.google.openrtb.BidRequest.Data.Segment segment = 3;</code>
*/
@java.lang.Override
public java.util.List<com.particles.mes.protos.openrtb.BidRequest.Data.Segment> getSegmentList() {
return segment_;
}
/**
* <pre>
* Array of Segment (Section 3.2.15) objects that contain the actual
* data values.
* Supported by Google.
* </pre>
*
* <code>repeated .com.google.openrtb.BidRequest.Data.Segment segment = 3;</code>
*/
public java.util.List<? extends com.particles.mes.protos.openrtb.BidRequest.Data.SegmentOrBuilder>
getSegmentOrBuilderList() {
return segment_;
}
/**
* <pre>
* Array of Segment (Section 3.2.15) objects that contain the actual
* data values.
* Supported by Google.
* </pre>
*
* <code>repeated .com.google.openrtb.BidRequest.Data.Segment segment = 3;</code>
*/
@java.lang.Override
public int getSegmentCount() {
return segment_.size();
}
/**
* <pre>
* Array of Segment (Section 3.2.15) objects that contain the actual
* data values.
* Supported by Google.
* </pre>
*
* <code>repeated .com.google.openrtb.BidRequest.Data.Segment segment = 3;</code>
*/
@java.lang.Override
public com.particles.mes.protos.openrtb.BidRequest.Data.Segment getSegment(int index) {
return segment_.get(index);
}
/**
* <pre>
* Array of Segment (Section 3.2.15) objects that contain the actual
* data values.
* Supported by Google.
* </pre>
*
* <code>repeated .com.google.openrtb.BidRequest.Data.Segment segment = 3;</code>
*/
public com.particles.mes.protos.openrtb.BidRequest.Data.SegmentOrBuilder getSegmentOrBuilder(
int index) {
return segment_.get(index);
}
private void ensureSegmentIsMutable() {
com.google.protobuf.Internal.ProtobufList<com.particles.mes.protos.openrtb.BidRequest.Data.Segment> tmp = segment_;
if (!tmp.isModifiable()) {
segment_ =
com.google.protobuf.GeneratedMessageLite.mutableCopy(tmp);
}
}
/**
* <pre>
* Array of Segment (Section 3.2.15) objects that contain the actual
* data values.
* Supported by Google.
* </pre>
*
* <code>repeated .com.google.openrtb.BidRequest.Data.Segment segment = 3;</code>
*/
private void setSegment(
int index, com.particles.mes.protos.openrtb.BidRequest.Data.Segment value) {
value.getClass();
ensureSegmentIsMutable();
segment_.set(index, value);
}
/**
* <pre>
* Array of Segment (Section 3.2.15) objects that contain the actual
* data values.
* Supported by Google.
* </pre>
*
* <code>repeated .com.google.openrtb.BidRequest.Data.Segment segment = 3;</code>
*/
private void addSegment(com.particles.mes.protos.openrtb.BidRequest.Data.Segment value) {
value.getClass();
ensureSegmentIsMutable();
segment_.add(value);
}
/**
* <pre>
* Array of Segment (Section 3.2.15) objects that contain the actual
* data values.
* Supported by Google.
* </pre>
*
* <code>repeated .com.google.openrtb.BidRequest.Data.Segment segment = 3;</code>
*/
private void addSegment(
int index, com.particles.mes.protos.openrtb.BidRequest.Data.Segment value) {
value.getClass();
ensureSegmentIsMutable();
segment_.add(index, value);
}
/**
* <pre>
* Array of Segment (Section 3.2.15) objects that contain the actual
* data values.
* Supported by Google.
* </pre>
*
* <code>repeated .com.google.openrtb.BidRequest.Data.Segment segment = 3;</code>
*/
private void addAllSegment(
java.lang.Iterable<? extends com.particles.mes.protos.openrtb.BidRequest.Data.Segment> values) {
ensureSegmentIsMutable();
com.google.protobuf.AbstractMessageLite.addAll(
values, segment_);
}
/**
* <pre>
* Array of Segment (Section 3.2.15) objects that contain the actual
* data values.
* Supported by Google.
* </pre>
*
* <code>repeated .com.google.openrtb.BidRequest.Data.Segment segment = 3;</code>
*/
private void clearSegment() {
segment_ = emptyProtobufList();
}
/**
* <pre>
* Array of Segment (Section 3.2.15) objects that contain the actual
* data values.
* Supported by Google.
* </pre>
*
* <code>repeated .com.google.openrtb.BidRequest.Data.Segment segment = 3;</code>
*/
private void removeSegment(int index) {
ensureSegmentIsMutable();
segment_.remove(index);
}
public static final int EXT_FIELD_NUMBER = 90;
private java.lang.String ext_;
/**
* <code>optional string ext = 90;</code>
* @return Whether the ext field is set.
*/
@java.lang.Override
public boolean hasExt() {
return ((bitField0_ & 0x00000004) != 0);
}
/**
* <code>optional string ext = 90;</code>
* @return The ext.
*/
@java.lang.Override
public java.lang.String getExt() {
return ext_;
}
/**
* <code>optional string ext = 90;</code>
* @return The bytes for ext.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getExtBytes() {
return com.google.protobuf.ByteString.copyFromUtf8(ext_);
}
/**
* <code>optional string ext = 90;</code>
* @param value The ext to set.
*/
private void setExt(
java.lang.String value) {
java.lang.Class<?> valueClass = value.getClass();
bitField0_ |= 0x00000004;
ext_ = value;
}
/**
* <code>optional string ext = 90;</code>
*/
private void clearExt() {
bitField0_ = (bitField0_ & ~0x00000004);
ext_ = getDefaultInstance().getExt();
}
/**
* <code>optional string ext = 90;</code>
* @param value The bytes for ext to set.
*/
private void setExtBytes(
com.google.protobuf.ByteString value) {
ext_ = value.toStringUtf8();
bitField0_ |= 0x00000004;
}
public static com.particles.mes.protos.openrtb.BidRequest.Data parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, data);
}
public static com.particles.mes.protos.openrtb.BidRequest.Data parseFrom(
java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, data, extensionRegistry);
}
public static com.particles.mes.protos.openrtb.BidRequest.Data parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, data);
}
public static com.particles.mes.protos.openrtb.BidRequest.Data parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, data, extensionRegistry);
}
public static com.particles.mes.protos.openrtb.BidRequest.Data parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, data);
}
public static com.particles.mes.protos.openrtb.BidRequest.Data parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, data, extensionRegistry);
}
public static com.particles.mes.protos.openrtb.BidRequest.Data parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, input);
}
public static com.particles.mes.protos.openrtb.BidRequest.Data parseFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, input, extensionRegistry);
}
public static com.particles.mes.protos.openrtb.BidRequest.Data parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return parseDelimitedFrom(DEFAULT_INSTANCE, input);
}
public static com.particles.mes.protos.openrtb.BidRequest.Data parseDelimitedFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return parseDelimitedFrom(DEFAULT_INSTANCE, input, extensionRegistry);
}
public static com.particles.mes.protos.openrtb.BidRequest.Data parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, input);
}
public static com.particles.mes.protos.openrtb.BidRequest.Data parseFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, input, extensionRegistry);
}
public static Builder newBuilder() {
return (Builder) DEFAULT_INSTANCE.createBuilder();
}
public static Builder newBuilder(com.particles.mes.protos.openrtb.BidRequest.Data prototype) {
return (Builder) DEFAULT_INSTANCE.createBuilder(prototype);
}
/**
* <pre>
* OpenRTB 2.0: The data and segment objects together allow additional data
* about the user to be specified. This data may be from multiple sources
* whether from the exchange itself or third party providers as specified by
* the id field. A bid request can mix data objects from multiple providers or
* can have multiple data objects. The specific data providers in use should
* be published by the exchange a priori to its bidders.
* Google: This is used to send Publisher Provided Signals and Topics to
* bidders.
* </pre>
*
* Protobuf type {@code com.google.openrtb.BidRequest.Data}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageLite.ExtendableBuilder<
com.particles.mes.protos.openrtb.BidRequest.Data, Builder> implements
// @@protoc_insertion_point(builder_implements:com.google.openrtb.BidRequest.Data)
com.particles.mes.protos.openrtb.BidRequest.DataOrBuilder {
// Construct using com.particles.mes.protos.openrtb.BidRequest.Data.newBuilder()
private Builder() {
super(DEFAULT_INSTANCE);
}
/**
* <pre>
* The Google assigned ID of the data provider. Only set for Data segments
* from Publisher Provided Signals. For the list of data providers, see
* https://storage.googleapis.com/adx-rtb-dictionaries/data_providers.txt.
* Supported by Google.
* </pre>
*
* <code>optional string id = 1;</code>
* @return Whether the id field is set.
*/
@java.lang.Override
public boolean hasId() {
return instance.hasId();
}
/**
* <pre>
* The Google assigned ID of the data provider. Only set for Data segments
* from Publisher Provided Signals. For the list of data providers, see
* https://storage.googleapis.com/adx-rtb-dictionaries/data_providers.txt.
* Supported by Google.
* </pre>
*
* <code>optional string id = 1;</code>
* @return The id.
*/
@java.lang.Override
public java.lang.String getId() {
return instance.getId();
}
/**
* <pre>
* The Google assigned ID of the data provider. Only set for Data segments
* from Publisher Provided Signals. For the list of data providers, see
* https://storage.googleapis.com/adx-rtb-dictionaries/data_providers.txt.
* Supported by Google.
* </pre>
*
* <code>optional string id = 1;</code>
* @return The bytes for id.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getIdBytes() {
return instance.getIdBytes();
}
/**
* <pre>
* The Google assigned ID of the data provider. Only set for Data segments
* from Publisher Provided Signals. For the list of data providers, see
* https://storage.googleapis.com/adx-rtb-dictionaries/data_providers.txt.
* Supported by Google.
* </pre>
*
* <code>optional string id = 1;</code>
* @param value The id to set.
* @return This builder for chaining.
*/
public Builder setId(
java.lang.String value) {
copyOnWrite();
instance.setId(value);
return this;
}
/**
* <pre>
* The Google assigned ID of the data provider. Only set for Data segments
* from Publisher Provided Signals. For the list of data providers, see
* https://storage.googleapis.com/adx-rtb-dictionaries/data_providers.txt.
* Supported by Google.
* </pre>
*
* <code>optional string id = 1;</code>
* @return This builder for chaining.
*/
public Builder clearId() {
copyOnWrite();
instance.clearId();
return this;
}
/**
* <pre>
* The Google assigned ID of the data provider. Only set for Data segments
* from Publisher Provided Signals. For the list of data providers, see
* https://storage.googleapis.com/adx-rtb-dictionaries/data_providers.txt.
* Supported by Google.
* </pre>
*
* <code>optional string id = 1;</code>
* @param value The bytes for id to set.
* @return This builder for chaining.
*/
public Builder setIdBytes(
com.google.protobuf.ByteString value) {
copyOnWrite();
instance.setIdBytes(value);
return this;
}
/**
* <pre>
* Exchange-specific name for the data provider.
* Not supported by Google.
* </pre>
*
* <code>optional string name = 2;</code>
* @return Whether the name field is set.
*/
@java.lang.Override
public boolean hasName() {
return instance.hasName();
}
/**
* <pre>
* Exchange-specific name for the data provider.
* Not supported by Google.
* </pre>
*
* <code>optional string name = 2;</code>
* @return The name.
*/
@java.lang.Override
public java.lang.String getName() {
return instance.getName();
}
/**
* <pre>
* Exchange-specific name for the data provider.
* Not supported by Google.
* </pre>
*
* <code>optional string name = 2;</code>
* @return The bytes for name.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getNameBytes() {
return instance.getNameBytes();
}
/**
* <pre>
* Exchange-specific name for the data provider.
* Not supported by Google.
* </pre>
*
* <code>optional string name = 2;</code>
* @param value The name to set.
* @return This builder for chaining.
*/
public Builder setName(
java.lang.String value) {
copyOnWrite();
instance.setName(value);
return this;
}
/**
* <pre>
* Exchange-specific name for the data provider.
* Not supported by Google.
* </pre>
*
* <code>optional string name = 2;</code>
* @return This builder for chaining.
*/
public Builder clearName() {
copyOnWrite();
instance.clearName();
return this;
}
/**
* <pre>
* Exchange-specific name for the data provider.
* Not supported by Google.
* </pre>
*
* <code>optional string name = 2;</code>
* @param value The bytes for name to set.
* @return This builder for chaining.
*/
public Builder setNameBytes(
com.google.protobuf.ByteString value) {
copyOnWrite();
instance.setNameBytes(value);
return this;
}
/**
* <pre>
* Array of Segment (Section 3.2.15) objects that contain the actual
* data values.
* Supported by Google.
* </pre>
*
* <code>repeated .com.google.openrtb.BidRequest.Data.Segment segment = 3;</code>
*/
@java.lang.Override
public java.util.List<com.particles.mes.protos.openrtb.BidRequest.Data.Segment> getSegmentList() {
return java.util.Collections.unmodifiableList(
instance.getSegmentList());
}
/**
* <pre>
* Array of Segment (Section 3.2.15) objects that contain the actual
* data values.
* Supported by Google.
* </pre>
*
* <code>repeated .com.google.openrtb.BidRequest.Data.Segment segment = 3;</code>
*/
@java.lang.Override
public int getSegmentCount() {
return instance.getSegmentCount();
}/**
* <pre>
* Array of Segment (Section 3.2.15) objects that contain the actual
* data values.
* Supported by Google.
* </pre>
*
* <code>repeated .com.google.openrtb.BidRequest.Data.Segment segment = 3;</code>
*/
@java.lang.Override
public com.particles.mes.protos.openrtb.BidRequest.Data.Segment getSegment(int index) {
return instance.getSegment(index);
}
/**
* <pre>
* Array of Segment (Section 3.2.15) objects that contain the actual
* data values.
* Supported by Google.
* </pre>
*
* <code>repeated .com.google.openrtb.BidRequest.Data.Segment segment = 3;</code>
*/
public Builder setSegment(
int index, com.particles.mes.protos.openrtb.BidRequest.Data.Segment value) {
copyOnWrite();
instance.setSegment(index, value);
return this;
}
/**
* <pre>
* Array of Segment (Section 3.2.15) objects that contain the actual
* data values.
* Supported by Google.
* </pre>
*
* <code>repeated .com.google.openrtb.BidRequest.Data.Segment segment = 3;</code>
*/
public Builder setSegment(
int index, com.particles.mes.protos.openrtb.BidRequest.Data.Segment.Builder builderForValue) {
copyOnWrite();
instance.setSegment(index,
builderForValue.build());
return this;
}
/**
* <pre>
* Array of Segment (Section 3.2.15) objects that contain the actual
* data values.
* Supported by Google.
* </pre>
*
* <code>repeated .com.google.openrtb.BidRequest.Data.Segment segment = 3;</code>
*/
public Builder addSegment(com.particles.mes.protos.openrtb.BidRequest.Data.Segment value) {
copyOnWrite();
instance.addSegment(value);
return this;
}
/**
* <pre>
* Array of Segment (Section 3.2.15) objects that contain the actual
* data values.
* Supported by Google.
* </pre>
*
* <code>repeated .com.google.openrtb.BidRequest.Data.Segment segment = 3;</code>
*/
public Builder addSegment(
int index, com.particles.mes.protos.openrtb.BidRequest.Data.Segment value) {
copyOnWrite();
instance.addSegment(index, value);
return this;
}
/**
* <pre>
* Array of Segment (Section 3.2.15) objects that contain the actual
* data values.
* Supported by Google.
* </pre>
*
* <code>repeated .com.google.openrtb.BidRequest.Data.Segment segment = 3;</code>
*/
public Builder addSegment(
com.particles.mes.protos.openrtb.BidRequest.Data.Segment.Builder builderForValue) {
copyOnWrite();
instance.addSegment(builderForValue.build());
return this;
}
/**
* <pre>
* Array of Segment (Section 3.2.15) objects that contain the actual
* data values.
* Supported by Google.
* </pre>
*
* <code>repeated .com.google.openrtb.BidRequest.Data.Segment segment = 3;</code>
*/
public Builder addSegment(
int index, com.particles.mes.protos.openrtb.BidRequest.Data.Segment.Builder builderForValue) {
copyOnWrite();
instance.addSegment(index,
builderForValue.build());
return this;
}
/**
* <pre>
* Array of Segment (Section 3.2.15) objects that contain the actual
* data values.
* Supported by Google.
* </pre>
*
* <code>repeated .com.google.openrtb.BidRequest.Data.Segment segment = 3;</code>
*/
public Builder addAllSegment(
java.lang.Iterable<? extends com.particles.mes.protos.openrtb.BidRequest.Data.Segment> values) {
copyOnWrite();
instance.addAllSegment(values);
return this;
}
/**
* <pre>
* Array of Segment (Section 3.2.15) objects that contain the actual
* data values.
* Supported by Google.
* </pre>
*
* <code>repeated .com.google.openrtb.BidRequest.Data.Segment segment = 3;</code>
*/
public Builder clearSegment() {
copyOnWrite();
instance.clearSegment();
return this;
}
/**
* <pre>
* Array of Segment (Section 3.2.15) objects that contain the actual
* data values.
* Supported by Google.
* </pre>
*
* <code>repeated .com.google.openrtb.BidRequest.Data.Segment segment = 3;</code>
*/
public Builder removeSegment(int index) {
copyOnWrite();
instance.removeSegment(index);
return this;
}
/**
* <code>optional string ext = 90;</code>
* @return Whether the ext field is set.
*/
@java.lang.Override
public boolean hasExt() {
return instance.hasExt();
}
/**
* <code>optional string ext = 90;</code>
* @return The ext.
*/
@java.lang.Override
public java.lang.String getExt() {
return instance.getExt();
}
/**
* <code>optional string ext = 90;</code>
* @return The bytes for ext.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getExtBytes() {
return instance.getExtBytes();
}
/**
* <code>optional string ext = 90;</code>
* @param value The ext to set.
* @return This builder for chaining.
*/
public Builder setExt(
java.lang.String value) {
copyOnWrite();
instance.setExt(value);
return this;
}
/**
* <code>optional string ext = 90;</code>
* @return This builder for chaining.
*/
public Builder clearExt() {
copyOnWrite();
instance.clearExt();
return this;
}
/**
* <code>optional string ext = 90;</code>
* @param value The bytes for ext to set.
* @return This builder for chaining.
*/
public Builder setExtBytes(
com.google.protobuf.ByteString value) {
copyOnWrite();
instance.setExtBytes(value);
return this;
}
// @@protoc_insertion_point(builder_scope:com.google.openrtb.BidRequest.Data)
}
private byte memoizedIsInitialized = 2;
@java.lang.Override
@java.lang.SuppressWarnings({"unchecked", "fallthrough"})
protected final java.lang.Object dynamicMethod(
com.google.protobuf.GeneratedMessageLite.MethodToInvoke method,
java.lang.Object arg0, java.lang.Object arg1) {
switch (method) {
case NEW_MUTABLE_INSTANCE: {
return new com.particles.mes.protos.openrtb.BidRequest.Data();
}
case NEW_BUILDER: {
return new Builder();
}
case BUILD_MESSAGE_INFO: {
java.lang.Object[] objects = new java.lang.Object[] {
"bitField0_",
"id_",
"name_",
"segment_",
com.particles.mes.protos.openrtb.BidRequest.Data.Segment.class,
"ext_",
};
java.lang.String info =
"\u0001\u0004\u0000\u0001\u0001Z\u0004\u0000\u0001\u0001\u0001\u1008\u0000\u0002\u1008" +
"\u0001\u0003\u041bZ\u1008\u0002";
return newMessageInfo(DEFAULT_INSTANCE, info, objects);
}
// fall through
case GET_DEFAULT_INSTANCE: {
return DEFAULT_INSTANCE;
}
case GET_PARSER: {
com.google.protobuf.Parser<com.particles.mes.protos.openrtb.BidRequest.Data> parser = PARSER;
if (parser == null) {
synchronized (com.particles.mes.protos.openrtb.BidRequest.Data.class) {
parser = PARSER;
if (parser == null) {
parser =
new DefaultInstanceBasedParser<com.particles.mes.protos.openrtb.BidRequest.Data>(
DEFAULT_INSTANCE);
PARSER = parser;
}
}
}
return parser;
}
case GET_MEMOIZED_IS_INITIALIZED: {
return memoizedIsInitialized;
}
case SET_MEMOIZED_IS_INITIALIZED: {
memoizedIsInitialized = (byte) (arg0 == null ? 0 : 1);
return null;
}
}
throw new UnsupportedOperationException();
}
// @@protoc_insertion_point(class_scope:com.google.openrtb.BidRequest.Data)
private static final com.particles.mes.protos.openrtb.BidRequest.Data DEFAULT_INSTANCE;
static {
Data defaultInstance = new Data();
// New instances are implicitly immutable so no need to make
// immutable.
DEFAULT_INSTANCE = defaultInstance;
com.google.protobuf.GeneratedMessageLite.registerDefaultInstance(
Data.class, defaultInstance);
}
public static com.particles.mes.protos.openrtb.BidRequest.Data getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static volatile com.google.protobuf.Parser<Data> PARSER;
public static com.google.protobuf.Parser<Data> parser() {
return DEFAULT_INSTANCE.getParserForType();
}
}
public interface UserOrBuilder extends
// @@protoc_insertion_point(interface_extends:com.google.openrtb.BidRequest.User)
com.google.protobuf.GeneratedMessageLite.
ExtendableMessageOrBuilder<
User, User.Builder> {
/**
* <pre>
* Exchange-specific ID for the user. At least one of id or buyeruid
* is recommended.
* Supported by Google.
* </pre>
*
* <code>optional string id = 1;</code>
* @return Whether the id field is set.
*/
boolean hasId();
/**
* <pre>
* Exchange-specific ID for the user. At least one of id or buyeruid
* is recommended.
* Supported by Google.
* </pre>
*
* <code>optional string id = 1;</code>
* @return The id.
*/
java.lang.String getId();
/**
* <pre>
* Exchange-specific ID for the user. At least one of id or buyeruid
* is recommended.
* Supported by Google.
* </pre>
*
* <code>optional string id = 1;</code>
* @return The bytes for id.
*/
com.google.protobuf.ByteString
getIdBytes();
/**
* <pre>
* Buyer-specific ID for the user as mapped by the exchange for the buyer.
* At least one of buyeruid or id is recommended.
* Supported by Google. Populated with hosted match data.
* </pre>
*
* <code>optional string buyeruid = 2;</code>
* @return Whether the buyeruid field is set.
*/
boolean hasBuyeruid();
/**
* <pre>
* Buyer-specific ID for the user as mapped by the exchange for the buyer.
* At least one of buyeruid or id is recommended.
* Supported by Google. Populated with hosted match data.
* </pre>
*
* <code>optional string buyeruid = 2;</code>
* @return The buyeruid.
*/
java.lang.String getBuyeruid();
/**
* <pre>
* Buyer-specific ID for the user as mapped by the exchange for the buyer.
* At least one of buyeruid or id is recommended.
* Supported by Google. Populated with hosted match data.
* </pre>
*
* <code>optional string buyeruid = 2;</code>
* @return The bytes for buyeruid.
*/
com.google.protobuf.ByteString
getBuyeruidBytes();
/**
* <pre>
* DEPRECATED in OpenRTB 2.6+; no replacement.
* Year of birth as a 4-digit integer.
* Not supported by Google.
* </pre>
*
* <code>optional int32 yob = 3 [deprecated = true];</code>
* @deprecated com.google.openrtb.BidRequest.User.yob is deprecated.
* See openrtb/openrtb-v26.proto;l=1657
* @return Whether the yob field is set.
*/
@java.lang.Deprecated boolean hasYob();
/**
* <pre>
* DEPRECATED in OpenRTB 2.6+; no replacement.
* Year of birth as a 4-digit integer.
* Not supported by Google.
* </pre>
*
* <code>optional int32 yob = 3 [deprecated = true];</code>
* @deprecated com.google.openrtb.BidRequest.User.yob is deprecated.
* See openrtb/openrtb-v26.proto;l=1657
* @return The yob.
*/
@java.lang.Deprecated int getYob();
/**
* <pre>
* DEPRECATED in OpenRTB 2.6+; no replacement.
* Gender as "M" male, "F" female, "O" Other. (Null indicates unknown)
* Not supported by Google.
* </pre>
*
* <code>optional string gender = 4 [deprecated = true];</code>
* @deprecated com.google.openrtb.BidRequest.User.gender is deprecated.
* See openrtb/openrtb-v26.proto;l=1662
* @return Whether the gender field is set.
*/
@java.lang.Deprecated boolean hasGender();
/**
* <pre>
* DEPRECATED in OpenRTB 2.6+; no replacement.
* Gender as "M" male, "F" female, "O" Other. (Null indicates unknown)
* Not supported by Google.
* </pre>
*
* <code>optional string gender = 4 [deprecated = true];</code>
* @deprecated com.google.openrtb.BidRequest.User.gender is deprecated.
* See openrtb/openrtb-v26.proto;l=1662
* @return The gender.
*/
@java.lang.Deprecated java.lang.String getGender();
/**
* <pre>
* DEPRECATED in OpenRTB 2.6+; no replacement.
* Gender as "M" male, "F" female, "O" Other. (Null indicates unknown)
* Not supported by Google.
* </pre>
*
* <code>optional string gender = 4 [deprecated = true];</code>
* @deprecated com.google.openrtb.BidRequest.User.gender is deprecated.
* See openrtb/openrtb-v26.proto;l=1662
* @return The bytes for gender.
*/
@java.lang.Deprecated com.google.protobuf.ByteString
getGenderBytes();
/**
* <pre>
* Comma separated list of keywords, interests, or intent.
* Only one of 'keywords' or 'kwarray' may be present.
* Not supported by Google.
* </pre>
*
* <code>optional string keywords = 5;</code>
* @return Whether the keywords field is set.
*/
boolean hasKeywords();
/**
* <pre>
* Comma separated list of keywords, interests, or intent.
* Only one of 'keywords' or 'kwarray' may be present.
* Not supported by Google.
* </pre>
*
* <code>optional string keywords = 5;</code>
* @return The keywords.
*/
java.lang.String getKeywords();
/**
* <pre>
* Comma separated list of keywords, interests, or intent.
* Only one of 'keywords' or 'kwarray' may be present.
* Not supported by Google.
* </pre>
*
* <code>optional string keywords = 5;</code>
* @return The bytes for keywords.
*/
com.google.protobuf.ByteString
getKeywordsBytes();
/**
* <pre>
* Array of keywords about the user.
* Only one of 'keywords' or 'kwarray' may be present.
* Not supported by Google.
* </pre>
*
* <code>repeated string kwarray = 9;</code>
* @return A list containing the kwarray.
*/
java.util.List<java.lang.String>
getKwarrayList();
/**
* <pre>
* Array of keywords about the user.
* Only one of 'keywords' or 'kwarray' may be present.
* Not supported by Google.
* </pre>
*
* <code>repeated string kwarray = 9;</code>
* @return The count of kwarray.
*/
int getKwarrayCount();
/**
* <pre>
* Array of keywords about the user.
* Only one of 'keywords' or 'kwarray' may be present.
* Not supported by Google.
* </pre>
*
* <code>repeated string kwarray = 9;</code>
* @param index The index of the element to return.
* @return The kwarray at the given index.
*/
java.lang.String getKwarray(int index);
/**
* <pre>
* Array of keywords about the user.
* Only one of 'keywords' or 'kwarray' may be present.
* Not supported by Google.
* </pre>
*
* <code>repeated string kwarray = 9;</code>
* @param index The index of the element to return.
* @return The kwarray at the given index.
*/
com.google.protobuf.ByteString
getKwarrayBytes(int index);
/**
* <pre>
* Optional feature to pass bidder data set in the exchange's cookie.
* The string must be in base85 cookie safe characters and be in any format.
* Proper JSON encoding must be used to include "escaped" quotation marks.
* Supported by Google. Populated with hosted match data.
* </pre>
*
* <code>optional string customdata = 6;</code>
* @return Whether the customdata field is set.
*/
boolean hasCustomdata();
/**
* <pre>
* Optional feature to pass bidder data set in the exchange's cookie.
* The string must be in base85 cookie safe characters and be in any format.
* Proper JSON encoding must be used to include "escaped" quotation marks.
* Supported by Google. Populated with hosted match data.
* </pre>
*
* <code>optional string customdata = 6;</code>
* @return The customdata.
*/
java.lang.String getCustomdata();
/**
* <pre>
* Optional feature to pass bidder data set in the exchange's cookie.
* The string must be in base85 cookie safe characters and be in any format.
* Proper JSON encoding must be used to include "escaped" quotation marks.
* Supported by Google. Populated with hosted match data.
* </pre>
*
* <code>optional string customdata = 6;</code>
* @return The bytes for customdata.
*/
com.google.protobuf.ByteString
getCustomdataBytes();
/**
* <pre>
* Location of the user's home base defined by a Geo object
* (Section 3.2.12). This is not necessarily their current location.
* Not supported by Google.
* </pre>
*
* <code>optional .com.google.openrtb.BidRequest.Geo geo = 7;</code>
* @return Whether the geo field is set.
*/
boolean hasGeo();
/**
* <pre>
* Location of the user's home base defined by a Geo object
* (Section 3.2.12). This is not necessarily their current location.
* Not supported by Google.
* </pre>
*
* <code>optional .com.google.openrtb.BidRequest.Geo geo = 7;</code>
* @return The geo.
*/
com.particles.mes.protos.openrtb.BidRequest.Geo getGeo();
/**
* <pre>
* Additional user data. Each Data object (Section 3.2.14) represents a
* different data source.
* Supported by Google.
* Used for Chrome Topics API and for Publisher Provided Signals:
* https://developers.google.com/authorized-buyers/rtb/topics
* https://support.google.com/admanager/answer/12451124
* </pre>
*
* <code>repeated .com.google.openrtb.BidRequest.Data data = 8;</code>
*/
java.util.List<com.particles.mes.protos.openrtb.BidRequest.Data>
getDataList();
/**
* <pre>
* Additional user data. Each Data object (Section 3.2.14) represents a
* different data source.
* Supported by Google.
* Used for Chrome Topics API and for Publisher Provided Signals:
* https://developers.google.com/authorized-buyers/rtb/topics
* https://support.google.com/admanager/answer/12451124
* </pre>
*
* <code>repeated .com.google.openrtb.BidRequest.Data data = 8;</code>
*/
com.particles.mes.protos.openrtb.BidRequest.Data getData(int index);
/**
* <pre>
* Additional user data. Each Data object (Section 3.2.14) represents a
* different data source.
* Supported by Google.
* Used for Chrome Topics API and for Publisher Provided Signals:
* https://developers.google.com/authorized-buyers/rtb/topics
* https://support.google.com/admanager/answer/12451124
* </pre>
*
* <code>repeated .com.google.openrtb.BidRequest.Data data = 8;</code>
*/
int getDataCount();
/**
* <pre>
* The web-safe base64-encoded IAB Transparency and Consent Framework (TCF)
* v2 consent string fetched from the publisher's IAB Consent Management
* Platform (CMP). The structure of the string is defined by the IAB TCF v2.
* This field will be populated if the publisher has integrated with a CMP
* for TCF v2 and that CMP indicates that GDPR applies to this ad request
* and provides a valid consent string. See
* https://support.google.com/authorizedbuyers/answer/9789378 for additional
* information about the Google TCF v2 integration.
* See the IAB Global Vendor List at
* https://vendor-list.consensu.org/v2/vendor-list.json for details about
* the vendors listed in the consent string.
* Not supported by Google. Google supports the IAB TCFv2 consent string
* with the extension BidRequest.user.ext.consent.
* </pre>
*
* <code>optional string consent = 10;</code>
* @return Whether the consent field is set.
*/
boolean hasConsent();
/**
* <pre>
* The web-safe base64-encoded IAB Transparency and Consent Framework (TCF)
* v2 consent string fetched from the publisher's IAB Consent Management
* Platform (CMP). The structure of the string is defined by the IAB TCF v2.
* This field will be populated if the publisher has integrated with a CMP
* for TCF v2 and that CMP indicates that GDPR applies to this ad request
* and provides a valid consent string. See
* https://support.google.com/authorizedbuyers/answer/9789378 for additional
* information about the Google TCF v2 integration.
* See the IAB Global Vendor List at
* https://vendor-list.consensu.org/v2/vendor-list.json for details about
* the vendors listed in the consent string.
* Not supported by Google. Google supports the IAB TCFv2 consent string
* with the extension BidRequest.user.ext.consent.
* </pre>
*
* <code>optional string consent = 10;</code>
* @return The consent.
*/
java.lang.String getConsent();
/**
* <pre>
* The web-safe base64-encoded IAB Transparency and Consent Framework (TCF)
* v2 consent string fetched from the publisher's IAB Consent Management
* Platform (CMP). The structure of the string is defined by the IAB TCF v2.
* This field will be populated if the publisher has integrated with a CMP
* for TCF v2 and that CMP indicates that GDPR applies to this ad request
* and provides a valid consent string. See
* https://support.google.com/authorizedbuyers/answer/9789378 for additional
* information about the Google TCF v2 integration.
* See the IAB Global Vendor List at
* https://vendor-list.consensu.org/v2/vendor-list.json for details about
* the vendors listed in the consent string.
* Not supported by Google. Google supports the IAB TCFv2 consent string
* with the extension BidRequest.user.ext.consent.
* </pre>
*
* <code>optional string consent = 10;</code>
* @return The bytes for consent.
*/
com.google.protobuf.ByteString
getConsentBytes();
/**
* <pre>
* Data made available by the publisher, such as publisher-provided
* identifiers.
* Supported by Google. For Secure Signals, see extension
* BidRequest.user.ext.eids.
* </pre>
*
* <code>repeated .com.google.openrtb.BidRequest.User.EID eids = 11;</code>
*/
java.util.List<com.particles.mes.protos.openrtb.BidRequest.User.EID>
getEidsList();
/**
* <pre>
* Data made available by the publisher, such as publisher-provided
* identifiers.
* Supported by Google. For Secure Signals, see extension
* BidRequest.user.ext.eids.
* </pre>
*
* <code>repeated .com.google.openrtb.BidRequest.User.EID eids = 11;</code>
*/
com.particles.mes.protos.openrtb.BidRequest.User.EID getEids(int index);
/**
* <pre>
* Data made available by the publisher, such as publisher-provided
* identifiers.
* Supported by Google. For Secure Signals, see extension
* BidRequest.user.ext.eids.
* </pre>
*
* <code>repeated .com.google.openrtb.BidRequest.User.EID eids = 11;</code>
*/
int getEidsCount();
/**
* <code>optional string ext = 90;</code>
* @return Whether the ext field is set.
*/
boolean hasExt();
/**
* <code>optional string ext = 90;</code>
* @return The ext.
*/
java.lang.String getExt();
/**
* <code>optional string ext = 90;</code>
* @return The bytes for ext.
*/
com.google.protobuf.ByteString
getExtBytes();
}
/**
* <pre>
* OpenRTB 2.0: This object contains information known or derived about
* the human user of the device (for example, the audience for advertising).
* The user id is an exchange artifact and may be subject to rotation or other
* privacy policies. However, this user ID must be stable long enough to serve
* reasonably as the basis for frequency capping and retargeting.
* </pre>
*
* Protobuf type {@code com.google.openrtb.BidRequest.User}
*/
public static final class User extends
com.google.protobuf.GeneratedMessageLite.ExtendableMessage<
User, User.Builder> implements
// @@protoc_insertion_point(message_implements:com.google.openrtb.BidRequest.User)
UserOrBuilder {
private User() {
id_ = "";
buyeruid_ = "";
gender_ = "";
keywords_ = "";
kwarray_ = com.google.protobuf.GeneratedMessageLite.emptyProtobufList();
customdata_ = "";
data_ = emptyProtobufList();
consent_ = "";
eids_ = emptyProtobufList();
ext_ = "";
}
public interface EIDOrBuilder extends
// @@protoc_insertion_point(interface_extends:com.google.openrtb.BidRequest.User.EID)
com.google.protobuf.GeneratedMessageLite.
ExtendableMessageOrBuilder<
EID, EID.Builder> {
/**
* <pre>
* Source or technology provider responsible for the set of included data.
* Supported by Google.
* </pre>
*
* <code>optional string source = 1;</code>
* @return Whether the source field is set.
*/
boolean hasSource();
/**
* <pre>
* Source or technology provider responsible for the set of included data.
* Supported by Google.
* </pre>
*
* <code>optional string source = 1;</code>
* @return The source.
*/
java.lang.String getSource();
/**
* <pre>
* Source or technology provider responsible for the set of included data.
* Supported by Google.
* </pre>
*
* <code>optional string source = 1;</code>
* @return The bytes for source.
*/
com.google.protobuf.ByteString
getSourceBytes();
/**
* <pre>
* Array of extended ID UID objects from the given source.
* Supported by Google.
* </pre>
*
* <code>repeated .com.google.openrtb.BidRequest.User.EID.UID uids = 2;</code>
*/
java.util.List<com.particles.mes.protos.openrtb.BidRequest.User.EID.UID>
getUidsList();
/**
* <pre>
* Array of extended ID UID objects from the given source.
* Supported by Google.
* </pre>
*
* <code>repeated .com.google.openrtb.BidRequest.User.EID.UID uids = 2;</code>
*/
com.particles.mes.protos.openrtb.BidRequest.User.EID.UID getUids(int index);
/**
* <pre>
* Array of extended ID UID objects from the given source.
* Supported by Google.
* </pre>
*
* <code>repeated .com.google.openrtb.BidRequest.User.EID.UID uids = 2;</code>
*/
int getUidsCount();
}
/**
* <pre>
* Extended data, such as a publisher-provided identifier, that allows
* buyers to use data made available by the publisher in real-time bidding.
* This object can contain one or more UIDs from a single source or a
* technology provider.
* </pre>
*
* Protobuf type {@code com.google.openrtb.BidRequest.User.EID}
*/
public static final class EID extends
com.google.protobuf.GeneratedMessageLite.ExtendableMessage<
EID, EID.Builder> implements
// @@protoc_insertion_point(message_implements:com.google.openrtb.BidRequest.User.EID)
EIDOrBuilder {
private EID() {
source_ = "";
uids_ = emptyProtobufList();
}
public interface UIDOrBuilder extends
// @@protoc_insertion_point(interface_extends:com.google.openrtb.BidRequest.User.EID.UID)
com.google.protobuf.GeneratedMessageLite.
ExtendableMessageOrBuilder<
UID, UID.Builder> {
/**
* <pre>
* The data value, such as a publisher-provided identifier.
* Supported by Google.
* </pre>
*
* <code>optional string id = 1;</code>
* @return Whether the id field is set.
*/
boolean hasId();
/**
* <pre>
* The data value, such as a publisher-provided identifier.
* Supported by Google.
* </pre>
*
* <code>optional string id = 1;</code>
* @return The id.
*/
java.lang.String getId();
/**
* <pre>
* The data value, such as a publisher-provided identifier.
* Supported by Google.
* </pre>
*
* <code>optional string id = 1;</code>
* @return The bytes for id.
*/
com.google.protobuf.ByteString
getIdBytes();
/**
* <pre>
* Type of user agent the ID is from.
* Not supported by Google.
* </pre>
*
* <code>optional .com.google.openrtb.AgentType atype = 2;</code>
* @return Whether the atype field is set.
*/
boolean hasAtype();
/**
* <pre>
* Type of user agent the ID is from.
* Not supported by Google.
* </pre>
*
* <code>optional .com.google.openrtb.AgentType atype = 2;</code>
* @return The atype.
*/
com.particles.mes.protos.openrtb.AgentType getAtype();
}
/**
* <pre>
* This object contains a single data item, such as a publisher-provided
* identifier, provided as part of extended identifiers.
* </pre>
*
* Protobuf type {@code com.google.openrtb.BidRequest.User.EID.UID}
*/
public static final class UID extends
com.google.protobuf.GeneratedMessageLite.ExtendableMessage<
UID, UID.Builder> implements
// @@protoc_insertion_point(message_implements:com.google.openrtb.BidRequest.User.EID.UID)
UIDOrBuilder {
private UID() {
id_ = "";
atype_ = 1;
}
private int bitField0_;
public static final int ID_FIELD_NUMBER = 1;
private java.lang.String id_;
/**
* <pre>
* The data value, such as a publisher-provided identifier.
* Supported by Google.
* </pre>
*
* <code>optional string id = 1;</code>
* @return Whether the id field is set.
*/
@java.lang.Override
public boolean hasId() {
return ((bitField0_ & 0x00000001) != 0);
}
/**
* <pre>
* The data value, such as a publisher-provided identifier.
* Supported by Google.
* </pre>
*
* <code>optional string id = 1;</code>
* @return The id.
*/
@java.lang.Override
public java.lang.String getId() {
return id_;
}
/**
* <pre>
* The data value, such as a publisher-provided identifier.
* Supported by Google.
* </pre>
*
* <code>optional string id = 1;</code>
* @return The bytes for id.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getIdBytes() {
return com.google.protobuf.ByteString.copyFromUtf8(id_);
}
/**
* <pre>
* The data value, such as a publisher-provided identifier.
* Supported by Google.
* </pre>
*
* <code>optional string id = 1;</code>
* @param value The id to set.
*/
private void setId(
java.lang.String value) {
java.lang.Class<?> valueClass = value.getClass();
bitField0_ |= 0x00000001;
id_ = value;
}
/**
* <pre>
* The data value, such as a publisher-provided identifier.
* Supported by Google.
* </pre>
*
* <code>optional string id = 1;</code>
*/
private void clearId() {
bitField0_ = (bitField0_ & ~0x00000001);
id_ = getDefaultInstance().getId();
}
/**
* <pre>
* The data value, such as a publisher-provided identifier.
* Supported by Google.
* </pre>
*
* <code>optional string id = 1;</code>
* @param value The bytes for id to set.
*/
private void setIdBytes(
com.google.protobuf.ByteString value) {
id_ = value.toStringUtf8();
bitField0_ |= 0x00000001;
}
public static final int ATYPE_FIELD_NUMBER = 2;
private int atype_;
/**
* <pre>
* Type of user agent the ID is from.
* Not supported by Google.
* </pre>
*
* <code>optional .com.google.openrtb.AgentType atype = 2;</code>
* @return Whether the atype field is set.
*/
@java.lang.Override
public boolean hasAtype() {
return ((bitField0_ & 0x00000002) != 0);
}
/**
* <pre>
* Type of user agent the ID is from.
* Not supported by Google.
* </pre>
*
* <code>optional .com.google.openrtb.AgentType atype = 2;</code>
* @return The atype.
*/
@java.lang.Override
public com.particles.mes.protos.openrtb.AgentType getAtype() {
com.particles.mes.protos.openrtb.AgentType result = com.particles.mes.protos.openrtb.AgentType.forNumber(atype_);
return result == null ? com.particles.mes.protos.openrtb.AgentType.BROWSER_OR_DEVICE : result;
}
/**
* <pre>
* Type of user agent the ID is from.
* Not supported by Google.
* </pre>
*
* <code>optional .com.google.openrtb.AgentType atype = 2;</code>
* @param value The atype to set.
*/
private void setAtype(com.particles.mes.protos.openrtb.AgentType value) {
atype_ = value.getNumber();
bitField0_ |= 0x00000002;
}
/**
* <pre>
* Type of user agent the ID is from.
* Not supported by Google.
* </pre>
*
* <code>optional .com.google.openrtb.AgentType atype = 2;</code>
*/
private void clearAtype() {
bitField0_ = (bitField0_ & ~0x00000002);
atype_ = 1;
}
public static com.particles.mes.protos.openrtb.BidRequest.User.EID.UID parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, data);
}
public static com.particles.mes.protos.openrtb.BidRequest.User.EID.UID parseFrom(
java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, data, extensionRegistry);
}
public static com.particles.mes.protos.openrtb.BidRequest.User.EID.UID parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, data);
}
public static com.particles.mes.protos.openrtb.BidRequest.User.EID.UID parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, data, extensionRegistry);
}
public static com.particles.mes.protos.openrtb.BidRequest.User.EID.UID parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, data);
}
public static com.particles.mes.protos.openrtb.BidRequest.User.EID.UID parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, data, extensionRegistry);
}
public static com.particles.mes.protos.openrtb.BidRequest.User.EID.UID parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, input);
}
public static com.particles.mes.protos.openrtb.BidRequest.User.EID.UID parseFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, input, extensionRegistry);
}
public static com.particles.mes.protos.openrtb.BidRequest.User.EID.UID parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return parseDelimitedFrom(DEFAULT_INSTANCE, input);
}
public static com.particles.mes.protos.openrtb.BidRequest.User.EID.UID parseDelimitedFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return parseDelimitedFrom(DEFAULT_INSTANCE, input, extensionRegistry);
}
public static com.particles.mes.protos.openrtb.BidRequest.User.EID.UID parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, input);
}
public static com.particles.mes.protos.openrtb.BidRequest.User.EID.UID parseFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, input, extensionRegistry);
}
public static Builder newBuilder() {
return (Builder) DEFAULT_INSTANCE.createBuilder();
}
public static Builder newBuilder(com.particles.mes.protos.openrtb.BidRequest.User.EID.UID prototype) {
return (Builder) DEFAULT_INSTANCE.createBuilder(prototype);
}
/**
* <pre>
* This object contains a single data item, such as a publisher-provided
* identifier, provided as part of extended identifiers.
* </pre>
*
* Protobuf type {@code com.google.openrtb.BidRequest.User.EID.UID}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageLite.ExtendableBuilder<
com.particles.mes.protos.openrtb.BidRequest.User.EID.UID, Builder> implements
// @@protoc_insertion_point(builder_implements:com.google.openrtb.BidRequest.User.EID.UID)
com.particles.mes.protos.openrtb.BidRequest.User.EID.UIDOrBuilder {
// Construct using com.particles.mes.protos.openrtb.BidRequest.User.EID.UID.newBuilder()
private Builder() {
super(DEFAULT_INSTANCE);
}
/**
* <pre>
* The data value, such as a publisher-provided identifier.
* Supported by Google.
* </pre>
*
* <code>optional string id = 1;</code>
* @return Whether the id field is set.
*/
@java.lang.Override
public boolean hasId() {
return instance.hasId();
}
/**
* <pre>
* The data value, such as a publisher-provided identifier.
* Supported by Google.
* </pre>
*
* <code>optional string id = 1;</code>
* @return The id.
*/
@java.lang.Override
public java.lang.String getId() {
return instance.getId();
}
/**
* <pre>
* The data value, such as a publisher-provided identifier.
* Supported by Google.
* </pre>
*
* <code>optional string id = 1;</code>
* @return The bytes for id.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getIdBytes() {
return instance.getIdBytes();
}
/**
* <pre>
* The data value, such as a publisher-provided identifier.
* Supported by Google.
* </pre>
*
* <code>optional string id = 1;</code>
* @param value The id to set.
* @return This builder for chaining.
*/
public Builder setId(
java.lang.String value) {
copyOnWrite();
instance.setId(value);
return this;
}
/**
* <pre>
* The data value, such as a publisher-provided identifier.
* Supported by Google.
* </pre>
*
* <code>optional string id = 1;</code>
* @return This builder for chaining.
*/
public Builder clearId() {
copyOnWrite();
instance.clearId();
return this;
}
/**
* <pre>
* The data value, such as a publisher-provided identifier.
* Supported by Google.
* </pre>
*
* <code>optional string id = 1;</code>
* @param value The bytes for id to set.
* @return This builder for chaining.
*/
public Builder setIdBytes(
com.google.protobuf.ByteString value) {
copyOnWrite();
instance.setIdBytes(value);
return this;
}
/**
* <pre>
* Type of user agent the ID is from.
* Not supported by Google.
* </pre>
*
* <code>optional .com.google.openrtb.AgentType atype = 2;</code>
* @return Whether the atype field is set.
*/
@java.lang.Override
public boolean hasAtype() {
return instance.hasAtype();
}
/**
* <pre>
* Type of user agent the ID is from.
* Not supported by Google.
* </pre>
*
* <code>optional .com.google.openrtb.AgentType atype = 2;</code>
* @return The atype.
*/
@java.lang.Override
public com.particles.mes.protos.openrtb.AgentType getAtype() {
return instance.getAtype();
}
/**
* <pre>
* Type of user agent the ID is from.
* Not supported by Google.
* </pre>
*
* <code>optional .com.google.openrtb.AgentType atype = 2;</code>
* @param value The enum numeric value on the wire for atype to set.
* @return This builder for chaining.
*/
public Builder setAtype(com.particles.mes.protos.openrtb.AgentType value) {
copyOnWrite();
instance.setAtype(value);
return this;
}
/**
* <pre>
* Type of user agent the ID is from.
* Not supported by Google.
* </pre>
*
* <code>optional .com.google.openrtb.AgentType atype = 2;</code>
* @return This builder for chaining.
*/
public Builder clearAtype() {
copyOnWrite();
instance.clearAtype();
return this;
}
// @@protoc_insertion_point(builder_scope:com.google.openrtb.BidRequest.User.EID.UID)
}
private byte memoizedIsInitialized = 2;
@java.lang.Override
@java.lang.SuppressWarnings({"unchecked", "fallthrough"})
protected final java.lang.Object dynamicMethod(
com.google.protobuf.GeneratedMessageLite.MethodToInvoke method,
java.lang.Object arg0, java.lang.Object arg1) {
switch (method) {
case NEW_MUTABLE_INSTANCE: {
return new com.particles.mes.protos.openrtb.BidRequest.User.EID.UID();
}
case NEW_BUILDER: {
return new Builder();
}
case BUILD_MESSAGE_INFO: {
java.lang.Object[] objects = new java.lang.Object[] {
"bitField0_",
"id_",
"atype_",
com.particles.mes.protos.openrtb.AgentType.internalGetVerifier(),
};
java.lang.String info =
"\u0001\u0002\u0000\u0001\u0001\u0002\u0002\u0000\u0000\u0000\u0001\u1008\u0000\u0002" +
"\u100c\u0001";
return newMessageInfo(DEFAULT_INSTANCE, info, objects);
}
// fall through
case GET_DEFAULT_INSTANCE: {
return DEFAULT_INSTANCE;
}
case GET_PARSER: {
com.google.protobuf.Parser<com.particles.mes.protos.openrtb.BidRequest.User.EID.UID> parser = PARSER;
if (parser == null) {
synchronized (com.particles.mes.protos.openrtb.BidRequest.User.EID.UID.class) {
parser = PARSER;
if (parser == null) {
parser =
new DefaultInstanceBasedParser<com.particles.mes.protos.openrtb.BidRequest.User.EID.UID>(
DEFAULT_INSTANCE);
PARSER = parser;
}
}
}
return parser;
}
case GET_MEMOIZED_IS_INITIALIZED: {
return memoizedIsInitialized;
}
case SET_MEMOIZED_IS_INITIALIZED: {
memoizedIsInitialized = (byte) (arg0 == null ? 0 : 1);
return null;
}
}
throw new UnsupportedOperationException();
}
// @@protoc_insertion_point(class_scope:com.google.openrtb.BidRequest.User.EID.UID)
private static final com.particles.mes.protos.openrtb.BidRequest.User.EID.UID DEFAULT_INSTANCE;
static {
UID defaultInstance = new UID();
// New instances are implicitly immutable so no need to make
// immutable.
DEFAULT_INSTANCE = defaultInstance;
com.google.protobuf.GeneratedMessageLite.registerDefaultInstance(
UID.class, defaultInstance);
}
public static com.particles.mes.protos.openrtb.BidRequest.User.EID.UID getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static volatile com.google.protobuf.Parser<UID> PARSER;
public static com.google.protobuf.Parser<UID> parser() {
return DEFAULT_INSTANCE.getParserForType();
}
}
private int bitField0_;
public static final int SOURCE_FIELD_NUMBER = 1;
private java.lang.String source_;
/**
* <pre>
* Source or technology provider responsible for the set of included data.
* Supported by Google.
* </pre>
*
* <code>optional string source = 1;</code>
* @return Whether the source field is set.
*/
@java.lang.Override
public boolean hasSource() {
return ((bitField0_ & 0x00000001) != 0);
}
/**
* <pre>
* Source or technology provider responsible for the set of included data.
* Supported by Google.
* </pre>
*
* <code>optional string source = 1;</code>
* @return The source.
*/
@java.lang.Override
public java.lang.String getSource() {
return source_;
}
/**
* <pre>
* Source or technology provider responsible for the set of included data.
* Supported by Google.
* </pre>
*
* <code>optional string source = 1;</code>
* @return The bytes for source.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getSourceBytes() {
return com.google.protobuf.ByteString.copyFromUtf8(source_);
}
/**
* <pre>
* Source or technology provider responsible for the set of included data.
* Supported by Google.
* </pre>
*
* <code>optional string source = 1;</code>
* @param value The source to set.
*/
private void setSource(
java.lang.String value) {
java.lang.Class<?> valueClass = value.getClass();
bitField0_ |= 0x00000001;
source_ = value;
}
/**
* <pre>
* Source or technology provider responsible for the set of included data.
* Supported by Google.
* </pre>
*
* <code>optional string source = 1;</code>
*/
private void clearSource() {
bitField0_ = (bitField0_ & ~0x00000001);
source_ = getDefaultInstance().getSource();
}
/**
* <pre>
* Source or technology provider responsible for the set of included data.
* Supported by Google.
* </pre>
*
* <code>optional string source = 1;</code>
* @param value The bytes for source to set.
*/
private void setSourceBytes(
com.google.protobuf.ByteString value) {
source_ = value.toStringUtf8();
bitField0_ |= 0x00000001;
}
public static final int UIDS_FIELD_NUMBER = 2;
private com.google.protobuf.Internal.ProtobufList<com.particles.mes.protos.openrtb.BidRequest.User.EID.UID> uids_;
/**
* <pre>
* Array of extended ID UID objects from the given source.
* Supported by Google.
* </pre>
*
* <code>repeated .com.google.openrtb.BidRequest.User.EID.UID uids = 2;</code>
*/
@java.lang.Override
public java.util.List<com.particles.mes.protos.openrtb.BidRequest.User.EID.UID> getUidsList() {
return uids_;
}
/**
* <pre>
* Array of extended ID UID objects from the given source.
* Supported by Google.
* </pre>
*
* <code>repeated .com.google.openrtb.BidRequest.User.EID.UID uids = 2;</code>
*/
public java.util.List<? extends com.particles.mes.protos.openrtb.BidRequest.User.EID.UIDOrBuilder>
getUidsOrBuilderList() {
return uids_;
}
/**
* <pre>
* Array of extended ID UID objects from the given source.
* Supported by Google.
* </pre>
*
* <code>repeated .com.google.openrtb.BidRequest.User.EID.UID uids = 2;</code>
*/
@java.lang.Override
public int getUidsCount() {
return uids_.size();
}
/**
* <pre>
* Array of extended ID UID objects from the given source.
* Supported by Google.
* </pre>
*
* <code>repeated .com.google.openrtb.BidRequest.User.EID.UID uids = 2;</code>
*/
@java.lang.Override
public com.particles.mes.protos.openrtb.BidRequest.User.EID.UID getUids(int index) {
return uids_.get(index);
}
/**
* <pre>
* Array of extended ID UID objects from the given source.
* Supported by Google.
* </pre>
*
* <code>repeated .com.google.openrtb.BidRequest.User.EID.UID uids = 2;</code>
*/
public com.particles.mes.protos.openrtb.BidRequest.User.EID.UIDOrBuilder getUidsOrBuilder(
int index) {
return uids_.get(index);
}
private void ensureUidsIsMutable() {
com.google.protobuf.Internal.ProtobufList<com.particles.mes.protos.openrtb.BidRequest.User.EID.UID> tmp = uids_;
if (!tmp.isModifiable()) {
uids_ =
com.google.protobuf.GeneratedMessageLite.mutableCopy(tmp);
}
}
/**
* <pre>
* Array of extended ID UID objects from the given source.
* Supported by Google.
* </pre>
*
* <code>repeated .com.google.openrtb.BidRequest.User.EID.UID uids = 2;</code>
*/
private void setUids(
int index, com.particles.mes.protos.openrtb.BidRequest.User.EID.UID value) {
value.getClass();
ensureUidsIsMutable();
uids_.set(index, value);
}
/**
* <pre>
* Array of extended ID UID objects from the given source.
* Supported by Google.
* </pre>
*
* <code>repeated .com.google.openrtb.BidRequest.User.EID.UID uids = 2;</code>
*/
private void addUids(com.particles.mes.protos.openrtb.BidRequest.User.EID.UID value) {
value.getClass();
ensureUidsIsMutable();
uids_.add(value);
}
/**
* <pre>
* Array of extended ID UID objects from the given source.
* Supported by Google.
* </pre>
*
* <code>repeated .com.google.openrtb.BidRequest.User.EID.UID uids = 2;</code>
*/
private void addUids(
int index, com.particles.mes.protos.openrtb.BidRequest.User.EID.UID value) {
value.getClass();
ensureUidsIsMutable();
uids_.add(index, value);
}
/**
* <pre>
* Array of extended ID UID objects from the given source.
* Supported by Google.
* </pre>
*
* <code>repeated .com.google.openrtb.BidRequest.User.EID.UID uids = 2;</code>
*/
private void addAllUids(
java.lang.Iterable<? extends com.particles.mes.protos.openrtb.BidRequest.User.EID.UID> values) {
ensureUidsIsMutable();
com.google.protobuf.AbstractMessageLite.addAll(
values, uids_);
}
/**
* <pre>
* Array of extended ID UID objects from the given source.
* Supported by Google.
* </pre>
*
* <code>repeated .com.google.openrtb.BidRequest.User.EID.UID uids = 2;</code>
*/
private void clearUids() {
uids_ = emptyProtobufList();
}
/**
* <pre>
* Array of extended ID UID objects from the given source.
* Supported by Google.
* </pre>
*
* <code>repeated .com.google.openrtb.BidRequest.User.EID.UID uids = 2;</code>
*/
private void removeUids(int index) {
ensureUidsIsMutable();
uids_.remove(index);
}
public static com.particles.mes.protos.openrtb.BidRequest.User.EID parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, data);
}
public static com.particles.mes.protos.openrtb.BidRequest.User.EID parseFrom(
java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, data, extensionRegistry);
}
public static com.particles.mes.protos.openrtb.BidRequest.User.EID parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, data);
}
public static com.particles.mes.protos.openrtb.BidRequest.User.EID parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, data, extensionRegistry);
}
public static com.particles.mes.protos.openrtb.BidRequest.User.EID parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, data);
}
public static com.particles.mes.protos.openrtb.BidRequest.User.EID parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, data, extensionRegistry);
}
public static com.particles.mes.protos.openrtb.BidRequest.User.EID parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, input);
}
public static com.particles.mes.protos.openrtb.BidRequest.User.EID parseFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, input, extensionRegistry);
}
public static com.particles.mes.protos.openrtb.BidRequest.User.EID parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return parseDelimitedFrom(DEFAULT_INSTANCE, input);
}
public static com.particles.mes.protos.openrtb.BidRequest.User.EID parseDelimitedFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return parseDelimitedFrom(DEFAULT_INSTANCE, input, extensionRegistry);
}
public static com.particles.mes.protos.openrtb.BidRequest.User.EID parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, input);
}
public static com.particles.mes.protos.openrtb.BidRequest.User.EID parseFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, input, extensionRegistry);
}
public static Builder newBuilder() {
return (Builder) DEFAULT_INSTANCE.createBuilder();
}
public static Builder newBuilder(com.particles.mes.protos.openrtb.BidRequest.User.EID prototype) {
return (Builder) DEFAULT_INSTANCE.createBuilder(prototype);
}
/**
* <pre>
* Extended data, such as a publisher-provided identifier, that allows
* buyers to use data made available by the publisher in real-time bidding.
* This object can contain one or more UIDs from a single source or a
* technology provider.
* </pre>
*
* Protobuf type {@code com.google.openrtb.BidRequest.User.EID}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageLite.ExtendableBuilder<
com.particles.mes.protos.openrtb.BidRequest.User.EID, Builder> implements
// @@protoc_insertion_point(builder_implements:com.google.openrtb.BidRequest.User.EID)
com.particles.mes.protos.openrtb.BidRequest.User.EIDOrBuilder {
// Construct using com.particles.mes.protos.openrtb.BidRequest.User.EID.newBuilder()
private Builder() {
super(DEFAULT_INSTANCE);
}
/**
* <pre>
* Source or technology provider responsible for the set of included data.
* Supported by Google.
* </pre>
*
* <code>optional string source = 1;</code>
* @return Whether the source field is set.
*/
@java.lang.Override
public boolean hasSource() {
return instance.hasSource();
}
/**
* <pre>
* Source or technology provider responsible for the set of included data.
* Supported by Google.
* </pre>
*
* <code>optional string source = 1;</code>
* @return The source.
*/
@java.lang.Override
public java.lang.String getSource() {
return instance.getSource();
}
/**
* <pre>
* Source or technology provider responsible for the set of included data.
* Supported by Google.
* </pre>
*
* <code>optional string source = 1;</code>
* @return The bytes for source.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getSourceBytes() {
return instance.getSourceBytes();
}
/**
* <pre>
* Source or technology provider responsible for the set of included data.
* Supported by Google.
* </pre>
*
* <code>optional string source = 1;</code>
* @param value The source to set.
* @return This builder for chaining.
*/
public Builder setSource(
java.lang.String value) {
copyOnWrite();
instance.setSource(value);
return this;
}
/**
* <pre>
* Source or technology provider responsible for the set of included data.
* Supported by Google.
* </pre>
*
* <code>optional string source = 1;</code>
* @return This builder for chaining.
*/
public Builder clearSource() {
copyOnWrite();
instance.clearSource();
return this;
}
/**
* <pre>
* Source or technology provider responsible for the set of included data.
* Supported by Google.
* </pre>
*
* <code>optional string source = 1;</code>
* @param value The bytes for source to set.
* @return This builder for chaining.
*/
public Builder setSourceBytes(
com.google.protobuf.ByteString value) {
copyOnWrite();
instance.setSourceBytes(value);
return this;
}
/**
* <pre>
* Array of extended ID UID objects from the given source.
* Supported by Google.
* </pre>
*
* <code>repeated .com.google.openrtb.BidRequest.User.EID.UID uids = 2;</code>
*/
@java.lang.Override
public java.util.List<com.particles.mes.protos.openrtb.BidRequest.User.EID.UID> getUidsList() {
return java.util.Collections.unmodifiableList(
instance.getUidsList());
}
/**
* <pre>
* Array of extended ID UID objects from the given source.
* Supported by Google.
* </pre>
*
* <code>repeated .com.google.openrtb.BidRequest.User.EID.UID uids = 2;</code>
*/
@java.lang.Override
public int getUidsCount() {
return instance.getUidsCount();
}/**
* <pre>
* Array of extended ID UID objects from the given source.
* Supported by Google.
* </pre>
*
* <code>repeated .com.google.openrtb.BidRequest.User.EID.UID uids = 2;</code>
*/
@java.lang.Override
public com.particles.mes.protos.openrtb.BidRequest.User.EID.UID getUids(int index) {
return instance.getUids(index);
}
/**
* <pre>
* Array of extended ID UID objects from the given source.
* Supported by Google.
* </pre>
*
* <code>repeated .com.google.openrtb.BidRequest.User.EID.UID uids = 2;</code>
*/
public Builder setUids(
int index, com.particles.mes.protos.openrtb.BidRequest.User.EID.UID value) {
copyOnWrite();
instance.setUids(index, value);
return this;
}
/**
* <pre>
* Array of extended ID UID objects from the given source.
* Supported by Google.
* </pre>
*
* <code>repeated .com.google.openrtb.BidRequest.User.EID.UID uids = 2;</code>
*/
public Builder setUids(
int index, com.particles.mes.protos.openrtb.BidRequest.User.EID.UID.Builder builderForValue) {
copyOnWrite();
instance.setUids(index,
builderForValue.build());
return this;
}
/**
* <pre>
* Array of extended ID UID objects from the given source.
* Supported by Google.
* </pre>
*
* <code>repeated .com.google.openrtb.BidRequest.User.EID.UID uids = 2;</code>
*/
public Builder addUids(com.particles.mes.protos.openrtb.BidRequest.User.EID.UID value) {
copyOnWrite();
instance.addUids(value);
return this;
}
/**
* <pre>
* Array of extended ID UID objects from the given source.
* Supported by Google.
* </pre>
*
* <code>repeated .com.google.openrtb.BidRequest.User.EID.UID uids = 2;</code>
*/
public Builder addUids(
int index, com.particles.mes.protos.openrtb.BidRequest.User.EID.UID value) {
copyOnWrite();
instance.addUids(index, value);
return this;
}
/**
* <pre>
* Array of extended ID UID objects from the given source.
* Supported by Google.
* </pre>
*
* <code>repeated .com.google.openrtb.BidRequest.User.EID.UID uids = 2;</code>
*/
public Builder addUids(
com.particles.mes.protos.openrtb.BidRequest.User.EID.UID.Builder builderForValue) {
copyOnWrite();
instance.addUids(builderForValue.build());
return this;
}
/**
* <pre>
* Array of extended ID UID objects from the given source.
* Supported by Google.
* </pre>
*
* <code>repeated .com.google.openrtb.BidRequest.User.EID.UID uids = 2;</code>
*/
public Builder addUids(
int index, com.particles.mes.protos.openrtb.BidRequest.User.EID.UID.Builder builderForValue) {
copyOnWrite();
instance.addUids(index,
builderForValue.build());
return this;
}
/**
* <pre>
* Array of extended ID UID objects from the given source.
* Supported by Google.
* </pre>
*
* <code>repeated .com.google.openrtb.BidRequest.User.EID.UID uids = 2;</code>
*/
public Builder addAllUids(
java.lang.Iterable<? extends com.particles.mes.protos.openrtb.BidRequest.User.EID.UID> values) {
copyOnWrite();
instance.addAllUids(values);
return this;
}
/**
* <pre>
* Array of extended ID UID objects from the given source.
* Supported by Google.
* </pre>
*
* <code>repeated .com.google.openrtb.BidRequest.User.EID.UID uids = 2;</code>
*/
public Builder clearUids() {
copyOnWrite();
instance.clearUids();
return this;
}
/**
* <pre>
* Array of extended ID UID objects from the given source.
* Supported by Google.
* </pre>
*
* <code>repeated .com.google.openrtb.BidRequest.User.EID.UID uids = 2;</code>
*/
public Builder removeUids(int index) {
copyOnWrite();
instance.removeUids(index);
return this;
}
// @@protoc_insertion_point(builder_scope:com.google.openrtb.BidRequest.User.EID)
}
private byte memoizedIsInitialized = 2;
@java.lang.Override
@java.lang.SuppressWarnings({"unchecked", "fallthrough"})
protected final java.lang.Object dynamicMethod(
com.google.protobuf.GeneratedMessageLite.MethodToInvoke method,
java.lang.Object arg0, java.lang.Object arg1) {
switch (method) {
case NEW_MUTABLE_INSTANCE: {
return new com.particles.mes.protos.openrtb.BidRequest.User.EID();
}
case NEW_BUILDER: {
return new Builder();
}
case BUILD_MESSAGE_INFO: {
java.lang.Object[] objects = new java.lang.Object[] {
"bitField0_",
"source_",
"uids_",
com.particles.mes.protos.openrtb.BidRequest.User.EID.UID.class,
};
java.lang.String info =
"\u0001\u0002\u0000\u0001\u0001\u0002\u0002\u0000\u0001\u0001\u0001\u1008\u0000\u0002" +
"\u041b";
return newMessageInfo(DEFAULT_INSTANCE, info, objects);
}
// fall through
case GET_DEFAULT_INSTANCE: {
return DEFAULT_INSTANCE;
}
case GET_PARSER: {
com.google.protobuf.Parser<com.particles.mes.protos.openrtb.BidRequest.User.EID> parser = PARSER;
if (parser == null) {
synchronized (com.particles.mes.protos.openrtb.BidRequest.User.EID.class) {
parser = PARSER;
if (parser == null) {
parser =
new DefaultInstanceBasedParser<com.particles.mes.protos.openrtb.BidRequest.User.EID>(
DEFAULT_INSTANCE);
PARSER = parser;
}
}
}
return parser;
}
case GET_MEMOIZED_IS_INITIALIZED: {
return memoizedIsInitialized;
}
case SET_MEMOIZED_IS_INITIALIZED: {
memoizedIsInitialized = (byte) (arg0 == null ? 0 : 1);
return null;
}
}
throw new UnsupportedOperationException();
}
// @@protoc_insertion_point(class_scope:com.google.openrtb.BidRequest.User.EID)
private static final com.particles.mes.protos.openrtb.BidRequest.User.EID DEFAULT_INSTANCE;
static {
EID defaultInstance = new EID();
// New instances are implicitly immutable so no need to make
// immutable.
DEFAULT_INSTANCE = defaultInstance;
com.google.protobuf.GeneratedMessageLite.registerDefaultInstance(
EID.class, defaultInstance);
}
public static com.particles.mes.protos.openrtb.BidRequest.User.EID getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static volatile com.google.protobuf.Parser<EID> PARSER;
public static com.google.protobuf.Parser<EID> parser() {
return DEFAULT_INSTANCE.getParserForType();
}
}
private int bitField0_;
public static final int ID_FIELD_NUMBER = 1;
private java.lang.String id_;
/**
* <pre>
* Exchange-specific ID for the user. At least one of id or buyeruid
* is recommended.
* Supported by Google.
* </pre>
*
* <code>optional string id = 1;</code>
* @return Whether the id field is set.
*/
@java.lang.Override
public boolean hasId() {
return ((bitField0_ & 0x00000001) != 0);
}
/**
* <pre>
* Exchange-specific ID for the user. At least one of id or buyeruid
* is recommended.
* Supported by Google.
* </pre>
*
* <code>optional string id = 1;</code>
* @return The id.
*/
@java.lang.Override
public java.lang.String getId() {
return id_;
}
/**
* <pre>
* Exchange-specific ID for the user. At least one of id or buyeruid
* is recommended.
* Supported by Google.
* </pre>
*
* <code>optional string id = 1;</code>
* @return The bytes for id.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getIdBytes() {
return com.google.protobuf.ByteString.copyFromUtf8(id_);
}
/**
* <pre>
* Exchange-specific ID for the user. At least one of id or buyeruid
* is recommended.
* Supported by Google.
* </pre>
*
* <code>optional string id = 1;</code>
* @param value The id to set.
*/
private void setId(
java.lang.String value) {
java.lang.Class<?> valueClass = value.getClass();
bitField0_ |= 0x00000001;
id_ = value;
}
/**
* <pre>
* Exchange-specific ID for the user. At least one of id or buyeruid
* is recommended.
* Supported by Google.
* </pre>
*
* <code>optional string id = 1;</code>
*/
private void clearId() {
bitField0_ = (bitField0_ & ~0x00000001);
id_ = getDefaultInstance().getId();
}
/**
* <pre>
* Exchange-specific ID for the user. At least one of id or buyeruid
* is recommended.
* Supported by Google.
* </pre>
*
* <code>optional string id = 1;</code>
* @param value The bytes for id to set.
*/
private void setIdBytes(
com.google.protobuf.ByteString value) {
id_ = value.toStringUtf8();
bitField0_ |= 0x00000001;
}
public static final int BUYERUID_FIELD_NUMBER = 2;
private java.lang.String buyeruid_;
/**
* <pre>
* Buyer-specific ID for the user as mapped by the exchange for the buyer.
* At least one of buyeruid or id is recommended.
* Supported by Google. Populated with hosted match data.
* </pre>
*
* <code>optional string buyeruid = 2;</code>
* @return Whether the buyeruid field is set.
*/
@java.lang.Override
public boolean hasBuyeruid() {
return ((bitField0_ & 0x00000002) != 0);
}
/**
* <pre>
* Buyer-specific ID for the user as mapped by the exchange for the buyer.
* At least one of buyeruid or id is recommended.
* Supported by Google. Populated with hosted match data.
* </pre>
*
* <code>optional string buyeruid = 2;</code>
* @return The buyeruid.
*/
@java.lang.Override
public java.lang.String getBuyeruid() {
return buyeruid_;
}
/**
* <pre>
* Buyer-specific ID for the user as mapped by the exchange for the buyer.
* At least one of buyeruid or id is recommended.
* Supported by Google. Populated with hosted match data.
* </pre>
*
* <code>optional string buyeruid = 2;</code>
* @return The bytes for buyeruid.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getBuyeruidBytes() {
return com.google.protobuf.ByteString.copyFromUtf8(buyeruid_);
}
/**
* <pre>
* Buyer-specific ID for the user as mapped by the exchange for the buyer.
* At least one of buyeruid or id is recommended.
* Supported by Google. Populated with hosted match data.
* </pre>
*
* <code>optional string buyeruid = 2;</code>
* @param value The buyeruid to set.
*/
private void setBuyeruid(
java.lang.String value) {
java.lang.Class<?> valueClass = value.getClass();
bitField0_ |= 0x00000002;
buyeruid_ = value;
}
/**
* <pre>
* Buyer-specific ID for the user as mapped by the exchange for the buyer.
* At least one of buyeruid or id is recommended.
* Supported by Google. Populated with hosted match data.
* </pre>
*
* <code>optional string buyeruid = 2;</code>
*/
private void clearBuyeruid() {
bitField0_ = (bitField0_ & ~0x00000002);
buyeruid_ = getDefaultInstance().getBuyeruid();
}
/**
* <pre>
* Buyer-specific ID for the user as mapped by the exchange for the buyer.
* At least one of buyeruid or id is recommended.
* Supported by Google. Populated with hosted match data.
* </pre>
*
* <code>optional string buyeruid = 2;</code>
* @param value The bytes for buyeruid to set.
*/
private void setBuyeruidBytes(
com.google.protobuf.ByteString value) {
buyeruid_ = value.toStringUtf8();
bitField0_ |= 0x00000002;
}
public static final int YOB_FIELD_NUMBER = 3;
private int yob_;
/**
* <pre>
* DEPRECATED in OpenRTB 2.6+; no replacement.
* Year of birth as a 4-digit integer.
* Not supported by Google.
* </pre>
*
* <code>optional int32 yob = 3 [deprecated = true];</code>
* @deprecated com.google.openrtb.BidRequest.User.yob is deprecated.
* See openrtb/openrtb-v26.proto;l=1657
* @return Whether the yob field is set.
*/
@java.lang.Override
@java.lang.Deprecated public boolean hasYob() {
return ((bitField0_ & 0x00000004) != 0);
}
/**
* <pre>
* DEPRECATED in OpenRTB 2.6+; no replacement.
* Year of birth as a 4-digit integer.
* Not supported by Google.
* </pre>
*
* <code>optional int32 yob = 3 [deprecated = true];</code>
* @deprecated com.google.openrtb.BidRequest.User.yob is deprecated.
* See openrtb/openrtb-v26.proto;l=1657
* @return The yob.
*/
@java.lang.Override
@java.lang.Deprecated public int getYob() {
return yob_;
}
/**
* <pre>
* DEPRECATED in OpenRTB 2.6+; no replacement.
* Year of birth as a 4-digit integer.
* Not supported by Google.
* </pre>
*
* <code>optional int32 yob = 3 [deprecated = true];</code>
* @deprecated com.google.openrtb.BidRequest.User.yob is deprecated.
* See openrtb/openrtb-v26.proto;l=1657
* @param value The yob to set.
*/
private void setYob(int value) {
bitField0_ |= 0x00000004;
yob_ = value;
}
/**
* <pre>
* DEPRECATED in OpenRTB 2.6+; no replacement.
* Year of birth as a 4-digit integer.
* Not supported by Google.
* </pre>
*
* <code>optional int32 yob = 3 [deprecated = true];</code>
* @deprecated com.google.openrtb.BidRequest.User.yob is deprecated.
* See openrtb/openrtb-v26.proto;l=1657
*/
private void clearYob() {
bitField0_ = (bitField0_ & ~0x00000004);
yob_ = 0;
}
public static final int GENDER_FIELD_NUMBER = 4;
private java.lang.String gender_;
/**
* <pre>
* DEPRECATED in OpenRTB 2.6+; no replacement.
* Gender as "M" male, "F" female, "O" Other. (Null indicates unknown)
* Not supported by Google.
* </pre>
*
* <code>optional string gender = 4 [deprecated = true];</code>
* @deprecated com.google.openrtb.BidRequest.User.gender is deprecated.
* See openrtb/openrtb-v26.proto;l=1662
* @return Whether the gender field is set.
*/
@java.lang.Override
@java.lang.Deprecated public boolean hasGender() {
return ((bitField0_ & 0x00000008) != 0);
}
/**
* <pre>
* DEPRECATED in OpenRTB 2.6+; no replacement.
* Gender as "M" male, "F" female, "O" Other. (Null indicates unknown)
* Not supported by Google.
* </pre>
*
* <code>optional string gender = 4 [deprecated = true];</code>
* @deprecated com.google.openrtb.BidRequest.User.gender is deprecated.
* See openrtb/openrtb-v26.proto;l=1662
* @return The gender.
*/
@java.lang.Override
@java.lang.Deprecated public java.lang.String getGender() {
return gender_;
}
/**
* <pre>
* DEPRECATED in OpenRTB 2.6+; no replacement.
* Gender as "M" male, "F" female, "O" Other. (Null indicates unknown)
* Not supported by Google.
* </pre>
*
* <code>optional string gender = 4 [deprecated = true];</code>
* @deprecated com.google.openrtb.BidRequest.User.gender is deprecated.
* See openrtb/openrtb-v26.proto;l=1662
* @return The bytes for gender.
*/
@java.lang.Override
@java.lang.Deprecated public com.google.protobuf.ByteString
getGenderBytes() {
return com.google.protobuf.ByteString.copyFromUtf8(gender_);
}
/**
* <pre>
* DEPRECATED in OpenRTB 2.6+; no replacement.
* Gender as "M" male, "F" female, "O" Other. (Null indicates unknown)
* Not supported by Google.
* </pre>
*
* <code>optional string gender = 4 [deprecated = true];</code>
* @deprecated com.google.openrtb.BidRequest.User.gender is deprecated.
* See openrtb/openrtb-v26.proto;l=1662
* @param value The gender to set.
*/
private void setGender(
java.lang.String value) {
java.lang.Class<?> valueClass = value.getClass();
bitField0_ |= 0x00000008;
gender_ = value;
}
/**
* <pre>
* DEPRECATED in OpenRTB 2.6+; no replacement.
* Gender as "M" male, "F" female, "O" Other. (Null indicates unknown)
* Not supported by Google.
* </pre>
*
* <code>optional string gender = 4 [deprecated = true];</code>
* @deprecated com.google.openrtb.BidRequest.User.gender is deprecated.
* See openrtb/openrtb-v26.proto;l=1662
*/
private void clearGender() {
bitField0_ = (bitField0_ & ~0x00000008);
gender_ = getDefaultInstance().getGender();
}
/**
* <pre>
* DEPRECATED in OpenRTB 2.6+; no replacement.
* Gender as "M" male, "F" female, "O" Other. (Null indicates unknown)
* Not supported by Google.
* </pre>
*
* <code>optional string gender = 4 [deprecated = true];</code>
* @deprecated com.google.openrtb.BidRequest.User.gender is deprecated.
* See openrtb/openrtb-v26.proto;l=1662
* @param value The bytes for gender to set.
*/
private void setGenderBytes(
com.google.protobuf.ByteString value) {
gender_ = value.toStringUtf8();
bitField0_ |= 0x00000008;
}
public static final int KEYWORDS_FIELD_NUMBER = 5;
private java.lang.String keywords_;
/**
* <pre>
* Comma separated list of keywords, interests, or intent.
* Only one of 'keywords' or 'kwarray' may be present.
* Not supported by Google.
* </pre>
*
* <code>optional string keywords = 5;</code>
* @return Whether the keywords field is set.
*/
@java.lang.Override
public boolean hasKeywords() {
return ((bitField0_ & 0x00000010) != 0);
}
/**
* <pre>
* Comma separated list of keywords, interests, or intent.
* Only one of 'keywords' or 'kwarray' may be present.
* Not supported by Google.
* </pre>
*
* <code>optional string keywords = 5;</code>
* @return The keywords.
*/
@java.lang.Override
public java.lang.String getKeywords() {
return keywords_;
}
/**
* <pre>
* Comma separated list of keywords, interests, or intent.
* Only one of 'keywords' or 'kwarray' may be present.
* Not supported by Google.
* </pre>
*
* <code>optional string keywords = 5;</code>
* @return The bytes for keywords.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getKeywordsBytes() {
return com.google.protobuf.ByteString.copyFromUtf8(keywords_);
}
/**
* <pre>
* Comma separated list of keywords, interests, or intent.
* Only one of 'keywords' or 'kwarray' may be present.
* Not supported by Google.
* </pre>
*
* <code>optional string keywords = 5;</code>
* @param value The keywords to set.
*/
private void setKeywords(
java.lang.String value) {
java.lang.Class<?> valueClass = value.getClass();
bitField0_ |= 0x00000010;
keywords_ = value;
}
/**
* <pre>
* Comma separated list of keywords, interests, or intent.
* Only one of 'keywords' or 'kwarray' may be present.
* Not supported by Google.
* </pre>
*
* <code>optional string keywords = 5;</code>
*/
private void clearKeywords() {
bitField0_ = (bitField0_ & ~0x00000010);
keywords_ = getDefaultInstance().getKeywords();
}
/**
* <pre>
* Comma separated list of keywords, interests, or intent.
* Only one of 'keywords' or 'kwarray' may be present.
* Not supported by Google.
* </pre>
*
* <code>optional string keywords = 5;</code>
* @param value The bytes for keywords to set.
*/
private void setKeywordsBytes(
com.google.protobuf.ByteString value) {
keywords_ = value.toStringUtf8();
bitField0_ |= 0x00000010;
}
public static final int KWARRAY_FIELD_NUMBER = 9;
private com.google.protobuf.Internal.ProtobufList<java.lang.String> kwarray_;
/**
* <pre>
* Array of keywords about the user.
* Only one of 'keywords' or 'kwarray' may be present.
* Not supported by Google.
* </pre>
*
* <code>repeated string kwarray = 9;</code>
* @return A list containing the kwarray.
*/
@java.lang.Override
public java.util.List<java.lang.String> getKwarrayList() {
return kwarray_;
}
/**
* <pre>
* Array of keywords about the user.
* Only one of 'keywords' or 'kwarray' may be present.
* Not supported by Google.
* </pre>
*
* <code>repeated string kwarray = 9;</code>
* @return The count of kwarray.
*/
@java.lang.Override
public int getKwarrayCount() {
return kwarray_.size();
}
/**
* <pre>
* Array of keywords about the user.
* Only one of 'keywords' or 'kwarray' may be present.
* Not supported by Google.
* </pre>
*
* <code>repeated string kwarray = 9;</code>
* @param index The index of the element to return.
* @return The kwarray at the given index.
*/
@java.lang.Override
public java.lang.String getKwarray(int index) {
return kwarray_.get(index);
}
/**
* <pre>
* Array of keywords about the user.
* Only one of 'keywords' or 'kwarray' may be present.
* Not supported by Google.
* </pre>
*
* <code>repeated string kwarray = 9;</code>
* @param index The index of the value to return.
* @return The bytes of the kwarray at the given index.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getKwarrayBytes(int index) {
return com.google.protobuf.ByteString.copyFromUtf8(
kwarray_.get(index));
}
private void ensureKwarrayIsMutable() {
com.google.protobuf.Internal.ProtobufList<java.lang.String> tmp =
kwarray_; if (!tmp.isModifiable()) {
kwarray_ =
com.google.protobuf.GeneratedMessageLite.mutableCopy(tmp);
}
}
/**
* <pre>
* Array of keywords about the user.
* Only one of 'keywords' or 'kwarray' may be present.
* Not supported by Google.
* </pre>
*
* <code>repeated string kwarray = 9;</code>
* @param index The index to set the value at.
* @param value The kwarray to set.
*/
private void setKwarray(
int index, java.lang.String value) {
java.lang.Class<?> valueClass = value.getClass();
ensureKwarrayIsMutable();
kwarray_.set(index, value);
}
/**
* <pre>
* Array of keywords about the user.
* Only one of 'keywords' or 'kwarray' may be present.
* Not supported by Google.
* </pre>
*
* <code>repeated string kwarray = 9;</code>
* @param value The kwarray to add.
*/
private void addKwarray(
java.lang.String value) {
java.lang.Class<?> valueClass = value.getClass();
ensureKwarrayIsMutable();
kwarray_.add(value);
}
/**
* <pre>
* Array of keywords about the user.
* Only one of 'keywords' or 'kwarray' may be present.
* Not supported by Google.
* </pre>
*
* <code>repeated string kwarray = 9;</code>
* @param values The kwarray to add.
*/
private void addAllKwarray(
java.lang.Iterable<java.lang.String> values) {
ensureKwarrayIsMutable();
com.google.protobuf.AbstractMessageLite.addAll(
values, kwarray_);
}
/**
* <pre>
* Array of keywords about the user.
* Only one of 'keywords' or 'kwarray' may be present.
* Not supported by Google.
* </pre>
*
* <code>repeated string kwarray = 9;</code>
*/
private void clearKwarray() {
kwarray_ = com.google.protobuf.GeneratedMessageLite.emptyProtobufList();
}
/**
* <pre>
* Array of keywords about the user.
* Only one of 'keywords' or 'kwarray' may be present.
* Not supported by Google.
* </pre>
*
* <code>repeated string kwarray = 9;</code>
* @param value The bytes of the kwarray to add.
*/
private void addKwarrayBytes(
com.google.protobuf.ByteString value) {
ensureKwarrayIsMutable();
kwarray_.add(value.toStringUtf8());
}
public static final int CUSTOMDATA_FIELD_NUMBER = 6;
private java.lang.String customdata_;
/**
* <pre>
* Optional feature to pass bidder data set in the exchange's cookie.
* The string must be in base85 cookie safe characters and be in any format.
* Proper JSON encoding must be used to include "escaped" quotation marks.
* Supported by Google. Populated with hosted match data.
* </pre>
*
* <code>optional string customdata = 6;</code>
* @return Whether the customdata field is set.
*/
@java.lang.Override
public boolean hasCustomdata() {
return ((bitField0_ & 0x00000020) != 0);
}
/**
* <pre>
* Optional feature to pass bidder data set in the exchange's cookie.
* The string must be in base85 cookie safe characters and be in any format.
* Proper JSON encoding must be used to include "escaped" quotation marks.
* Supported by Google. Populated with hosted match data.
* </pre>
*
* <code>optional string customdata = 6;</code>
* @return The customdata.
*/
@java.lang.Override
public java.lang.String getCustomdata() {
return customdata_;
}
/**
* <pre>
* Optional feature to pass bidder data set in the exchange's cookie.
* The string must be in base85 cookie safe characters and be in any format.
* Proper JSON encoding must be used to include "escaped" quotation marks.
* Supported by Google. Populated with hosted match data.
* </pre>
*
* <code>optional string customdata = 6;</code>
* @return The bytes for customdata.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getCustomdataBytes() {
return com.google.protobuf.ByteString.copyFromUtf8(customdata_);
}
/**
* <pre>
* Optional feature to pass bidder data set in the exchange's cookie.
* The string must be in base85 cookie safe characters and be in any format.
* Proper JSON encoding must be used to include "escaped" quotation marks.
* Supported by Google. Populated with hosted match data.
* </pre>
*
* <code>optional string customdata = 6;</code>
* @param value The customdata to set.
*/
private void setCustomdata(
java.lang.String value) {
java.lang.Class<?> valueClass = value.getClass();
bitField0_ |= 0x00000020;
customdata_ = value;
}
/**
* <pre>
* Optional feature to pass bidder data set in the exchange's cookie.
* The string must be in base85 cookie safe characters and be in any format.
* Proper JSON encoding must be used to include "escaped" quotation marks.
* Supported by Google. Populated with hosted match data.
* </pre>
*
* <code>optional string customdata = 6;</code>
*/
private void clearCustomdata() {
bitField0_ = (bitField0_ & ~0x00000020);
customdata_ = getDefaultInstance().getCustomdata();
}
/**
* <pre>
* Optional feature to pass bidder data set in the exchange's cookie.
* The string must be in base85 cookie safe characters and be in any format.
* Proper JSON encoding must be used to include "escaped" quotation marks.
* Supported by Google. Populated with hosted match data.
* </pre>
*
* <code>optional string customdata = 6;</code>
* @param value The bytes for customdata to set.
*/
private void setCustomdataBytes(
com.google.protobuf.ByteString value) {
customdata_ = value.toStringUtf8();
bitField0_ |= 0x00000020;
}
public static final int GEO_FIELD_NUMBER = 7;
private com.particles.mes.protos.openrtb.BidRequest.Geo geo_;
/**
* <pre>
* Location of the user's home base defined by a Geo object
* (Section 3.2.12). This is not necessarily their current location.
* Not supported by Google.
* </pre>
*
* <code>optional .com.google.openrtb.BidRequest.Geo geo = 7;</code>
*/
@java.lang.Override
public boolean hasGeo() {
return ((bitField0_ & 0x00000040) != 0);
}
/**
* <pre>
* Location of the user's home base defined by a Geo object
* (Section 3.2.12). This is not necessarily their current location.
* Not supported by Google.
* </pre>
*
* <code>optional .com.google.openrtb.BidRequest.Geo geo = 7;</code>
*/
@java.lang.Override
public com.particles.mes.protos.openrtb.BidRequest.Geo getGeo() {
return geo_ == null ? com.particles.mes.protos.openrtb.BidRequest.Geo.getDefaultInstance() : geo_;
}
/**
* <pre>
* Location of the user's home base defined by a Geo object
* (Section 3.2.12). This is not necessarily their current location.
* Not supported by Google.
* </pre>
*
* <code>optional .com.google.openrtb.BidRequest.Geo geo = 7;</code>
*/
private void setGeo(com.particles.mes.protos.openrtb.BidRequest.Geo value) {
value.getClass();
geo_ = value;
bitField0_ |= 0x00000040;
}
/**
* <pre>
* Location of the user's home base defined by a Geo object
* (Section 3.2.12). This is not necessarily their current location.
* Not supported by Google.
* </pre>
*
* <code>optional .com.google.openrtb.BidRequest.Geo geo = 7;</code>
*/
@java.lang.SuppressWarnings({"ReferenceEquality"})
private void mergeGeo(com.particles.mes.protos.openrtb.BidRequest.Geo value) {
value.getClass();
if (geo_ != null &&
geo_ != com.particles.mes.protos.openrtb.BidRequest.Geo.getDefaultInstance()) {
geo_ =
com.particles.mes.protos.openrtb.BidRequest.Geo.newBuilder(geo_).mergeFrom(value).buildPartial();
} else {
geo_ = value;
}
bitField0_ |= 0x00000040;
}
/**
* <pre>
* Location of the user's home base defined by a Geo object
* (Section 3.2.12). This is not necessarily their current location.
* Not supported by Google.
* </pre>
*
* <code>optional .com.google.openrtb.BidRequest.Geo geo = 7;</code>
*/
private void clearGeo() { geo_ = null;
bitField0_ = (bitField0_ & ~0x00000040);
}
public static final int DATA_FIELD_NUMBER = 8;
private com.google.protobuf.Internal.ProtobufList<com.particles.mes.protos.openrtb.BidRequest.Data> data_;
/**
* <pre>
* Additional user data. Each Data object (Section 3.2.14) represents a
* different data source.
* Supported by Google.
* Used for Chrome Topics API and for Publisher Provided Signals:
* https://developers.google.com/authorized-buyers/rtb/topics
* https://support.google.com/admanager/answer/12451124
* </pre>
*
* <code>repeated .com.google.openrtb.BidRequest.Data data = 8;</code>
*/
@java.lang.Override
public java.util.List<com.particles.mes.protos.openrtb.BidRequest.Data> getDataList() {
return data_;
}
/**
* <pre>
* Additional user data. Each Data object (Section 3.2.14) represents a
* different data source.
* Supported by Google.
* Used for Chrome Topics API and for Publisher Provided Signals:
* https://developers.google.com/authorized-buyers/rtb/topics
* https://support.google.com/admanager/answer/12451124
* </pre>
*
* <code>repeated .com.google.openrtb.BidRequest.Data data = 8;</code>
*/
public java.util.List<? extends com.particles.mes.protos.openrtb.BidRequest.DataOrBuilder>
getDataOrBuilderList() {
return data_;
}
/**
* <pre>
* Additional user data. Each Data object (Section 3.2.14) represents a
* different data source.
* Supported by Google.
* Used for Chrome Topics API and for Publisher Provided Signals:
* https://developers.google.com/authorized-buyers/rtb/topics
* https://support.google.com/admanager/answer/12451124
* </pre>
*
* <code>repeated .com.google.openrtb.BidRequest.Data data = 8;</code>
*/
@java.lang.Override
public int getDataCount() {
return data_.size();
}
/**
* <pre>
* Additional user data. Each Data object (Section 3.2.14) represents a
* different data source.
* Supported by Google.
* Used for Chrome Topics API and for Publisher Provided Signals:
* https://developers.google.com/authorized-buyers/rtb/topics
* https://support.google.com/admanager/answer/12451124
* </pre>
*
* <code>repeated .com.google.openrtb.BidRequest.Data data = 8;</code>
*/
@java.lang.Override
public com.particles.mes.protos.openrtb.BidRequest.Data getData(int index) {
return data_.get(index);
}
/**
* <pre>
* Additional user data. Each Data object (Section 3.2.14) represents a
* different data source.
* Supported by Google.
* Used for Chrome Topics API and for Publisher Provided Signals:
* https://developers.google.com/authorized-buyers/rtb/topics
* https://support.google.com/admanager/answer/12451124
* </pre>
*
* <code>repeated .com.google.openrtb.BidRequest.Data data = 8;</code>
*/
public com.particles.mes.protos.openrtb.BidRequest.DataOrBuilder getDataOrBuilder(
int index) {
return data_.get(index);
}
private void ensureDataIsMutable() {
com.google.protobuf.Internal.ProtobufList<com.particles.mes.protos.openrtb.BidRequest.Data> tmp = data_;
if (!tmp.isModifiable()) {
data_ =
com.google.protobuf.GeneratedMessageLite.mutableCopy(tmp);
}
}
/**
* <pre>
* Additional user data. Each Data object (Section 3.2.14) represents a
* different data source.
* Supported by Google.
* Used for Chrome Topics API and for Publisher Provided Signals:
* https://developers.google.com/authorized-buyers/rtb/topics
* https://support.google.com/admanager/answer/12451124
* </pre>
*
* <code>repeated .com.google.openrtb.BidRequest.Data data = 8;</code>
*/
private void setData(
int index, com.particles.mes.protos.openrtb.BidRequest.Data value) {
value.getClass();
ensureDataIsMutable();
data_.set(index, value);
}
/**
* <pre>
* Additional user data. Each Data object (Section 3.2.14) represents a
* different data source.
* Supported by Google.
* Used for Chrome Topics API and for Publisher Provided Signals:
* https://developers.google.com/authorized-buyers/rtb/topics
* https://support.google.com/admanager/answer/12451124
* </pre>
*
* <code>repeated .com.google.openrtb.BidRequest.Data data = 8;</code>
*/
private void addData(com.particles.mes.protos.openrtb.BidRequest.Data value) {
value.getClass();
ensureDataIsMutable();
data_.add(value);
}
/**
* <pre>
* Additional user data. Each Data object (Section 3.2.14) represents a
* different data source.
* Supported by Google.
* Used for Chrome Topics API and for Publisher Provided Signals:
* https://developers.google.com/authorized-buyers/rtb/topics
* https://support.google.com/admanager/answer/12451124
* </pre>
*
* <code>repeated .com.google.openrtb.BidRequest.Data data = 8;</code>
*/
private void addData(
int index, com.particles.mes.protos.openrtb.BidRequest.Data value) {
value.getClass();
ensureDataIsMutable();
data_.add(index, value);
}
/**
* <pre>
* Additional user data. Each Data object (Section 3.2.14) represents a
* different data source.
* Supported by Google.
* Used for Chrome Topics API and for Publisher Provided Signals:
* https://developers.google.com/authorized-buyers/rtb/topics
* https://support.google.com/admanager/answer/12451124
* </pre>
*
* <code>repeated .com.google.openrtb.BidRequest.Data data = 8;</code>
*/
private void addAllData(
java.lang.Iterable<? extends com.particles.mes.protos.openrtb.BidRequest.Data> values) {
ensureDataIsMutable();
com.google.protobuf.AbstractMessageLite.addAll(
values, data_);
}
/**
* <pre>
* Additional user data. Each Data object (Section 3.2.14) represents a
* different data source.
* Supported by Google.
* Used for Chrome Topics API and for Publisher Provided Signals:
* https://developers.google.com/authorized-buyers/rtb/topics
* https://support.google.com/admanager/answer/12451124
* </pre>
*
* <code>repeated .com.google.openrtb.BidRequest.Data data = 8;</code>
*/
private void clearData() {
data_ = emptyProtobufList();
}
/**
* <pre>
* Additional user data. Each Data object (Section 3.2.14) represents a
* different data source.
* Supported by Google.
* Used for Chrome Topics API and for Publisher Provided Signals:
* https://developers.google.com/authorized-buyers/rtb/topics
* https://support.google.com/admanager/answer/12451124
* </pre>
*
* <code>repeated .com.google.openrtb.BidRequest.Data data = 8;</code>
*/
private void removeData(int index) {
ensureDataIsMutable();
data_.remove(index);
}
public static final int CONSENT_FIELD_NUMBER = 10;
private java.lang.String consent_;
/**
* <pre>
* The web-safe base64-encoded IAB Transparency and Consent Framework (TCF)
* v2 consent string fetched from the publisher's IAB Consent Management
* Platform (CMP). The structure of the string is defined by the IAB TCF v2.
* This field will be populated if the publisher has integrated with a CMP
* for TCF v2 and that CMP indicates that GDPR applies to this ad request
* and provides a valid consent string. See
* https://support.google.com/authorizedbuyers/answer/9789378 for additional
* information about the Google TCF v2 integration.
* See the IAB Global Vendor List at
* https://vendor-list.consensu.org/v2/vendor-list.json for details about
* the vendors listed in the consent string.
* Not supported by Google. Google supports the IAB TCFv2 consent string
* with the extension BidRequest.user.ext.consent.
* </pre>
*
* <code>optional string consent = 10;</code>
* @return Whether the consent field is set.
*/
@java.lang.Override
public boolean hasConsent() {
return ((bitField0_ & 0x00000080) != 0);
}
/**
* <pre>
* The web-safe base64-encoded IAB Transparency and Consent Framework (TCF)
* v2 consent string fetched from the publisher's IAB Consent Management
* Platform (CMP). The structure of the string is defined by the IAB TCF v2.
* This field will be populated if the publisher has integrated with a CMP
* for TCF v2 and that CMP indicates that GDPR applies to this ad request
* and provides a valid consent string. See
* https://support.google.com/authorizedbuyers/answer/9789378 for additional
* information about the Google TCF v2 integration.
* See the IAB Global Vendor List at
* https://vendor-list.consensu.org/v2/vendor-list.json for details about
* the vendors listed in the consent string.
* Not supported by Google. Google supports the IAB TCFv2 consent string
* with the extension BidRequest.user.ext.consent.
* </pre>
*
* <code>optional string consent = 10;</code>
* @return The consent.
*/
@java.lang.Override
public java.lang.String getConsent() {
return consent_;
}
/**
* <pre>
* The web-safe base64-encoded IAB Transparency and Consent Framework (TCF)
* v2 consent string fetched from the publisher's IAB Consent Management
* Platform (CMP). The structure of the string is defined by the IAB TCF v2.
* This field will be populated if the publisher has integrated with a CMP
* for TCF v2 and that CMP indicates that GDPR applies to this ad request
* and provides a valid consent string. See
* https://support.google.com/authorizedbuyers/answer/9789378 for additional
* information about the Google TCF v2 integration.
* See the IAB Global Vendor List at
* https://vendor-list.consensu.org/v2/vendor-list.json for details about
* the vendors listed in the consent string.
* Not supported by Google. Google supports the IAB TCFv2 consent string
* with the extension BidRequest.user.ext.consent.
* </pre>
*
* <code>optional string consent = 10;</code>
* @return The bytes for consent.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getConsentBytes() {
return com.google.protobuf.ByteString.copyFromUtf8(consent_);
}
/**
* <pre>
* The web-safe base64-encoded IAB Transparency and Consent Framework (TCF)
* v2 consent string fetched from the publisher's IAB Consent Management
* Platform (CMP). The structure of the string is defined by the IAB TCF v2.
* This field will be populated if the publisher has integrated with a CMP
* for TCF v2 and that CMP indicates that GDPR applies to this ad request
* and provides a valid consent string. See
* https://support.google.com/authorizedbuyers/answer/9789378 for additional
* information about the Google TCF v2 integration.
* See the IAB Global Vendor List at
* https://vendor-list.consensu.org/v2/vendor-list.json for details about
* the vendors listed in the consent string.
* Not supported by Google. Google supports the IAB TCFv2 consent string
* with the extension BidRequest.user.ext.consent.
* </pre>
*
* <code>optional string consent = 10;</code>
* @param value The consent to set.
*/
private void setConsent(
java.lang.String value) {
java.lang.Class<?> valueClass = value.getClass();
bitField0_ |= 0x00000080;
consent_ = value;
}
/**
* <pre>
* The web-safe base64-encoded IAB Transparency and Consent Framework (TCF)
* v2 consent string fetched from the publisher's IAB Consent Management
* Platform (CMP). The structure of the string is defined by the IAB TCF v2.
* This field will be populated if the publisher has integrated with a CMP
* for TCF v2 and that CMP indicates that GDPR applies to this ad request
* and provides a valid consent string. See
* https://support.google.com/authorizedbuyers/answer/9789378 for additional
* information about the Google TCF v2 integration.
* See the IAB Global Vendor List at
* https://vendor-list.consensu.org/v2/vendor-list.json for details about
* the vendors listed in the consent string.
* Not supported by Google. Google supports the IAB TCFv2 consent string
* with the extension BidRequest.user.ext.consent.
* </pre>
*
* <code>optional string consent = 10;</code>
*/
private void clearConsent() {
bitField0_ = (bitField0_ & ~0x00000080);
consent_ = getDefaultInstance().getConsent();
}
/**
* <pre>
* The web-safe base64-encoded IAB Transparency and Consent Framework (TCF)
* v2 consent string fetched from the publisher's IAB Consent Management
* Platform (CMP). The structure of the string is defined by the IAB TCF v2.
* This field will be populated if the publisher has integrated with a CMP
* for TCF v2 and that CMP indicates that GDPR applies to this ad request
* and provides a valid consent string. See
* https://support.google.com/authorizedbuyers/answer/9789378 for additional
* information about the Google TCF v2 integration.
* See the IAB Global Vendor List at
* https://vendor-list.consensu.org/v2/vendor-list.json for details about
* the vendors listed in the consent string.
* Not supported by Google. Google supports the IAB TCFv2 consent string
* with the extension BidRequest.user.ext.consent.
* </pre>
*
* <code>optional string consent = 10;</code>
* @param value The bytes for consent to set.
*/
private void setConsentBytes(
com.google.protobuf.ByteString value) {
consent_ = value.toStringUtf8();
bitField0_ |= 0x00000080;
}
public static final int EIDS_FIELD_NUMBER = 11;
private com.google.protobuf.Internal.ProtobufList<com.particles.mes.protos.openrtb.BidRequest.User.EID> eids_;
/**
* <pre>
* Data made available by the publisher, such as publisher-provided
* identifiers.
* Supported by Google. For Secure Signals, see extension
* BidRequest.user.ext.eids.
* </pre>
*
* <code>repeated .com.google.openrtb.BidRequest.User.EID eids = 11;</code>
*/
@java.lang.Override
public java.util.List<com.particles.mes.protos.openrtb.BidRequest.User.EID> getEidsList() {
return eids_;
}
/**
* <pre>
* Data made available by the publisher, such as publisher-provided
* identifiers.
* Supported by Google. For Secure Signals, see extension
* BidRequest.user.ext.eids.
* </pre>
*
* <code>repeated .com.google.openrtb.BidRequest.User.EID eids = 11;</code>
*/
public java.util.List<? extends com.particles.mes.protos.openrtb.BidRequest.User.EIDOrBuilder>
getEidsOrBuilderList() {
return eids_;
}
/**
* <pre>
* Data made available by the publisher, such as publisher-provided
* identifiers.
* Supported by Google. For Secure Signals, see extension
* BidRequest.user.ext.eids.
* </pre>
*
* <code>repeated .com.google.openrtb.BidRequest.User.EID eids = 11;</code>
*/
@java.lang.Override
public int getEidsCount() {
return eids_.size();
}
/**
* <pre>
* Data made available by the publisher, such as publisher-provided
* identifiers.
* Supported by Google. For Secure Signals, see extension
* BidRequest.user.ext.eids.
* </pre>
*
* <code>repeated .com.google.openrtb.BidRequest.User.EID eids = 11;</code>
*/
@java.lang.Override
public com.particles.mes.protos.openrtb.BidRequest.User.EID getEids(int index) {
return eids_.get(index);
}
/**
* <pre>
* Data made available by the publisher, such as publisher-provided
* identifiers.
* Supported by Google. For Secure Signals, see extension
* BidRequest.user.ext.eids.
* </pre>
*
* <code>repeated .com.google.openrtb.BidRequest.User.EID eids = 11;</code>
*/
public com.particles.mes.protos.openrtb.BidRequest.User.EIDOrBuilder getEidsOrBuilder(
int index) {
return eids_.get(index);
}
private void ensureEidsIsMutable() {
com.google.protobuf.Internal.ProtobufList<com.particles.mes.protos.openrtb.BidRequest.User.EID> tmp = eids_;
if (!tmp.isModifiable()) {
eids_ =
com.google.protobuf.GeneratedMessageLite.mutableCopy(tmp);
}
}
/**
* <pre>
* Data made available by the publisher, such as publisher-provided
* identifiers.
* Supported by Google. For Secure Signals, see extension
* BidRequest.user.ext.eids.
* </pre>
*
* <code>repeated .com.google.openrtb.BidRequest.User.EID eids = 11;</code>
*/
private void setEids(
int index, com.particles.mes.protos.openrtb.BidRequest.User.EID value) {
value.getClass();
ensureEidsIsMutable();
eids_.set(index, value);
}
/**
* <pre>
* Data made available by the publisher, such as publisher-provided
* identifiers.
* Supported by Google. For Secure Signals, see extension
* BidRequest.user.ext.eids.
* </pre>
*
* <code>repeated .com.google.openrtb.BidRequest.User.EID eids = 11;</code>
*/
private void addEids(com.particles.mes.protos.openrtb.BidRequest.User.EID value) {
value.getClass();
ensureEidsIsMutable();
eids_.add(value);
}
/**
* <pre>
* Data made available by the publisher, such as publisher-provided
* identifiers.
* Supported by Google. For Secure Signals, see extension
* BidRequest.user.ext.eids.
* </pre>
*
* <code>repeated .com.google.openrtb.BidRequest.User.EID eids = 11;</code>
*/
private void addEids(
int index, com.particles.mes.protos.openrtb.BidRequest.User.EID value) {
value.getClass();
ensureEidsIsMutable();
eids_.add(index, value);
}
/**
* <pre>
* Data made available by the publisher, such as publisher-provided
* identifiers.
* Supported by Google. For Secure Signals, see extension
* BidRequest.user.ext.eids.
* </pre>
*
* <code>repeated .com.google.openrtb.BidRequest.User.EID eids = 11;</code>
*/
private void addAllEids(
java.lang.Iterable<? extends com.particles.mes.protos.openrtb.BidRequest.User.EID> values) {
ensureEidsIsMutable();
com.google.protobuf.AbstractMessageLite.addAll(
values, eids_);
}
/**
* <pre>
* Data made available by the publisher, such as publisher-provided
* identifiers.
* Supported by Google. For Secure Signals, see extension
* BidRequest.user.ext.eids.
* </pre>
*
* <code>repeated .com.google.openrtb.BidRequest.User.EID eids = 11;</code>
*/
private void clearEids() {
eids_ = emptyProtobufList();
}
/**
* <pre>
* Data made available by the publisher, such as publisher-provided
* identifiers.
* Supported by Google. For Secure Signals, see extension
* BidRequest.user.ext.eids.
* </pre>
*
* <code>repeated .com.google.openrtb.BidRequest.User.EID eids = 11;</code>
*/
private void removeEids(int index) {
ensureEidsIsMutable();
eids_.remove(index);
}
public static final int EXT_FIELD_NUMBER = 90;
private java.lang.String ext_;
/**
* <code>optional string ext = 90;</code>
* @return Whether the ext field is set.
*/
@java.lang.Override
public boolean hasExt() {
return ((bitField0_ & 0x00000100) != 0);
}
/**
* <code>optional string ext = 90;</code>
* @return The ext.
*/
@java.lang.Override
public java.lang.String getExt() {
return ext_;
}
/**
* <code>optional string ext = 90;</code>
* @return The bytes for ext.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getExtBytes() {
return com.google.protobuf.ByteString.copyFromUtf8(ext_);
}
/**
* <code>optional string ext = 90;</code>
* @param value The ext to set.
*/
private void setExt(
java.lang.String value) {
java.lang.Class<?> valueClass = value.getClass();
bitField0_ |= 0x00000100;
ext_ = value;
}
/**
* <code>optional string ext = 90;</code>
*/
private void clearExt() {
bitField0_ = (bitField0_ & ~0x00000100);
ext_ = getDefaultInstance().getExt();
}
/**
* <code>optional string ext = 90;</code>
* @param value The bytes for ext to set.
*/
private void setExtBytes(
com.google.protobuf.ByteString value) {
ext_ = value.toStringUtf8();
bitField0_ |= 0x00000100;
}
public static com.particles.mes.protos.openrtb.BidRequest.User parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, data);
}
public static com.particles.mes.protos.openrtb.BidRequest.User parseFrom(
java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, data, extensionRegistry);
}
public static com.particles.mes.protos.openrtb.BidRequest.User parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, data);
}
public static com.particles.mes.protos.openrtb.BidRequest.User parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, data, extensionRegistry);
}
public static com.particles.mes.protos.openrtb.BidRequest.User parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, data);
}
public static com.particles.mes.protos.openrtb.BidRequest.User parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, data, extensionRegistry);
}
public static com.particles.mes.protos.openrtb.BidRequest.User parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, input);
}
public static com.particles.mes.protos.openrtb.BidRequest.User parseFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, input, extensionRegistry);
}
public static com.particles.mes.protos.openrtb.BidRequest.User parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return parseDelimitedFrom(DEFAULT_INSTANCE, input);
}
public static com.particles.mes.protos.openrtb.BidRequest.User parseDelimitedFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return parseDelimitedFrom(DEFAULT_INSTANCE, input, extensionRegistry);
}
public static com.particles.mes.protos.openrtb.BidRequest.User parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, input);
}
public static com.particles.mes.protos.openrtb.BidRequest.User parseFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, input, extensionRegistry);
}
public static Builder newBuilder() {
return (Builder) DEFAULT_INSTANCE.createBuilder();
}
public static Builder newBuilder(com.particles.mes.protos.openrtb.BidRequest.User prototype) {
return (Builder) DEFAULT_INSTANCE.createBuilder(prototype);
}
/**
* <pre>
* OpenRTB 2.0: This object contains information known or derived about
* the human user of the device (for example, the audience for advertising).
* The user id is an exchange artifact and may be subject to rotation or other
* privacy policies. However, this user ID must be stable long enough to serve
* reasonably as the basis for frequency capping and retargeting.
* </pre>
*
* Protobuf type {@code com.google.openrtb.BidRequest.User}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageLite.ExtendableBuilder<
com.particles.mes.protos.openrtb.BidRequest.User, Builder> implements
// @@protoc_insertion_point(builder_implements:com.google.openrtb.BidRequest.User)
com.particles.mes.protos.openrtb.BidRequest.UserOrBuilder {
// Construct using com.particles.mes.protos.openrtb.BidRequest.User.newBuilder()
private Builder() {
super(DEFAULT_INSTANCE);
}
/**
* <pre>
* Exchange-specific ID for the user. At least one of id or buyeruid
* is recommended.
* Supported by Google.
* </pre>
*
* <code>optional string id = 1;</code>
* @return Whether the id field is set.
*/
@java.lang.Override
public boolean hasId() {
return instance.hasId();
}
/**
* <pre>
* Exchange-specific ID for the user. At least one of id or buyeruid
* is recommended.
* Supported by Google.
* </pre>
*
* <code>optional string id = 1;</code>
* @return The id.
*/
@java.lang.Override
public java.lang.String getId() {
return instance.getId();
}
/**
* <pre>
* Exchange-specific ID for the user. At least one of id or buyeruid
* is recommended.
* Supported by Google.
* </pre>
*
* <code>optional string id = 1;</code>
* @return The bytes for id.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getIdBytes() {
return instance.getIdBytes();
}
/**
* <pre>
* Exchange-specific ID for the user. At least one of id or buyeruid
* is recommended.
* Supported by Google.
* </pre>
*
* <code>optional string id = 1;</code>
* @param value The id to set.
* @return This builder for chaining.
*/
public Builder setId(
java.lang.String value) {
copyOnWrite();
instance.setId(value);
return this;
}
/**
* <pre>
* Exchange-specific ID for the user. At least one of id or buyeruid
* is recommended.
* Supported by Google.
* </pre>
*
* <code>optional string id = 1;</code>
* @return This builder for chaining.
*/
public Builder clearId() {
copyOnWrite();
instance.clearId();
return this;
}
/**
* <pre>
* Exchange-specific ID for the user. At least one of id or buyeruid
* is recommended.
* Supported by Google.
* </pre>
*
* <code>optional string id = 1;</code>
* @param value The bytes for id to set.
* @return This builder for chaining.
*/
public Builder setIdBytes(
com.google.protobuf.ByteString value) {
copyOnWrite();
instance.setIdBytes(value);
return this;
}
/**
* <pre>
* Buyer-specific ID for the user as mapped by the exchange for the buyer.
* At least one of buyeruid or id is recommended.
* Supported by Google. Populated with hosted match data.
* </pre>
*
* <code>optional string buyeruid = 2;</code>
* @return Whether the buyeruid field is set.
*/
@java.lang.Override
public boolean hasBuyeruid() {
return instance.hasBuyeruid();
}
/**
* <pre>
* Buyer-specific ID for the user as mapped by the exchange for the buyer.
* At least one of buyeruid or id is recommended.
* Supported by Google. Populated with hosted match data.
* </pre>
*
* <code>optional string buyeruid = 2;</code>
* @return The buyeruid.
*/
@java.lang.Override
public java.lang.String getBuyeruid() {
return instance.getBuyeruid();
}
/**
* <pre>
* Buyer-specific ID for the user as mapped by the exchange for the buyer.
* At least one of buyeruid or id is recommended.
* Supported by Google. Populated with hosted match data.
* </pre>
*
* <code>optional string buyeruid = 2;</code>
* @return The bytes for buyeruid.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getBuyeruidBytes() {
return instance.getBuyeruidBytes();
}
/**
* <pre>
* Buyer-specific ID for the user as mapped by the exchange for the buyer.
* At least one of buyeruid or id is recommended.
* Supported by Google. Populated with hosted match data.
* </pre>
*
* <code>optional string buyeruid = 2;</code>
* @param value The buyeruid to set.
* @return This builder for chaining.
*/
public Builder setBuyeruid(
java.lang.String value) {
copyOnWrite();
instance.setBuyeruid(value);
return this;
}
/**
* <pre>
* Buyer-specific ID for the user as mapped by the exchange for the buyer.
* At least one of buyeruid or id is recommended.
* Supported by Google. Populated with hosted match data.
* </pre>
*
* <code>optional string buyeruid = 2;</code>
* @return This builder for chaining.
*/
public Builder clearBuyeruid() {
copyOnWrite();
instance.clearBuyeruid();
return this;
}
/**
* <pre>
* Buyer-specific ID for the user as mapped by the exchange for the buyer.
* At least one of buyeruid or id is recommended.
* Supported by Google. Populated with hosted match data.
* </pre>
*
* <code>optional string buyeruid = 2;</code>
* @param value The bytes for buyeruid to set.
* @return This builder for chaining.
*/
public Builder setBuyeruidBytes(
com.google.protobuf.ByteString value) {
copyOnWrite();
instance.setBuyeruidBytes(value);
return this;
}
/**
* <pre>
* DEPRECATED in OpenRTB 2.6+; no replacement.
* Year of birth as a 4-digit integer.
* Not supported by Google.
* </pre>
*
* <code>optional int32 yob = 3 [deprecated = true];</code>
* @deprecated com.google.openrtb.BidRequest.User.yob is deprecated.
* See openrtb/openrtb-v26.proto;l=1657
* @return Whether the yob field is set.
*/
@java.lang.Override
@java.lang.Deprecated public boolean hasYob() {
return instance.hasYob();
}
/**
* <pre>
* DEPRECATED in OpenRTB 2.6+; no replacement.
* Year of birth as a 4-digit integer.
* Not supported by Google.
* </pre>
*
* <code>optional int32 yob = 3 [deprecated = true];</code>
* @deprecated com.google.openrtb.BidRequest.User.yob is deprecated.
* See openrtb/openrtb-v26.proto;l=1657
* @return The yob.
*/
@java.lang.Override
@java.lang.Deprecated public int getYob() {
return instance.getYob();
}
/**
* <pre>
* DEPRECATED in OpenRTB 2.6+; no replacement.
* Year of birth as a 4-digit integer.
* Not supported by Google.
* </pre>
*
* <code>optional int32 yob = 3 [deprecated = true];</code>
* @deprecated com.google.openrtb.BidRequest.User.yob is deprecated.
* See openrtb/openrtb-v26.proto;l=1657
* @param value The yob to set.
* @return This builder for chaining.
*/
@java.lang.Deprecated public Builder setYob(int value) {
copyOnWrite();
instance.setYob(value);
return this;
}
/**
* <pre>
* DEPRECATED in OpenRTB 2.6+; no replacement.
* Year of birth as a 4-digit integer.
* Not supported by Google.
* </pre>
*
* <code>optional int32 yob = 3 [deprecated = true];</code>
* @deprecated com.google.openrtb.BidRequest.User.yob is deprecated.
* See openrtb/openrtb-v26.proto;l=1657
* @return This builder for chaining.
*/
@java.lang.Deprecated public Builder clearYob() {
copyOnWrite();
instance.clearYob();
return this;
}
/**
* <pre>
* DEPRECATED in OpenRTB 2.6+; no replacement.
* Gender as "M" male, "F" female, "O" Other. (Null indicates unknown)
* Not supported by Google.
* </pre>
*
* <code>optional string gender = 4 [deprecated = true];</code>
* @deprecated com.google.openrtb.BidRequest.User.gender is deprecated.
* See openrtb/openrtb-v26.proto;l=1662
* @return Whether the gender field is set.
*/
@java.lang.Override
@java.lang.Deprecated public boolean hasGender() {
return instance.hasGender();
}
/**
* <pre>
* DEPRECATED in OpenRTB 2.6+; no replacement.
* Gender as "M" male, "F" female, "O" Other. (Null indicates unknown)
* Not supported by Google.
* </pre>
*
* <code>optional string gender = 4 [deprecated = true];</code>
* @deprecated com.google.openrtb.BidRequest.User.gender is deprecated.
* See openrtb/openrtb-v26.proto;l=1662
* @return The gender.
*/
@java.lang.Override
@java.lang.Deprecated public java.lang.String getGender() {
return instance.getGender();
}
/**
* <pre>
* DEPRECATED in OpenRTB 2.6+; no replacement.
* Gender as "M" male, "F" female, "O" Other. (Null indicates unknown)
* Not supported by Google.
* </pre>
*
* <code>optional string gender = 4 [deprecated = true];</code>
* @deprecated com.google.openrtb.BidRequest.User.gender is deprecated.
* See openrtb/openrtb-v26.proto;l=1662
* @return The bytes for gender.
*/
@java.lang.Override
@java.lang.Deprecated public com.google.protobuf.ByteString
getGenderBytes() {
return instance.getGenderBytes();
}
/**
* <pre>
* DEPRECATED in OpenRTB 2.6+; no replacement.
* Gender as "M" male, "F" female, "O" Other. (Null indicates unknown)
* Not supported by Google.
* </pre>
*
* <code>optional string gender = 4 [deprecated = true];</code>
* @deprecated com.google.openrtb.BidRequest.User.gender is deprecated.
* See openrtb/openrtb-v26.proto;l=1662
* @param value The gender to set.
* @return This builder for chaining.
*/
@java.lang.Deprecated public Builder setGender(
java.lang.String value) {
copyOnWrite();
instance.setGender(value);
return this;
}
/**
* <pre>
* DEPRECATED in OpenRTB 2.6+; no replacement.
* Gender as "M" male, "F" female, "O" Other. (Null indicates unknown)
* Not supported by Google.
* </pre>
*
* <code>optional string gender = 4 [deprecated = true];</code>
* @deprecated com.google.openrtb.BidRequest.User.gender is deprecated.
* See openrtb/openrtb-v26.proto;l=1662
* @return This builder for chaining.
*/
@java.lang.Deprecated public Builder clearGender() {
copyOnWrite();
instance.clearGender();
return this;
}
/**
* <pre>
* DEPRECATED in OpenRTB 2.6+; no replacement.
* Gender as "M" male, "F" female, "O" Other. (Null indicates unknown)
* Not supported by Google.
* </pre>
*
* <code>optional string gender = 4 [deprecated = true];</code>
* @deprecated com.google.openrtb.BidRequest.User.gender is deprecated.
* See openrtb/openrtb-v26.proto;l=1662
* @param value The bytes for gender to set.
* @return This builder for chaining.
*/
@java.lang.Deprecated public Builder setGenderBytes(
com.google.protobuf.ByteString value) {
copyOnWrite();
instance.setGenderBytes(value);
return this;
}
/**
* <pre>
* Comma separated list of keywords, interests, or intent.
* Only one of 'keywords' or 'kwarray' may be present.
* Not supported by Google.
* </pre>
*
* <code>optional string keywords = 5;</code>
* @return Whether the keywords field is set.
*/
@java.lang.Override
public boolean hasKeywords() {
return instance.hasKeywords();
}
/**
* <pre>
* Comma separated list of keywords, interests, or intent.
* Only one of 'keywords' or 'kwarray' may be present.
* Not supported by Google.
* </pre>
*
* <code>optional string keywords = 5;</code>
* @return The keywords.
*/
@java.lang.Override
public java.lang.String getKeywords() {
return instance.getKeywords();
}
/**
* <pre>
* Comma separated list of keywords, interests, or intent.
* Only one of 'keywords' or 'kwarray' may be present.
* Not supported by Google.
* </pre>
*
* <code>optional string keywords = 5;</code>
* @return The bytes for keywords.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getKeywordsBytes() {
return instance.getKeywordsBytes();
}
/**
* <pre>
* Comma separated list of keywords, interests, or intent.
* Only one of 'keywords' or 'kwarray' may be present.
* Not supported by Google.
* </pre>
*
* <code>optional string keywords = 5;</code>
* @param value The keywords to set.
* @return This builder for chaining.
*/
public Builder setKeywords(
java.lang.String value) {
copyOnWrite();
instance.setKeywords(value);
return this;
}
/**
* <pre>
* Comma separated list of keywords, interests, or intent.
* Only one of 'keywords' or 'kwarray' may be present.
* Not supported by Google.
* </pre>
*
* <code>optional string keywords = 5;</code>
* @return This builder for chaining.
*/
public Builder clearKeywords() {
copyOnWrite();
instance.clearKeywords();
return this;
}
/**
* <pre>
* Comma separated list of keywords, interests, or intent.
* Only one of 'keywords' or 'kwarray' may be present.
* Not supported by Google.
* </pre>
*
* <code>optional string keywords = 5;</code>
* @param value The bytes for keywords to set.
* @return This builder for chaining.
*/
public Builder setKeywordsBytes(
com.google.protobuf.ByteString value) {
copyOnWrite();
instance.setKeywordsBytes(value);
return this;
}
/**
* <pre>
* Array of keywords about the user.
* Only one of 'keywords' or 'kwarray' may be present.
* Not supported by Google.
* </pre>
*
* <code>repeated string kwarray = 9;</code>
* @return A list containing the kwarray.
*/
@java.lang.Override
public java.util.List<java.lang.String>
getKwarrayList() {
return java.util.Collections.unmodifiableList(
instance.getKwarrayList());
}
/**
* <pre>
* Array of keywords about the user.
* Only one of 'keywords' or 'kwarray' may be present.
* Not supported by Google.
* </pre>
*
* <code>repeated string kwarray = 9;</code>
* @return The count of kwarray.
*/
@java.lang.Override
public int getKwarrayCount() {
return instance.getKwarrayCount();
}
/**
* <pre>
* Array of keywords about the user.
* Only one of 'keywords' or 'kwarray' may be present.
* Not supported by Google.
* </pre>
*
* <code>repeated string kwarray = 9;</code>
* @param index The index of the element to return.
* @return The kwarray at the given index.
*/
@java.lang.Override
public java.lang.String getKwarray(int index) {
return instance.getKwarray(index);
}
/**
* <pre>
* Array of keywords about the user.
* Only one of 'keywords' or 'kwarray' may be present.
* Not supported by Google.
* </pre>
*
* <code>repeated string kwarray = 9;</code>
* @param index The index of the value to return.
* @return The bytes of the kwarray at the given index.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getKwarrayBytes(int index) {
return instance.getKwarrayBytes(index);
}
/**
* <pre>
* Array of keywords about the user.
* Only one of 'keywords' or 'kwarray' may be present.
* Not supported by Google.
* </pre>
*
* <code>repeated string kwarray = 9;</code>
* @param index The index to set the value at.
* @param value The kwarray to set.
* @return This builder for chaining.
*/
public Builder setKwarray(
int index, java.lang.String value) {
copyOnWrite();
instance.setKwarray(index, value);
return this;
}
/**
* <pre>
* Array of keywords about the user.
* Only one of 'keywords' or 'kwarray' may be present.
* Not supported by Google.
* </pre>
*
* <code>repeated string kwarray = 9;</code>
* @param value The kwarray to add.
* @return This builder for chaining.
*/
public Builder addKwarray(
java.lang.String value) {
copyOnWrite();
instance.addKwarray(value);
return this;
}
/**
* <pre>
* Array of keywords about the user.
* Only one of 'keywords' or 'kwarray' may be present.
* Not supported by Google.
* </pre>
*
* <code>repeated string kwarray = 9;</code>
* @param values The kwarray to add.
* @return This builder for chaining.
*/
public Builder addAllKwarray(
java.lang.Iterable<java.lang.String> values) {
copyOnWrite();
instance.addAllKwarray(values);
return this;
}
/**
* <pre>
* Array of keywords about the user.
* Only one of 'keywords' or 'kwarray' may be present.
* Not supported by Google.
* </pre>
*
* <code>repeated string kwarray = 9;</code>
* @return This builder for chaining.
*/
public Builder clearKwarray() {
copyOnWrite();
instance.clearKwarray();
return this;
}
/**
* <pre>
* Array of keywords about the user.
* Only one of 'keywords' or 'kwarray' may be present.
* Not supported by Google.
* </pre>
*
* <code>repeated string kwarray = 9;</code>
* @param value The bytes of the kwarray to add.
* @return This builder for chaining.
*/
public Builder addKwarrayBytes(
com.google.protobuf.ByteString value) {
copyOnWrite();
instance.addKwarrayBytes(value);
return this;
}
/**
* <pre>
* Optional feature to pass bidder data set in the exchange's cookie.
* The string must be in base85 cookie safe characters and be in any format.
* Proper JSON encoding must be used to include "escaped" quotation marks.
* Supported by Google. Populated with hosted match data.
* </pre>
*
* <code>optional string customdata = 6;</code>
* @return Whether the customdata field is set.
*/
@java.lang.Override
public boolean hasCustomdata() {
return instance.hasCustomdata();
}
/**
* <pre>
* Optional feature to pass bidder data set in the exchange's cookie.
* The string must be in base85 cookie safe characters and be in any format.
* Proper JSON encoding must be used to include "escaped" quotation marks.
* Supported by Google. Populated with hosted match data.
* </pre>
*
* <code>optional string customdata = 6;</code>
* @return The customdata.
*/
@java.lang.Override
public java.lang.String getCustomdata() {
return instance.getCustomdata();
}
/**
* <pre>
* Optional feature to pass bidder data set in the exchange's cookie.
* The string must be in base85 cookie safe characters and be in any format.
* Proper JSON encoding must be used to include "escaped" quotation marks.
* Supported by Google. Populated with hosted match data.
* </pre>
*
* <code>optional string customdata = 6;</code>
* @return The bytes for customdata.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getCustomdataBytes() {
return instance.getCustomdataBytes();
}
/**
* <pre>
* Optional feature to pass bidder data set in the exchange's cookie.
* The string must be in base85 cookie safe characters and be in any format.
* Proper JSON encoding must be used to include "escaped" quotation marks.
* Supported by Google. Populated with hosted match data.
* </pre>
*
* <code>optional string customdata = 6;</code>
* @param value The customdata to set.
* @return This builder for chaining.
*/
public Builder setCustomdata(
java.lang.String value) {
copyOnWrite();
instance.setCustomdata(value);
return this;
}
/**
* <pre>
* Optional feature to pass bidder data set in the exchange's cookie.
* The string must be in base85 cookie safe characters and be in any format.
* Proper JSON encoding must be used to include "escaped" quotation marks.
* Supported by Google. Populated with hosted match data.
* </pre>
*
* <code>optional string customdata = 6;</code>
* @return This builder for chaining.
*/
public Builder clearCustomdata() {
copyOnWrite();
instance.clearCustomdata();
return this;
}
/**
* <pre>
* Optional feature to pass bidder data set in the exchange's cookie.
* The string must be in base85 cookie safe characters and be in any format.
* Proper JSON encoding must be used to include "escaped" quotation marks.
* Supported by Google. Populated with hosted match data.
* </pre>
*
* <code>optional string customdata = 6;</code>
* @param value The bytes for customdata to set.
* @return This builder for chaining.
*/
public Builder setCustomdataBytes(
com.google.protobuf.ByteString value) {
copyOnWrite();
instance.setCustomdataBytes(value);
return this;
}
/**
* <pre>
* Location of the user's home base defined by a Geo object
* (Section 3.2.12). This is not necessarily their current location.
* Not supported by Google.
* </pre>
*
* <code>optional .com.google.openrtb.BidRequest.Geo geo = 7;</code>
*/
@java.lang.Override
public boolean hasGeo() {
return instance.hasGeo();
}
/**
* <pre>
* Location of the user's home base defined by a Geo object
* (Section 3.2.12). This is not necessarily their current location.
* Not supported by Google.
* </pre>
*
* <code>optional .com.google.openrtb.BidRequest.Geo geo = 7;</code>
*/
@java.lang.Override
public com.particles.mes.protos.openrtb.BidRequest.Geo getGeo() {
return instance.getGeo();
}
/**
* <pre>
* Location of the user's home base defined by a Geo object
* (Section 3.2.12). This is not necessarily their current location.
* Not supported by Google.
* </pre>
*
* <code>optional .com.google.openrtb.BidRequest.Geo geo = 7;</code>
*/
public Builder setGeo(com.particles.mes.protos.openrtb.BidRequest.Geo value) {
copyOnWrite();
instance.setGeo(value);
return this;
}
/**
* <pre>
* Location of the user's home base defined by a Geo object
* (Section 3.2.12). This is not necessarily their current location.
* Not supported by Google.
* </pre>
*
* <code>optional .com.google.openrtb.BidRequest.Geo geo = 7;</code>
*/
public Builder setGeo(
com.particles.mes.protos.openrtb.BidRequest.Geo.Builder builderForValue) {
copyOnWrite();
instance.setGeo(builderForValue.build());
return this;
}
/**
* <pre>
* Location of the user's home base defined by a Geo object
* (Section 3.2.12). This is not necessarily their current location.
* Not supported by Google.
* </pre>
*
* <code>optional .com.google.openrtb.BidRequest.Geo geo = 7;</code>
*/
public Builder mergeGeo(com.particles.mes.protos.openrtb.BidRequest.Geo value) {
copyOnWrite();
instance.mergeGeo(value);
return this;
}
/**
* <pre>
* Location of the user's home base defined by a Geo object
* (Section 3.2.12). This is not necessarily their current location.
* Not supported by Google.
* </pre>
*
* <code>optional .com.google.openrtb.BidRequest.Geo geo = 7;</code>
*/
public Builder clearGeo() { copyOnWrite();
instance.clearGeo();
return this;
}
/**
* <pre>
* Additional user data. Each Data object (Section 3.2.14) represents a
* different data source.
* Supported by Google.
* Used for Chrome Topics API and for Publisher Provided Signals:
* https://developers.google.com/authorized-buyers/rtb/topics
* https://support.google.com/admanager/answer/12451124
* </pre>
*
* <code>repeated .com.google.openrtb.BidRequest.Data data = 8;</code>
*/
@java.lang.Override
public java.util.List<com.particles.mes.protos.openrtb.BidRequest.Data> getDataList() {
return java.util.Collections.unmodifiableList(
instance.getDataList());
}
/**
* <pre>
* Additional user data. Each Data object (Section 3.2.14) represents a
* different data source.
* Supported by Google.
* Used for Chrome Topics API and for Publisher Provided Signals:
* https://developers.google.com/authorized-buyers/rtb/topics
* https://support.google.com/admanager/answer/12451124
* </pre>
*
* <code>repeated .com.google.openrtb.BidRequest.Data data = 8;</code>
*/
@java.lang.Override
public int getDataCount() {
return instance.getDataCount();
}/**
* <pre>
* Additional user data. Each Data object (Section 3.2.14) represents a
* different data source.
* Supported by Google.
* Used for Chrome Topics API and for Publisher Provided Signals:
* https://developers.google.com/authorized-buyers/rtb/topics
* https://support.google.com/admanager/answer/12451124
* </pre>
*
* <code>repeated .com.google.openrtb.BidRequest.Data data = 8;</code>
*/
@java.lang.Override
public com.particles.mes.protos.openrtb.BidRequest.Data getData(int index) {
return instance.getData(index);
}
/**
* <pre>
* Additional user data. Each Data object (Section 3.2.14) represents a
* different data source.
* Supported by Google.
* Used for Chrome Topics API and for Publisher Provided Signals:
* https://developers.google.com/authorized-buyers/rtb/topics
* https://support.google.com/admanager/answer/12451124
* </pre>
*
* <code>repeated .com.google.openrtb.BidRequest.Data data = 8;</code>
*/
public Builder setData(
int index, com.particles.mes.protos.openrtb.BidRequest.Data value) {
copyOnWrite();
instance.setData(index, value);
return this;
}
/**
* <pre>
* Additional user data. Each Data object (Section 3.2.14) represents a
* different data source.
* Supported by Google.
* Used for Chrome Topics API and for Publisher Provided Signals:
* https://developers.google.com/authorized-buyers/rtb/topics
* https://support.google.com/admanager/answer/12451124
* </pre>
*
* <code>repeated .com.google.openrtb.BidRequest.Data data = 8;</code>
*/
public Builder setData(
int index, com.particles.mes.protos.openrtb.BidRequest.Data.Builder builderForValue) {
copyOnWrite();
instance.setData(index,
builderForValue.build());
return this;
}
/**
* <pre>
* Additional user data. Each Data object (Section 3.2.14) represents a
* different data source.
* Supported by Google.
* Used for Chrome Topics API and for Publisher Provided Signals:
* https://developers.google.com/authorized-buyers/rtb/topics
* https://support.google.com/admanager/answer/12451124
* </pre>
*
* <code>repeated .com.google.openrtb.BidRequest.Data data = 8;</code>
*/
public Builder addData(com.particles.mes.protos.openrtb.BidRequest.Data value) {
copyOnWrite();
instance.addData(value);
return this;
}
/**
* <pre>
* Additional user data. Each Data object (Section 3.2.14) represents a
* different data source.
* Supported by Google.
* Used for Chrome Topics API and for Publisher Provided Signals:
* https://developers.google.com/authorized-buyers/rtb/topics
* https://support.google.com/admanager/answer/12451124
* </pre>
*
* <code>repeated .com.google.openrtb.BidRequest.Data data = 8;</code>
*/
public Builder addData(
int index, com.particles.mes.protos.openrtb.BidRequest.Data value) {
copyOnWrite();
instance.addData(index, value);
return this;
}
/**
* <pre>
* Additional user data. Each Data object (Section 3.2.14) represents a
* different data source.
* Supported by Google.
* Used for Chrome Topics API and for Publisher Provided Signals:
* https://developers.google.com/authorized-buyers/rtb/topics
* https://support.google.com/admanager/answer/12451124
* </pre>
*
* <code>repeated .com.google.openrtb.BidRequest.Data data = 8;</code>
*/
public Builder addData(
com.particles.mes.protos.openrtb.BidRequest.Data.Builder builderForValue) {
copyOnWrite();
instance.addData(builderForValue.build());
return this;
}
/**
* <pre>
* Additional user data. Each Data object (Section 3.2.14) represents a
* different data source.
* Supported by Google.
* Used for Chrome Topics API and for Publisher Provided Signals:
* https://developers.google.com/authorized-buyers/rtb/topics
* https://support.google.com/admanager/answer/12451124
* </pre>
*
* <code>repeated .com.google.openrtb.BidRequest.Data data = 8;</code>
*/
public Builder addData(
int index, com.particles.mes.protos.openrtb.BidRequest.Data.Builder builderForValue) {
copyOnWrite();
instance.addData(index,
builderForValue.build());
return this;
}
/**
* <pre>
* Additional user data. Each Data object (Section 3.2.14) represents a
* different data source.
* Supported by Google.
* Used for Chrome Topics API and for Publisher Provided Signals:
* https://developers.google.com/authorized-buyers/rtb/topics
* https://support.google.com/admanager/answer/12451124
* </pre>
*
* <code>repeated .com.google.openrtb.BidRequest.Data data = 8;</code>
*/
public Builder addAllData(
java.lang.Iterable<? extends com.particles.mes.protos.openrtb.BidRequest.Data> values) {
copyOnWrite();
instance.addAllData(values);
return this;
}
/**
* <pre>
* Additional user data. Each Data object (Section 3.2.14) represents a
* different data source.
* Supported by Google.
* Used for Chrome Topics API and for Publisher Provided Signals:
* https://developers.google.com/authorized-buyers/rtb/topics
* https://support.google.com/admanager/answer/12451124
* </pre>
*
* <code>repeated .com.google.openrtb.BidRequest.Data data = 8;</code>
*/
public Builder clearData() {
copyOnWrite();
instance.clearData();
return this;
}
/**
* <pre>
* Additional user data. Each Data object (Section 3.2.14) represents a
* different data source.
* Supported by Google.
* Used for Chrome Topics API and for Publisher Provided Signals:
* https://developers.google.com/authorized-buyers/rtb/topics
* https://support.google.com/admanager/answer/12451124
* </pre>
*
* <code>repeated .com.google.openrtb.BidRequest.Data data = 8;</code>
*/
public Builder removeData(int index) {
copyOnWrite();
instance.removeData(index);
return this;
}
/**
* <pre>
* The web-safe base64-encoded IAB Transparency and Consent Framework (TCF)
* v2 consent string fetched from the publisher's IAB Consent Management
* Platform (CMP). The structure of the string is defined by the IAB TCF v2.
* This field will be populated if the publisher has integrated with a CMP
* for TCF v2 and that CMP indicates that GDPR applies to this ad request
* and provides a valid consent string. See
* https://support.google.com/authorizedbuyers/answer/9789378 for additional
* information about the Google TCF v2 integration.
* See the IAB Global Vendor List at
* https://vendor-list.consensu.org/v2/vendor-list.json for details about
* the vendors listed in the consent string.
* Not supported by Google. Google supports the IAB TCFv2 consent string
* with the extension BidRequest.user.ext.consent.
* </pre>
*
* <code>optional string consent = 10;</code>
* @return Whether the consent field is set.
*/
@java.lang.Override
public boolean hasConsent() {
return instance.hasConsent();
}
/**
* <pre>
* The web-safe base64-encoded IAB Transparency and Consent Framework (TCF)
* v2 consent string fetched from the publisher's IAB Consent Management
* Platform (CMP). The structure of the string is defined by the IAB TCF v2.
* This field will be populated if the publisher has integrated with a CMP
* for TCF v2 and that CMP indicates that GDPR applies to this ad request
* and provides a valid consent string. See
* https://support.google.com/authorizedbuyers/answer/9789378 for additional
* information about the Google TCF v2 integration.
* See the IAB Global Vendor List at
* https://vendor-list.consensu.org/v2/vendor-list.json for details about
* the vendors listed in the consent string.
* Not supported by Google. Google supports the IAB TCFv2 consent string
* with the extension BidRequest.user.ext.consent.
* </pre>
*
* <code>optional string consent = 10;</code>
* @return The consent.
*/
@java.lang.Override
public java.lang.String getConsent() {
return instance.getConsent();
}
/**
* <pre>
* The web-safe base64-encoded IAB Transparency and Consent Framework (TCF)
* v2 consent string fetched from the publisher's IAB Consent Management
* Platform (CMP). The structure of the string is defined by the IAB TCF v2.
* This field will be populated if the publisher has integrated with a CMP
* for TCF v2 and that CMP indicates that GDPR applies to this ad request
* and provides a valid consent string. See
* https://support.google.com/authorizedbuyers/answer/9789378 for additional
* information about the Google TCF v2 integration.
* See the IAB Global Vendor List at
* https://vendor-list.consensu.org/v2/vendor-list.json for details about
* the vendors listed in the consent string.
* Not supported by Google. Google supports the IAB TCFv2 consent string
* with the extension BidRequest.user.ext.consent.
* </pre>
*
* <code>optional string consent = 10;</code>
* @return The bytes for consent.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getConsentBytes() {
return instance.getConsentBytes();
}
/**
* <pre>
* The web-safe base64-encoded IAB Transparency and Consent Framework (TCF)
* v2 consent string fetched from the publisher's IAB Consent Management
* Platform (CMP). The structure of the string is defined by the IAB TCF v2.
* This field will be populated if the publisher has integrated with a CMP
* for TCF v2 and that CMP indicates that GDPR applies to this ad request
* and provides a valid consent string. See
* https://support.google.com/authorizedbuyers/answer/9789378 for additional
* information about the Google TCF v2 integration.
* See the IAB Global Vendor List at
* https://vendor-list.consensu.org/v2/vendor-list.json for details about
* the vendors listed in the consent string.
* Not supported by Google. Google supports the IAB TCFv2 consent string
* with the extension BidRequest.user.ext.consent.
* </pre>
*
* <code>optional string consent = 10;</code>
* @param value The consent to set.
* @return This builder for chaining.
*/
public Builder setConsent(
java.lang.String value) {
copyOnWrite();
instance.setConsent(value);
return this;
}
/**
* <pre>
* The web-safe base64-encoded IAB Transparency and Consent Framework (TCF)
* v2 consent string fetched from the publisher's IAB Consent Management
* Platform (CMP). The structure of the string is defined by the IAB TCF v2.
* This field will be populated if the publisher has integrated with a CMP
* for TCF v2 and that CMP indicates that GDPR applies to this ad request
* and provides a valid consent string. See
* https://support.google.com/authorizedbuyers/answer/9789378 for additional
* information about the Google TCF v2 integration.
* See the IAB Global Vendor List at
* https://vendor-list.consensu.org/v2/vendor-list.json for details about
* the vendors listed in the consent string.
* Not supported by Google. Google supports the IAB TCFv2 consent string
* with the extension BidRequest.user.ext.consent.
* </pre>
*
* <code>optional string consent = 10;</code>
* @return This builder for chaining.
*/
public Builder clearConsent() {
copyOnWrite();
instance.clearConsent();
return this;
}
/**
* <pre>
* The web-safe base64-encoded IAB Transparency and Consent Framework (TCF)
* v2 consent string fetched from the publisher's IAB Consent Management
* Platform (CMP). The structure of the string is defined by the IAB TCF v2.
* This field will be populated if the publisher has integrated with a CMP
* for TCF v2 and that CMP indicates that GDPR applies to this ad request
* and provides a valid consent string. See
* https://support.google.com/authorizedbuyers/answer/9789378 for additional
* information about the Google TCF v2 integration.
* See the IAB Global Vendor List at
* https://vendor-list.consensu.org/v2/vendor-list.json for details about
* the vendors listed in the consent string.
* Not supported by Google. Google supports the IAB TCFv2 consent string
* with the extension BidRequest.user.ext.consent.
* </pre>
*
* <code>optional string consent = 10;</code>
* @param value The bytes for consent to set.
* @return This builder for chaining.
*/
public Builder setConsentBytes(
com.google.protobuf.ByteString value) {
copyOnWrite();
instance.setConsentBytes(value);
return this;
}
/**
* <pre>
* Data made available by the publisher, such as publisher-provided
* identifiers.
* Supported by Google. For Secure Signals, see extension
* BidRequest.user.ext.eids.
* </pre>
*
* <code>repeated .com.google.openrtb.BidRequest.User.EID eids = 11;</code>
*/
@java.lang.Override
public java.util.List<com.particles.mes.protos.openrtb.BidRequest.User.EID> getEidsList() {
return java.util.Collections.unmodifiableList(
instance.getEidsList());
}
/**
* <pre>
* Data made available by the publisher, such as publisher-provided
* identifiers.
* Supported by Google. For Secure Signals, see extension
* BidRequest.user.ext.eids.
* </pre>
*
* <code>repeated .com.google.openrtb.BidRequest.User.EID eids = 11;</code>
*/
@java.lang.Override
public int getEidsCount() {
return instance.getEidsCount();
}/**
* <pre>
* Data made available by the publisher, such as publisher-provided
* identifiers.
* Supported by Google. For Secure Signals, see extension
* BidRequest.user.ext.eids.
* </pre>
*
* <code>repeated .com.google.openrtb.BidRequest.User.EID eids = 11;</code>
*/
@java.lang.Override
public com.particles.mes.protos.openrtb.BidRequest.User.EID getEids(int index) {
return instance.getEids(index);
}
/**
* <pre>
* Data made available by the publisher, such as publisher-provided
* identifiers.
* Supported by Google. For Secure Signals, see extension
* BidRequest.user.ext.eids.
* </pre>
*
* <code>repeated .com.google.openrtb.BidRequest.User.EID eids = 11;</code>
*/
public Builder setEids(
int index, com.particles.mes.protos.openrtb.BidRequest.User.EID value) {
copyOnWrite();
instance.setEids(index, value);
return this;
}
/**
* <pre>
* Data made available by the publisher, such as publisher-provided
* identifiers.
* Supported by Google. For Secure Signals, see extension
* BidRequest.user.ext.eids.
* </pre>
*
* <code>repeated .com.google.openrtb.BidRequest.User.EID eids = 11;</code>
*/
public Builder setEids(
int index, com.particles.mes.protos.openrtb.BidRequest.User.EID.Builder builderForValue) {
copyOnWrite();
instance.setEids(index,
builderForValue.build());
return this;
}
/**
* <pre>
* Data made available by the publisher, such as publisher-provided
* identifiers.
* Supported by Google. For Secure Signals, see extension
* BidRequest.user.ext.eids.
* </pre>
*
* <code>repeated .com.google.openrtb.BidRequest.User.EID eids = 11;</code>
*/
public Builder addEids(com.particles.mes.protos.openrtb.BidRequest.User.EID value) {
copyOnWrite();
instance.addEids(value);
return this;
}
/**
* <pre>
* Data made available by the publisher, such as publisher-provided
* identifiers.
* Supported by Google. For Secure Signals, see extension
* BidRequest.user.ext.eids.
* </pre>
*
* <code>repeated .com.google.openrtb.BidRequest.User.EID eids = 11;</code>
*/
public Builder addEids(
int index, com.particles.mes.protos.openrtb.BidRequest.User.EID value) {
copyOnWrite();
instance.addEids(index, value);
return this;
}
/**
* <pre>
* Data made available by the publisher, such as publisher-provided
* identifiers.
* Supported by Google. For Secure Signals, see extension
* BidRequest.user.ext.eids.
* </pre>
*
* <code>repeated .com.google.openrtb.BidRequest.User.EID eids = 11;</code>
*/
public Builder addEids(
com.particles.mes.protos.openrtb.BidRequest.User.EID.Builder builderForValue) {
copyOnWrite();
instance.addEids(builderForValue.build());
return this;
}
/**
* <pre>
* Data made available by the publisher, such as publisher-provided
* identifiers.
* Supported by Google. For Secure Signals, see extension
* BidRequest.user.ext.eids.
* </pre>
*
* <code>repeated .com.google.openrtb.BidRequest.User.EID eids = 11;</code>
*/
public Builder addEids(
int index, com.particles.mes.protos.openrtb.BidRequest.User.EID.Builder builderForValue) {
copyOnWrite();
instance.addEids(index,
builderForValue.build());
return this;
}
/**
* <pre>
* Data made available by the publisher, such as publisher-provided
* identifiers.
* Supported by Google. For Secure Signals, see extension
* BidRequest.user.ext.eids.
* </pre>
*
* <code>repeated .com.google.openrtb.BidRequest.User.EID eids = 11;</code>
*/
public Builder addAllEids(
java.lang.Iterable<? extends com.particles.mes.protos.openrtb.BidRequest.User.EID> values) {
copyOnWrite();
instance.addAllEids(values);
return this;
}
/**
* <pre>
* Data made available by the publisher, such as publisher-provided
* identifiers.
* Supported by Google. For Secure Signals, see extension
* BidRequest.user.ext.eids.
* </pre>
*
* <code>repeated .com.google.openrtb.BidRequest.User.EID eids = 11;</code>
*/
public Builder clearEids() {
copyOnWrite();
instance.clearEids();
return this;
}
/**
* <pre>
* Data made available by the publisher, such as publisher-provided
* identifiers.
* Supported by Google. For Secure Signals, see extension
* BidRequest.user.ext.eids.
* </pre>
*
* <code>repeated .com.google.openrtb.BidRequest.User.EID eids = 11;</code>
*/
public Builder removeEids(int index) {
copyOnWrite();
instance.removeEids(index);
return this;
}
/**
* <code>optional string ext = 90;</code>
* @return Whether the ext field is set.
*/
@java.lang.Override
public boolean hasExt() {
return instance.hasExt();
}
/**
* <code>optional string ext = 90;</code>
* @return The ext.
*/
@java.lang.Override
public java.lang.String getExt() {
return instance.getExt();
}
/**
* <code>optional string ext = 90;</code>
* @return The bytes for ext.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getExtBytes() {
return instance.getExtBytes();
}
/**
* <code>optional string ext = 90;</code>
* @param value The ext to set.
* @return This builder for chaining.
*/
public Builder setExt(
java.lang.String value) {
copyOnWrite();
instance.setExt(value);
return this;
}
/**
* <code>optional string ext = 90;</code>
* @return This builder for chaining.
*/
public Builder clearExt() {
copyOnWrite();
instance.clearExt();
return this;
}
/**
* <code>optional string ext = 90;</code>
* @param value The bytes for ext to set.
* @return This builder for chaining.
*/
public Builder setExtBytes(
com.google.protobuf.ByteString value) {
copyOnWrite();
instance.setExtBytes(value);
return this;
}
// @@protoc_insertion_point(builder_scope:com.google.openrtb.BidRequest.User)
}
private byte memoizedIsInitialized = 2;
@java.lang.Override
@java.lang.SuppressWarnings({"unchecked", "fallthrough"})
protected final java.lang.Object dynamicMethod(
com.google.protobuf.GeneratedMessageLite.MethodToInvoke method,
java.lang.Object arg0, java.lang.Object arg1) {
switch (method) {
case NEW_MUTABLE_INSTANCE: {
return new com.particles.mes.protos.openrtb.BidRequest.User();
}
case NEW_BUILDER: {
return new Builder();
}
case BUILD_MESSAGE_INFO: {
java.lang.Object[] objects = new java.lang.Object[] {
"bitField0_",
"id_",
"buyeruid_",
"yob_",
"gender_",
"keywords_",
"customdata_",
"geo_",
"data_",
com.particles.mes.protos.openrtb.BidRequest.Data.class,
"kwarray_",
"consent_",
"eids_",
com.particles.mes.protos.openrtb.BidRequest.User.EID.class,
"ext_",
};
java.lang.String info =
"\u0001\f\u0000\u0001\u0001Z\f\u0000\u0003\u0003\u0001\u1008\u0000\u0002\u1008\u0001" +
"\u0003\u1004\u0002\u0004\u1008\u0003\u0005\u1008\u0004\u0006\u1008\u0005\u0007\u1409" +
"\u0006\b\u041b\t\u001a\n\u1008\u0007\u000b\u041bZ\u1008\b";
return newMessageInfo(DEFAULT_INSTANCE, info, objects);
}
// fall through
case GET_DEFAULT_INSTANCE: {
return DEFAULT_INSTANCE;
}
case GET_PARSER: {
com.google.protobuf.Parser<com.particles.mes.protos.openrtb.BidRequest.User> parser = PARSER;
if (parser == null) {
synchronized (com.particles.mes.protos.openrtb.BidRequest.User.class) {
parser = PARSER;
if (parser == null) {
parser =
new DefaultInstanceBasedParser<com.particles.mes.protos.openrtb.BidRequest.User>(
DEFAULT_INSTANCE);
PARSER = parser;
}
}
}
return parser;
}
case GET_MEMOIZED_IS_INITIALIZED: {
return memoizedIsInitialized;
}
case SET_MEMOIZED_IS_INITIALIZED: {
memoizedIsInitialized = (byte) (arg0 == null ? 0 : 1);
return null;
}
}
throw new UnsupportedOperationException();
}
// @@protoc_insertion_point(class_scope:com.google.openrtb.BidRequest.User)
private static final com.particles.mes.protos.openrtb.BidRequest.User DEFAULT_INSTANCE;
static {
User defaultInstance = new User();
// New instances are implicitly immutable so no need to make
// immutable.
DEFAULT_INSTANCE = defaultInstance;
com.google.protobuf.GeneratedMessageLite.registerDefaultInstance(
User.class, defaultInstance);
}
public static com.particles.mes.protos.openrtb.BidRequest.User getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static volatile com.google.protobuf.Parser<User> PARSER;
public static com.google.protobuf.Parser<User> parser() {
return DEFAULT_INSTANCE.getParserForType();
}
}
public interface SourceOrBuilder extends
// @@protoc_insertion_point(interface_extends:com.google.openrtb.BidRequest.Source)
com.google.protobuf.GeneratedMessageLite.
ExtendableMessageOrBuilder<
Source, Source.Builder> {
/**
* <pre>
* Entity responsible for the final impression sale decision,
* where false = exchange, true = upstream source
* Not supported by Google.
* </pre>
*
* <code>optional bool fd = 1;</code>
* @return Whether the fd field is set.
*/
boolean hasFd();
/**
* <pre>
* Entity responsible for the final impression sale decision,
* where false = exchange, true = upstream source
* Not supported by Google.
* </pre>
*
* <code>optional bool fd = 1;</code>
* @return The fd.
*/
boolean getFd();
/**
* <pre>
* Transaction ID that must be common across all participants in
* this bid request (for example, potentially multiple exchanges).
* Not supported by Google.
* </pre>
*
* <code>optional string tid = 2;</code>
* @return Whether the tid field is set.
*/
boolean hasTid();
/**
* <pre>
* Transaction ID that must be common across all participants in
* this bid request (for example, potentially multiple exchanges).
* Not supported by Google.
* </pre>
*
* <code>optional string tid = 2;</code>
* @return The tid.
*/
java.lang.String getTid();
/**
* <pre>
* Transaction ID that must be common across all participants in
* this bid request (for example, potentially multiple exchanges).
* Not supported by Google.
* </pre>
*
* <code>optional string tid = 2;</code>
* @return The bytes for tid.
*/
com.google.protobuf.ByteString
getTidBytes();
/**
* <pre>
* Payment ID chain string containing embedded syntax
* described in the TAG Payment ID Protocol v1.0.
* Not supported by Google.
* </pre>
*
* <code>optional string pchain = 3;</code>
* @return Whether the pchain field is set.
*/
boolean hasPchain();
/**
* <pre>
* Payment ID chain string containing embedded syntax
* described in the TAG Payment ID Protocol v1.0.
* Not supported by Google.
* </pre>
*
* <code>optional string pchain = 3;</code>
* @return The pchain.
*/
java.lang.String getPchain();
/**
* <pre>
* Payment ID chain string containing embedded syntax
* described in the TAG Payment ID Protocol v1.0.
* Not supported by Google.
* </pre>
*
* <code>optional string pchain = 3;</code>
* @return The bytes for pchain.
*/
com.google.protobuf.ByteString
getPchainBytes();
/**
* <pre>
* This object represents both the links in the supply chain as
* well as an indicator whether or not the supply chain is complete.
* Supported by Google.
* </pre>
*
* <code>optional .com.google.openrtb.BidRequest.Source.SupplyChain schain = 4;</code>
* @return Whether the schain field is set.
*/
boolean hasSchain();
/**
* <pre>
* This object represents both the links in the supply chain as
* well as an indicator whether or not the supply chain is complete.
* Supported by Google.
* </pre>
*
* <code>optional .com.google.openrtb.BidRequest.Source.SupplyChain schain = 4;</code>
* @return The schain.
*/
com.particles.mes.protos.openrtb.BidRequest.Source.SupplyChain getSchain();
/**
* <code>optional string ext = 90;</code>
* @return Whether the ext field is set.
*/
boolean hasExt();
/**
* <code>optional string ext = 90;</code>
* @return The ext.
*/
java.lang.String getExt();
/**
* <code>optional string ext = 90;</code>
* @return The bytes for ext.
*/
com.google.protobuf.ByteString
getExtBytes();
}
/**
* <pre>
* OpenRTB 2.5: This object describes the nature and behavior of the entity
* that is the source of the bid request upstream from the exchange.
* The primary purpose of this object is to define post-auction or upstream
* decisioning when the exchange itself does not control the final decision.
* A common example of this is header bidding, but it can also apply to
* upstream server entities such as another RTB exchange, a mediation
* platform, or an ad server combines direct campaigns with 3rd party
* demand in decisioning.
* </pre>
*
* Protobuf type {@code com.google.openrtb.BidRequest.Source}
*/
public static final class Source extends
com.google.protobuf.GeneratedMessageLite.ExtendableMessage<
Source, Source.Builder> implements
// @@protoc_insertion_point(message_implements:com.google.openrtb.BidRequest.Source)
SourceOrBuilder {
private Source() {
tid_ = "";
pchain_ = "";
ext_ = "";
}
public interface SupplyChainOrBuilder extends
// @@protoc_insertion_point(interface_extends:com.google.openrtb.BidRequest.Source.SupplyChain)
com.google.protobuf.GeneratedMessageLite.
ExtendableMessageOrBuilder<
SupplyChain, SupplyChain.Builder> {
/**
* <pre>
* Indicates whether the chain contains all nodes involved in the
* transaction leading back to the owner of the site, app or other medium
* of the inventory.
* REQUIRED by the OpenRTB specification.
* Supported by Google.
* </pre>
*
* <code>optional bool complete = 1;</code>
* @return Whether the complete field is set.
*/
boolean hasComplete();
/**
* <pre>
* Indicates whether the chain contains all nodes involved in the
* transaction leading back to the owner of the site, app or other medium
* of the inventory.
* REQUIRED by the OpenRTB specification.
* Supported by Google.
* </pre>
*
* <code>optional bool complete = 1;</code>
* @return The complete.
*/
boolean getComplete();
/**
* <pre>
* Array of SupplyChainNode objects in the order of the chain.
* In a complete supply chain, the first node represents the initial
* advertising system and seller ID involved in the transaction, that is,
* the owner of the site, app, or other medium. In an incomplete
* supply chain, it represents the first known node. The last node
* represents the entity sending this bid request.
* REQUIRED by the OpenRTB specification.
* Supported by Google.
* </pre>
*
* <code>repeated .com.google.openrtb.BidRequest.Source.SupplyChain.SupplyChainNode nodes = 2;</code>
*/
java.util.List<com.particles.mes.protos.openrtb.BidRequest.Source.SupplyChain.SupplyChainNode>
getNodesList();
/**
* <pre>
* Array of SupplyChainNode objects in the order of the chain.
* In a complete supply chain, the first node represents the initial
* advertising system and seller ID involved in the transaction, that is,
* the owner of the site, app, or other medium. In an incomplete
* supply chain, it represents the first known node. The last node
* represents the entity sending this bid request.
* REQUIRED by the OpenRTB specification.
* Supported by Google.
* </pre>
*
* <code>repeated .com.google.openrtb.BidRequest.Source.SupplyChain.SupplyChainNode nodes = 2;</code>
*/
com.particles.mes.protos.openrtb.BidRequest.Source.SupplyChain.SupplyChainNode getNodes(int index);
/**
* <pre>
* Array of SupplyChainNode objects in the order of the chain.
* In a complete supply chain, the first node represents the initial
* advertising system and seller ID involved in the transaction, that is,
* the owner of the site, app, or other medium. In an incomplete
* supply chain, it represents the first known node. The last node
* represents the entity sending this bid request.
* REQUIRED by the OpenRTB specification.
* Supported by Google.
* </pre>
*
* <code>repeated .com.google.openrtb.BidRequest.Source.SupplyChain.SupplyChainNode nodes = 2;</code>
*/
int getNodesCount();
/**
* <pre>
* Version of the supply chain specification in use, in the format
* of "major.minor". For example, for version 1.0 of the spec,
* use the string "1.0".
* REQUIRED by the OpenRTB specification.
* Supported by Google.
* </pre>
*
* <code>optional string ver = 3;</code>
* @return Whether the ver field is set.
*/
boolean hasVer();
/**
* <pre>
* Version of the supply chain specification in use, in the format
* of "major.minor". For example, for version 1.0 of the spec,
* use the string "1.0".
* REQUIRED by the OpenRTB specification.
* Supported by Google.
* </pre>
*
* <code>optional string ver = 3;</code>
* @return The ver.
*/
java.lang.String getVer();
/**
* <pre>
* Version of the supply chain specification in use, in the format
* of "major.minor". For example, for version 1.0 of the spec,
* use the string "1.0".
* REQUIRED by the OpenRTB specification.
* Supported by Google.
* </pre>
*
* <code>optional string ver = 3;</code>
* @return The bytes for ver.
*/
com.google.protobuf.ByteString
getVerBytes();
}
/**
* <pre>
* This object is composed of a set of nodes where each node represents a
* specific entity that participates in the transacting of inventory.
* The entire chain of nodes from beginning to end represents all entities
* who are involved in the direct flow of payment for inventory. Detailed
* implementation examples can be found here:
* https://github.com/InteractiveAdvertisingBureau/openrtb/blob/master/supplychainobject.md
* </pre>
*
* Protobuf type {@code com.google.openrtb.BidRequest.Source.SupplyChain}
*/
public static final class SupplyChain extends
com.google.protobuf.GeneratedMessageLite.ExtendableMessage<
SupplyChain, SupplyChain.Builder> implements
// @@protoc_insertion_point(message_implements:com.google.openrtb.BidRequest.Source.SupplyChain)
SupplyChainOrBuilder {
private SupplyChain() {
nodes_ = emptyProtobufList();
ver_ = "";
}
public interface SupplyChainNodeOrBuilder extends
// @@protoc_insertion_point(interface_extends:com.google.openrtb.BidRequest.Source.SupplyChain.SupplyChainNode)
com.google.protobuf.GeneratedMessageLite.
ExtendableMessageOrBuilder<
SupplyChainNode, SupplyChainNode.Builder> {
/**
* <pre>
* The canonical domain name of the SSP, Exchange, Header Wrapper, etc
* system that bidders connect to. This may be the operational domain of
* the system, if that is different than the parent corporate domain, to
* facilitate WHOIS and reverse IP lookups to establish clear ownership
* of the delegate system. This should be the same value as used to
* identify sellers in an ads.txt file if one exists.
* REQUIRED by the OpenRTB specification.
* Supported by Google.
* </pre>
*
* <code>optional string asi = 1;</code>
* @return Whether the asi field is set.
*/
boolean hasAsi();
/**
* <pre>
* The canonical domain name of the SSP, Exchange, Header Wrapper, etc
* system that bidders connect to. This may be the operational domain of
* the system, if that is different than the parent corporate domain, to
* facilitate WHOIS and reverse IP lookups to establish clear ownership
* of the delegate system. This should be the same value as used to
* identify sellers in an ads.txt file if one exists.
* REQUIRED by the OpenRTB specification.
* Supported by Google.
* </pre>
*
* <code>optional string asi = 1;</code>
* @return The asi.
*/
java.lang.String getAsi();
/**
* <pre>
* The canonical domain name of the SSP, Exchange, Header Wrapper, etc
* system that bidders connect to. This may be the operational domain of
* the system, if that is different than the parent corporate domain, to
* facilitate WHOIS and reverse IP lookups to establish clear ownership
* of the delegate system. This should be the same value as used to
* identify sellers in an ads.txt file if one exists.
* REQUIRED by the OpenRTB specification.
* Supported by Google.
* </pre>
*
* <code>optional string asi = 1;</code>
* @return The bytes for asi.
*/
com.google.protobuf.ByteString
getAsiBytes();
/**
* <pre>
* The identifier associated with the seller or reseller account
* within the advertising system. This must contain the same value
* used in transactions (OpenRTB bid requests) in the field
* specified by the SSP/exchange. Typically, in OpenRTB, this is
* publisher.id. For OpenDirect it is typically the publisher's
* organization ID. Should be limited to 64 characters in length.
* REQUIRED by the OpenRTB specification.
* Supported by Google.
* </pre>
*
* <code>optional string sid = 2;</code>
* @return Whether the sid field is set.
*/
boolean hasSid();
/**
* <pre>
* The identifier associated with the seller or reseller account
* within the advertising system. This must contain the same value
* used in transactions (OpenRTB bid requests) in the field
* specified by the SSP/exchange. Typically, in OpenRTB, this is
* publisher.id. For OpenDirect it is typically the publisher's
* organization ID. Should be limited to 64 characters in length.
* REQUIRED by the OpenRTB specification.
* Supported by Google.
* </pre>
*
* <code>optional string sid = 2;</code>
* @return The sid.
*/
java.lang.String getSid();
/**
* <pre>
* The identifier associated with the seller or reseller account
* within the advertising system. This must contain the same value
* used in transactions (OpenRTB bid requests) in the field
* specified by the SSP/exchange. Typically, in OpenRTB, this is
* publisher.id. For OpenDirect it is typically the publisher's
* organization ID. Should be limited to 64 characters in length.
* REQUIRED by the OpenRTB specification.
* Supported by Google.
* </pre>
*
* <code>optional string sid = 2;</code>
* @return The bytes for sid.
*/
com.google.protobuf.ByteString
getSidBytes();
/**
* <pre>
* The OpenRTB RequestId of the request as issued by this seller.
* Not supported by Google.
* </pre>
*
* <code>optional string rid = 3;</code>
* @return Whether the rid field is set.
*/
boolean hasRid();
/**
* <pre>
* The OpenRTB RequestId of the request as issued by this seller.
* Not supported by Google.
* </pre>
*
* <code>optional string rid = 3;</code>
* @return The rid.
*/
java.lang.String getRid();
/**
* <pre>
* The OpenRTB RequestId of the request as issued by this seller.
* Not supported by Google.
* </pre>
*
* <code>optional string rid = 3;</code>
* @return The bytes for rid.
*/
com.google.protobuf.ByteString
getRidBytes();
/**
* <pre>
* The name of the company (the legal entity) that has paid for
* inventory transacted under the given seller_ID. This value is
* optional and should NOT be included if it exists in the
* advertising system’s sellers.json file.
* Not supported by Google.
* </pre>
*
* <code>optional string name = 4;</code>
* @return Whether the name field is set.
*/
boolean hasName();
/**
* <pre>
* The name of the company (the legal entity) that has paid for
* inventory transacted under the given seller_ID. This value is
* optional and should NOT be included if it exists in the
* advertising system’s sellers.json file.
* Not supported by Google.
* </pre>
*
* <code>optional string name = 4;</code>
* @return The name.
*/
java.lang.String getName();
/**
* <pre>
* The name of the company (the legal entity) that has paid for
* inventory transacted under the given seller_ID. This value is
* optional and should NOT be included if it exists in the
* advertising system’s sellers.json file.
* Not supported by Google.
* </pre>
*
* <code>optional string name = 4;</code>
* @return The bytes for name.
*/
com.google.protobuf.ByteString
getNameBytes();
/**
* <pre>
* The business domain name of the entity represented by this
* node. This value is optional and should NOT be included if it
* exists in the advertising system’s sellers.json file.
* Not supported by Google.
* </pre>
*
* <code>optional string domain = 5;</code>
* @return Whether the domain field is set.
*/
boolean hasDomain();
/**
* <pre>
* The business domain name of the entity represented by this
* node. This value is optional and should NOT be included if it
* exists in the advertising system’s sellers.json file.
* Not supported by Google.
* </pre>
*
* <code>optional string domain = 5;</code>
* @return The domain.
*/
java.lang.String getDomain();
/**
* <pre>
* The business domain name of the entity represented by this
* node. This value is optional and should NOT be included if it
* exists in the advertising system’s sellers.json file.
* Not supported by Google.
* </pre>
*
* <code>optional string domain = 5;</code>
* @return The bytes for domain.
*/
com.google.protobuf.ByteString
getDomainBytes();
/**
* <pre>
* Indicates whether this node will be involved in the flow of payment
* for the inventory. When set to true, the advertising system in the
* asi field pays the seller in the sid field, who is responsible for
* paying the previous node in the chain. When set to false, this node
* is not involved in the flow of payment for the inventory.
* For version 1.0 of SupplyChain, this property should always be true.
* Implementers should ensure that they propagate this field onwards
* when constructing SupplyChain objects in bid requests sent to a
* downstream advertising system.
* Supported by Google.
* </pre>
*
* <code>optional bool hp = 6;</code>
* @return Whether the hp field is set.
*/
boolean hasHp();
/**
* <pre>
* Indicates whether this node will be involved in the flow of payment
* for the inventory. When set to true, the advertising system in the
* asi field pays the seller in the sid field, who is responsible for
* paying the previous node in the chain. When set to false, this node
* is not involved in the flow of payment for the inventory.
* For version 1.0 of SupplyChain, this property should always be true.
* Implementers should ensure that they propagate this field onwards
* when constructing SupplyChain objects in bid requests sent to a
* downstream advertising system.
* Supported by Google.
* </pre>
*
* <code>optional bool hp = 6;</code>
* @return The hp.
*/
boolean getHp();
}
/**
* <pre>
* The identity of an entity participating in the supply chain.
* </pre>
*
* Protobuf type {@code com.google.openrtb.BidRequest.Source.SupplyChain.SupplyChainNode}
*/
public static final class SupplyChainNode extends
com.google.protobuf.GeneratedMessageLite.ExtendableMessage<
SupplyChainNode, SupplyChainNode.Builder> implements
// @@protoc_insertion_point(message_implements:com.google.openrtb.BidRequest.Source.SupplyChain.SupplyChainNode)
SupplyChainNodeOrBuilder {
private SupplyChainNode() {
asi_ = "";
sid_ = "";
rid_ = "";
name_ = "";
domain_ = "";
}
private int bitField0_;
public static final int ASI_FIELD_NUMBER = 1;
private java.lang.String asi_;
/**
* <pre>
* The canonical domain name of the SSP, Exchange, Header Wrapper, etc
* system that bidders connect to. This may be the operational domain of
* the system, if that is different than the parent corporate domain, to
* facilitate WHOIS and reverse IP lookups to establish clear ownership
* of the delegate system. This should be the same value as used to
* identify sellers in an ads.txt file if one exists.
* REQUIRED by the OpenRTB specification.
* Supported by Google.
* </pre>
*
* <code>optional string asi = 1;</code>
* @return Whether the asi field is set.
*/
@java.lang.Override
public boolean hasAsi() {
return ((bitField0_ & 0x00000001) != 0);
}
/**
* <pre>
* The canonical domain name of the SSP, Exchange, Header Wrapper, etc
* system that bidders connect to. This may be the operational domain of
* the system, if that is different than the parent corporate domain, to
* facilitate WHOIS and reverse IP lookups to establish clear ownership
* of the delegate system. This should be the same value as used to
* identify sellers in an ads.txt file if one exists.
* REQUIRED by the OpenRTB specification.
* Supported by Google.
* </pre>
*
* <code>optional string asi = 1;</code>
* @return The asi.
*/
@java.lang.Override
public java.lang.String getAsi() {
return asi_;
}
/**
* <pre>
* The canonical domain name of the SSP, Exchange, Header Wrapper, etc
* system that bidders connect to. This may be the operational domain of
* the system, if that is different than the parent corporate domain, to
* facilitate WHOIS and reverse IP lookups to establish clear ownership
* of the delegate system. This should be the same value as used to
* identify sellers in an ads.txt file if one exists.
* REQUIRED by the OpenRTB specification.
* Supported by Google.
* </pre>
*
* <code>optional string asi = 1;</code>
* @return The bytes for asi.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getAsiBytes() {
return com.google.protobuf.ByteString.copyFromUtf8(asi_);
}
/**
* <pre>
* The canonical domain name of the SSP, Exchange, Header Wrapper, etc
* system that bidders connect to. This may be the operational domain of
* the system, if that is different than the parent corporate domain, to
* facilitate WHOIS and reverse IP lookups to establish clear ownership
* of the delegate system. This should be the same value as used to
* identify sellers in an ads.txt file if one exists.
* REQUIRED by the OpenRTB specification.
* Supported by Google.
* </pre>
*
* <code>optional string asi = 1;</code>
* @param value The asi to set.
*/
private void setAsi(
java.lang.String value) {
java.lang.Class<?> valueClass = value.getClass();
bitField0_ |= 0x00000001;
asi_ = value;
}
/**
* <pre>
* The canonical domain name of the SSP, Exchange, Header Wrapper, etc
* system that bidders connect to. This may be the operational domain of
* the system, if that is different than the parent corporate domain, to
* facilitate WHOIS and reverse IP lookups to establish clear ownership
* of the delegate system. This should be the same value as used to
* identify sellers in an ads.txt file if one exists.
* REQUIRED by the OpenRTB specification.
* Supported by Google.
* </pre>
*
* <code>optional string asi = 1;</code>
*/
private void clearAsi() {
bitField0_ = (bitField0_ & ~0x00000001);
asi_ = getDefaultInstance().getAsi();
}
/**
* <pre>
* The canonical domain name of the SSP, Exchange, Header Wrapper, etc
* system that bidders connect to. This may be the operational domain of
* the system, if that is different than the parent corporate domain, to
* facilitate WHOIS and reverse IP lookups to establish clear ownership
* of the delegate system. This should be the same value as used to
* identify sellers in an ads.txt file if one exists.
* REQUIRED by the OpenRTB specification.
* Supported by Google.
* </pre>
*
* <code>optional string asi = 1;</code>
* @param value The bytes for asi to set.
*/
private void setAsiBytes(
com.google.protobuf.ByteString value) {
asi_ = value.toStringUtf8();
bitField0_ |= 0x00000001;
}
public static final int SID_FIELD_NUMBER = 2;
private java.lang.String sid_;
/**
* <pre>
* The identifier associated with the seller or reseller account
* within the advertising system. This must contain the same value
* used in transactions (OpenRTB bid requests) in the field
* specified by the SSP/exchange. Typically, in OpenRTB, this is
* publisher.id. For OpenDirect it is typically the publisher's
* organization ID. Should be limited to 64 characters in length.
* REQUIRED by the OpenRTB specification.
* Supported by Google.
* </pre>
*
* <code>optional string sid = 2;</code>
* @return Whether the sid field is set.
*/
@java.lang.Override
public boolean hasSid() {
return ((bitField0_ & 0x00000002) != 0);
}
/**
* <pre>
* The identifier associated with the seller or reseller account
* within the advertising system. This must contain the same value
* used in transactions (OpenRTB bid requests) in the field
* specified by the SSP/exchange. Typically, in OpenRTB, this is
* publisher.id. For OpenDirect it is typically the publisher's
* organization ID. Should be limited to 64 characters in length.
* REQUIRED by the OpenRTB specification.
* Supported by Google.
* </pre>
*
* <code>optional string sid = 2;</code>
* @return The sid.
*/
@java.lang.Override
public java.lang.String getSid() {
return sid_;
}
/**
* <pre>
* The identifier associated with the seller or reseller account
* within the advertising system. This must contain the same value
* used in transactions (OpenRTB bid requests) in the field
* specified by the SSP/exchange. Typically, in OpenRTB, this is
* publisher.id. For OpenDirect it is typically the publisher's
* organization ID. Should be limited to 64 characters in length.
* REQUIRED by the OpenRTB specification.
* Supported by Google.
* </pre>
*
* <code>optional string sid = 2;</code>
* @return The bytes for sid.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getSidBytes() {
return com.google.protobuf.ByteString.copyFromUtf8(sid_);
}
/**
* <pre>
* The identifier associated with the seller or reseller account
* within the advertising system. This must contain the same value
* used in transactions (OpenRTB bid requests) in the field
* specified by the SSP/exchange. Typically, in OpenRTB, this is
* publisher.id. For OpenDirect it is typically the publisher's
* organization ID. Should be limited to 64 characters in length.
* REQUIRED by the OpenRTB specification.
* Supported by Google.
* </pre>
*
* <code>optional string sid = 2;</code>
* @param value The sid to set.
*/
private void setSid(
java.lang.String value) {
java.lang.Class<?> valueClass = value.getClass();
bitField0_ |= 0x00000002;
sid_ = value;
}
/**
* <pre>
* The identifier associated with the seller or reseller account
* within the advertising system. This must contain the same value
* used in transactions (OpenRTB bid requests) in the field
* specified by the SSP/exchange. Typically, in OpenRTB, this is
* publisher.id. For OpenDirect it is typically the publisher's
* organization ID. Should be limited to 64 characters in length.
* REQUIRED by the OpenRTB specification.
* Supported by Google.
* </pre>
*
* <code>optional string sid = 2;</code>
*/
private void clearSid() {
bitField0_ = (bitField0_ & ~0x00000002);
sid_ = getDefaultInstance().getSid();
}
/**
* <pre>
* The identifier associated with the seller or reseller account
* within the advertising system. This must contain the same value
* used in transactions (OpenRTB bid requests) in the field
* specified by the SSP/exchange. Typically, in OpenRTB, this is
* publisher.id. For OpenDirect it is typically the publisher's
* organization ID. Should be limited to 64 characters in length.
* REQUIRED by the OpenRTB specification.
* Supported by Google.
* </pre>
*
* <code>optional string sid = 2;</code>
* @param value The bytes for sid to set.
*/
private void setSidBytes(
com.google.protobuf.ByteString value) {
sid_ = value.toStringUtf8();
bitField0_ |= 0x00000002;
}
public static final int RID_FIELD_NUMBER = 3;
private java.lang.String rid_;
/**
* <pre>
* The OpenRTB RequestId of the request as issued by this seller.
* Not supported by Google.
* </pre>
*
* <code>optional string rid = 3;</code>
* @return Whether the rid field is set.
*/
@java.lang.Override
public boolean hasRid() {
return ((bitField0_ & 0x00000004) != 0);
}
/**
* <pre>
* The OpenRTB RequestId of the request as issued by this seller.
* Not supported by Google.
* </pre>
*
* <code>optional string rid = 3;</code>
* @return The rid.
*/
@java.lang.Override
public java.lang.String getRid() {
return rid_;
}
/**
* <pre>
* The OpenRTB RequestId of the request as issued by this seller.
* Not supported by Google.
* </pre>
*
* <code>optional string rid = 3;</code>
* @return The bytes for rid.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getRidBytes() {
return com.google.protobuf.ByteString.copyFromUtf8(rid_);
}
/**
* <pre>
* The OpenRTB RequestId of the request as issued by this seller.
* Not supported by Google.
* </pre>
*
* <code>optional string rid = 3;</code>
* @param value The rid to set.
*/
private void setRid(
java.lang.String value) {
java.lang.Class<?> valueClass = value.getClass();
bitField0_ |= 0x00000004;
rid_ = value;
}
/**
* <pre>
* The OpenRTB RequestId of the request as issued by this seller.
* Not supported by Google.
* </pre>
*
* <code>optional string rid = 3;</code>
*/
private void clearRid() {
bitField0_ = (bitField0_ & ~0x00000004);
rid_ = getDefaultInstance().getRid();
}
/**
* <pre>
* The OpenRTB RequestId of the request as issued by this seller.
* Not supported by Google.
* </pre>
*
* <code>optional string rid = 3;</code>
* @param value The bytes for rid to set.
*/
private void setRidBytes(
com.google.protobuf.ByteString value) {
rid_ = value.toStringUtf8();
bitField0_ |= 0x00000004;
}
public static final int NAME_FIELD_NUMBER = 4;
private java.lang.String name_;
/**
* <pre>
* The name of the company (the legal entity) that has paid for
* inventory transacted under the given seller_ID. This value is
* optional and should NOT be included if it exists in the
* advertising system’s sellers.json file.
* Not supported by Google.
* </pre>
*
* <code>optional string name = 4;</code>
* @return Whether the name field is set.
*/
@java.lang.Override
public boolean hasName() {
return ((bitField0_ & 0x00000008) != 0);
}
/**
* <pre>
* The name of the company (the legal entity) that has paid for
* inventory transacted under the given seller_ID. This value is
* optional and should NOT be included if it exists in the
* advertising system’s sellers.json file.
* Not supported by Google.
* </pre>
*
* <code>optional string name = 4;</code>
* @return The name.
*/
@java.lang.Override
public java.lang.String getName() {
return name_;
}
/**
* <pre>
* The name of the company (the legal entity) that has paid for
* inventory transacted under the given seller_ID. This value is
* optional and should NOT be included if it exists in the
* advertising system’s sellers.json file.
* Not supported by Google.
* </pre>
*
* <code>optional string name = 4;</code>
* @return The bytes for name.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getNameBytes() {
return com.google.protobuf.ByteString.copyFromUtf8(name_);
}
/**
* <pre>
* The name of the company (the legal entity) that has paid for
* inventory transacted under the given seller_ID. This value is
* optional and should NOT be included if it exists in the
* advertising system’s sellers.json file.
* Not supported by Google.
* </pre>
*
* <code>optional string name = 4;</code>
* @param value The name to set.
*/
private void setName(
java.lang.String value) {
java.lang.Class<?> valueClass = value.getClass();
bitField0_ |= 0x00000008;
name_ = value;
}
/**
* <pre>
* The name of the company (the legal entity) that has paid for
* inventory transacted under the given seller_ID. This value is
* optional and should NOT be included if it exists in the
* advertising system’s sellers.json file.
* Not supported by Google.
* </pre>
*
* <code>optional string name = 4;</code>
*/
private void clearName() {
bitField0_ = (bitField0_ & ~0x00000008);
name_ = getDefaultInstance().getName();
}
/**
* <pre>
* The name of the company (the legal entity) that has paid for
* inventory transacted under the given seller_ID. This value is
* optional and should NOT be included if it exists in the
* advertising system’s sellers.json file.
* Not supported by Google.
* </pre>
*
* <code>optional string name = 4;</code>
* @param value The bytes for name to set.
*/
private void setNameBytes(
com.google.protobuf.ByteString value) {
name_ = value.toStringUtf8();
bitField0_ |= 0x00000008;
}
public static final int DOMAIN_FIELD_NUMBER = 5;
private java.lang.String domain_;
/**
* <pre>
* The business domain name of the entity represented by this
* node. This value is optional and should NOT be included if it
* exists in the advertising system’s sellers.json file.
* Not supported by Google.
* </pre>
*
* <code>optional string domain = 5;</code>
* @return Whether the domain field is set.
*/
@java.lang.Override
public boolean hasDomain() {
return ((bitField0_ & 0x00000010) != 0);
}
/**
* <pre>
* The business domain name of the entity represented by this
* node. This value is optional and should NOT be included if it
* exists in the advertising system’s sellers.json file.
* Not supported by Google.
* </pre>
*
* <code>optional string domain = 5;</code>
* @return The domain.
*/
@java.lang.Override
public java.lang.String getDomain() {
return domain_;
}
/**
* <pre>
* The business domain name of the entity represented by this
* node. This value is optional and should NOT be included if it
* exists in the advertising system’s sellers.json file.
* Not supported by Google.
* </pre>
*
* <code>optional string domain = 5;</code>
* @return The bytes for domain.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getDomainBytes() {
return com.google.protobuf.ByteString.copyFromUtf8(domain_);
}
/**
* <pre>
* The business domain name of the entity represented by this
* node. This value is optional and should NOT be included if it
* exists in the advertising system’s sellers.json file.
* Not supported by Google.
* </pre>
*
* <code>optional string domain = 5;</code>
* @param value The domain to set.
*/
private void setDomain(
java.lang.String value) {
java.lang.Class<?> valueClass = value.getClass();
bitField0_ |= 0x00000010;
domain_ = value;
}
/**
* <pre>
* The business domain name of the entity represented by this
* node. This value is optional and should NOT be included if it
* exists in the advertising system’s sellers.json file.
* Not supported by Google.
* </pre>
*
* <code>optional string domain = 5;</code>
*/
private void clearDomain() {
bitField0_ = (bitField0_ & ~0x00000010);
domain_ = getDefaultInstance().getDomain();
}
/**
* <pre>
* The business domain name of the entity represented by this
* node. This value is optional and should NOT be included if it
* exists in the advertising system’s sellers.json file.
* Not supported by Google.
* </pre>
*
* <code>optional string domain = 5;</code>
* @param value The bytes for domain to set.
*/
private void setDomainBytes(
com.google.protobuf.ByteString value) {
domain_ = value.toStringUtf8();
bitField0_ |= 0x00000010;
}
public static final int HP_FIELD_NUMBER = 6;
private boolean hp_;
/**
* <pre>
* Indicates whether this node will be involved in the flow of payment
* for the inventory. When set to true, the advertising system in the
* asi field pays the seller in the sid field, who is responsible for
* paying the previous node in the chain. When set to false, this node
* is not involved in the flow of payment for the inventory.
* For version 1.0 of SupplyChain, this property should always be true.
* Implementers should ensure that they propagate this field onwards
* when constructing SupplyChain objects in bid requests sent to a
* downstream advertising system.
* Supported by Google.
* </pre>
*
* <code>optional bool hp = 6;</code>
* @return Whether the hp field is set.
*/
@java.lang.Override
public boolean hasHp() {
return ((bitField0_ & 0x00000020) != 0);
}
/**
* <pre>
* Indicates whether this node will be involved in the flow of payment
* for the inventory. When set to true, the advertising system in the
* asi field pays the seller in the sid field, who is responsible for
* paying the previous node in the chain. When set to false, this node
* is not involved in the flow of payment for the inventory.
* For version 1.0 of SupplyChain, this property should always be true.
* Implementers should ensure that they propagate this field onwards
* when constructing SupplyChain objects in bid requests sent to a
* downstream advertising system.
* Supported by Google.
* </pre>
*
* <code>optional bool hp = 6;</code>
* @return The hp.
*/
@java.lang.Override
public boolean getHp() {
return hp_;
}
/**
* <pre>
* Indicates whether this node will be involved in the flow of payment
* for the inventory. When set to true, the advertising system in the
* asi field pays the seller in the sid field, who is responsible for
* paying the previous node in the chain. When set to false, this node
* is not involved in the flow of payment for the inventory.
* For version 1.0 of SupplyChain, this property should always be true.
* Implementers should ensure that they propagate this field onwards
* when constructing SupplyChain objects in bid requests sent to a
* downstream advertising system.
* Supported by Google.
* </pre>
*
* <code>optional bool hp = 6;</code>
* @param value The hp to set.
*/
private void setHp(boolean value) {
bitField0_ |= 0x00000020;
hp_ = value;
}
/**
* <pre>
* Indicates whether this node will be involved in the flow of payment
* for the inventory. When set to true, the advertising system in the
* asi field pays the seller in the sid field, who is responsible for
* paying the previous node in the chain. When set to false, this node
* is not involved in the flow of payment for the inventory.
* For version 1.0 of SupplyChain, this property should always be true.
* Implementers should ensure that they propagate this field onwards
* when constructing SupplyChain objects in bid requests sent to a
* downstream advertising system.
* Supported by Google.
* </pre>
*
* <code>optional bool hp = 6;</code>
*/
private void clearHp() {
bitField0_ = (bitField0_ & ~0x00000020);
hp_ = false;
}
public static com.particles.mes.protos.openrtb.BidRequest.Source.SupplyChain.SupplyChainNode parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, data);
}
public static com.particles.mes.protos.openrtb.BidRequest.Source.SupplyChain.SupplyChainNode parseFrom(
java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, data, extensionRegistry);
}
public static com.particles.mes.protos.openrtb.BidRequest.Source.SupplyChain.SupplyChainNode parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, data);
}
public static com.particles.mes.protos.openrtb.BidRequest.Source.SupplyChain.SupplyChainNode parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, data, extensionRegistry);
}
public static com.particles.mes.protos.openrtb.BidRequest.Source.SupplyChain.SupplyChainNode parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, data);
}
public static com.particles.mes.protos.openrtb.BidRequest.Source.SupplyChain.SupplyChainNode parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, data, extensionRegistry);
}
public static com.particles.mes.protos.openrtb.BidRequest.Source.SupplyChain.SupplyChainNode parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, input);
}
public static com.particles.mes.protos.openrtb.BidRequest.Source.SupplyChain.SupplyChainNode parseFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, input, extensionRegistry);
}
public static com.particles.mes.protos.openrtb.BidRequest.Source.SupplyChain.SupplyChainNode parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return parseDelimitedFrom(DEFAULT_INSTANCE, input);
}
public static com.particles.mes.protos.openrtb.BidRequest.Source.SupplyChain.SupplyChainNode parseDelimitedFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return parseDelimitedFrom(DEFAULT_INSTANCE, input, extensionRegistry);
}
public static com.particles.mes.protos.openrtb.BidRequest.Source.SupplyChain.SupplyChainNode parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, input);
}
public static com.particles.mes.protos.openrtb.BidRequest.Source.SupplyChain.SupplyChainNode parseFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, input, extensionRegistry);
}
public static Builder newBuilder() {
return (Builder) DEFAULT_INSTANCE.createBuilder();
}
public static Builder newBuilder(com.particles.mes.protos.openrtb.BidRequest.Source.SupplyChain.SupplyChainNode prototype) {
return (Builder) DEFAULT_INSTANCE.createBuilder(prototype);
}
/**
* <pre>
* The identity of an entity participating in the supply chain.
* </pre>
*
* Protobuf type {@code com.google.openrtb.BidRequest.Source.SupplyChain.SupplyChainNode}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageLite.ExtendableBuilder<
com.particles.mes.protos.openrtb.BidRequest.Source.SupplyChain.SupplyChainNode, Builder> implements
// @@protoc_insertion_point(builder_implements:com.google.openrtb.BidRequest.Source.SupplyChain.SupplyChainNode)
com.particles.mes.protos.openrtb.BidRequest.Source.SupplyChain.SupplyChainNodeOrBuilder {
// Construct using com.particles.mes.protos.openrtb.BidRequest.Source.SupplyChain.SupplyChainNode.newBuilder()
private Builder() {
super(DEFAULT_INSTANCE);
}
/**
* <pre>
* The canonical domain name of the SSP, Exchange, Header Wrapper, etc
* system that bidders connect to. This may be the operational domain of
* the system, if that is different than the parent corporate domain, to
* facilitate WHOIS and reverse IP lookups to establish clear ownership
* of the delegate system. This should be the same value as used to
* identify sellers in an ads.txt file if one exists.
* REQUIRED by the OpenRTB specification.
* Supported by Google.
* </pre>
*
* <code>optional string asi = 1;</code>
* @return Whether the asi field is set.
*/
@java.lang.Override
public boolean hasAsi() {
return instance.hasAsi();
}
/**
* <pre>
* The canonical domain name of the SSP, Exchange, Header Wrapper, etc
* system that bidders connect to. This may be the operational domain of
* the system, if that is different than the parent corporate domain, to
* facilitate WHOIS and reverse IP lookups to establish clear ownership
* of the delegate system. This should be the same value as used to
* identify sellers in an ads.txt file if one exists.
* REQUIRED by the OpenRTB specification.
* Supported by Google.
* </pre>
*
* <code>optional string asi = 1;</code>
* @return The asi.
*/
@java.lang.Override
public java.lang.String getAsi() {
return instance.getAsi();
}
/**
* <pre>
* The canonical domain name of the SSP, Exchange, Header Wrapper, etc
* system that bidders connect to. This may be the operational domain of
* the system, if that is different than the parent corporate domain, to
* facilitate WHOIS and reverse IP lookups to establish clear ownership
* of the delegate system. This should be the same value as used to
* identify sellers in an ads.txt file if one exists.
* REQUIRED by the OpenRTB specification.
* Supported by Google.
* </pre>
*
* <code>optional string asi = 1;</code>
* @return The bytes for asi.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getAsiBytes() {
return instance.getAsiBytes();
}
/**
* <pre>
* The canonical domain name of the SSP, Exchange, Header Wrapper, etc
* system that bidders connect to. This may be the operational domain of
* the system, if that is different than the parent corporate domain, to
* facilitate WHOIS and reverse IP lookups to establish clear ownership
* of the delegate system. This should be the same value as used to
* identify sellers in an ads.txt file if one exists.
* REQUIRED by the OpenRTB specification.
* Supported by Google.
* </pre>
*
* <code>optional string asi = 1;</code>
* @param value The asi to set.
* @return This builder for chaining.
*/
public Builder setAsi(
java.lang.String value) {
copyOnWrite();
instance.setAsi(value);
return this;
}
/**
* <pre>
* The canonical domain name of the SSP, Exchange, Header Wrapper, etc
* system that bidders connect to. This may be the operational domain of
* the system, if that is different than the parent corporate domain, to
* facilitate WHOIS and reverse IP lookups to establish clear ownership
* of the delegate system. This should be the same value as used to
* identify sellers in an ads.txt file if one exists.
* REQUIRED by the OpenRTB specification.
* Supported by Google.
* </pre>
*
* <code>optional string asi = 1;</code>
* @return This builder for chaining.
*/
public Builder clearAsi() {
copyOnWrite();
instance.clearAsi();
return this;
}
/**
* <pre>
* The canonical domain name of the SSP, Exchange, Header Wrapper, etc
* system that bidders connect to. This may be the operational domain of
* the system, if that is different than the parent corporate domain, to
* facilitate WHOIS and reverse IP lookups to establish clear ownership
* of the delegate system. This should be the same value as used to
* identify sellers in an ads.txt file if one exists.
* REQUIRED by the OpenRTB specification.
* Supported by Google.
* </pre>
*
* <code>optional string asi = 1;</code>
* @param value The bytes for asi to set.
* @return This builder for chaining.
*/
public Builder setAsiBytes(
com.google.protobuf.ByteString value) {
copyOnWrite();
instance.setAsiBytes(value);
return this;
}
/**
* <pre>
* The identifier associated with the seller or reseller account
* within the advertising system. This must contain the same value
* used in transactions (OpenRTB bid requests) in the field
* specified by the SSP/exchange. Typically, in OpenRTB, this is
* publisher.id. For OpenDirect it is typically the publisher's
* organization ID. Should be limited to 64 characters in length.
* REQUIRED by the OpenRTB specification.
* Supported by Google.
* </pre>
*
* <code>optional string sid = 2;</code>
* @return Whether the sid field is set.
*/
@java.lang.Override
public boolean hasSid() {
return instance.hasSid();
}
/**
* <pre>
* The identifier associated with the seller or reseller account
* within the advertising system. This must contain the same value
* used in transactions (OpenRTB bid requests) in the field
* specified by the SSP/exchange. Typically, in OpenRTB, this is
* publisher.id. For OpenDirect it is typically the publisher's
* organization ID. Should be limited to 64 characters in length.
* REQUIRED by the OpenRTB specification.
* Supported by Google.
* </pre>
*
* <code>optional string sid = 2;</code>
* @return The sid.
*/
@java.lang.Override
public java.lang.String getSid() {
return instance.getSid();
}
/**
* <pre>
* The identifier associated with the seller or reseller account
* within the advertising system. This must contain the same value
* used in transactions (OpenRTB bid requests) in the field
* specified by the SSP/exchange. Typically, in OpenRTB, this is
* publisher.id. For OpenDirect it is typically the publisher's
* organization ID. Should be limited to 64 characters in length.
* REQUIRED by the OpenRTB specification.
* Supported by Google.
* </pre>
*
* <code>optional string sid = 2;</code>
* @return The bytes for sid.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getSidBytes() {
return instance.getSidBytes();
}
/**
* <pre>
* The identifier associated with the seller or reseller account
* within the advertising system. This must contain the same value
* used in transactions (OpenRTB bid requests) in the field
* specified by the SSP/exchange. Typically, in OpenRTB, this is
* publisher.id. For OpenDirect it is typically the publisher's
* organization ID. Should be limited to 64 characters in length.
* REQUIRED by the OpenRTB specification.
* Supported by Google.
* </pre>
*
* <code>optional string sid = 2;</code>
* @param value The sid to set.
* @return This builder for chaining.
*/
public Builder setSid(
java.lang.String value) {
copyOnWrite();
instance.setSid(value);
return this;
}
/**
* <pre>
* The identifier associated with the seller or reseller account
* within the advertising system. This must contain the same value
* used in transactions (OpenRTB bid requests) in the field
* specified by the SSP/exchange. Typically, in OpenRTB, this is
* publisher.id. For OpenDirect it is typically the publisher's
* organization ID. Should be limited to 64 characters in length.
* REQUIRED by the OpenRTB specification.
* Supported by Google.
* </pre>
*
* <code>optional string sid = 2;</code>
* @return This builder for chaining.
*/
public Builder clearSid() {
copyOnWrite();
instance.clearSid();
return this;
}
/**
* <pre>
* The identifier associated with the seller or reseller account
* within the advertising system. This must contain the same value
* used in transactions (OpenRTB bid requests) in the field
* specified by the SSP/exchange. Typically, in OpenRTB, this is
* publisher.id. For OpenDirect it is typically the publisher's
* organization ID. Should be limited to 64 characters in length.
* REQUIRED by the OpenRTB specification.
* Supported by Google.
* </pre>
*
* <code>optional string sid = 2;</code>
* @param value The bytes for sid to set.
* @return This builder for chaining.
*/
public Builder setSidBytes(
com.google.protobuf.ByteString value) {
copyOnWrite();
instance.setSidBytes(value);
return this;
}
/**
* <pre>
* The OpenRTB RequestId of the request as issued by this seller.
* Not supported by Google.
* </pre>
*
* <code>optional string rid = 3;</code>
* @return Whether the rid field is set.
*/
@java.lang.Override
public boolean hasRid() {
return instance.hasRid();
}
/**
* <pre>
* The OpenRTB RequestId of the request as issued by this seller.
* Not supported by Google.
* </pre>
*
* <code>optional string rid = 3;</code>
* @return The rid.
*/
@java.lang.Override
public java.lang.String getRid() {
return instance.getRid();
}
/**
* <pre>
* The OpenRTB RequestId of the request as issued by this seller.
* Not supported by Google.
* </pre>
*
* <code>optional string rid = 3;</code>
* @return The bytes for rid.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getRidBytes() {
return instance.getRidBytes();
}
/**
* <pre>
* The OpenRTB RequestId of the request as issued by this seller.
* Not supported by Google.
* </pre>
*
* <code>optional string rid = 3;</code>
* @param value The rid to set.
* @return This builder for chaining.
*/
public Builder setRid(
java.lang.String value) {
copyOnWrite();
instance.setRid(value);
return this;
}
/**
* <pre>
* The OpenRTB RequestId of the request as issued by this seller.
* Not supported by Google.
* </pre>
*
* <code>optional string rid = 3;</code>
* @return This builder for chaining.
*/
public Builder clearRid() {
copyOnWrite();
instance.clearRid();
return this;
}
/**
* <pre>
* The OpenRTB RequestId of the request as issued by this seller.
* Not supported by Google.
* </pre>
*
* <code>optional string rid = 3;</code>
* @param value The bytes for rid to set.
* @return This builder for chaining.
*/
public Builder setRidBytes(
com.google.protobuf.ByteString value) {
copyOnWrite();
instance.setRidBytes(value);
return this;
}
/**
* <pre>
* The name of the company (the legal entity) that has paid for
* inventory transacted under the given seller_ID. This value is
* optional and should NOT be included if it exists in the
* advertising system’s sellers.json file.
* Not supported by Google.
* </pre>
*
* <code>optional string name = 4;</code>
* @return Whether the name field is set.
*/
@java.lang.Override
public boolean hasName() {
return instance.hasName();
}
/**
* <pre>
* The name of the company (the legal entity) that has paid for
* inventory transacted under the given seller_ID. This value is
* optional and should NOT be included if it exists in the
* advertising system’s sellers.json file.
* Not supported by Google.
* </pre>
*
* <code>optional string name = 4;</code>
* @return The name.
*/
@java.lang.Override
public java.lang.String getName() {
return instance.getName();
}
/**
* <pre>
* The name of the company (the legal entity) that has paid for
* inventory transacted under the given seller_ID. This value is
* optional and should NOT be included if it exists in the
* advertising system’s sellers.json file.
* Not supported by Google.
* </pre>
*
* <code>optional string name = 4;</code>
* @return The bytes for name.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getNameBytes() {
return instance.getNameBytes();
}
/**
* <pre>
* The name of the company (the legal entity) that has paid for
* inventory transacted under the given seller_ID. This value is
* optional and should NOT be included if it exists in the
* advertising system’s sellers.json file.
* Not supported by Google.
* </pre>
*
* <code>optional string name = 4;</code>
* @param value The name to set.
* @return This builder for chaining.
*/
public Builder setName(
java.lang.String value) {
copyOnWrite();
instance.setName(value);
return this;
}
/**
* <pre>
* The name of the company (the legal entity) that has paid for
* inventory transacted under the given seller_ID. This value is
* optional and should NOT be included if it exists in the
* advertising system’s sellers.json file.
* Not supported by Google.
* </pre>
*
* <code>optional string name = 4;</code>
* @return This builder for chaining.
*/
public Builder clearName() {
copyOnWrite();
instance.clearName();
return this;
}
/**
* <pre>
* The name of the company (the legal entity) that has paid for
* inventory transacted under the given seller_ID. This value is
* optional and should NOT be included if it exists in the
* advertising system’s sellers.json file.
* Not supported by Google.
* </pre>
*
* <code>optional string name = 4;</code>
* @param value The bytes for name to set.
* @return This builder for chaining.
*/
public Builder setNameBytes(
com.google.protobuf.ByteString value) {
copyOnWrite();
instance.setNameBytes(value);
return this;
}
/**
* <pre>
* The business domain name of the entity represented by this
* node. This value is optional and should NOT be included if it
* exists in the advertising system’s sellers.json file.
* Not supported by Google.
* </pre>
*
* <code>optional string domain = 5;</code>
* @return Whether the domain field is set.
*/
@java.lang.Override
public boolean hasDomain() {
return instance.hasDomain();
}
/**
* <pre>
* The business domain name of the entity represented by this
* node. This value is optional and should NOT be included if it
* exists in the advertising system’s sellers.json file.
* Not supported by Google.
* </pre>
*
* <code>optional string domain = 5;</code>
* @return The domain.
*/
@java.lang.Override
public java.lang.String getDomain() {
return instance.getDomain();
}
/**
* <pre>
* The business domain name of the entity represented by this
* node. This value is optional and should NOT be included if it
* exists in the advertising system’s sellers.json file.
* Not supported by Google.
* </pre>
*
* <code>optional string domain = 5;</code>
* @return The bytes for domain.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getDomainBytes() {
return instance.getDomainBytes();
}
/**
* <pre>
* The business domain name of the entity represented by this
* node. This value is optional and should NOT be included if it
* exists in the advertising system’s sellers.json file.
* Not supported by Google.
* </pre>
*
* <code>optional string domain = 5;</code>
* @param value The domain to set.
* @return This builder for chaining.
*/
public Builder setDomain(
java.lang.String value) {
copyOnWrite();
instance.setDomain(value);
return this;
}
/**
* <pre>
* The business domain name of the entity represented by this
* node. This value is optional and should NOT be included if it
* exists in the advertising system’s sellers.json file.
* Not supported by Google.
* </pre>
*
* <code>optional string domain = 5;</code>
* @return This builder for chaining.
*/
public Builder clearDomain() {
copyOnWrite();
instance.clearDomain();
return this;
}
/**
* <pre>
* The business domain name of the entity represented by this
* node. This value is optional and should NOT be included if it
* exists in the advertising system’s sellers.json file.
* Not supported by Google.
* </pre>
*
* <code>optional string domain = 5;</code>
* @param value The bytes for domain to set.
* @return This builder for chaining.
*/
public Builder setDomainBytes(
com.google.protobuf.ByteString value) {
copyOnWrite();
instance.setDomainBytes(value);
return this;
}
/**
* <pre>
* Indicates whether this node will be involved in the flow of payment
* for the inventory. When set to true, the advertising system in the
* asi field pays the seller in the sid field, who is responsible for
* paying the previous node in the chain. When set to false, this node
* is not involved in the flow of payment for the inventory.
* For version 1.0 of SupplyChain, this property should always be true.
* Implementers should ensure that they propagate this field onwards
* when constructing SupplyChain objects in bid requests sent to a
* downstream advertising system.
* Supported by Google.
* </pre>
*
* <code>optional bool hp = 6;</code>
* @return Whether the hp field is set.
*/
@java.lang.Override
public boolean hasHp() {
return instance.hasHp();
}
/**
* <pre>
* Indicates whether this node will be involved in the flow of payment
* for the inventory. When set to true, the advertising system in the
* asi field pays the seller in the sid field, who is responsible for
* paying the previous node in the chain. When set to false, this node
* is not involved in the flow of payment for the inventory.
* For version 1.0 of SupplyChain, this property should always be true.
* Implementers should ensure that they propagate this field onwards
* when constructing SupplyChain objects in bid requests sent to a
* downstream advertising system.
* Supported by Google.
* </pre>
*
* <code>optional bool hp = 6;</code>
* @return The hp.
*/
@java.lang.Override
public boolean getHp() {
return instance.getHp();
}
/**
* <pre>
* Indicates whether this node will be involved in the flow of payment
* for the inventory. When set to true, the advertising system in the
* asi field pays the seller in the sid field, who is responsible for
* paying the previous node in the chain. When set to false, this node
* is not involved in the flow of payment for the inventory.
* For version 1.0 of SupplyChain, this property should always be true.
* Implementers should ensure that they propagate this field onwards
* when constructing SupplyChain objects in bid requests sent to a
* downstream advertising system.
* Supported by Google.
* </pre>
*
* <code>optional bool hp = 6;</code>
* @param value The hp to set.
* @return This builder for chaining.
*/
public Builder setHp(boolean value) {
copyOnWrite();
instance.setHp(value);
return this;
}
/**
* <pre>
* Indicates whether this node will be involved in the flow of payment
* for the inventory. When set to true, the advertising system in the
* asi field pays the seller in the sid field, who is responsible for
* paying the previous node in the chain. When set to false, this node
* is not involved in the flow of payment for the inventory.
* For version 1.0 of SupplyChain, this property should always be true.
* Implementers should ensure that they propagate this field onwards
* when constructing SupplyChain objects in bid requests sent to a
* downstream advertising system.
* Supported by Google.
* </pre>
*
* <code>optional bool hp = 6;</code>
* @return This builder for chaining.
*/
public Builder clearHp() {
copyOnWrite();
instance.clearHp();
return this;
}
// @@protoc_insertion_point(builder_scope:com.google.openrtb.BidRequest.Source.SupplyChain.SupplyChainNode)
}
private byte memoizedIsInitialized = 2;
@java.lang.Override
@java.lang.SuppressWarnings({"unchecked", "fallthrough"})
protected final java.lang.Object dynamicMethod(
com.google.protobuf.GeneratedMessageLite.MethodToInvoke method,
java.lang.Object arg0, java.lang.Object arg1) {
switch (method) {
case NEW_MUTABLE_INSTANCE: {
return new com.particles.mes.protos.openrtb.BidRequest.Source.SupplyChain.SupplyChainNode();
}
case NEW_BUILDER: {
return new Builder();
}
case BUILD_MESSAGE_INFO: {
java.lang.Object[] objects = new java.lang.Object[] {
"bitField0_",
"asi_",
"sid_",
"rid_",
"name_",
"domain_",
"hp_",
};
java.lang.String info =
"\u0001\u0006\u0000\u0001\u0001\u0006\u0006\u0000\u0000\u0000\u0001\u1008\u0000\u0002" +
"\u1008\u0001\u0003\u1008\u0002\u0004\u1008\u0003\u0005\u1008\u0004\u0006\u1007\u0005" +
"";
return newMessageInfo(DEFAULT_INSTANCE, info, objects);
}
// fall through
case GET_DEFAULT_INSTANCE: {
return DEFAULT_INSTANCE;
}
case GET_PARSER: {
com.google.protobuf.Parser<com.particles.mes.protos.openrtb.BidRequest.Source.SupplyChain.SupplyChainNode> parser = PARSER;
if (parser == null) {
synchronized (com.particles.mes.protos.openrtb.BidRequest.Source.SupplyChain.SupplyChainNode.class) {
parser = PARSER;
if (parser == null) {
parser =
new DefaultInstanceBasedParser<com.particles.mes.protos.openrtb.BidRequest.Source.SupplyChain.SupplyChainNode>(
DEFAULT_INSTANCE);
PARSER = parser;
}
}
}
return parser;
}
case GET_MEMOIZED_IS_INITIALIZED: {
return memoizedIsInitialized;
}
case SET_MEMOIZED_IS_INITIALIZED: {
memoizedIsInitialized = (byte) (arg0 == null ? 0 : 1);
return null;
}
}
throw new UnsupportedOperationException();
}
// @@protoc_insertion_point(class_scope:com.google.openrtb.BidRequest.Source.SupplyChain.SupplyChainNode)
private static final com.particles.mes.protos.openrtb.BidRequest.Source.SupplyChain.SupplyChainNode DEFAULT_INSTANCE;
static {
SupplyChainNode defaultInstance = new SupplyChainNode();
// New instances are implicitly immutable so no need to make
// immutable.
DEFAULT_INSTANCE = defaultInstance;
com.google.protobuf.GeneratedMessageLite.registerDefaultInstance(
SupplyChainNode.class, defaultInstance);
}
public static com.particles.mes.protos.openrtb.BidRequest.Source.SupplyChain.SupplyChainNode getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static volatile com.google.protobuf.Parser<SupplyChainNode> PARSER;
public static com.google.protobuf.Parser<SupplyChainNode> parser() {
return DEFAULT_INSTANCE.getParserForType();
}
}
private int bitField0_;
public static final int COMPLETE_FIELD_NUMBER = 1;
private boolean complete_;
/**
* <pre>
* Indicates whether the chain contains all nodes involved in the
* transaction leading back to the owner of the site, app or other medium
* of the inventory.
* REQUIRED by the OpenRTB specification.
* Supported by Google.
* </pre>
*
* <code>optional bool complete = 1;</code>
* @return Whether the complete field is set.
*/
@java.lang.Override
public boolean hasComplete() {
return ((bitField0_ & 0x00000001) != 0);
}
/**
* <pre>
* Indicates whether the chain contains all nodes involved in the
* transaction leading back to the owner of the site, app or other medium
* of the inventory.
* REQUIRED by the OpenRTB specification.
* Supported by Google.
* </pre>
*
* <code>optional bool complete = 1;</code>
* @return The complete.
*/
@java.lang.Override
public boolean getComplete() {
return complete_;
}
/**
* <pre>
* Indicates whether the chain contains all nodes involved in the
* transaction leading back to the owner of the site, app or other medium
* of the inventory.
* REQUIRED by the OpenRTB specification.
* Supported by Google.
* </pre>
*
* <code>optional bool complete = 1;</code>
* @param value The complete to set.
*/
private void setComplete(boolean value) {
bitField0_ |= 0x00000001;
complete_ = value;
}
/**
* <pre>
* Indicates whether the chain contains all nodes involved in the
* transaction leading back to the owner of the site, app or other medium
* of the inventory.
* REQUIRED by the OpenRTB specification.
* Supported by Google.
* </pre>
*
* <code>optional bool complete = 1;</code>
*/
private void clearComplete() {
bitField0_ = (bitField0_ & ~0x00000001);
complete_ = false;
}
public static final int NODES_FIELD_NUMBER = 2;
private com.google.protobuf.Internal.ProtobufList<com.particles.mes.protos.openrtb.BidRequest.Source.SupplyChain.SupplyChainNode> nodes_;
/**
* <pre>
* Array of SupplyChainNode objects in the order of the chain.
* In a complete supply chain, the first node represents the initial
* advertising system and seller ID involved in the transaction, that is,
* the owner of the site, app, or other medium. In an incomplete
* supply chain, it represents the first known node. The last node
* represents the entity sending this bid request.
* REQUIRED by the OpenRTB specification.
* Supported by Google.
* </pre>
*
* <code>repeated .com.google.openrtb.BidRequest.Source.SupplyChain.SupplyChainNode nodes = 2;</code>
*/
@java.lang.Override
public java.util.List<com.particles.mes.protos.openrtb.BidRequest.Source.SupplyChain.SupplyChainNode> getNodesList() {
return nodes_;
}
/**
* <pre>
* Array of SupplyChainNode objects in the order of the chain.
* In a complete supply chain, the first node represents the initial
* advertising system and seller ID involved in the transaction, that is,
* the owner of the site, app, or other medium. In an incomplete
* supply chain, it represents the first known node. The last node
* represents the entity sending this bid request.
* REQUIRED by the OpenRTB specification.
* Supported by Google.
* </pre>
*
* <code>repeated .com.google.openrtb.BidRequest.Source.SupplyChain.SupplyChainNode nodes = 2;</code>
*/
public java.util.List<? extends com.particles.mes.protos.openrtb.BidRequest.Source.SupplyChain.SupplyChainNodeOrBuilder>
getNodesOrBuilderList() {
return nodes_;
}
/**
* <pre>
* Array of SupplyChainNode objects in the order of the chain.
* In a complete supply chain, the first node represents the initial
* advertising system and seller ID involved in the transaction, that is,
* the owner of the site, app, or other medium. In an incomplete
* supply chain, it represents the first known node. The last node
* represents the entity sending this bid request.
* REQUIRED by the OpenRTB specification.
* Supported by Google.
* </pre>
*
* <code>repeated .com.google.openrtb.BidRequest.Source.SupplyChain.SupplyChainNode nodes = 2;</code>
*/
@java.lang.Override
public int getNodesCount() {
return nodes_.size();
}
/**
* <pre>
* Array of SupplyChainNode objects in the order of the chain.
* In a complete supply chain, the first node represents the initial
* advertising system and seller ID involved in the transaction, that is,
* the owner of the site, app, or other medium. In an incomplete
* supply chain, it represents the first known node. The last node
* represents the entity sending this bid request.
* REQUIRED by the OpenRTB specification.
* Supported by Google.
* </pre>
*
* <code>repeated .com.google.openrtb.BidRequest.Source.SupplyChain.SupplyChainNode nodes = 2;</code>
*/
@java.lang.Override
public com.particles.mes.protos.openrtb.BidRequest.Source.SupplyChain.SupplyChainNode getNodes(int index) {
return nodes_.get(index);
}
/**
* <pre>
* Array of SupplyChainNode objects in the order of the chain.
* In a complete supply chain, the first node represents the initial
* advertising system and seller ID involved in the transaction, that is,
* the owner of the site, app, or other medium. In an incomplete
* supply chain, it represents the first known node. The last node
* represents the entity sending this bid request.
* REQUIRED by the OpenRTB specification.
* Supported by Google.
* </pre>
*
* <code>repeated .com.google.openrtb.BidRequest.Source.SupplyChain.SupplyChainNode nodes = 2;</code>
*/
public com.particles.mes.protos.openrtb.BidRequest.Source.SupplyChain.SupplyChainNodeOrBuilder getNodesOrBuilder(
int index) {
return nodes_.get(index);
}
private void ensureNodesIsMutable() {
com.google.protobuf.Internal.ProtobufList<com.particles.mes.protos.openrtb.BidRequest.Source.SupplyChain.SupplyChainNode> tmp = nodes_;
if (!tmp.isModifiable()) {
nodes_ =
com.google.protobuf.GeneratedMessageLite.mutableCopy(tmp);
}
}
/**
* <pre>
* Array of SupplyChainNode objects in the order of the chain.
* In a complete supply chain, the first node represents the initial
* advertising system and seller ID involved in the transaction, that is,
* the owner of the site, app, or other medium. In an incomplete
* supply chain, it represents the first known node. The last node
* represents the entity sending this bid request.
* REQUIRED by the OpenRTB specification.
* Supported by Google.
* </pre>
*
* <code>repeated .com.google.openrtb.BidRequest.Source.SupplyChain.SupplyChainNode nodes = 2;</code>
*/
private void setNodes(
int index, com.particles.mes.protos.openrtb.BidRequest.Source.SupplyChain.SupplyChainNode value) {
value.getClass();
ensureNodesIsMutable();
nodes_.set(index, value);
}
/**
* <pre>
* Array of SupplyChainNode objects in the order of the chain.
* In a complete supply chain, the first node represents the initial
* advertising system and seller ID involved in the transaction, that is,
* the owner of the site, app, or other medium. In an incomplete
* supply chain, it represents the first known node. The last node
* represents the entity sending this bid request.
* REQUIRED by the OpenRTB specification.
* Supported by Google.
* </pre>
*
* <code>repeated .com.google.openrtb.BidRequest.Source.SupplyChain.SupplyChainNode nodes = 2;</code>
*/
private void addNodes(com.particles.mes.protos.openrtb.BidRequest.Source.SupplyChain.SupplyChainNode value) {
value.getClass();
ensureNodesIsMutable();
nodes_.add(value);
}
/**
* <pre>
* Array of SupplyChainNode objects in the order of the chain.
* In a complete supply chain, the first node represents the initial
* advertising system and seller ID involved in the transaction, that is,
* the owner of the site, app, or other medium. In an incomplete
* supply chain, it represents the first known node. The last node
* represents the entity sending this bid request.
* REQUIRED by the OpenRTB specification.
* Supported by Google.
* </pre>
*
* <code>repeated .com.google.openrtb.BidRequest.Source.SupplyChain.SupplyChainNode nodes = 2;</code>
*/
private void addNodes(
int index, com.particles.mes.protos.openrtb.BidRequest.Source.SupplyChain.SupplyChainNode value) {
value.getClass();
ensureNodesIsMutable();
nodes_.add(index, value);
}
/**
* <pre>
* Array of SupplyChainNode objects in the order of the chain.
* In a complete supply chain, the first node represents the initial
* advertising system and seller ID involved in the transaction, that is,
* the owner of the site, app, or other medium. In an incomplete
* supply chain, it represents the first known node. The last node
* represents the entity sending this bid request.
* REQUIRED by the OpenRTB specification.
* Supported by Google.
* </pre>
*
* <code>repeated .com.google.openrtb.BidRequest.Source.SupplyChain.SupplyChainNode nodes = 2;</code>
*/
private void addAllNodes(
java.lang.Iterable<? extends com.particles.mes.protos.openrtb.BidRequest.Source.SupplyChain.SupplyChainNode> values) {
ensureNodesIsMutable();
com.google.protobuf.AbstractMessageLite.addAll(
values, nodes_);
}
/**
* <pre>
* Array of SupplyChainNode objects in the order of the chain.
* In a complete supply chain, the first node represents the initial
* advertising system and seller ID involved in the transaction, that is,
* the owner of the site, app, or other medium. In an incomplete
* supply chain, it represents the first known node. The last node
* represents the entity sending this bid request.
* REQUIRED by the OpenRTB specification.
* Supported by Google.
* </pre>
*
* <code>repeated .com.google.openrtb.BidRequest.Source.SupplyChain.SupplyChainNode nodes = 2;</code>
*/
private void clearNodes() {
nodes_ = emptyProtobufList();
}
/**
* <pre>
* Array of SupplyChainNode objects in the order of the chain.
* In a complete supply chain, the first node represents the initial
* advertising system and seller ID involved in the transaction, that is,
* the owner of the site, app, or other medium. In an incomplete
* supply chain, it represents the first known node. The last node
* represents the entity sending this bid request.
* REQUIRED by the OpenRTB specification.
* Supported by Google.
* </pre>
*
* <code>repeated .com.google.openrtb.BidRequest.Source.SupplyChain.SupplyChainNode nodes = 2;</code>
*/
private void removeNodes(int index) {
ensureNodesIsMutable();
nodes_.remove(index);
}
public static final int VER_FIELD_NUMBER = 3;
private java.lang.String ver_;
/**
* <pre>
* Version of the supply chain specification in use, in the format
* of "major.minor". For example, for version 1.0 of the spec,
* use the string "1.0".
* REQUIRED by the OpenRTB specification.
* Supported by Google.
* </pre>
*
* <code>optional string ver = 3;</code>
* @return Whether the ver field is set.
*/
@java.lang.Override
public boolean hasVer() {
return ((bitField0_ & 0x00000002) != 0);
}
/**
* <pre>
* Version of the supply chain specification in use, in the format
* of "major.minor". For example, for version 1.0 of the spec,
* use the string "1.0".
* REQUIRED by the OpenRTB specification.
* Supported by Google.
* </pre>
*
* <code>optional string ver = 3;</code>
* @return The ver.
*/
@java.lang.Override
public java.lang.String getVer() {
return ver_;
}
/**
* <pre>
* Version of the supply chain specification in use, in the format
* of "major.minor". For example, for version 1.0 of the spec,
* use the string "1.0".
* REQUIRED by the OpenRTB specification.
* Supported by Google.
* </pre>
*
* <code>optional string ver = 3;</code>
* @return The bytes for ver.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getVerBytes() {
return com.google.protobuf.ByteString.copyFromUtf8(ver_);
}
/**
* <pre>
* Version of the supply chain specification in use, in the format
* of "major.minor". For example, for version 1.0 of the spec,
* use the string "1.0".
* REQUIRED by the OpenRTB specification.
* Supported by Google.
* </pre>
*
* <code>optional string ver = 3;</code>
* @param value The ver to set.
*/
private void setVer(
java.lang.String value) {
java.lang.Class<?> valueClass = value.getClass();
bitField0_ |= 0x00000002;
ver_ = value;
}
/**
* <pre>
* Version of the supply chain specification in use, in the format
* of "major.minor". For example, for version 1.0 of the spec,
* use the string "1.0".
* REQUIRED by the OpenRTB specification.
* Supported by Google.
* </pre>
*
* <code>optional string ver = 3;</code>
*/
private void clearVer() {
bitField0_ = (bitField0_ & ~0x00000002);
ver_ = getDefaultInstance().getVer();
}
/**
* <pre>
* Version of the supply chain specification in use, in the format
* of "major.minor". For example, for version 1.0 of the spec,
* use the string "1.0".
* REQUIRED by the OpenRTB specification.
* Supported by Google.
* </pre>
*
* <code>optional string ver = 3;</code>
* @param value The bytes for ver to set.
*/
private void setVerBytes(
com.google.protobuf.ByteString value) {
ver_ = value.toStringUtf8();
bitField0_ |= 0x00000002;
}
public static com.particles.mes.protos.openrtb.BidRequest.Source.SupplyChain parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, data);
}
public static com.particles.mes.protos.openrtb.BidRequest.Source.SupplyChain parseFrom(
java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, data, extensionRegistry);
}
public static com.particles.mes.protos.openrtb.BidRequest.Source.SupplyChain parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, data);
}
public static com.particles.mes.protos.openrtb.BidRequest.Source.SupplyChain parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, data, extensionRegistry);
}
public static com.particles.mes.protos.openrtb.BidRequest.Source.SupplyChain parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, data);
}
public static com.particles.mes.protos.openrtb.BidRequest.Source.SupplyChain parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, data, extensionRegistry);
}
public static com.particles.mes.protos.openrtb.BidRequest.Source.SupplyChain parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, input);
}
public static com.particles.mes.protos.openrtb.BidRequest.Source.SupplyChain parseFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, input, extensionRegistry);
}
public static com.particles.mes.protos.openrtb.BidRequest.Source.SupplyChain parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return parseDelimitedFrom(DEFAULT_INSTANCE, input);
}
public static com.particles.mes.protos.openrtb.BidRequest.Source.SupplyChain parseDelimitedFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return parseDelimitedFrom(DEFAULT_INSTANCE, input, extensionRegistry);
}
public static com.particles.mes.protos.openrtb.BidRequest.Source.SupplyChain parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, input);
}
public static com.particles.mes.protos.openrtb.BidRequest.Source.SupplyChain parseFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, input, extensionRegistry);
}
public static Builder newBuilder() {
return (Builder) DEFAULT_INSTANCE.createBuilder();
}
public static Builder newBuilder(com.particles.mes.protos.openrtb.BidRequest.Source.SupplyChain prototype) {
return (Builder) DEFAULT_INSTANCE.createBuilder(prototype);
}
/**
* <pre>
* This object is composed of a set of nodes where each node represents a
* specific entity that participates in the transacting of inventory.
* The entire chain of nodes from beginning to end represents all entities
* who are involved in the direct flow of payment for inventory. Detailed
* implementation examples can be found here:
* https://github.com/InteractiveAdvertisingBureau/openrtb/blob/master/supplychainobject.md
* </pre>
*
* Protobuf type {@code com.google.openrtb.BidRequest.Source.SupplyChain}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageLite.ExtendableBuilder<
com.particles.mes.protos.openrtb.BidRequest.Source.SupplyChain, Builder> implements
// @@protoc_insertion_point(builder_implements:com.google.openrtb.BidRequest.Source.SupplyChain)
com.particles.mes.protos.openrtb.BidRequest.Source.SupplyChainOrBuilder {
// Construct using com.particles.mes.protos.openrtb.BidRequest.Source.SupplyChain.newBuilder()
private Builder() {
super(DEFAULT_INSTANCE);
}
/**
* <pre>
* Indicates whether the chain contains all nodes involved in the
* transaction leading back to the owner of the site, app or other medium
* of the inventory.
* REQUIRED by the OpenRTB specification.
* Supported by Google.
* </pre>
*
* <code>optional bool complete = 1;</code>
* @return Whether the complete field is set.
*/
@java.lang.Override
public boolean hasComplete() {
return instance.hasComplete();
}
/**
* <pre>
* Indicates whether the chain contains all nodes involved in the
* transaction leading back to the owner of the site, app or other medium
* of the inventory.
* REQUIRED by the OpenRTB specification.
* Supported by Google.
* </pre>
*
* <code>optional bool complete = 1;</code>
* @return The complete.
*/
@java.lang.Override
public boolean getComplete() {
return instance.getComplete();
}
/**
* <pre>
* Indicates whether the chain contains all nodes involved in the
* transaction leading back to the owner of the site, app or other medium
* of the inventory.
* REQUIRED by the OpenRTB specification.
* Supported by Google.
* </pre>
*
* <code>optional bool complete = 1;</code>
* @param value The complete to set.
* @return This builder for chaining.
*/
public Builder setComplete(boolean value) {
copyOnWrite();
instance.setComplete(value);
return this;
}
/**
* <pre>
* Indicates whether the chain contains all nodes involved in the
* transaction leading back to the owner of the site, app or other medium
* of the inventory.
* REQUIRED by the OpenRTB specification.
* Supported by Google.
* </pre>
*
* <code>optional bool complete = 1;</code>
* @return This builder for chaining.
*/
public Builder clearComplete() {
copyOnWrite();
instance.clearComplete();
return this;
}
/**
* <pre>
* Array of SupplyChainNode objects in the order of the chain.
* In a complete supply chain, the first node represents the initial
* advertising system and seller ID involved in the transaction, that is,
* the owner of the site, app, or other medium. In an incomplete
* supply chain, it represents the first known node. The last node
* represents the entity sending this bid request.
* REQUIRED by the OpenRTB specification.
* Supported by Google.
* </pre>
*
* <code>repeated .com.google.openrtb.BidRequest.Source.SupplyChain.SupplyChainNode nodes = 2;</code>
*/
@java.lang.Override
public java.util.List<com.particles.mes.protos.openrtb.BidRequest.Source.SupplyChain.SupplyChainNode> getNodesList() {
return java.util.Collections.unmodifiableList(
instance.getNodesList());
}
/**
* <pre>
* Array of SupplyChainNode objects in the order of the chain.
* In a complete supply chain, the first node represents the initial
* advertising system and seller ID involved in the transaction, that is,
* the owner of the site, app, or other medium. In an incomplete
* supply chain, it represents the first known node. The last node
* represents the entity sending this bid request.
* REQUIRED by the OpenRTB specification.
* Supported by Google.
* </pre>
*
* <code>repeated .com.google.openrtb.BidRequest.Source.SupplyChain.SupplyChainNode nodes = 2;</code>
*/
@java.lang.Override
public int getNodesCount() {
return instance.getNodesCount();
}/**
* <pre>
* Array of SupplyChainNode objects in the order of the chain.
* In a complete supply chain, the first node represents the initial
* advertising system and seller ID involved in the transaction, that is,
* the owner of the site, app, or other medium. In an incomplete
* supply chain, it represents the first known node. The last node
* represents the entity sending this bid request.
* REQUIRED by the OpenRTB specification.
* Supported by Google.
* </pre>
*
* <code>repeated .com.google.openrtb.BidRequest.Source.SupplyChain.SupplyChainNode nodes = 2;</code>
*/
@java.lang.Override
public com.particles.mes.protos.openrtb.BidRequest.Source.SupplyChain.SupplyChainNode getNodes(int index) {
return instance.getNodes(index);
}
/**
* <pre>
* Array of SupplyChainNode objects in the order of the chain.
* In a complete supply chain, the first node represents the initial
* advertising system and seller ID involved in the transaction, that is,
* the owner of the site, app, or other medium. In an incomplete
* supply chain, it represents the first known node. The last node
* represents the entity sending this bid request.
* REQUIRED by the OpenRTB specification.
* Supported by Google.
* </pre>
*
* <code>repeated .com.google.openrtb.BidRequest.Source.SupplyChain.SupplyChainNode nodes = 2;</code>
*/
public Builder setNodes(
int index, com.particles.mes.protos.openrtb.BidRequest.Source.SupplyChain.SupplyChainNode value) {
copyOnWrite();
instance.setNodes(index, value);
return this;
}
/**
* <pre>
* Array of SupplyChainNode objects in the order of the chain.
* In a complete supply chain, the first node represents the initial
* advertising system and seller ID involved in the transaction, that is,
* the owner of the site, app, or other medium. In an incomplete
* supply chain, it represents the first known node. The last node
* represents the entity sending this bid request.
* REQUIRED by the OpenRTB specification.
* Supported by Google.
* </pre>
*
* <code>repeated .com.google.openrtb.BidRequest.Source.SupplyChain.SupplyChainNode nodes = 2;</code>
*/
public Builder setNodes(
int index, com.particles.mes.protos.openrtb.BidRequest.Source.SupplyChain.SupplyChainNode.Builder builderForValue) {
copyOnWrite();
instance.setNodes(index,
builderForValue.build());
return this;
}
/**
* <pre>
* Array of SupplyChainNode objects in the order of the chain.
* In a complete supply chain, the first node represents the initial
* advertising system and seller ID involved in the transaction, that is,
* the owner of the site, app, or other medium. In an incomplete
* supply chain, it represents the first known node. The last node
* represents the entity sending this bid request.
* REQUIRED by the OpenRTB specification.
* Supported by Google.
* </pre>
*
* <code>repeated .com.google.openrtb.BidRequest.Source.SupplyChain.SupplyChainNode nodes = 2;</code>
*/
public Builder addNodes(com.particles.mes.protos.openrtb.BidRequest.Source.SupplyChain.SupplyChainNode value) {
copyOnWrite();
instance.addNodes(value);
return this;
}
/**
* <pre>
* Array of SupplyChainNode objects in the order of the chain.
* In a complete supply chain, the first node represents the initial
* advertising system and seller ID involved in the transaction, that is,
* the owner of the site, app, or other medium. In an incomplete
* supply chain, it represents the first known node. The last node
* represents the entity sending this bid request.
* REQUIRED by the OpenRTB specification.
* Supported by Google.
* </pre>
*
* <code>repeated .com.google.openrtb.BidRequest.Source.SupplyChain.SupplyChainNode nodes = 2;</code>
*/
public Builder addNodes(
int index, com.particles.mes.protos.openrtb.BidRequest.Source.SupplyChain.SupplyChainNode value) {
copyOnWrite();
instance.addNodes(index, value);
return this;
}
/**
* <pre>
* Array of SupplyChainNode objects in the order of the chain.
* In a complete supply chain, the first node represents the initial
* advertising system and seller ID involved in the transaction, that is,
* the owner of the site, app, or other medium. In an incomplete
* supply chain, it represents the first known node. The last node
* represents the entity sending this bid request.
* REQUIRED by the OpenRTB specification.
* Supported by Google.
* </pre>
*
* <code>repeated .com.google.openrtb.BidRequest.Source.SupplyChain.SupplyChainNode nodes = 2;</code>
*/
public Builder addNodes(
com.particles.mes.protos.openrtb.BidRequest.Source.SupplyChain.SupplyChainNode.Builder builderForValue) {
copyOnWrite();
instance.addNodes(builderForValue.build());
return this;
}
/**
* <pre>
* Array of SupplyChainNode objects in the order of the chain.
* In a complete supply chain, the first node represents the initial
* advertising system and seller ID involved in the transaction, that is,
* the owner of the site, app, or other medium. In an incomplete
* supply chain, it represents the first known node. The last node
* represents the entity sending this bid request.
* REQUIRED by the OpenRTB specification.
* Supported by Google.
* </pre>
*
* <code>repeated .com.google.openrtb.BidRequest.Source.SupplyChain.SupplyChainNode nodes = 2;</code>
*/
public Builder addNodes(
int index, com.particles.mes.protos.openrtb.BidRequest.Source.SupplyChain.SupplyChainNode.Builder builderForValue) {
copyOnWrite();
instance.addNodes(index,
builderForValue.build());
return this;
}
/**
* <pre>
* Array of SupplyChainNode objects in the order of the chain.
* In a complete supply chain, the first node represents the initial
* advertising system and seller ID involved in the transaction, that is,
* the owner of the site, app, or other medium. In an incomplete
* supply chain, it represents the first known node. The last node
* represents the entity sending this bid request.
* REQUIRED by the OpenRTB specification.
* Supported by Google.
* </pre>
*
* <code>repeated .com.google.openrtb.BidRequest.Source.SupplyChain.SupplyChainNode nodes = 2;</code>
*/
public Builder addAllNodes(
java.lang.Iterable<? extends com.particles.mes.protos.openrtb.BidRequest.Source.SupplyChain.SupplyChainNode> values) {
copyOnWrite();
instance.addAllNodes(values);
return this;
}
/**
* <pre>
* Array of SupplyChainNode objects in the order of the chain.
* In a complete supply chain, the first node represents the initial
* advertising system and seller ID involved in the transaction, that is,
* the owner of the site, app, or other medium. In an incomplete
* supply chain, it represents the first known node. The last node
* represents the entity sending this bid request.
* REQUIRED by the OpenRTB specification.
* Supported by Google.
* </pre>
*
* <code>repeated .com.google.openrtb.BidRequest.Source.SupplyChain.SupplyChainNode nodes = 2;</code>
*/
public Builder clearNodes() {
copyOnWrite();
instance.clearNodes();
return this;
}
/**
* <pre>
* Array of SupplyChainNode objects in the order of the chain.
* In a complete supply chain, the first node represents the initial
* advertising system and seller ID involved in the transaction, that is,
* the owner of the site, app, or other medium. In an incomplete
* supply chain, it represents the first known node. The last node
* represents the entity sending this bid request.
* REQUIRED by the OpenRTB specification.
* Supported by Google.
* </pre>
*
* <code>repeated .com.google.openrtb.BidRequest.Source.SupplyChain.SupplyChainNode nodes = 2;</code>
*/
public Builder removeNodes(int index) {
copyOnWrite();
instance.removeNodes(index);
return this;
}
/**
* <pre>
* Version of the supply chain specification in use, in the format
* of "major.minor". For example, for version 1.0 of the spec,
* use the string "1.0".
* REQUIRED by the OpenRTB specification.
* Supported by Google.
* </pre>
*
* <code>optional string ver = 3;</code>
* @return Whether the ver field is set.
*/
@java.lang.Override
public boolean hasVer() {
return instance.hasVer();
}
/**
* <pre>
* Version of the supply chain specification in use, in the format
* of "major.minor". For example, for version 1.0 of the spec,
* use the string "1.0".
* REQUIRED by the OpenRTB specification.
* Supported by Google.
* </pre>
*
* <code>optional string ver = 3;</code>
* @return The ver.
*/
@java.lang.Override
public java.lang.String getVer() {
return instance.getVer();
}
/**
* <pre>
* Version of the supply chain specification in use, in the format
* of "major.minor". For example, for version 1.0 of the spec,
* use the string "1.0".
* REQUIRED by the OpenRTB specification.
* Supported by Google.
* </pre>
*
* <code>optional string ver = 3;</code>
* @return The bytes for ver.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getVerBytes() {
return instance.getVerBytes();
}
/**
* <pre>
* Version of the supply chain specification in use, in the format
* of "major.minor". For example, for version 1.0 of the spec,
* use the string "1.0".
* REQUIRED by the OpenRTB specification.
* Supported by Google.
* </pre>
*
* <code>optional string ver = 3;</code>
* @param value The ver to set.
* @return This builder for chaining.
*/
public Builder setVer(
java.lang.String value) {
copyOnWrite();
instance.setVer(value);
return this;
}
/**
* <pre>
* Version of the supply chain specification in use, in the format
* of "major.minor". For example, for version 1.0 of the spec,
* use the string "1.0".
* REQUIRED by the OpenRTB specification.
* Supported by Google.
* </pre>
*
* <code>optional string ver = 3;</code>
* @return This builder for chaining.
*/
public Builder clearVer() {
copyOnWrite();
instance.clearVer();
return this;
}
/**
* <pre>
* Version of the supply chain specification in use, in the format
* of "major.minor". For example, for version 1.0 of the spec,
* use the string "1.0".
* REQUIRED by the OpenRTB specification.
* Supported by Google.
* </pre>
*
* <code>optional string ver = 3;</code>
* @param value The bytes for ver to set.
* @return This builder for chaining.
*/
public Builder setVerBytes(
com.google.protobuf.ByteString value) {
copyOnWrite();
instance.setVerBytes(value);
return this;
}
// @@protoc_insertion_point(builder_scope:com.google.openrtb.BidRequest.Source.SupplyChain)
}
private byte memoizedIsInitialized = 2;
@java.lang.Override
@java.lang.SuppressWarnings({"unchecked", "fallthrough"})
protected final java.lang.Object dynamicMethod(
com.google.protobuf.GeneratedMessageLite.MethodToInvoke method,
java.lang.Object arg0, java.lang.Object arg1) {
switch (method) {
case NEW_MUTABLE_INSTANCE: {
return new com.particles.mes.protos.openrtb.BidRequest.Source.SupplyChain();
}
case NEW_BUILDER: {
return new Builder();
}
case BUILD_MESSAGE_INFO: {
java.lang.Object[] objects = new java.lang.Object[] {
"bitField0_",
"complete_",
"nodes_",
com.particles.mes.protos.openrtb.BidRequest.Source.SupplyChain.SupplyChainNode.class,
"ver_",
};
java.lang.String info =
"\u0001\u0003\u0000\u0001\u0001\u0003\u0003\u0000\u0001\u0001\u0001\u1007\u0000\u0002" +
"\u041b\u0003\u1008\u0001";
return newMessageInfo(DEFAULT_INSTANCE, info, objects);
}
// fall through
case GET_DEFAULT_INSTANCE: {
return DEFAULT_INSTANCE;
}
case GET_PARSER: {
com.google.protobuf.Parser<com.particles.mes.protos.openrtb.BidRequest.Source.SupplyChain> parser = PARSER;
if (parser == null) {
synchronized (com.particles.mes.protos.openrtb.BidRequest.Source.SupplyChain.class) {
parser = PARSER;
if (parser == null) {
parser =
new DefaultInstanceBasedParser<com.particles.mes.protos.openrtb.BidRequest.Source.SupplyChain>(
DEFAULT_INSTANCE);
PARSER = parser;
}
}
}
return parser;
}
case GET_MEMOIZED_IS_INITIALIZED: {
return memoizedIsInitialized;
}
case SET_MEMOIZED_IS_INITIALIZED: {
memoizedIsInitialized = (byte) (arg0 == null ? 0 : 1);
return null;
}
}
throw new UnsupportedOperationException();
}
// @@protoc_insertion_point(class_scope:com.google.openrtb.BidRequest.Source.SupplyChain)
private static final com.particles.mes.protos.openrtb.BidRequest.Source.SupplyChain DEFAULT_INSTANCE;
static {
SupplyChain defaultInstance = new SupplyChain();
// New instances are implicitly immutable so no need to make
// immutable.
DEFAULT_INSTANCE = defaultInstance;
com.google.protobuf.GeneratedMessageLite.registerDefaultInstance(
SupplyChain.class, defaultInstance);
}
public static com.particles.mes.protos.openrtb.BidRequest.Source.SupplyChain getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static volatile com.google.protobuf.Parser<SupplyChain> PARSER;
public static com.google.protobuf.Parser<SupplyChain> parser() {
return DEFAULT_INSTANCE.getParserForType();
}
}
private int bitField0_;
public static final int FD_FIELD_NUMBER = 1;
private boolean fd_;
/**
* <pre>
* Entity responsible for the final impression sale decision,
* where false = exchange, true = upstream source
* Not supported by Google.
* </pre>
*
* <code>optional bool fd = 1;</code>
* @return Whether the fd field is set.
*/
@java.lang.Override
public boolean hasFd() {
return ((bitField0_ & 0x00000001) != 0);
}
/**
* <pre>
* Entity responsible for the final impression sale decision,
* where false = exchange, true = upstream source
* Not supported by Google.
* </pre>
*
* <code>optional bool fd = 1;</code>
* @return The fd.
*/
@java.lang.Override
public boolean getFd() {
return fd_;
}
/**
* <pre>
* Entity responsible for the final impression sale decision,
* where false = exchange, true = upstream source
* Not supported by Google.
* </pre>
*
* <code>optional bool fd = 1;</code>
* @param value The fd to set.
*/
private void setFd(boolean value) {
bitField0_ |= 0x00000001;
fd_ = value;
}
/**
* <pre>
* Entity responsible for the final impression sale decision,
* where false = exchange, true = upstream source
* Not supported by Google.
* </pre>
*
* <code>optional bool fd = 1;</code>
*/
private void clearFd() {
bitField0_ = (bitField0_ & ~0x00000001);
fd_ = false;
}
public static final int TID_FIELD_NUMBER = 2;
private java.lang.String tid_;
/**
* <pre>
* Transaction ID that must be common across all participants in
* this bid request (for example, potentially multiple exchanges).
* Not supported by Google.
* </pre>
*
* <code>optional string tid = 2;</code>
* @return Whether the tid field is set.
*/
@java.lang.Override
public boolean hasTid() {
return ((bitField0_ & 0x00000002) != 0);
}
/**
* <pre>
* Transaction ID that must be common across all participants in
* this bid request (for example, potentially multiple exchanges).
* Not supported by Google.
* </pre>
*
* <code>optional string tid = 2;</code>
* @return The tid.
*/
@java.lang.Override
public java.lang.String getTid() {
return tid_;
}
/**
* <pre>
* Transaction ID that must be common across all participants in
* this bid request (for example, potentially multiple exchanges).
* Not supported by Google.
* </pre>
*
* <code>optional string tid = 2;</code>
* @return The bytes for tid.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getTidBytes() {
return com.google.protobuf.ByteString.copyFromUtf8(tid_);
}
/**
* <pre>
* Transaction ID that must be common across all participants in
* this bid request (for example, potentially multiple exchanges).
* Not supported by Google.
* </pre>
*
* <code>optional string tid = 2;</code>
* @param value The tid to set.
*/
private void setTid(
java.lang.String value) {
java.lang.Class<?> valueClass = value.getClass();
bitField0_ |= 0x00000002;
tid_ = value;
}
/**
* <pre>
* Transaction ID that must be common across all participants in
* this bid request (for example, potentially multiple exchanges).
* Not supported by Google.
* </pre>
*
* <code>optional string tid = 2;</code>
*/
private void clearTid() {
bitField0_ = (bitField0_ & ~0x00000002);
tid_ = getDefaultInstance().getTid();
}
/**
* <pre>
* Transaction ID that must be common across all participants in
* this bid request (for example, potentially multiple exchanges).
* Not supported by Google.
* </pre>
*
* <code>optional string tid = 2;</code>
* @param value The bytes for tid to set.
*/
private void setTidBytes(
com.google.protobuf.ByteString value) {
tid_ = value.toStringUtf8();
bitField0_ |= 0x00000002;
}
public static final int PCHAIN_FIELD_NUMBER = 3;
private java.lang.String pchain_;
/**
* <pre>
* Payment ID chain string containing embedded syntax
* described in the TAG Payment ID Protocol v1.0.
* Not supported by Google.
* </pre>
*
* <code>optional string pchain = 3;</code>
* @return Whether the pchain field is set.
*/
@java.lang.Override
public boolean hasPchain() {
return ((bitField0_ & 0x00000004) != 0);
}
/**
* <pre>
* Payment ID chain string containing embedded syntax
* described in the TAG Payment ID Protocol v1.0.
* Not supported by Google.
* </pre>
*
* <code>optional string pchain = 3;</code>
* @return The pchain.
*/
@java.lang.Override
public java.lang.String getPchain() {
return pchain_;
}
/**
* <pre>
* Payment ID chain string containing embedded syntax
* described in the TAG Payment ID Protocol v1.0.
* Not supported by Google.
* </pre>
*
* <code>optional string pchain = 3;</code>
* @return The bytes for pchain.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getPchainBytes() {
return com.google.protobuf.ByteString.copyFromUtf8(pchain_);
}
/**
* <pre>
* Payment ID chain string containing embedded syntax
* described in the TAG Payment ID Protocol v1.0.
* Not supported by Google.
* </pre>
*
* <code>optional string pchain = 3;</code>
* @param value The pchain to set.
*/
private void setPchain(
java.lang.String value) {
java.lang.Class<?> valueClass = value.getClass();
bitField0_ |= 0x00000004;
pchain_ = value;
}
/**
* <pre>
* Payment ID chain string containing embedded syntax
* described in the TAG Payment ID Protocol v1.0.
* Not supported by Google.
* </pre>
*
* <code>optional string pchain = 3;</code>
*/
private void clearPchain() {
bitField0_ = (bitField0_ & ~0x00000004);
pchain_ = getDefaultInstance().getPchain();
}
/**
* <pre>
* Payment ID chain string containing embedded syntax
* described in the TAG Payment ID Protocol v1.0.
* Not supported by Google.
* </pre>
*
* <code>optional string pchain = 3;</code>
* @param value The bytes for pchain to set.
*/
private void setPchainBytes(
com.google.protobuf.ByteString value) {
pchain_ = value.toStringUtf8();
bitField0_ |= 0x00000004;
}
public static final int SCHAIN_FIELD_NUMBER = 4;
private com.particles.mes.protos.openrtb.BidRequest.Source.SupplyChain schain_;
/**
* <pre>
* This object represents both the links in the supply chain as
* well as an indicator whether or not the supply chain is complete.
* Supported by Google.
* </pre>
*
* <code>optional .com.google.openrtb.BidRequest.Source.SupplyChain schain = 4;</code>
*/
@java.lang.Override
public boolean hasSchain() {
return ((bitField0_ & 0x00000008) != 0);
}
/**
* <pre>
* This object represents both the links in the supply chain as
* well as an indicator whether or not the supply chain is complete.
* Supported by Google.
* </pre>
*
* <code>optional .com.google.openrtb.BidRequest.Source.SupplyChain schain = 4;</code>
*/
@java.lang.Override
public com.particles.mes.protos.openrtb.BidRequest.Source.SupplyChain getSchain() {
return schain_ == null ? com.particles.mes.protos.openrtb.BidRequest.Source.SupplyChain.getDefaultInstance() : schain_;
}
/**
* <pre>
* This object represents both the links in the supply chain as
* well as an indicator whether or not the supply chain is complete.
* Supported by Google.
* </pre>
*
* <code>optional .com.google.openrtb.BidRequest.Source.SupplyChain schain = 4;</code>
*/
private void setSchain(com.particles.mes.protos.openrtb.BidRequest.Source.SupplyChain value) {
value.getClass();
schain_ = value;
bitField0_ |= 0x00000008;
}
/**
* <pre>
* This object represents both the links in the supply chain as
* well as an indicator whether or not the supply chain is complete.
* Supported by Google.
* </pre>
*
* <code>optional .com.google.openrtb.BidRequest.Source.SupplyChain schain = 4;</code>
*/
@java.lang.SuppressWarnings({"ReferenceEquality"})
private void mergeSchain(com.particles.mes.protos.openrtb.BidRequest.Source.SupplyChain value) {
value.getClass();
if (schain_ != null &&
schain_ != com.particles.mes.protos.openrtb.BidRequest.Source.SupplyChain.getDefaultInstance()) {
schain_ =
com.particles.mes.protos.openrtb.BidRequest.Source.SupplyChain.newBuilder(schain_).mergeFrom(value).buildPartial();
} else {
schain_ = value;
}
bitField0_ |= 0x00000008;
}
/**
* <pre>
* This object represents both the links in the supply chain as
* well as an indicator whether or not the supply chain is complete.
* Supported by Google.
* </pre>
*
* <code>optional .com.google.openrtb.BidRequest.Source.SupplyChain schain = 4;</code>
*/
private void clearSchain() { schain_ = null;
bitField0_ = (bitField0_ & ~0x00000008);
}
public static final int EXT_FIELD_NUMBER = 90;
private java.lang.String ext_;
/**
* <code>optional string ext = 90;</code>
* @return Whether the ext field is set.
*/
@java.lang.Override
public boolean hasExt() {
return ((bitField0_ & 0x00000010) != 0);
}
/**
* <code>optional string ext = 90;</code>
* @return The ext.
*/
@java.lang.Override
public java.lang.String getExt() {
return ext_;
}
/**
* <code>optional string ext = 90;</code>
* @return The bytes for ext.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getExtBytes() {
return com.google.protobuf.ByteString.copyFromUtf8(ext_);
}
/**
* <code>optional string ext = 90;</code>
* @param value The ext to set.
*/
private void setExt(
java.lang.String value) {
java.lang.Class<?> valueClass = value.getClass();
bitField0_ |= 0x00000010;
ext_ = value;
}
/**
* <code>optional string ext = 90;</code>
*/
private void clearExt() {
bitField0_ = (bitField0_ & ~0x00000010);
ext_ = getDefaultInstance().getExt();
}
/**
* <code>optional string ext = 90;</code>
* @param value The bytes for ext to set.
*/
private void setExtBytes(
com.google.protobuf.ByteString value) {
ext_ = value.toStringUtf8();
bitField0_ |= 0x00000010;
}
public static com.particles.mes.protos.openrtb.BidRequest.Source parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, data);
}
public static com.particles.mes.protos.openrtb.BidRequest.Source parseFrom(
java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, data, extensionRegistry);
}
public static com.particles.mes.protos.openrtb.BidRequest.Source parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, data);
}
public static com.particles.mes.protos.openrtb.BidRequest.Source parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, data, extensionRegistry);
}
public static com.particles.mes.protos.openrtb.BidRequest.Source parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, data);
}
public static com.particles.mes.protos.openrtb.BidRequest.Source parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, data, extensionRegistry);
}
public static com.particles.mes.protos.openrtb.BidRequest.Source parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, input);
}
public static com.particles.mes.protos.openrtb.BidRequest.Source parseFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, input, extensionRegistry);
}
public static com.particles.mes.protos.openrtb.BidRequest.Source parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return parseDelimitedFrom(DEFAULT_INSTANCE, input);
}
public static com.particles.mes.protos.openrtb.BidRequest.Source parseDelimitedFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return parseDelimitedFrom(DEFAULT_INSTANCE, input, extensionRegistry);
}
public static com.particles.mes.protos.openrtb.BidRequest.Source parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, input);
}
public static com.particles.mes.protos.openrtb.BidRequest.Source parseFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, input, extensionRegistry);
}
public static Builder newBuilder() {
return (Builder) DEFAULT_INSTANCE.createBuilder();
}
public static Builder newBuilder(com.particles.mes.protos.openrtb.BidRequest.Source prototype) {
return (Builder) DEFAULT_INSTANCE.createBuilder(prototype);
}
/**
* <pre>
* OpenRTB 2.5: This object describes the nature and behavior of the entity
* that is the source of the bid request upstream from the exchange.
* The primary purpose of this object is to define post-auction or upstream
* decisioning when the exchange itself does not control the final decision.
* A common example of this is header bidding, but it can also apply to
* upstream server entities such as another RTB exchange, a mediation
* platform, or an ad server combines direct campaigns with 3rd party
* demand in decisioning.
* </pre>
*
* Protobuf type {@code com.google.openrtb.BidRequest.Source}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageLite.ExtendableBuilder<
com.particles.mes.protos.openrtb.BidRequest.Source, Builder> implements
// @@protoc_insertion_point(builder_implements:com.google.openrtb.BidRequest.Source)
com.particles.mes.protos.openrtb.BidRequest.SourceOrBuilder {
// Construct using com.particles.mes.protos.openrtb.BidRequest.Source.newBuilder()
private Builder() {
super(DEFAULT_INSTANCE);
}
/**
* <pre>
* Entity responsible for the final impression sale decision,
* where false = exchange, true = upstream source
* Not supported by Google.
* </pre>
*
* <code>optional bool fd = 1;</code>
* @return Whether the fd field is set.
*/
@java.lang.Override
public boolean hasFd() {
return instance.hasFd();
}
/**
* <pre>
* Entity responsible for the final impression sale decision,
* where false = exchange, true = upstream source
* Not supported by Google.
* </pre>
*
* <code>optional bool fd = 1;</code>
* @return The fd.
*/
@java.lang.Override
public boolean getFd() {
return instance.getFd();
}
/**
* <pre>
* Entity responsible for the final impression sale decision,
* where false = exchange, true = upstream source
* Not supported by Google.
* </pre>
*
* <code>optional bool fd = 1;</code>
* @param value The fd to set.
* @return This builder for chaining.
*/
public Builder setFd(boolean value) {
copyOnWrite();
instance.setFd(value);
return this;
}
/**
* <pre>
* Entity responsible for the final impression sale decision,
* where false = exchange, true = upstream source
* Not supported by Google.
* </pre>
*
* <code>optional bool fd = 1;</code>
* @return This builder for chaining.
*/
public Builder clearFd() {
copyOnWrite();
instance.clearFd();
return this;
}
/**
* <pre>
* Transaction ID that must be common across all participants in
* this bid request (for example, potentially multiple exchanges).
* Not supported by Google.
* </pre>
*
* <code>optional string tid = 2;</code>
* @return Whether the tid field is set.
*/
@java.lang.Override
public boolean hasTid() {
return instance.hasTid();
}
/**
* <pre>
* Transaction ID that must be common across all participants in
* this bid request (for example, potentially multiple exchanges).
* Not supported by Google.
* </pre>
*
* <code>optional string tid = 2;</code>
* @return The tid.
*/
@java.lang.Override
public java.lang.String getTid() {
return instance.getTid();
}
/**
* <pre>
* Transaction ID that must be common across all participants in
* this bid request (for example, potentially multiple exchanges).
* Not supported by Google.
* </pre>
*
* <code>optional string tid = 2;</code>
* @return The bytes for tid.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getTidBytes() {
return instance.getTidBytes();
}
/**
* <pre>
* Transaction ID that must be common across all participants in
* this bid request (for example, potentially multiple exchanges).
* Not supported by Google.
* </pre>
*
* <code>optional string tid = 2;</code>
* @param value The tid to set.
* @return This builder for chaining.
*/
public Builder setTid(
java.lang.String value) {
copyOnWrite();
instance.setTid(value);
return this;
}
/**
* <pre>
* Transaction ID that must be common across all participants in
* this bid request (for example, potentially multiple exchanges).
* Not supported by Google.
* </pre>
*
* <code>optional string tid = 2;</code>
* @return This builder for chaining.
*/
public Builder clearTid() {
copyOnWrite();
instance.clearTid();
return this;
}
/**
* <pre>
* Transaction ID that must be common across all participants in
* this bid request (for example, potentially multiple exchanges).
* Not supported by Google.
* </pre>
*
* <code>optional string tid = 2;</code>
* @param value The bytes for tid to set.
* @return This builder for chaining.
*/
public Builder setTidBytes(
com.google.protobuf.ByteString value) {
copyOnWrite();
instance.setTidBytes(value);
return this;
}
/**
* <pre>
* Payment ID chain string containing embedded syntax
* described in the TAG Payment ID Protocol v1.0.
* Not supported by Google.
* </pre>
*
* <code>optional string pchain = 3;</code>
* @return Whether the pchain field is set.
*/
@java.lang.Override
public boolean hasPchain() {
return instance.hasPchain();
}
/**
* <pre>
* Payment ID chain string containing embedded syntax
* described in the TAG Payment ID Protocol v1.0.
* Not supported by Google.
* </pre>
*
* <code>optional string pchain = 3;</code>
* @return The pchain.
*/
@java.lang.Override
public java.lang.String getPchain() {
return instance.getPchain();
}
/**
* <pre>
* Payment ID chain string containing embedded syntax
* described in the TAG Payment ID Protocol v1.0.
* Not supported by Google.
* </pre>
*
* <code>optional string pchain = 3;</code>
* @return The bytes for pchain.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getPchainBytes() {
return instance.getPchainBytes();
}
/**
* <pre>
* Payment ID chain string containing embedded syntax
* described in the TAG Payment ID Protocol v1.0.
* Not supported by Google.
* </pre>
*
* <code>optional string pchain = 3;</code>
* @param value The pchain to set.
* @return This builder for chaining.
*/
public Builder setPchain(
java.lang.String value) {
copyOnWrite();
instance.setPchain(value);
return this;
}
/**
* <pre>
* Payment ID chain string containing embedded syntax
* described in the TAG Payment ID Protocol v1.0.
* Not supported by Google.
* </pre>
*
* <code>optional string pchain = 3;</code>
* @return This builder for chaining.
*/
public Builder clearPchain() {
copyOnWrite();
instance.clearPchain();
return this;
}
/**
* <pre>
* Payment ID chain string containing embedded syntax
* described in the TAG Payment ID Protocol v1.0.
* Not supported by Google.
* </pre>
*
* <code>optional string pchain = 3;</code>
* @param value The bytes for pchain to set.
* @return This builder for chaining.
*/
public Builder setPchainBytes(
com.google.protobuf.ByteString value) {
copyOnWrite();
instance.setPchainBytes(value);
return this;
}
/**
* <pre>
* This object represents both the links in the supply chain as
* well as an indicator whether or not the supply chain is complete.
* Supported by Google.
* </pre>
*
* <code>optional .com.google.openrtb.BidRequest.Source.SupplyChain schain = 4;</code>
*/
@java.lang.Override
public boolean hasSchain() {
return instance.hasSchain();
}
/**
* <pre>
* This object represents both the links in the supply chain as
* well as an indicator whether or not the supply chain is complete.
* Supported by Google.
* </pre>
*
* <code>optional .com.google.openrtb.BidRequest.Source.SupplyChain schain = 4;</code>
*/
@java.lang.Override
public com.particles.mes.protos.openrtb.BidRequest.Source.SupplyChain getSchain() {
return instance.getSchain();
}
/**
* <pre>
* This object represents both the links in the supply chain as
* well as an indicator whether or not the supply chain is complete.
* Supported by Google.
* </pre>
*
* <code>optional .com.google.openrtb.BidRequest.Source.SupplyChain schain = 4;</code>
*/
public Builder setSchain(com.particles.mes.protos.openrtb.BidRequest.Source.SupplyChain value) {
copyOnWrite();
instance.setSchain(value);
return this;
}
/**
* <pre>
* This object represents both the links in the supply chain as
* well as an indicator whether or not the supply chain is complete.
* Supported by Google.
* </pre>
*
* <code>optional .com.google.openrtb.BidRequest.Source.SupplyChain schain = 4;</code>
*/
public Builder setSchain(
com.particles.mes.protos.openrtb.BidRequest.Source.SupplyChain.Builder builderForValue) {
copyOnWrite();
instance.setSchain(builderForValue.build());
return this;
}
/**
* <pre>
* This object represents both the links in the supply chain as
* well as an indicator whether or not the supply chain is complete.
* Supported by Google.
* </pre>
*
* <code>optional .com.google.openrtb.BidRequest.Source.SupplyChain schain = 4;</code>
*/
public Builder mergeSchain(com.particles.mes.protos.openrtb.BidRequest.Source.SupplyChain value) {
copyOnWrite();
instance.mergeSchain(value);
return this;
}
/**
* <pre>
* This object represents both the links in the supply chain as
* well as an indicator whether or not the supply chain is complete.
* Supported by Google.
* </pre>
*
* <code>optional .com.google.openrtb.BidRequest.Source.SupplyChain schain = 4;</code>
*/
public Builder clearSchain() { copyOnWrite();
instance.clearSchain();
return this;
}
/**
* <code>optional string ext = 90;</code>
* @return Whether the ext field is set.
*/
@java.lang.Override
public boolean hasExt() {
return instance.hasExt();
}
/**
* <code>optional string ext = 90;</code>
* @return The ext.
*/
@java.lang.Override
public java.lang.String getExt() {
return instance.getExt();
}
/**
* <code>optional string ext = 90;</code>
* @return The bytes for ext.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getExtBytes() {
return instance.getExtBytes();
}
/**
* <code>optional string ext = 90;</code>
* @param value The ext to set.
* @return This builder for chaining.
*/
public Builder setExt(
java.lang.String value) {
copyOnWrite();
instance.setExt(value);
return this;
}
/**
* <code>optional string ext = 90;</code>
* @return This builder for chaining.
*/
public Builder clearExt() {
copyOnWrite();
instance.clearExt();
return this;
}
/**
* <code>optional string ext = 90;</code>
* @param value The bytes for ext to set.
* @return This builder for chaining.
*/
public Builder setExtBytes(
com.google.protobuf.ByteString value) {
copyOnWrite();
instance.setExtBytes(value);
return this;
}
// @@protoc_insertion_point(builder_scope:com.google.openrtb.BidRequest.Source)
}
private byte memoizedIsInitialized = 2;
@java.lang.Override
@java.lang.SuppressWarnings({"unchecked", "fallthrough"})
protected final java.lang.Object dynamicMethod(
com.google.protobuf.GeneratedMessageLite.MethodToInvoke method,
java.lang.Object arg0, java.lang.Object arg1) {
switch (method) {
case NEW_MUTABLE_INSTANCE: {
return new com.particles.mes.protos.openrtb.BidRequest.Source();
}
case NEW_BUILDER: {
return new Builder();
}
case BUILD_MESSAGE_INFO: {
java.lang.Object[] objects = new java.lang.Object[] {
"bitField0_",
"fd_",
"tid_",
"pchain_",
"schain_",
"ext_",
};
java.lang.String info =
"\u0001\u0005\u0000\u0001\u0001Z\u0005\u0000\u0000\u0001\u0001\u1007\u0000\u0002\u1008" +
"\u0001\u0003\u1008\u0002\u0004\u1409\u0003Z\u1008\u0004";
return newMessageInfo(DEFAULT_INSTANCE, info, objects);
}
// fall through
case GET_DEFAULT_INSTANCE: {
return DEFAULT_INSTANCE;
}
case GET_PARSER: {
com.google.protobuf.Parser<com.particles.mes.protos.openrtb.BidRequest.Source> parser = PARSER;
if (parser == null) {
synchronized (com.particles.mes.protos.openrtb.BidRequest.Source.class) {
parser = PARSER;
if (parser == null) {
parser =
new DefaultInstanceBasedParser<com.particles.mes.protos.openrtb.BidRequest.Source>(
DEFAULT_INSTANCE);
PARSER = parser;
}
}
}
return parser;
}
case GET_MEMOIZED_IS_INITIALIZED: {
return memoizedIsInitialized;
}
case SET_MEMOIZED_IS_INITIALIZED: {
memoizedIsInitialized = (byte) (arg0 == null ? 0 : 1);
return null;
}
}
throw new UnsupportedOperationException();
}
// @@protoc_insertion_point(class_scope:com.google.openrtb.BidRequest.Source)
private static final com.particles.mes.protos.openrtb.BidRequest.Source DEFAULT_INSTANCE;
static {
Source defaultInstance = new Source();
// New instances are implicitly immutable so no need to make
// immutable.
DEFAULT_INSTANCE = defaultInstance;
com.google.protobuf.GeneratedMessageLite.registerDefaultInstance(
Source.class, defaultInstance);
}
public static com.particles.mes.protos.openrtb.BidRequest.Source getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static volatile com.google.protobuf.Parser<Source> PARSER;
public static com.google.protobuf.Parser<Source> parser() {
return DEFAULT_INSTANCE.getParserForType();
}
}
private int bitField0_;
private int distributionchannelOneofCase_ = 0;
private java.lang.Object distributionchannelOneof_;
public enum DistributionchannelOneofCase {
SITE(3),
APP(4),
DISTRIBUTIONCHANNELONEOF_NOT_SET(0);
private final int value;
private DistributionchannelOneofCase(int value) {
this.value = value;
}
/**
* @deprecated Use {@link #forNumber(int)} instead.
*/
@java.lang.Deprecated
public static DistributionchannelOneofCase valueOf(int value) {
return forNumber(value);
}
public static DistributionchannelOneofCase forNumber(int value) {
switch (value) {
case 3: return SITE;
case 4: return APP;
case 0: return DISTRIBUTIONCHANNELONEOF_NOT_SET;
default: return null;
}
}
public int getNumber() {
return this.value;
}
};
@java.lang.Override
public DistributionchannelOneofCase
getDistributionchannelOneofCase() {
return DistributionchannelOneofCase.forNumber(
distributionchannelOneofCase_);
}
private void clearDistributionchannelOneof() {
distributionchannelOneofCase_ = 0;
distributionchannelOneof_ = null;
}
public static final int SITE_FIELD_NUMBER = 3;
/**
* <pre>
* Information about the publisher's website. Only applicable and
* recommended for websites.
* Supported by Google.
* </pre>
*
* <code>.com.google.openrtb.BidRequest.Site site = 3;</code>
*/
@java.lang.Override
public boolean hasSite() {
return distributionchannelOneofCase_ == 3;
}
/**
* <pre>
* Information about the publisher's website. Only applicable and
* recommended for websites.
* Supported by Google.
* </pre>
*
* <code>.com.google.openrtb.BidRequest.Site site = 3;</code>
*/
@java.lang.Override
public com.particles.mes.protos.openrtb.BidRequest.Site getSite() {
if (distributionchannelOneofCase_ == 3) {
return (com.particles.mes.protos.openrtb.BidRequest.Site) distributionchannelOneof_;
}
return com.particles.mes.protos.openrtb.BidRequest.Site.getDefaultInstance();
}
/**
* <pre>
* Information about the publisher's website. Only applicable and
* recommended for websites.
* Supported by Google.
* </pre>
*
* <code>.com.google.openrtb.BidRequest.Site site = 3;</code>
*/
private void setSite(com.particles.mes.protos.openrtb.BidRequest.Site value) {
value.getClass();
distributionchannelOneof_ = value;
distributionchannelOneofCase_ = 3;
}
/**
* <pre>
* Information about the publisher's website. Only applicable and
* recommended for websites.
* Supported by Google.
* </pre>
*
* <code>.com.google.openrtb.BidRequest.Site site = 3;</code>
*/
private void mergeSite(com.particles.mes.protos.openrtb.BidRequest.Site value) {
value.getClass();
if (distributionchannelOneofCase_ == 3 &&
distributionchannelOneof_ != com.particles.mes.protos.openrtb.BidRequest.Site.getDefaultInstance()) {
distributionchannelOneof_ = com.particles.mes.protos.openrtb.BidRequest.Site.newBuilder((com.particles.mes.protos.openrtb.BidRequest.Site) distributionchannelOneof_)
.mergeFrom(value).buildPartial();
} else {
distributionchannelOneof_ = value;
}
distributionchannelOneofCase_ = 3;
}
/**
* <pre>
* Information about the publisher's website. Only applicable and
* recommended for websites.
* Supported by Google.
* </pre>
*
* <code>.com.google.openrtb.BidRequest.Site site = 3;</code>
*/
private void clearSite() {
if (distributionchannelOneofCase_ == 3) {
distributionchannelOneofCase_ = 0;
distributionchannelOneof_ = null;
}
}
public static final int APP_FIELD_NUMBER = 4;
/**
* <pre>
* Information about the publisher's app
* (non-browser applications). Only applicable and recommended for apps.
* Supported by Google.
* </pre>
*
* <code>.com.google.openrtb.BidRequest.App app = 4;</code>
*/
@java.lang.Override
public boolean hasApp() {
return distributionchannelOneofCase_ == 4;
}
/**
* <pre>
* Information about the publisher's app
* (non-browser applications). Only applicable and recommended for apps.
* Supported by Google.
* </pre>
*
* <code>.com.google.openrtb.BidRequest.App app = 4;</code>
*/
@java.lang.Override
public com.particles.mes.protos.openrtb.BidRequest.App getApp() {
if (distributionchannelOneofCase_ == 4) {
return (com.particles.mes.protos.openrtb.BidRequest.App) distributionchannelOneof_;
}
return com.particles.mes.protos.openrtb.BidRequest.App.getDefaultInstance();
}
/**
* <pre>
* Information about the publisher's app
* (non-browser applications). Only applicable and recommended for apps.
* Supported by Google.
* </pre>
*
* <code>.com.google.openrtb.BidRequest.App app = 4;</code>
*/
private void setApp(com.particles.mes.protos.openrtb.BidRequest.App value) {
value.getClass();
distributionchannelOneof_ = value;
distributionchannelOneofCase_ = 4;
}
/**
* <pre>
* Information about the publisher's app
* (non-browser applications). Only applicable and recommended for apps.
* Supported by Google.
* </pre>
*
* <code>.com.google.openrtb.BidRequest.App app = 4;</code>
*/
private void mergeApp(com.particles.mes.protos.openrtb.BidRequest.App value) {
value.getClass();
if (distributionchannelOneofCase_ == 4 &&
distributionchannelOneof_ != com.particles.mes.protos.openrtb.BidRequest.App.getDefaultInstance()) {
distributionchannelOneof_ = com.particles.mes.protos.openrtb.BidRequest.App.newBuilder((com.particles.mes.protos.openrtb.BidRequest.App) distributionchannelOneof_)
.mergeFrom(value).buildPartial();
} else {
distributionchannelOneof_ = value;
}
distributionchannelOneofCase_ = 4;
}
/**
* <pre>
* Information about the publisher's app
* (non-browser applications). Only applicable and recommended for apps.
* Supported by Google.
* </pre>
*
* <code>.com.google.openrtb.BidRequest.App app = 4;</code>
*/
private void clearApp() {
if (distributionchannelOneofCase_ == 4) {
distributionchannelOneofCase_ = 0;
distributionchannelOneof_ = null;
}
}
public static final int ID_FIELD_NUMBER = 1;
private java.lang.String id_;
/**
* <pre>
* Unique ID of the bid request, provided by the exchange.
* REQUIRED by the OpenRTB specification.
* Supported by Google.
* </pre>
*
* <code>required string id = 1;</code>
* @return Whether the id field is set.
*/
@java.lang.Override
public boolean hasId() {
return ((bitField0_ & 0x00000004) != 0);
}
/**
* <pre>
* Unique ID of the bid request, provided by the exchange.
* REQUIRED by the OpenRTB specification.
* Supported by Google.
* </pre>
*
* <code>required string id = 1;</code>
* @return The id.
*/
@java.lang.Override
public java.lang.String getId() {
return id_;
}
/**
* <pre>
* Unique ID of the bid request, provided by the exchange.
* REQUIRED by the OpenRTB specification.
* Supported by Google.
* </pre>
*
* <code>required string id = 1;</code>
* @return The bytes for id.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getIdBytes() {
return com.google.protobuf.ByteString.copyFromUtf8(id_);
}
/**
* <pre>
* Unique ID of the bid request, provided by the exchange.
* REQUIRED by the OpenRTB specification.
* Supported by Google.
* </pre>
*
* <code>required string id = 1;</code>
* @param value The id to set.
*/
private void setId(
java.lang.String value) {
java.lang.Class<?> valueClass = value.getClass();
bitField0_ |= 0x00000004;
id_ = value;
}
/**
* <pre>
* Unique ID of the bid request, provided by the exchange.
* REQUIRED by the OpenRTB specification.
* Supported by Google.
* </pre>
*
* <code>required string id = 1;</code>
*/
private void clearId() {
bitField0_ = (bitField0_ & ~0x00000004);
id_ = getDefaultInstance().getId();
}
/**
* <pre>
* Unique ID of the bid request, provided by the exchange.
* REQUIRED by the OpenRTB specification.
* Supported by Google.
* </pre>
*
* <code>required string id = 1;</code>
* @param value The bytes for id to set.
*/
private void setIdBytes(
com.google.protobuf.ByteString value) {
id_ = value.toStringUtf8();
bitField0_ |= 0x00000004;
}
public static final int IMP_FIELD_NUMBER = 2;
private com.google.protobuf.Internal.ProtobufList<com.particles.mes.protos.openrtb.BidRequest.Imp> imp_;
/**
* <pre>
* Array of Imp objects (Section 3.2.2) representing the impressions offered.
* At least 1 Imp object is required.
* Supported by Google.
* </pre>
*
* <code>repeated .com.google.openrtb.BidRequest.Imp imp = 2;</code>
*/
@java.lang.Override
public java.util.List<com.particles.mes.protos.openrtb.BidRequest.Imp> getImpList() {
return imp_;
}
/**
* <pre>
* Array of Imp objects (Section 3.2.2) representing the impressions offered.
* At least 1 Imp object is required.
* Supported by Google.
* </pre>
*
* <code>repeated .com.google.openrtb.BidRequest.Imp imp = 2;</code>
*/
public java.util.List<? extends com.particles.mes.protos.openrtb.BidRequest.ImpOrBuilder>
getImpOrBuilderList() {
return imp_;
}
/**
* <pre>
* Array of Imp objects (Section 3.2.2) representing the impressions offered.
* At least 1 Imp object is required.
* Supported by Google.
* </pre>
*
* <code>repeated .com.google.openrtb.BidRequest.Imp imp = 2;</code>
*/
@java.lang.Override
public int getImpCount() {
return imp_.size();
}
/**
* <pre>
* Array of Imp objects (Section 3.2.2) representing the impressions offered.
* At least 1 Imp object is required.
* Supported by Google.
* </pre>
*
* <code>repeated .com.google.openrtb.BidRequest.Imp imp = 2;</code>
*/
@java.lang.Override
public com.particles.mes.protos.openrtb.BidRequest.Imp getImp(int index) {
return imp_.get(index);
}
/**
* <pre>
* Array of Imp objects (Section 3.2.2) representing the impressions offered.
* At least 1 Imp object is required.
* Supported by Google.
* </pre>
*
* <code>repeated .com.google.openrtb.BidRequest.Imp imp = 2;</code>
*/
public com.particles.mes.protos.openrtb.BidRequest.ImpOrBuilder getImpOrBuilder(
int index) {
return imp_.get(index);
}
private void ensureImpIsMutable() {
com.google.protobuf.Internal.ProtobufList<com.particles.mes.protos.openrtb.BidRequest.Imp> tmp = imp_;
if (!tmp.isModifiable()) {
imp_ =
com.google.protobuf.GeneratedMessageLite.mutableCopy(tmp);
}
}
/**
* <pre>
* Array of Imp objects (Section 3.2.2) representing the impressions offered.
* At least 1 Imp object is required.
* Supported by Google.
* </pre>
*
* <code>repeated .com.google.openrtb.BidRequest.Imp imp = 2;</code>
*/
private void setImp(
int index, com.particles.mes.protos.openrtb.BidRequest.Imp value) {
value.getClass();
ensureImpIsMutable();
imp_.set(index, value);
}
/**
* <pre>
* Array of Imp objects (Section 3.2.2) representing the impressions offered.
* At least 1 Imp object is required.
* Supported by Google.
* </pre>
*
* <code>repeated .com.google.openrtb.BidRequest.Imp imp = 2;</code>
*/
private void addImp(com.particles.mes.protos.openrtb.BidRequest.Imp value) {
value.getClass();
ensureImpIsMutable();
imp_.add(value);
}
/**
* <pre>
* Array of Imp objects (Section 3.2.2) representing the impressions offered.
* At least 1 Imp object is required.
* Supported by Google.
* </pre>
*
* <code>repeated .com.google.openrtb.BidRequest.Imp imp = 2;</code>
*/
private void addImp(
int index, com.particles.mes.protos.openrtb.BidRequest.Imp value) {
value.getClass();
ensureImpIsMutable();
imp_.add(index, value);
}
/**
* <pre>
* Array of Imp objects (Section 3.2.2) representing the impressions offered.
* At least 1 Imp object is required.
* Supported by Google.
* </pre>
*
* <code>repeated .com.google.openrtb.BidRequest.Imp imp = 2;</code>
*/
private void addAllImp(
java.lang.Iterable<? extends com.particles.mes.protos.openrtb.BidRequest.Imp> values) {
ensureImpIsMutable();
com.google.protobuf.AbstractMessageLite.addAll(
values, imp_);
}
/**
* <pre>
* Array of Imp objects (Section 3.2.2) representing the impressions offered.
* At least 1 Imp object is required.
* Supported by Google.
* </pre>
*
* <code>repeated .com.google.openrtb.BidRequest.Imp imp = 2;</code>
*/
private void clearImp() {
imp_ = emptyProtobufList();
}
/**
* <pre>
* Array of Imp objects (Section 3.2.2) representing the impressions offered.
* At least 1 Imp object is required.
* Supported by Google.
* </pre>
*
* <code>repeated .com.google.openrtb.BidRequest.Imp imp = 2;</code>
*/
private void removeImp(int index) {
ensureImpIsMutable();
imp_.remove(index);
}
public static final int DEVICE_FIELD_NUMBER = 5;
private com.particles.mes.protos.openrtb.BidRequest.Device device_;
/**
* <pre>
* Information about the device the impression will be delivered to.
* Supported by Google.
* </pre>
*
* <code>optional .com.google.openrtb.BidRequest.Device device = 5;</code>
*/
@java.lang.Override
public boolean hasDevice() {
return ((bitField0_ & 0x00000008) != 0);
}
/**
* <pre>
* Information about the device the impression will be delivered to.
* Supported by Google.
* </pre>
*
* <code>optional .com.google.openrtb.BidRequest.Device device = 5;</code>
*/
@java.lang.Override
public com.particles.mes.protos.openrtb.BidRequest.Device getDevice() {
return device_ == null ? com.particles.mes.protos.openrtb.BidRequest.Device.getDefaultInstance() : device_;
}
/**
* <pre>
* Information about the device the impression will be delivered to.
* Supported by Google.
* </pre>
*
* <code>optional .com.google.openrtb.BidRequest.Device device = 5;</code>
*/
private void setDevice(com.particles.mes.protos.openrtb.BidRequest.Device value) {
value.getClass();
device_ = value;
bitField0_ |= 0x00000008;
}
/**
* <pre>
* Information about the device the impression will be delivered to.
* Supported by Google.
* </pre>
*
* <code>optional .com.google.openrtb.BidRequest.Device device = 5;</code>
*/
@java.lang.SuppressWarnings({"ReferenceEquality"})
private void mergeDevice(com.particles.mes.protos.openrtb.BidRequest.Device value) {
value.getClass();
if (device_ != null &&
device_ != com.particles.mes.protos.openrtb.BidRequest.Device.getDefaultInstance()) {
device_ =
com.particles.mes.protos.openrtb.BidRequest.Device.newBuilder(device_).mergeFrom(value).buildPartial();
} else {
device_ = value;
}
bitField0_ |= 0x00000008;
}
/**
* <pre>
* Information about the device the impression will be delivered to.
* Supported by Google.
* </pre>
*
* <code>optional .com.google.openrtb.BidRequest.Device device = 5;</code>
*/
private void clearDevice() { device_ = null;
bitField0_ = (bitField0_ & ~0x00000008);
}
public static final int REGS_FIELD_NUMBER = 14;
private com.particles.mes.protos.openrtb.BidRequest.Regs regs_;
/**
* <pre>
* A Regs object (Section 3.2.16) that specifies any industry, legal,
* or governmental regulations in force for this request.
* Supported by Google.
* </pre>
*
* <code>optional .com.google.openrtb.BidRequest.Regs regs = 14;</code>
*/
@java.lang.Override
public boolean hasRegs() {
return ((bitField0_ & 0x00000010) != 0);
}
/**
* <pre>
* A Regs object (Section 3.2.16) that specifies any industry, legal,
* or governmental regulations in force for this request.
* Supported by Google.
* </pre>
*
* <code>optional .com.google.openrtb.BidRequest.Regs regs = 14;</code>
*/
@java.lang.Override
public com.particles.mes.protos.openrtb.BidRequest.Regs getRegs() {
return regs_ == null ? com.particles.mes.protos.openrtb.BidRequest.Regs.getDefaultInstance() : regs_;
}
/**
* <pre>
* A Regs object (Section 3.2.16) that specifies any industry, legal,
* or governmental regulations in force for this request.
* Supported by Google.
* </pre>
*
* <code>optional .com.google.openrtb.BidRequest.Regs regs = 14;</code>
*/
private void setRegs(com.particles.mes.protos.openrtb.BidRequest.Regs value) {
value.getClass();
regs_ = value;
bitField0_ |= 0x00000010;
}
/**
* <pre>
* A Regs object (Section 3.2.16) that specifies any industry, legal,
* or governmental regulations in force for this request.
* Supported by Google.
* </pre>
*
* <code>optional .com.google.openrtb.BidRequest.Regs regs = 14;</code>
*/
@java.lang.SuppressWarnings({"ReferenceEquality"})
private void mergeRegs(com.particles.mes.protos.openrtb.BidRequest.Regs value) {
value.getClass();
if (regs_ != null &&
regs_ != com.particles.mes.protos.openrtb.BidRequest.Regs.getDefaultInstance()) {
regs_ =
com.particles.mes.protos.openrtb.BidRequest.Regs.newBuilder(regs_).mergeFrom(value).buildPartial();
} else {
regs_ = value;
}
bitField0_ |= 0x00000010;
}
/**
* <pre>
* A Regs object (Section 3.2.16) that specifies any industry, legal,
* or governmental regulations in force for this request.
* Supported by Google.
* </pre>
*
* <code>optional .com.google.openrtb.BidRequest.Regs regs = 14;</code>
*/
private void clearRegs() { regs_ = null;
bitField0_ = (bitField0_ & ~0x00000010);
}
public static final int USER_FIELD_NUMBER = 6;
private com.particles.mes.protos.openrtb.BidRequest.User user_;
/**
* <pre>
* Information about the user of the device or the advertising audience.
* Supported by Google.
* </pre>
*
* <code>optional .com.google.openrtb.BidRequest.User user = 6;</code>
*/
@java.lang.Override
public boolean hasUser() {
return ((bitField0_ & 0x00000020) != 0);
}
/**
* <pre>
* Information about the user of the device or the advertising audience.
* Supported by Google.
* </pre>
*
* <code>optional .com.google.openrtb.BidRequest.User user = 6;</code>
*/
@java.lang.Override
public com.particles.mes.protos.openrtb.BidRequest.User getUser() {
return user_ == null ? com.particles.mes.protos.openrtb.BidRequest.User.getDefaultInstance() : user_;
}
/**
* <pre>
* Information about the user of the device or the advertising audience.
* Supported by Google.
* </pre>
*
* <code>optional .com.google.openrtb.BidRequest.User user = 6;</code>
*/
private void setUser(com.particles.mes.protos.openrtb.BidRequest.User value) {
value.getClass();
user_ = value;
bitField0_ |= 0x00000020;
}
/**
* <pre>
* Information about the user of the device or the advertising audience.
* Supported by Google.
* </pre>
*
* <code>optional .com.google.openrtb.BidRequest.User user = 6;</code>
*/
@java.lang.SuppressWarnings({"ReferenceEquality"})
private void mergeUser(com.particles.mes.protos.openrtb.BidRequest.User value) {
value.getClass();
if (user_ != null &&
user_ != com.particles.mes.protos.openrtb.BidRequest.User.getDefaultInstance()) {
user_ =
com.particles.mes.protos.openrtb.BidRequest.User.newBuilder(user_).mergeFrom(value).buildPartial();
} else {
user_ = value;
}
bitField0_ |= 0x00000020;
}
/**
* <pre>
* Information about the user of the device or the advertising audience.
* Supported by Google.
* </pre>
*
* <code>optional .com.google.openrtb.BidRequest.User user = 6;</code>
*/
private void clearUser() { user_ = null;
bitField0_ = (bitField0_ & ~0x00000020);
}
public static final int AT_FIELD_NUMBER = 7;
private int at_;
/**
* <pre>
* Auction type: one of FIRST_PRICE or SECOND_PRICE.
* Supported by Google.
* </pre>
*
* <code>optional .com.google.openrtb.AuctionType at = 7 [default = SECOND_PRICE];</code>
* @return Whether the at field is set.
*/
@java.lang.Override
public boolean hasAt() {
return ((bitField0_ & 0x00000040) != 0);
}
/**
* <pre>
* Auction type: one of FIRST_PRICE or SECOND_PRICE.
* Supported by Google.
* </pre>
*
* <code>optional .com.google.openrtb.AuctionType at = 7 [default = SECOND_PRICE];</code>
* @return The at.
*/
@java.lang.Override
public com.particles.mes.protos.openrtb.AuctionType getAt() {
com.particles.mes.protos.openrtb.AuctionType result = com.particles.mes.protos.openrtb.AuctionType.forNumber(at_);
return result == null ? com.particles.mes.protos.openrtb.AuctionType.SECOND_PRICE : result;
}
/**
* <pre>
* Auction type: one of FIRST_PRICE or SECOND_PRICE.
* Supported by Google.
* </pre>
*
* <code>optional .com.google.openrtb.AuctionType at = 7 [default = SECOND_PRICE];</code>
* @param value The at to set.
*/
private void setAt(com.particles.mes.protos.openrtb.AuctionType value) {
at_ = value.getNumber();
bitField0_ |= 0x00000040;
}
/**
* <pre>
* Auction type: one of FIRST_PRICE or SECOND_PRICE.
* Supported by Google.
* </pre>
*
* <code>optional .com.google.openrtb.AuctionType at = 7 [default = SECOND_PRICE];</code>
*/
private void clearAt() {
bitField0_ = (bitField0_ & ~0x00000040);
at_ = 2;
}
public static final int TMAX_FIELD_NUMBER = 8;
private int tmax_;
/**
* <pre>
* Maximum time in milliseconds to submit a bid to avoid timeout.
* This value is commonly communicated offline.
* Supported by Google.
* </pre>
*
* <code>optional int32 tmax = 8;</code>
* @return Whether the tmax field is set.
*/
@java.lang.Override
public boolean hasTmax() {
return ((bitField0_ & 0x00000080) != 0);
}
/**
* <pre>
* Maximum time in milliseconds to submit a bid to avoid timeout.
* This value is commonly communicated offline.
* Supported by Google.
* </pre>
*
* <code>optional int32 tmax = 8;</code>
* @return The tmax.
*/
@java.lang.Override
public int getTmax() {
return tmax_;
}
/**
* <pre>
* Maximum time in milliseconds to submit a bid to avoid timeout.
* This value is commonly communicated offline.
* Supported by Google.
* </pre>
*
* <code>optional int32 tmax = 8;</code>
* @param value The tmax to set.
*/
private void setTmax(int value) {
bitField0_ |= 0x00000080;
tmax_ = value;
}
/**
* <pre>
* Maximum time in milliseconds to submit a bid to avoid timeout.
* This value is commonly communicated offline.
* Supported by Google.
* </pre>
*
* <code>optional int32 tmax = 8;</code>
*/
private void clearTmax() {
bitField0_ = (bitField0_ & ~0x00000080);
tmax_ = 0;
}
public static final int WSEAT_FIELD_NUMBER = 9;
private com.google.protobuf.Internal.ProtobufList<java.lang.String> wseat_;
/**
* <pre>
* Allowlist of buyer seats (for example, advertisers, agencies) that can bid
* on this impression. IDs of seats and knowledge of the buyer's customers to
* which they refer must be coordinated between bidders and the exchange a
* priori. Omission implies no seat restrictions.
* Supported by Google.
* </pre>
*
* <code>repeated string wseat = 9;</code>
* @return A list containing the wseat.
*/
@java.lang.Override
public java.util.List<java.lang.String> getWseatList() {
return wseat_;
}
/**
* <pre>
* Allowlist of buyer seats (for example, advertisers, agencies) that can bid
* on this impression. IDs of seats and knowledge of the buyer's customers to
* which they refer must be coordinated between bidders and the exchange a
* priori. Omission implies no seat restrictions.
* Supported by Google.
* </pre>
*
* <code>repeated string wseat = 9;</code>
* @return The count of wseat.
*/
@java.lang.Override
public int getWseatCount() {
return wseat_.size();
}
/**
* <pre>
* Allowlist of buyer seats (for example, advertisers, agencies) that can bid
* on this impression. IDs of seats and knowledge of the buyer's customers to
* which they refer must be coordinated between bidders and the exchange a
* priori. Omission implies no seat restrictions.
* Supported by Google.
* </pre>
*
* <code>repeated string wseat = 9;</code>
* @param index The index of the element to return.
* @return The wseat at the given index.
*/
@java.lang.Override
public java.lang.String getWseat(int index) {
return wseat_.get(index);
}
/**
* <pre>
* Allowlist of buyer seats (for example, advertisers, agencies) that can bid
* on this impression. IDs of seats and knowledge of the buyer's customers to
* which they refer must be coordinated between bidders and the exchange a
* priori. Omission implies no seat restrictions.
* Supported by Google.
* </pre>
*
* <code>repeated string wseat = 9;</code>
* @param index The index of the value to return.
* @return The bytes of the wseat at the given index.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getWseatBytes(int index) {
return com.google.protobuf.ByteString.copyFromUtf8(
wseat_.get(index));
}
private void ensureWseatIsMutable() {
com.google.protobuf.Internal.ProtobufList<java.lang.String> tmp =
wseat_; if (!tmp.isModifiable()) {
wseat_ =
com.google.protobuf.GeneratedMessageLite.mutableCopy(tmp);
}
}
/**
* <pre>
* Allowlist of buyer seats (for example, advertisers, agencies) that can bid
* on this impression. IDs of seats and knowledge of the buyer's customers to
* which they refer must be coordinated between bidders and the exchange a
* priori. Omission implies no seat restrictions.
* Supported by Google.
* </pre>
*
* <code>repeated string wseat = 9;</code>
* @param index The index to set the value at.
* @param value The wseat to set.
*/
private void setWseat(
int index, java.lang.String value) {
java.lang.Class<?> valueClass = value.getClass();
ensureWseatIsMutable();
wseat_.set(index, value);
}
/**
* <pre>
* Allowlist of buyer seats (for example, advertisers, agencies) that can bid
* on this impression. IDs of seats and knowledge of the buyer's customers to
* which they refer must be coordinated between bidders and the exchange a
* priori. Omission implies no seat restrictions.
* Supported by Google.
* </pre>
*
* <code>repeated string wseat = 9;</code>
* @param value The wseat to add.
*/
private void addWseat(
java.lang.String value) {
java.lang.Class<?> valueClass = value.getClass();
ensureWseatIsMutable();
wseat_.add(value);
}
/**
* <pre>
* Allowlist of buyer seats (for example, advertisers, agencies) that can bid
* on this impression. IDs of seats and knowledge of the buyer's customers to
* which they refer must be coordinated between bidders and the exchange a
* priori. Omission implies no seat restrictions.
* Supported by Google.
* </pre>
*
* <code>repeated string wseat = 9;</code>
* @param values The wseat to add.
*/
private void addAllWseat(
java.lang.Iterable<java.lang.String> values) {
ensureWseatIsMutable();
com.google.protobuf.AbstractMessageLite.addAll(
values, wseat_);
}
/**
* <pre>
* Allowlist of buyer seats (for example, advertisers, agencies) that can bid
* on this impression. IDs of seats and knowledge of the buyer's customers to
* which they refer must be coordinated between bidders and the exchange a
* priori. Omission implies no seat restrictions.
* Supported by Google.
* </pre>
*
* <code>repeated string wseat = 9;</code>
*/
private void clearWseat() {
wseat_ = com.google.protobuf.GeneratedMessageLite.emptyProtobufList();
}
/**
* <pre>
* Allowlist of buyer seats (for example, advertisers, agencies) that can bid
* on this impression. IDs of seats and knowledge of the buyer's customers to
* which they refer must be coordinated between bidders and the exchange a
* priori. Omission implies no seat restrictions.
* Supported by Google.
* </pre>
*
* <code>repeated string wseat = 9;</code>
* @param value The bytes of the wseat to add.
*/
private void addWseatBytes(
com.google.protobuf.ByteString value) {
ensureWseatIsMutable();
wseat_.add(value.toStringUtf8());
}
public static final int ALLIMPS_FIELD_NUMBER = 10;
private boolean allimps_;
/**
* <pre>
* Indicates if Exchange can verify that the impressions offered
* represent all of the impressions available in context (for example, all on
* the web page, all video spots such as pre/mid/post roll) to support
* road-blocking. false = no or unknown, true = yes, the impressions offered
* represent all that are available.
* Not supported by Google.
* </pre>
*
* <code>optional bool allimps = 10 [default = false];</code>
* @return Whether the allimps field is set.
*/
@java.lang.Override
public boolean hasAllimps() {
return ((bitField0_ & 0x00000100) != 0);
}
/**
* <pre>
* Indicates if Exchange can verify that the impressions offered
* represent all of the impressions available in context (for example, all on
* the web page, all video spots such as pre/mid/post roll) to support
* road-blocking. false = no or unknown, true = yes, the impressions offered
* represent all that are available.
* Not supported by Google.
* </pre>
*
* <code>optional bool allimps = 10 [default = false];</code>
* @return The allimps.
*/
@java.lang.Override
public boolean getAllimps() {
return allimps_;
}
/**
* <pre>
* Indicates if Exchange can verify that the impressions offered
* represent all of the impressions available in context (for example, all on
* the web page, all video spots such as pre/mid/post roll) to support
* road-blocking. false = no or unknown, true = yes, the impressions offered
* represent all that are available.
* Not supported by Google.
* </pre>
*
* <code>optional bool allimps = 10 [default = false];</code>
* @param value The allimps to set.
*/
private void setAllimps(boolean value) {
bitField0_ |= 0x00000100;
allimps_ = value;
}
/**
* <pre>
* Indicates if Exchange can verify that the impressions offered
* represent all of the impressions available in context (for example, all on
* the web page, all video spots such as pre/mid/post roll) to support
* road-blocking. false = no or unknown, true = yes, the impressions offered
* represent all that are available.
* Not supported by Google.
* </pre>
*
* <code>optional bool allimps = 10 [default = false];</code>
*/
private void clearAllimps() {
bitField0_ = (bitField0_ & ~0x00000100);
allimps_ = false;
}
public static final int CUR_FIELD_NUMBER = 11;
private com.google.protobuf.Internal.ProtobufList<java.lang.String> cur_;
/**
* <pre>
* Array of allowed currencies for bids on this bid request using ISO-4217
* alpha codes. Recommended only if the exchange accepts multiple currencies.
* Supported by Google.
* </pre>
*
* <code>repeated string cur = 11;</code>
* @return A list containing the cur.
*/
@java.lang.Override
public java.util.List<java.lang.String> getCurList() {
return cur_;
}
/**
* <pre>
* Array of allowed currencies for bids on this bid request using ISO-4217
* alpha codes. Recommended only if the exchange accepts multiple currencies.
* Supported by Google.
* </pre>
*
* <code>repeated string cur = 11;</code>
* @return The count of cur.
*/
@java.lang.Override
public int getCurCount() {
return cur_.size();
}
/**
* <pre>
* Array of allowed currencies for bids on this bid request using ISO-4217
* alpha codes. Recommended only if the exchange accepts multiple currencies.
* Supported by Google.
* </pre>
*
* <code>repeated string cur = 11;</code>
* @param index The index of the element to return.
* @return The cur at the given index.
*/
@java.lang.Override
public java.lang.String getCur(int index) {
return cur_.get(index);
}
/**
* <pre>
* Array of allowed currencies for bids on this bid request using ISO-4217
* alpha codes. Recommended only if the exchange accepts multiple currencies.
* Supported by Google.
* </pre>
*
* <code>repeated string cur = 11;</code>
* @param index The index of the value to return.
* @return The bytes of the cur at the given index.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getCurBytes(int index) {
return com.google.protobuf.ByteString.copyFromUtf8(
cur_.get(index));
}
private void ensureCurIsMutable() {
com.google.protobuf.Internal.ProtobufList<java.lang.String> tmp =
cur_; if (!tmp.isModifiable()) {
cur_ =
com.google.protobuf.GeneratedMessageLite.mutableCopy(tmp);
}
}
/**
* <pre>
* Array of allowed currencies for bids on this bid request using ISO-4217
* alpha codes. Recommended only if the exchange accepts multiple currencies.
* Supported by Google.
* </pre>
*
* <code>repeated string cur = 11;</code>
* @param index The index to set the value at.
* @param value The cur to set.
*/
private void setCur(
int index, java.lang.String value) {
java.lang.Class<?> valueClass = value.getClass();
ensureCurIsMutable();
cur_.set(index, value);
}
/**
* <pre>
* Array of allowed currencies for bids on this bid request using ISO-4217
* alpha codes. Recommended only if the exchange accepts multiple currencies.
* Supported by Google.
* </pre>
*
* <code>repeated string cur = 11;</code>
* @param value The cur to add.
*/
private void addCur(
java.lang.String value) {
java.lang.Class<?> valueClass = value.getClass();
ensureCurIsMutable();
cur_.add(value);
}
/**
* <pre>
* Array of allowed currencies for bids on this bid request using ISO-4217
* alpha codes. Recommended only if the exchange accepts multiple currencies.
* Supported by Google.
* </pre>
*
* <code>repeated string cur = 11;</code>
* @param values The cur to add.
*/
private void addAllCur(
java.lang.Iterable<java.lang.String> values) {
ensureCurIsMutable();
com.google.protobuf.AbstractMessageLite.addAll(
values, cur_);
}
/**
* <pre>
* Array of allowed currencies for bids on this bid request using ISO-4217
* alpha codes. Recommended only if the exchange accepts multiple currencies.
* Supported by Google.
* </pre>
*
* <code>repeated string cur = 11;</code>
*/
private void clearCur() {
cur_ = com.google.protobuf.GeneratedMessageLite.emptyProtobufList();
}
/**
* <pre>
* Array of allowed currencies for bids on this bid request using ISO-4217
* alpha codes. Recommended only if the exchange accepts multiple currencies.
* Supported by Google.
* </pre>
*
* <code>repeated string cur = 11;</code>
* @param value The bytes of the cur to add.
*/
private void addCurBytes(
com.google.protobuf.ByteString value) {
ensureCurIsMutable();
cur_.add(value.toStringUtf8());
}
public static final int BCAT_FIELD_NUMBER = 12;
private com.google.protobuf.Internal.ProtobufList<java.lang.String> bcat_;
/**
* <pre>
* Blocked advertiser categories using the IAB content categories.
* The taxonomy to be used is defined by the cattax field.
* Supported by Google.
* </pre>
*
* <code>repeated string bcat = 12;</code>
* @return A list containing the bcat.
*/
@java.lang.Override
public java.util.List<java.lang.String> getBcatList() {
return bcat_;
}
/**
* <pre>
* Blocked advertiser categories using the IAB content categories.
* The taxonomy to be used is defined by the cattax field.
* Supported by Google.
* </pre>
*
* <code>repeated string bcat = 12;</code>
* @return The count of bcat.
*/
@java.lang.Override
public int getBcatCount() {
return bcat_.size();
}
/**
* <pre>
* Blocked advertiser categories using the IAB content categories.
* The taxonomy to be used is defined by the cattax field.
* Supported by Google.
* </pre>
*
* <code>repeated string bcat = 12;</code>
* @param index The index of the element to return.
* @return The bcat at the given index.
*/
@java.lang.Override
public java.lang.String getBcat(int index) {
return bcat_.get(index);
}
/**
* <pre>
* Blocked advertiser categories using the IAB content categories.
* The taxonomy to be used is defined by the cattax field.
* Supported by Google.
* </pre>
*
* <code>repeated string bcat = 12;</code>
* @param index The index of the value to return.
* @return The bytes of the bcat at the given index.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getBcatBytes(int index) {
return com.google.protobuf.ByteString.copyFromUtf8(
bcat_.get(index));
}
private void ensureBcatIsMutable() {
com.google.protobuf.Internal.ProtobufList<java.lang.String> tmp =
bcat_; if (!tmp.isModifiable()) {
bcat_ =
com.google.protobuf.GeneratedMessageLite.mutableCopy(tmp);
}
}
/**
* <pre>
* Blocked advertiser categories using the IAB content categories.
* The taxonomy to be used is defined by the cattax field.
* Supported by Google.
* </pre>
*
* <code>repeated string bcat = 12;</code>
* @param index The index to set the value at.
* @param value The bcat to set.
*/
private void setBcat(
int index, java.lang.String value) {
java.lang.Class<?> valueClass = value.getClass();
ensureBcatIsMutable();
bcat_.set(index, value);
}
/**
* <pre>
* Blocked advertiser categories using the IAB content categories.
* The taxonomy to be used is defined by the cattax field.
* Supported by Google.
* </pre>
*
* <code>repeated string bcat = 12;</code>
* @param value The bcat to add.
*/
private void addBcat(
java.lang.String value) {
java.lang.Class<?> valueClass = value.getClass();
ensureBcatIsMutable();
bcat_.add(value);
}
/**
* <pre>
* Blocked advertiser categories using the IAB content categories.
* The taxonomy to be used is defined by the cattax field.
* Supported by Google.
* </pre>
*
* <code>repeated string bcat = 12;</code>
* @param values The bcat to add.
*/
private void addAllBcat(
java.lang.Iterable<java.lang.String> values) {
ensureBcatIsMutable();
com.google.protobuf.AbstractMessageLite.addAll(
values, bcat_);
}
/**
* <pre>
* Blocked advertiser categories using the IAB content categories.
* The taxonomy to be used is defined by the cattax field.
* Supported by Google.
* </pre>
*
* <code>repeated string bcat = 12;</code>
*/
private void clearBcat() {
bcat_ = com.google.protobuf.GeneratedMessageLite.emptyProtobufList();
}
/**
* <pre>
* Blocked advertiser categories using the IAB content categories.
* The taxonomy to be used is defined by the cattax field.
* Supported by Google.
* </pre>
*
* <code>repeated string bcat = 12;</code>
* @param value The bytes of the bcat to add.
*/
private void addBcatBytes(
com.google.protobuf.ByteString value) {
ensureBcatIsMutable();
bcat_.add(value.toStringUtf8());
}
public static final int CATTAX_FIELD_NUMBER = 21;
private int cattax_;
/**
* <pre>
* The taxonomy in use for bcat.
* Not supported by Google.
* </pre>
*
* <code>optional .com.google.openrtb.CategoryTaxonomy cattax = 21 [default = IAB_CONTENT_1_0];</code>
* @return Whether the cattax field is set.
*/
@java.lang.Override
public boolean hasCattax() {
return ((bitField0_ & 0x00000200) != 0);
}
/**
* <pre>
* The taxonomy in use for bcat.
* Not supported by Google.
* </pre>
*
* <code>optional .com.google.openrtb.CategoryTaxonomy cattax = 21 [default = IAB_CONTENT_1_0];</code>
* @return The cattax.
*/
@java.lang.Override
public com.particles.mes.protos.openrtb.CategoryTaxonomy getCattax() {
com.particles.mes.protos.openrtb.CategoryTaxonomy result = com.particles.mes.protos.openrtb.CategoryTaxonomy.forNumber(cattax_);
return result == null ? com.particles.mes.protos.openrtb.CategoryTaxonomy.IAB_CONTENT_1_0 : result;
}
/**
* <pre>
* The taxonomy in use for bcat.
* Not supported by Google.
* </pre>
*
* <code>optional .com.google.openrtb.CategoryTaxonomy cattax = 21 [default = IAB_CONTENT_1_0];</code>
* @param value The cattax to set.
*/
private void setCattax(com.particles.mes.protos.openrtb.CategoryTaxonomy value) {
cattax_ = value.getNumber();
bitField0_ |= 0x00000200;
}
/**
* <pre>
* The taxonomy in use for bcat.
* Not supported by Google.
* </pre>
*
* <code>optional .com.google.openrtb.CategoryTaxonomy cattax = 21 [default = IAB_CONTENT_1_0];</code>
*/
private void clearCattax() {
bitField0_ = (bitField0_ & ~0x00000200);
cattax_ = 1;
}
public static final int BADV_FIELD_NUMBER = 13;
private com.google.protobuf.Internal.ProtobufList<java.lang.String> badv_;
/**
* <pre>
* Block list of advertisers by their domains (for example, "ford.com").
* Not supported by Google.
* </pre>
*
* <code>repeated string badv = 13;</code>
* @return A list containing the badv.
*/
@java.lang.Override
public java.util.List<java.lang.String> getBadvList() {
return badv_;
}
/**
* <pre>
* Block list of advertisers by their domains (for example, "ford.com").
* Not supported by Google.
* </pre>
*
* <code>repeated string badv = 13;</code>
* @return The count of badv.
*/
@java.lang.Override
public int getBadvCount() {
return badv_.size();
}
/**
* <pre>
* Block list of advertisers by their domains (for example, "ford.com").
* Not supported by Google.
* </pre>
*
* <code>repeated string badv = 13;</code>
* @param index The index of the element to return.
* @return The badv at the given index.
*/
@java.lang.Override
public java.lang.String getBadv(int index) {
return badv_.get(index);
}
/**
* <pre>
* Block list of advertisers by their domains (for example, "ford.com").
* Not supported by Google.
* </pre>
*
* <code>repeated string badv = 13;</code>
* @param index The index of the value to return.
* @return The bytes of the badv at the given index.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getBadvBytes(int index) {
return com.google.protobuf.ByteString.copyFromUtf8(
badv_.get(index));
}
private void ensureBadvIsMutable() {
com.google.protobuf.Internal.ProtobufList<java.lang.String> tmp =
badv_; if (!tmp.isModifiable()) {
badv_ =
com.google.protobuf.GeneratedMessageLite.mutableCopy(tmp);
}
}
/**
* <pre>
* Block list of advertisers by their domains (for example, "ford.com").
* Not supported by Google.
* </pre>
*
* <code>repeated string badv = 13;</code>
* @param index The index to set the value at.
* @param value The badv to set.
*/
private void setBadv(
int index, java.lang.String value) {
java.lang.Class<?> valueClass = value.getClass();
ensureBadvIsMutable();
badv_.set(index, value);
}
/**
* <pre>
* Block list of advertisers by their domains (for example, "ford.com").
* Not supported by Google.
* </pre>
*
* <code>repeated string badv = 13;</code>
* @param value The badv to add.
*/
private void addBadv(
java.lang.String value) {
java.lang.Class<?> valueClass = value.getClass();
ensureBadvIsMutable();
badv_.add(value);
}
/**
* <pre>
* Block list of advertisers by their domains (for example, "ford.com").
* Not supported by Google.
* </pre>
*
* <code>repeated string badv = 13;</code>
* @param values The badv to add.
*/
private void addAllBadv(
java.lang.Iterable<java.lang.String> values) {
ensureBadvIsMutable();
com.google.protobuf.AbstractMessageLite.addAll(
values, badv_);
}
/**
* <pre>
* Block list of advertisers by their domains (for example, "ford.com").
* Not supported by Google.
* </pre>
*
* <code>repeated string badv = 13;</code>
*/
private void clearBadv() {
badv_ = com.google.protobuf.GeneratedMessageLite.emptyProtobufList();
}
/**
* <pre>
* Block list of advertisers by their domains (for example, "ford.com").
* Not supported by Google.
* </pre>
*
* <code>repeated string badv = 13;</code>
* @param value The bytes of the badv to add.
*/
private void addBadvBytes(
com.google.protobuf.ByteString value) {
ensureBadvIsMutable();
badv_.add(value.toStringUtf8());
}
public static final int BAPP_FIELD_NUMBER = 16;
private com.google.protobuf.Internal.ProtobufList<java.lang.String> bapp_;
/**
* <pre>
* Block list of applications by their platform-specific exchange
* independent application identifiers. On Android, these should
* be bundle or package names (for example, com.foo.mygame).
* On iOS, these are numeric IDs.
* Supported by Google.
* </pre>
*
* <code>repeated string bapp = 16;</code>
* @return A list containing the bapp.
*/
@java.lang.Override
public java.util.List<java.lang.String> getBappList() {
return bapp_;
}
/**
* <pre>
* Block list of applications by their platform-specific exchange
* independent application identifiers. On Android, these should
* be bundle or package names (for example, com.foo.mygame).
* On iOS, these are numeric IDs.
* Supported by Google.
* </pre>
*
* <code>repeated string bapp = 16;</code>
* @return The count of bapp.
*/
@java.lang.Override
public int getBappCount() {
return bapp_.size();
}
/**
* <pre>
* Block list of applications by their platform-specific exchange
* independent application identifiers. On Android, these should
* be bundle or package names (for example, com.foo.mygame).
* On iOS, these are numeric IDs.
* Supported by Google.
* </pre>
*
* <code>repeated string bapp = 16;</code>
* @param index The index of the element to return.
* @return The bapp at the given index.
*/
@java.lang.Override
public java.lang.String getBapp(int index) {
return bapp_.get(index);
}
/**
* <pre>
* Block list of applications by their platform-specific exchange
* independent application identifiers. On Android, these should
* be bundle or package names (for example, com.foo.mygame).
* On iOS, these are numeric IDs.
* Supported by Google.
* </pre>
*
* <code>repeated string bapp = 16;</code>
* @param index The index of the value to return.
* @return The bytes of the bapp at the given index.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getBappBytes(int index) {
return com.google.protobuf.ByteString.copyFromUtf8(
bapp_.get(index));
}
private void ensureBappIsMutable() {
com.google.protobuf.Internal.ProtobufList<java.lang.String> tmp =
bapp_; if (!tmp.isModifiable()) {
bapp_ =
com.google.protobuf.GeneratedMessageLite.mutableCopy(tmp);
}
}
/**
* <pre>
* Block list of applications by their platform-specific exchange
* independent application identifiers. On Android, these should
* be bundle or package names (for example, com.foo.mygame).
* On iOS, these are numeric IDs.
* Supported by Google.
* </pre>
*
* <code>repeated string bapp = 16;</code>
* @param index The index to set the value at.
* @param value The bapp to set.
*/
private void setBapp(
int index, java.lang.String value) {
java.lang.Class<?> valueClass = value.getClass();
ensureBappIsMutable();
bapp_.set(index, value);
}
/**
* <pre>
* Block list of applications by their platform-specific exchange
* independent application identifiers. On Android, these should
* be bundle or package names (for example, com.foo.mygame).
* On iOS, these are numeric IDs.
* Supported by Google.
* </pre>
*
* <code>repeated string bapp = 16;</code>
* @param value The bapp to add.
*/
private void addBapp(
java.lang.String value) {
java.lang.Class<?> valueClass = value.getClass();
ensureBappIsMutable();
bapp_.add(value);
}
/**
* <pre>
* Block list of applications by their platform-specific exchange
* independent application identifiers. On Android, these should
* be bundle or package names (for example, com.foo.mygame).
* On iOS, these are numeric IDs.
* Supported by Google.
* </pre>
*
* <code>repeated string bapp = 16;</code>
* @param values The bapp to add.
*/
private void addAllBapp(
java.lang.Iterable<java.lang.String> values) {
ensureBappIsMutable();
com.google.protobuf.AbstractMessageLite.addAll(
values, bapp_);
}
/**
* <pre>
* Block list of applications by their platform-specific exchange
* independent application identifiers. On Android, these should
* be bundle or package names (for example, com.foo.mygame).
* On iOS, these are numeric IDs.
* Supported by Google.
* </pre>
*
* <code>repeated string bapp = 16;</code>
*/
private void clearBapp() {
bapp_ = com.google.protobuf.GeneratedMessageLite.emptyProtobufList();
}
/**
* <pre>
* Block list of applications by their platform-specific exchange
* independent application identifiers. On Android, these should
* be bundle or package names (for example, com.foo.mygame).
* On iOS, these are numeric IDs.
* Supported by Google.
* </pre>
*
* <code>repeated string bapp = 16;</code>
* @param value The bytes of the bapp to add.
*/
private void addBappBytes(
com.google.protobuf.ByteString value) {
ensureBappIsMutable();
bapp_.add(value.toStringUtf8());
}
public static final int TEST_FIELD_NUMBER = 15;
private boolean test_;
/**
* <pre>
* Indicator of test mode in which auctions are not billable,
* where false = live mode, true = test mode.
* Supported by Google.
* </pre>
*
* <code>optional bool test = 15 [default = false];</code>
* @return Whether the test field is set.
*/
@java.lang.Override
public boolean hasTest() {
return ((bitField0_ & 0x00000400) != 0);
}
/**
* <pre>
* Indicator of test mode in which auctions are not billable,
* where false = live mode, true = test mode.
* Supported by Google.
* </pre>
*
* <code>optional bool test = 15 [default = false];</code>
* @return The test.
*/
@java.lang.Override
public boolean getTest() {
return test_;
}
/**
* <pre>
* Indicator of test mode in which auctions are not billable,
* where false = live mode, true = test mode.
* Supported by Google.
* </pre>
*
* <code>optional bool test = 15 [default = false];</code>
* @param value The test to set.
*/
private void setTest(boolean value) {
bitField0_ |= 0x00000400;
test_ = value;
}
/**
* <pre>
* Indicator of test mode in which auctions are not billable,
* where false = live mode, true = test mode.
* Supported by Google.
* </pre>
*
* <code>optional bool test = 15 [default = false];</code>
*/
private void clearTest() {
bitField0_ = (bitField0_ & ~0x00000400);
test_ = false;
}
public static final int BSEAT_FIELD_NUMBER = 17;
private com.google.protobuf.Internal.ProtobufList<java.lang.String> bseat_;
/**
* <pre>
* Block list of buyer seats (for example, advertisers, agencies) restricted
* from bidding on this impression. IDs of seats and knowledge
* of the buyer's customers to which they refer must be
* coordinated between bidders and the exchange a priori.
* At most, only one of wseat and bseat should be used in the
* same request. Omission of both implies no seat restrictions.
* Supported by Google.
* </pre>
*
* <code>repeated string bseat = 17;</code>
* @return A list containing the bseat.
*/
@java.lang.Override
public java.util.List<java.lang.String> getBseatList() {
return bseat_;
}
/**
* <pre>
* Block list of buyer seats (for example, advertisers, agencies) restricted
* from bidding on this impression. IDs of seats and knowledge
* of the buyer's customers to which they refer must be
* coordinated between bidders and the exchange a priori.
* At most, only one of wseat and bseat should be used in the
* same request. Omission of both implies no seat restrictions.
* Supported by Google.
* </pre>
*
* <code>repeated string bseat = 17;</code>
* @return The count of bseat.
*/
@java.lang.Override
public int getBseatCount() {
return bseat_.size();
}
/**
* <pre>
* Block list of buyer seats (for example, advertisers, agencies) restricted
* from bidding on this impression. IDs of seats and knowledge
* of the buyer's customers to which they refer must be
* coordinated between bidders and the exchange a priori.
* At most, only one of wseat and bseat should be used in the
* same request. Omission of both implies no seat restrictions.
* Supported by Google.
* </pre>
*
* <code>repeated string bseat = 17;</code>
* @param index The index of the element to return.
* @return The bseat at the given index.
*/
@java.lang.Override
public java.lang.String getBseat(int index) {
return bseat_.get(index);
}
/**
* <pre>
* Block list of buyer seats (for example, advertisers, agencies) restricted
* from bidding on this impression. IDs of seats and knowledge
* of the buyer's customers to which they refer must be
* coordinated between bidders and the exchange a priori.
* At most, only one of wseat and bseat should be used in the
* same request. Omission of both implies no seat restrictions.
* Supported by Google.
* </pre>
*
* <code>repeated string bseat = 17;</code>
* @param index The index of the value to return.
* @return The bytes of the bseat at the given index.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getBseatBytes(int index) {
return com.google.protobuf.ByteString.copyFromUtf8(
bseat_.get(index));
}
private void ensureBseatIsMutable() {
com.google.protobuf.Internal.ProtobufList<java.lang.String> tmp =
bseat_; if (!tmp.isModifiable()) {
bseat_ =
com.google.protobuf.GeneratedMessageLite.mutableCopy(tmp);
}
}
/**
* <pre>
* Block list of buyer seats (for example, advertisers, agencies) restricted
* from bidding on this impression. IDs of seats and knowledge
* of the buyer's customers to which they refer must be
* coordinated between bidders and the exchange a priori.
* At most, only one of wseat and bseat should be used in the
* same request. Omission of both implies no seat restrictions.
* Supported by Google.
* </pre>
*
* <code>repeated string bseat = 17;</code>
* @param index The index to set the value at.
* @param value The bseat to set.
*/
private void setBseat(
int index, java.lang.String value) {
java.lang.Class<?> valueClass = value.getClass();
ensureBseatIsMutable();
bseat_.set(index, value);
}
/**
* <pre>
* Block list of buyer seats (for example, advertisers, agencies) restricted
* from bidding on this impression. IDs of seats and knowledge
* of the buyer's customers to which they refer must be
* coordinated between bidders and the exchange a priori.
* At most, only one of wseat and bseat should be used in the
* same request. Omission of both implies no seat restrictions.
* Supported by Google.
* </pre>
*
* <code>repeated string bseat = 17;</code>
* @param value The bseat to add.
*/
private void addBseat(
java.lang.String value) {
java.lang.Class<?> valueClass = value.getClass();
ensureBseatIsMutable();
bseat_.add(value);
}
/**
* <pre>
* Block list of buyer seats (for example, advertisers, agencies) restricted
* from bidding on this impression. IDs of seats and knowledge
* of the buyer's customers to which they refer must be
* coordinated between bidders and the exchange a priori.
* At most, only one of wseat and bseat should be used in the
* same request. Omission of both implies no seat restrictions.
* Supported by Google.
* </pre>
*
* <code>repeated string bseat = 17;</code>
* @param values The bseat to add.
*/
private void addAllBseat(
java.lang.Iterable<java.lang.String> values) {
ensureBseatIsMutable();
com.google.protobuf.AbstractMessageLite.addAll(
values, bseat_);
}
/**
* <pre>
* Block list of buyer seats (for example, advertisers, agencies) restricted
* from bidding on this impression. IDs of seats and knowledge
* of the buyer's customers to which they refer must be
* coordinated between bidders and the exchange a priori.
* At most, only one of wseat and bseat should be used in the
* same request. Omission of both implies no seat restrictions.
* Supported by Google.
* </pre>
*
* <code>repeated string bseat = 17;</code>
*/
private void clearBseat() {
bseat_ = com.google.protobuf.GeneratedMessageLite.emptyProtobufList();
}
/**
* <pre>
* Block list of buyer seats (for example, advertisers, agencies) restricted
* from bidding on this impression. IDs of seats and knowledge
* of the buyer's customers to which they refer must be
* coordinated between bidders and the exchange a priori.
* At most, only one of wseat and bseat should be used in the
* same request. Omission of both implies no seat restrictions.
* Supported by Google.
* </pre>
*
* <code>repeated string bseat = 17;</code>
* @param value The bytes of the bseat to add.
*/
private void addBseatBytes(
com.google.protobuf.ByteString value) {
ensureBseatIsMutable();
bseat_.add(value.toStringUtf8());
}
public static final int WLANG_FIELD_NUMBER = 18;
private com.google.protobuf.Internal.ProtobufList<java.lang.String> wlang_;
/**
* <pre>
* Allowed list of languages for creatives using ISO-639-1-alpha-2.
* Omission implies no specific restrictions, but buyers would be
* advised to consider language attribute in the Device and/or
* Content objects if available.
* Only one of wlang or wlangb should be present.
* Supported by Google.
* </pre>
*
* <code>repeated string wlang = 18;</code>
* @return A list containing the wlang.
*/
@java.lang.Override
public java.util.List<java.lang.String> getWlangList() {
return wlang_;
}
/**
* <pre>
* Allowed list of languages for creatives using ISO-639-1-alpha-2.
* Omission implies no specific restrictions, but buyers would be
* advised to consider language attribute in the Device and/or
* Content objects if available.
* Only one of wlang or wlangb should be present.
* Supported by Google.
* </pre>
*
* <code>repeated string wlang = 18;</code>
* @return The count of wlang.
*/
@java.lang.Override
public int getWlangCount() {
return wlang_.size();
}
/**
* <pre>
* Allowed list of languages for creatives using ISO-639-1-alpha-2.
* Omission implies no specific restrictions, but buyers would be
* advised to consider language attribute in the Device and/or
* Content objects if available.
* Only one of wlang or wlangb should be present.
* Supported by Google.
* </pre>
*
* <code>repeated string wlang = 18;</code>
* @param index The index of the element to return.
* @return The wlang at the given index.
*/
@java.lang.Override
public java.lang.String getWlang(int index) {
return wlang_.get(index);
}
/**
* <pre>
* Allowed list of languages for creatives using ISO-639-1-alpha-2.
* Omission implies no specific restrictions, but buyers would be
* advised to consider language attribute in the Device and/or
* Content objects if available.
* Only one of wlang or wlangb should be present.
* Supported by Google.
* </pre>
*
* <code>repeated string wlang = 18;</code>
* @param index The index of the value to return.
* @return The bytes of the wlang at the given index.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getWlangBytes(int index) {
return com.google.protobuf.ByteString.copyFromUtf8(
wlang_.get(index));
}
private void ensureWlangIsMutable() {
com.google.protobuf.Internal.ProtobufList<java.lang.String> tmp =
wlang_; if (!tmp.isModifiable()) {
wlang_ =
com.google.protobuf.GeneratedMessageLite.mutableCopy(tmp);
}
}
/**
* <pre>
* Allowed list of languages for creatives using ISO-639-1-alpha-2.
* Omission implies no specific restrictions, but buyers would be
* advised to consider language attribute in the Device and/or
* Content objects if available.
* Only one of wlang or wlangb should be present.
* Supported by Google.
* </pre>
*
* <code>repeated string wlang = 18;</code>
* @param index The index to set the value at.
* @param value The wlang to set.
*/
private void setWlang(
int index, java.lang.String value) {
java.lang.Class<?> valueClass = value.getClass();
ensureWlangIsMutable();
wlang_.set(index, value);
}
/**
* <pre>
* Allowed list of languages for creatives using ISO-639-1-alpha-2.
* Omission implies no specific restrictions, but buyers would be
* advised to consider language attribute in the Device and/or
* Content objects if available.
* Only one of wlang or wlangb should be present.
* Supported by Google.
* </pre>
*
* <code>repeated string wlang = 18;</code>
* @param value The wlang to add.
*/
private void addWlang(
java.lang.String value) {
java.lang.Class<?> valueClass = value.getClass();
ensureWlangIsMutable();
wlang_.add(value);
}
/**
* <pre>
* Allowed list of languages for creatives using ISO-639-1-alpha-2.
* Omission implies no specific restrictions, but buyers would be
* advised to consider language attribute in the Device and/or
* Content objects if available.
* Only one of wlang or wlangb should be present.
* Supported by Google.
* </pre>
*
* <code>repeated string wlang = 18;</code>
* @param values The wlang to add.
*/
private void addAllWlang(
java.lang.Iterable<java.lang.String> values) {
ensureWlangIsMutable();
com.google.protobuf.AbstractMessageLite.addAll(
values, wlang_);
}
/**
* <pre>
* Allowed list of languages for creatives using ISO-639-1-alpha-2.
* Omission implies no specific restrictions, but buyers would be
* advised to consider language attribute in the Device and/or
* Content objects if available.
* Only one of wlang or wlangb should be present.
* Supported by Google.
* </pre>
*
* <code>repeated string wlang = 18;</code>
*/
private void clearWlang() {
wlang_ = com.google.protobuf.GeneratedMessageLite.emptyProtobufList();
}
/**
* <pre>
* Allowed list of languages for creatives using ISO-639-1-alpha-2.
* Omission implies no specific restrictions, but buyers would be
* advised to consider language attribute in the Device and/or
* Content objects if available.
* Only one of wlang or wlangb should be present.
* Supported by Google.
* </pre>
*
* <code>repeated string wlang = 18;</code>
* @param value The bytes of the wlang to add.
*/
private void addWlangBytes(
com.google.protobuf.ByteString value) {
ensureWlangIsMutable();
wlang_.add(value.toStringUtf8());
}
public static final int WLANGB_FIELD_NUMBER = 20;
private com.google.protobuf.Internal.ProtobufList<java.lang.String> wlangb_;
/**
* <pre>
* Allowed list of languages for creatives using IETF BCP 47I.
* Omission implies no specific restrictions, but buyers would be
* advised to consider language attribute in the Device and/or
* Content objects if available.
* Only one of wlang or wlangb should be present.
* Not supported by Google.
* </pre>
*
* <code>repeated string wlangb = 20;</code>
* @return A list containing the wlangb.
*/
@java.lang.Override
public java.util.List<java.lang.String> getWlangbList() {
return wlangb_;
}
/**
* <pre>
* Allowed list of languages for creatives using IETF BCP 47I.
* Omission implies no specific restrictions, but buyers would be
* advised to consider language attribute in the Device and/or
* Content objects if available.
* Only one of wlang or wlangb should be present.
* Not supported by Google.
* </pre>
*
* <code>repeated string wlangb = 20;</code>
* @return The count of wlangb.
*/
@java.lang.Override
public int getWlangbCount() {
return wlangb_.size();
}
/**
* <pre>
* Allowed list of languages for creatives using IETF BCP 47I.
* Omission implies no specific restrictions, but buyers would be
* advised to consider language attribute in the Device and/or
* Content objects if available.
* Only one of wlang or wlangb should be present.
* Not supported by Google.
* </pre>
*
* <code>repeated string wlangb = 20;</code>
* @param index The index of the element to return.
* @return The wlangb at the given index.
*/
@java.lang.Override
public java.lang.String getWlangb(int index) {
return wlangb_.get(index);
}
/**
* <pre>
* Allowed list of languages for creatives using IETF BCP 47I.
* Omission implies no specific restrictions, but buyers would be
* advised to consider language attribute in the Device and/or
* Content objects if available.
* Only one of wlang or wlangb should be present.
* Not supported by Google.
* </pre>
*
* <code>repeated string wlangb = 20;</code>
* @param index The index of the value to return.
* @return The bytes of the wlangb at the given index.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getWlangbBytes(int index) {
return com.google.protobuf.ByteString.copyFromUtf8(
wlangb_.get(index));
}
private void ensureWlangbIsMutable() {
com.google.protobuf.Internal.ProtobufList<java.lang.String> tmp =
wlangb_; if (!tmp.isModifiable()) {
wlangb_ =
com.google.protobuf.GeneratedMessageLite.mutableCopy(tmp);
}
}
/**
* <pre>
* Allowed list of languages for creatives using IETF BCP 47I.
* Omission implies no specific restrictions, but buyers would be
* advised to consider language attribute in the Device and/or
* Content objects if available.
* Only one of wlang or wlangb should be present.
* Not supported by Google.
* </pre>
*
* <code>repeated string wlangb = 20;</code>
* @param index The index to set the value at.
* @param value The wlangb to set.
*/
private void setWlangb(
int index, java.lang.String value) {
java.lang.Class<?> valueClass = value.getClass();
ensureWlangbIsMutable();
wlangb_.set(index, value);
}
/**
* <pre>
* Allowed list of languages for creatives using IETF BCP 47I.
* Omission implies no specific restrictions, but buyers would be
* advised to consider language attribute in the Device and/or
* Content objects if available.
* Only one of wlang or wlangb should be present.
* Not supported by Google.
* </pre>
*
* <code>repeated string wlangb = 20;</code>
* @param value The wlangb to add.
*/
private void addWlangb(
java.lang.String value) {
java.lang.Class<?> valueClass = value.getClass();
ensureWlangbIsMutable();
wlangb_.add(value);
}
/**
* <pre>
* Allowed list of languages for creatives using IETF BCP 47I.
* Omission implies no specific restrictions, but buyers would be
* advised to consider language attribute in the Device and/or
* Content objects if available.
* Only one of wlang or wlangb should be present.
* Not supported by Google.
* </pre>
*
* <code>repeated string wlangb = 20;</code>
* @param values The wlangb to add.
*/
private void addAllWlangb(
java.lang.Iterable<java.lang.String> values) {
ensureWlangbIsMutable();
com.google.protobuf.AbstractMessageLite.addAll(
values, wlangb_);
}
/**
* <pre>
* Allowed list of languages for creatives using IETF BCP 47I.
* Omission implies no specific restrictions, but buyers would be
* advised to consider language attribute in the Device and/or
* Content objects if available.
* Only one of wlang or wlangb should be present.
* Not supported by Google.
* </pre>
*
* <code>repeated string wlangb = 20;</code>
*/
private void clearWlangb() {
wlangb_ = com.google.protobuf.GeneratedMessageLite.emptyProtobufList();
}
/**
* <pre>
* Allowed list of languages for creatives using IETF BCP 47I.
* Omission implies no specific restrictions, but buyers would be
* advised to consider language attribute in the Device and/or
* Content objects if available.
* Only one of wlang or wlangb should be present.
* Not supported by Google.
* </pre>
*
* <code>repeated string wlangb = 20;</code>
* @param value The bytes of the wlangb to add.
*/
private void addWlangbBytes(
com.google.protobuf.ByteString value) {
ensureWlangbIsMutable();
wlangb_.add(value.toStringUtf8());
}
public static final int SOURCE_FIELD_NUMBER = 19;
private com.particles.mes.protos.openrtb.BidRequest.Source source_;
/**
* <pre>
* A Source object (Section 3.2.2) that provides data about the
* inventory source and which entity makes the final decision.
* Supported by Google.
* </pre>
*
* <code>optional .com.google.openrtb.BidRequest.Source source = 19;</code>
*/
@java.lang.Override
public boolean hasSource() {
return ((bitField0_ & 0x00000800) != 0);
}
/**
* <pre>
* A Source object (Section 3.2.2) that provides data about the
* inventory source and which entity makes the final decision.
* Supported by Google.
* </pre>
*
* <code>optional .com.google.openrtb.BidRequest.Source source = 19;</code>
*/
@java.lang.Override
public com.particles.mes.protos.openrtb.BidRequest.Source getSource() {
return source_ == null ? com.particles.mes.protos.openrtb.BidRequest.Source.getDefaultInstance() : source_;
}
/**
* <pre>
* A Source object (Section 3.2.2) that provides data about the
* inventory source and which entity makes the final decision.
* Supported by Google.
* </pre>
*
* <code>optional .com.google.openrtb.BidRequest.Source source = 19;</code>
*/
private void setSource(com.particles.mes.protos.openrtb.BidRequest.Source value) {
value.getClass();
source_ = value;
bitField0_ |= 0x00000800;
}
/**
* <pre>
* A Source object (Section 3.2.2) that provides data about the
* inventory source and which entity makes the final decision.
* Supported by Google.
* </pre>
*
* <code>optional .com.google.openrtb.BidRequest.Source source = 19;</code>
*/
@java.lang.SuppressWarnings({"ReferenceEquality"})
private void mergeSource(com.particles.mes.protos.openrtb.BidRequest.Source value) {
value.getClass();
if (source_ != null &&
source_ != com.particles.mes.protos.openrtb.BidRequest.Source.getDefaultInstance()) {
source_ =
com.particles.mes.protos.openrtb.BidRequest.Source.newBuilder(source_).mergeFrom(value).buildPartial();
} else {
source_ = value;
}
bitField0_ |= 0x00000800;
}
/**
* <pre>
* A Source object (Section 3.2.2) that provides data about the
* inventory source and which entity makes the final decision.
* Supported by Google.
* </pre>
*
* <code>optional .com.google.openrtb.BidRequest.Source source = 19;</code>
*/
private void clearSource() { source_ = null;
bitField0_ = (bitField0_ & ~0x00000800);
}
public static final int EXT_FIELD_NUMBER = 90;
private java.lang.String ext_;
/**
* <code>optional string ext = 90;</code>
* @return Whether the ext field is set.
*/
@java.lang.Override
public boolean hasExt() {
return ((bitField0_ & 0x00001000) != 0);
}
/**
* <code>optional string ext = 90;</code>
* @return The ext.
*/
@java.lang.Override
public java.lang.String getExt() {
return ext_;
}
/**
* <code>optional string ext = 90;</code>
* @return The bytes for ext.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getExtBytes() {
return com.google.protobuf.ByteString.copyFromUtf8(ext_);
}
/**
* <code>optional string ext = 90;</code>
* @param value The ext to set.
*/
private void setExt(
java.lang.String value) {
java.lang.Class<?> valueClass = value.getClass();
bitField0_ |= 0x00001000;
ext_ = value;
}
/**
* <code>optional string ext = 90;</code>
*/
private void clearExt() {
bitField0_ = (bitField0_ & ~0x00001000);
ext_ = getDefaultInstance().getExt();
}
/**
* <code>optional string ext = 90;</code>
* @param value The bytes for ext to set.
*/
private void setExtBytes(
com.google.protobuf.ByteString value) {
ext_ = value.toStringUtf8();
bitField0_ |= 0x00001000;
}
public static com.particles.mes.protos.openrtb.BidRequest parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, data);
}
public static com.particles.mes.protos.openrtb.BidRequest parseFrom(
java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, data, extensionRegistry);
}
public static com.particles.mes.protos.openrtb.BidRequest parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, data);
}
public static com.particles.mes.protos.openrtb.BidRequest parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, data, extensionRegistry);
}
public static com.particles.mes.protos.openrtb.BidRequest parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, data);
}
public static com.particles.mes.protos.openrtb.BidRequest parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, data, extensionRegistry);
}
public static com.particles.mes.protos.openrtb.BidRequest parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, input);
}
public static com.particles.mes.protos.openrtb.BidRequest parseFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, input, extensionRegistry);
}
public static com.particles.mes.protos.openrtb.BidRequest parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return parseDelimitedFrom(DEFAULT_INSTANCE, input);
}
public static com.particles.mes.protos.openrtb.BidRequest parseDelimitedFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return parseDelimitedFrom(DEFAULT_INSTANCE, input, extensionRegistry);
}
public static com.particles.mes.protos.openrtb.BidRequest parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, input);
}
public static com.particles.mes.protos.openrtb.BidRequest parseFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, input, extensionRegistry);
}
public static Builder newBuilder() {
return (Builder) DEFAULT_INSTANCE.createBuilder();
}
public static Builder newBuilder(com.particles.mes.protos.openrtb.BidRequest prototype) {
return (Builder) DEFAULT_INSTANCE.createBuilder(prototype);
}
/**
* <pre>
* OpenRTB extensions ("ext" fields in the spec & JSON representation)
* are represented here by Protocol Buffer extensions. This proto only
* reserves the range of IDs 100-9999 at every extensible object.
* Reserved ranges:
* 100-199: Reserved for Google.
* 200-299: Reserved for IAB's formal standard extensions.
* 300-999: Free for use with other exchanges or projects.
* 1000-1999: Reserved for Google.
* 2000-9999: Free for use with other exchanges or projects.
* OpenRTB 2.0: The top-level bid request object contains a globally unique
* bid request or auction ID. This id attribute is required as is at least one
* impression object (Section 3.2.2). Other attributes in this top-level object
* establish rules and restrictions that apply to all impressions being offered.
* There are also several subordinate objects that provide detailed data to
* potential buyers. Among these are the Site and App objects, which describe
* the type of published media in which the impression(s) appear.
* These objects are highly recommended, but only one applies to a given
* bid request depending on whether the media is browser-based web content
* or a non-browser application, respectively.
* </pre>
*
* Protobuf type {@code com.google.openrtb.BidRequest}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageLite.ExtendableBuilder<
com.particles.mes.protos.openrtb.BidRequest, Builder> implements
// @@protoc_insertion_point(builder_implements:com.google.openrtb.BidRequest)
com.particles.mes.protos.openrtb.BidRequestOrBuilder {
// Construct using com.particles.mes.protos.openrtb.BidRequest.newBuilder()
private Builder() {
super(DEFAULT_INSTANCE);
}
@java.lang.Override
public DistributionchannelOneofCase
getDistributionchannelOneofCase() {
return instance.getDistributionchannelOneofCase();
}
public Builder clearDistributionchannelOneof() {
copyOnWrite();
instance.clearDistributionchannelOneof();
return this;
}
/**
* <pre>
* Information about the publisher's website. Only applicable and
* recommended for websites.
* Supported by Google.
* </pre>
*
* <code>.com.google.openrtb.BidRequest.Site site = 3;</code>
*/
@java.lang.Override
public boolean hasSite() {
return instance.hasSite();
}
/**
* <pre>
* Information about the publisher's website. Only applicable and
* recommended for websites.
* Supported by Google.
* </pre>
*
* <code>.com.google.openrtb.BidRequest.Site site = 3;</code>
*/
@java.lang.Override
public com.particles.mes.protos.openrtb.BidRequest.Site getSite() {
return instance.getSite();
}
/**
* <pre>
* Information about the publisher's website. Only applicable and
* recommended for websites.
* Supported by Google.
* </pre>
*
* <code>.com.google.openrtb.BidRequest.Site site = 3;</code>
*/
public Builder setSite(com.particles.mes.protos.openrtb.BidRequest.Site value) {
copyOnWrite();
instance.setSite(value);
return this;
}
/**
* <pre>
* Information about the publisher's website. Only applicable and
* recommended for websites.
* Supported by Google.
* </pre>
*
* <code>.com.google.openrtb.BidRequest.Site site = 3;</code>
*/
public Builder setSite(
com.particles.mes.protos.openrtb.BidRequest.Site.Builder builderForValue) {
copyOnWrite();
instance.setSite(builderForValue.build());
return this;
}
/**
* <pre>
* Information about the publisher's website. Only applicable and
* recommended for websites.
* Supported by Google.
* </pre>
*
* <code>.com.google.openrtb.BidRequest.Site site = 3;</code>
*/
public Builder mergeSite(com.particles.mes.protos.openrtb.BidRequest.Site value) {
copyOnWrite();
instance.mergeSite(value);
return this;
}
/**
* <pre>
* Information about the publisher's website. Only applicable and
* recommended for websites.
* Supported by Google.
* </pre>
*
* <code>.com.google.openrtb.BidRequest.Site site = 3;</code>
*/
public Builder clearSite() {
copyOnWrite();
instance.clearSite();
return this;
}
/**
* <pre>
* Information about the publisher's app
* (non-browser applications). Only applicable and recommended for apps.
* Supported by Google.
* </pre>
*
* <code>.com.google.openrtb.BidRequest.App app = 4;</code>
*/
@java.lang.Override
public boolean hasApp() {
return instance.hasApp();
}
/**
* <pre>
* Information about the publisher's app
* (non-browser applications). Only applicable and recommended for apps.
* Supported by Google.
* </pre>
*
* <code>.com.google.openrtb.BidRequest.App app = 4;</code>
*/
@java.lang.Override
public com.particles.mes.protos.openrtb.BidRequest.App getApp() {
return instance.getApp();
}
/**
* <pre>
* Information about the publisher's app
* (non-browser applications). Only applicable and recommended for apps.
* Supported by Google.
* </pre>
*
* <code>.com.google.openrtb.BidRequest.App app = 4;</code>
*/
public Builder setApp(com.particles.mes.protos.openrtb.BidRequest.App value) {
copyOnWrite();
instance.setApp(value);
return this;
}
/**
* <pre>
* Information about the publisher's app
* (non-browser applications). Only applicable and recommended for apps.
* Supported by Google.
* </pre>
*
* <code>.com.google.openrtb.BidRequest.App app = 4;</code>
*/
public Builder setApp(
com.particles.mes.protos.openrtb.BidRequest.App.Builder builderForValue) {
copyOnWrite();
instance.setApp(builderForValue.build());
return this;
}
/**
* <pre>
* Information about the publisher's app
* (non-browser applications). Only applicable and recommended for apps.
* Supported by Google.
* </pre>
*
* <code>.com.google.openrtb.BidRequest.App app = 4;</code>
*/
public Builder mergeApp(com.particles.mes.protos.openrtb.BidRequest.App value) {
copyOnWrite();
instance.mergeApp(value);
return this;
}
/**
* <pre>
* Information about the publisher's app
* (non-browser applications). Only applicable and recommended for apps.
* Supported by Google.
* </pre>
*
* <code>.com.google.openrtb.BidRequest.App app = 4;</code>
*/
public Builder clearApp() {
copyOnWrite();
instance.clearApp();
return this;
}
/**
* <pre>
* Unique ID of the bid request, provided by the exchange.
* REQUIRED by the OpenRTB specification.
* Supported by Google.
* </pre>
*
* <code>required string id = 1;</code>
* @return Whether the id field is set.
*/
@java.lang.Override
public boolean hasId() {
return instance.hasId();
}
/**
* <pre>
* Unique ID of the bid request, provided by the exchange.
* REQUIRED by the OpenRTB specification.
* Supported by Google.
* </pre>
*
* <code>required string id = 1;</code>
* @return The id.
*/
@java.lang.Override
public java.lang.String getId() {
return instance.getId();
}
/**
* <pre>
* Unique ID of the bid request, provided by the exchange.
* REQUIRED by the OpenRTB specification.
* Supported by Google.
* </pre>
*
* <code>required string id = 1;</code>
* @return The bytes for id.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getIdBytes() {
return instance.getIdBytes();
}
/**
* <pre>
* Unique ID of the bid request, provided by the exchange.
* REQUIRED by the OpenRTB specification.
* Supported by Google.
* </pre>
*
* <code>required string id = 1;</code>
* @param value The id to set.
* @return This builder for chaining.
*/
public Builder setId(
java.lang.String value) {
copyOnWrite();
instance.setId(value);
return this;
}
/**
* <pre>
* Unique ID of the bid request, provided by the exchange.
* REQUIRED by the OpenRTB specification.
* Supported by Google.
* </pre>
*
* <code>required string id = 1;</code>
* @return This builder for chaining.
*/
public Builder clearId() {
copyOnWrite();
instance.clearId();
return this;
}
/**
* <pre>
* Unique ID of the bid request, provided by the exchange.
* REQUIRED by the OpenRTB specification.
* Supported by Google.
* </pre>
*
* <code>required string id = 1;</code>
* @param value The bytes for id to set.
* @return This builder for chaining.
*/
public Builder setIdBytes(
com.google.protobuf.ByteString value) {
copyOnWrite();
instance.setIdBytes(value);
return this;
}
/**
* <pre>
* Array of Imp objects (Section 3.2.2) representing the impressions offered.
* At least 1 Imp object is required.
* Supported by Google.
* </pre>
*
* <code>repeated .com.google.openrtb.BidRequest.Imp imp = 2;</code>
*/
@java.lang.Override
public java.util.List<com.particles.mes.protos.openrtb.BidRequest.Imp> getImpList() {
return java.util.Collections.unmodifiableList(
instance.getImpList());
}
/**
* <pre>
* Array of Imp objects (Section 3.2.2) representing the impressions offered.
* At least 1 Imp object is required.
* Supported by Google.
* </pre>
*
* <code>repeated .com.google.openrtb.BidRequest.Imp imp = 2;</code>
*/
@java.lang.Override
public int getImpCount() {
return instance.getImpCount();
}/**
* <pre>
* Array of Imp objects (Section 3.2.2) representing the impressions offered.
* At least 1 Imp object is required.
* Supported by Google.
* </pre>
*
* <code>repeated .com.google.openrtb.BidRequest.Imp imp = 2;</code>
*/
@java.lang.Override
public com.particles.mes.protos.openrtb.BidRequest.Imp getImp(int index) {
return instance.getImp(index);
}
/**
* <pre>
* Array of Imp objects (Section 3.2.2) representing the impressions offered.
* At least 1 Imp object is required.
* Supported by Google.
* </pre>
*
* <code>repeated .com.google.openrtb.BidRequest.Imp imp = 2;</code>
*/
public Builder setImp(
int index, com.particles.mes.protos.openrtb.BidRequest.Imp value) {
copyOnWrite();
instance.setImp(index, value);
return this;
}
/**
* <pre>
* Array of Imp objects (Section 3.2.2) representing the impressions offered.
* At least 1 Imp object is required.
* Supported by Google.
* </pre>
*
* <code>repeated .com.google.openrtb.BidRequest.Imp imp = 2;</code>
*/
public Builder setImp(
int index, com.particles.mes.protos.openrtb.BidRequest.Imp.Builder builderForValue) {
copyOnWrite();
instance.setImp(index,
builderForValue.build());
return this;
}
/**
* <pre>
* Array of Imp objects (Section 3.2.2) representing the impressions offered.
* At least 1 Imp object is required.
* Supported by Google.
* </pre>
*
* <code>repeated .com.google.openrtb.BidRequest.Imp imp = 2;</code>
*/
public Builder addImp(com.particles.mes.protos.openrtb.BidRequest.Imp value) {
copyOnWrite();
instance.addImp(value);
return this;
}
/**
* <pre>
* Array of Imp objects (Section 3.2.2) representing the impressions offered.
* At least 1 Imp object is required.
* Supported by Google.
* </pre>
*
* <code>repeated .com.google.openrtb.BidRequest.Imp imp = 2;</code>
*/
public Builder addImp(
int index, com.particles.mes.protos.openrtb.BidRequest.Imp value) {
copyOnWrite();
instance.addImp(index, value);
return this;
}
/**
* <pre>
* Array of Imp objects (Section 3.2.2) representing the impressions offered.
* At least 1 Imp object is required.
* Supported by Google.
* </pre>
*
* <code>repeated .com.google.openrtb.BidRequest.Imp imp = 2;</code>
*/
public Builder addImp(
com.particles.mes.protos.openrtb.BidRequest.Imp.Builder builderForValue) {
copyOnWrite();
instance.addImp(builderForValue.build());
return this;
}
/**
* <pre>
* Array of Imp objects (Section 3.2.2) representing the impressions offered.
* At least 1 Imp object is required.
* Supported by Google.
* </pre>
*
* <code>repeated .com.google.openrtb.BidRequest.Imp imp = 2;</code>
*/
public Builder addImp(
int index, com.particles.mes.protos.openrtb.BidRequest.Imp.Builder builderForValue) {
copyOnWrite();
instance.addImp(index,
builderForValue.build());
return this;
}
/**
* <pre>
* Array of Imp objects (Section 3.2.2) representing the impressions offered.
* At least 1 Imp object is required.
* Supported by Google.
* </pre>
*
* <code>repeated .com.google.openrtb.BidRequest.Imp imp = 2;</code>
*/
public Builder addAllImp(
java.lang.Iterable<? extends com.particles.mes.protos.openrtb.BidRequest.Imp> values) {
copyOnWrite();
instance.addAllImp(values);
return this;
}
/**
* <pre>
* Array of Imp objects (Section 3.2.2) representing the impressions offered.
* At least 1 Imp object is required.
* Supported by Google.
* </pre>
*
* <code>repeated .com.google.openrtb.BidRequest.Imp imp = 2;</code>
*/
public Builder clearImp() {
copyOnWrite();
instance.clearImp();
return this;
}
/**
* <pre>
* Array of Imp objects (Section 3.2.2) representing the impressions offered.
* At least 1 Imp object is required.
* Supported by Google.
* </pre>
*
* <code>repeated .com.google.openrtb.BidRequest.Imp imp = 2;</code>
*/
public Builder removeImp(int index) {
copyOnWrite();
instance.removeImp(index);
return this;
}
/**
* <pre>
* Information about the device the impression will be delivered to.
* Supported by Google.
* </pre>
*
* <code>optional .com.google.openrtb.BidRequest.Device device = 5;</code>
*/
@java.lang.Override
public boolean hasDevice() {
return instance.hasDevice();
}
/**
* <pre>
* Information about the device the impression will be delivered to.
* Supported by Google.
* </pre>
*
* <code>optional .com.google.openrtb.BidRequest.Device device = 5;</code>
*/
@java.lang.Override
public com.particles.mes.protos.openrtb.BidRequest.Device getDevice() {
return instance.getDevice();
}
/**
* <pre>
* Information about the device the impression will be delivered to.
* Supported by Google.
* </pre>
*
* <code>optional .com.google.openrtb.BidRequest.Device device = 5;</code>
*/
public Builder setDevice(com.particles.mes.protos.openrtb.BidRequest.Device value) {
copyOnWrite();
instance.setDevice(value);
return this;
}
/**
* <pre>
* Information about the device the impression will be delivered to.
* Supported by Google.
* </pre>
*
* <code>optional .com.google.openrtb.BidRequest.Device device = 5;</code>
*/
public Builder setDevice(
com.particles.mes.protos.openrtb.BidRequest.Device.Builder builderForValue) {
copyOnWrite();
instance.setDevice(builderForValue.build());
return this;
}
/**
* <pre>
* Information about the device the impression will be delivered to.
* Supported by Google.
* </pre>
*
* <code>optional .com.google.openrtb.BidRequest.Device device = 5;</code>
*/
public Builder mergeDevice(com.particles.mes.protos.openrtb.BidRequest.Device value) {
copyOnWrite();
instance.mergeDevice(value);
return this;
}
/**
* <pre>
* Information about the device the impression will be delivered to.
* Supported by Google.
* </pre>
*
* <code>optional .com.google.openrtb.BidRequest.Device device = 5;</code>
*/
public Builder clearDevice() { copyOnWrite();
instance.clearDevice();
return this;
}
/**
* <pre>
* A Regs object (Section 3.2.16) that specifies any industry, legal,
* or governmental regulations in force for this request.
* Supported by Google.
* </pre>
*
* <code>optional .com.google.openrtb.BidRequest.Regs regs = 14;</code>
*/
@java.lang.Override
public boolean hasRegs() {
return instance.hasRegs();
}
/**
* <pre>
* A Regs object (Section 3.2.16) that specifies any industry, legal,
* or governmental regulations in force for this request.
* Supported by Google.
* </pre>
*
* <code>optional .com.google.openrtb.BidRequest.Regs regs = 14;</code>
*/
@java.lang.Override
public com.particles.mes.protos.openrtb.BidRequest.Regs getRegs() {
return instance.getRegs();
}
/**
* <pre>
* A Regs object (Section 3.2.16) that specifies any industry, legal,
* or governmental regulations in force for this request.
* Supported by Google.
* </pre>
*
* <code>optional .com.google.openrtb.BidRequest.Regs regs = 14;</code>
*/
public Builder setRegs(com.particles.mes.protos.openrtb.BidRequest.Regs value) {
copyOnWrite();
instance.setRegs(value);
return this;
}
/**
* <pre>
* A Regs object (Section 3.2.16) that specifies any industry, legal,
* or governmental regulations in force for this request.
* Supported by Google.
* </pre>
*
* <code>optional .com.google.openrtb.BidRequest.Regs regs = 14;</code>
*/
public Builder setRegs(
com.particles.mes.protos.openrtb.BidRequest.Regs.Builder builderForValue) {
copyOnWrite();
instance.setRegs(builderForValue.build());
return this;
}
/**
* <pre>
* A Regs object (Section 3.2.16) that specifies any industry, legal,
* or governmental regulations in force for this request.
* Supported by Google.
* </pre>
*
* <code>optional .com.google.openrtb.BidRequest.Regs regs = 14;</code>
*/
public Builder mergeRegs(com.particles.mes.protos.openrtb.BidRequest.Regs value) {
copyOnWrite();
instance.mergeRegs(value);
return this;
}
/**
* <pre>
* A Regs object (Section 3.2.16) that specifies any industry, legal,
* or governmental regulations in force for this request.
* Supported by Google.
* </pre>
*
* <code>optional .com.google.openrtb.BidRequest.Regs regs = 14;</code>
*/
public Builder clearRegs() { copyOnWrite();
instance.clearRegs();
return this;
}
/**
* <pre>
* Information about the user of the device or the advertising audience.
* Supported by Google.
* </pre>
*
* <code>optional .com.google.openrtb.BidRequest.User user = 6;</code>
*/
@java.lang.Override
public boolean hasUser() {
return instance.hasUser();
}
/**
* <pre>
* Information about the user of the device or the advertising audience.
* Supported by Google.
* </pre>
*
* <code>optional .com.google.openrtb.BidRequest.User user = 6;</code>
*/
@java.lang.Override
public com.particles.mes.protos.openrtb.BidRequest.User getUser() {
return instance.getUser();
}
/**
* <pre>
* Information about the user of the device or the advertising audience.
* Supported by Google.
* </pre>
*
* <code>optional .com.google.openrtb.BidRequest.User user = 6;</code>
*/
public Builder setUser(com.particles.mes.protos.openrtb.BidRequest.User value) {
copyOnWrite();
instance.setUser(value);
return this;
}
/**
* <pre>
* Information about the user of the device or the advertising audience.
* Supported by Google.
* </pre>
*
* <code>optional .com.google.openrtb.BidRequest.User user = 6;</code>
*/
public Builder setUser(
com.particles.mes.protos.openrtb.BidRequest.User.Builder builderForValue) {
copyOnWrite();
instance.setUser(builderForValue.build());
return this;
}
/**
* <pre>
* Information about the user of the device or the advertising audience.
* Supported by Google.
* </pre>
*
* <code>optional .com.google.openrtb.BidRequest.User user = 6;</code>
*/
public Builder mergeUser(com.particles.mes.protos.openrtb.BidRequest.User value) {
copyOnWrite();
instance.mergeUser(value);
return this;
}
/**
* <pre>
* Information about the user of the device or the advertising audience.
* Supported by Google.
* </pre>
*
* <code>optional .com.google.openrtb.BidRequest.User user = 6;</code>
*/
public Builder clearUser() { copyOnWrite();
instance.clearUser();
return this;
}
/**
* <pre>
* Auction type: one of FIRST_PRICE or SECOND_PRICE.
* Supported by Google.
* </pre>
*
* <code>optional .com.google.openrtb.AuctionType at = 7 [default = SECOND_PRICE];</code>
* @return Whether the at field is set.
*/
@java.lang.Override
public boolean hasAt() {
return instance.hasAt();
}
/**
* <pre>
* Auction type: one of FIRST_PRICE or SECOND_PRICE.
* Supported by Google.
* </pre>
*
* <code>optional .com.google.openrtb.AuctionType at = 7 [default = SECOND_PRICE];</code>
* @return The at.
*/
@java.lang.Override
public com.particles.mes.protos.openrtb.AuctionType getAt() {
return instance.getAt();
}
/**
* <pre>
* Auction type: one of FIRST_PRICE or SECOND_PRICE.
* Supported by Google.
* </pre>
*
* <code>optional .com.google.openrtb.AuctionType at = 7 [default = SECOND_PRICE];</code>
* @param value The enum numeric value on the wire for at to set.
* @return This builder for chaining.
*/
public Builder setAt(com.particles.mes.protos.openrtb.AuctionType value) {
copyOnWrite();
instance.setAt(value);
return this;
}
/**
* <pre>
* Auction type: one of FIRST_PRICE or SECOND_PRICE.
* Supported by Google.
* </pre>
*
* <code>optional .com.google.openrtb.AuctionType at = 7 [default = SECOND_PRICE];</code>
* @return This builder for chaining.
*/
public Builder clearAt() {
copyOnWrite();
instance.clearAt();
return this;
}
/**
* <pre>
* Maximum time in milliseconds to submit a bid to avoid timeout.
* This value is commonly communicated offline.
* Supported by Google.
* </pre>
*
* <code>optional int32 tmax = 8;</code>
* @return Whether the tmax field is set.
*/
@java.lang.Override
public boolean hasTmax() {
return instance.hasTmax();
}
/**
* <pre>
* Maximum time in milliseconds to submit a bid to avoid timeout.
* This value is commonly communicated offline.
* Supported by Google.
* </pre>
*
* <code>optional int32 tmax = 8;</code>
* @return The tmax.
*/
@java.lang.Override
public int getTmax() {
return instance.getTmax();
}
/**
* <pre>
* Maximum time in milliseconds to submit a bid to avoid timeout.
* This value is commonly communicated offline.
* Supported by Google.
* </pre>
*
* <code>optional int32 tmax = 8;</code>
* @param value The tmax to set.
* @return This builder for chaining.
*/
public Builder setTmax(int value) {
copyOnWrite();
instance.setTmax(value);
return this;
}
/**
* <pre>
* Maximum time in milliseconds to submit a bid to avoid timeout.
* This value is commonly communicated offline.
* Supported by Google.
* </pre>
*
* <code>optional int32 tmax = 8;</code>
* @return This builder for chaining.
*/
public Builder clearTmax() {
copyOnWrite();
instance.clearTmax();
return this;
}
/**
* <pre>
* Allowlist of buyer seats (for example, advertisers, agencies) that can bid
* on this impression. IDs of seats and knowledge of the buyer's customers to
* which they refer must be coordinated between bidders and the exchange a
* priori. Omission implies no seat restrictions.
* Supported by Google.
* </pre>
*
* <code>repeated string wseat = 9;</code>
* @return A list containing the wseat.
*/
@java.lang.Override
public java.util.List<java.lang.String>
getWseatList() {
return java.util.Collections.unmodifiableList(
instance.getWseatList());
}
/**
* <pre>
* Allowlist of buyer seats (for example, advertisers, agencies) that can bid
* on this impression. IDs of seats and knowledge of the buyer's customers to
* which they refer must be coordinated between bidders and the exchange a
* priori. Omission implies no seat restrictions.
* Supported by Google.
* </pre>
*
* <code>repeated string wseat = 9;</code>
* @return The count of wseat.
*/
@java.lang.Override
public int getWseatCount() {
return instance.getWseatCount();
}
/**
* <pre>
* Allowlist of buyer seats (for example, advertisers, agencies) that can bid
* on this impression. IDs of seats and knowledge of the buyer's customers to
* which they refer must be coordinated between bidders and the exchange a
* priori. Omission implies no seat restrictions.
* Supported by Google.
* </pre>
*
* <code>repeated string wseat = 9;</code>
* @param index The index of the element to return.
* @return The wseat at the given index.
*/
@java.lang.Override
public java.lang.String getWseat(int index) {
return instance.getWseat(index);
}
/**
* <pre>
* Allowlist of buyer seats (for example, advertisers, agencies) that can bid
* on this impression. IDs of seats and knowledge of the buyer's customers to
* which they refer must be coordinated between bidders and the exchange a
* priori. Omission implies no seat restrictions.
* Supported by Google.
* </pre>
*
* <code>repeated string wseat = 9;</code>
* @param index The index of the value to return.
* @return The bytes of the wseat at the given index.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getWseatBytes(int index) {
return instance.getWseatBytes(index);
}
/**
* <pre>
* Allowlist of buyer seats (for example, advertisers, agencies) that can bid
* on this impression. IDs of seats and knowledge of the buyer's customers to
* which they refer must be coordinated between bidders and the exchange a
* priori. Omission implies no seat restrictions.
* Supported by Google.
* </pre>
*
* <code>repeated string wseat = 9;</code>
* @param index The index to set the value at.
* @param value The wseat to set.
* @return This builder for chaining.
*/
public Builder setWseat(
int index, java.lang.String value) {
copyOnWrite();
instance.setWseat(index, value);
return this;
}
/**
* <pre>
* Allowlist of buyer seats (for example, advertisers, agencies) that can bid
* on this impression. IDs of seats and knowledge of the buyer's customers to
* which they refer must be coordinated between bidders and the exchange a
* priori. Omission implies no seat restrictions.
* Supported by Google.
* </pre>
*
* <code>repeated string wseat = 9;</code>
* @param value The wseat to add.
* @return This builder for chaining.
*/
public Builder addWseat(
java.lang.String value) {
copyOnWrite();
instance.addWseat(value);
return this;
}
/**
* <pre>
* Allowlist of buyer seats (for example, advertisers, agencies) that can bid
* on this impression. IDs of seats and knowledge of the buyer's customers to
* which they refer must be coordinated between bidders and the exchange a
* priori. Omission implies no seat restrictions.
* Supported by Google.
* </pre>
*
* <code>repeated string wseat = 9;</code>
* @param values The wseat to add.
* @return This builder for chaining.
*/
public Builder addAllWseat(
java.lang.Iterable<java.lang.String> values) {
copyOnWrite();
instance.addAllWseat(values);
return this;
}
/**
* <pre>
* Allowlist of buyer seats (for example, advertisers, agencies) that can bid
* on this impression. IDs of seats and knowledge of the buyer's customers to
* which they refer must be coordinated between bidders and the exchange a
* priori. Omission implies no seat restrictions.
* Supported by Google.
* </pre>
*
* <code>repeated string wseat = 9;</code>
* @return This builder for chaining.
*/
public Builder clearWseat() {
copyOnWrite();
instance.clearWseat();
return this;
}
/**
* <pre>
* Allowlist of buyer seats (for example, advertisers, agencies) that can bid
* on this impression. IDs of seats and knowledge of the buyer's customers to
* which they refer must be coordinated between bidders and the exchange a
* priori. Omission implies no seat restrictions.
* Supported by Google.
* </pre>
*
* <code>repeated string wseat = 9;</code>
* @param value The bytes of the wseat to add.
* @return This builder for chaining.
*/
public Builder addWseatBytes(
com.google.protobuf.ByteString value) {
copyOnWrite();
instance.addWseatBytes(value);
return this;
}
/**
* <pre>
* Indicates if Exchange can verify that the impressions offered
* represent all of the impressions available in context (for example, all on
* the web page, all video spots such as pre/mid/post roll) to support
* road-blocking. false = no or unknown, true = yes, the impressions offered
* represent all that are available.
* Not supported by Google.
* </pre>
*
* <code>optional bool allimps = 10 [default = false];</code>
* @return Whether the allimps field is set.
*/
@java.lang.Override
public boolean hasAllimps() {
return instance.hasAllimps();
}
/**
* <pre>
* Indicates if Exchange can verify that the impressions offered
* represent all of the impressions available in context (for example, all on
* the web page, all video spots such as pre/mid/post roll) to support
* road-blocking. false = no or unknown, true = yes, the impressions offered
* represent all that are available.
* Not supported by Google.
* </pre>
*
* <code>optional bool allimps = 10 [default = false];</code>
* @return The allimps.
*/
@java.lang.Override
public boolean getAllimps() {
return instance.getAllimps();
}
/**
* <pre>
* Indicates if Exchange can verify that the impressions offered
* represent all of the impressions available in context (for example, all on
* the web page, all video spots such as pre/mid/post roll) to support
* road-blocking. false = no or unknown, true = yes, the impressions offered
* represent all that are available.
* Not supported by Google.
* </pre>
*
* <code>optional bool allimps = 10 [default = false];</code>
* @param value The allimps to set.
* @return This builder for chaining.
*/
public Builder setAllimps(boolean value) {
copyOnWrite();
instance.setAllimps(value);
return this;
}
/**
* <pre>
* Indicates if Exchange can verify that the impressions offered
* represent all of the impressions available in context (for example, all on
* the web page, all video spots such as pre/mid/post roll) to support
* road-blocking. false = no or unknown, true = yes, the impressions offered
* represent all that are available.
* Not supported by Google.
* </pre>
*
* <code>optional bool allimps = 10 [default = false];</code>
* @return This builder for chaining.
*/
public Builder clearAllimps() {
copyOnWrite();
instance.clearAllimps();
return this;
}
/**
* <pre>
* Array of allowed currencies for bids on this bid request using ISO-4217
* alpha codes. Recommended only if the exchange accepts multiple currencies.
* Supported by Google.
* </pre>
*
* <code>repeated string cur = 11;</code>
* @return A list containing the cur.
*/
@java.lang.Override
public java.util.List<java.lang.String>
getCurList() {
return java.util.Collections.unmodifiableList(
instance.getCurList());
}
/**
* <pre>
* Array of allowed currencies for bids on this bid request using ISO-4217
* alpha codes. Recommended only if the exchange accepts multiple currencies.
* Supported by Google.
* </pre>
*
* <code>repeated string cur = 11;</code>
* @return The count of cur.
*/
@java.lang.Override
public int getCurCount() {
return instance.getCurCount();
}
/**
* <pre>
* Array of allowed currencies for bids on this bid request using ISO-4217
* alpha codes. Recommended only if the exchange accepts multiple currencies.
* Supported by Google.
* </pre>
*
* <code>repeated string cur = 11;</code>
* @param index The index of the element to return.
* @return The cur at the given index.
*/
@java.lang.Override
public java.lang.String getCur(int index) {
return instance.getCur(index);
}
/**
* <pre>
* Array of allowed currencies for bids on this bid request using ISO-4217
* alpha codes. Recommended only if the exchange accepts multiple currencies.
* Supported by Google.
* </pre>
*
* <code>repeated string cur = 11;</code>
* @param index The index of the value to return.
* @return The bytes of the cur at the given index.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getCurBytes(int index) {
return instance.getCurBytes(index);
}
/**
* <pre>
* Array of allowed currencies for bids on this bid request using ISO-4217
* alpha codes. Recommended only if the exchange accepts multiple currencies.
* Supported by Google.
* </pre>
*
* <code>repeated string cur = 11;</code>
* @param index The index to set the value at.
* @param value The cur to set.
* @return This builder for chaining.
*/
public Builder setCur(
int index, java.lang.String value) {
copyOnWrite();
instance.setCur(index, value);
return this;
}
/**
* <pre>
* Array of allowed currencies for bids on this bid request using ISO-4217
* alpha codes. Recommended only if the exchange accepts multiple currencies.
* Supported by Google.
* </pre>
*
* <code>repeated string cur = 11;</code>
* @param value The cur to add.
* @return This builder for chaining.
*/
public Builder addCur(
java.lang.String value) {
copyOnWrite();
instance.addCur(value);
return this;
}
/**
* <pre>
* Array of allowed currencies for bids on this bid request using ISO-4217
* alpha codes. Recommended only if the exchange accepts multiple currencies.
* Supported by Google.
* </pre>
*
* <code>repeated string cur = 11;</code>
* @param values The cur to add.
* @return This builder for chaining.
*/
public Builder addAllCur(
java.lang.Iterable<java.lang.String> values) {
copyOnWrite();
instance.addAllCur(values);
return this;
}
/**
* <pre>
* Array of allowed currencies for bids on this bid request using ISO-4217
* alpha codes. Recommended only if the exchange accepts multiple currencies.
* Supported by Google.
* </pre>
*
* <code>repeated string cur = 11;</code>
* @return This builder for chaining.
*/
public Builder clearCur() {
copyOnWrite();
instance.clearCur();
return this;
}
/**
* <pre>
* Array of allowed currencies for bids on this bid request using ISO-4217
* alpha codes. Recommended only if the exchange accepts multiple currencies.
* Supported by Google.
* </pre>
*
* <code>repeated string cur = 11;</code>
* @param value The bytes of the cur to add.
* @return This builder for chaining.
*/
public Builder addCurBytes(
com.google.protobuf.ByteString value) {
copyOnWrite();
instance.addCurBytes(value);
return this;
}
/**
* <pre>
* Blocked advertiser categories using the IAB content categories.
* The taxonomy to be used is defined by the cattax field.
* Supported by Google.
* </pre>
*
* <code>repeated string bcat = 12;</code>
* @return A list containing the bcat.
*/
@java.lang.Override
public java.util.List<java.lang.String>
getBcatList() {
return java.util.Collections.unmodifiableList(
instance.getBcatList());
}
/**
* <pre>
* Blocked advertiser categories using the IAB content categories.
* The taxonomy to be used is defined by the cattax field.
* Supported by Google.
* </pre>
*
* <code>repeated string bcat = 12;</code>
* @return The count of bcat.
*/
@java.lang.Override
public int getBcatCount() {
return instance.getBcatCount();
}
/**
* <pre>
* Blocked advertiser categories using the IAB content categories.
* The taxonomy to be used is defined by the cattax field.
* Supported by Google.
* </pre>
*
* <code>repeated string bcat = 12;</code>
* @param index The index of the element to return.
* @return The bcat at the given index.
*/
@java.lang.Override
public java.lang.String getBcat(int index) {
return instance.getBcat(index);
}
/**
* <pre>
* Blocked advertiser categories using the IAB content categories.
* The taxonomy to be used is defined by the cattax field.
* Supported by Google.
* </pre>
*
* <code>repeated string bcat = 12;</code>
* @param index The index of the value to return.
* @return The bytes of the bcat at the given index.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getBcatBytes(int index) {
return instance.getBcatBytes(index);
}
/**
* <pre>
* Blocked advertiser categories using the IAB content categories.
* The taxonomy to be used is defined by the cattax field.
* Supported by Google.
* </pre>
*
* <code>repeated string bcat = 12;</code>
* @param index The index to set the value at.
* @param value The bcat to set.
* @return This builder for chaining.
*/
public Builder setBcat(
int index, java.lang.String value) {
copyOnWrite();
instance.setBcat(index, value);
return this;
}
/**
* <pre>
* Blocked advertiser categories using the IAB content categories.
* The taxonomy to be used is defined by the cattax field.
* Supported by Google.
* </pre>
*
* <code>repeated string bcat = 12;</code>
* @param value The bcat to add.
* @return This builder for chaining.
*/
public Builder addBcat(
java.lang.String value) {
copyOnWrite();
instance.addBcat(value);
return this;
}
/**
* <pre>
* Blocked advertiser categories using the IAB content categories.
* The taxonomy to be used is defined by the cattax field.
* Supported by Google.
* </pre>
*
* <code>repeated string bcat = 12;</code>
* @param values The bcat to add.
* @return This builder for chaining.
*/
public Builder addAllBcat(
java.lang.Iterable<java.lang.String> values) {
copyOnWrite();
instance.addAllBcat(values);
return this;
}
/**
* <pre>
* Blocked advertiser categories using the IAB content categories.
* The taxonomy to be used is defined by the cattax field.
* Supported by Google.
* </pre>
*
* <code>repeated string bcat = 12;</code>
* @return This builder for chaining.
*/
public Builder clearBcat() {
copyOnWrite();
instance.clearBcat();
return this;
}
/**
* <pre>
* Blocked advertiser categories using the IAB content categories.
* The taxonomy to be used is defined by the cattax field.
* Supported by Google.
* </pre>
*
* <code>repeated string bcat = 12;</code>
* @param value The bytes of the bcat to add.
* @return This builder for chaining.
*/
public Builder addBcatBytes(
com.google.protobuf.ByteString value) {
copyOnWrite();
instance.addBcatBytes(value);
return this;
}
/**
* <pre>
* The taxonomy in use for bcat.
* Not supported by Google.
* </pre>
*
* <code>optional .com.google.openrtb.CategoryTaxonomy cattax = 21 [default = IAB_CONTENT_1_0];</code>
* @return Whether the cattax field is set.
*/
@java.lang.Override
public boolean hasCattax() {
return instance.hasCattax();
}
/**
* <pre>
* The taxonomy in use for bcat.
* Not supported by Google.
* </pre>
*
* <code>optional .com.google.openrtb.CategoryTaxonomy cattax = 21 [default = IAB_CONTENT_1_0];</code>
* @return The cattax.
*/
@java.lang.Override
public com.particles.mes.protos.openrtb.CategoryTaxonomy getCattax() {
return instance.getCattax();
}
/**
* <pre>
* The taxonomy in use for bcat.
* Not supported by Google.
* </pre>
*
* <code>optional .com.google.openrtb.CategoryTaxonomy cattax = 21 [default = IAB_CONTENT_1_0];</code>
* @param value The enum numeric value on the wire for cattax to set.
* @return This builder for chaining.
*/
public Builder setCattax(com.particles.mes.protos.openrtb.CategoryTaxonomy value) {
copyOnWrite();
instance.setCattax(value);
return this;
}
/**
* <pre>
* The taxonomy in use for bcat.
* Not supported by Google.
* </pre>
*
* <code>optional .com.google.openrtb.CategoryTaxonomy cattax = 21 [default = IAB_CONTENT_1_0];</code>
* @return This builder for chaining.
*/
public Builder clearCattax() {
copyOnWrite();
instance.clearCattax();
return this;
}
/**
* <pre>
* Block list of advertisers by their domains (for example, "ford.com").
* Not supported by Google.
* </pre>
*
* <code>repeated string badv = 13;</code>
* @return A list containing the badv.
*/
@java.lang.Override
public java.util.List<java.lang.String>
getBadvList() {
return java.util.Collections.unmodifiableList(
instance.getBadvList());
}
/**
* <pre>
* Block list of advertisers by their domains (for example, "ford.com").
* Not supported by Google.
* </pre>
*
* <code>repeated string badv = 13;</code>
* @return The count of badv.
*/
@java.lang.Override
public int getBadvCount() {
return instance.getBadvCount();
}
/**
* <pre>
* Block list of advertisers by their domains (for example, "ford.com").
* Not supported by Google.
* </pre>
*
* <code>repeated string badv = 13;</code>
* @param index The index of the element to return.
* @return The badv at the given index.
*/
@java.lang.Override
public java.lang.String getBadv(int index) {
return instance.getBadv(index);
}
/**
* <pre>
* Block list of advertisers by their domains (for example, "ford.com").
* Not supported by Google.
* </pre>
*
* <code>repeated string badv = 13;</code>
* @param index The index of the value to return.
* @return The bytes of the badv at the given index.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getBadvBytes(int index) {
return instance.getBadvBytes(index);
}
/**
* <pre>
* Block list of advertisers by their domains (for example, "ford.com").
* Not supported by Google.
* </pre>
*
* <code>repeated string badv = 13;</code>
* @param index The index to set the value at.
* @param value The badv to set.
* @return This builder for chaining.
*/
public Builder setBadv(
int index, java.lang.String value) {
copyOnWrite();
instance.setBadv(index, value);
return this;
}
/**
* <pre>
* Block list of advertisers by their domains (for example, "ford.com").
* Not supported by Google.
* </pre>
*
* <code>repeated string badv = 13;</code>
* @param value The badv to add.
* @return This builder for chaining.
*/
public Builder addBadv(
java.lang.String value) {
copyOnWrite();
instance.addBadv(value);
return this;
}
/**
* <pre>
* Block list of advertisers by their domains (for example, "ford.com").
* Not supported by Google.
* </pre>
*
* <code>repeated string badv = 13;</code>
* @param values The badv to add.
* @return This builder for chaining.
*/
public Builder addAllBadv(
java.lang.Iterable<java.lang.String> values) {
copyOnWrite();
instance.addAllBadv(values);
return this;
}
/**
* <pre>
* Block list of advertisers by their domains (for example, "ford.com").
* Not supported by Google.
* </pre>
*
* <code>repeated string badv = 13;</code>
* @return This builder for chaining.
*/
public Builder clearBadv() {
copyOnWrite();
instance.clearBadv();
return this;
}
/**
* <pre>
* Block list of advertisers by their domains (for example, "ford.com").
* Not supported by Google.
* </pre>
*
* <code>repeated string badv = 13;</code>
* @param value The bytes of the badv to add.
* @return This builder for chaining.
*/
public Builder addBadvBytes(
com.google.protobuf.ByteString value) {
copyOnWrite();
instance.addBadvBytes(value);
return this;
}
/**
* <pre>
* Block list of applications by their platform-specific exchange
* independent application identifiers. On Android, these should
* be bundle or package names (for example, com.foo.mygame).
* On iOS, these are numeric IDs.
* Supported by Google.
* </pre>
*
* <code>repeated string bapp = 16;</code>
* @return A list containing the bapp.
*/
@java.lang.Override
public java.util.List<java.lang.String>
getBappList() {
return java.util.Collections.unmodifiableList(
instance.getBappList());
}
/**
* <pre>
* Block list of applications by their platform-specific exchange
* independent application identifiers. On Android, these should
* be bundle or package names (for example, com.foo.mygame).
* On iOS, these are numeric IDs.
* Supported by Google.
* </pre>
*
* <code>repeated string bapp = 16;</code>
* @return The count of bapp.
*/
@java.lang.Override
public int getBappCount() {
return instance.getBappCount();
}
/**
* <pre>
* Block list of applications by their platform-specific exchange
* independent application identifiers. On Android, these should
* be bundle or package names (for example, com.foo.mygame).
* On iOS, these are numeric IDs.
* Supported by Google.
* </pre>
*
* <code>repeated string bapp = 16;</code>
* @param index The index of the element to return.
* @return The bapp at the given index.
*/
@java.lang.Override
public java.lang.String getBapp(int index) {
return instance.getBapp(index);
}
/**
* <pre>
* Block list of applications by their platform-specific exchange
* independent application identifiers. On Android, these should
* be bundle or package names (for example, com.foo.mygame).
* On iOS, these are numeric IDs.
* Supported by Google.
* </pre>
*
* <code>repeated string bapp = 16;</code>
* @param index The index of the value to return.
* @return The bytes of the bapp at the given index.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getBappBytes(int index) {
return instance.getBappBytes(index);
}
/**
* <pre>
* Block list of applications by their platform-specific exchange
* independent application identifiers. On Android, these should
* be bundle or package names (for example, com.foo.mygame).
* On iOS, these are numeric IDs.
* Supported by Google.
* </pre>
*
* <code>repeated string bapp = 16;</code>
* @param index The index to set the value at.
* @param value The bapp to set.
* @return This builder for chaining.
*/
public Builder setBapp(
int index, java.lang.String value) {
copyOnWrite();
instance.setBapp(index, value);
return this;
}
/**
* <pre>
* Block list of applications by their platform-specific exchange
* independent application identifiers. On Android, these should
* be bundle or package names (for example, com.foo.mygame).
* On iOS, these are numeric IDs.
* Supported by Google.
* </pre>
*
* <code>repeated string bapp = 16;</code>
* @param value The bapp to add.
* @return This builder for chaining.
*/
public Builder addBapp(
java.lang.String value) {
copyOnWrite();
instance.addBapp(value);
return this;
}
/**
* <pre>
* Block list of applications by their platform-specific exchange
* independent application identifiers. On Android, these should
* be bundle or package names (for example, com.foo.mygame).
* On iOS, these are numeric IDs.
* Supported by Google.
* </pre>
*
* <code>repeated string bapp = 16;</code>
* @param values The bapp to add.
* @return This builder for chaining.
*/
public Builder addAllBapp(
java.lang.Iterable<java.lang.String> values) {
copyOnWrite();
instance.addAllBapp(values);
return this;
}
/**
* <pre>
* Block list of applications by their platform-specific exchange
* independent application identifiers. On Android, these should
* be bundle or package names (for example, com.foo.mygame).
* On iOS, these are numeric IDs.
* Supported by Google.
* </pre>
*
* <code>repeated string bapp = 16;</code>
* @return This builder for chaining.
*/
public Builder clearBapp() {
copyOnWrite();
instance.clearBapp();
return this;
}
/**
* <pre>
* Block list of applications by their platform-specific exchange
* independent application identifiers. On Android, these should
* be bundle or package names (for example, com.foo.mygame).
* On iOS, these are numeric IDs.
* Supported by Google.
* </pre>
*
* <code>repeated string bapp = 16;</code>
* @param value The bytes of the bapp to add.
* @return This builder for chaining.
*/
public Builder addBappBytes(
com.google.protobuf.ByteString value) {
copyOnWrite();
instance.addBappBytes(value);
return this;
}
/**
* <pre>
* Indicator of test mode in which auctions are not billable,
* where false = live mode, true = test mode.
* Supported by Google.
* </pre>
*
* <code>optional bool test = 15 [default = false];</code>
* @return Whether the test field is set.
*/
@java.lang.Override
public boolean hasTest() {
return instance.hasTest();
}
/**
* <pre>
* Indicator of test mode in which auctions are not billable,
* where false = live mode, true = test mode.
* Supported by Google.
* </pre>
*
* <code>optional bool test = 15 [default = false];</code>
* @return The test.
*/
@java.lang.Override
public boolean getTest() {
return instance.getTest();
}
/**
* <pre>
* Indicator of test mode in which auctions are not billable,
* where false = live mode, true = test mode.
* Supported by Google.
* </pre>
*
* <code>optional bool test = 15 [default = false];</code>
* @param value The test to set.
* @return This builder for chaining.
*/
public Builder setTest(boolean value) {
copyOnWrite();
instance.setTest(value);
return this;
}
/**
* <pre>
* Indicator of test mode in which auctions are not billable,
* where false = live mode, true = test mode.
* Supported by Google.
* </pre>
*
* <code>optional bool test = 15 [default = false];</code>
* @return This builder for chaining.
*/
public Builder clearTest() {
copyOnWrite();
instance.clearTest();
return this;
}
/**
* <pre>
* Block list of buyer seats (for example, advertisers, agencies) restricted
* from bidding on this impression. IDs of seats and knowledge
* of the buyer's customers to which they refer must be
* coordinated between bidders and the exchange a priori.
* At most, only one of wseat and bseat should be used in the
* same request. Omission of both implies no seat restrictions.
* Supported by Google.
* </pre>
*
* <code>repeated string bseat = 17;</code>
* @return A list containing the bseat.
*/
@java.lang.Override
public java.util.List<java.lang.String>
getBseatList() {
return java.util.Collections.unmodifiableList(
instance.getBseatList());
}
/**
* <pre>
* Block list of buyer seats (for example, advertisers, agencies) restricted
* from bidding on this impression. IDs of seats and knowledge
* of the buyer's customers to which they refer must be
* coordinated between bidders and the exchange a priori.
* At most, only one of wseat and bseat should be used in the
* same request. Omission of both implies no seat restrictions.
* Supported by Google.
* </pre>
*
* <code>repeated string bseat = 17;</code>
* @return The count of bseat.
*/
@java.lang.Override
public int getBseatCount() {
return instance.getBseatCount();
}
/**
* <pre>
* Block list of buyer seats (for example, advertisers, agencies) restricted
* from bidding on this impression. IDs of seats and knowledge
* of the buyer's customers to which they refer must be
* coordinated between bidders and the exchange a priori.
* At most, only one of wseat and bseat should be used in the
* same request. Omission of both implies no seat restrictions.
* Supported by Google.
* </pre>
*
* <code>repeated string bseat = 17;</code>
* @param index The index of the element to return.
* @return The bseat at the given index.
*/
@java.lang.Override
public java.lang.String getBseat(int index) {
return instance.getBseat(index);
}
/**
* <pre>
* Block list of buyer seats (for example, advertisers, agencies) restricted
* from bidding on this impression. IDs of seats and knowledge
* of the buyer's customers to which they refer must be
* coordinated between bidders and the exchange a priori.
* At most, only one of wseat and bseat should be used in the
* same request. Omission of both implies no seat restrictions.
* Supported by Google.
* </pre>
*
* <code>repeated string bseat = 17;</code>
* @param index The index of the value to return.
* @return The bytes of the bseat at the given index.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getBseatBytes(int index) {
return instance.getBseatBytes(index);
}
/**
* <pre>
* Block list of buyer seats (for example, advertisers, agencies) restricted
* from bidding on this impression. IDs of seats and knowledge
* of the buyer's customers to which they refer must be
* coordinated between bidders and the exchange a priori.
* At most, only one of wseat and bseat should be used in the
* same request. Omission of both implies no seat restrictions.
* Supported by Google.
* </pre>
*
* <code>repeated string bseat = 17;</code>
* @param index The index to set the value at.
* @param value The bseat to set.
* @return This builder for chaining.
*/
public Builder setBseat(
int index, java.lang.String value) {
copyOnWrite();
instance.setBseat(index, value);
return this;
}
/**
* <pre>
* Block list of buyer seats (for example, advertisers, agencies) restricted
* from bidding on this impression. IDs of seats and knowledge
* of the buyer's customers to which they refer must be
* coordinated between bidders and the exchange a priori.
* At most, only one of wseat and bseat should be used in the
* same request. Omission of both implies no seat restrictions.
* Supported by Google.
* </pre>
*
* <code>repeated string bseat = 17;</code>
* @param value The bseat to add.
* @return This builder for chaining.
*/
public Builder addBseat(
java.lang.String value) {
copyOnWrite();
instance.addBseat(value);
return this;
}
/**
* <pre>
* Block list of buyer seats (for example, advertisers, agencies) restricted
* from bidding on this impression. IDs of seats and knowledge
* of the buyer's customers to which they refer must be
* coordinated between bidders and the exchange a priori.
* At most, only one of wseat and bseat should be used in the
* same request. Omission of both implies no seat restrictions.
* Supported by Google.
* </pre>
*
* <code>repeated string bseat = 17;</code>
* @param values The bseat to add.
* @return This builder for chaining.
*/
public Builder addAllBseat(
java.lang.Iterable<java.lang.String> values) {
copyOnWrite();
instance.addAllBseat(values);
return this;
}
/**
* <pre>
* Block list of buyer seats (for example, advertisers, agencies) restricted
* from bidding on this impression. IDs of seats and knowledge
* of the buyer's customers to which they refer must be
* coordinated between bidders and the exchange a priori.
* At most, only one of wseat and bseat should be used in the
* same request. Omission of both implies no seat restrictions.
* Supported by Google.
* </pre>
*
* <code>repeated string bseat = 17;</code>
* @return This builder for chaining.
*/
public Builder clearBseat() {
copyOnWrite();
instance.clearBseat();
return this;
}
/**
* <pre>
* Block list of buyer seats (for example, advertisers, agencies) restricted
* from bidding on this impression. IDs of seats and knowledge
* of the buyer's customers to which they refer must be
* coordinated between bidders and the exchange a priori.
* At most, only one of wseat and bseat should be used in the
* same request. Omission of both implies no seat restrictions.
* Supported by Google.
* </pre>
*
* <code>repeated string bseat = 17;</code>
* @param value The bytes of the bseat to add.
* @return This builder for chaining.
*/
public Builder addBseatBytes(
com.google.protobuf.ByteString value) {
copyOnWrite();
instance.addBseatBytes(value);
return this;
}
/**
* <pre>
* Allowed list of languages for creatives using ISO-639-1-alpha-2.
* Omission implies no specific restrictions, but buyers would be
* advised to consider language attribute in the Device and/or
* Content objects if available.
* Only one of wlang or wlangb should be present.
* Supported by Google.
* </pre>
*
* <code>repeated string wlang = 18;</code>
* @return A list containing the wlang.
*/
@java.lang.Override
public java.util.List<java.lang.String>
getWlangList() {
return java.util.Collections.unmodifiableList(
instance.getWlangList());
}
/**
* <pre>
* Allowed list of languages for creatives using ISO-639-1-alpha-2.
* Omission implies no specific restrictions, but buyers would be
* advised to consider language attribute in the Device and/or
* Content objects if available.
* Only one of wlang or wlangb should be present.
* Supported by Google.
* </pre>
*
* <code>repeated string wlang = 18;</code>
* @return The count of wlang.
*/
@java.lang.Override
public int getWlangCount() {
return instance.getWlangCount();
}
/**
* <pre>
* Allowed list of languages for creatives using ISO-639-1-alpha-2.
* Omission implies no specific restrictions, but buyers would be
* advised to consider language attribute in the Device and/or
* Content objects if available.
* Only one of wlang or wlangb should be present.
* Supported by Google.
* </pre>
*
* <code>repeated string wlang = 18;</code>
* @param index The index of the element to return.
* @return The wlang at the given index.
*/
@java.lang.Override
public java.lang.String getWlang(int index) {
return instance.getWlang(index);
}
/**
* <pre>
* Allowed list of languages for creatives using ISO-639-1-alpha-2.
* Omission implies no specific restrictions, but buyers would be
* advised to consider language attribute in the Device and/or
* Content objects if available.
* Only one of wlang or wlangb should be present.
* Supported by Google.
* </pre>
*
* <code>repeated string wlang = 18;</code>
* @param index The index of the value to return.
* @return The bytes of the wlang at the given index.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getWlangBytes(int index) {
return instance.getWlangBytes(index);
}
/**
* <pre>
* Allowed list of languages for creatives using ISO-639-1-alpha-2.
* Omission implies no specific restrictions, but buyers would be
* advised to consider language attribute in the Device and/or
* Content objects if available.
* Only one of wlang or wlangb should be present.
* Supported by Google.
* </pre>
*
* <code>repeated string wlang = 18;</code>
* @param index The index to set the value at.
* @param value The wlang to set.
* @return This builder for chaining.
*/
public Builder setWlang(
int index, java.lang.String value) {
copyOnWrite();
instance.setWlang(index, value);
return this;
}
/**
* <pre>
* Allowed list of languages for creatives using ISO-639-1-alpha-2.
* Omission implies no specific restrictions, but buyers would be
* advised to consider language attribute in the Device and/or
* Content objects if available.
* Only one of wlang or wlangb should be present.
* Supported by Google.
* </pre>
*
* <code>repeated string wlang = 18;</code>
* @param value The wlang to add.
* @return This builder for chaining.
*/
public Builder addWlang(
java.lang.String value) {
copyOnWrite();
instance.addWlang(value);
return this;
}
/**
* <pre>
* Allowed list of languages for creatives using ISO-639-1-alpha-2.
* Omission implies no specific restrictions, but buyers would be
* advised to consider language attribute in the Device and/or
* Content objects if available.
* Only one of wlang or wlangb should be present.
* Supported by Google.
* </pre>
*
* <code>repeated string wlang = 18;</code>
* @param values The wlang to add.
* @return This builder for chaining.
*/
public Builder addAllWlang(
java.lang.Iterable<java.lang.String> values) {
copyOnWrite();
instance.addAllWlang(values);
return this;
}
/**
* <pre>
* Allowed list of languages for creatives using ISO-639-1-alpha-2.
* Omission implies no specific restrictions, but buyers would be
* advised to consider language attribute in the Device and/or
* Content objects if available.
* Only one of wlang or wlangb should be present.
* Supported by Google.
* </pre>
*
* <code>repeated string wlang = 18;</code>
* @return This builder for chaining.
*/
public Builder clearWlang() {
copyOnWrite();
instance.clearWlang();
return this;
}
/**
* <pre>
* Allowed list of languages for creatives using ISO-639-1-alpha-2.
* Omission implies no specific restrictions, but buyers would be
* advised to consider language attribute in the Device and/or
* Content objects if available.
* Only one of wlang or wlangb should be present.
* Supported by Google.
* </pre>
*
* <code>repeated string wlang = 18;</code>
* @param value The bytes of the wlang to add.
* @return This builder for chaining.
*/
public Builder addWlangBytes(
com.google.protobuf.ByteString value) {
copyOnWrite();
instance.addWlangBytes(value);
return this;
}
/**
* <pre>
* Allowed list of languages for creatives using IETF BCP 47I.
* Omission implies no specific restrictions, but buyers would be
* advised to consider language attribute in the Device and/or
* Content objects if available.
* Only one of wlang or wlangb should be present.
* Not supported by Google.
* </pre>
*
* <code>repeated string wlangb = 20;</code>
* @return A list containing the wlangb.
*/
@java.lang.Override
public java.util.List<java.lang.String>
getWlangbList() {
return java.util.Collections.unmodifiableList(
instance.getWlangbList());
}
/**
* <pre>
* Allowed list of languages for creatives using IETF BCP 47I.
* Omission implies no specific restrictions, but buyers would be
* advised to consider language attribute in the Device and/or
* Content objects if available.
* Only one of wlang or wlangb should be present.
* Not supported by Google.
* </pre>
*
* <code>repeated string wlangb = 20;</code>
* @return The count of wlangb.
*/
@java.lang.Override
public int getWlangbCount() {
return instance.getWlangbCount();
}
/**
* <pre>
* Allowed list of languages for creatives using IETF BCP 47I.
* Omission implies no specific restrictions, but buyers would be
* advised to consider language attribute in the Device and/or
* Content objects if available.
* Only one of wlang or wlangb should be present.
* Not supported by Google.
* </pre>
*
* <code>repeated string wlangb = 20;</code>
* @param index The index of the element to return.
* @return The wlangb at the given index.
*/
@java.lang.Override
public java.lang.String getWlangb(int index) {
return instance.getWlangb(index);
}
/**
* <pre>
* Allowed list of languages for creatives using IETF BCP 47I.
* Omission implies no specific restrictions, but buyers would be
* advised to consider language attribute in the Device and/or
* Content objects if available.
* Only one of wlang or wlangb should be present.
* Not supported by Google.
* </pre>
*
* <code>repeated string wlangb = 20;</code>
* @param index The index of the value to return.
* @return The bytes of the wlangb at the given index.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getWlangbBytes(int index) {
return instance.getWlangbBytes(index);
}
/**
* <pre>
* Allowed list of languages for creatives using IETF BCP 47I.
* Omission implies no specific restrictions, but buyers would be
* advised to consider language attribute in the Device and/or
* Content objects if available.
* Only one of wlang or wlangb should be present.
* Not supported by Google.
* </pre>
*
* <code>repeated string wlangb = 20;</code>
* @param index The index to set the value at.
* @param value The wlangb to set.
* @return This builder for chaining.
*/
public Builder setWlangb(
int index, java.lang.String value) {
copyOnWrite();
instance.setWlangb(index, value);
return this;
}
/**
* <pre>
* Allowed list of languages for creatives using IETF BCP 47I.
* Omission implies no specific restrictions, but buyers would be
* advised to consider language attribute in the Device and/or
* Content objects if available.
* Only one of wlang or wlangb should be present.
* Not supported by Google.
* </pre>
*
* <code>repeated string wlangb = 20;</code>
* @param value The wlangb to add.
* @return This builder for chaining.
*/
public Builder addWlangb(
java.lang.String value) {
copyOnWrite();
instance.addWlangb(value);
return this;
}
/**
* <pre>
* Allowed list of languages for creatives using IETF BCP 47I.
* Omission implies no specific restrictions, but buyers would be
* advised to consider language attribute in the Device and/or
* Content objects if available.
* Only one of wlang or wlangb should be present.
* Not supported by Google.
* </pre>
*
* <code>repeated string wlangb = 20;</code>
* @param values The wlangb to add.
* @return This builder for chaining.
*/
public Builder addAllWlangb(
java.lang.Iterable<java.lang.String> values) {
copyOnWrite();
instance.addAllWlangb(values);
return this;
}
/**
* <pre>
* Allowed list of languages for creatives using IETF BCP 47I.
* Omission implies no specific restrictions, but buyers would be
* advised to consider language attribute in the Device and/or
* Content objects if available.
* Only one of wlang or wlangb should be present.
* Not supported by Google.
* </pre>
*
* <code>repeated string wlangb = 20;</code>
* @return This builder for chaining.
*/
public Builder clearWlangb() {
copyOnWrite();
instance.clearWlangb();
return this;
}
/**
* <pre>
* Allowed list of languages for creatives using IETF BCP 47I.
* Omission implies no specific restrictions, but buyers would be
* advised to consider language attribute in the Device and/or
* Content objects if available.
* Only one of wlang or wlangb should be present.
* Not supported by Google.
* </pre>
*
* <code>repeated string wlangb = 20;</code>
* @param value The bytes of the wlangb to add.
* @return This builder for chaining.
*/
public Builder addWlangbBytes(
com.google.protobuf.ByteString value) {
copyOnWrite();
instance.addWlangbBytes(value);
return this;
}
/**
* <pre>
* A Source object (Section 3.2.2) that provides data about the
* inventory source and which entity makes the final decision.
* Supported by Google.
* </pre>
*
* <code>optional .com.google.openrtb.BidRequest.Source source = 19;</code>
*/
@java.lang.Override
public boolean hasSource() {
return instance.hasSource();
}
/**
* <pre>
* A Source object (Section 3.2.2) that provides data about the
* inventory source and which entity makes the final decision.
* Supported by Google.
* </pre>
*
* <code>optional .com.google.openrtb.BidRequest.Source source = 19;</code>
*/
@java.lang.Override
public com.particles.mes.protos.openrtb.BidRequest.Source getSource() {
return instance.getSource();
}
/**
* <pre>
* A Source object (Section 3.2.2) that provides data about the
* inventory source and which entity makes the final decision.
* Supported by Google.
* </pre>
*
* <code>optional .com.google.openrtb.BidRequest.Source source = 19;</code>
*/
public Builder setSource(com.particles.mes.protos.openrtb.BidRequest.Source value) {
copyOnWrite();
instance.setSource(value);
return this;
}
/**
* <pre>
* A Source object (Section 3.2.2) that provides data about the
* inventory source and which entity makes the final decision.
* Supported by Google.
* </pre>
*
* <code>optional .com.google.openrtb.BidRequest.Source source = 19;</code>
*/
public Builder setSource(
com.particles.mes.protos.openrtb.BidRequest.Source.Builder builderForValue) {
copyOnWrite();
instance.setSource(builderForValue.build());
return this;
}
/**
* <pre>
* A Source object (Section 3.2.2) that provides data about the
* inventory source and which entity makes the final decision.
* Supported by Google.
* </pre>
*
* <code>optional .com.google.openrtb.BidRequest.Source source = 19;</code>
*/
public Builder mergeSource(com.particles.mes.protos.openrtb.BidRequest.Source value) {
copyOnWrite();
instance.mergeSource(value);
return this;
}
/**
* <pre>
* A Source object (Section 3.2.2) that provides data about the
* inventory source and which entity makes the final decision.
* Supported by Google.
* </pre>
*
* <code>optional .com.google.openrtb.BidRequest.Source source = 19;</code>
*/
public Builder clearSource() { copyOnWrite();
instance.clearSource();
return this;
}
/**
* <code>optional string ext = 90;</code>
* @return Whether the ext field is set.
*/
@java.lang.Override
public boolean hasExt() {
return instance.hasExt();
}
/**
* <code>optional string ext = 90;</code>
* @return The ext.
*/
@java.lang.Override
public java.lang.String getExt() {
return instance.getExt();
}
/**
* <code>optional string ext = 90;</code>
* @return The bytes for ext.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getExtBytes() {
return instance.getExtBytes();
}
/**
* <code>optional string ext = 90;</code>
* @param value The ext to set.
* @return This builder for chaining.
*/
public Builder setExt(
java.lang.String value) {
copyOnWrite();
instance.setExt(value);
return this;
}
/**
* <code>optional string ext = 90;</code>
* @return This builder for chaining.
*/
public Builder clearExt() {
copyOnWrite();
instance.clearExt();
return this;
}
/**
* <code>optional string ext = 90;</code>
* @param value The bytes for ext to set.
* @return This builder for chaining.
*/
public Builder setExtBytes(
com.google.protobuf.ByteString value) {
copyOnWrite();
instance.setExtBytes(value);
return this;
}
// @@protoc_insertion_point(builder_scope:com.google.openrtb.BidRequest)
}
private byte memoizedIsInitialized = 2;
@java.lang.Override
@java.lang.SuppressWarnings({"unchecked", "fallthrough"})
protected final java.lang.Object dynamicMethod(
com.google.protobuf.GeneratedMessageLite.MethodToInvoke method,
java.lang.Object arg0, java.lang.Object arg1) {
switch (method) {
case NEW_MUTABLE_INSTANCE: {
return new com.particles.mes.protos.openrtb.BidRequest();
}
case NEW_BUILDER: {
return new Builder();
}
case BUILD_MESSAGE_INFO: {
java.lang.Object[] objects = new java.lang.Object[] {
"distributionchannelOneof_",
"distributionchannelOneofCase_",
"bitField0_",
"id_",
"imp_",
com.particles.mes.protos.openrtb.BidRequest.Imp.class,
com.particles.mes.protos.openrtb.BidRequest.Site.class,
com.particles.mes.protos.openrtb.BidRequest.App.class,
"device_",
"user_",
"at_",
com.particles.mes.protos.openrtb.AuctionType.internalGetVerifier(),
"tmax_",
"wseat_",
"allimps_",
"cur_",
"bcat_",
"badv_",
"regs_",
"test_",
"bapp_",
"bseat_",
"wlang_",
"source_",
"wlangb_",
"cattax_",
com.particles.mes.protos.openrtb.CategoryTaxonomy.internalGetVerifier(),
"ext_",
};
java.lang.String info =
"\u0001\u0016\u0001\u0001\u0001Z\u0016\u0000\t\b\u0001\u1508\u0002\u0002\u041b\u0003" +
"\u143c\u0000\u0004\u143c\u0000\u0005\u1409\u0003\u0006\u1409\u0005\u0007\u100c\u0006" +
"\b\u1004\u0007\t\u001a\n\u1007\b\u000b\u001a\f\u001a\r\u001a\u000e\u1409\u0004\u000f" +
"\u1007\n\u0010\u001a\u0011\u001a\u0012\u001a\u0013\u1409\u000b\u0014\u001a\u0015" +
"\u100c\tZ\u1008\f";
return newMessageInfo(DEFAULT_INSTANCE, info, objects);
}
// fall through
case GET_DEFAULT_INSTANCE: {
return DEFAULT_INSTANCE;
}
case GET_PARSER: {
com.google.protobuf.Parser<com.particles.mes.protos.openrtb.BidRequest> parser = PARSER;
if (parser == null) {
synchronized (com.particles.mes.protos.openrtb.BidRequest.class) {
parser = PARSER;
if (parser == null) {
parser =
new DefaultInstanceBasedParser<com.particles.mes.protos.openrtb.BidRequest>(
DEFAULT_INSTANCE);
PARSER = parser;
}
}
}
return parser;
}
case GET_MEMOIZED_IS_INITIALIZED: {
return memoizedIsInitialized;
}
case SET_MEMOIZED_IS_INITIALIZED: {
memoizedIsInitialized = (byte) (arg0 == null ? 0 : 1);
return null;
}
}
throw new UnsupportedOperationException();
}
// @@protoc_insertion_point(class_scope:com.google.openrtb.BidRequest)
private static final com.particles.mes.protos.openrtb.BidRequest DEFAULT_INSTANCE;
static {
BidRequest defaultInstance = new BidRequest();
// New instances are implicitly immutable so no need to make
// immutable.
DEFAULT_INSTANCE = defaultInstance;
com.google.protobuf.GeneratedMessageLite.registerDefaultInstance(
BidRequest.class, defaultInstance);
}
public static com.particles.mes.protos.openrtb.BidRequest getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static volatile com.google.protobuf.Parser<BidRequest> PARSER;
public static com.google.protobuf.Parser<BidRequest> parser() {
return DEFAULT_INSTANCE.getParserForType();
}
}
|
0 | java-sources/ai/themsp/mes-android-sdk/0.15.0/main/com/particles/mes/protos | java-sources/ai/themsp/mes-android-sdk/0.15.0/main/com/particles/mes/protos/openrtb/BidRequestOrBuilder.java | // Generated by the protocol buffer compiler. DO NOT EDIT!
// source: openrtb/openrtb-v26.proto
package com.particles.mes.protos.openrtb;
public interface BidRequestOrBuilder extends
// @@protoc_insertion_point(interface_extends:com.google.openrtb.BidRequest)
com.google.protobuf.GeneratedMessageLite.
ExtendableMessageOrBuilder<
BidRequest, BidRequest.Builder> {
/**
* <pre>
* Information about the publisher's website. Only applicable and
* recommended for websites.
* Supported by Google.
* </pre>
*
* <code>.com.google.openrtb.BidRequest.Site site = 3;</code>
* @return Whether the site field is set.
*/
boolean hasSite();
/**
* <pre>
* Information about the publisher's website. Only applicable and
* recommended for websites.
* Supported by Google.
* </pre>
*
* <code>.com.google.openrtb.BidRequest.Site site = 3;</code>
* @return The site.
*/
com.particles.mes.protos.openrtb.BidRequest.Site getSite();
/**
* <pre>
* Information about the publisher's app
* (non-browser applications). Only applicable and recommended for apps.
* Supported by Google.
* </pre>
*
* <code>.com.google.openrtb.BidRequest.App app = 4;</code>
* @return Whether the app field is set.
*/
boolean hasApp();
/**
* <pre>
* Information about the publisher's app
* (non-browser applications). Only applicable and recommended for apps.
* Supported by Google.
* </pre>
*
* <code>.com.google.openrtb.BidRequest.App app = 4;</code>
* @return The app.
*/
com.particles.mes.protos.openrtb.BidRequest.App getApp();
/**
* <pre>
* Unique ID of the bid request, provided by the exchange.
* REQUIRED by the OpenRTB specification.
* Supported by Google.
* </pre>
*
* <code>required string id = 1;</code>
* @return Whether the id field is set.
*/
boolean hasId();
/**
* <pre>
* Unique ID of the bid request, provided by the exchange.
* REQUIRED by the OpenRTB specification.
* Supported by Google.
* </pre>
*
* <code>required string id = 1;</code>
* @return The id.
*/
java.lang.String getId();
/**
* <pre>
* Unique ID of the bid request, provided by the exchange.
* REQUIRED by the OpenRTB specification.
* Supported by Google.
* </pre>
*
* <code>required string id = 1;</code>
* @return The bytes for id.
*/
com.google.protobuf.ByteString
getIdBytes();
/**
* <pre>
* Array of Imp objects (Section 3.2.2) representing the impressions offered.
* At least 1 Imp object is required.
* Supported by Google.
* </pre>
*
* <code>repeated .com.google.openrtb.BidRequest.Imp imp = 2;</code>
*/
java.util.List<com.particles.mes.protos.openrtb.BidRequest.Imp>
getImpList();
/**
* <pre>
* Array of Imp objects (Section 3.2.2) representing the impressions offered.
* At least 1 Imp object is required.
* Supported by Google.
* </pre>
*
* <code>repeated .com.google.openrtb.BidRequest.Imp imp = 2;</code>
*/
com.particles.mes.protos.openrtb.BidRequest.Imp getImp(int index);
/**
* <pre>
* Array of Imp objects (Section 3.2.2) representing the impressions offered.
* At least 1 Imp object is required.
* Supported by Google.
* </pre>
*
* <code>repeated .com.google.openrtb.BidRequest.Imp imp = 2;</code>
*/
int getImpCount();
/**
* <pre>
* Information about the device the impression will be delivered to.
* Supported by Google.
* </pre>
*
* <code>optional .com.google.openrtb.BidRequest.Device device = 5;</code>
* @return Whether the device field is set.
*/
boolean hasDevice();
/**
* <pre>
* Information about the device the impression will be delivered to.
* Supported by Google.
* </pre>
*
* <code>optional .com.google.openrtb.BidRequest.Device device = 5;</code>
* @return The device.
*/
com.particles.mes.protos.openrtb.BidRequest.Device getDevice();
/**
* <pre>
* A Regs object (Section 3.2.16) that specifies any industry, legal,
* or governmental regulations in force for this request.
* Supported by Google.
* </pre>
*
* <code>optional .com.google.openrtb.BidRequest.Regs regs = 14;</code>
* @return Whether the regs field is set.
*/
boolean hasRegs();
/**
* <pre>
* A Regs object (Section 3.2.16) that specifies any industry, legal,
* or governmental regulations in force for this request.
* Supported by Google.
* </pre>
*
* <code>optional .com.google.openrtb.BidRequest.Regs regs = 14;</code>
* @return The regs.
*/
com.particles.mes.protos.openrtb.BidRequest.Regs getRegs();
/**
* <pre>
* Information about the user of the device or the advertising audience.
* Supported by Google.
* </pre>
*
* <code>optional .com.google.openrtb.BidRequest.User user = 6;</code>
* @return Whether the user field is set.
*/
boolean hasUser();
/**
* <pre>
* Information about the user of the device or the advertising audience.
* Supported by Google.
* </pre>
*
* <code>optional .com.google.openrtb.BidRequest.User user = 6;</code>
* @return The user.
*/
com.particles.mes.protos.openrtb.BidRequest.User getUser();
/**
* <pre>
* Auction type: one of FIRST_PRICE or SECOND_PRICE.
* Supported by Google.
* </pre>
*
* <code>optional .com.google.openrtb.AuctionType at = 7 [default = SECOND_PRICE];</code>
* @return Whether the at field is set.
*/
boolean hasAt();
/**
* <pre>
* Auction type: one of FIRST_PRICE or SECOND_PRICE.
* Supported by Google.
* </pre>
*
* <code>optional .com.google.openrtb.AuctionType at = 7 [default = SECOND_PRICE];</code>
* @return The at.
*/
com.particles.mes.protos.openrtb.AuctionType getAt();
/**
* <pre>
* Maximum time in milliseconds to submit a bid to avoid timeout.
* This value is commonly communicated offline.
* Supported by Google.
* </pre>
*
* <code>optional int32 tmax = 8;</code>
* @return Whether the tmax field is set.
*/
boolean hasTmax();
/**
* <pre>
* Maximum time in milliseconds to submit a bid to avoid timeout.
* This value is commonly communicated offline.
* Supported by Google.
* </pre>
*
* <code>optional int32 tmax = 8;</code>
* @return The tmax.
*/
int getTmax();
/**
* <pre>
* Allowlist of buyer seats (for example, advertisers, agencies) that can bid
* on this impression. IDs of seats and knowledge of the buyer's customers to
* which they refer must be coordinated between bidders and the exchange a
* priori. Omission implies no seat restrictions.
* Supported by Google.
* </pre>
*
* <code>repeated string wseat = 9;</code>
* @return A list containing the wseat.
*/
java.util.List<java.lang.String>
getWseatList();
/**
* <pre>
* Allowlist of buyer seats (for example, advertisers, agencies) that can bid
* on this impression. IDs of seats and knowledge of the buyer's customers to
* which they refer must be coordinated between bidders and the exchange a
* priori. Omission implies no seat restrictions.
* Supported by Google.
* </pre>
*
* <code>repeated string wseat = 9;</code>
* @return The count of wseat.
*/
int getWseatCount();
/**
* <pre>
* Allowlist of buyer seats (for example, advertisers, agencies) that can bid
* on this impression. IDs of seats and knowledge of the buyer's customers to
* which they refer must be coordinated between bidders and the exchange a
* priori. Omission implies no seat restrictions.
* Supported by Google.
* </pre>
*
* <code>repeated string wseat = 9;</code>
* @param index The index of the element to return.
* @return The wseat at the given index.
*/
java.lang.String getWseat(int index);
/**
* <pre>
* Allowlist of buyer seats (for example, advertisers, agencies) that can bid
* on this impression. IDs of seats and knowledge of the buyer's customers to
* which they refer must be coordinated between bidders and the exchange a
* priori. Omission implies no seat restrictions.
* Supported by Google.
* </pre>
*
* <code>repeated string wseat = 9;</code>
* @param index The index of the element to return.
* @return The wseat at the given index.
*/
com.google.protobuf.ByteString
getWseatBytes(int index);
/**
* <pre>
* Indicates if Exchange can verify that the impressions offered
* represent all of the impressions available in context (for example, all on
* the web page, all video spots such as pre/mid/post roll) to support
* road-blocking. false = no or unknown, true = yes, the impressions offered
* represent all that are available.
* Not supported by Google.
* </pre>
*
* <code>optional bool allimps = 10 [default = false];</code>
* @return Whether the allimps field is set.
*/
boolean hasAllimps();
/**
* <pre>
* Indicates if Exchange can verify that the impressions offered
* represent all of the impressions available in context (for example, all on
* the web page, all video spots such as pre/mid/post roll) to support
* road-blocking. false = no or unknown, true = yes, the impressions offered
* represent all that are available.
* Not supported by Google.
* </pre>
*
* <code>optional bool allimps = 10 [default = false];</code>
* @return The allimps.
*/
boolean getAllimps();
/**
* <pre>
* Array of allowed currencies for bids on this bid request using ISO-4217
* alpha codes. Recommended only if the exchange accepts multiple currencies.
* Supported by Google.
* </pre>
*
* <code>repeated string cur = 11;</code>
* @return A list containing the cur.
*/
java.util.List<java.lang.String>
getCurList();
/**
* <pre>
* Array of allowed currencies for bids on this bid request using ISO-4217
* alpha codes. Recommended only if the exchange accepts multiple currencies.
* Supported by Google.
* </pre>
*
* <code>repeated string cur = 11;</code>
* @return The count of cur.
*/
int getCurCount();
/**
* <pre>
* Array of allowed currencies for bids on this bid request using ISO-4217
* alpha codes. Recommended only if the exchange accepts multiple currencies.
* Supported by Google.
* </pre>
*
* <code>repeated string cur = 11;</code>
* @param index The index of the element to return.
* @return The cur at the given index.
*/
java.lang.String getCur(int index);
/**
* <pre>
* Array of allowed currencies for bids on this bid request using ISO-4217
* alpha codes. Recommended only if the exchange accepts multiple currencies.
* Supported by Google.
* </pre>
*
* <code>repeated string cur = 11;</code>
* @param index The index of the element to return.
* @return The cur at the given index.
*/
com.google.protobuf.ByteString
getCurBytes(int index);
/**
* <pre>
* Blocked advertiser categories using the IAB content categories.
* The taxonomy to be used is defined by the cattax field.
* Supported by Google.
* </pre>
*
* <code>repeated string bcat = 12;</code>
* @return A list containing the bcat.
*/
java.util.List<java.lang.String>
getBcatList();
/**
* <pre>
* Blocked advertiser categories using the IAB content categories.
* The taxonomy to be used is defined by the cattax field.
* Supported by Google.
* </pre>
*
* <code>repeated string bcat = 12;</code>
* @return The count of bcat.
*/
int getBcatCount();
/**
* <pre>
* Blocked advertiser categories using the IAB content categories.
* The taxonomy to be used is defined by the cattax field.
* Supported by Google.
* </pre>
*
* <code>repeated string bcat = 12;</code>
* @param index The index of the element to return.
* @return The bcat at the given index.
*/
java.lang.String getBcat(int index);
/**
* <pre>
* Blocked advertiser categories using the IAB content categories.
* The taxonomy to be used is defined by the cattax field.
* Supported by Google.
* </pre>
*
* <code>repeated string bcat = 12;</code>
* @param index The index of the element to return.
* @return The bcat at the given index.
*/
com.google.protobuf.ByteString
getBcatBytes(int index);
/**
* <pre>
* The taxonomy in use for bcat.
* Not supported by Google.
* </pre>
*
* <code>optional .com.google.openrtb.CategoryTaxonomy cattax = 21 [default = IAB_CONTENT_1_0];</code>
* @return Whether the cattax field is set.
*/
boolean hasCattax();
/**
* <pre>
* The taxonomy in use for bcat.
* Not supported by Google.
* </pre>
*
* <code>optional .com.google.openrtb.CategoryTaxonomy cattax = 21 [default = IAB_CONTENT_1_0];</code>
* @return The cattax.
*/
com.particles.mes.protos.openrtb.CategoryTaxonomy getCattax();
/**
* <pre>
* Block list of advertisers by their domains (for example, "ford.com").
* Not supported by Google.
* </pre>
*
* <code>repeated string badv = 13;</code>
* @return A list containing the badv.
*/
java.util.List<java.lang.String>
getBadvList();
/**
* <pre>
* Block list of advertisers by their domains (for example, "ford.com").
* Not supported by Google.
* </pre>
*
* <code>repeated string badv = 13;</code>
* @return The count of badv.
*/
int getBadvCount();
/**
* <pre>
* Block list of advertisers by their domains (for example, "ford.com").
* Not supported by Google.
* </pre>
*
* <code>repeated string badv = 13;</code>
* @param index The index of the element to return.
* @return The badv at the given index.
*/
java.lang.String getBadv(int index);
/**
* <pre>
* Block list of advertisers by their domains (for example, "ford.com").
* Not supported by Google.
* </pre>
*
* <code>repeated string badv = 13;</code>
* @param index The index of the element to return.
* @return The badv at the given index.
*/
com.google.protobuf.ByteString
getBadvBytes(int index);
/**
* <pre>
* Block list of applications by their platform-specific exchange
* independent application identifiers. On Android, these should
* be bundle or package names (for example, com.foo.mygame).
* On iOS, these are numeric IDs.
* Supported by Google.
* </pre>
*
* <code>repeated string bapp = 16;</code>
* @return A list containing the bapp.
*/
java.util.List<java.lang.String>
getBappList();
/**
* <pre>
* Block list of applications by their platform-specific exchange
* independent application identifiers. On Android, these should
* be bundle or package names (for example, com.foo.mygame).
* On iOS, these are numeric IDs.
* Supported by Google.
* </pre>
*
* <code>repeated string bapp = 16;</code>
* @return The count of bapp.
*/
int getBappCount();
/**
* <pre>
* Block list of applications by their platform-specific exchange
* independent application identifiers. On Android, these should
* be bundle or package names (for example, com.foo.mygame).
* On iOS, these are numeric IDs.
* Supported by Google.
* </pre>
*
* <code>repeated string bapp = 16;</code>
* @param index The index of the element to return.
* @return The bapp at the given index.
*/
java.lang.String getBapp(int index);
/**
* <pre>
* Block list of applications by their platform-specific exchange
* independent application identifiers. On Android, these should
* be bundle or package names (for example, com.foo.mygame).
* On iOS, these are numeric IDs.
* Supported by Google.
* </pre>
*
* <code>repeated string bapp = 16;</code>
* @param index The index of the element to return.
* @return The bapp at the given index.
*/
com.google.protobuf.ByteString
getBappBytes(int index);
/**
* <pre>
* Indicator of test mode in which auctions are not billable,
* where false = live mode, true = test mode.
* Supported by Google.
* </pre>
*
* <code>optional bool test = 15 [default = false];</code>
* @return Whether the test field is set.
*/
boolean hasTest();
/**
* <pre>
* Indicator of test mode in which auctions are not billable,
* where false = live mode, true = test mode.
* Supported by Google.
* </pre>
*
* <code>optional bool test = 15 [default = false];</code>
* @return The test.
*/
boolean getTest();
/**
* <pre>
* Block list of buyer seats (for example, advertisers, agencies) restricted
* from bidding on this impression. IDs of seats and knowledge
* of the buyer's customers to which they refer must be
* coordinated between bidders and the exchange a priori.
* At most, only one of wseat and bseat should be used in the
* same request. Omission of both implies no seat restrictions.
* Supported by Google.
* </pre>
*
* <code>repeated string bseat = 17;</code>
* @return A list containing the bseat.
*/
java.util.List<java.lang.String>
getBseatList();
/**
* <pre>
* Block list of buyer seats (for example, advertisers, agencies) restricted
* from bidding on this impression. IDs of seats and knowledge
* of the buyer's customers to which they refer must be
* coordinated between bidders and the exchange a priori.
* At most, only one of wseat and bseat should be used in the
* same request. Omission of both implies no seat restrictions.
* Supported by Google.
* </pre>
*
* <code>repeated string bseat = 17;</code>
* @return The count of bseat.
*/
int getBseatCount();
/**
* <pre>
* Block list of buyer seats (for example, advertisers, agencies) restricted
* from bidding on this impression. IDs of seats and knowledge
* of the buyer's customers to which they refer must be
* coordinated between bidders and the exchange a priori.
* At most, only one of wseat and bseat should be used in the
* same request. Omission of both implies no seat restrictions.
* Supported by Google.
* </pre>
*
* <code>repeated string bseat = 17;</code>
* @param index The index of the element to return.
* @return The bseat at the given index.
*/
java.lang.String getBseat(int index);
/**
* <pre>
* Block list of buyer seats (for example, advertisers, agencies) restricted
* from bidding on this impression. IDs of seats and knowledge
* of the buyer's customers to which they refer must be
* coordinated between bidders and the exchange a priori.
* At most, only one of wseat and bseat should be used in the
* same request. Omission of both implies no seat restrictions.
* Supported by Google.
* </pre>
*
* <code>repeated string bseat = 17;</code>
* @param index The index of the element to return.
* @return The bseat at the given index.
*/
com.google.protobuf.ByteString
getBseatBytes(int index);
/**
* <pre>
* Allowed list of languages for creatives using ISO-639-1-alpha-2.
* Omission implies no specific restrictions, but buyers would be
* advised to consider language attribute in the Device and/or
* Content objects if available.
* Only one of wlang or wlangb should be present.
* Supported by Google.
* </pre>
*
* <code>repeated string wlang = 18;</code>
* @return A list containing the wlang.
*/
java.util.List<java.lang.String>
getWlangList();
/**
* <pre>
* Allowed list of languages for creatives using ISO-639-1-alpha-2.
* Omission implies no specific restrictions, but buyers would be
* advised to consider language attribute in the Device and/or
* Content objects if available.
* Only one of wlang or wlangb should be present.
* Supported by Google.
* </pre>
*
* <code>repeated string wlang = 18;</code>
* @return The count of wlang.
*/
int getWlangCount();
/**
* <pre>
* Allowed list of languages for creatives using ISO-639-1-alpha-2.
* Omission implies no specific restrictions, but buyers would be
* advised to consider language attribute in the Device and/or
* Content objects if available.
* Only one of wlang or wlangb should be present.
* Supported by Google.
* </pre>
*
* <code>repeated string wlang = 18;</code>
* @param index The index of the element to return.
* @return The wlang at the given index.
*/
java.lang.String getWlang(int index);
/**
* <pre>
* Allowed list of languages for creatives using ISO-639-1-alpha-2.
* Omission implies no specific restrictions, but buyers would be
* advised to consider language attribute in the Device and/or
* Content objects if available.
* Only one of wlang or wlangb should be present.
* Supported by Google.
* </pre>
*
* <code>repeated string wlang = 18;</code>
* @param index The index of the element to return.
* @return The wlang at the given index.
*/
com.google.protobuf.ByteString
getWlangBytes(int index);
/**
* <pre>
* Allowed list of languages for creatives using IETF BCP 47I.
* Omission implies no specific restrictions, but buyers would be
* advised to consider language attribute in the Device and/or
* Content objects if available.
* Only one of wlang or wlangb should be present.
* Not supported by Google.
* </pre>
*
* <code>repeated string wlangb = 20;</code>
* @return A list containing the wlangb.
*/
java.util.List<java.lang.String>
getWlangbList();
/**
* <pre>
* Allowed list of languages for creatives using IETF BCP 47I.
* Omission implies no specific restrictions, but buyers would be
* advised to consider language attribute in the Device and/or
* Content objects if available.
* Only one of wlang or wlangb should be present.
* Not supported by Google.
* </pre>
*
* <code>repeated string wlangb = 20;</code>
* @return The count of wlangb.
*/
int getWlangbCount();
/**
* <pre>
* Allowed list of languages for creatives using IETF BCP 47I.
* Omission implies no specific restrictions, but buyers would be
* advised to consider language attribute in the Device and/or
* Content objects if available.
* Only one of wlang or wlangb should be present.
* Not supported by Google.
* </pre>
*
* <code>repeated string wlangb = 20;</code>
* @param index The index of the element to return.
* @return The wlangb at the given index.
*/
java.lang.String getWlangb(int index);
/**
* <pre>
* Allowed list of languages for creatives using IETF BCP 47I.
* Omission implies no specific restrictions, but buyers would be
* advised to consider language attribute in the Device and/or
* Content objects if available.
* Only one of wlang or wlangb should be present.
* Not supported by Google.
* </pre>
*
* <code>repeated string wlangb = 20;</code>
* @param index The index of the element to return.
* @return The wlangb at the given index.
*/
com.google.protobuf.ByteString
getWlangbBytes(int index);
/**
* <pre>
* A Source object (Section 3.2.2) that provides data about the
* inventory source and which entity makes the final decision.
* Supported by Google.
* </pre>
*
* <code>optional .com.google.openrtb.BidRequest.Source source = 19;</code>
* @return Whether the source field is set.
*/
boolean hasSource();
/**
* <pre>
* A Source object (Section 3.2.2) that provides data about the
* inventory source and which entity makes the final decision.
* Supported by Google.
* </pre>
*
* <code>optional .com.google.openrtb.BidRequest.Source source = 19;</code>
* @return The source.
*/
com.particles.mes.protos.openrtb.BidRequest.Source getSource();
/**
* <code>optional string ext = 90;</code>
* @return Whether the ext field is set.
*/
boolean hasExt();
/**
* <code>optional string ext = 90;</code>
* @return The ext.
*/
java.lang.String getExt();
/**
* <code>optional string ext = 90;</code>
* @return The bytes for ext.
*/
com.google.protobuf.ByteString
getExtBytes();
public com.particles.mes.protos.openrtb.BidRequest.DistributionchannelOneofCase getDistributionchannelOneofCase();
}
|
0 | java-sources/ai/themsp/mes-android-sdk/0.15.0/main/com/particles/mes/protos | java-sources/ai/themsp/mes-android-sdk/0.15.0/main/com/particles/mes/protos/openrtb/BidResponse.java | // Generated by the protocol buffer compiler. DO NOT EDIT!
// source: openrtb/openrtb-v26.proto
package com.particles.mes.protos.openrtb;
/**
* <pre>
* OpenRTB 2.0: This object is the top-level bid response object (for example,
* the unnamed outer JSON object). The id attribute is a reflection of the bid
* request ID for logging purposes. Similarly, bidid is an optional response
* tracking ID for bidders. If specified, it can be included in the subsequent
* win notice call if the bidder wins. At least one seatbid object is required,
* which contains at least one bid for an impression. Other attributes are
* optional. To express a "no-bid", the options are to return an empty response
* with HTTP 204. Alternately if the bidder wants to convey to the exchange a
* reason for not bidding, just a BidResponse object is returned with a
* reason code in the nbr attribute.
* </pre>
*
* Protobuf type {@code com.google.openrtb.BidResponse}
*/
public final class BidResponse extends
com.google.protobuf.GeneratedMessageLite.ExtendableMessage<
BidResponse, BidResponse.Builder> implements
// @@protoc_insertion_point(message_implements:com.google.openrtb.BidResponse)
BidResponseOrBuilder {
private BidResponse() {
id_ = "";
seatbid_ = emptyProtobufList();
bidid_ = "";
cur_ = "";
customdata_ = "";
ext_ = "";
}
public interface SeatBidOrBuilder extends
// @@protoc_insertion_point(interface_extends:com.google.openrtb.BidResponse.SeatBid)
com.google.protobuf.GeneratedMessageLite.
ExtendableMessageOrBuilder<
SeatBid, SeatBid.Builder> {
/**
* <pre>
* Array of 1+ Bid objects (Section 4.2.3) each related to an impression.
* Multiple bids can relate to the same impression.
* Supported by Google.
* </pre>
*
* <code>repeated .com.google.openrtb.BidResponse.SeatBid.Bid bid = 1;</code>
*/
java.util.List<com.particles.mes.protos.openrtb.BidResponse.SeatBid.Bid>
getBidList();
/**
* <pre>
* Array of 1+ Bid objects (Section 4.2.3) each related to an impression.
* Multiple bids can relate to the same impression.
* Supported by Google.
* </pre>
*
* <code>repeated .com.google.openrtb.BidResponse.SeatBid.Bid bid = 1;</code>
*/
com.particles.mes.protos.openrtb.BidResponse.SeatBid.Bid getBid(int index);
/**
* <pre>
* Array of 1+ Bid objects (Section 4.2.3) each related to an impression.
* Multiple bids can relate to the same impression.
* Supported by Google.
* </pre>
*
* <code>repeated .com.google.openrtb.BidResponse.SeatBid.Bid bid = 1;</code>
*/
int getBidCount();
/**
* <pre>
* ID of the buyer seat (for example, advertiser, agency) on whose behalf
* this bid is made.
* This ID will be used to breakdown spend and invalid traffic metrics in
* IVT transparency reporting, given that it is no longer than 64 bytes.
* Supported by Google.
* </pre>
*
* <code>optional string seat = 2;</code>
* @return Whether the seat field is set.
*/
boolean hasSeat();
/**
* <pre>
* ID of the buyer seat (for example, advertiser, agency) on whose behalf
* this bid is made.
* This ID will be used to breakdown spend and invalid traffic metrics in
* IVT transparency reporting, given that it is no longer than 64 bytes.
* Supported by Google.
* </pre>
*
* <code>optional string seat = 2;</code>
* @return The seat.
*/
java.lang.String getSeat();
/**
* <pre>
* ID of the buyer seat (for example, advertiser, agency) on whose behalf
* this bid is made.
* This ID will be used to breakdown spend and invalid traffic metrics in
* IVT transparency reporting, given that it is no longer than 64 bytes.
* Supported by Google.
* </pre>
*
* <code>optional string seat = 2;</code>
* @return The bytes for seat.
*/
com.google.protobuf.ByteString
getSeatBytes();
/**
* <pre>
* false = impressions can be won individually;
* true = impressions must be won or lost as a group.
* Ignored by Google.
* </pre>
*
* <code>optional bool group = 3 [default = false];</code>
* @return Whether the group field is set.
*/
boolean hasGroup();
/**
* <pre>
* false = impressions can be won individually;
* true = impressions must be won or lost as a group.
* Ignored by Google.
* </pre>
*
* <code>optional bool group = 3 [default = false];</code>
* @return The group.
*/
boolean getGroup();
}
/**
* <pre>
* OpenRTB 2.0: A bid response can contain multiple SeatBid objects, each on
* behalf of a different bidder seat and each containing one or more
* individual bids. If multiple impressions are presented in the request, the
* group attribute can be used to specify if a seat is willing to accept any
* impressions that it can win (default) or if it is only interested in
* winning any if it can win them all as a group.
* </pre>
*
* Protobuf type {@code com.google.openrtb.BidResponse.SeatBid}
*/
public static final class SeatBid extends
com.google.protobuf.GeneratedMessageLite.ExtendableMessage<
SeatBid, SeatBid.Builder> implements
// @@protoc_insertion_point(message_implements:com.google.openrtb.BidResponse.SeatBid)
SeatBidOrBuilder {
private SeatBid() {
bid_ = emptyProtobufList();
seat_ = "";
}
public interface BidOrBuilder extends
// @@protoc_insertion_point(interface_extends:com.google.openrtb.BidResponse.SeatBid.Bid)
com.google.protobuf.GeneratedMessageLite.
ExtendableMessageOrBuilder<
Bid, Bid.Builder> {
/**
* <pre>
* Optional means of conveying ad markup in case the bid wins;
* supersedes the win notice if markup is included in both.
* For native ad bids, exactly one of {adm, adm_native} should be used.
* Supported by Google. Standard field, should be used for OpenRTB/JSON.
* </pre>
*
* <code>string adm = 6;</code>
* @return Whether the adm field is set.
*/
boolean hasAdm();
/**
* <pre>
* Optional means of conveying ad markup in case the bid wins;
* supersedes the win notice if markup is included in both.
* For native ad bids, exactly one of {adm, adm_native} should be used.
* Supported by Google. Standard field, should be used for OpenRTB/JSON.
* </pre>
*
* <code>string adm = 6;</code>
* @return The adm.
*/
java.lang.String getAdm();
/**
* <pre>
* Optional means of conveying ad markup in case the bid wins;
* supersedes the win notice if markup is included in both.
* For native ad bids, exactly one of {adm, adm_native} should be used.
* Supported by Google. Standard field, should be used for OpenRTB/JSON.
* </pre>
*
* <code>string adm = 6;</code>
* @return The bytes for adm.
*/
com.google.protobuf.ByteString
getAdmBytes();
/**
* <pre>
* Native ad response.
* For native ad bids, exactly one of {adm, adm_native} should be used.
* Supported by Google. Extension, should be used for OpenRTB/Protobuf.
* </pre>
*
* <code>.com.google.openrtb.NativeResponse adm_native = 50;</code>
* @return Whether the admNative field is set.
*/
boolean hasAdmNative();
/**
* <pre>
* Native ad response.
* For native ad bids, exactly one of {adm, adm_native} should be used.
* Supported by Google. Extension, should be used for OpenRTB/Protobuf.
* </pre>
*
* <code>.com.google.openrtb.NativeResponse adm_native = 50;</code>
* @return The admNative.
*/
com.particles.mes.protos.openrtb.NativeResponse getAdmNative();
/**
* <pre>
* Bidder generated bid ID to assist with logging/tracking.
* REQUIRED by the OpenRTB specification.
* Supported by Google.
* </pre>
*
* <code>required string id = 1;</code>
* @return Whether the id field is set.
*/
boolean hasId();
/**
* <pre>
* Bidder generated bid ID to assist with logging/tracking.
* REQUIRED by the OpenRTB specification.
* Supported by Google.
* </pre>
*
* <code>required string id = 1;</code>
* @return The id.
*/
java.lang.String getId();
/**
* <pre>
* Bidder generated bid ID to assist with logging/tracking.
* REQUIRED by the OpenRTB specification.
* Supported by Google.
* </pre>
*
* <code>required string id = 1;</code>
* @return The bytes for id.
*/
com.google.protobuf.ByteString
getIdBytes();
/**
* <pre>
* ID of the Imp object in the related bid request.
* REQUIRED by the OpenRTB specification.
* Supported by Google.
* </pre>
*
* <code>required string impid = 2;</code>
* @return Whether the impid field is set.
*/
boolean hasImpid();
/**
* <pre>
* ID of the Imp object in the related bid request.
* REQUIRED by the OpenRTB specification.
* Supported by Google.
* </pre>
*
* <code>required string impid = 2;</code>
* @return The impid.
*/
java.lang.String getImpid();
/**
* <pre>
* ID of the Imp object in the related bid request.
* REQUIRED by the OpenRTB specification.
* Supported by Google.
* </pre>
*
* <code>required string impid = 2;</code>
* @return The bytes for impid.
*/
com.google.protobuf.ByteString
getImpidBytes();
/**
* <pre>
* Bid price expressed as CPM although the actual transaction is for a
* unit impression only. Note that while the type indicates float, integer
* math is highly recommended when handling currencies
* (for example, BigDecimal in Java).
* REQUIRED by the OpenRTB specification.
* Supported by Google.
* </pre>
*
* <code>required double price = 3;</code>
* @return Whether the price field is set.
*/
boolean hasPrice();
/**
* <pre>
* Bid price expressed as CPM although the actual transaction is for a
* unit impression only. Note that while the type indicates float, integer
* math is highly recommended when handling currencies
* (for example, BigDecimal in Java).
* REQUIRED by the OpenRTB specification.
* Supported by Google.
* </pre>
*
* <code>required double price = 3;</code>
* @return The price.
*/
double getPrice();
/**
* <pre>
* Win notice URL called by the exchange if the bid wins; optional means
* of serving ad markup.
* Ignored by Google.
* </pre>
*
* <code>optional string nurl = 5;</code>
* @return Whether the nurl field is set.
*/
boolean hasNurl();
/**
* <pre>
* Win notice URL called by the exchange if the bid wins; optional means
* of serving ad markup.
* Ignored by Google.
* </pre>
*
* <code>optional string nurl = 5;</code>
* @return The nurl.
*/
java.lang.String getNurl();
/**
* <pre>
* Win notice URL called by the exchange if the bid wins; optional means
* of serving ad markup.
* Ignored by Google.
* </pre>
*
* <code>optional string nurl = 5;</code>
* @return The bytes for nurl.
*/
com.google.protobuf.ByteString
getNurlBytes();
/**
* <pre>
* Billing notice URL called by the exchange when a winning bid
* becomes billable based on exchange-specific business policy
* (for example, delivered or viewed).
* Substitution macros (Section 4.4) may be included.
* Supported by Google.
* </pre>
*
* <code>optional string burl = 22;</code>
* @return Whether the burl field is set.
*/
boolean hasBurl();
/**
* <pre>
* Billing notice URL called by the exchange when a winning bid
* becomes billable based on exchange-specific business policy
* (for example, delivered or viewed).
* Substitution macros (Section 4.4) may be included.
* Supported by Google.
* </pre>
*
* <code>optional string burl = 22;</code>
* @return The burl.
*/
java.lang.String getBurl();
/**
* <pre>
* Billing notice URL called by the exchange when a winning bid
* becomes billable based on exchange-specific business policy
* (for example, delivered or viewed).
* Substitution macros (Section 4.4) may be included.
* Supported by Google.
* </pre>
*
* <code>optional string burl = 22;</code>
* @return The bytes for burl.
*/
com.google.protobuf.ByteString
getBurlBytes();
/**
* <pre>
* Loss notice URL called by the exchange when a bid is known to
* have been lost. Substitution macros (Section 4.4) may be
* included. Exchange-specific policy may preclude support for
* loss notices or the disclosure of winning clearing prices
* resulting in ${AUCTION_PRICE} macros being removed (meaning,
* replaced with a zero-length string).
* Ignored by Google.
* </pre>
*
* <code>optional string lurl = 23;</code>
* @return Whether the lurl field is set.
*/
boolean hasLurl();
/**
* <pre>
* Loss notice URL called by the exchange when a bid is known to
* have been lost. Substitution macros (Section 4.4) may be
* included. Exchange-specific policy may preclude support for
* loss notices or the disclosure of winning clearing prices
* resulting in ${AUCTION_PRICE} macros being removed (meaning,
* replaced with a zero-length string).
* Ignored by Google.
* </pre>
*
* <code>optional string lurl = 23;</code>
* @return The lurl.
*/
java.lang.String getLurl();
/**
* <pre>
* Loss notice URL called by the exchange when a bid is known to
* have been lost. Substitution macros (Section 4.4) may be
* included. Exchange-specific policy may preclude support for
* loss notices or the disclosure of winning clearing prices
* resulting in ${AUCTION_PRICE} macros being removed (meaning,
* replaced with a zero-length string).
* Ignored by Google.
* </pre>
*
* <code>optional string lurl = 23;</code>
* @return The bytes for lurl.
*/
com.google.protobuf.ByteString
getLurlBytes();
/**
* <pre>
* ID of a preloaded ad to serve if the bid wins.
* Ignored by Google.
* </pre>
*
* <code>optional string adid = 4;</code>
* @return Whether the adid field is set.
*/
boolean hasAdid();
/**
* <pre>
* ID of a preloaded ad to serve if the bid wins.
* Ignored by Google.
* </pre>
*
* <code>optional string adid = 4;</code>
* @return The adid.
*/
java.lang.String getAdid();
/**
* <pre>
* ID of a preloaded ad to serve if the bid wins.
* Ignored by Google.
* </pre>
*
* <code>optional string adid = 4;</code>
* @return The bytes for adid.
*/
com.google.protobuf.ByteString
getAdidBytes();
/**
* <pre>
* Advertiser domain for block list checking (for example, "ford.com").
* This can be an array of for the case of rotating creatives. Exchanges
* can mandate that only one domain is allowed.
* Supported by Google.
* </pre>
*
* <code>repeated string adomain = 7;</code>
* @return A list containing the adomain.
*/
java.util.List<java.lang.String>
getAdomainList();
/**
* <pre>
* Advertiser domain for block list checking (for example, "ford.com").
* This can be an array of for the case of rotating creatives. Exchanges
* can mandate that only one domain is allowed.
* Supported by Google.
* </pre>
*
* <code>repeated string adomain = 7;</code>
* @return The count of adomain.
*/
int getAdomainCount();
/**
* <pre>
* Advertiser domain for block list checking (for example, "ford.com").
* This can be an array of for the case of rotating creatives. Exchanges
* can mandate that only one domain is allowed.
* Supported by Google.
* </pre>
*
* <code>repeated string adomain = 7;</code>
* @param index The index of the element to return.
* @return The adomain at the given index.
*/
java.lang.String getAdomain(int index);
/**
* <pre>
* Advertiser domain for block list checking (for example, "ford.com").
* This can be an array of for the case of rotating creatives. Exchanges
* can mandate that only one domain is allowed.
* Supported by Google.
* </pre>
*
* <code>repeated string adomain = 7;</code>
* @param index The index of the element to return.
* @return The adomain at the given index.
*/
com.google.protobuf.ByteString
getAdomainBytes(int index);
/**
* <pre>
* The store ID of the app in an app store such as Apple App Store, Google
* Play. See OTT/CTV Store Assigned App Identification Guidelines for
* more details about expected strings for CTV app stores. For mobile apps
* in Google Play Store, these should be bundle or package names, such as
* com.foo.mygame. For apps in Apple App Store, these should be a numeric
* ID.
* Google: In addition to this field, set bid.ext.app_promotion_type field
* to take advantage of features specific to app promotion types.
* Supported by Google.
* </pre>
*
* <code>optional string bundle = 14;</code>
* @return Whether the bundle field is set.
*/
boolean hasBundle();
/**
* <pre>
* The store ID of the app in an app store such as Apple App Store, Google
* Play. See OTT/CTV Store Assigned App Identification Guidelines for
* more details about expected strings for CTV app stores. For mobile apps
* in Google Play Store, these should be bundle or package names, such as
* com.foo.mygame. For apps in Apple App Store, these should be a numeric
* ID.
* Google: In addition to this field, set bid.ext.app_promotion_type field
* to take advantage of features specific to app promotion types.
* Supported by Google.
* </pre>
*
* <code>optional string bundle = 14;</code>
* @return The bundle.
*/
java.lang.String getBundle();
/**
* <pre>
* The store ID of the app in an app store such as Apple App Store, Google
* Play. See OTT/CTV Store Assigned App Identification Guidelines for
* more details about expected strings for CTV app stores. For mobile apps
* in Google Play Store, these should be bundle or package names, such as
* com.foo.mygame. For apps in Apple App Store, these should be a numeric
* ID.
* Google: In addition to this field, set bid.ext.app_promotion_type field
* to take advantage of features specific to app promotion types.
* Supported by Google.
* </pre>
*
* <code>optional string bundle = 14;</code>
* @return The bytes for bundle.
*/
com.google.protobuf.ByteString
getBundleBytes();
/**
* <pre>
* URL without cache-busting to an image that is representative of the
* content of the campaign for ad quality/safety checking.
* Ignored by Google.
* </pre>
*
* <code>optional string iurl = 8;</code>
* @return Whether the iurl field is set.
*/
boolean hasIurl();
/**
* <pre>
* URL without cache-busting to an image that is representative of the
* content of the campaign for ad quality/safety checking.
* Ignored by Google.
* </pre>
*
* <code>optional string iurl = 8;</code>
* @return The iurl.
*/
java.lang.String getIurl();
/**
* <pre>
* URL without cache-busting to an image that is representative of the
* content of the campaign for ad quality/safety checking.
* Ignored by Google.
* </pre>
*
* <code>optional string iurl = 8;</code>
* @return The bytes for iurl.
*/
com.google.protobuf.ByteString
getIurlBytes();
/**
* <pre>
* Campaign ID to assist with ad quality checking; the collection of
* creatives for which iurl should be representative.
* Ignored by Google.
* </pre>
*
* <code>optional string cid = 9;</code>
* @return Whether the cid field is set.
*/
boolean hasCid();
/**
* <pre>
* Campaign ID to assist with ad quality checking; the collection of
* creatives for which iurl should be representative.
* Ignored by Google.
* </pre>
*
* <code>optional string cid = 9;</code>
* @return The cid.
*/
java.lang.String getCid();
/**
* <pre>
* Campaign ID to assist with ad quality checking; the collection of
* creatives for which iurl should be representative.
* Ignored by Google.
* </pre>
*
* <code>optional string cid = 9;</code>
* @return The bytes for cid.
*/
com.google.protobuf.ByteString
getCidBytes();
/**
* <pre>
* Creative ID to assist with ad quality checking.
* Supported by Google.
* </pre>
*
* <code>optional string crid = 10;</code>
* @return Whether the crid field is set.
*/
boolean hasCrid();
/**
* <pre>
* Creative ID to assist with ad quality checking.
* Supported by Google.
* </pre>
*
* <code>optional string crid = 10;</code>
* @return The crid.
*/
java.lang.String getCrid();
/**
* <pre>
* Creative ID to assist with ad quality checking.
* Supported by Google.
* </pre>
*
* <code>optional string crid = 10;</code>
* @return The bytes for crid.
*/
com.google.protobuf.ByteString
getCridBytes();
/**
* <pre>
* Tactic ID to enable buyers to label bids for reporting to the
* exchange the tactic through which their bid was submitted.
* The specific usage and meaning of the tactic ID should be
* communicated between buyer and exchanges a priori.
* Ignored by Google.
* </pre>
*
* <code>optional string tactic = 24;</code>
* @return Whether the tactic field is set.
*/
boolean hasTactic();
/**
* <pre>
* Tactic ID to enable buyers to label bids for reporting to the
* exchange the tactic through which their bid was submitted.
* The specific usage and meaning of the tactic ID should be
* communicated between buyer and exchanges a priori.
* Ignored by Google.
* </pre>
*
* <code>optional string tactic = 24;</code>
* @return The tactic.
*/
java.lang.String getTactic();
/**
* <pre>
* Tactic ID to enable buyers to label bids for reporting to the
* exchange the tactic through which their bid was submitted.
* The specific usage and meaning of the tactic ID should be
* communicated between buyer and exchanges a priori.
* Ignored by Google.
* </pre>
*
* <code>optional string tactic = 24;</code>
* @return The bytes for tactic.
*/
com.google.protobuf.ByteString
getTacticBytes();
/**
* <pre>
* The taxonomy in use for cat.
* Ignored by Google.
* </pre>
*
* <code>optional .com.google.openrtb.CategoryTaxonomy cattax = 30 [default = IAB_CONTENT_1_0];</code>
* @return Whether the cattax field is set.
*/
boolean hasCattax();
/**
* <pre>
* The taxonomy in use for cat.
* Ignored by Google.
* </pre>
*
* <code>optional .com.google.openrtb.CategoryTaxonomy cattax = 30 [default = IAB_CONTENT_1_0];</code>
* @return The cattax.
*/
com.particles.mes.protos.openrtb.CategoryTaxonomy getCattax();
/**
* <pre>
* IAB content categories of the creative.
* The taxonomy to be used is defined by the cattax field.
* Supported by Google.
* </pre>
*
* <code>repeated string cat = 15;</code>
* @return A list containing the cat.
*/
java.util.List<java.lang.String>
getCatList();
/**
* <pre>
* IAB content categories of the creative.
* The taxonomy to be used is defined by the cattax field.
* Supported by Google.
* </pre>
*
* <code>repeated string cat = 15;</code>
* @return The count of cat.
*/
int getCatCount();
/**
* <pre>
* IAB content categories of the creative.
* The taxonomy to be used is defined by the cattax field.
* Supported by Google.
* </pre>
*
* <code>repeated string cat = 15;</code>
* @param index The index of the element to return.
* @return The cat at the given index.
*/
java.lang.String getCat(int index);
/**
* <pre>
* IAB content categories of the creative.
* The taxonomy to be used is defined by the cattax field.
* Supported by Google.
* </pre>
*
* <code>repeated string cat = 15;</code>
* @param index The index of the element to return.
* @return The cat at the given index.
*/
com.google.protobuf.ByteString
getCatBytes(int index);
/**
* <pre>
* Set of attributes describing the creative.
* Supported by Google.
* </pre>
*
* <code>repeated .com.google.openrtb.CreativeAttribute attr = 11 [packed = true];</code>
* @return A list containing the attr.
*/
java.util.List<com.particles.mes.protos.openrtb.CreativeAttribute> getAttrList();
/**
* <pre>
* Set of attributes describing the creative.
* Supported by Google.
* </pre>
*
* <code>repeated .com.google.openrtb.CreativeAttribute attr = 11 [packed = true];</code>
* @return The count of attr.
*/
int getAttrCount();
/**
* <pre>
* Set of attributes describing the creative.
* Supported by Google.
* </pre>
*
* <code>repeated .com.google.openrtb.CreativeAttribute attr = 11 [packed = true];</code>
* @param index The index of the element to return.
* @return The attr at the given index.
*/
com.particles.mes.protos.openrtb.CreativeAttribute getAttr(int index);
/**
* <pre>
* List of supported APIs for the markup. If an API is not explicitly
* listed, it is assumed to be unsupported.
* Ignored by Google.
* </pre>
*
* <code>repeated .com.google.openrtb.APIFramework apis = 31 [packed = true];</code>
* @return A list containing the apis.
*/
java.util.List<com.particles.mes.protos.openrtb.APIFramework> getApisList();
/**
* <pre>
* List of supported APIs for the markup. If an API is not explicitly
* listed, it is assumed to be unsupported.
* Ignored by Google.
* </pre>
*
* <code>repeated .com.google.openrtb.APIFramework apis = 31 [packed = true];</code>
* @return The count of apis.
*/
int getApisCount();
/**
* <pre>
* List of supported APIs for the markup. If an API is not explicitly
* listed, it is assumed to be unsupported.
* Ignored by Google.
* </pre>
*
* <code>repeated .com.google.openrtb.APIFramework apis = 31 [packed = true];</code>
* @param index The index of the element to return.
* @return The apis at the given index.
*/
com.particles.mes.protos.openrtb.APIFramework getApis(int index);
/**
* <pre>
* DEPRECATED in OpenRTB 2.6+; prefer the field apis.
* API required by the markup if applicable.
* Supported by Google.
* </pre>
*
* <code>optional .com.google.openrtb.APIFramework api = 18 [deprecated = true];</code>
* @deprecated com.google.openrtb.BidResponse.SeatBid.Bid.api is deprecated.
* See openrtb/openrtb-v26.proto;l=2101
* @return Whether the api field is set.
*/
@java.lang.Deprecated boolean hasApi();
/**
* <pre>
* DEPRECATED in OpenRTB 2.6+; prefer the field apis.
* API required by the markup if applicable.
* Supported by Google.
* </pre>
*
* <code>optional .com.google.openrtb.APIFramework api = 18 [deprecated = true];</code>
* @deprecated com.google.openrtb.BidResponse.SeatBid.Bid.api is deprecated.
* See openrtb/openrtb-v26.proto;l=2101
* @return The api.
*/
@java.lang.Deprecated com.particles.mes.protos.openrtb.APIFramework getApi();
/**
* <pre>
* Video response protocol of the markup if applicable.
* Ignored by Google.
* </pre>
*
* <code>optional .com.google.openrtb.Protocol protocol = 19;</code>
* @return Whether the protocol field is set.
*/
boolean hasProtocol();
/**
* <pre>
* Video response protocol of the markup if applicable.
* Ignored by Google.
* </pre>
*
* <code>optional .com.google.openrtb.Protocol protocol = 19;</code>
* @return The protocol.
*/
com.particles.mes.protos.openrtb.Protocol getProtocol();
/**
* <pre>
* Creative media rating per QAG guidelines.
* Ignored by Google.
* </pre>
*
* <code>optional .com.google.openrtb.QAGMediaRating qagmediarating = 20;</code>
* @return Whether the qagmediarating field is set.
*/
boolean hasQagmediarating();
/**
* <pre>
* Creative media rating per QAG guidelines.
* Ignored by Google.
* </pre>
*
* <code>optional .com.google.openrtb.QAGMediaRating qagmediarating = 20;</code>
* @return The qagmediarating.
*/
com.particles.mes.protos.openrtb.QAGMediaRating getQagmediarating();
/**
* <pre>
* Language of the creative using ISO-639-1-alpha-2. The nonstandard
* code "xx" may also be used if the creative has no
* linguistic content (for example, a banner with just a company logo).
* Only one of language or langb should be present.
* Ignored by Google.
* </pre>
*
* <code>optional string language = 25;</code>
* @return Whether the language field is set.
*/
boolean hasLanguage();
/**
* <pre>
* Language of the creative using ISO-639-1-alpha-2. The nonstandard
* code "xx" may also be used if the creative has no
* linguistic content (for example, a banner with just a company logo).
* Only one of language or langb should be present.
* Ignored by Google.
* </pre>
*
* <code>optional string language = 25;</code>
* @return The language.
*/
java.lang.String getLanguage();
/**
* <pre>
* Language of the creative using ISO-639-1-alpha-2. The nonstandard
* code "xx" may also be used if the creative has no
* linguistic content (for example, a banner with just a company logo).
* Only one of language or langb should be present.
* Ignored by Google.
* </pre>
*
* <code>optional string language = 25;</code>
* @return The bytes for language.
*/
com.google.protobuf.ByteString
getLanguageBytes();
/**
* <pre>
* Language of the creative using IETF BCP 47.
* Only one of language or langb should be present.
* Ignored by Google.
* </pre>
*
* <code>optional string langb = 29;</code>
* @return Whether the langb field is set.
*/
boolean hasLangb();
/**
* <pre>
* Language of the creative using IETF BCP 47.
* Only one of language or langb should be present.
* Ignored by Google.
* </pre>
*
* <code>optional string langb = 29;</code>
* @return The langb.
*/
java.lang.String getLangb();
/**
* <pre>
* Language of the creative using IETF BCP 47.
* Only one of language or langb should be present.
* Ignored by Google.
* </pre>
*
* <code>optional string langb = 29;</code>
* @return The bytes for langb.
*/
com.google.protobuf.ByteString
getLangbBytes();
/**
* <pre>
* Reference to the deal.id from the bid request if this bid pertains to a
* private marketplace direct deal.
* Supported by Google.
* </pre>
*
* <code>optional string dealid = 13;</code>
* @return Whether the dealid field is set.
*/
boolean hasDealid();
/**
* <pre>
* Reference to the deal.id from the bid request if this bid pertains to a
* private marketplace direct deal.
* Supported by Google.
* </pre>
*
* <code>optional string dealid = 13;</code>
* @return The dealid.
*/
java.lang.String getDealid();
/**
* <pre>
* Reference to the deal.id from the bid request if this bid pertains to a
* private marketplace direct deal.
* Supported by Google.
* </pre>
*
* <code>optional string dealid = 13;</code>
* @return The bytes for dealid.
*/
com.google.protobuf.ByteString
getDealidBytes();
/**
* <pre>
* Width of the creative in device independent pixels (DIPS).
* Supported by Google.
* </pre>
*
* <code>optional int32 w = 16;</code>
* @return Whether the w field is set.
*/
boolean hasW();
/**
* <pre>
* Width of the creative in device independent pixels (DIPS).
* Supported by Google.
* </pre>
*
* <code>optional int32 w = 16;</code>
* @return The w.
*/
int getW();
/**
* <pre>
* Height of the creative in device independent pixels (DIPS).
* Supported by Google.
* </pre>
*
* <code>optional int32 h = 17;</code>
* @return Whether the h field is set.
*/
boolean hasH();
/**
* <pre>
* Height of the creative in device independent pixels (DIPS).
* Supported by Google.
* </pre>
*
* <code>optional int32 h = 17;</code>
* @return The h.
*/
int getH();
/**
* <pre>
* Relative width of the creative when expressing size as a ratio.
* Required for Flex Ads.
* Ignored by Google.
* </pre>
*
* <code>optional int32 wratio = 26;</code>
* @return Whether the wratio field is set.
*/
boolean hasWratio();
/**
* <pre>
* Relative width of the creative when expressing size as a ratio.
* Required for Flex Ads.
* Ignored by Google.
* </pre>
*
* <code>optional int32 wratio = 26;</code>
* @return The wratio.
*/
int getWratio();
/**
* <pre>
* Relative height of the creative when expressing size as a ratio.
* Required for Flex Ads.
* Ignored by Google.
* </pre>
*
* <code>optional int32 hratio = 27;</code>
* @return Whether the hratio field is set.
*/
boolean hasHratio();
/**
* <pre>
* Relative height of the creative when expressing size as a ratio.
* Required for Flex Ads.
* Ignored by Google.
* </pre>
*
* <code>optional int32 hratio = 27;</code>
* @return The hratio.
*/
int getHratio();
/**
* <pre>
* Advisory as to the number of seconds the bidder is willing to
* wait between the auction and the actual impression.
* Ignored by Google.
* </pre>
*
* <code>optional int32 exp = 21;</code>
* @return Whether the exp field is set.
*/
boolean hasExp();
/**
* <pre>
* Advisory as to the number of seconds the bidder is willing to
* wait between the auction and the actual impression.
* Ignored by Google.
* </pre>
*
* <code>optional int32 exp = 21;</code>
* @return The exp.
*/
int getExp();
/**
* <pre>
* Duration of the video or audio creative in seconds.
* Ignored by Google.
* </pre>
*
* <code>optional int32 dur = 32;</code>
* @return Whether the dur field is set.
*/
boolean hasDur();
/**
* <pre>
* Duration of the video or audio creative in seconds.
* Ignored by Google.
* </pre>
*
* <code>optional int32 dur = 32;</code>
* @return The dur.
*/
int getDur();
/**
* <pre>
* Indicates that the bid is only eligible
* for a specific position within the pod.
* This field is currently only supported for rewarded video pods
* requests.
* </pre>
*
* <code>optional .com.google.openrtb.SlotPositionInPod slotinpod = 28;</code>
* @return Whether the slotinpod field is set.
*/
boolean hasSlotinpod();
/**
* <pre>
* Indicates that the bid is only eligible
* for a specific position within the pod.
* This field is currently only supported for rewarded video pods
* requests.
* </pre>
*
* <code>optional .com.google.openrtb.SlotPositionInPod slotinpod = 28;</code>
* @return The slotinpod.
*/
com.particles.mes.protos.openrtb.SlotPositionInPod getSlotinpod();
/**
* <pre>
* Type of the creative markup so that it can properly be
* associated with the right sub-object of the BidRequest.Imp.
* Ignored by Google.
* </pre>
*
* <code>optional .com.google.openrtb.CreativeMarkupType mtype = 33;</code>
* @return Whether the mtype field is set.
*/
boolean hasMtype();
/**
* <pre>
* Type of the creative markup so that it can properly be
* associated with the right sub-object of the BidRequest.Imp.
* Ignored by Google.
* </pre>
*
* <code>optional .com.google.openrtb.CreativeMarkupType mtype = 33;</code>
* @return The mtype.
*/
com.particles.mes.protos.openrtb.CreativeMarkupType getMtype();
/**
* <pre>
* Extension
* </pre>
*
* <code>optional string ext = 90;</code>
* @return Whether the ext field is set.
*/
boolean hasExt();
/**
* <pre>
* Extension
* </pre>
*
* <code>optional string ext = 90;</code>
* @return The ext.
*/
java.lang.String getExt();
/**
* <pre>
* Extension
* </pre>
*
* <code>optional string ext = 90;</code>
* @return The bytes for ext.
*/
com.google.protobuf.ByteString
getExtBytes();
public com.particles.mes.protos.openrtb.BidResponse.SeatBid.Bid.AdmOneofCase getAdmOneofCase();
}
/**
* <pre>
* OpenRTB 2.0: A SeatBid object contains one or more Bid objects,
* each of which relates to a specific impression in the bid request
* through the impid attribute and constitutes an offer to buy that
* impression for a given price.
* </pre>
*
* Protobuf type {@code com.google.openrtb.BidResponse.SeatBid.Bid}
*/
public static final class Bid extends
com.google.protobuf.GeneratedMessageLite.ExtendableMessage<
Bid, Bid.Builder> implements
// @@protoc_insertion_point(message_implements:com.google.openrtb.BidResponse.SeatBid.Bid)
BidOrBuilder {
private Bid() {
id_ = "";
impid_ = "";
nurl_ = "";
burl_ = "";
lurl_ = "";
adid_ = "";
adomain_ = com.google.protobuf.GeneratedMessageLite.emptyProtobufList();
bundle_ = "";
iurl_ = "";
cid_ = "";
crid_ = "";
tactic_ = "";
cattax_ = 1;
cat_ = com.google.protobuf.GeneratedMessageLite.emptyProtobufList();
attr_ = emptyIntList();
apis_ = emptyIntList();
api_ = 1;
protocol_ = 1;
qagmediarating_ = 1;
language_ = "";
langb_ = "";
dealid_ = "";
mtype_ = 1;
ext_ = "";
}
private int bitField0_;
private int admOneofCase_ = 0;
private java.lang.Object admOneof_;
public enum AdmOneofCase {
ADM(6),
ADM_NATIVE(50),
ADMONEOF_NOT_SET(0);
private final int value;
private AdmOneofCase(int value) {
this.value = value;
}
/**
* @deprecated Use {@link #forNumber(int)} instead.
*/
@java.lang.Deprecated
public static AdmOneofCase valueOf(int value) {
return forNumber(value);
}
public static AdmOneofCase forNumber(int value) {
switch (value) {
case 6: return ADM;
case 50: return ADM_NATIVE;
case 0: return ADMONEOF_NOT_SET;
default: return null;
}
}
public int getNumber() {
return this.value;
}
};
@java.lang.Override
public AdmOneofCase
getAdmOneofCase() {
return AdmOneofCase.forNumber(
admOneofCase_);
}
private void clearAdmOneof() {
admOneofCase_ = 0;
admOneof_ = null;
}
public static final int ADM_FIELD_NUMBER = 6;
/**
* <pre>
* Optional means of conveying ad markup in case the bid wins;
* supersedes the win notice if markup is included in both.
* For native ad bids, exactly one of {adm, adm_native} should be used.
* Supported by Google. Standard field, should be used for OpenRTB/JSON.
* </pre>
*
* <code>string adm = 6;</code>
* @return Whether the adm field is set.
*/
@java.lang.Override
public boolean hasAdm() {
return admOneofCase_ == 6;
}
/**
* <pre>
* Optional means of conveying ad markup in case the bid wins;
* supersedes the win notice if markup is included in both.
* For native ad bids, exactly one of {adm, adm_native} should be used.
* Supported by Google. Standard field, should be used for OpenRTB/JSON.
* </pre>
*
* <code>string adm = 6;</code>
* @return The adm.
*/
@java.lang.Override
public java.lang.String getAdm() {
java.lang.String ref = "";
if (admOneofCase_ == 6) {
ref = (java.lang.String) admOneof_;
}
return ref;
}
/**
* <pre>
* Optional means of conveying ad markup in case the bid wins;
* supersedes the win notice if markup is included in both.
* For native ad bids, exactly one of {adm, adm_native} should be used.
* Supported by Google. Standard field, should be used for OpenRTB/JSON.
* </pre>
*
* <code>string adm = 6;</code>
* @return The bytes for adm.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getAdmBytes() {
java.lang.String ref = "";
if (admOneofCase_ == 6) {
ref = (java.lang.String) admOneof_;
}
return com.google.protobuf.ByteString.copyFromUtf8(ref);
}
/**
* <pre>
* Optional means of conveying ad markup in case the bid wins;
* supersedes the win notice if markup is included in both.
* For native ad bids, exactly one of {adm, adm_native} should be used.
* Supported by Google. Standard field, should be used for OpenRTB/JSON.
* </pre>
*
* <code>string adm = 6;</code>
* @param value The adm to set.
*/
private void setAdm(
java.lang.String value) {
java.lang.Class<?> valueClass = value.getClass();
admOneofCase_ = 6;
admOneof_ = value;
}
/**
* <pre>
* Optional means of conveying ad markup in case the bid wins;
* supersedes the win notice if markup is included in both.
* For native ad bids, exactly one of {adm, adm_native} should be used.
* Supported by Google. Standard field, should be used for OpenRTB/JSON.
* </pre>
*
* <code>string adm = 6;</code>
*/
private void clearAdm() {
if (admOneofCase_ == 6) {
admOneofCase_ = 0;
admOneof_ = null;
}
}
/**
* <pre>
* Optional means of conveying ad markup in case the bid wins;
* supersedes the win notice if markup is included in both.
* For native ad bids, exactly one of {adm, adm_native} should be used.
* Supported by Google. Standard field, should be used for OpenRTB/JSON.
* </pre>
*
* <code>string adm = 6;</code>
* @param value The bytes for adm to set.
*/
private void setAdmBytes(
com.google.protobuf.ByteString value) {
admOneof_ = value.toStringUtf8();
admOneofCase_ = 6;
}
public static final int ADM_NATIVE_FIELD_NUMBER = 50;
/**
* <pre>
* Native ad response.
* For native ad bids, exactly one of {adm, adm_native} should be used.
* Supported by Google. Extension, should be used for OpenRTB/Protobuf.
* </pre>
*
* <code>.com.google.openrtb.NativeResponse adm_native = 50;</code>
*/
@java.lang.Override
public boolean hasAdmNative() {
return admOneofCase_ == 50;
}
/**
* <pre>
* Native ad response.
* For native ad bids, exactly one of {adm, adm_native} should be used.
* Supported by Google. Extension, should be used for OpenRTB/Protobuf.
* </pre>
*
* <code>.com.google.openrtb.NativeResponse adm_native = 50;</code>
*/
@java.lang.Override
public com.particles.mes.protos.openrtb.NativeResponse getAdmNative() {
if (admOneofCase_ == 50) {
return (com.particles.mes.protos.openrtb.NativeResponse) admOneof_;
}
return com.particles.mes.protos.openrtb.NativeResponse.getDefaultInstance();
}
/**
* <pre>
* Native ad response.
* For native ad bids, exactly one of {adm, adm_native} should be used.
* Supported by Google. Extension, should be used for OpenRTB/Protobuf.
* </pre>
*
* <code>.com.google.openrtb.NativeResponse adm_native = 50;</code>
*/
private void setAdmNative(com.particles.mes.protos.openrtb.NativeResponse value) {
value.getClass();
admOneof_ = value;
admOneofCase_ = 50;
}
/**
* <pre>
* Native ad response.
* For native ad bids, exactly one of {adm, adm_native} should be used.
* Supported by Google. Extension, should be used for OpenRTB/Protobuf.
* </pre>
*
* <code>.com.google.openrtb.NativeResponse adm_native = 50;</code>
*/
private void mergeAdmNative(com.particles.mes.protos.openrtb.NativeResponse value) {
value.getClass();
if (admOneofCase_ == 50 &&
admOneof_ != com.particles.mes.protos.openrtb.NativeResponse.getDefaultInstance()) {
admOneof_ = com.particles.mes.protos.openrtb.NativeResponse.newBuilder((com.particles.mes.protos.openrtb.NativeResponse) admOneof_)
.mergeFrom(value).buildPartial();
} else {
admOneof_ = value;
}
admOneofCase_ = 50;
}
/**
* <pre>
* Native ad response.
* For native ad bids, exactly one of {adm, adm_native} should be used.
* Supported by Google. Extension, should be used for OpenRTB/Protobuf.
* </pre>
*
* <code>.com.google.openrtb.NativeResponse adm_native = 50;</code>
*/
private void clearAdmNative() {
if (admOneofCase_ == 50) {
admOneofCase_ = 0;
admOneof_ = null;
}
}
public static final int ID_FIELD_NUMBER = 1;
private java.lang.String id_;
/**
* <pre>
* Bidder generated bid ID to assist with logging/tracking.
* REQUIRED by the OpenRTB specification.
* Supported by Google.
* </pre>
*
* <code>required string id = 1;</code>
* @return Whether the id field is set.
*/
@java.lang.Override
public boolean hasId() {
return ((bitField0_ & 0x00000004) != 0);
}
/**
* <pre>
* Bidder generated bid ID to assist with logging/tracking.
* REQUIRED by the OpenRTB specification.
* Supported by Google.
* </pre>
*
* <code>required string id = 1;</code>
* @return The id.
*/
@java.lang.Override
public java.lang.String getId() {
return id_;
}
/**
* <pre>
* Bidder generated bid ID to assist with logging/tracking.
* REQUIRED by the OpenRTB specification.
* Supported by Google.
* </pre>
*
* <code>required string id = 1;</code>
* @return The bytes for id.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getIdBytes() {
return com.google.protobuf.ByteString.copyFromUtf8(id_);
}
/**
* <pre>
* Bidder generated bid ID to assist with logging/tracking.
* REQUIRED by the OpenRTB specification.
* Supported by Google.
* </pre>
*
* <code>required string id = 1;</code>
* @param value The id to set.
*/
private void setId(
java.lang.String value) {
java.lang.Class<?> valueClass = value.getClass();
bitField0_ |= 0x00000004;
id_ = value;
}
/**
* <pre>
* Bidder generated bid ID to assist with logging/tracking.
* REQUIRED by the OpenRTB specification.
* Supported by Google.
* </pre>
*
* <code>required string id = 1;</code>
*/
private void clearId() {
bitField0_ = (bitField0_ & ~0x00000004);
id_ = getDefaultInstance().getId();
}
/**
* <pre>
* Bidder generated bid ID to assist with logging/tracking.
* REQUIRED by the OpenRTB specification.
* Supported by Google.
* </pre>
*
* <code>required string id = 1;</code>
* @param value The bytes for id to set.
*/
private void setIdBytes(
com.google.protobuf.ByteString value) {
id_ = value.toStringUtf8();
bitField0_ |= 0x00000004;
}
public static final int IMPID_FIELD_NUMBER = 2;
private java.lang.String impid_;
/**
* <pre>
* ID of the Imp object in the related bid request.
* REQUIRED by the OpenRTB specification.
* Supported by Google.
* </pre>
*
* <code>required string impid = 2;</code>
* @return Whether the impid field is set.
*/
@java.lang.Override
public boolean hasImpid() {
return ((bitField0_ & 0x00000008) != 0);
}
/**
* <pre>
* ID of the Imp object in the related bid request.
* REQUIRED by the OpenRTB specification.
* Supported by Google.
* </pre>
*
* <code>required string impid = 2;</code>
* @return The impid.
*/
@java.lang.Override
public java.lang.String getImpid() {
return impid_;
}
/**
* <pre>
* ID of the Imp object in the related bid request.
* REQUIRED by the OpenRTB specification.
* Supported by Google.
* </pre>
*
* <code>required string impid = 2;</code>
* @return The bytes for impid.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getImpidBytes() {
return com.google.protobuf.ByteString.copyFromUtf8(impid_);
}
/**
* <pre>
* ID of the Imp object in the related bid request.
* REQUIRED by the OpenRTB specification.
* Supported by Google.
* </pre>
*
* <code>required string impid = 2;</code>
* @param value The impid to set.
*/
private void setImpid(
java.lang.String value) {
java.lang.Class<?> valueClass = value.getClass();
bitField0_ |= 0x00000008;
impid_ = value;
}
/**
* <pre>
* ID of the Imp object in the related bid request.
* REQUIRED by the OpenRTB specification.
* Supported by Google.
* </pre>
*
* <code>required string impid = 2;</code>
*/
private void clearImpid() {
bitField0_ = (bitField0_ & ~0x00000008);
impid_ = getDefaultInstance().getImpid();
}
/**
* <pre>
* ID of the Imp object in the related bid request.
* REQUIRED by the OpenRTB specification.
* Supported by Google.
* </pre>
*
* <code>required string impid = 2;</code>
* @param value The bytes for impid to set.
*/
private void setImpidBytes(
com.google.protobuf.ByteString value) {
impid_ = value.toStringUtf8();
bitField0_ |= 0x00000008;
}
public static final int PRICE_FIELD_NUMBER = 3;
private double price_;
/**
* <pre>
* Bid price expressed as CPM although the actual transaction is for a
* unit impression only. Note that while the type indicates float, integer
* math is highly recommended when handling currencies
* (for example, BigDecimal in Java).
* REQUIRED by the OpenRTB specification.
* Supported by Google.
* </pre>
*
* <code>required double price = 3;</code>
* @return Whether the price field is set.
*/
@java.lang.Override
public boolean hasPrice() {
return ((bitField0_ & 0x00000010) != 0);
}
/**
* <pre>
* Bid price expressed as CPM although the actual transaction is for a
* unit impression only. Note that while the type indicates float, integer
* math is highly recommended when handling currencies
* (for example, BigDecimal in Java).
* REQUIRED by the OpenRTB specification.
* Supported by Google.
* </pre>
*
* <code>required double price = 3;</code>
* @return The price.
*/
@java.lang.Override
public double getPrice() {
return price_;
}
/**
* <pre>
* Bid price expressed as CPM although the actual transaction is for a
* unit impression only. Note that while the type indicates float, integer
* math is highly recommended when handling currencies
* (for example, BigDecimal in Java).
* REQUIRED by the OpenRTB specification.
* Supported by Google.
* </pre>
*
* <code>required double price = 3;</code>
* @param value The price to set.
*/
private void setPrice(double value) {
bitField0_ |= 0x00000010;
price_ = value;
}
/**
* <pre>
* Bid price expressed as CPM although the actual transaction is for a
* unit impression only. Note that while the type indicates float, integer
* math is highly recommended when handling currencies
* (for example, BigDecimal in Java).
* REQUIRED by the OpenRTB specification.
* Supported by Google.
* </pre>
*
* <code>required double price = 3;</code>
*/
private void clearPrice() {
bitField0_ = (bitField0_ & ~0x00000010);
price_ = 0D;
}
public static final int NURL_FIELD_NUMBER = 5;
private java.lang.String nurl_;
/**
* <pre>
* Win notice URL called by the exchange if the bid wins; optional means
* of serving ad markup.
* Ignored by Google.
* </pre>
*
* <code>optional string nurl = 5;</code>
* @return Whether the nurl field is set.
*/
@java.lang.Override
public boolean hasNurl() {
return ((bitField0_ & 0x00000020) != 0);
}
/**
* <pre>
* Win notice URL called by the exchange if the bid wins; optional means
* of serving ad markup.
* Ignored by Google.
* </pre>
*
* <code>optional string nurl = 5;</code>
* @return The nurl.
*/
@java.lang.Override
public java.lang.String getNurl() {
return nurl_;
}
/**
* <pre>
* Win notice URL called by the exchange if the bid wins; optional means
* of serving ad markup.
* Ignored by Google.
* </pre>
*
* <code>optional string nurl = 5;</code>
* @return The bytes for nurl.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getNurlBytes() {
return com.google.protobuf.ByteString.copyFromUtf8(nurl_);
}
/**
* <pre>
* Win notice URL called by the exchange if the bid wins; optional means
* of serving ad markup.
* Ignored by Google.
* </pre>
*
* <code>optional string nurl = 5;</code>
* @param value The nurl to set.
*/
private void setNurl(
java.lang.String value) {
java.lang.Class<?> valueClass = value.getClass();
bitField0_ |= 0x00000020;
nurl_ = value;
}
/**
* <pre>
* Win notice URL called by the exchange if the bid wins; optional means
* of serving ad markup.
* Ignored by Google.
* </pre>
*
* <code>optional string nurl = 5;</code>
*/
private void clearNurl() {
bitField0_ = (bitField0_ & ~0x00000020);
nurl_ = getDefaultInstance().getNurl();
}
/**
* <pre>
* Win notice URL called by the exchange if the bid wins; optional means
* of serving ad markup.
* Ignored by Google.
* </pre>
*
* <code>optional string nurl = 5;</code>
* @param value The bytes for nurl to set.
*/
private void setNurlBytes(
com.google.protobuf.ByteString value) {
nurl_ = value.toStringUtf8();
bitField0_ |= 0x00000020;
}
public static final int BURL_FIELD_NUMBER = 22;
private java.lang.String burl_;
/**
* <pre>
* Billing notice URL called by the exchange when a winning bid
* becomes billable based on exchange-specific business policy
* (for example, delivered or viewed).
* Substitution macros (Section 4.4) may be included.
* Supported by Google.
* </pre>
*
* <code>optional string burl = 22;</code>
* @return Whether the burl field is set.
*/
@java.lang.Override
public boolean hasBurl() {
return ((bitField0_ & 0x00000040) != 0);
}
/**
* <pre>
* Billing notice URL called by the exchange when a winning bid
* becomes billable based on exchange-specific business policy
* (for example, delivered or viewed).
* Substitution macros (Section 4.4) may be included.
* Supported by Google.
* </pre>
*
* <code>optional string burl = 22;</code>
* @return The burl.
*/
@java.lang.Override
public java.lang.String getBurl() {
return burl_;
}
/**
* <pre>
* Billing notice URL called by the exchange when a winning bid
* becomes billable based on exchange-specific business policy
* (for example, delivered or viewed).
* Substitution macros (Section 4.4) may be included.
* Supported by Google.
* </pre>
*
* <code>optional string burl = 22;</code>
* @return The bytes for burl.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getBurlBytes() {
return com.google.protobuf.ByteString.copyFromUtf8(burl_);
}
/**
* <pre>
* Billing notice URL called by the exchange when a winning bid
* becomes billable based on exchange-specific business policy
* (for example, delivered or viewed).
* Substitution macros (Section 4.4) may be included.
* Supported by Google.
* </pre>
*
* <code>optional string burl = 22;</code>
* @param value The burl to set.
*/
private void setBurl(
java.lang.String value) {
java.lang.Class<?> valueClass = value.getClass();
bitField0_ |= 0x00000040;
burl_ = value;
}
/**
* <pre>
* Billing notice URL called by the exchange when a winning bid
* becomes billable based on exchange-specific business policy
* (for example, delivered or viewed).
* Substitution macros (Section 4.4) may be included.
* Supported by Google.
* </pre>
*
* <code>optional string burl = 22;</code>
*/
private void clearBurl() {
bitField0_ = (bitField0_ & ~0x00000040);
burl_ = getDefaultInstance().getBurl();
}
/**
* <pre>
* Billing notice URL called by the exchange when a winning bid
* becomes billable based on exchange-specific business policy
* (for example, delivered or viewed).
* Substitution macros (Section 4.4) may be included.
* Supported by Google.
* </pre>
*
* <code>optional string burl = 22;</code>
* @param value The bytes for burl to set.
*/
private void setBurlBytes(
com.google.protobuf.ByteString value) {
burl_ = value.toStringUtf8();
bitField0_ |= 0x00000040;
}
public static final int LURL_FIELD_NUMBER = 23;
private java.lang.String lurl_;
/**
* <pre>
* Loss notice URL called by the exchange when a bid is known to
* have been lost. Substitution macros (Section 4.4) may be
* included. Exchange-specific policy may preclude support for
* loss notices or the disclosure of winning clearing prices
* resulting in ${AUCTION_PRICE} macros being removed (meaning,
* replaced with a zero-length string).
* Ignored by Google.
* </pre>
*
* <code>optional string lurl = 23;</code>
* @return Whether the lurl field is set.
*/
@java.lang.Override
public boolean hasLurl() {
return ((bitField0_ & 0x00000080) != 0);
}
/**
* <pre>
* Loss notice URL called by the exchange when a bid is known to
* have been lost. Substitution macros (Section 4.4) may be
* included. Exchange-specific policy may preclude support for
* loss notices or the disclosure of winning clearing prices
* resulting in ${AUCTION_PRICE} macros being removed (meaning,
* replaced with a zero-length string).
* Ignored by Google.
* </pre>
*
* <code>optional string lurl = 23;</code>
* @return The lurl.
*/
@java.lang.Override
public java.lang.String getLurl() {
return lurl_;
}
/**
* <pre>
* Loss notice URL called by the exchange when a bid is known to
* have been lost. Substitution macros (Section 4.4) may be
* included. Exchange-specific policy may preclude support for
* loss notices or the disclosure of winning clearing prices
* resulting in ${AUCTION_PRICE} macros being removed (meaning,
* replaced with a zero-length string).
* Ignored by Google.
* </pre>
*
* <code>optional string lurl = 23;</code>
* @return The bytes for lurl.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getLurlBytes() {
return com.google.protobuf.ByteString.copyFromUtf8(lurl_);
}
/**
* <pre>
* Loss notice URL called by the exchange when a bid is known to
* have been lost. Substitution macros (Section 4.4) may be
* included. Exchange-specific policy may preclude support for
* loss notices or the disclosure of winning clearing prices
* resulting in ${AUCTION_PRICE} macros being removed (meaning,
* replaced with a zero-length string).
* Ignored by Google.
* </pre>
*
* <code>optional string lurl = 23;</code>
* @param value The lurl to set.
*/
private void setLurl(
java.lang.String value) {
java.lang.Class<?> valueClass = value.getClass();
bitField0_ |= 0x00000080;
lurl_ = value;
}
/**
* <pre>
* Loss notice URL called by the exchange when a bid is known to
* have been lost. Substitution macros (Section 4.4) may be
* included. Exchange-specific policy may preclude support for
* loss notices or the disclosure of winning clearing prices
* resulting in ${AUCTION_PRICE} macros being removed (meaning,
* replaced with a zero-length string).
* Ignored by Google.
* </pre>
*
* <code>optional string lurl = 23;</code>
*/
private void clearLurl() {
bitField0_ = (bitField0_ & ~0x00000080);
lurl_ = getDefaultInstance().getLurl();
}
/**
* <pre>
* Loss notice URL called by the exchange when a bid is known to
* have been lost. Substitution macros (Section 4.4) may be
* included. Exchange-specific policy may preclude support for
* loss notices or the disclosure of winning clearing prices
* resulting in ${AUCTION_PRICE} macros being removed (meaning,
* replaced with a zero-length string).
* Ignored by Google.
* </pre>
*
* <code>optional string lurl = 23;</code>
* @param value The bytes for lurl to set.
*/
private void setLurlBytes(
com.google.protobuf.ByteString value) {
lurl_ = value.toStringUtf8();
bitField0_ |= 0x00000080;
}
public static final int ADID_FIELD_NUMBER = 4;
private java.lang.String adid_;
/**
* <pre>
* ID of a preloaded ad to serve if the bid wins.
* Ignored by Google.
* </pre>
*
* <code>optional string adid = 4;</code>
* @return Whether the adid field is set.
*/
@java.lang.Override
public boolean hasAdid() {
return ((bitField0_ & 0x00000100) != 0);
}
/**
* <pre>
* ID of a preloaded ad to serve if the bid wins.
* Ignored by Google.
* </pre>
*
* <code>optional string adid = 4;</code>
* @return The adid.
*/
@java.lang.Override
public java.lang.String getAdid() {
return adid_;
}
/**
* <pre>
* ID of a preloaded ad to serve if the bid wins.
* Ignored by Google.
* </pre>
*
* <code>optional string adid = 4;</code>
* @return The bytes for adid.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getAdidBytes() {
return com.google.protobuf.ByteString.copyFromUtf8(adid_);
}
/**
* <pre>
* ID of a preloaded ad to serve if the bid wins.
* Ignored by Google.
* </pre>
*
* <code>optional string adid = 4;</code>
* @param value The adid to set.
*/
private void setAdid(
java.lang.String value) {
java.lang.Class<?> valueClass = value.getClass();
bitField0_ |= 0x00000100;
adid_ = value;
}
/**
* <pre>
* ID of a preloaded ad to serve if the bid wins.
* Ignored by Google.
* </pre>
*
* <code>optional string adid = 4;</code>
*/
private void clearAdid() {
bitField0_ = (bitField0_ & ~0x00000100);
adid_ = getDefaultInstance().getAdid();
}
/**
* <pre>
* ID of a preloaded ad to serve if the bid wins.
* Ignored by Google.
* </pre>
*
* <code>optional string adid = 4;</code>
* @param value The bytes for adid to set.
*/
private void setAdidBytes(
com.google.protobuf.ByteString value) {
adid_ = value.toStringUtf8();
bitField0_ |= 0x00000100;
}
public static final int ADOMAIN_FIELD_NUMBER = 7;
private com.google.protobuf.Internal.ProtobufList<java.lang.String> adomain_;
/**
* <pre>
* Advertiser domain for block list checking (for example, "ford.com").
* This can be an array of for the case of rotating creatives. Exchanges
* can mandate that only one domain is allowed.
* Supported by Google.
* </pre>
*
* <code>repeated string adomain = 7;</code>
* @return A list containing the adomain.
*/
@java.lang.Override
public java.util.List<java.lang.String> getAdomainList() {
return adomain_;
}
/**
* <pre>
* Advertiser domain for block list checking (for example, "ford.com").
* This can be an array of for the case of rotating creatives. Exchanges
* can mandate that only one domain is allowed.
* Supported by Google.
* </pre>
*
* <code>repeated string adomain = 7;</code>
* @return The count of adomain.
*/
@java.lang.Override
public int getAdomainCount() {
return adomain_.size();
}
/**
* <pre>
* Advertiser domain for block list checking (for example, "ford.com").
* This can be an array of for the case of rotating creatives. Exchanges
* can mandate that only one domain is allowed.
* Supported by Google.
* </pre>
*
* <code>repeated string adomain = 7;</code>
* @param index The index of the element to return.
* @return The adomain at the given index.
*/
@java.lang.Override
public java.lang.String getAdomain(int index) {
return adomain_.get(index);
}
/**
* <pre>
* Advertiser domain for block list checking (for example, "ford.com").
* This can be an array of for the case of rotating creatives. Exchanges
* can mandate that only one domain is allowed.
* Supported by Google.
* </pre>
*
* <code>repeated string adomain = 7;</code>
* @param index The index of the value to return.
* @return The bytes of the adomain at the given index.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getAdomainBytes(int index) {
return com.google.protobuf.ByteString.copyFromUtf8(
adomain_.get(index));
}
private void ensureAdomainIsMutable() {
com.google.protobuf.Internal.ProtobufList<java.lang.String> tmp =
adomain_; if (!tmp.isModifiable()) {
adomain_ =
com.google.protobuf.GeneratedMessageLite.mutableCopy(tmp);
}
}
/**
* <pre>
* Advertiser domain for block list checking (for example, "ford.com").
* This can be an array of for the case of rotating creatives. Exchanges
* can mandate that only one domain is allowed.
* Supported by Google.
* </pre>
*
* <code>repeated string adomain = 7;</code>
* @param index The index to set the value at.
* @param value The adomain to set.
*/
private void setAdomain(
int index, java.lang.String value) {
java.lang.Class<?> valueClass = value.getClass();
ensureAdomainIsMutable();
adomain_.set(index, value);
}
/**
* <pre>
* Advertiser domain for block list checking (for example, "ford.com").
* This can be an array of for the case of rotating creatives. Exchanges
* can mandate that only one domain is allowed.
* Supported by Google.
* </pre>
*
* <code>repeated string adomain = 7;</code>
* @param value The adomain to add.
*/
private void addAdomain(
java.lang.String value) {
java.lang.Class<?> valueClass = value.getClass();
ensureAdomainIsMutable();
adomain_.add(value);
}
/**
* <pre>
* Advertiser domain for block list checking (for example, "ford.com").
* This can be an array of for the case of rotating creatives. Exchanges
* can mandate that only one domain is allowed.
* Supported by Google.
* </pre>
*
* <code>repeated string adomain = 7;</code>
* @param values The adomain to add.
*/
private void addAllAdomain(
java.lang.Iterable<java.lang.String> values) {
ensureAdomainIsMutable();
com.google.protobuf.AbstractMessageLite.addAll(
values, adomain_);
}
/**
* <pre>
* Advertiser domain for block list checking (for example, "ford.com").
* This can be an array of for the case of rotating creatives. Exchanges
* can mandate that only one domain is allowed.
* Supported by Google.
* </pre>
*
* <code>repeated string adomain = 7;</code>
*/
private void clearAdomain() {
adomain_ = com.google.protobuf.GeneratedMessageLite.emptyProtobufList();
}
/**
* <pre>
* Advertiser domain for block list checking (for example, "ford.com").
* This can be an array of for the case of rotating creatives. Exchanges
* can mandate that only one domain is allowed.
* Supported by Google.
* </pre>
*
* <code>repeated string adomain = 7;</code>
* @param value The bytes of the adomain to add.
*/
private void addAdomainBytes(
com.google.protobuf.ByteString value) {
ensureAdomainIsMutable();
adomain_.add(value.toStringUtf8());
}
public static final int BUNDLE_FIELD_NUMBER = 14;
private java.lang.String bundle_;
/**
* <pre>
* The store ID of the app in an app store such as Apple App Store, Google
* Play. See OTT/CTV Store Assigned App Identification Guidelines for
* more details about expected strings for CTV app stores. For mobile apps
* in Google Play Store, these should be bundle or package names, such as
* com.foo.mygame. For apps in Apple App Store, these should be a numeric
* ID.
* Google: In addition to this field, set bid.ext.app_promotion_type field
* to take advantage of features specific to app promotion types.
* Supported by Google.
* </pre>
*
* <code>optional string bundle = 14;</code>
* @return Whether the bundle field is set.
*/
@java.lang.Override
public boolean hasBundle() {
return ((bitField0_ & 0x00000200) != 0);
}
/**
* <pre>
* The store ID of the app in an app store such as Apple App Store, Google
* Play. See OTT/CTV Store Assigned App Identification Guidelines for
* more details about expected strings for CTV app stores. For mobile apps
* in Google Play Store, these should be bundle or package names, such as
* com.foo.mygame. For apps in Apple App Store, these should be a numeric
* ID.
* Google: In addition to this field, set bid.ext.app_promotion_type field
* to take advantage of features specific to app promotion types.
* Supported by Google.
* </pre>
*
* <code>optional string bundle = 14;</code>
* @return The bundle.
*/
@java.lang.Override
public java.lang.String getBundle() {
return bundle_;
}
/**
* <pre>
* The store ID of the app in an app store such as Apple App Store, Google
* Play. See OTT/CTV Store Assigned App Identification Guidelines for
* more details about expected strings for CTV app stores. For mobile apps
* in Google Play Store, these should be bundle or package names, such as
* com.foo.mygame. For apps in Apple App Store, these should be a numeric
* ID.
* Google: In addition to this field, set bid.ext.app_promotion_type field
* to take advantage of features specific to app promotion types.
* Supported by Google.
* </pre>
*
* <code>optional string bundle = 14;</code>
* @return The bytes for bundle.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getBundleBytes() {
return com.google.protobuf.ByteString.copyFromUtf8(bundle_);
}
/**
* <pre>
* The store ID of the app in an app store such as Apple App Store, Google
* Play. See OTT/CTV Store Assigned App Identification Guidelines for
* more details about expected strings for CTV app stores. For mobile apps
* in Google Play Store, these should be bundle or package names, such as
* com.foo.mygame. For apps in Apple App Store, these should be a numeric
* ID.
* Google: In addition to this field, set bid.ext.app_promotion_type field
* to take advantage of features specific to app promotion types.
* Supported by Google.
* </pre>
*
* <code>optional string bundle = 14;</code>
* @param value The bundle to set.
*/
private void setBundle(
java.lang.String value) {
java.lang.Class<?> valueClass = value.getClass();
bitField0_ |= 0x00000200;
bundle_ = value;
}
/**
* <pre>
* The store ID of the app in an app store such as Apple App Store, Google
* Play. See OTT/CTV Store Assigned App Identification Guidelines for
* more details about expected strings for CTV app stores. For mobile apps
* in Google Play Store, these should be bundle or package names, such as
* com.foo.mygame. For apps in Apple App Store, these should be a numeric
* ID.
* Google: In addition to this field, set bid.ext.app_promotion_type field
* to take advantage of features specific to app promotion types.
* Supported by Google.
* </pre>
*
* <code>optional string bundle = 14;</code>
*/
private void clearBundle() {
bitField0_ = (bitField0_ & ~0x00000200);
bundle_ = getDefaultInstance().getBundle();
}
/**
* <pre>
* The store ID of the app in an app store such as Apple App Store, Google
* Play. See OTT/CTV Store Assigned App Identification Guidelines for
* more details about expected strings for CTV app stores. For mobile apps
* in Google Play Store, these should be bundle or package names, such as
* com.foo.mygame. For apps in Apple App Store, these should be a numeric
* ID.
* Google: In addition to this field, set bid.ext.app_promotion_type field
* to take advantage of features specific to app promotion types.
* Supported by Google.
* </pre>
*
* <code>optional string bundle = 14;</code>
* @param value The bytes for bundle to set.
*/
private void setBundleBytes(
com.google.protobuf.ByteString value) {
bundle_ = value.toStringUtf8();
bitField0_ |= 0x00000200;
}
public static final int IURL_FIELD_NUMBER = 8;
private java.lang.String iurl_;
/**
* <pre>
* URL without cache-busting to an image that is representative of the
* content of the campaign for ad quality/safety checking.
* Ignored by Google.
* </pre>
*
* <code>optional string iurl = 8;</code>
* @return Whether the iurl field is set.
*/
@java.lang.Override
public boolean hasIurl() {
return ((bitField0_ & 0x00000400) != 0);
}
/**
* <pre>
* URL without cache-busting to an image that is representative of the
* content of the campaign for ad quality/safety checking.
* Ignored by Google.
* </pre>
*
* <code>optional string iurl = 8;</code>
* @return The iurl.
*/
@java.lang.Override
public java.lang.String getIurl() {
return iurl_;
}
/**
* <pre>
* URL without cache-busting to an image that is representative of the
* content of the campaign for ad quality/safety checking.
* Ignored by Google.
* </pre>
*
* <code>optional string iurl = 8;</code>
* @return The bytes for iurl.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getIurlBytes() {
return com.google.protobuf.ByteString.copyFromUtf8(iurl_);
}
/**
* <pre>
* URL without cache-busting to an image that is representative of the
* content of the campaign for ad quality/safety checking.
* Ignored by Google.
* </pre>
*
* <code>optional string iurl = 8;</code>
* @param value The iurl to set.
*/
private void setIurl(
java.lang.String value) {
java.lang.Class<?> valueClass = value.getClass();
bitField0_ |= 0x00000400;
iurl_ = value;
}
/**
* <pre>
* URL without cache-busting to an image that is representative of the
* content of the campaign for ad quality/safety checking.
* Ignored by Google.
* </pre>
*
* <code>optional string iurl = 8;</code>
*/
private void clearIurl() {
bitField0_ = (bitField0_ & ~0x00000400);
iurl_ = getDefaultInstance().getIurl();
}
/**
* <pre>
* URL without cache-busting to an image that is representative of the
* content of the campaign for ad quality/safety checking.
* Ignored by Google.
* </pre>
*
* <code>optional string iurl = 8;</code>
* @param value The bytes for iurl to set.
*/
private void setIurlBytes(
com.google.protobuf.ByteString value) {
iurl_ = value.toStringUtf8();
bitField0_ |= 0x00000400;
}
public static final int CID_FIELD_NUMBER = 9;
private java.lang.String cid_;
/**
* <pre>
* Campaign ID to assist with ad quality checking; the collection of
* creatives for which iurl should be representative.
* Ignored by Google.
* </pre>
*
* <code>optional string cid = 9;</code>
* @return Whether the cid field is set.
*/
@java.lang.Override
public boolean hasCid() {
return ((bitField0_ & 0x00000800) != 0);
}
/**
* <pre>
* Campaign ID to assist with ad quality checking; the collection of
* creatives for which iurl should be representative.
* Ignored by Google.
* </pre>
*
* <code>optional string cid = 9;</code>
* @return The cid.
*/
@java.lang.Override
public java.lang.String getCid() {
return cid_;
}
/**
* <pre>
* Campaign ID to assist with ad quality checking; the collection of
* creatives for which iurl should be representative.
* Ignored by Google.
* </pre>
*
* <code>optional string cid = 9;</code>
* @return The bytes for cid.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getCidBytes() {
return com.google.protobuf.ByteString.copyFromUtf8(cid_);
}
/**
* <pre>
* Campaign ID to assist with ad quality checking; the collection of
* creatives for which iurl should be representative.
* Ignored by Google.
* </pre>
*
* <code>optional string cid = 9;</code>
* @param value The cid to set.
*/
private void setCid(
java.lang.String value) {
java.lang.Class<?> valueClass = value.getClass();
bitField0_ |= 0x00000800;
cid_ = value;
}
/**
* <pre>
* Campaign ID to assist with ad quality checking; the collection of
* creatives for which iurl should be representative.
* Ignored by Google.
* </pre>
*
* <code>optional string cid = 9;</code>
*/
private void clearCid() {
bitField0_ = (bitField0_ & ~0x00000800);
cid_ = getDefaultInstance().getCid();
}
/**
* <pre>
* Campaign ID to assist with ad quality checking; the collection of
* creatives for which iurl should be representative.
* Ignored by Google.
* </pre>
*
* <code>optional string cid = 9;</code>
* @param value The bytes for cid to set.
*/
private void setCidBytes(
com.google.protobuf.ByteString value) {
cid_ = value.toStringUtf8();
bitField0_ |= 0x00000800;
}
public static final int CRID_FIELD_NUMBER = 10;
private java.lang.String crid_;
/**
* <pre>
* Creative ID to assist with ad quality checking.
* Supported by Google.
* </pre>
*
* <code>optional string crid = 10;</code>
* @return Whether the crid field is set.
*/
@java.lang.Override
public boolean hasCrid() {
return ((bitField0_ & 0x00001000) != 0);
}
/**
* <pre>
* Creative ID to assist with ad quality checking.
* Supported by Google.
* </pre>
*
* <code>optional string crid = 10;</code>
* @return The crid.
*/
@java.lang.Override
public java.lang.String getCrid() {
return crid_;
}
/**
* <pre>
* Creative ID to assist with ad quality checking.
* Supported by Google.
* </pre>
*
* <code>optional string crid = 10;</code>
* @return The bytes for crid.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getCridBytes() {
return com.google.protobuf.ByteString.copyFromUtf8(crid_);
}
/**
* <pre>
* Creative ID to assist with ad quality checking.
* Supported by Google.
* </pre>
*
* <code>optional string crid = 10;</code>
* @param value The crid to set.
*/
private void setCrid(
java.lang.String value) {
java.lang.Class<?> valueClass = value.getClass();
bitField0_ |= 0x00001000;
crid_ = value;
}
/**
* <pre>
* Creative ID to assist with ad quality checking.
* Supported by Google.
* </pre>
*
* <code>optional string crid = 10;</code>
*/
private void clearCrid() {
bitField0_ = (bitField0_ & ~0x00001000);
crid_ = getDefaultInstance().getCrid();
}
/**
* <pre>
* Creative ID to assist with ad quality checking.
* Supported by Google.
* </pre>
*
* <code>optional string crid = 10;</code>
* @param value The bytes for crid to set.
*/
private void setCridBytes(
com.google.protobuf.ByteString value) {
crid_ = value.toStringUtf8();
bitField0_ |= 0x00001000;
}
public static final int TACTIC_FIELD_NUMBER = 24;
private java.lang.String tactic_;
/**
* <pre>
* Tactic ID to enable buyers to label bids for reporting to the
* exchange the tactic through which their bid was submitted.
* The specific usage and meaning of the tactic ID should be
* communicated between buyer and exchanges a priori.
* Ignored by Google.
* </pre>
*
* <code>optional string tactic = 24;</code>
* @return Whether the tactic field is set.
*/
@java.lang.Override
public boolean hasTactic() {
return ((bitField0_ & 0x00002000) != 0);
}
/**
* <pre>
* Tactic ID to enable buyers to label bids for reporting to the
* exchange the tactic through which their bid was submitted.
* The specific usage and meaning of the tactic ID should be
* communicated between buyer and exchanges a priori.
* Ignored by Google.
* </pre>
*
* <code>optional string tactic = 24;</code>
* @return The tactic.
*/
@java.lang.Override
public java.lang.String getTactic() {
return tactic_;
}
/**
* <pre>
* Tactic ID to enable buyers to label bids for reporting to the
* exchange the tactic through which their bid was submitted.
* The specific usage and meaning of the tactic ID should be
* communicated between buyer and exchanges a priori.
* Ignored by Google.
* </pre>
*
* <code>optional string tactic = 24;</code>
* @return The bytes for tactic.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getTacticBytes() {
return com.google.protobuf.ByteString.copyFromUtf8(tactic_);
}
/**
* <pre>
* Tactic ID to enable buyers to label bids for reporting to the
* exchange the tactic through which their bid was submitted.
* The specific usage and meaning of the tactic ID should be
* communicated between buyer and exchanges a priori.
* Ignored by Google.
* </pre>
*
* <code>optional string tactic = 24;</code>
* @param value The tactic to set.
*/
private void setTactic(
java.lang.String value) {
java.lang.Class<?> valueClass = value.getClass();
bitField0_ |= 0x00002000;
tactic_ = value;
}
/**
* <pre>
* Tactic ID to enable buyers to label bids for reporting to the
* exchange the tactic through which their bid was submitted.
* The specific usage and meaning of the tactic ID should be
* communicated between buyer and exchanges a priori.
* Ignored by Google.
* </pre>
*
* <code>optional string tactic = 24;</code>
*/
private void clearTactic() {
bitField0_ = (bitField0_ & ~0x00002000);
tactic_ = getDefaultInstance().getTactic();
}
/**
* <pre>
* Tactic ID to enable buyers to label bids for reporting to the
* exchange the tactic through which their bid was submitted.
* The specific usage and meaning of the tactic ID should be
* communicated between buyer and exchanges a priori.
* Ignored by Google.
* </pre>
*
* <code>optional string tactic = 24;</code>
* @param value The bytes for tactic to set.
*/
private void setTacticBytes(
com.google.protobuf.ByteString value) {
tactic_ = value.toStringUtf8();
bitField0_ |= 0x00002000;
}
public static final int CATTAX_FIELD_NUMBER = 30;
private int cattax_;
/**
* <pre>
* The taxonomy in use for cat.
* Ignored by Google.
* </pre>
*
* <code>optional .com.google.openrtb.CategoryTaxonomy cattax = 30 [default = IAB_CONTENT_1_0];</code>
* @return Whether the cattax field is set.
*/
@java.lang.Override
public boolean hasCattax() {
return ((bitField0_ & 0x00004000) != 0);
}
/**
* <pre>
* The taxonomy in use for cat.
* Ignored by Google.
* </pre>
*
* <code>optional .com.google.openrtb.CategoryTaxonomy cattax = 30 [default = IAB_CONTENT_1_0];</code>
* @return The cattax.
*/
@java.lang.Override
public com.particles.mes.protos.openrtb.CategoryTaxonomy getCattax() {
com.particles.mes.protos.openrtb.CategoryTaxonomy result = com.particles.mes.protos.openrtb.CategoryTaxonomy.forNumber(cattax_);
return result == null ? com.particles.mes.protos.openrtb.CategoryTaxonomy.IAB_CONTENT_1_0 : result;
}
/**
* <pre>
* The taxonomy in use for cat.
* Ignored by Google.
* </pre>
*
* <code>optional .com.google.openrtb.CategoryTaxonomy cattax = 30 [default = IAB_CONTENT_1_0];</code>
* @param value The cattax to set.
*/
private void setCattax(com.particles.mes.protos.openrtb.CategoryTaxonomy value) {
cattax_ = value.getNumber();
bitField0_ |= 0x00004000;
}
/**
* <pre>
* The taxonomy in use for cat.
* Ignored by Google.
* </pre>
*
* <code>optional .com.google.openrtb.CategoryTaxonomy cattax = 30 [default = IAB_CONTENT_1_0];</code>
*/
private void clearCattax() {
bitField0_ = (bitField0_ & ~0x00004000);
cattax_ = 1;
}
public static final int CAT_FIELD_NUMBER = 15;
private com.google.protobuf.Internal.ProtobufList<java.lang.String> cat_;
/**
* <pre>
* IAB content categories of the creative.
* The taxonomy to be used is defined by the cattax field.
* Supported by Google.
* </pre>
*
* <code>repeated string cat = 15;</code>
* @return A list containing the cat.
*/
@java.lang.Override
public java.util.List<java.lang.String> getCatList() {
return cat_;
}
/**
* <pre>
* IAB content categories of the creative.
* The taxonomy to be used is defined by the cattax field.
* Supported by Google.
* </pre>
*
* <code>repeated string cat = 15;</code>
* @return The count of cat.
*/
@java.lang.Override
public int getCatCount() {
return cat_.size();
}
/**
* <pre>
* IAB content categories of the creative.
* The taxonomy to be used is defined by the cattax field.
* Supported by Google.
* </pre>
*
* <code>repeated string cat = 15;</code>
* @param index The index of the element to return.
* @return The cat at the given index.
*/
@java.lang.Override
public java.lang.String getCat(int index) {
return cat_.get(index);
}
/**
* <pre>
* IAB content categories of the creative.
* The taxonomy to be used is defined by the cattax field.
* Supported by Google.
* </pre>
*
* <code>repeated string cat = 15;</code>
* @param index The index of the value to return.
* @return The bytes of the cat at the given index.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getCatBytes(int index) {
return com.google.protobuf.ByteString.copyFromUtf8(
cat_.get(index));
}
private void ensureCatIsMutable() {
com.google.protobuf.Internal.ProtobufList<java.lang.String> tmp =
cat_; if (!tmp.isModifiable()) {
cat_ =
com.google.protobuf.GeneratedMessageLite.mutableCopy(tmp);
}
}
/**
* <pre>
* IAB content categories of the creative.
* The taxonomy to be used is defined by the cattax field.
* Supported by Google.
* </pre>
*
* <code>repeated string cat = 15;</code>
* @param index The index to set the value at.
* @param value The cat to set.
*/
private void setCat(
int index, java.lang.String value) {
java.lang.Class<?> valueClass = value.getClass();
ensureCatIsMutable();
cat_.set(index, value);
}
/**
* <pre>
* IAB content categories of the creative.
* The taxonomy to be used is defined by the cattax field.
* Supported by Google.
* </pre>
*
* <code>repeated string cat = 15;</code>
* @param value The cat to add.
*/
private void addCat(
java.lang.String value) {
java.lang.Class<?> valueClass = value.getClass();
ensureCatIsMutable();
cat_.add(value);
}
/**
* <pre>
* IAB content categories of the creative.
* The taxonomy to be used is defined by the cattax field.
* Supported by Google.
* </pre>
*
* <code>repeated string cat = 15;</code>
* @param values The cat to add.
*/
private void addAllCat(
java.lang.Iterable<java.lang.String> values) {
ensureCatIsMutable();
com.google.protobuf.AbstractMessageLite.addAll(
values, cat_);
}
/**
* <pre>
* IAB content categories of the creative.
* The taxonomy to be used is defined by the cattax field.
* Supported by Google.
* </pre>
*
* <code>repeated string cat = 15;</code>
*/
private void clearCat() {
cat_ = com.google.protobuf.GeneratedMessageLite.emptyProtobufList();
}
/**
* <pre>
* IAB content categories of the creative.
* The taxonomy to be used is defined by the cattax field.
* Supported by Google.
* </pre>
*
* <code>repeated string cat = 15;</code>
* @param value The bytes of the cat to add.
*/
private void addCatBytes(
com.google.protobuf.ByteString value) {
ensureCatIsMutable();
cat_.add(value.toStringUtf8());
}
public static final int ATTR_FIELD_NUMBER = 11;
private com.google.protobuf.Internal.IntList attr_;
private static final com.google.protobuf.Internal.ListAdapter.Converter<
java.lang.Integer, com.particles.mes.protos.openrtb.CreativeAttribute> attr_converter_ =
new com.google.protobuf.Internal.ListAdapter.Converter<
java.lang.Integer, com.particles.mes.protos.openrtb.CreativeAttribute>() {
@java.lang.Override
public com.particles.mes.protos.openrtb.CreativeAttribute convert(java.lang.Integer from) {
com.particles.mes.protos.openrtb.CreativeAttribute result = com.particles.mes.protos.openrtb.CreativeAttribute.forNumber(from);
return result == null ? com.particles.mes.protos.openrtb.CreativeAttribute.AUDIO_AUTO_PLAY : result;
}
};
/**
* <pre>
* Set of attributes describing the creative.
* Supported by Google.
* </pre>
*
* <code>repeated .com.google.openrtb.CreativeAttribute attr = 11 [packed = true];</code>
* @return A list containing the attr.
*/
@java.lang.Override
public java.util.List<com.particles.mes.protos.openrtb.CreativeAttribute> getAttrList() {
return new com.google.protobuf.Internal.ListAdapter<
java.lang.Integer, com.particles.mes.protos.openrtb.CreativeAttribute>(attr_, attr_converter_);
}
/**
* <pre>
* Set of attributes describing the creative.
* Supported by Google.
* </pre>
*
* <code>repeated .com.google.openrtb.CreativeAttribute attr = 11 [packed = true];</code>
* @return The count of attr.
*/
@java.lang.Override
public int getAttrCount() {
return attr_.size();
}
/**
* <pre>
* Set of attributes describing the creative.
* Supported by Google.
* </pre>
*
* <code>repeated .com.google.openrtb.CreativeAttribute attr = 11 [packed = true];</code>
* @param index The index of the element to return.
* @return The attr at the given index.
*/
@java.lang.Override
public com.particles.mes.protos.openrtb.CreativeAttribute getAttr(int index) {
com.particles.mes.protos.openrtb.CreativeAttribute result = com.particles.mes.protos.openrtb.CreativeAttribute.forNumber(attr_.getInt(index));
return result == null ? com.particles.mes.protos.openrtb.CreativeAttribute.AUDIO_AUTO_PLAY : result;
}
private int attrMemoizedSerializedSize;
private void ensureAttrIsMutable() {
com.google.protobuf.Internal.IntList tmp = attr_;
if (!tmp.isModifiable()) {
attr_ =
com.google.protobuf.GeneratedMessageLite.mutableCopy(tmp);
}
}
/**
* <pre>
* Set of attributes describing the creative.
* Supported by Google.
* </pre>
*
* <code>repeated .com.google.openrtb.CreativeAttribute attr = 11 [packed = true];</code>
* @param index The index to set the value at.
* @param value The attr to set.
*/
private void setAttr(
int index, com.particles.mes.protos.openrtb.CreativeAttribute value) {
value.getClass();
ensureAttrIsMutable();
attr_.setInt(index, value.getNumber());
}
/**
* <pre>
* Set of attributes describing the creative.
* Supported by Google.
* </pre>
*
* <code>repeated .com.google.openrtb.CreativeAttribute attr = 11 [packed = true];</code>
* @param value The attr to add.
*/
private void addAttr(com.particles.mes.protos.openrtb.CreativeAttribute value) {
value.getClass();
ensureAttrIsMutable();
attr_.addInt(value.getNumber());
}
/**
* <pre>
* Set of attributes describing the creative.
* Supported by Google.
* </pre>
*
* <code>repeated .com.google.openrtb.CreativeAttribute attr = 11 [packed = true];</code>
* @param values The attr to add.
*/
private void addAllAttr(
java.lang.Iterable<? extends com.particles.mes.protos.openrtb.CreativeAttribute> values) {
ensureAttrIsMutable();
for (com.particles.mes.protos.openrtb.CreativeAttribute value : values) {
attr_.addInt(value.getNumber());
}
}
/**
* <pre>
* Set of attributes describing the creative.
* Supported by Google.
* </pre>
*
* <code>repeated .com.google.openrtb.CreativeAttribute attr = 11 [packed = true];</code>
*/
private void clearAttr() {
attr_ = emptyIntList();
}
public static final int APIS_FIELD_NUMBER = 31;
private com.google.protobuf.Internal.IntList apis_;
private static final com.google.protobuf.Internal.ListAdapter.Converter<
java.lang.Integer, com.particles.mes.protos.openrtb.APIFramework> apis_converter_ =
new com.google.protobuf.Internal.ListAdapter.Converter<
java.lang.Integer, com.particles.mes.protos.openrtb.APIFramework>() {
@java.lang.Override
public com.particles.mes.protos.openrtb.APIFramework convert(java.lang.Integer from) {
com.particles.mes.protos.openrtb.APIFramework result = com.particles.mes.protos.openrtb.APIFramework.forNumber(from);
return result == null ? com.particles.mes.protos.openrtb.APIFramework.VPAID_1 : result;
}
};
/**
* <pre>
* List of supported APIs for the markup. If an API is not explicitly
* listed, it is assumed to be unsupported.
* Ignored by Google.
* </pre>
*
* <code>repeated .com.google.openrtb.APIFramework apis = 31 [packed = true];</code>
* @return A list containing the apis.
*/
@java.lang.Override
public java.util.List<com.particles.mes.protos.openrtb.APIFramework> getApisList() {
return new com.google.protobuf.Internal.ListAdapter<
java.lang.Integer, com.particles.mes.protos.openrtb.APIFramework>(apis_, apis_converter_);
}
/**
* <pre>
* List of supported APIs for the markup. If an API is not explicitly
* listed, it is assumed to be unsupported.
* Ignored by Google.
* </pre>
*
* <code>repeated .com.google.openrtb.APIFramework apis = 31 [packed = true];</code>
* @return The count of apis.
*/
@java.lang.Override
public int getApisCount() {
return apis_.size();
}
/**
* <pre>
* List of supported APIs for the markup. If an API is not explicitly
* listed, it is assumed to be unsupported.
* Ignored by Google.
* </pre>
*
* <code>repeated .com.google.openrtb.APIFramework apis = 31 [packed = true];</code>
* @param index The index of the element to return.
* @return The apis at the given index.
*/
@java.lang.Override
public com.particles.mes.protos.openrtb.APIFramework getApis(int index) {
com.particles.mes.protos.openrtb.APIFramework result = com.particles.mes.protos.openrtb.APIFramework.forNumber(apis_.getInt(index));
return result == null ? com.particles.mes.protos.openrtb.APIFramework.VPAID_1 : result;
}
private int apisMemoizedSerializedSize;
private void ensureApisIsMutable() {
com.google.protobuf.Internal.IntList tmp = apis_;
if (!tmp.isModifiable()) {
apis_ =
com.google.protobuf.GeneratedMessageLite.mutableCopy(tmp);
}
}
/**
* <pre>
* List of supported APIs for the markup. If an API is not explicitly
* listed, it is assumed to be unsupported.
* Ignored by Google.
* </pre>
*
* <code>repeated .com.google.openrtb.APIFramework apis = 31 [packed = true];</code>
* @param index The index to set the value at.
* @param value The apis to set.
*/
private void setApis(
int index, com.particles.mes.protos.openrtb.APIFramework value) {
value.getClass();
ensureApisIsMutable();
apis_.setInt(index, value.getNumber());
}
/**
* <pre>
* List of supported APIs for the markup. If an API is not explicitly
* listed, it is assumed to be unsupported.
* Ignored by Google.
* </pre>
*
* <code>repeated .com.google.openrtb.APIFramework apis = 31 [packed = true];</code>
* @param value The apis to add.
*/
private void addApis(com.particles.mes.protos.openrtb.APIFramework value) {
value.getClass();
ensureApisIsMutable();
apis_.addInt(value.getNumber());
}
/**
* <pre>
* List of supported APIs for the markup. If an API is not explicitly
* listed, it is assumed to be unsupported.
* Ignored by Google.
* </pre>
*
* <code>repeated .com.google.openrtb.APIFramework apis = 31 [packed = true];</code>
* @param values The apis to add.
*/
private void addAllApis(
java.lang.Iterable<? extends com.particles.mes.protos.openrtb.APIFramework> values) {
ensureApisIsMutable();
for (com.particles.mes.protos.openrtb.APIFramework value : values) {
apis_.addInt(value.getNumber());
}
}
/**
* <pre>
* List of supported APIs for the markup. If an API is not explicitly
* listed, it is assumed to be unsupported.
* Ignored by Google.
* </pre>
*
* <code>repeated .com.google.openrtb.APIFramework apis = 31 [packed = true];</code>
*/
private void clearApis() {
apis_ = emptyIntList();
}
public static final int API_FIELD_NUMBER = 18;
private int api_;
/**
* <pre>
* DEPRECATED in OpenRTB 2.6+; prefer the field apis.
* API required by the markup if applicable.
* Supported by Google.
* </pre>
*
* <code>optional .com.google.openrtb.APIFramework api = 18 [deprecated = true];</code>
* @deprecated com.google.openrtb.BidResponse.SeatBid.Bid.api is deprecated.
* See openrtb/openrtb-v26.proto;l=2101
* @return Whether the api field is set.
*/
@java.lang.Override
@java.lang.Deprecated public boolean hasApi() {
return ((bitField0_ & 0x00008000) != 0);
}
/**
* <pre>
* DEPRECATED in OpenRTB 2.6+; prefer the field apis.
* API required by the markup if applicable.
* Supported by Google.
* </pre>
*
* <code>optional .com.google.openrtb.APIFramework api = 18 [deprecated = true];</code>
* @deprecated com.google.openrtb.BidResponse.SeatBid.Bid.api is deprecated.
* See openrtb/openrtb-v26.proto;l=2101
* @return The api.
*/
@java.lang.Override
@java.lang.Deprecated public com.particles.mes.protos.openrtb.APIFramework getApi() {
com.particles.mes.protos.openrtb.APIFramework result = com.particles.mes.protos.openrtb.APIFramework.forNumber(api_);
return result == null ? com.particles.mes.protos.openrtb.APIFramework.VPAID_1 : result;
}
/**
* <pre>
* DEPRECATED in OpenRTB 2.6+; prefer the field apis.
* API required by the markup if applicable.
* Supported by Google.
* </pre>
*
* <code>optional .com.google.openrtb.APIFramework api = 18 [deprecated = true];</code>
* @deprecated com.google.openrtb.BidResponse.SeatBid.Bid.api is deprecated.
* See openrtb/openrtb-v26.proto;l=2101
* @param value The api to set.
*/
private void setApi(com.particles.mes.protos.openrtb.APIFramework value) {
api_ = value.getNumber();
bitField0_ |= 0x00008000;
}
/**
* <pre>
* DEPRECATED in OpenRTB 2.6+; prefer the field apis.
* API required by the markup if applicable.
* Supported by Google.
* </pre>
*
* <code>optional .com.google.openrtb.APIFramework api = 18 [deprecated = true];</code>
* @deprecated com.google.openrtb.BidResponse.SeatBid.Bid.api is deprecated.
* See openrtb/openrtb-v26.proto;l=2101
*/
private void clearApi() {
bitField0_ = (bitField0_ & ~0x00008000);
api_ = 1;
}
public static final int PROTOCOL_FIELD_NUMBER = 19;
private int protocol_;
/**
* <pre>
* Video response protocol of the markup if applicable.
* Ignored by Google.
* </pre>
*
* <code>optional .com.google.openrtb.Protocol protocol = 19;</code>
* @return Whether the protocol field is set.
*/
@java.lang.Override
public boolean hasProtocol() {
return ((bitField0_ & 0x00010000) != 0);
}
/**
* <pre>
* Video response protocol of the markup if applicable.
* Ignored by Google.
* </pre>
*
* <code>optional .com.google.openrtb.Protocol protocol = 19;</code>
* @return The protocol.
*/
@java.lang.Override
public com.particles.mes.protos.openrtb.Protocol getProtocol() {
com.particles.mes.protos.openrtb.Protocol result = com.particles.mes.protos.openrtb.Protocol.forNumber(protocol_);
return result == null ? com.particles.mes.protos.openrtb.Protocol.VAST_1_0 : result;
}
/**
* <pre>
* Video response protocol of the markup if applicable.
* Ignored by Google.
* </pre>
*
* <code>optional .com.google.openrtb.Protocol protocol = 19;</code>
* @param value The protocol to set.
*/
private void setProtocol(com.particles.mes.protos.openrtb.Protocol value) {
protocol_ = value.getNumber();
bitField0_ |= 0x00010000;
}
/**
* <pre>
* Video response protocol of the markup if applicable.
* Ignored by Google.
* </pre>
*
* <code>optional .com.google.openrtb.Protocol protocol = 19;</code>
*/
private void clearProtocol() {
bitField0_ = (bitField0_ & ~0x00010000);
protocol_ = 1;
}
public static final int QAGMEDIARATING_FIELD_NUMBER = 20;
private int qagmediarating_;
/**
* <pre>
* Creative media rating per QAG guidelines.
* Ignored by Google.
* </pre>
*
* <code>optional .com.google.openrtb.QAGMediaRating qagmediarating = 20;</code>
* @return Whether the qagmediarating field is set.
*/
@java.lang.Override
public boolean hasQagmediarating() {
return ((bitField0_ & 0x00020000) != 0);
}
/**
* <pre>
* Creative media rating per QAG guidelines.
* Ignored by Google.
* </pre>
*
* <code>optional .com.google.openrtb.QAGMediaRating qagmediarating = 20;</code>
* @return The qagmediarating.
*/
@java.lang.Override
public com.particles.mes.protos.openrtb.QAGMediaRating getQagmediarating() {
com.particles.mes.protos.openrtb.QAGMediaRating result = com.particles.mes.protos.openrtb.QAGMediaRating.forNumber(qagmediarating_);
return result == null ? com.particles.mes.protos.openrtb.QAGMediaRating.ALL_AUDIENCES : result;
}
/**
* <pre>
* Creative media rating per QAG guidelines.
* Ignored by Google.
* </pre>
*
* <code>optional .com.google.openrtb.QAGMediaRating qagmediarating = 20;</code>
* @param value The qagmediarating to set.
*/
private void setQagmediarating(com.particles.mes.protos.openrtb.QAGMediaRating value) {
qagmediarating_ = value.getNumber();
bitField0_ |= 0x00020000;
}
/**
* <pre>
* Creative media rating per QAG guidelines.
* Ignored by Google.
* </pre>
*
* <code>optional .com.google.openrtb.QAGMediaRating qagmediarating = 20;</code>
*/
private void clearQagmediarating() {
bitField0_ = (bitField0_ & ~0x00020000);
qagmediarating_ = 1;
}
public static final int LANGUAGE_FIELD_NUMBER = 25;
private java.lang.String language_;
/**
* <pre>
* Language of the creative using ISO-639-1-alpha-2. The nonstandard
* code "xx" may also be used if the creative has no
* linguistic content (for example, a banner with just a company logo).
* Only one of language or langb should be present.
* Ignored by Google.
* </pre>
*
* <code>optional string language = 25;</code>
* @return Whether the language field is set.
*/
@java.lang.Override
public boolean hasLanguage() {
return ((bitField0_ & 0x00040000) != 0);
}
/**
* <pre>
* Language of the creative using ISO-639-1-alpha-2. The nonstandard
* code "xx" may also be used if the creative has no
* linguistic content (for example, a banner with just a company logo).
* Only one of language or langb should be present.
* Ignored by Google.
* </pre>
*
* <code>optional string language = 25;</code>
* @return The language.
*/
@java.lang.Override
public java.lang.String getLanguage() {
return language_;
}
/**
* <pre>
* Language of the creative using ISO-639-1-alpha-2. The nonstandard
* code "xx" may also be used if the creative has no
* linguistic content (for example, a banner with just a company logo).
* Only one of language or langb should be present.
* Ignored by Google.
* </pre>
*
* <code>optional string language = 25;</code>
* @return The bytes for language.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getLanguageBytes() {
return com.google.protobuf.ByteString.copyFromUtf8(language_);
}
/**
* <pre>
* Language of the creative using ISO-639-1-alpha-2. The nonstandard
* code "xx" may also be used if the creative has no
* linguistic content (for example, a banner with just a company logo).
* Only one of language or langb should be present.
* Ignored by Google.
* </pre>
*
* <code>optional string language = 25;</code>
* @param value The language to set.
*/
private void setLanguage(
java.lang.String value) {
java.lang.Class<?> valueClass = value.getClass();
bitField0_ |= 0x00040000;
language_ = value;
}
/**
* <pre>
* Language of the creative using ISO-639-1-alpha-2. The nonstandard
* code "xx" may also be used if the creative has no
* linguistic content (for example, a banner with just a company logo).
* Only one of language or langb should be present.
* Ignored by Google.
* </pre>
*
* <code>optional string language = 25;</code>
*/
private void clearLanguage() {
bitField0_ = (bitField0_ & ~0x00040000);
language_ = getDefaultInstance().getLanguage();
}
/**
* <pre>
* Language of the creative using ISO-639-1-alpha-2. The nonstandard
* code "xx" may also be used if the creative has no
* linguistic content (for example, a banner with just a company logo).
* Only one of language or langb should be present.
* Ignored by Google.
* </pre>
*
* <code>optional string language = 25;</code>
* @param value The bytes for language to set.
*/
private void setLanguageBytes(
com.google.protobuf.ByteString value) {
language_ = value.toStringUtf8();
bitField0_ |= 0x00040000;
}
public static final int LANGB_FIELD_NUMBER = 29;
private java.lang.String langb_;
/**
* <pre>
* Language of the creative using IETF BCP 47.
* Only one of language or langb should be present.
* Ignored by Google.
* </pre>
*
* <code>optional string langb = 29;</code>
* @return Whether the langb field is set.
*/
@java.lang.Override
public boolean hasLangb() {
return ((bitField0_ & 0x00080000) != 0);
}
/**
* <pre>
* Language of the creative using IETF BCP 47.
* Only one of language or langb should be present.
* Ignored by Google.
* </pre>
*
* <code>optional string langb = 29;</code>
* @return The langb.
*/
@java.lang.Override
public java.lang.String getLangb() {
return langb_;
}
/**
* <pre>
* Language of the creative using IETF BCP 47.
* Only one of language or langb should be present.
* Ignored by Google.
* </pre>
*
* <code>optional string langb = 29;</code>
* @return The bytes for langb.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getLangbBytes() {
return com.google.protobuf.ByteString.copyFromUtf8(langb_);
}
/**
* <pre>
* Language of the creative using IETF BCP 47.
* Only one of language or langb should be present.
* Ignored by Google.
* </pre>
*
* <code>optional string langb = 29;</code>
* @param value The langb to set.
*/
private void setLangb(
java.lang.String value) {
java.lang.Class<?> valueClass = value.getClass();
bitField0_ |= 0x00080000;
langb_ = value;
}
/**
* <pre>
* Language of the creative using IETF BCP 47.
* Only one of language or langb should be present.
* Ignored by Google.
* </pre>
*
* <code>optional string langb = 29;</code>
*/
private void clearLangb() {
bitField0_ = (bitField0_ & ~0x00080000);
langb_ = getDefaultInstance().getLangb();
}
/**
* <pre>
* Language of the creative using IETF BCP 47.
* Only one of language or langb should be present.
* Ignored by Google.
* </pre>
*
* <code>optional string langb = 29;</code>
* @param value The bytes for langb to set.
*/
private void setLangbBytes(
com.google.protobuf.ByteString value) {
langb_ = value.toStringUtf8();
bitField0_ |= 0x00080000;
}
public static final int DEALID_FIELD_NUMBER = 13;
private java.lang.String dealid_;
/**
* <pre>
* Reference to the deal.id from the bid request if this bid pertains to a
* private marketplace direct deal.
* Supported by Google.
* </pre>
*
* <code>optional string dealid = 13;</code>
* @return Whether the dealid field is set.
*/
@java.lang.Override
public boolean hasDealid() {
return ((bitField0_ & 0x00100000) != 0);
}
/**
* <pre>
* Reference to the deal.id from the bid request if this bid pertains to a
* private marketplace direct deal.
* Supported by Google.
* </pre>
*
* <code>optional string dealid = 13;</code>
* @return The dealid.
*/
@java.lang.Override
public java.lang.String getDealid() {
return dealid_;
}
/**
* <pre>
* Reference to the deal.id from the bid request if this bid pertains to a
* private marketplace direct deal.
* Supported by Google.
* </pre>
*
* <code>optional string dealid = 13;</code>
* @return The bytes for dealid.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getDealidBytes() {
return com.google.protobuf.ByteString.copyFromUtf8(dealid_);
}
/**
* <pre>
* Reference to the deal.id from the bid request if this bid pertains to a
* private marketplace direct deal.
* Supported by Google.
* </pre>
*
* <code>optional string dealid = 13;</code>
* @param value The dealid to set.
*/
private void setDealid(
java.lang.String value) {
java.lang.Class<?> valueClass = value.getClass();
bitField0_ |= 0x00100000;
dealid_ = value;
}
/**
* <pre>
* Reference to the deal.id from the bid request if this bid pertains to a
* private marketplace direct deal.
* Supported by Google.
* </pre>
*
* <code>optional string dealid = 13;</code>
*/
private void clearDealid() {
bitField0_ = (bitField0_ & ~0x00100000);
dealid_ = getDefaultInstance().getDealid();
}
/**
* <pre>
* Reference to the deal.id from the bid request if this bid pertains to a
* private marketplace direct deal.
* Supported by Google.
* </pre>
*
* <code>optional string dealid = 13;</code>
* @param value The bytes for dealid to set.
*/
private void setDealidBytes(
com.google.protobuf.ByteString value) {
dealid_ = value.toStringUtf8();
bitField0_ |= 0x00100000;
}
public static final int W_FIELD_NUMBER = 16;
private int w_;
/**
* <pre>
* Width of the creative in device independent pixels (DIPS).
* Supported by Google.
* </pre>
*
* <code>optional int32 w = 16;</code>
* @return Whether the w field is set.
*/
@java.lang.Override
public boolean hasW() {
return ((bitField0_ & 0x00200000) != 0);
}
/**
* <pre>
* Width of the creative in device independent pixels (DIPS).
* Supported by Google.
* </pre>
*
* <code>optional int32 w = 16;</code>
* @return The w.
*/
@java.lang.Override
public int getW() {
return w_;
}
/**
* <pre>
* Width of the creative in device independent pixels (DIPS).
* Supported by Google.
* </pre>
*
* <code>optional int32 w = 16;</code>
* @param value The w to set.
*/
private void setW(int value) {
bitField0_ |= 0x00200000;
w_ = value;
}
/**
* <pre>
* Width of the creative in device independent pixels (DIPS).
* Supported by Google.
* </pre>
*
* <code>optional int32 w = 16;</code>
*/
private void clearW() {
bitField0_ = (bitField0_ & ~0x00200000);
w_ = 0;
}
public static final int H_FIELD_NUMBER = 17;
private int h_;
/**
* <pre>
* Height of the creative in device independent pixels (DIPS).
* Supported by Google.
* </pre>
*
* <code>optional int32 h = 17;</code>
* @return Whether the h field is set.
*/
@java.lang.Override
public boolean hasH() {
return ((bitField0_ & 0x00400000) != 0);
}
/**
* <pre>
* Height of the creative in device independent pixels (DIPS).
* Supported by Google.
* </pre>
*
* <code>optional int32 h = 17;</code>
* @return The h.
*/
@java.lang.Override
public int getH() {
return h_;
}
/**
* <pre>
* Height of the creative in device independent pixels (DIPS).
* Supported by Google.
* </pre>
*
* <code>optional int32 h = 17;</code>
* @param value The h to set.
*/
private void setH(int value) {
bitField0_ |= 0x00400000;
h_ = value;
}
/**
* <pre>
* Height of the creative in device independent pixels (DIPS).
* Supported by Google.
* </pre>
*
* <code>optional int32 h = 17;</code>
*/
private void clearH() {
bitField0_ = (bitField0_ & ~0x00400000);
h_ = 0;
}
public static final int WRATIO_FIELD_NUMBER = 26;
private int wratio_;
/**
* <pre>
* Relative width of the creative when expressing size as a ratio.
* Required for Flex Ads.
* Ignored by Google.
* </pre>
*
* <code>optional int32 wratio = 26;</code>
* @return Whether the wratio field is set.
*/
@java.lang.Override
public boolean hasWratio() {
return ((bitField0_ & 0x00800000) != 0);
}
/**
* <pre>
* Relative width of the creative when expressing size as a ratio.
* Required for Flex Ads.
* Ignored by Google.
* </pre>
*
* <code>optional int32 wratio = 26;</code>
* @return The wratio.
*/
@java.lang.Override
public int getWratio() {
return wratio_;
}
/**
* <pre>
* Relative width of the creative when expressing size as a ratio.
* Required for Flex Ads.
* Ignored by Google.
* </pre>
*
* <code>optional int32 wratio = 26;</code>
* @param value The wratio to set.
*/
private void setWratio(int value) {
bitField0_ |= 0x00800000;
wratio_ = value;
}
/**
* <pre>
* Relative width of the creative when expressing size as a ratio.
* Required for Flex Ads.
* Ignored by Google.
* </pre>
*
* <code>optional int32 wratio = 26;</code>
*/
private void clearWratio() {
bitField0_ = (bitField0_ & ~0x00800000);
wratio_ = 0;
}
public static final int HRATIO_FIELD_NUMBER = 27;
private int hratio_;
/**
* <pre>
* Relative height of the creative when expressing size as a ratio.
* Required for Flex Ads.
* Ignored by Google.
* </pre>
*
* <code>optional int32 hratio = 27;</code>
* @return Whether the hratio field is set.
*/
@java.lang.Override
public boolean hasHratio() {
return ((bitField0_ & 0x01000000) != 0);
}
/**
* <pre>
* Relative height of the creative when expressing size as a ratio.
* Required for Flex Ads.
* Ignored by Google.
* </pre>
*
* <code>optional int32 hratio = 27;</code>
* @return The hratio.
*/
@java.lang.Override
public int getHratio() {
return hratio_;
}
/**
* <pre>
* Relative height of the creative when expressing size as a ratio.
* Required for Flex Ads.
* Ignored by Google.
* </pre>
*
* <code>optional int32 hratio = 27;</code>
* @param value The hratio to set.
*/
private void setHratio(int value) {
bitField0_ |= 0x01000000;
hratio_ = value;
}
/**
* <pre>
* Relative height of the creative when expressing size as a ratio.
* Required for Flex Ads.
* Ignored by Google.
* </pre>
*
* <code>optional int32 hratio = 27;</code>
*/
private void clearHratio() {
bitField0_ = (bitField0_ & ~0x01000000);
hratio_ = 0;
}
public static final int EXP_FIELD_NUMBER = 21;
private int exp_;
/**
* <pre>
* Advisory as to the number of seconds the bidder is willing to
* wait between the auction and the actual impression.
* Ignored by Google.
* </pre>
*
* <code>optional int32 exp = 21;</code>
* @return Whether the exp field is set.
*/
@java.lang.Override
public boolean hasExp() {
return ((bitField0_ & 0x02000000) != 0);
}
/**
* <pre>
* Advisory as to the number of seconds the bidder is willing to
* wait between the auction and the actual impression.
* Ignored by Google.
* </pre>
*
* <code>optional int32 exp = 21;</code>
* @return The exp.
*/
@java.lang.Override
public int getExp() {
return exp_;
}
/**
* <pre>
* Advisory as to the number of seconds the bidder is willing to
* wait between the auction and the actual impression.
* Ignored by Google.
* </pre>
*
* <code>optional int32 exp = 21;</code>
* @param value The exp to set.
*/
private void setExp(int value) {
bitField0_ |= 0x02000000;
exp_ = value;
}
/**
* <pre>
* Advisory as to the number of seconds the bidder is willing to
* wait between the auction and the actual impression.
* Ignored by Google.
* </pre>
*
* <code>optional int32 exp = 21;</code>
*/
private void clearExp() {
bitField0_ = (bitField0_ & ~0x02000000);
exp_ = 0;
}
public static final int DUR_FIELD_NUMBER = 32;
private int dur_;
/**
* <pre>
* Duration of the video or audio creative in seconds.
* Ignored by Google.
* </pre>
*
* <code>optional int32 dur = 32;</code>
* @return Whether the dur field is set.
*/
@java.lang.Override
public boolean hasDur() {
return ((bitField0_ & 0x04000000) != 0);
}
/**
* <pre>
* Duration of the video or audio creative in seconds.
* Ignored by Google.
* </pre>
*
* <code>optional int32 dur = 32;</code>
* @return The dur.
*/
@java.lang.Override
public int getDur() {
return dur_;
}
/**
* <pre>
* Duration of the video or audio creative in seconds.
* Ignored by Google.
* </pre>
*
* <code>optional int32 dur = 32;</code>
* @param value The dur to set.
*/
private void setDur(int value) {
bitField0_ |= 0x04000000;
dur_ = value;
}
/**
* <pre>
* Duration of the video or audio creative in seconds.
* Ignored by Google.
* </pre>
*
* <code>optional int32 dur = 32;</code>
*/
private void clearDur() {
bitField0_ = (bitField0_ & ~0x04000000);
dur_ = 0;
}
public static final int SLOTINPOD_FIELD_NUMBER = 28;
private int slotinpod_;
/**
* <pre>
* Indicates that the bid is only eligible
* for a specific position within the pod.
* This field is currently only supported for rewarded video pods
* requests.
* </pre>
*
* <code>optional .com.google.openrtb.SlotPositionInPod slotinpod = 28;</code>
* @return Whether the slotinpod field is set.
*/
@java.lang.Override
public boolean hasSlotinpod() {
return ((bitField0_ & 0x08000000) != 0);
}
/**
* <pre>
* Indicates that the bid is only eligible
* for a specific position within the pod.
* This field is currently only supported for rewarded video pods
* requests.
* </pre>
*
* <code>optional .com.google.openrtb.SlotPositionInPod slotinpod = 28;</code>
* @return The slotinpod.
*/
@java.lang.Override
public com.particles.mes.protos.openrtb.SlotPositionInPod getSlotinpod() {
com.particles.mes.protos.openrtb.SlotPositionInPod result = com.particles.mes.protos.openrtb.SlotPositionInPod.forNumber(slotinpod_);
return result == null ? com.particles.mes.protos.openrtb.SlotPositionInPod.SLOT_POSITION_POD_ANY : result;
}
/**
* <pre>
* Indicates that the bid is only eligible
* for a specific position within the pod.
* This field is currently only supported for rewarded video pods
* requests.
* </pre>
*
* <code>optional .com.google.openrtb.SlotPositionInPod slotinpod = 28;</code>
* @param value The slotinpod to set.
*/
private void setSlotinpod(com.particles.mes.protos.openrtb.SlotPositionInPod value) {
slotinpod_ = value.getNumber();
bitField0_ |= 0x08000000;
}
/**
* <pre>
* Indicates that the bid is only eligible
* for a specific position within the pod.
* This field is currently only supported for rewarded video pods
* requests.
* </pre>
*
* <code>optional .com.google.openrtb.SlotPositionInPod slotinpod = 28;</code>
*/
private void clearSlotinpod() {
bitField0_ = (bitField0_ & ~0x08000000);
slotinpod_ = 0;
}
public static final int MTYPE_FIELD_NUMBER = 33;
private int mtype_;
/**
* <pre>
* Type of the creative markup so that it can properly be
* associated with the right sub-object of the BidRequest.Imp.
* Ignored by Google.
* </pre>
*
* <code>optional .com.google.openrtb.CreativeMarkupType mtype = 33;</code>
* @return Whether the mtype field is set.
*/
@java.lang.Override
public boolean hasMtype() {
return ((bitField0_ & 0x10000000) != 0);
}
/**
* <pre>
* Type of the creative markup so that it can properly be
* associated with the right sub-object of the BidRequest.Imp.
* Ignored by Google.
* </pre>
*
* <code>optional .com.google.openrtb.CreativeMarkupType mtype = 33;</code>
* @return The mtype.
*/
@java.lang.Override
public com.particles.mes.protos.openrtb.CreativeMarkupType getMtype() {
com.particles.mes.protos.openrtb.CreativeMarkupType result = com.particles.mes.protos.openrtb.CreativeMarkupType.forNumber(mtype_);
return result == null ? com.particles.mes.protos.openrtb.CreativeMarkupType.CREATIVE_MARKUP_BANNER : result;
}
/**
* <pre>
* Type of the creative markup so that it can properly be
* associated with the right sub-object of the BidRequest.Imp.
* Ignored by Google.
* </pre>
*
* <code>optional .com.google.openrtb.CreativeMarkupType mtype = 33;</code>
* @param value The mtype to set.
*/
private void setMtype(com.particles.mes.protos.openrtb.CreativeMarkupType value) {
mtype_ = value.getNumber();
bitField0_ |= 0x10000000;
}
/**
* <pre>
* Type of the creative markup so that it can properly be
* associated with the right sub-object of the BidRequest.Imp.
* Ignored by Google.
* </pre>
*
* <code>optional .com.google.openrtb.CreativeMarkupType mtype = 33;</code>
*/
private void clearMtype() {
bitField0_ = (bitField0_ & ~0x10000000);
mtype_ = 1;
}
public static final int EXT_FIELD_NUMBER = 90;
private java.lang.String ext_;
/**
* <pre>
* Extension
* </pre>
*
* <code>optional string ext = 90;</code>
* @return Whether the ext field is set.
*/
@java.lang.Override
public boolean hasExt() {
return ((bitField0_ & 0x20000000) != 0);
}
/**
* <pre>
* Extension
* </pre>
*
* <code>optional string ext = 90;</code>
* @return The ext.
*/
@java.lang.Override
public java.lang.String getExt() {
return ext_;
}
/**
* <pre>
* Extension
* </pre>
*
* <code>optional string ext = 90;</code>
* @return The bytes for ext.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getExtBytes() {
return com.google.protobuf.ByteString.copyFromUtf8(ext_);
}
/**
* <pre>
* Extension
* </pre>
*
* <code>optional string ext = 90;</code>
* @param value The ext to set.
*/
private void setExt(
java.lang.String value) {
java.lang.Class<?> valueClass = value.getClass();
bitField0_ |= 0x20000000;
ext_ = value;
}
/**
* <pre>
* Extension
* </pre>
*
* <code>optional string ext = 90;</code>
*/
private void clearExt() {
bitField0_ = (bitField0_ & ~0x20000000);
ext_ = getDefaultInstance().getExt();
}
/**
* <pre>
* Extension
* </pre>
*
* <code>optional string ext = 90;</code>
* @param value The bytes for ext to set.
*/
private void setExtBytes(
com.google.protobuf.ByteString value) {
ext_ = value.toStringUtf8();
bitField0_ |= 0x20000000;
}
public static com.particles.mes.protos.openrtb.BidResponse.SeatBid.Bid parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, data);
}
public static com.particles.mes.protos.openrtb.BidResponse.SeatBid.Bid parseFrom(
java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, data, extensionRegistry);
}
public static com.particles.mes.protos.openrtb.BidResponse.SeatBid.Bid parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, data);
}
public static com.particles.mes.protos.openrtb.BidResponse.SeatBid.Bid parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, data, extensionRegistry);
}
public static com.particles.mes.protos.openrtb.BidResponse.SeatBid.Bid parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, data);
}
public static com.particles.mes.protos.openrtb.BidResponse.SeatBid.Bid parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, data, extensionRegistry);
}
public static com.particles.mes.protos.openrtb.BidResponse.SeatBid.Bid parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, input);
}
public static com.particles.mes.protos.openrtb.BidResponse.SeatBid.Bid parseFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, input, extensionRegistry);
}
public static com.particles.mes.protos.openrtb.BidResponse.SeatBid.Bid parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return parseDelimitedFrom(DEFAULT_INSTANCE, input);
}
public static com.particles.mes.protos.openrtb.BidResponse.SeatBid.Bid parseDelimitedFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return parseDelimitedFrom(DEFAULT_INSTANCE, input, extensionRegistry);
}
public static com.particles.mes.protos.openrtb.BidResponse.SeatBid.Bid parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, input);
}
public static com.particles.mes.protos.openrtb.BidResponse.SeatBid.Bid parseFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, input, extensionRegistry);
}
public static Builder newBuilder() {
return (Builder) DEFAULT_INSTANCE.createBuilder();
}
public static Builder newBuilder(com.particles.mes.protos.openrtb.BidResponse.SeatBid.Bid prototype) {
return (Builder) DEFAULT_INSTANCE.createBuilder(prototype);
}
/**
* <pre>
* OpenRTB 2.0: A SeatBid object contains one or more Bid objects,
* each of which relates to a specific impression in the bid request
* through the impid attribute and constitutes an offer to buy that
* impression for a given price.
* </pre>
*
* Protobuf type {@code com.google.openrtb.BidResponse.SeatBid.Bid}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageLite.ExtendableBuilder<
com.particles.mes.protos.openrtb.BidResponse.SeatBid.Bid, Builder> implements
// @@protoc_insertion_point(builder_implements:com.google.openrtb.BidResponse.SeatBid.Bid)
com.particles.mes.protos.openrtb.BidResponse.SeatBid.BidOrBuilder {
// Construct using com.particles.mes.protos.openrtb.BidResponse.SeatBid.Bid.newBuilder()
private Builder() {
super(DEFAULT_INSTANCE);
}
@java.lang.Override
public AdmOneofCase
getAdmOneofCase() {
return instance.getAdmOneofCase();
}
public Builder clearAdmOneof() {
copyOnWrite();
instance.clearAdmOneof();
return this;
}
/**
* <pre>
* Optional means of conveying ad markup in case the bid wins;
* supersedes the win notice if markup is included in both.
* For native ad bids, exactly one of {adm, adm_native} should be used.
* Supported by Google. Standard field, should be used for OpenRTB/JSON.
* </pre>
*
* <code>string adm = 6;</code>
* @return Whether the adm field is set.
*/
@java.lang.Override
public boolean hasAdm() {
return instance.hasAdm();
}
/**
* <pre>
* Optional means of conveying ad markup in case the bid wins;
* supersedes the win notice if markup is included in both.
* For native ad bids, exactly one of {adm, adm_native} should be used.
* Supported by Google. Standard field, should be used for OpenRTB/JSON.
* </pre>
*
* <code>string adm = 6;</code>
* @return The adm.
*/
@java.lang.Override
public java.lang.String getAdm() {
return instance.getAdm();
}
/**
* <pre>
* Optional means of conveying ad markup in case the bid wins;
* supersedes the win notice if markup is included in both.
* For native ad bids, exactly one of {adm, adm_native} should be used.
* Supported by Google. Standard field, should be used for OpenRTB/JSON.
* </pre>
*
* <code>string adm = 6;</code>
* @return The bytes for adm.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getAdmBytes() {
return instance.getAdmBytes();
}
/**
* <pre>
* Optional means of conveying ad markup in case the bid wins;
* supersedes the win notice if markup is included in both.
* For native ad bids, exactly one of {adm, adm_native} should be used.
* Supported by Google. Standard field, should be used for OpenRTB/JSON.
* </pre>
*
* <code>string adm = 6;</code>
* @param value The adm to set.
* @return This builder for chaining.
*/
public Builder setAdm(
java.lang.String value) {
copyOnWrite();
instance.setAdm(value);
return this;
}
/**
* <pre>
* Optional means of conveying ad markup in case the bid wins;
* supersedes the win notice if markup is included in both.
* For native ad bids, exactly one of {adm, adm_native} should be used.
* Supported by Google. Standard field, should be used for OpenRTB/JSON.
* </pre>
*
* <code>string adm = 6;</code>
* @return This builder for chaining.
*/
public Builder clearAdm() {
copyOnWrite();
instance.clearAdm();
return this;
}
/**
* <pre>
* Optional means of conveying ad markup in case the bid wins;
* supersedes the win notice if markup is included in both.
* For native ad bids, exactly one of {adm, adm_native} should be used.
* Supported by Google. Standard field, should be used for OpenRTB/JSON.
* </pre>
*
* <code>string adm = 6;</code>
* @param value The bytes for adm to set.
* @return This builder for chaining.
*/
public Builder setAdmBytes(
com.google.protobuf.ByteString value) {
copyOnWrite();
instance.setAdmBytes(value);
return this;
}
/**
* <pre>
* Native ad response.
* For native ad bids, exactly one of {adm, adm_native} should be used.
* Supported by Google. Extension, should be used for OpenRTB/Protobuf.
* </pre>
*
* <code>.com.google.openrtb.NativeResponse adm_native = 50;</code>
*/
@java.lang.Override
public boolean hasAdmNative() {
return instance.hasAdmNative();
}
/**
* <pre>
* Native ad response.
* For native ad bids, exactly one of {adm, adm_native} should be used.
* Supported by Google. Extension, should be used for OpenRTB/Protobuf.
* </pre>
*
* <code>.com.google.openrtb.NativeResponse adm_native = 50;</code>
*/
@java.lang.Override
public com.particles.mes.protos.openrtb.NativeResponse getAdmNative() {
return instance.getAdmNative();
}
/**
* <pre>
* Native ad response.
* For native ad bids, exactly one of {adm, adm_native} should be used.
* Supported by Google. Extension, should be used for OpenRTB/Protobuf.
* </pre>
*
* <code>.com.google.openrtb.NativeResponse adm_native = 50;</code>
*/
public Builder setAdmNative(com.particles.mes.protos.openrtb.NativeResponse value) {
copyOnWrite();
instance.setAdmNative(value);
return this;
}
/**
* <pre>
* Native ad response.
* For native ad bids, exactly one of {adm, adm_native} should be used.
* Supported by Google. Extension, should be used for OpenRTB/Protobuf.
* </pre>
*
* <code>.com.google.openrtb.NativeResponse adm_native = 50;</code>
*/
public Builder setAdmNative(
com.particles.mes.protos.openrtb.NativeResponse.Builder builderForValue) {
copyOnWrite();
instance.setAdmNative(builderForValue.build());
return this;
}
/**
* <pre>
* Native ad response.
* For native ad bids, exactly one of {adm, adm_native} should be used.
* Supported by Google. Extension, should be used for OpenRTB/Protobuf.
* </pre>
*
* <code>.com.google.openrtb.NativeResponse adm_native = 50;</code>
*/
public Builder mergeAdmNative(com.particles.mes.protos.openrtb.NativeResponse value) {
copyOnWrite();
instance.mergeAdmNative(value);
return this;
}
/**
* <pre>
* Native ad response.
* For native ad bids, exactly one of {adm, adm_native} should be used.
* Supported by Google. Extension, should be used for OpenRTB/Protobuf.
* </pre>
*
* <code>.com.google.openrtb.NativeResponse adm_native = 50;</code>
*/
public Builder clearAdmNative() {
copyOnWrite();
instance.clearAdmNative();
return this;
}
/**
* <pre>
* Bidder generated bid ID to assist with logging/tracking.
* REQUIRED by the OpenRTB specification.
* Supported by Google.
* </pre>
*
* <code>required string id = 1;</code>
* @return Whether the id field is set.
*/
@java.lang.Override
public boolean hasId() {
return instance.hasId();
}
/**
* <pre>
* Bidder generated bid ID to assist with logging/tracking.
* REQUIRED by the OpenRTB specification.
* Supported by Google.
* </pre>
*
* <code>required string id = 1;</code>
* @return The id.
*/
@java.lang.Override
public java.lang.String getId() {
return instance.getId();
}
/**
* <pre>
* Bidder generated bid ID to assist with logging/tracking.
* REQUIRED by the OpenRTB specification.
* Supported by Google.
* </pre>
*
* <code>required string id = 1;</code>
* @return The bytes for id.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getIdBytes() {
return instance.getIdBytes();
}
/**
* <pre>
* Bidder generated bid ID to assist with logging/tracking.
* REQUIRED by the OpenRTB specification.
* Supported by Google.
* </pre>
*
* <code>required string id = 1;</code>
* @param value The id to set.
* @return This builder for chaining.
*/
public Builder setId(
java.lang.String value) {
copyOnWrite();
instance.setId(value);
return this;
}
/**
* <pre>
* Bidder generated bid ID to assist with logging/tracking.
* REQUIRED by the OpenRTB specification.
* Supported by Google.
* </pre>
*
* <code>required string id = 1;</code>
* @return This builder for chaining.
*/
public Builder clearId() {
copyOnWrite();
instance.clearId();
return this;
}
/**
* <pre>
* Bidder generated bid ID to assist with logging/tracking.
* REQUIRED by the OpenRTB specification.
* Supported by Google.
* </pre>
*
* <code>required string id = 1;</code>
* @param value The bytes for id to set.
* @return This builder for chaining.
*/
public Builder setIdBytes(
com.google.protobuf.ByteString value) {
copyOnWrite();
instance.setIdBytes(value);
return this;
}
/**
* <pre>
* ID of the Imp object in the related bid request.
* REQUIRED by the OpenRTB specification.
* Supported by Google.
* </pre>
*
* <code>required string impid = 2;</code>
* @return Whether the impid field is set.
*/
@java.lang.Override
public boolean hasImpid() {
return instance.hasImpid();
}
/**
* <pre>
* ID of the Imp object in the related bid request.
* REQUIRED by the OpenRTB specification.
* Supported by Google.
* </pre>
*
* <code>required string impid = 2;</code>
* @return The impid.
*/
@java.lang.Override
public java.lang.String getImpid() {
return instance.getImpid();
}
/**
* <pre>
* ID of the Imp object in the related bid request.
* REQUIRED by the OpenRTB specification.
* Supported by Google.
* </pre>
*
* <code>required string impid = 2;</code>
* @return The bytes for impid.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getImpidBytes() {
return instance.getImpidBytes();
}
/**
* <pre>
* ID of the Imp object in the related bid request.
* REQUIRED by the OpenRTB specification.
* Supported by Google.
* </pre>
*
* <code>required string impid = 2;</code>
* @param value The impid to set.
* @return This builder for chaining.
*/
public Builder setImpid(
java.lang.String value) {
copyOnWrite();
instance.setImpid(value);
return this;
}
/**
* <pre>
* ID of the Imp object in the related bid request.
* REQUIRED by the OpenRTB specification.
* Supported by Google.
* </pre>
*
* <code>required string impid = 2;</code>
* @return This builder for chaining.
*/
public Builder clearImpid() {
copyOnWrite();
instance.clearImpid();
return this;
}
/**
* <pre>
* ID of the Imp object in the related bid request.
* REQUIRED by the OpenRTB specification.
* Supported by Google.
* </pre>
*
* <code>required string impid = 2;</code>
* @param value The bytes for impid to set.
* @return This builder for chaining.
*/
public Builder setImpidBytes(
com.google.protobuf.ByteString value) {
copyOnWrite();
instance.setImpidBytes(value);
return this;
}
/**
* <pre>
* Bid price expressed as CPM although the actual transaction is for a
* unit impression only. Note that while the type indicates float, integer
* math is highly recommended when handling currencies
* (for example, BigDecimal in Java).
* REQUIRED by the OpenRTB specification.
* Supported by Google.
* </pre>
*
* <code>required double price = 3;</code>
* @return Whether the price field is set.
*/
@java.lang.Override
public boolean hasPrice() {
return instance.hasPrice();
}
/**
* <pre>
* Bid price expressed as CPM although the actual transaction is for a
* unit impression only. Note that while the type indicates float, integer
* math is highly recommended when handling currencies
* (for example, BigDecimal in Java).
* REQUIRED by the OpenRTB specification.
* Supported by Google.
* </pre>
*
* <code>required double price = 3;</code>
* @return The price.
*/
@java.lang.Override
public double getPrice() {
return instance.getPrice();
}
/**
* <pre>
* Bid price expressed as CPM although the actual transaction is for a
* unit impression only. Note that while the type indicates float, integer
* math is highly recommended when handling currencies
* (for example, BigDecimal in Java).
* REQUIRED by the OpenRTB specification.
* Supported by Google.
* </pre>
*
* <code>required double price = 3;</code>
* @param value The price to set.
* @return This builder for chaining.
*/
public Builder setPrice(double value) {
copyOnWrite();
instance.setPrice(value);
return this;
}
/**
* <pre>
* Bid price expressed as CPM although the actual transaction is for a
* unit impression only. Note that while the type indicates float, integer
* math is highly recommended when handling currencies
* (for example, BigDecimal in Java).
* REQUIRED by the OpenRTB specification.
* Supported by Google.
* </pre>
*
* <code>required double price = 3;</code>
* @return This builder for chaining.
*/
public Builder clearPrice() {
copyOnWrite();
instance.clearPrice();
return this;
}
/**
* <pre>
* Win notice URL called by the exchange if the bid wins; optional means
* of serving ad markup.
* Ignored by Google.
* </pre>
*
* <code>optional string nurl = 5;</code>
* @return Whether the nurl field is set.
*/
@java.lang.Override
public boolean hasNurl() {
return instance.hasNurl();
}
/**
* <pre>
* Win notice URL called by the exchange if the bid wins; optional means
* of serving ad markup.
* Ignored by Google.
* </pre>
*
* <code>optional string nurl = 5;</code>
* @return The nurl.
*/
@java.lang.Override
public java.lang.String getNurl() {
return instance.getNurl();
}
/**
* <pre>
* Win notice URL called by the exchange if the bid wins; optional means
* of serving ad markup.
* Ignored by Google.
* </pre>
*
* <code>optional string nurl = 5;</code>
* @return The bytes for nurl.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getNurlBytes() {
return instance.getNurlBytes();
}
/**
* <pre>
* Win notice URL called by the exchange if the bid wins; optional means
* of serving ad markup.
* Ignored by Google.
* </pre>
*
* <code>optional string nurl = 5;</code>
* @param value The nurl to set.
* @return This builder for chaining.
*/
public Builder setNurl(
java.lang.String value) {
copyOnWrite();
instance.setNurl(value);
return this;
}
/**
* <pre>
* Win notice URL called by the exchange if the bid wins; optional means
* of serving ad markup.
* Ignored by Google.
* </pre>
*
* <code>optional string nurl = 5;</code>
* @return This builder for chaining.
*/
public Builder clearNurl() {
copyOnWrite();
instance.clearNurl();
return this;
}
/**
* <pre>
* Win notice URL called by the exchange if the bid wins; optional means
* of serving ad markup.
* Ignored by Google.
* </pre>
*
* <code>optional string nurl = 5;</code>
* @param value The bytes for nurl to set.
* @return This builder for chaining.
*/
public Builder setNurlBytes(
com.google.protobuf.ByteString value) {
copyOnWrite();
instance.setNurlBytes(value);
return this;
}
/**
* <pre>
* Billing notice URL called by the exchange when a winning bid
* becomes billable based on exchange-specific business policy
* (for example, delivered or viewed).
* Substitution macros (Section 4.4) may be included.
* Supported by Google.
* </pre>
*
* <code>optional string burl = 22;</code>
* @return Whether the burl field is set.
*/
@java.lang.Override
public boolean hasBurl() {
return instance.hasBurl();
}
/**
* <pre>
* Billing notice URL called by the exchange when a winning bid
* becomes billable based on exchange-specific business policy
* (for example, delivered or viewed).
* Substitution macros (Section 4.4) may be included.
* Supported by Google.
* </pre>
*
* <code>optional string burl = 22;</code>
* @return The burl.
*/
@java.lang.Override
public java.lang.String getBurl() {
return instance.getBurl();
}
/**
* <pre>
* Billing notice URL called by the exchange when a winning bid
* becomes billable based on exchange-specific business policy
* (for example, delivered or viewed).
* Substitution macros (Section 4.4) may be included.
* Supported by Google.
* </pre>
*
* <code>optional string burl = 22;</code>
* @return The bytes for burl.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getBurlBytes() {
return instance.getBurlBytes();
}
/**
* <pre>
* Billing notice URL called by the exchange when a winning bid
* becomes billable based on exchange-specific business policy
* (for example, delivered or viewed).
* Substitution macros (Section 4.4) may be included.
* Supported by Google.
* </pre>
*
* <code>optional string burl = 22;</code>
* @param value The burl to set.
* @return This builder for chaining.
*/
public Builder setBurl(
java.lang.String value) {
copyOnWrite();
instance.setBurl(value);
return this;
}
/**
* <pre>
* Billing notice URL called by the exchange when a winning bid
* becomes billable based on exchange-specific business policy
* (for example, delivered or viewed).
* Substitution macros (Section 4.4) may be included.
* Supported by Google.
* </pre>
*
* <code>optional string burl = 22;</code>
* @return This builder for chaining.
*/
public Builder clearBurl() {
copyOnWrite();
instance.clearBurl();
return this;
}
/**
* <pre>
* Billing notice URL called by the exchange when a winning bid
* becomes billable based on exchange-specific business policy
* (for example, delivered or viewed).
* Substitution macros (Section 4.4) may be included.
* Supported by Google.
* </pre>
*
* <code>optional string burl = 22;</code>
* @param value The bytes for burl to set.
* @return This builder for chaining.
*/
public Builder setBurlBytes(
com.google.protobuf.ByteString value) {
copyOnWrite();
instance.setBurlBytes(value);
return this;
}
/**
* <pre>
* Loss notice URL called by the exchange when a bid is known to
* have been lost. Substitution macros (Section 4.4) may be
* included. Exchange-specific policy may preclude support for
* loss notices or the disclosure of winning clearing prices
* resulting in ${AUCTION_PRICE} macros being removed (meaning,
* replaced with a zero-length string).
* Ignored by Google.
* </pre>
*
* <code>optional string lurl = 23;</code>
* @return Whether the lurl field is set.
*/
@java.lang.Override
public boolean hasLurl() {
return instance.hasLurl();
}
/**
* <pre>
* Loss notice URL called by the exchange when a bid is known to
* have been lost. Substitution macros (Section 4.4) may be
* included. Exchange-specific policy may preclude support for
* loss notices or the disclosure of winning clearing prices
* resulting in ${AUCTION_PRICE} macros being removed (meaning,
* replaced with a zero-length string).
* Ignored by Google.
* </pre>
*
* <code>optional string lurl = 23;</code>
* @return The lurl.
*/
@java.lang.Override
public java.lang.String getLurl() {
return instance.getLurl();
}
/**
* <pre>
* Loss notice URL called by the exchange when a bid is known to
* have been lost. Substitution macros (Section 4.4) may be
* included. Exchange-specific policy may preclude support for
* loss notices or the disclosure of winning clearing prices
* resulting in ${AUCTION_PRICE} macros being removed (meaning,
* replaced with a zero-length string).
* Ignored by Google.
* </pre>
*
* <code>optional string lurl = 23;</code>
* @return The bytes for lurl.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getLurlBytes() {
return instance.getLurlBytes();
}
/**
* <pre>
* Loss notice URL called by the exchange when a bid is known to
* have been lost. Substitution macros (Section 4.4) may be
* included. Exchange-specific policy may preclude support for
* loss notices or the disclosure of winning clearing prices
* resulting in ${AUCTION_PRICE} macros being removed (meaning,
* replaced with a zero-length string).
* Ignored by Google.
* </pre>
*
* <code>optional string lurl = 23;</code>
* @param value The lurl to set.
* @return This builder for chaining.
*/
public Builder setLurl(
java.lang.String value) {
copyOnWrite();
instance.setLurl(value);
return this;
}
/**
* <pre>
* Loss notice URL called by the exchange when a bid is known to
* have been lost. Substitution macros (Section 4.4) may be
* included. Exchange-specific policy may preclude support for
* loss notices or the disclosure of winning clearing prices
* resulting in ${AUCTION_PRICE} macros being removed (meaning,
* replaced with a zero-length string).
* Ignored by Google.
* </pre>
*
* <code>optional string lurl = 23;</code>
* @return This builder for chaining.
*/
public Builder clearLurl() {
copyOnWrite();
instance.clearLurl();
return this;
}
/**
* <pre>
* Loss notice URL called by the exchange when a bid is known to
* have been lost. Substitution macros (Section 4.4) may be
* included. Exchange-specific policy may preclude support for
* loss notices or the disclosure of winning clearing prices
* resulting in ${AUCTION_PRICE} macros being removed (meaning,
* replaced with a zero-length string).
* Ignored by Google.
* </pre>
*
* <code>optional string lurl = 23;</code>
* @param value The bytes for lurl to set.
* @return This builder for chaining.
*/
public Builder setLurlBytes(
com.google.protobuf.ByteString value) {
copyOnWrite();
instance.setLurlBytes(value);
return this;
}
/**
* <pre>
* ID of a preloaded ad to serve if the bid wins.
* Ignored by Google.
* </pre>
*
* <code>optional string adid = 4;</code>
* @return Whether the adid field is set.
*/
@java.lang.Override
public boolean hasAdid() {
return instance.hasAdid();
}
/**
* <pre>
* ID of a preloaded ad to serve if the bid wins.
* Ignored by Google.
* </pre>
*
* <code>optional string adid = 4;</code>
* @return The adid.
*/
@java.lang.Override
public java.lang.String getAdid() {
return instance.getAdid();
}
/**
* <pre>
* ID of a preloaded ad to serve if the bid wins.
* Ignored by Google.
* </pre>
*
* <code>optional string adid = 4;</code>
* @return The bytes for adid.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getAdidBytes() {
return instance.getAdidBytes();
}
/**
* <pre>
* ID of a preloaded ad to serve if the bid wins.
* Ignored by Google.
* </pre>
*
* <code>optional string adid = 4;</code>
* @param value The adid to set.
* @return This builder for chaining.
*/
public Builder setAdid(
java.lang.String value) {
copyOnWrite();
instance.setAdid(value);
return this;
}
/**
* <pre>
* ID of a preloaded ad to serve if the bid wins.
* Ignored by Google.
* </pre>
*
* <code>optional string adid = 4;</code>
* @return This builder for chaining.
*/
public Builder clearAdid() {
copyOnWrite();
instance.clearAdid();
return this;
}
/**
* <pre>
* ID of a preloaded ad to serve if the bid wins.
* Ignored by Google.
* </pre>
*
* <code>optional string adid = 4;</code>
* @param value The bytes for adid to set.
* @return This builder for chaining.
*/
public Builder setAdidBytes(
com.google.protobuf.ByteString value) {
copyOnWrite();
instance.setAdidBytes(value);
return this;
}
/**
* <pre>
* Advertiser domain for block list checking (for example, "ford.com").
* This can be an array of for the case of rotating creatives. Exchanges
* can mandate that only one domain is allowed.
* Supported by Google.
* </pre>
*
* <code>repeated string adomain = 7;</code>
* @return A list containing the adomain.
*/
@java.lang.Override
public java.util.List<java.lang.String>
getAdomainList() {
return java.util.Collections.unmodifiableList(
instance.getAdomainList());
}
/**
* <pre>
* Advertiser domain for block list checking (for example, "ford.com").
* This can be an array of for the case of rotating creatives. Exchanges
* can mandate that only one domain is allowed.
* Supported by Google.
* </pre>
*
* <code>repeated string adomain = 7;</code>
* @return The count of adomain.
*/
@java.lang.Override
public int getAdomainCount() {
return instance.getAdomainCount();
}
/**
* <pre>
* Advertiser domain for block list checking (for example, "ford.com").
* This can be an array of for the case of rotating creatives. Exchanges
* can mandate that only one domain is allowed.
* Supported by Google.
* </pre>
*
* <code>repeated string adomain = 7;</code>
* @param index The index of the element to return.
* @return The adomain at the given index.
*/
@java.lang.Override
public java.lang.String getAdomain(int index) {
return instance.getAdomain(index);
}
/**
* <pre>
* Advertiser domain for block list checking (for example, "ford.com").
* This can be an array of for the case of rotating creatives. Exchanges
* can mandate that only one domain is allowed.
* Supported by Google.
* </pre>
*
* <code>repeated string adomain = 7;</code>
* @param index The index of the value to return.
* @return The bytes of the adomain at the given index.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getAdomainBytes(int index) {
return instance.getAdomainBytes(index);
}
/**
* <pre>
* Advertiser domain for block list checking (for example, "ford.com").
* This can be an array of for the case of rotating creatives. Exchanges
* can mandate that only one domain is allowed.
* Supported by Google.
* </pre>
*
* <code>repeated string adomain = 7;</code>
* @param index The index to set the value at.
* @param value The adomain to set.
* @return This builder for chaining.
*/
public Builder setAdomain(
int index, java.lang.String value) {
copyOnWrite();
instance.setAdomain(index, value);
return this;
}
/**
* <pre>
* Advertiser domain for block list checking (for example, "ford.com").
* This can be an array of for the case of rotating creatives. Exchanges
* can mandate that only one domain is allowed.
* Supported by Google.
* </pre>
*
* <code>repeated string adomain = 7;</code>
* @param value The adomain to add.
* @return This builder for chaining.
*/
public Builder addAdomain(
java.lang.String value) {
copyOnWrite();
instance.addAdomain(value);
return this;
}
/**
* <pre>
* Advertiser domain for block list checking (for example, "ford.com").
* This can be an array of for the case of rotating creatives. Exchanges
* can mandate that only one domain is allowed.
* Supported by Google.
* </pre>
*
* <code>repeated string adomain = 7;</code>
* @param values The adomain to add.
* @return This builder for chaining.
*/
public Builder addAllAdomain(
java.lang.Iterable<java.lang.String> values) {
copyOnWrite();
instance.addAllAdomain(values);
return this;
}
/**
* <pre>
* Advertiser domain for block list checking (for example, "ford.com").
* This can be an array of for the case of rotating creatives. Exchanges
* can mandate that only one domain is allowed.
* Supported by Google.
* </pre>
*
* <code>repeated string adomain = 7;</code>
* @return This builder for chaining.
*/
public Builder clearAdomain() {
copyOnWrite();
instance.clearAdomain();
return this;
}
/**
* <pre>
* Advertiser domain for block list checking (for example, "ford.com").
* This can be an array of for the case of rotating creatives. Exchanges
* can mandate that only one domain is allowed.
* Supported by Google.
* </pre>
*
* <code>repeated string adomain = 7;</code>
* @param value The bytes of the adomain to add.
* @return This builder for chaining.
*/
public Builder addAdomainBytes(
com.google.protobuf.ByteString value) {
copyOnWrite();
instance.addAdomainBytes(value);
return this;
}
/**
* <pre>
* The store ID of the app in an app store such as Apple App Store, Google
* Play. See OTT/CTV Store Assigned App Identification Guidelines for
* more details about expected strings for CTV app stores. For mobile apps
* in Google Play Store, these should be bundle or package names, such as
* com.foo.mygame. For apps in Apple App Store, these should be a numeric
* ID.
* Google: In addition to this field, set bid.ext.app_promotion_type field
* to take advantage of features specific to app promotion types.
* Supported by Google.
* </pre>
*
* <code>optional string bundle = 14;</code>
* @return Whether the bundle field is set.
*/
@java.lang.Override
public boolean hasBundle() {
return instance.hasBundle();
}
/**
* <pre>
* The store ID of the app in an app store such as Apple App Store, Google
* Play. See OTT/CTV Store Assigned App Identification Guidelines for
* more details about expected strings for CTV app stores. For mobile apps
* in Google Play Store, these should be bundle or package names, such as
* com.foo.mygame. For apps in Apple App Store, these should be a numeric
* ID.
* Google: In addition to this field, set bid.ext.app_promotion_type field
* to take advantage of features specific to app promotion types.
* Supported by Google.
* </pre>
*
* <code>optional string bundle = 14;</code>
* @return The bundle.
*/
@java.lang.Override
public java.lang.String getBundle() {
return instance.getBundle();
}
/**
* <pre>
* The store ID of the app in an app store such as Apple App Store, Google
* Play. See OTT/CTV Store Assigned App Identification Guidelines for
* more details about expected strings for CTV app stores. For mobile apps
* in Google Play Store, these should be bundle or package names, such as
* com.foo.mygame. For apps in Apple App Store, these should be a numeric
* ID.
* Google: In addition to this field, set bid.ext.app_promotion_type field
* to take advantage of features specific to app promotion types.
* Supported by Google.
* </pre>
*
* <code>optional string bundle = 14;</code>
* @return The bytes for bundle.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getBundleBytes() {
return instance.getBundleBytes();
}
/**
* <pre>
* The store ID of the app in an app store such as Apple App Store, Google
* Play. See OTT/CTV Store Assigned App Identification Guidelines for
* more details about expected strings for CTV app stores. For mobile apps
* in Google Play Store, these should be bundle or package names, such as
* com.foo.mygame. For apps in Apple App Store, these should be a numeric
* ID.
* Google: In addition to this field, set bid.ext.app_promotion_type field
* to take advantage of features specific to app promotion types.
* Supported by Google.
* </pre>
*
* <code>optional string bundle = 14;</code>
* @param value The bundle to set.
* @return This builder for chaining.
*/
public Builder setBundle(
java.lang.String value) {
copyOnWrite();
instance.setBundle(value);
return this;
}
/**
* <pre>
* The store ID of the app in an app store such as Apple App Store, Google
* Play. See OTT/CTV Store Assigned App Identification Guidelines for
* more details about expected strings for CTV app stores. For mobile apps
* in Google Play Store, these should be bundle or package names, such as
* com.foo.mygame. For apps in Apple App Store, these should be a numeric
* ID.
* Google: In addition to this field, set bid.ext.app_promotion_type field
* to take advantage of features specific to app promotion types.
* Supported by Google.
* </pre>
*
* <code>optional string bundle = 14;</code>
* @return This builder for chaining.
*/
public Builder clearBundle() {
copyOnWrite();
instance.clearBundle();
return this;
}
/**
* <pre>
* The store ID of the app in an app store such as Apple App Store, Google
* Play. See OTT/CTV Store Assigned App Identification Guidelines for
* more details about expected strings for CTV app stores. For mobile apps
* in Google Play Store, these should be bundle or package names, such as
* com.foo.mygame. For apps in Apple App Store, these should be a numeric
* ID.
* Google: In addition to this field, set bid.ext.app_promotion_type field
* to take advantage of features specific to app promotion types.
* Supported by Google.
* </pre>
*
* <code>optional string bundle = 14;</code>
* @param value The bytes for bundle to set.
* @return This builder for chaining.
*/
public Builder setBundleBytes(
com.google.protobuf.ByteString value) {
copyOnWrite();
instance.setBundleBytes(value);
return this;
}
/**
* <pre>
* URL without cache-busting to an image that is representative of the
* content of the campaign for ad quality/safety checking.
* Ignored by Google.
* </pre>
*
* <code>optional string iurl = 8;</code>
* @return Whether the iurl field is set.
*/
@java.lang.Override
public boolean hasIurl() {
return instance.hasIurl();
}
/**
* <pre>
* URL without cache-busting to an image that is representative of the
* content of the campaign for ad quality/safety checking.
* Ignored by Google.
* </pre>
*
* <code>optional string iurl = 8;</code>
* @return The iurl.
*/
@java.lang.Override
public java.lang.String getIurl() {
return instance.getIurl();
}
/**
* <pre>
* URL without cache-busting to an image that is representative of the
* content of the campaign for ad quality/safety checking.
* Ignored by Google.
* </pre>
*
* <code>optional string iurl = 8;</code>
* @return The bytes for iurl.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getIurlBytes() {
return instance.getIurlBytes();
}
/**
* <pre>
* URL without cache-busting to an image that is representative of the
* content of the campaign for ad quality/safety checking.
* Ignored by Google.
* </pre>
*
* <code>optional string iurl = 8;</code>
* @param value The iurl to set.
* @return This builder for chaining.
*/
public Builder setIurl(
java.lang.String value) {
copyOnWrite();
instance.setIurl(value);
return this;
}
/**
* <pre>
* URL without cache-busting to an image that is representative of the
* content of the campaign for ad quality/safety checking.
* Ignored by Google.
* </pre>
*
* <code>optional string iurl = 8;</code>
* @return This builder for chaining.
*/
public Builder clearIurl() {
copyOnWrite();
instance.clearIurl();
return this;
}
/**
* <pre>
* URL without cache-busting to an image that is representative of the
* content of the campaign for ad quality/safety checking.
* Ignored by Google.
* </pre>
*
* <code>optional string iurl = 8;</code>
* @param value The bytes for iurl to set.
* @return This builder for chaining.
*/
public Builder setIurlBytes(
com.google.protobuf.ByteString value) {
copyOnWrite();
instance.setIurlBytes(value);
return this;
}
/**
* <pre>
* Campaign ID to assist with ad quality checking; the collection of
* creatives for which iurl should be representative.
* Ignored by Google.
* </pre>
*
* <code>optional string cid = 9;</code>
* @return Whether the cid field is set.
*/
@java.lang.Override
public boolean hasCid() {
return instance.hasCid();
}
/**
* <pre>
* Campaign ID to assist with ad quality checking; the collection of
* creatives for which iurl should be representative.
* Ignored by Google.
* </pre>
*
* <code>optional string cid = 9;</code>
* @return The cid.
*/
@java.lang.Override
public java.lang.String getCid() {
return instance.getCid();
}
/**
* <pre>
* Campaign ID to assist with ad quality checking; the collection of
* creatives for which iurl should be representative.
* Ignored by Google.
* </pre>
*
* <code>optional string cid = 9;</code>
* @return The bytes for cid.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getCidBytes() {
return instance.getCidBytes();
}
/**
* <pre>
* Campaign ID to assist with ad quality checking; the collection of
* creatives for which iurl should be representative.
* Ignored by Google.
* </pre>
*
* <code>optional string cid = 9;</code>
* @param value The cid to set.
* @return This builder for chaining.
*/
public Builder setCid(
java.lang.String value) {
copyOnWrite();
instance.setCid(value);
return this;
}
/**
* <pre>
* Campaign ID to assist with ad quality checking; the collection of
* creatives for which iurl should be representative.
* Ignored by Google.
* </pre>
*
* <code>optional string cid = 9;</code>
* @return This builder for chaining.
*/
public Builder clearCid() {
copyOnWrite();
instance.clearCid();
return this;
}
/**
* <pre>
* Campaign ID to assist with ad quality checking; the collection of
* creatives for which iurl should be representative.
* Ignored by Google.
* </pre>
*
* <code>optional string cid = 9;</code>
* @param value The bytes for cid to set.
* @return This builder for chaining.
*/
public Builder setCidBytes(
com.google.protobuf.ByteString value) {
copyOnWrite();
instance.setCidBytes(value);
return this;
}
/**
* <pre>
* Creative ID to assist with ad quality checking.
* Supported by Google.
* </pre>
*
* <code>optional string crid = 10;</code>
* @return Whether the crid field is set.
*/
@java.lang.Override
public boolean hasCrid() {
return instance.hasCrid();
}
/**
* <pre>
* Creative ID to assist with ad quality checking.
* Supported by Google.
* </pre>
*
* <code>optional string crid = 10;</code>
* @return The crid.
*/
@java.lang.Override
public java.lang.String getCrid() {
return instance.getCrid();
}
/**
* <pre>
* Creative ID to assist with ad quality checking.
* Supported by Google.
* </pre>
*
* <code>optional string crid = 10;</code>
* @return The bytes for crid.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getCridBytes() {
return instance.getCridBytes();
}
/**
* <pre>
* Creative ID to assist with ad quality checking.
* Supported by Google.
* </pre>
*
* <code>optional string crid = 10;</code>
* @param value The crid to set.
* @return This builder for chaining.
*/
public Builder setCrid(
java.lang.String value) {
copyOnWrite();
instance.setCrid(value);
return this;
}
/**
* <pre>
* Creative ID to assist with ad quality checking.
* Supported by Google.
* </pre>
*
* <code>optional string crid = 10;</code>
* @return This builder for chaining.
*/
public Builder clearCrid() {
copyOnWrite();
instance.clearCrid();
return this;
}
/**
* <pre>
* Creative ID to assist with ad quality checking.
* Supported by Google.
* </pre>
*
* <code>optional string crid = 10;</code>
* @param value The bytes for crid to set.
* @return This builder for chaining.
*/
public Builder setCridBytes(
com.google.protobuf.ByteString value) {
copyOnWrite();
instance.setCridBytes(value);
return this;
}
/**
* <pre>
* Tactic ID to enable buyers to label bids for reporting to the
* exchange the tactic through which their bid was submitted.
* The specific usage and meaning of the tactic ID should be
* communicated between buyer and exchanges a priori.
* Ignored by Google.
* </pre>
*
* <code>optional string tactic = 24;</code>
* @return Whether the tactic field is set.
*/
@java.lang.Override
public boolean hasTactic() {
return instance.hasTactic();
}
/**
* <pre>
* Tactic ID to enable buyers to label bids for reporting to the
* exchange the tactic through which their bid was submitted.
* The specific usage and meaning of the tactic ID should be
* communicated between buyer and exchanges a priori.
* Ignored by Google.
* </pre>
*
* <code>optional string tactic = 24;</code>
* @return The tactic.
*/
@java.lang.Override
public java.lang.String getTactic() {
return instance.getTactic();
}
/**
* <pre>
* Tactic ID to enable buyers to label bids for reporting to the
* exchange the tactic through which their bid was submitted.
* The specific usage and meaning of the tactic ID should be
* communicated between buyer and exchanges a priori.
* Ignored by Google.
* </pre>
*
* <code>optional string tactic = 24;</code>
* @return The bytes for tactic.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getTacticBytes() {
return instance.getTacticBytes();
}
/**
* <pre>
* Tactic ID to enable buyers to label bids for reporting to the
* exchange the tactic through which their bid was submitted.
* The specific usage and meaning of the tactic ID should be
* communicated between buyer and exchanges a priori.
* Ignored by Google.
* </pre>
*
* <code>optional string tactic = 24;</code>
* @param value The tactic to set.
* @return This builder for chaining.
*/
public Builder setTactic(
java.lang.String value) {
copyOnWrite();
instance.setTactic(value);
return this;
}
/**
* <pre>
* Tactic ID to enable buyers to label bids for reporting to the
* exchange the tactic through which their bid was submitted.
* The specific usage and meaning of the tactic ID should be
* communicated between buyer and exchanges a priori.
* Ignored by Google.
* </pre>
*
* <code>optional string tactic = 24;</code>
* @return This builder for chaining.
*/
public Builder clearTactic() {
copyOnWrite();
instance.clearTactic();
return this;
}
/**
* <pre>
* Tactic ID to enable buyers to label bids for reporting to the
* exchange the tactic through which their bid was submitted.
* The specific usage and meaning of the tactic ID should be
* communicated between buyer and exchanges a priori.
* Ignored by Google.
* </pre>
*
* <code>optional string tactic = 24;</code>
* @param value The bytes for tactic to set.
* @return This builder for chaining.
*/
public Builder setTacticBytes(
com.google.protobuf.ByteString value) {
copyOnWrite();
instance.setTacticBytes(value);
return this;
}
/**
* <pre>
* The taxonomy in use for cat.
* Ignored by Google.
* </pre>
*
* <code>optional .com.google.openrtb.CategoryTaxonomy cattax = 30 [default = IAB_CONTENT_1_0];</code>
* @return Whether the cattax field is set.
*/
@java.lang.Override
public boolean hasCattax() {
return instance.hasCattax();
}
/**
* <pre>
* The taxonomy in use for cat.
* Ignored by Google.
* </pre>
*
* <code>optional .com.google.openrtb.CategoryTaxonomy cattax = 30 [default = IAB_CONTENT_1_0];</code>
* @return The cattax.
*/
@java.lang.Override
public com.particles.mes.protos.openrtb.CategoryTaxonomy getCattax() {
return instance.getCattax();
}
/**
* <pre>
* The taxonomy in use for cat.
* Ignored by Google.
* </pre>
*
* <code>optional .com.google.openrtb.CategoryTaxonomy cattax = 30 [default = IAB_CONTENT_1_0];</code>
* @param value The enum numeric value on the wire for cattax to set.
* @return This builder for chaining.
*/
public Builder setCattax(com.particles.mes.protos.openrtb.CategoryTaxonomy value) {
copyOnWrite();
instance.setCattax(value);
return this;
}
/**
* <pre>
* The taxonomy in use for cat.
* Ignored by Google.
* </pre>
*
* <code>optional .com.google.openrtb.CategoryTaxonomy cattax = 30 [default = IAB_CONTENT_1_0];</code>
* @return This builder for chaining.
*/
public Builder clearCattax() {
copyOnWrite();
instance.clearCattax();
return this;
}
/**
* <pre>
* IAB content categories of the creative.
* The taxonomy to be used is defined by the cattax field.
* Supported by Google.
* </pre>
*
* <code>repeated string cat = 15;</code>
* @return A list containing the cat.
*/
@java.lang.Override
public java.util.List<java.lang.String>
getCatList() {
return java.util.Collections.unmodifiableList(
instance.getCatList());
}
/**
* <pre>
* IAB content categories of the creative.
* The taxonomy to be used is defined by the cattax field.
* Supported by Google.
* </pre>
*
* <code>repeated string cat = 15;</code>
* @return The count of cat.
*/
@java.lang.Override
public int getCatCount() {
return instance.getCatCount();
}
/**
* <pre>
* IAB content categories of the creative.
* The taxonomy to be used is defined by the cattax field.
* Supported by Google.
* </pre>
*
* <code>repeated string cat = 15;</code>
* @param index The index of the element to return.
* @return The cat at the given index.
*/
@java.lang.Override
public java.lang.String getCat(int index) {
return instance.getCat(index);
}
/**
* <pre>
* IAB content categories of the creative.
* The taxonomy to be used is defined by the cattax field.
* Supported by Google.
* </pre>
*
* <code>repeated string cat = 15;</code>
* @param index The index of the value to return.
* @return The bytes of the cat at the given index.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getCatBytes(int index) {
return instance.getCatBytes(index);
}
/**
* <pre>
* IAB content categories of the creative.
* The taxonomy to be used is defined by the cattax field.
* Supported by Google.
* </pre>
*
* <code>repeated string cat = 15;</code>
* @param index The index to set the value at.
* @param value The cat to set.
* @return This builder for chaining.
*/
public Builder setCat(
int index, java.lang.String value) {
copyOnWrite();
instance.setCat(index, value);
return this;
}
/**
* <pre>
* IAB content categories of the creative.
* The taxonomy to be used is defined by the cattax field.
* Supported by Google.
* </pre>
*
* <code>repeated string cat = 15;</code>
* @param value The cat to add.
* @return This builder for chaining.
*/
public Builder addCat(
java.lang.String value) {
copyOnWrite();
instance.addCat(value);
return this;
}
/**
* <pre>
* IAB content categories of the creative.
* The taxonomy to be used is defined by the cattax field.
* Supported by Google.
* </pre>
*
* <code>repeated string cat = 15;</code>
* @param values The cat to add.
* @return This builder for chaining.
*/
public Builder addAllCat(
java.lang.Iterable<java.lang.String> values) {
copyOnWrite();
instance.addAllCat(values);
return this;
}
/**
* <pre>
* IAB content categories of the creative.
* The taxonomy to be used is defined by the cattax field.
* Supported by Google.
* </pre>
*
* <code>repeated string cat = 15;</code>
* @return This builder for chaining.
*/
public Builder clearCat() {
copyOnWrite();
instance.clearCat();
return this;
}
/**
* <pre>
* IAB content categories of the creative.
* The taxonomy to be used is defined by the cattax field.
* Supported by Google.
* </pre>
*
* <code>repeated string cat = 15;</code>
* @param value The bytes of the cat to add.
* @return This builder for chaining.
*/
public Builder addCatBytes(
com.google.protobuf.ByteString value) {
copyOnWrite();
instance.addCatBytes(value);
return this;
}
/**
* <pre>
* Set of attributes describing the creative.
* Supported by Google.
* </pre>
*
* <code>repeated .com.google.openrtb.CreativeAttribute attr = 11 [packed = true];</code>
* @return A list containing the attr.
*/
@java.lang.Override
public java.util.List<com.particles.mes.protos.openrtb.CreativeAttribute> getAttrList() {
return instance.getAttrList();
}
/**
* <pre>
* Set of attributes describing the creative.
* Supported by Google.
* </pre>
*
* <code>repeated .com.google.openrtb.CreativeAttribute attr = 11 [packed = true];</code>
* @return The count of attr.
*/
@java.lang.Override
public int getAttrCount() {
return instance.getAttrCount();
}
/**
* <pre>
* Set of attributes describing the creative.
* Supported by Google.
* </pre>
*
* <code>repeated .com.google.openrtb.CreativeAttribute attr = 11 [packed = true];</code>
* @param index The index of the element to return.
* @return The attr at the given index.
*/
@java.lang.Override
public com.particles.mes.protos.openrtb.CreativeAttribute getAttr(int index) {
return instance.getAttr(index);
}
/**
* <pre>
* Set of attributes describing the creative.
* Supported by Google.
* </pre>
*
* <code>repeated .com.google.openrtb.CreativeAttribute attr = 11 [packed = true];</code>
* @param index The index to set the value at.
* @param value The attr to set.
* @return This builder for chaining.
*/
public Builder setAttr(
int index, com.particles.mes.protos.openrtb.CreativeAttribute value) {
copyOnWrite();
instance.setAttr(index, value);
return this;
}
/**
* <pre>
* Set of attributes describing the creative.
* Supported by Google.
* </pre>
*
* <code>repeated .com.google.openrtb.CreativeAttribute attr = 11 [packed = true];</code>
* @param value The attr to add.
* @return This builder for chaining.
*/
public Builder addAttr(com.particles.mes.protos.openrtb.CreativeAttribute value) {
copyOnWrite();
instance.addAttr(value);
return this;
}
/**
* <pre>
* Set of attributes describing the creative.
* Supported by Google.
* </pre>
*
* <code>repeated .com.google.openrtb.CreativeAttribute attr = 11 [packed = true];</code>
* @param values The attr to add.
* @return This builder for chaining.
*/
public Builder addAllAttr(
java.lang.Iterable<? extends com.particles.mes.protos.openrtb.CreativeAttribute> values) {
copyOnWrite();
instance.addAllAttr(values); return this;
}
/**
* <pre>
* Set of attributes describing the creative.
* Supported by Google.
* </pre>
*
* <code>repeated .com.google.openrtb.CreativeAttribute attr = 11 [packed = true];</code>
* @return This builder for chaining.
*/
public Builder clearAttr() {
copyOnWrite();
instance.clearAttr();
return this;
}
/**
* <pre>
* List of supported APIs for the markup. If an API is not explicitly
* listed, it is assumed to be unsupported.
* Ignored by Google.
* </pre>
*
* <code>repeated .com.google.openrtb.APIFramework apis = 31 [packed = true];</code>
* @return A list containing the apis.
*/
@java.lang.Override
public java.util.List<com.particles.mes.protos.openrtb.APIFramework> getApisList() {
return instance.getApisList();
}
/**
* <pre>
* List of supported APIs for the markup. If an API is not explicitly
* listed, it is assumed to be unsupported.
* Ignored by Google.
* </pre>
*
* <code>repeated .com.google.openrtb.APIFramework apis = 31 [packed = true];</code>
* @return The count of apis.
*/
@java.lang.Override
public int getApisCount() {
return instance.getApisCount();
}
/**
* <pre>
* List of supported APIs for the markup. If an API is not explicitly
* listed, it is assumed to be unsupported.
* Ignored by Google.
* </pre>
*
* <code>repeated .com.google.openrtb.APIFramework apis = 31 [packed = true];</code>
* @param index The index of the element to return.
* @return The apis at the given index.
*/
@java.lang.Override
public com.particles.mes.protos.openrtb.APIFramework getApis(int index) {
return instance.getApis(index);
}
/**
* <pre>
* List of supported APIs for the markup. If an API is not explicitly
* listed, it is assumed to be unsupported.
* Ignored by Google.
* </pre>
*
* <code>repeated .com.google.openrtb.APIFramework apis = 31 [packed = true];</code>
* @param index The index to set the value at.
* @param value The apis to set.
* @return This builder for chaining.
*/
public Builder setApis(
int index, com.particles.mes.protos.openrtb.APIFramework value) {
copyOnWrite();
instance.setApis(index, value);
return this;
}
/**
* <pre>
* List of supported APIs for the markup. If an API is not explicitly
* listed, it is assumed to be unsupported.
* Ignored by Google.
* </pre>
*
* <code>repeated .com.google.openrtb.APIFramework apis = 31 [packed = true];</code>
* @param value The apis to add.
* @return This builder for chaining.
*/
public Builder addApis(com.particles.mes.protos.openrtb.APIFramework value) {
copyOnWrite();
instance.addApis(value);
return this;
}
/**
* <pre>
* List of supported APIs for the markup. If an API is not explicitly
* listed, it is assumed to be unsupported.
* Ignored by Google.
* </pre>
*
* <code>repeated .com.google.openrtb.APIFramework apis = 31 [packed = true];</code>
* @param values The apis to add.
* @return This builder for chaining.
*/
public Builder addAllApis(
java.lang.Iterable<? extends com.particles.mes.protos.openrtb.APIFramework> values) {
copyOnWrite();
instance.addAllApis(values); return this;
}
/**
* <pre>
* List of supported APIs for the markup. If an API is not explicitly
* listed, it is assumed to be unsupported.
* Ignored by Google.
* </pre>
*
* <code>repeated .com.google.openrtb.APIFramework apis = 31 [packed = true];</code>
* @return This builder for chaining.
*/
public Builder clearApis() {
copyOnWrite();
instance.clearApis();
return this;
}
/**
* <pre>
* DEPRECATED in OpenRTB 2.6+; prefer the field apis.
* API required by the markup if applicable.
* Supported by Google.
* </pre>
*
* <code>optional .com.google.openrtb.APIFramework api = 18 [deprecated = true];</code>
* @deprecated com.google.openrtb.BidResponse.SeatBid.Bid.api is deprecated.
* See openrtb/openrtb-v26.proto;l=2101
* @return Whether the api field is set.
*/
@java.lang.Override
@java.lang.Deprecated public boolean hasApi() {
return instance.hasApi();
}
/**
* <pre>
* DEPRECATED in OpenRTB 2.6+; prefer the field apis.
* API required by the markup if applicable.
* Supported by Google.
* </pre>
*
* <code>optional .com.google.openrtb.APIFramework api = 18 [deprecated = true];</code>
* @deprecated com.google.openrtb.BidResponse.SeatBid.Bid.api is deprecated.
* See openrtb/openrtb-v26.proto;l=2101
* @return The api.
*/
@java.lang.Override
@java.lang.Deprecated public com.particles.mes.protos.openrtb.APIFramework getApi() {
return instance.getApi();
}
/**
* <pre>
* DEPRECATED in OpenRTB 2.6+; prefer the field apis.
* API required by the markup if applicable.
* Supported by Google.
* </pre>
*
* <code>optional .com.google.openrtb.APIFramework api = 18 [deprecated = true];</code>
* @deprecated com.google.openrtb.BidResponse.SeatBid.Bid.api is deprecated.
* See openrtb/openrtb-v26.proto;l=2101
* @param value The enum numeric value on the wire for api to set.
* @return This builder for chaining.
*/
@java.lang.Deprecated public Builder setApi(com.particles.mes.protos.openrtb.APIFramework value) {
copyOnWrite();
instance.setApi(value);
return this;
}
/**
* <pre>
* DEPRECATED in OpenRTB 2.6+; prefer the field apis.
* API required by the markup if applicable.
* Supported by Google.
* </pre>
*
* <code>optional .com.google.openrtb.APIFramework api = 18 [deprecated = true];</code>
* @deprecated com.google.openrtb.BidResponse.SeatBid.Bid.api is deprecated.
* See openrtb/openrtb-v26.proto;l=2101
* @return This builder for chaining.
*/
@java.lang.Deprecated public Builder clearApi() {
copyOnWrite();
instance.clearApi();
return this;
}
/**
* <pre>
* Video response protocol of the markup if applicable.
* Ignored by Google.
* </pre>
*
* <code>optional .com.google.openrtb.Protocol protocol = 19;</code>
* @return Whether the protocol field is set.
*/
@java.lang.Override
public boolean hasProtocol() {
return instance.hasProtocol();
}
/**
* <pre>
* Video response protocol of the markup if applicable.
* Ignored by Google.
* </pre>
*
* <code>optional .com.google.openrtb.Protocol protocol = 19;</code>
* @return The protocol.
*/
@java.lang.Override
public com.particles.mes.protos.openrtb.Protocol getProtocol() {
return instance.getProtocol();
}
/**
* <pre>
* Video response protocol of the markup if applicable.
* Ignored by Google.
* </pre>
*
* <code>optional .com.google.openrtb.Protocol protocol = 19;</code>
* @param value The enum numeric value on the wire for protocol to set.
* @return This builder for chaining.
*/
public Builder setProtocol(com.particles.mes.protos.openrtb.Protocol value) {
copyOnWrite();
instance.setProtocol(value);
return this;
}
/**
* <pre>
* Video response protocol of the markup if applicable.
* Ignored by Google.
* </pre>
*
* <code>optional .com.google.openrtb.Protocol protocol = 19;</code>
* @return This builder for chaining.
*/
public Builder clearProtocol() {
copyOnWrite();
instance.clearProtocol();
return this;
}
/**
* <pre>
* Creative media rating per QAG guidelines.
* Ignored by Google.
* </pre>
*
* <code>optional .com.google.openrtb.QAGMediaRating qagmediarating = 20;</code>
* @return Whether the qagmediarating field is set.
*/
@java.lang.Override
public boolean hasQagmediarating() {
return instance.hasQagmediarating();
}
/**
* <pre>
* Creative media rating per QAG guidelines.
* Ignored by Google.
* </pre>
*
* <code>optional .com.google.openrtb.QAGMediaRating qagmediarating = 20;</code>
* @return The qagmediarating.
*/
@java.lang.Override
public com.particles.mes.protos.openrtb.QAGMediaRating getQagmediarating() {
return instance.getQagmediarating();
}
/**
* <pre>
* Creative media rating per QAG guidelines.
* Ignored by Google.
* </pre>
*
* <code>optional .com.google.openrtb.QAGMediaRating qagmediarating = 20;</code>
* @param value The enum numeric value on the wire for qagmediarating to set.
* @return This builder for chaining.
*/
public Builder setQagmediarating(com.particles.mes.protos.openrtb.QAGMediaRating value) {
copyOnWrite();
instance.setQagmediarating(value);
return this;
}
/**
* <pre>
* Creative media rating per QAG guidelines.
* Ignored by Google.
* </pre>
*
* <code>optional .com.google.openrtb.QAGMediaRating qagmediarating = 20;</code>
* @return This builder for chaining.
*/
public Builder clearQagmediarating() {
copyOnWrite();
instance.clearQagmediarating();
return this;
}
/**
* <pre>
* Language of the creative using ISO-639-1-alpha-2. The nonstandard
* code "xx" may also be used if the creative has no
* linguistic content (for example, a banner with just a company logo).
* Only one of language or langb should be present.
* Ignored by Google.
* </pre>
*
* <code>optional string language = 25;</code>
* @return Whether the language field is set.
*/
@java.lang.Override
public boolean hasLanguage() {
return instance.hasLanguage();
}
/**
* <pre>
* Language of the creative using ISO-639-1-alpha-2. The nonstandard
* code "xx" may also be used if the creative has no
* linguistic content (for example, a banner with just a company logo).
* Only one of language or langb should be present.
* Ignored by Google.
* </pre>
*
* <code>optional string language = 25;</code>
* @return The language.
*/
@java.lang.Override
public java.lang.String getLanguage() {
return instance.getLanguage();
}
/**
* <pre>
* Language of the creative using ISO-639-1-alpha-2. The nonstandard
* code "xx" may also be used if the creative has no
* linguistic content (for example, a banner with just a company logo).
* Only one of language or langb should be present.
* Ignored by Google.
* </pre>
*
* <code>optional string language = 25;</code>
* @return The bytes for language.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getLanguageBytes() {
return instance.getLanguageBytes();
}
/**
* <pre>
* Language of the creative using ISO-639-1-alpha-2. The nonstandard
* code "xx" may also be used if the creative has no
* linguistic content (for example, a banner with just a company logo).
* Only one of language or langb should be present.
* Ignored by Google.
* </pre>
*
* <code>optional string language = 25;</code>
* @param value The language to set.
* @return This builder for chaining.
*/
public Builder setLanguage(
java.lang.String value) {
copyOnWrite();
instance.setLanguage(value);
return this;
}
/**
* <pre>
* Language of the creative using ISO-639-1-alpha-2. The nonstandard
* code "xx" may also be used if the creative has no
* linguistic content (for example, a banner with just a company logo).
* Only one of language or langb should be present.
* Ignored by Google.
* </pre>
*
* <code>optional string language = 25;</code>
* @return This builder for chaining.
*/
public Builder clearLanguage() {
copyOnWrite();
instance.clearLanguage();
return this;
}
/**
* <pre>
* Language of the creative using ISO-639-1-alpha-2. The nonstandard
* code "xx" may also be used if the creative has no
* linguistic content (for example, a banner with just a company logo).
* Only one of language or langb should be present.
* Ignored by Google.
* </pre>
*
* <code>optional string language = 25;</code>
* @param value The bytes for language to set.
* @return This builder for chaining.
*/
public Builder setLanguageBytes(
com.google.protobuf.ByteString value) {
copyOnWrite();
instance.setLanguageBytes(value);
return this;
}
/**
* <pre>
* Language of the creative using IETF BCP 47.
* Only one of language or langb should be present.
* Ignored by Google.
* </pre>
*
* <code>optional string langb = 29;</code>
* @return Whether the langb field is set.
*/
@java.lang.Override
public boolean hasLangb() {
return instance.hasLangb();
}
/**
* <pre>
* Language of the creative using IETF BCP 47.
* Only one of language or langb should be present.
* Ignored by Google.
* </pre>
*
* <code>optional string langb = 29;</code>
* @return The langb.
*/
@java.lang.Override
public java.lang.String getLangb() {
return instance.getLangb();
}
/**
* <pre>
* Language of the creative using IETF BCP 47.
* Only one of language or langb should be present.
* Ignored by Google.
* </pre>
*
* <code>optional string langb = 29;</code>
* @return The bytes for langb.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getLangbBytes() {
return instance.getLangbBytes();
}
/**
* <pre>
* Language of the creative using IETF BCP 47.
* Only one of language or langb should be present.
* Ignored by Google.
* </pre>
*
* <code>optional string langb = 29;</code>
* @param value The langb to set.
* @return This builder for chaining.
*/
public Builder setLangb(
java.lang.String value) {
copyOnWrite();
instance.setLangb(value);
return this;
}
/**
* <pre>
* Language of the creative using IETF BCP 47.
* Only one of language or langb should be present.
* Ignored by Google.
* </pre>
*
* <code>optional string langb = 29;</code>
* @return This builder for chaining.
*/
public Builder clearLangb() {
copyOnWrite();
instance.clearLangb();
return this;
}
/**
* <pre>
* Language of the creative using IETF BCP 47.
* Only one of language or langb should be present.
* Ignored by Google.
* </pre>
*
* <code>optional string langb = 29;</code>
* @param value The bytes for langb to set.
* @return This builder for chaining.
*/
public Builder setLangbBytes(
com.google.protobuf.ByteString value) {
copyOnWrite();
instance.setLangbBytes(value);
return this;
}
/**
* <pre>
* Reference to the deal.id from the bid request if this bid pertains to a
* private marketplace direct deal.
* Supported by Google.
* </pre>
*
* <code>optional string dealid = 13;</code>
* @return Whether the dealid field is set.
*/
@java.lang.Override
public boolean hasDealid() {
return instance.hasDealid();
}
/**
* <pre>
* Reference to the deal.id from the bid request if this bid pertains to a
* private marketplace direct deal.
* Supported by Google.
* </pre>
*
* <code>optional string dealid = 13;</code>
* @return The dealid.
*/
@java.lang.Override
public java.lang.String getDealid() {
return instance.getDealid();
}
/**
* <pre>
* Reference to the deal.id from the bid request if this bid pertains to a
* private marketplace direct deal.
* Supported by Google.
* </pre>
*
* <code>optional string dealid = 13;</code>
* @return The bytes for dealid.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getDealidBytes() {
return instance.getDealidBytes();
}
/**
* <pre>
* Reference to the deal.id from the bid request if this bid pertains to a
* private marketplace direct deal.
* Supported by Google.
* </pre>
*
* <code>optional string dealid = 13;</code>
* @param value The dealid to set.
* @return This builder for chaining.
*/
public Builder setDealid(
java.lang.String value) {
copyOnWrite();
instance.setDealid(value);
return this;
}
/**
* <pre>
* Reference to the deal.id from the bid request if this bid pertains to a
* private marketplace direct deal.
* Supported by Google.
* </pre>
*
* <code>optional string dealid = 13;</code>
* @return This builder for chaining.
*/
public Builder clearDealid() {
copyOnWrite();
instance.clearDealid();
return this;
}
/**
* <pre>
* Reference to the deal.id from the bid request if this bid pertains to a
* private marketplace direct deal.
* Supported by Google.
* </pre>
*
* <code>optional string dealid = 13;</code>
* @param value The bytes for dealid to set.
* @return This builder for chaining.
*/
public Builder setDealidBytes(
com.google.protobuf.ByteString value) {
copyOnWrite();
instance.setDealidBytes(value);
return this;
}
/**
* <pre>
* Width of the creative in device independent pixels (DIPS).
* Supported by Google.
* </pre>
*
* <code>optional int32 w = 16;</code>
* @return Whether the w field is set.
*/
@java.lang.Override
public boolean hasW() {
return instance.hasW();
}
/**
* <pre>
* Width of the creative in device independent pixels (DIPS).
* Supported by Google.
* </pre>
*
* <code>optional int32 w = 16;</code>
* @return The w.
*/
@java.lang.Override
public int getW() {
return instance.getW();
}
/**
* <pre>
* Width of the creative in device independent pixels (DIPS).
* Supported by Google.
* </pre>
*
* <code>optional int32 w = 16;</code>
* @param value The w to set.
* @return This builder for chaining.
*/
public Builder setW(int value) {
copyOnWrite();
instance.setW(value);
return this;
}
/**
* <pre>
* Width of the creative in device independent pixels (DIPS).
* Supported by Google.
* </pre>
*
* <code>optional int32 w = 16;</code>
* @return This builder for chaining.
*/
public Builder clearW() {
copyOnWrite();
instance.clearW();
return this;
}
/**
* <pre>
* Height of the creative in device independent pixels (DIPS).
* Supported by Google.
* </pre>
*
* <code>optional int32 h = 17;</code>
* @return Whether the h field is set.
*/
@java.lang.Override
public boolean hasH() {
return instance.hasH();
}
/**
* <pre>
* Height of the creative in device independent pixels (DIPS).
* Supported by Google.
* </pre>
*
* <code>optional int32 h = 17;</code>
* @return The h.
*/
@java.lang.Override
public int getH() {
return instance.getH();
}
/**
* <pre>
* Height of the creative in device independent pixels (DIPS).
* Supported by Google.
* </pre>
*
* <code>optional int32 h = 17;</code>
* @param value The h to set.
* @return This builder for chaining.
*/
public Builder setH(int value) {
copyOnWrite();
instance.setH(value);
return this;
}
/**
* <pre>
* Height of the creative in device independent pixels (DIPS).
* Supported by Google.
* </pre>
*
* <code>optional int32 h = 17;</code>
* @return This builder for chaining.
*/
public Builder clearH() {
copyOnWrite();
instance.clearH();
return this;
}
/**
* <pre>
* Relative width of the creative when expressing size as a ratio.
* Required for Flex Ads.
* Ignored by Google.
* </pre>
*
* <code>optional int32 wratio = 26;</code>
* @return Whether the wratio field is set.
*/
@java.lang.Override
public boolean hasWratio() {
return instance.hasWratio();
}
/**
* <pre>
* Relative width of the creative when expressing size as a ratio.
* Required for Flex Ads.
* Ignored by Google.
* </pre>
*
* <code>optional int32 wratio = 26;</code>
* @return The wratio.
*/
@java.lang.Override
public int getWratio() {
return instance.getWratio();
}
/**
* <pre>
* Relative width of the creative when expressing size as a ratio.
* Required for Flex Ads.
* Ignored by Google.
* </pre>
*
* <code>optional int32 wratio = 26;</code>
* @param value The wratio to set.
* @return This builder for chaining.
*/
public Builder setWratio(int value) {
copyOnWrite();
instance.setWratio(value);
return this;
}
/**
* <pre>
* Relative width of the creative when expressing size as a ratio.
* Required for Flex Ads.
* Ignored by Google.
* </pre>
*
* <code>optional int32 wratio = 26;</code>
* @return This builder for chaining.
*/
public Builder clearWratio() {
copyOnWrite();
instance.clearWratio();
return this;
}
/**
* <pre>
* Relative height of the creative when expressing size as a ratio.
* Required for Flex Ads.
* Ignored by Google.
* </pre>
*
* <code>optional int32 hratio = 27;</code>
* @return Whether the hratio field is set.
*/
@java.lang.Override
public boolean hasHratio() {
return instance.hasHratio();
}
/**
* <pre>
* Relative height of the creative when expressing size as a ratio.
* Required for Flex Ads.
* Ignored by Google.
* </pre>
*
* <code>optional int32 hratio = 27;</code>
* @return The hratio.
*/
@java.lang.Override
public int getHratio() {
return instance.getHratio();
}
/**
* <pre>
* Relative height of the creative when expressing size as a ratio.
* Required for Flex Ads.
* Ignored by Google.
* </pre>
*
* <code>optional int32 hratio = 27;</code>
* @param value The hratio to set.
* @return This builder for chaining.
*/
public Builder setHratio(int value) {
copyOnWrite();
instance.setHratio(value);
return this;
}
/**
* <pre>
* Relative height of the creative when expressing size as a ratio.
* Required for Flex Ads.
* Ignored by Google.
* </pre>
*
* <code>optional int32 hratio = 27;</code>
* @return This builder for chaining.
*/
public Builder clearHratio() {
copyOnWrite();
instance.clearHratio();
return this;
}
/**
* <pre>
* Advisory as to the number of seconds the bidder is willing to
* wait between the auction and the actual impression.
* Ignored by Google.
* </pre>
*
* <code>optional int32 exp = 21;</code>
* @return Whether the exp field is set.
*/
@java.lang.Override
public boolean hasExp() {
return instance.hasExp();
}
/**
* <pre>
* Advisory as to the number of seconds the bidder is willing to
* wait between the auction and the actual impression.
* Ignored by Google.
* </pre>
*
* <code>optional int32 exp = 21;</code>
* @return The exp.
*/
@java.lang.Override
public int getExp() {
return instance.getExp();
}
/**
* <pre>
* Advisory as to the number of seconds the bidder is willing to
* wait between the auction and the actual impression.
* Ignored by Google.
* </pre>
*
* <code>optional int32 exp = 21;</code>
* @param value The exp to set.
* @return This builder for chaining.
*/
public Builder setExp(int value) {
copyOnWrite();
instance.setExp(value);
return this;
}
/**
* <pre>
* Advisory as to the number of seconds the bidder is willing to
* wait between the auction and the actual impression.
* Ignored by Google.
* </pre>
*
* <code>optional int32 exp = 21;</code>
* @return This builder for chaining.
*/
public Builder clearExp() {
copyOnWrite();
instance.clearExp();
return this;
}
/**
* <pre>
* Duration of the video or audio creative in seconds.
* Ignored by Google.
* </pre>
*
* <code>optional int32 dur = 32;</code>
* @return Whether the dur field is set.
*/
@java.lang.Override
public boolean hasDur() {
return instance.hasDur();
}
/**
* <pre>
* Duration of the video or audio creative in seconds.
* Ignored by Google.
* </pre>
*
* <code>optional int32 dur = 32;</code>
* @return The dur.
*/
@java.lang.Override
public int getDur() {
return instance.getDur();
}
/**
* <pre>
* Duration of the video or audio creative in seconds.
* Ignored by Google.
* </pre>
*
* <code>optional int32 dur = 32;</code>
* @param value The dur to set.
* @return This builder for chaining.
*/
public Builder setDur(int value) {
copyOnWrite();
instance.setDur(value);
return this;
}
/**
* <pre>
* Duration of the video or audio creative in seconds.
* Ignored by Google.
* </pre>
*
* <code>optional int32 dur = 32;</code>
* @return This builder for chaining.
*/
public Builder clearDur() {
copyOnWrite();
instance.clearDur();
return this;
}
/**
* <pre>
* Indicates that the bid is only eligible
* for a specific position within the pod.
* This field is currently only supported for rewarded video pods
* requests.
* </pre>
*
* <code>optional .com.google.openrtb.SlotPositionInPod slotinpod = 28;</code>
* @return Whether the slotinpod field is set.
*/
@java.lang.Override
public boolean hasSlotinpod() {
return instance.hasSlotinpod();
}
/**
* <pre>
* Indicates that the bid is only eligible
* for a specific position within the pod.
* This field is currently only supported for rewarded video pods
* requests.
* </pre>
*
* <code>optional .com.google.openrtb.SlotPositionInPod slotinpod = 28;</code>
* @return The slotinpod.
*/
@java.lang.Override
public com.particles.mes.protos.openrtb.SlotPositionInPod getSlotinpod() {
return instance.getSlotinpod();
}
/**
* <pre>
* Indicates that the bid is only eligible
* for a specific position within the pod.
* This field is currently only supported for rewarded video pods
* requests.
* </pre>
*
* <code>optional .com.google.openrtb.SlotPositionInPod slotinpod = 28;</code>
* @param value The enum numeric value on the wire for slotinpod to set.
* @return This builder for chaining.
*/
public Builder setSlotinpod(com.particles.mes.protos.openrtb.SlotPositionInPod value) {
copyOnWrite();
instance.setSlotinpod(value);
return this;
}
/**
* <pre>
* Indicates that the bid is only eligible
* for a specific position within the pod.
* This field is currently only supported for rewarded video pods
* requests.
* </pre>
*
* <code>optional .com.google.openrtb.SlotPositionInPod slotinpod = 28;</code>
* @return This builder for chaining.
*/
public Builder clearSlotinpod() {
copyOnWrite();
instance.clearSlotinpod();
return this;
}
/**
* <pre>
* Type of the creative markup so that it can properly be
* associated with the right sub-object of the BidRequest.Imp.
* Ignored by Google.
* </pre>
*
* <code>optional .com.google.openrtb.CreativeMarkupType mtype = 33;</code>
* @return Whether the mtype field is set.
*/
@java.lang.Override
public boolean hasMtype() {
return instance.hasMtype();
}
/**
* <pre>
* Type of the creative markup so that it can properly be
* associated with the right sub-object of the BidRequest.Imp.
* Ignored by Google.
* </pre>
*
* <code>optional .com.google.openrtb.CreativeMarkupType mtype = 33;</code>
* @return The mtype.
*/
@java.lang.Override
public com.particles.mes.protos.openrtb.CreativeMarkupType getMtype() {
return instance.getMtype();
}
/**
* <pre>
* Type of the creative markup so that it can properly be
* associated with the right sub-object of the BidRequest.Imp.
* Ignored by Google.
* </pre>
*
* <code>optional .com.google.openrtb.CreativeMarkupType mtype = 33;</code>
* @param value The enum numeric value on the wire for mtype to set.
* @return This builder for chaining.
*/
public Builder setMtype(com.particles.mes.protos.openrtb.CreativeMarkupType value) {
copyOnWrite();
instance.setMtype(value);
return this;
}
/**
* <pre>
* Type of the creative markup so that it can properly be
* associated with the right sub-object of the BidRequest.Imp.
* Ignored by Google.
* </pre>
*
* <code>optional .com.google.openrtb.CreativeMarkupType mtype = 33;</code>
* @return This builder for chaining.
*/
public Builder clearMtype() {
copyOnWrite();
instance.clearMtype();
return this;
}
/**
* <pre>
* Extension
* </pre>
*
* <code>optional string ext = 90;</code>
* @return Whether the ext field is set.
*/
@java.lang.Override
public boolean hasExt() {
return instance.hasExt();
}
/**
* <pre>
* Extension
* </pre>
*
* <code>optional string ext = 90;</code>
* @return The ext.
*/
@java.lang.Override
public java.lang.String getExt() {
return instance.getExt();
}
/**
* <pre>
* Extension
* </pre>
*
* <code>optional string ext = 90;</code>
* @return The bytes for ext.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getExtBytes() {
return instance.getExtBytes();
}
/**
* <pre>
* Extension
* </pre>
*
* <code>optional string ext = 90;</code>
* @param value The ext to set.
* @return This builder for chaining.
*/
public Builder setExt(
java.lang.String value) {
copyOnWrite();
instance.setExt(value);
return this;
}
/**
* <pre>
* Extension
* </pre>
*
* <code>optional string ext = 90;</code>
* @return This builder for chaining.
*/
public Builder clearExt() {
copyOnWrite();
instance.clearExt();
return this;
}
/**
* <pre>
* Extension
* </pre>
*
* <code>optional string ext = 90;</code>
* @param value The bytes for ext to set.
* @return This builder for chaining.
*/
public Builder setExtBytes(
com.google.protobuf.ByteString value) {
copyOnWrite();
instance.setExtBytes(value);
return this;
}
// @@protoc_insertion_point(builder_scope:com.google.openrtb.BidResponse.SeatBid.Bid)
}
private byte memoizedIsInitialized = 2;
@java.lang.Override
@java.lang.SuppressWarnings({"unchecked", "fallthrough"})
protected final java.lang.Object dynamicMethod(
com.google.protobuf.GeneratedMessageLite.MethodToInvoke method,
java.lang.Object arg0, java.lang.Object arg1) {
switch (method) {
case NEW_MUTABLE_INSTANCE: {
return new com.particles.mes.protos.openrtb.BidResponse.SeatBid.Bid();
}
case NEW_BUILDER: {
return new Builder();
}
case BUILD_MESSAGE_INFO: {
java.lang.Object[] objects = new java.lang.Object[] {
"admOneof_",
"admOneofCase_",
"bitField0_",
"id_",
"impid_",
"price_",
"adid_",
"nurl_",
"adomain_",
"iurl_",
"cid_",
"crid_",
"attr_",
com.particles.mes.protos.openrtb.CreativeAttribute.internalGetVerifier(),
"dealid_",
"bundle_",
"cat_",
"w_",
"h_",
"api_",
com.particles.mes.protos.openrtb.APIFramework.internalGetVerifier(),
"protocol_",
com.particles.mes.protos.openrtb.Protocol.internalGetVerifier(),
"qagmediarating_",
com.particles.mes.protos.openrtb.QAGMediaRating.internalGetVerifier(),
"exp_",
"burl_",
"lurl_",
"tactic_",
"language_",
"wratio_",
"hratio_",
"slotinpod_",
com.particles.mes.protos.openrtb.SlotPositionInPod.internalGetVerifier(),
"langb_",
"cattax_",
com.particles.mes.protos.openrtb.CategoryTaxonomy.internalGetVerifier(),
"apis_",
com.particles.mes.protos.openrtb.APIFramework.internalGetVerifier(),
"dur_",
"mtype_",
com.particles.mes.protos.openrtb.CreativeMarkupType.internalGetVerifier(),
com.particles.mes.protos.openrtb.NativeResponse.class,
"ext_",
};
java.lang.String info =
"\u0001\"\u0001\u0001\u0001Z\"\u0000\u0004\u0004\u0001\u1508\u0002\u0002\u1508\u0003" +
"\u0003\u1500\u0004\u0004\u1008\b\u0005\u1008\u0005\u0006\u103b\u0000\u0007\u001a" +
"\b\u1008\n\t\u1008\u000b\n\u1008\f\u000b,\r\u1008\u0014\u000e\u1008\t\u000f\u001a" +
"\u0010\u1004\u0015\u0011\u1004\u0016\u0012\u100c\u000f\u0013\u100c\u0010\u0014\u100c" +
"\u0011\u0015\u1004\u0019\u0016\u1008\u0006\u0017\u1008\u0007\u0018\u1008\r\u0019" +
"\u1008\u0012\u001a\u1004\u0017\u001b\u1004\u0018\u001c\u100c\u001b\u001d\u1008\u0013" +
"\u001e\u100c\u000e\u001f, \u1004\u001a!\u100c\u001c2\u143c\u0000Z\u1008\u001d";
return newMessageInfo(DEFAULT_INSTANCE, info, objects);
}
// fall through
case GET_DEFAULT_INSTANCE: {
return DEFAULT_INSTANCE;
}
case GET_PARSER: {
com.google.protobuf.Parser<com.particles.mes.protos.openrtb.BidResponse.SeatBid.Bid> parser = PARSER;
if (parser == null) {
synchronized (com.particles.mes.protos.openrtb.BidResponse.SeatBid.Bid.class) {
parser = PARSER;
if (parser == null) {
parser =
new DefaultInstanceBasedParser<com.particles.mes.protos.openrtb.BidResponse.SeatBid.Bid>(
DEFAULT_INSTANCE);
PARSER = parser;
}
}
}
return parser;
}
case GET_MEMOIZED_IS_INITIALIZED: {
return memoizedIsInitialized;
}
case SET_MEMOIZED_IS_INITIALIZED: {
memoizedIsInitialized = (byte) (arg0 == null ? 0 : 1);
return null;
}
}
throw new UnsupportedOperationException();
}
// @@protoc_insertion_point(class_scope:com.google.openrtb.BidResponse.SeatBid.Bid)
private static final com.particles.mes.protos.openrtb.BidResponse.SeatBid.Bid DEFAULT_INSTANCE;
static {
Bid defaultInstance = new Bid();
// New instances are implicitly immutable so no need to make
// immutable.
DEFAULT_INSTANCE = defaultInstance;
com.google.protobuf.GeneratedMessageLite.registerDefaultInstance(
Bid.class, defaultInstance);
}
public static com.particles.mes.protos.openrtb.BidResponse.SeatBid.Bid getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static volatile com.google.protobuf.Parser<Bid> PARSER;
public static com.google.protobuf.Parser<Bid> parser() {
return DEFAULT_INSTANCE.getParserForType();
}
}
private int bitField0_;
public static final int BID_FIELD_NUMBER = 1;
private com.google.protobuf.Internal.ProtobufList<com.particles.mes.protos.openrtb.BidResponse.SeatBid.Bid> bid_;
/**
* <pre>
* Array of 1+ Bid objects (Section 4.2.3) each related to an impression.
* Multiple bids can relate to the same impression.
* Supported by Google.
* </pre>
*
* <code>repeated .com.google.openrtb.BidResponse.SeatBid.Bid bid = 1;</code>
*/
@java.lang.Override
public java.util.List<com.particles.mes.protos.openrtb.BidResponse.SeatBid.Bid> getBidList() {
return bid_;
}
/**
* <pre>
* Array of 1+ Bid objects (Section 4.2.3) each related to an impression.
* Multiple bids can relate to the same impression.
* Supported by Google.
* </pre>
*
* <code>repeated .com.google.openrtb.BidResponse.SeatBid.Bid bid = 1;</code>
*/
public java.util.List<? extends com.particles.mes.protos.openrtb.BidResponse.SeatBid.BidOrBuilder>
getBidOrBuilderList() {
return bid_;
}
/**
* <pre>
* Array of 1+ Bid objects (Section 4.2.3) each related to an impression.
* Multiple bids can relate to the same impression.
* Supported by Google.
* </pre>
*
* <code>repeated .com.google.openrtb.BidResponse.SeatBid.Bid bid = 1;</code>
*/
@java.lang.Override
public int getBidCount() {
return bid_.size();
}
/**
* <pre>
* Array of 1+ Bid objects (Section 4.2.3) each related to an impression.
* Multiple bids can relate to the same impression.
* Supported by Google.
* </pre>
*
* <code>repeated .com.google.openrtb.BidResponse.SeatBid.Bid bid = 1;</code>
*/
@java.lang.Override
public com.particles.mes.protos.openrtb.BidResponse.SeatBid.Bid getBid(int index) {
return bid_.get(index);
}
/**
* <pre>
* Array of 1+ Bid objects (Section 4.2.3) each related to an impression.
* Multiple bids can relate to the same impression.
* Supported by Google.
* </pre>
*
* <code>repeated .com.google.openrtb.BidResponse.SeatBid.Bid bid = 1;</code>
*/
public com.particles.mes.protos.openrtb.BidResponse.SeatBid.BidOrBuilder getBidOrBuilder(
int index) {
return bid_.get(index);
}
private void ensureBidIsMutable() {
com.google.protobuf.Internal.ProtobufList<com.particles.mes.protos.openrtb.BidResponse.SeatBid.Bid> tmp = bid_;
if (!tmp.isModifiable()) {
bid_ =
com.google.protobuf.GeneratedMessageLite.mutableCopy(tmp);
}
}
/**
* <pre>
* Array of 1+ Bid objects (Section 4.2.3) each related to an impression.
* Multiple bids can relate to the same impression.
* Supported by Google.
* </pre>
*
* <code>repeated .com.google.openrtb.BidResponse.SeatBid.Bid bid = 1;</code>
*/
private void setBid(
int index, com.particles.mes.protos.openrtb.BidResponse.SeatBid.Bid value) {
value.getClass();
ensureBidIsMutable();
bid_.set(index, value);
}
/**
* <pre>
* Array of 1+ Bid objects (Section 4.2.3) each related to an impression.
* Multiple bids can relate to the same impression.
* Supported by Google.
* </pre>
*
* <code>repeated .com.google.openrtb.BidResponse.SeatBid.Bid bid = 1;</code>
*/
private void addBid(com.particles.mes.protos.openrtb.BidResponse.SeatBid.Bid value) {
value.getClass();
ensureBidIsMutable();
bid_.add(value);
}
/**
* <pre>
* Array of 1+ Bid objects (Section 4.2.3) each related to an impression.
* Multiple bids can relate to the same impression.
* Supported by Google.
* </pre>
*
* <code>repeated .com.google.openrtb.BidResponse.SeatBid.Bid bid = 1;</code>
*/
private void addBid(
int index, com.particles.mes.protos.openrtb.BidResponse.SeatBid.Bid value) {
value.getClass();
ensureBidIsMutable();
bid_.add(index, value);
}
/**
* <pre>
* Array of 1+ Bid objects (Section 4.2.3) each related to an impression.
* Multiple bids can relate to the same impression.
* Supported by Google.
* </pre>
*
* <code>repeated .com.google.openrtb.BidResponse.SeatBid.Bid bid = 1;</code>
*/
private void addAllBid(
java.lang.Iterable<? extends com.particles.mes.protos.openrtb.BidResponse.SeatBid.Bid> values) {
ensureBidIsMutable();
com.google.protobuf.AbstractMessageLite.addAll(
values, bid_);
}
/**
* <pre>
* Array of 1+ Bid objects (Section 4.2.3) each related to an impression.
* Multiple bids can relate to the same impression.
* Supported by Google.
* </pre>
*
* <code>repeated .com.google.openrtb.BidResponse.SeatBid.Bid bid = 1;</code>
*/
private void clearBid() {
bid_ = emptyProtobufList();
}
/**
* <pre>
* Array of 1+ Bid objects (Section 4.2.3) each related to an impression.
* Multiple bids can relate to the same impression.
* Supported by Google.
* </pre>
*
* <code>repeated .com.google.openrtb.BidResponse.SeatBid.Bid bid = 1;</code>
*/
private void removeBid(int index) {
ensureBidIsMutable();
bid_.remove(index);
}
public static final int SEAT_FIELD_NUMBER = 2;
private java.lang.String seat_;
/**
* <pre>
* ID of the buyer seat (for example, advertiser, agency) on whose behalf
* this bid is made.
* This ID will be used to breakdown spend and invalid traffic metrics in
* IVT transparency reporting, given that it is no longer than 64 bytes.
* Supported by Google.
* </pre>
*
* <code>optional string seat = 2;</code>
* @return Whether the seat field is set.
*/
@java.lang.Override
public boolean hasSeat() {
return ((bitField0_ & 0x00000001) != 0);
}
/**
* <pre>
* ID of the buyer seat (for example, advertiser, agency) on whose behalf
* this bid is made.
* This ID will be used to breakdown spend and invalid traffic metrics in
* IVT transparency reporting, given that it is no longer than 64 bytes.
* Supported by Google.
* </pre>
*
* <code>optional string seat = 2;</code>
* @return The seat.
*/
@java.lang.Override
public java.lang.String getSeat() {
return seat_;
}
/**
* <pre>
* ID of the buyer seat (for example, advertiser, agency) on whose behalf
* this bid is made.
* This ID will be used to breakdown spend and invalid traffic metrics in
* IVT transparency reporting, given that it is no longer than 64 bytes.
* Supported by Google.
* </pre>
*
* <code>optional string seat = 2;</code>
* @return The bytes for seat.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getSeatBytes() {
return com.google.protobuf.ByteString.copyFromUtf8(seat_);
}
/**
* <pre>
* ID of the buyer seat (for example, advertiser, agency) on whose behalf
* this bid is made.
* This ID will be used to breakdown spend and invalid traffic metrics in
* IVT transparency reporting, given that it is no longer than 64 bytes.
* Supported by Google.
* </pre>
*
* <code>optional string seat = 2;</code>
* @param value The seat to set.
*/
private void setSeat(
java.lang.String value) {
java.lang.Class<?> valueClass = value.getClass();
bitField0_ |= 0x00000001;
seat_ = value;
}
/**
* <pre>
* ID of the buyer seat (for example, advertiser, agency) on whose behalf
* this bid is made.
* This ID will be used to breakdown spend and invalid traffic metrics in
* IVT transparency reporting, given that it is no longer than 64 bytes.
* Supported by Google.
* </pre>
*
* <code>optional string seat = 2;</code>
*/
private void clearSeat() {
bitField0_ = (bitField0_ & ~0x00000001);
seat_ = getDefaultInstance().getSeat();
}
/**
* <pre>
* ID of the buyer seat (for example, advertiser, agency) on whose behalf
* this bid is made.
* This ID will be used to breakdown spend and invalid traffic metrics in
* IVT transparency reporting, given that it is no longer than 64 bytes.
* Supported by Google.
* </pre>
*
* <code>optional string seat = 2;</code>
* @param value The bytes for seat to set.
*/
private void setSeatBytes(
com.google.protobuf.ByteString value) {
seat_ = value.toStringUtf8();
bitField0_ |= 0x00000001;
}
public static final int GROUP_FIELD_NUMBER = 3;
private boolean group_;
/**
* <pre>
* false = impressions can be won individually;
* true = impressions must be won or lost as a group.
* Ignored by Google.
* </pre>
*
* <code>optional bool group = 3 [default = false];</code>
* @return Whether the group field is set.
*/
@java.lang.Override
public boolean hasGroup() {
return ((bitField0_ & 0x00000002) != 0);
}
/**
* <pre>
* false = impressions can be won individually;
* true = impressions must be won or lost as a group.
* Ignored by Google.
* </pre>
*
* <code>optional bool group = 3 [default = false];</code>
* @return The group.
*/
@java.lang.Override
public boolean getGroup() {
return group_;
}
/**
* <pre>
* false = impressions can be won individually;
* true = impressions must be won or lost as a group.
* Ignored by Google.
* </pre>
*
* <code>optional bool group = 3 [default = false];</code>
* @param value The group to set.
*/
private void setGroup(boolean value) {
bitField0_ |= 0x00000002;
group_ = value;
}
/**
* <pre>
* false = impressions can be won individually;
* true = impressions must be won or lost as a group.
* Ignored by Google.
* </pre>
*
* <code>optional bool group = 3 [default = false];</code>
*/
private void clearGroup() {
bitField0_ = (bitField0_ & ~0x00000002);
group_ = false;
}
public static com.particles.mes.protos.openrtb.BidResponse.SeatBid parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, data);
}
public static com.particles.mes.protos.openrtb.BidResponse.SeatBid parseFrom(
java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, data, extensionRegistry);
}
public static com.particles.mes.protos.openrtb.BidResponse.SeatBid parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, data);
}
public static com.particles.mes.protos.openrtb.BidResponse.SeatBid parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, data, extensionRegistry);
}
public static com.particles.mes.protos.openrtb.BidResponse.SeatBid parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, data);
}
public static com.particles.mes.protos.openrtb.BidResponse.SeatBid parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, data, extensionRegistry);
}
public static com.particles.mes.protos.openrtb.BidResponse.SeatBid parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, input);
}
public static com.particles.mes.protos.openrtb.BidResponse.SeatBid parseFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, input, extensionRegistry);
}
public static com.particles.mes.protos.openrtb.BidResponse.SeatBid parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return parseDelimitedFrom(DEFAULT_INSTANCE, input);
}
public static com.particles.mes.protos.openrtb.BidResponse.SeatBid parseDelimitedFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return parseDelimitedFrom(DEFAULT_INSTANCE, input, extensionRegistry);
}
public static com.particles.mes.protos.openrtb.BidResponse.SeatBid parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, input);
}
public static com.particles.mes.protos.openrtb.BidResponse.SeatBid parseFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, input, extensionRegistry);
}
public static Builder newBuilder() {
return (Builder) DEFAULT_INSTANCE.createBuilder();
}
public static Builder newBuilder(com.particles.mes.protos.openrtb.BidResponse.SeatBid prototype) {
return (Builder) DEFAULT_INSTANCE.createBuilder(prototype);
}
/**
* <pre>
* OpenRTB 2.0: A bid response can contain multiple SeatBid objects, each on
* behalf of a different bidder seat and each containing one or more
* individual bids. If multiple impressions are presented in the request, the
* group attribute can be used to specify if a seat is willing to accept any
* impressions that it can win (default) or if it is only interested in
* winning any if it can win them all as a group.
* </pre>
*
* Protobuf type {@code com.google.openrtb.BidResponse.SeatBid}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageLite.ExtendableBuilder<
com.particles.mes.protos.openrtb.BidResponse.SeatBid, Builder> implements
// @@protoc_insertion_point(builder_implements:com.google.openrtb.BidResponse.SeatBid)
com.particles.mes.protos.openrtb.BidResponse.SeatBidOrBuilder {
// Construct using com.particles.mes.protos.openrtb.BidResponse.SeatBid.newBuilder()
private Builder() {
super(DEFAULT_INSTANCE);
}
/**
* <pre>
* Array of 1+ Bid objects (Section 4.2.3) each related to an impression.
* Multiple bids can relate to the same impression.
* Supported by Google.
* </pre>
*
* <code>repeated .com.google.openrtb.BidResponse.SeatBid.Bid bid = 1;</code>
*/
@java.lang.Override
public java.util.List<com.particles.mes.protos.openrtb.BidResponse.SeatBid.Bid> getBidList() {
return java.util.Collections.unmodifiableList(
instance.getBidList());
}
/**
* <pre>
* Array of 1+ Bid objects (Section 4.2.3) each related to an impression.
* Multiple bids can relate to the same impression.
* Supported by Google.
* </pre>
*
* <code>repeated .com.google.openrtb.BidResponse.SeatBid.Bid bid = 1;</code>
*/
@java.lang.Override
public int getBidCount() {
return instance.getBidCount();
}/**
* <pre>
* Array of 1+ Bid objects (Section 4.2.3) each related to an impression.
* Multiple bids can relate to the same impression.
* Supported by Google.
* </pre>
*
* <code>repeated .com.google.openrtb.BidResponse.SeatBid.Bid bid = 1;</code>
*/
@java.lang.Override
public com.particles.mes.protos.openrtb.BidResponse.SeatBid.Bid getBid(int index) {
return instance.getBid(index);
}
/**
* <pre>
* Array of 1+ Bid objects (Section 4.2.3) each related to an impression.
* Multiple bids can relate to the same impression.
* Supported by Google.
* </pre>
*
* <code>repeated .com.google.openrtb.BidResponse.SeatBid.Bid bid = 1;</code>
*/
public Builder setBid(
int index, com.particles.mes.protos.openrtb.BidResponse.SeatBid.Bid value) {
copyOnWrite();
instance.setBid(index, value);
return this;
}
/**
* <pre>
* Array of 1+ Bid objects (Section 4.2.3) each related to an impression.
* Multiple bids can relate to the same impression.
* Supported by Google.
* </pre>
*
* <code>repeated .com.google.openrtb.BidResponse.SeatBid.Bid bid = 1;</code>
*/
public Builder setBid(
int index, com.particles.mes.protos.openrtb.BidResponse.SeatBid.Bid.Builder builderForValue) {
copyOnWrite();
instance.setBid(index,
builderForValue.build());
return this;
}
/**
* <pre>
* Array of 1+ Bid objects (Section 4.2.3) each related to an impression.
* Multiple bids can relate to the same impression.
* Supported by Google.
* </pre>
*
* <code>repeated .com.google.openrtb.BidResponse.SeatBid.Bid bid = 1;</code>
*/
public Builder addBid(com.particles.mes.protos.openrtb.BidResponse.SeatBid.Bid value) {
copyOnWrite();
instance.addBid(value);
return this;
}
/**
* <pre>
* Array of 1+ Bid objects (Section 4.2.3) each related to an impression.
* Multiple bids can relate to the same impression.
* Supported by Google.
* </pre>
*
* <code>repeated .com.google.openrtb.BidResponse.SeatBid.Bid bid = 1;</code>
*/
public Builder addBid(
int index, com.particles.mes.protos.openrtb.BidResponse.SeatBid.Bid value) {
copyOnWrite();
instance.addBid(index, value);
return this;
}
/**
* <pre>
* Array of 1+ Bid objects (Section 4.2.3) each related to an impression.
* Multiple bids can relate to the same impression.
* Supported by Google.
* </pre>
*
* <code>repeated .com.google.openrtb.BidResponse.SeatBid.Bid bid = 1;</code>
*/
public Builder addBid(
com.particles.mes.protos.openrtb.BidResponse.SeatBid.Bid.Builder builderForValue) {
copyOnWrite();
instance.addBid(builderForValue.build());
return this;
}
/**
* <pre>
* Array of 1+ Bid objects (Section 4.2.3) each related to an impression.
* Multiple bids can relate to the same impression.
* Supported by Google.
* </pre>
*
* <code>repeated .com.google.openrtb.BidResponse.SeatBid.Bid bid = 1;</code>
*/
public Builder addBid(
int index, com.particles.mes.protos.openrtb.BidResponse.SeatBid.Bid.Builder builderForValue) {
copyOnWrite();
instance.addBid(index,
builderForValue.build());
return this;
}
/**
* <pre>
* Array of 1+ Bid objects (Section 4.2.3) each related to an impression.
* Multiple bids can relate to the same impression.
* Supported by Google.
* </pre>
*
* <code>repeated .com.google.openrtb.BidResponse.SeatBid.Bid bid = 1;</code>
*/
public Builder addAllBid(
java.lang.Iterable<? extends com.particles.mes.protos.openrtb.BidResponse.SeatBid.Bid> values) {
copyOnWrite();
instance.addAllBid(values);
return this;
}
/**
* <pre>
* Array of 1+ Bid objects (Section 4.2.3) each related to an impression.
* Multiple bids can relate to the same impression.
* Supported by Google.
* </pre>
*
* <code>repeated .com.google.openrtb.BidResponse.SeatBid.Bid bid = 1;</code>
*/
public Builder clearBid() {
copyOnWrite();
instance.clearBid();
return this;
}
/**
* <pre>
* Array of 1+ Bid objects (Section 4.2.3) each related to an impression.
* Multiple bids can relate to the same impression.
* Supported by Google.
* </pre>
*
* <code>repeated .com.google.openrtb.BidResponse.SeatBid.Bid bid = 1;</code>
*/
public Builder removeBid(int index) {
copyOnWrite();
instance.removeBid(index);
return this;
}
/**
* <pre>
* ID of the buyer seat (for example, advertiser, agency) on whose behalf
* this bid is made.
* This ID will be used to breakdown spend and invalid traffic metrics in
* IVT transparency reporting, given that it is no longer than 64 bytes.
* Supported by Google.
* </pre>
*
* <code>optional string seat = 2;</code>
* @return Whether the seat field is set.
*/
@java.lang.Override
public boolean hasSeat() {
return instance.hasSeat();
}
/**
* <pre>
* ID of the buyer seat (for example, advertiser, agency) on whose behalf
* this bid is made.
* This ID will be used to breakdown spend and invalid traffic metrics in
* IVT transparency reporting, given that it is no longer than 64 bytes.
* Supported by Google.
* </pre>
*
* <code>optional string seat = 2;</code>
* @return The seat.
*/
@java.lang.Override
public java.lang.String getSeat() {
return instance.getSeat();
}
/**
* <pre>
* ID of the buyer seat (for example, advertiser, agency) on whose behalf
* this bid is made.
* This ID will be used to breakdown spend and invalid traffic metrics in
* IVT transparency reporting, given that it is no longer than 64 bytes.
* Supported by Google.
* </pre>
*
* <code>optional string seat = 2;</code>
* @return The bytes for seat.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getSeatBytes() {
return instance.getSeatBytes();
}
/**
* <pre>
* ID of the buyer seat (for example, advertiser, agency) on whose behalf
* this bid is made.
* This ID will be used to breakdown spend and invalid traffic metrics in
* IVT transparency reporting, given that it is no longer than 64 bytes.
* Supported by Google.
* </pre>
*
* <code>optional string seat = 2;</code>
* @param value The seat to set.
* @return This builder for chaining.
*/
public Builder setSeat(
java.lang.String value) {
copyOnWrite();
instance.setSeat(value);
return this;
}
/**
* <pre>
* ID of the buyer seat (for example, advertiser, agency) on whose behalf
* this bid is made.
* This ID will be used to breakdown spend and invalid traffic metrics in
* IVT transparency reporting, given that it is no longer than 64 bytes.
* Supported by Google.
* </pre>
*
* <code>optional string seat = 2;</code>
* @return This builder for chaining.
*/
public Builder clearSeat() {
copyOnWrite();
instance.clearSeat();
return this;
}
/**
* <pre>
* ID of the buyer seat (for example, advertiser, agency) on whose behalf
* this bid is made.
* This ID will be used to breakdown spend and invalid traffic metrics in
* IVT transparency reporting, given that it is no longer than 64 bytes.
* Supported by Google.
* </pre>
*
* <code>optional string seat = 2;</code>
* @param value The bytes for seat to set.
* @return This builder for chaining.
*/
public Builder setSeatBytes(
com.google.protobuf.ByteString value) {
copyOnWrite();
instance.setSeatBytes(value);
return this;
}
/**
* <pre>
* false = impressions can be won individually;
* true = impressions must be won or lost as a group.
* Ignored by Google.
* </pre>
*
* <code>optional bool group = 3 [default = false];</code>
* @return Whether the group field is set.
*/
@java.lang.Override
public boolean hasGroup() {
return instance.hasGroup();
}
/**
* <pre>
* false = impressions can be won individually;
* true = impressions must be won or lost as a group.
* Ignored by Google.
* </pre>
*
* <code>optional bool group = 3 [default = false];</code>
* @return The group.
*/
@java.lang.Override
public boolean getGroup() {
return instance.getGroup();
}
/**
* <pre>
* false = impressions can be won individually;
* true = impressions must be won or lost as a group.
* Ignored by Google.
* </pre>
*
* <code>optional bool group = 3 [default = false];</code>
* @param value The group to set.
* @return This builder for chaining.
*/
public Builder setGroup(boolean value) {
copyOnWrite();
instance.setGroup(value);
return this;
}
/**
* <pre>
* false = impressions can be won individually;
* true = impressions must be won or lost as a group.
* Ignored by Google.
* </pre>
*
* <code>optional bool group = 3 [default = false];</code>
* @return This builder for chaining.
*/
public Builder clearGroup() {
copyOnWrite();
instance.clearGroup();
return this;
}
// @@protoc_insertion_point(builder_scope:com.google.openrtb.BidResponse.SeatBid)
}
private byte memoizedIsInitialized = 2;
@java.lang.Override
@java.lang.SuppressWarnings({"unchecked", "fallthrough"})
protected final java.lang.Object dynamicMethod(
com.google.protobuf.GeneratedMessageLite.MethodToInvoke method,
java.lang.Object arg0, java.lang.Object arg1) {
switch (method) {
case NEW_MUTABLE_INSTANCE: {
return new com.particles.mes.protos.openrtb.BidResponse.SeatBid();
}
case NEW_BUILDER: {
return new Builder();
}
case BUILD_MESSAGE_INFO: {
java.lang.Object[] objects = new java.lang.Object[] {
"bitField0_",
"bid_",
com.particles.mes.protos.openrtb.BidResponse.SeatBid.Bid.class,
"seat_",
"group_",
};
java.lang.String info =
"\u0001\u0003\u0000\u0001\u0001\u0003\u0003\u0000\u0001\u0001\u0001\u041b\u0002\u1008" +
"\u0000\u0003\u1007\u0001";
return newMessageInfo(DEFAULT_INSTANCE, info, objects);
}
// fall through
case GET_DEFAULT_INSTANCE: {
return DEFAULT_INSTANCE;
}
case GET_PARSER: {
com.google.protobuf.Parser<com.particles.mes.protos.openrtb.BidResponse.SeatBid> parser = PARSER;
if (parser == null) {
synchronized (com.particles.mes.protos.openrtb.BidResponse.SeatBid.class) {
parser = PARSER;
if (parser == null) {
parser =
new DefaultInstanceBasedParser<com.particles.mes.protos.openrtb.BidResponse.SeatBid>(
DEFAULT_INSTANCE);
PARSER = parser;
}
}
}
return parser;
}
case GET_MEMOIZED_IS_INITIALIZED: {
return memoizedIsInitialized;
}
case SET_MEMOIZED_IS_INITIALIZED: {
memoizedIsInitialized = (byte) (arg0 == null ? 0 : 1);
return null;
}
}
throw new UnsupportedOperationException();
}
// @@protoc_insertion_point(class_scope:com.google.openrtb.BidResponse.SeatBid)
private static final com.particles.mes.protos.openrtb.BidResponse.SeatBid DEFAULT_INSTANCE;
static {
SeatBid defaultInstance = new SeatBid();
// New instances are implicitly immutable so no need to make
// immutable.
DEFAULT_INSTANCE = defaultInstance;
com.google.protobuf.GeneratedMessageLite.registerDefaultInstance(
SeatBid.class, defaultInstance);
}
public static com.particles.mes.protos.openrtb.BidResponse.SeatBid getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static volatile com.google.protobuf.Parser<SeatBid> PARSER;
public static com.google.protobuf.Parser<SeatBid> parser() {
return DEFAULT_INSTANCE.getParserForType();
}
}
private int bitField0_;
public static final int ID_FIELD_NUMBER = 1;
private java.lang.String id_;
/**
* <pre>
* ID of the bid request to which this is a response.
* REQUIRED by the OpenRTB specification.
* Supported by Google.
* </pre>
*
* <code>required string id = 1;</code>
* @return Whether the id field is set.
*/
@java.lang.Override
public boolean hasId() {
return ((bitField0_ & 0x00000001) != 0);
}
/**
* <pre>
* ID of the bid request to which this is a response.
* REQUIRED by the OpenRTB specification.
* Supported by Google.
* </pre>
*
* <code>required string id = 1;</code>
* @return The id.
*/
@java.lang.Override
public java.lang.String getId() {
return id_;
}
/**
* <pre>
* ID of the bid request to which this is a response.
* REQUIRED by the OpenRTB specification.
* Supported by Google.
* </pre>
*
* <code>required string id = 1;</code>
* @return The bytes for id.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getIdBytes() {
return com.google.protobuf.ByteString.copyFromUtf8(id_);
}
/**
* <pre>
* ID of the bid request to which this is a response.
* REQUIRED by the OpenRTB specification.
* Supported by Google.
* </pre>
*
* <code>required string id = 1;</code>
* @param value The id to set.
*/
private void setId(
java.lang.String value) {
java.lang.Class<?> valueClass = value.getClass();
bitField0_ |= 0x00000001;
id_ = value;
}
/**
* <pre>
* ID of the bid request to which this is a response.
* REQUIRED by the OpenRTB specification.
* Supported by Google.
* </pre>
*
* <code>required string id = 1;</code>
*/
private void clearId() {
bitField0_ = (bitField0_ & ~0x00000001);
id_ = getDefaultInstance().getId();
}
/**
* <pre>
* ID of the bid request to which this is a response.
* REQUIRED by the OpenRTB specification.
* Supported by Google.
* </pre>
*
* <code>required string id = 1;</code>
* @param value The bytes for id to set.
*/
private void setIdBytes(
com.google.protobuf.ByteString value) {
id_ = value.toStringUtf8();
bitField0_ |= 0x00000001;
}
public static final int SEATBID_FIELD_NUMBER = 2;
private com.google.protobuf.Internal.ProtobufList<com.particles.mes.protos.openrtb.BidResponse.SeatBid> seatbid_;
/**
* <pre>
* Array of seatbid objects; 1+ required if a bid is to be made.
* Supported by Google.
* </pre>
*
* <code>repeated .com.google.openrtb.BidResponse.SeatBid seatbid = 2;</code>
*/
@java.lang.Override
public java.util.List<com.particles.mes.protos.openrtb.BidResponse.SeatBid> getSeatbidList() {
return seatbid_;
}
/**
* <pre>
* Array of seatbid objects; 1+ required if a bid is to be made.
* Supported by Google.
* </pre>
*
* <code>repeated .com.google.openrtb.BidResponse.SeatBid seatbid = 2;</code>
*/
public java.util.List<? extends com.particles.mes.protos.openrtb.BidResponse.SeatBidOrBuilder>
getSeatbidOrBuilderList() {
return seatbid_;
}
/**
* <pre>
* Array of seatbid objects; 1+ required if a bid is to be made.
* Supported by Google.
* </pre>
*
* <code>repeated .com.google.openrtb.BidResponse.SeatBid seatbid = 2;</code>
*/
@java.lang.Override
public int getSeatbidCount() {
return seatbid_.size();
}
/**
* <pre>
* Array of seatbid objects; 1+ required if a bid is to be made.
* Supported by Google.
* </pre>
*
* <code>repeated .com.google.openrtb.BidResponse.SeatBid seatbid = 2;</code>
*/
@java.lang.Override
public com.particles.mes.protos.openrtb.BidResponse.SeatBid getSeatbid(int index) {
return seatbid_.get(index);
}
/**
* <pre>
* Array of seatbid objects; 1+ required if a bid is to be made.
* Supported by Google.
* </pre>
*
* <code>repeated .com.google.openrtb.BidResponse.SeatBid seatbid = 2;</code>
*/
public com.particles.mes.protos.openrtb.BidResponse.SeatBidOrBuilder getSeatbidOrBuilder(
int index) {
return seatbid_.get(index);
}
private void ensureSeatbidIsMutable() {
com.google.protobuf.Internal.ProtobufList<com.particles.mes.protos.openrtb.BidResponse.SeatBid> tmp = seatbid_;
if (!tmp.isModifiable()) {
seatbid_ =
com.google.protobuf.GeneratedMessageLite.mutableCopy(tmp);
}
}
/**
* <pre>
* Array of seatbid objects; 1+ required if a bid is to be made.
* Supported by Google.
* </pre>
*
* <code>repeated .com.google.openrtb.BidResponse.SeatBid seatbid = 2;</code>
*/
private void setSeatbid(
int index, com.particles.mes.protos.openrtb.BidResponse.SeatBid value) {
value.getClass();
ensureSeatbidIsMutable();
seatbid_.set(index, value);
}
/**
* <pre>
* Array of seatbid objects; 1+ required if a bid is to be made.
* Supported by Google.
* </pre>
*
* <code>repeated .com.google.openrtb.BidResponse.SeatBid seatbid = 2;</code>
*/
private void addSeatbid(com.particles.mes.protos.openrtb.BidResponse.SeatBid value) {
value.getClass();
ensureSeatbidIsMutable();
seatbid_.add(value);
}
/**
* <pre>
* Array of seatbid objects; 1+ required if a bid is to be made.
* Supported by Google.
* </pre>
*
* <code>repeated .com.google.openrtb.BidResponse.SeatBid seatbid = 2;</code>
*/
private void addSeatbid(
int index, com.particles.mes.protos.openrtb.BidResponse.SeatBid value) {
value.getClass();
ensureSeatbidIsMutable();
seatbid_.add(index, value);
}
/**
* <pre>
* Array of seatbid objects; 1+ required if a bid is to be made.
* Supported by Google.
* </pre>
*
* <code>repeated .com.google.openrtb.BidResponse.SeatBid seatbid = 2;</code>
*/
private void addAllSeatbid(
java.lang.Iterable<? extends com.particles.mes.protos.openrtb.BidResponse.SeatBid> values) {
ensureSeatbidIsMutable();
com.google.protobuf.AbstractMessageLite.addAll(
values, seatbid_);
}
/**
* <pre>
* Array of seatbid objects; 1+ required if a bid is to be made.
* Supported by Google.
* </pre>
*
* <code>repeated .com.google.openrtb.BidResponse.SeatBid seatbid = 2;</code>
*/
private void clearSeatbid() {
seatbid_ = emptyProtobufList();
}
/**
* <pre>
* Array of seatbid objects; 1+ required if a bid is to be made.
* Supported by Google.
* </pre>
*
* <code>repeated .com.google.openrtb.BidResponse.SeatBid seatbid = 2;</code>
*/
private void removeSeatbid(int index) {
ensureSeatbidIsMutable();
seatbid_.remove(index);
}
public static final int BIDID_FIELD_NUMBER = 3;
private java.lang.String bidid_;
/**
* <pre>
* Bidder generated response ID to assist with logging/tracking.
* Supported by Google.
* </pre>
*
* <code>optional string bidid = 3;</code>
* @return Whether the bidid field is set.
*/
@java.lang.Override
public boolean hasBidid() {
return ((bitField0_ & 0x00000002) != 0);
}
/**
* <pre>
* Bidder generated response ID to assist with logging/tracking.
* Supported by Google.
* </pre>
*
* <code>optional string bidid = 3;</code>
* @return The bidid.
*/
@java.lang.Override
public java.lang.String getBidid() {
return bidid_;
}
/**
* <pre>
* Bidder generated response ID to assist with logging/tracking.
* Supported by Google.
* </pre>
*
* <code>optional string bidid = 3;</code>
* @return The bytes for bidid.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getBididBytes() {
return com.google.protobuf.ByteString.copyFromUtf8(bidid_);
}
/**
* <pre>
* Bidder generated response ID to assist with logging/tracking.
* Supported by Google.
* </pre>
*
* <code>optional string bidid = 3;</code>
* @param value The bidid to set.
*/
private void setBidid(
java.lang.String value) {
java.lang.Class<?> valueClass = value.getClass();
bitField0_ |= 0x00000002;
bidid_ = value;
}
/**
* <pre>
* Bidder generated response ID to assist with logging/tracking.
* Supported by Google.
* </pre>
*
* <code>optional string bidid = 3;</code>
*/
private void clearBidid() {
bitField0_ = (bitField0_ & ~0x00000002);
bidid_ = getDefaultInstance().getBidid();
}
/**
* <pre>
* Bidder generated response ID to assist with logging/tracking.
* Supported by Google.
* </pre>
*
* <code>optional string bidid = 3;</code>
* @param value The bytes for bidid to set.
*/
private void setBididBytes(
com.google.protobuf.ByteString value) {
bidid_ = value.toStringUtf8();
bitField0_ |= 0x00000002;
}
public static final int CUR_FIELD_NUMBER = 4;
private java.lang.String cur_;
/**
* <pre>
* Bid currency using ISO-4217 alpha codes.
* Supported by Google. If this field is populated, the specified currency
* will be used to interpret the bid. Otherwise, the default bidding currency
* will be used, which is determined in the following priority:
* 1. The bidder-level currency, if configured in RTB account settings.
* 2. The buyer-level currency. The buyer will be determined by the billing
* ID specified in the BidResponse.seatbid.bid.ext.billing_id extension
* field if it is populated, otherwise it will be based on the sole billing
* ID sent in the bid request.
* The currency of a buyer account is set on account creation and can be
* checked by contacting a Technical Account Manager.
* </pre>
*
* <code>optional string cur = 4;</code>
* @return Whether the cur field is set.
*/
@java.lang.Override
public boolean hasCur() {
return ((bitField0_ & 0x00000004) != 0);
}
/**
* <pre>
* Bid currency using ISO-4217 alpha codes.
* Supported by Google. If this field is populated, the specified currency
* will be used to interpret the bid. Otherwise, the default bidding currency
* will be used, which is determined in the following priority:
* 1. The bidder-level currency, if configured in RTB account settings.
* 2. The buyer-level currency. The buyer will be determined by the billing
* ID specified in the BidResponse.seatbid.bid.ext.billing_id extension
* field if it is populated, otherwise it will be based on the sole billing
* ID sent in the bid request.
* The currency of a buyer account is set on account creation and can be
* checked by contacting a Technical Account Manager.
* </pre>
*
* <code>optional string cur = 4;</code>
* @return The cur.
*/
@java.lang.Override
public java.lang.String getCur() {
return cur_;
}
/**
* <pre>
* Bid currency using ISO-4217 alpha codes.
* Supported by Google. If this field is populated, the specified currency
* will be used to interpret the bid. Otherwise, the default bidding currency
* will be used, which is determined in the following priority:
* 1. The bidder-level currency, if configured in RTB account settings.
* 2. The buyer-level currency. The buyer will be determined by the billing
* ID specified in the BidResponse.seatbid.bid.ext.billing_id extension
* field if it is populated, otherwise it will be based on the sole billing
* ID sent in the bid request.
* The currency of a buyer account is set on account creation and can be
* checked by contacting a Technical Account Manager.
* </pre>
*
* <code>optional string cur = 4;</code>
* @return The bytes for cur.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getCurBytes() {
return com.google.protobuf.ByteString.copyFromUtf8(cur_);
}
/**
* <pre>
* Bid currency using ISO-4217 alpha codes.
* Supported by Google. If this field is populated, the specified currency
* will be used to interpret the bid. Otherwise, the default bidding currency
* will be used, which is determined in the following priority:
* 1. The bidder-level currency, if configured in RTB account settings.
* 2. The buyer-level currency. The buyer will be determined by the billing
* ID specified in the BidResponse.seatbid.bid.ext.billing_id extension
* field if it is populated, otherwise it will be based on the sole billing
* ID sent in the bid request.
* The currency of a buyer account is set on account creation and can be
* checked by contacting a Technical Account Manager.
* </pre>
*
* <code>optional string cur = 4;</code>
* @param value The cur to set.
*/
private void setCur(
java.lang.String value) {
java.lang.Class<?> valueClass = value.getClass();
bitField0_ |= 0x00000004;
cur_ = value;
}
/**
* <pre>
* Bid currency using ISO-4217 alpha codes.
* Supported by Google. If this field is populated, the specified currency
* will be used to interpret the bid. Otherwise, the default bidding currency
* will be used, which is determined in the following priority:
* 1. The bidder-level currency, if configured in RTB account settings.
* 2. The buyer-level currency. The buyer will be determined by the billing
* ID specified in the BidResponse.seatbid.bid.ext.billing_id extension
* field if it is populated, otherwise it will be based on the sole billing
* ID sent in the bid request.
* The currency of a buyer account is set on account creation and can be
* checked by contacting a Technical Account Manager.
* </pre>
*
* <code>optional string cur = 4;</code>
*/
private void clearCur() {
bitField0_ = (bitField0_ & ~0x00000004);
cur_ = getDefaultInstance().getCur();
}
/**
* <pre>
* Bid currency using ISO-4217 alpha codes.
* Supported by Google. If this field is populated, the specified currency
* will be used to interpret the bid. Otherwise, the default bidding currency
* will be used, which is determined in the following priority:
* 1. The bidder-level currency, if configured in RTB account settings.
* 2. The buyer-level currency. The buyer will be determined by the billing
* ID specified in the BidResponse.seatbid.bid.ext.billing_id extension
* field if it is populated, otherwise it will be based on the sole billing
* ID sent in the bid request.
* The currency of a buyer account is set on account creation and can be
* checked by contacting a Technical Account Manager.
* </pre>
*
* <code>optional string cur = 4;</code>
* @param value The bytes for cur to set.
*/
private void setCurBytes(
com.google.protobuf.ByteString value) {
cur_ = value.toStringUtf8();
bitField0_ |= 0x00000004;
}
public static final int CUSTOMDATA_FIELD_NUMBER = 5;
private java.lang.String customdata_;
/**
* <pre>
* Optional feature to allow a bidder to set data in the exchange's cookie.
* The string must be in base85 cookie safe characters and be in any format.
* Proper JSON encoding must be used to include "escaped" quotation marks.
* Ignored by Google.
* </pre>
*
* <code>optional string customdata = 5;</code>
* @return Whether the customdata field is set.
*/
@java.lang.Override
public boolean hasCustomdata() {
return ((bitField0_ & 0x00000008) != 0);
}
/**
* <pre>
* Optional feature to allow a bidder to set data in the exchange's cookie.
* The string must be in base85 cookie safe characters and be in any format.
* Proper JSON encoding must be used to include "escaped" quotation marks.
* Ignored by Google.
* </pre>
*
* <code>optional string customdata = 5;</code>
* @return The customdata.
*/
@java.lang.Override
public java.lang.String getCustomdata() {
return customdata_;
}
/**
* <pre>
* Optional feature to allow a bidder to set data in the exchange's cookie.
* The string must be in base85 cookie safe characters and be in any format.
* Proper JSON encoding must be used to include "escaped" quotation marks.
* Ignored by Google.
* </pre>
*
* <code>optional string customdata = 5;</code>
* @return The bytes for customdata.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getCustomdataBytes() {
return com.google.protobuf.ByteString.copyFromUtf8(customdata_);
}
/**
* <pre>
* Optional feature to allow a bidder to set data in the exchange's cookie.
* The string must be in base85 cookie safe characters and be in any format.
* Proper JSON encoding must be used to include "escaped" quotation marks.
* Ignored by Google.
* </pre>
*
* <code>optional string customdata = 5;</code>
* @param value The customdata to set.
*/
private void setCustomdata(
java.lang.String value) {
java.lang.Class<?> valueClass = value.getClass();
bitField0_ |= 0x00000008;
customdata_ = value;
}
/**
* <pre>
* Optional feature to allow a bidder to set data in the exchange's cookie.
* The string must be in base85 cookie safe characters and be in any format.
* Proper JSON encoding must be used to include "escaped" quotation marks.
* Ignored by Google.
* </pre>
*
* <code>optional string customdata = 5;</code>
*/
private void clearCustomdata() {
bitField0_ = (bitField0_ & ~0x00000008);
customdata_ = getDefaultInstance().getCustomdata();
}
/**
* <pre>
* Optional feature to allow a bidder to set data in the exchange's cookie.
* The string must be in base85 cookie safe characters and be in any format.
* Proper JSON encoding must be used to include "escaped" quotation marks.
* Ignored by Google.
* </pre>
*
* <code>optional string customdata = 5;</code>
* @param value The bytes for customdata to set.
*/
private void setCustomdataBytes(
com.google.protobuf.ByteString value) {
customdata_ = value.toStringUtf8();
bitField0_ |= 0x00000008;
}
public static final int NBR_FIELD_NUMBER = 6;
private int nbr_;
/**
* <pre>
* Reason for not bidding.
* Supported by Google.
* </pre>
*
* <code>optional .com.google.openrtb.NoBidReason nbr = 6;</code>
* @return Whether the nbr field is set.
*/
@java.lang.Override
public boolean hasNbr() {
return ((bitField0_ & 0x00000010) != 0);
}
/**
* <pre>
* Reason for not bidding.
* Supported by Google.
* </pre>
*
* <code>optional .com.google.openrtb.NoBidReason nbr = 6;</code>
* @return The nbr.
*/
@java.lang.Override
public com.particles.mes.protos.openrtb.NoBidReason getNbr() {
com.particles.mes.protos.openrtb.NoBidReason result = com.particles.mes.protos.openrtb.NoBidReason.forNumber(nbr_);
return result == null ? com.particles.mes.protos.openrtb.NoBidReason.UNKNOWN_ERROR : result;
}
/**
* <pre>
* Reason for not bidding.
* Supported by Google.
* </pre>
*
* <code>optional .com.google.openrtb.NoBidReason nbr = 6;</code>
* @param value The nbr to set.
*/
private void setNbr(com.particles.mes.protos.openrtb.NoBidReason value) {
nbr_ = value.getNumber();
bitField0_ |= 0x00000010;
}
/**
* <pre>
* Reason for not bidding.
* Supported by Google.
* </pre>
*
* <code>optional .com.google.openrtb.NoBidReason nbr = 6;</code>
*/
private void clearNbr() {
bitField0_ = (bitField0_ & ~0x00000010);
nbr_ = 0;
}
public static final int EXT_FIELD_NUMBER = 90;
private java.lang.String ext_;
/**
* <code>optional string ext = 90;</code>
* @return Whether the ext field is set.
*/
@java.lang.Override
public boolean hasExt() {
return ((bitField0_ & 0x00000020) != 0);
}
/**
* <code>optional string ext = 90;</code>
* @return The ext.
*/
@java.lang.Override
public java.lang.String getExt() {
return ext_;
}
/**
* <code>optional string ext = 90;</code>
* @return The bytes for ext.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getExtBytes() {
return com.google.protobuf.ByteString.copyFromUtf8(ext_);
}
/**
* <code>optional string ext = 90;</code>
* @param value The ext to set.
*/
private void setExt(
java.lang.String value) {
java.lang.Class<?> valueClass = value.getClass();
bitField0_ |= 0x00000020;
ext_ = value;
}
/**
* <code>optional string ext = 90;</code>
*/
private void clearExt() {
bitField0_ = (bitField0_ & ~0x00000020);
ext_ = getDefaultInstance().getExt();
}
/**
* <code>optional string ext = 90;</code>
* @param value The bytes for ext to set.
*/
private void setExtBytes(
com.google.protobuf.ByteString value) {
ext_ = value.toStringUtf8();
bitField0_ |= 0x00000020;
}
public static com.particles.mes.protos.openrtb.BidResponse parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, data);
}
public static com.particles.mes.protos.openrtb.BidResponse parseFrom(
java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, data, extensionRegistry);
}
public static com.particles.mes.protos.openrtb.BidResponse parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, data);
}
public static com.particles.mes.protos.openrtb.BidResponse parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, data, extensionRegistry);
}
public static com.particles.mes.protos.openrtb.BidResponse parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, data);
}
public static com.particles.mes.protos.openrtb.BidResponse parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, data, extensionRegistry);
}
public static com.particles.mes.protos.openrtb.BidResponse parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, input);
}
public static com.particles.mes.protos.openrtb.BidResponse parseFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, input, extensionRegistry);
}
public static com.particles.mes.protos.openrtb.BidResponse parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return parseDelimitedFrom(DEFAULT_INSTANCE, input);
}
public static com.particles.mes.protos.openrtb.BidResponse parseDelimitedFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return parseDelimitedFrom(DEFAULT_INSTANCE, input, extensionRegistry);
}
public static com.particles.mes.protos.openrtb.BidResponse parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, input);
}
public static com.particles.mes.protos.openrtb.BidResponse parseFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, input, extensionRegistry);
}
public static Builder newBuilder() {
return (Builder) DEFAULT_INSTANCE.createBuilder();
}
public static Builder newBuilder(com.particles.mes.protos.openrtb.BidResponse prototype) {
return (Builder) DEFAULT_INSTANCE.createBuilder(prototype);
}
/**
* <pre>
* OpenRTB 2.0: This object is the top-level bid response object (for example,
* the unnamed outer JSON object). The id attribute is a reflection of the bid
* request ID for logging purposes. Similarly, bidid is an optional response
* tracking ID for bidders. If specified, it can be included in the subsequent
* win notice call if the bidder wins. At least one seatbid object is required,
* which contains at least one bid for an impression. Other attributes are
* optional. To express a "no-bid", the options are to return an empty response
* with HTTP 204. Alternately if the bidder wants to convey to the exchange a
* reason for not bidding, just a BidResponse object is returned with a
* reason code in the nbr attribute.
* </pre>
*
* Protobuf type {@code com.google.openrtb.BidResponse}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageLite.ExtendableBuilder<
com.particles.mes.protos.openrtb.BidResponse, Builder> implements
// @@protoc_insertion_point(builder_implements:com.google.openrtb.BidResponse)
com.particles.mes.protos.openrtb.BidResponseOrBuilder {
// Construct using com.particles.mes.protos.openrtb.BidResponse.newBuilder()
private Builder() {
super(DEFAULT_INSTANCE);
}
/**
* <pre>
* ID of the bid request to which this is a response.
* REQUIRED by the OpenRTB specification.
* Supported by Google.
* </pre>
*
* <code>required string id = 1;</code>
* @return Whether the id field is set.
*/
@java.lang.Override
public boolean hasId() {
return instance.hasId();
}
/**
* <pre>
* ID of the bid request to which this is a response.
* REQUIRED by the OpenRTB specification.
* Supported by Google.
* </pre>
*
* <code>required string id = 1;</code>
* @return The id.
*/
@java.lang.Override
public java.lang.String getId() {
return instance.getId();
}
/**
* <pre>
* ID of the bid request to which this is a response.
* REQUIRED by the OpenRTB specification.
* Supported by Google.
* </pre>
*
* <code>required string id = 1;</code>
* @return The bytes for id.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getIdBytes() {
return instance.getIdBytes();
}
/**
* <pre>
* ID of the bid request to which this is a response.
* REQUIRED by the OpenRTB specification.
* Supported by Google.
* </pre>
*
* <code>required string id = 1;</code>
* @param value The id to set.
* @return This builder for chaining.
*/
public Builder setId(
java.lang.String value) {
copyOnWrite();
instance.setId(value);
return this;
}
/**
* <pre>
* ID of the bid request to which this is a response.
* REQUIRED by the OpenRTB specification.
* Supported by Google.
* </pre>
*
* <code>required string id = 1;</code>
* @return This builder for chaining.
*/
public Builder clearId() {
copyOnWrite();
instance.clearId();
return this;
}
/**
* <pre>
* ID of the bid request to which this is a response.
* REQUIRED by the OpenRTB specification.
* Supported by Google.
* </pre>
*
* <code>required string id = 1;</code>
* @param value The bytes for id to set.
* @return This builder for chaining.
*/
public Builder setIdBytes(
com.google.protobuf.ByteString value) {
copyOnWrite();
instance.setIdBytes(value);
return this;
}
/**
* <pre>
* Array of seatbid objects; 1+ required if a bid is to be made.
* Supported by Google.
* </pre>
*
* <code>repeated .com.google.openrtb.BidResponse.SeatBid seatbid = 2;</code>
*/
@java.lang.Override
public java.util.List<com.particles.mes.protos.openrtb.BidResponse.SeatBid> getSeatbidList() {
return java.util.Collections.unmodifiableList(
instance.getSeatbidList());
}
/**
* <pre>
* Array of seatbid objects; 1+ required if a bid is to be made.
* Supported by Google.
* </pre>
*
* <code>repeated .com.google.openrtb.BidResponse.SeatBid seatbid = 2;</code>
*/
@java.lang.Override
public int getSeatbidCount() {
return instance.getSeatbidCount();
}/**
* <pre>
* Array of seatbid objects; 1+ required if a bid is to be made.
* Supported by Google.
* </pre>
*
* <code>repeated .com.google.openrtb.BidResponse.SeatBid seatbid = 2;</code>
*/
@java.lang.Override
public com.particles.mes.protos.openrtb.BidResponse.SeatBid getSeatbid(int index) {
return instance.getSeatbid(index);
}
/**
* <pre>
* Array of seatbid objects; 1+ required if a bid is to be made.
* Supported by Google.
* </pre>
*
* <code>repeated .com.google.openrtb.BidResponse.SeatBid seatbid = 2;</code>
*/
public Builder setSeatbid(
int index, com.particles.mes.protos.openrtb.BidResponse.SeatBid value) {
copyOnWrite();
instance.setSeatbid(index, value);
return this;
}
/**
* <pre>
* Array of seatbid objects; 1+ required if a bid is to be made.
* Supported by Google.
* </pre>
*
* <code>repeated .com.google.openrtb.BidResponse.SeatBid seatbid = 2;</code>
*/
public Builder setSeatbid(
int index, com.particles.mes.protos.openrtb.BidResponse.SeatBid.Builder builderForValue) {
copyOnWrite();
instance.setSeatbid(index,
builderForValue.build());
return this;
}
/**
* <pre>
* Array of seatbid objects; 1+ required if a bid is to be made.
* Supported by Google.
* </pre>
*
* <code>repeated .com.google.openrtb.BidResponse.SeatBid seatbid = 2;</code>
*/
public Builder addSeatbid(com.particles.mes.protos.openrtb.BidResponse.SeatBid value) {
copyOnWrite();
instance.addSeatbid(value);
return this;
}
/**
* <pre>
* Array of seatbid objects; 1+ required if a bid is to be made.
* Supported by Google.
* </pre>
*
* <code>repeated .com.google.openrtb.BidResponse.SeatBid seatbid = 2;</code>
*/
public Builder addSeatbid(
int index, com.particles.mes.protos.openrtb.BidResponse.SeatBid value) {
copyOnWrite();
instance.addSeatbid(index, value);
return this;
}
/**
* <pre>
* Array of seatbid objects; 1+ required if a bid is to be made.
* Supported by Google.
* </pre>
*
* <code>repeated .com.google.openrtb.BidResponse.SeatBid seatbid = 2;</code>
*/
public Builder addSeatbid(
com.particles.mes.protos.openrtb.BidResponse.SeatBid.Builder builderForValue) {
copyOnWrite();
instance.addSeatbid(builderForValue.build());
return this;
}
/**
* <pre>
* Array of seatbid objects; 1+ required if a bid is to be made.
* Supported by Google.
* </pre>
*
* <code>repeated .com.google.openrtb.BidResponse.SeatBid seatbid = 2;</code>
*/
public Builder addSeatbid(
int index, com.particles.mes.protos.openrtb.BidResponse.SeatBid.Builder builderForValue) {
copyOnWrite();
instance.addSeatbid(index,
builderForValue.build());
return this;
}
/**
* <pre>
* Array of seatbid objects; 1+ required if a bid is to be made.
* Supported by Google.
* </pre>
*
* <code>repeated .com.google.openrtb.BidResponse.SeatBid seatbid = 2;</code>
*/
public Builder addAllSeatbid(
java.lang.Iterable<? extends com.particles.mes.protos.openrtb.BidResponse.SeatBid> values) {
copyOnWrite();
instance.addAllSeatbid(values);
return this;
}
/**
* <pre>
* Array of seatbid objects; 1+ required if a bid is to be made.
* Supported by Google.
* </pre>
*
* <code>repeated .com.google.openrtb.BidResponse.SeatBid seatbid = 2;</code>
*/
public Builder clearSeatbid() {
copyOnWrite();
instance.clearSeatbid();
return this;
}
/**
* <pre>
* Array of seatbid objects; 1+ required if a bid is to be made.
* Supported by Google.
* </pre>
*
* <code>repeated .com.google.openrtb.BidResponse.SeatBid seatbid = 2;</code>
*/
public Builder removeSeatbid(int index) {
copyOnWrite();
instance.removeSeatbid(index);
return this;
}
/**
* <pre>
* Bidder generated response ID to assist with logging/tracking.
* Supported by Google.
* </pre>
*
* <code>optional string bidid = 3;</code>
* @return Whether the bidid field is set.
*/
@java.lang.Override
public boolean hasBidid() {
return instance.hasBidid();
}
/**
* <pre>
* Bidder generated response ID to assist with logging/tracking.
* Supported by Google.
* </pre>
*
* <code>optional string bidid = 3;</code>
* @return The bidid.
*/
@java.lang.Override
public java.lang.String getBidid() {
return instance.getBidid();
}
/**
* <pre>
* Bidder generated response ID to assist with logging/tracking.
* Supported by Google.
* </pre>
*
* <code>optional string bidid = 3;</code>
* @return The bytes for bidid.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getBididBytes() {
return instance.getBididBytes();
}
/**
* <pre>
* Bidder generated response ID to assist with logging/tracking.
* Supported by Google.
* </pre>
*
* <code>optional string bidid = 3;</code>
* @param value The bidid to set.
* @return This builder for chaining.
*/
public Builder setBidid(
java.lang.String value) {
copyOnWrite();
instance.setBidid(value);
return this;
}
/**
* <pre>
* Bidder generated response ID to assist with logging/tracking.
* Supported by Google.
* </pre>
*
* <code>optional string bidid = 3;</code>
* @return This builder for chaining.
*/
public Builder clearBidid() {
copyOnWrite();
instance.clearBidid();
return this;
}
/**
* <pre>
* Bidder generated response ID to assist with logging/tracking.
* Supported by Google.
* </pre>
*
* <code>optional string bidid = 3;</code>
* @param value The bytes for bidid to set.
* @return This builder for chaining.
*/
public Builder setBididBytes(
com.google.protobuf.ByteString value) {
copyOnWrite();
instance.setBididBytes(value);
return this;
}
/**
* <pre>
* Bid currency using ISO-4217 alpha codes.
* Supported by Google. If this field is populated, the specified currency
* will be used to interpret the bid. Otherwise, the default bidding currency
* will be used, which is determined in the following priority:
* 1. The bidder-level currency, if configured in RTB account settings.
* 2. The buyer-level currency. The buyer will be determined by the billing
* ID specified in the BidResponse.seatbid.bid.ext.billing_id extension
* field if it is populated, otherwise it will be based on the sole billing
* ID sent in the bid request.
* The currency of a buyer account is set on account creation and can be
* checked by contacting a Technical Account Manager.
* </pre>
*
* <code>optional string cur = 4;</code>
* @return Whether the cur field is set.
*/
@java.lang.Override
public boolean hasCur() {
return instance.hasCur();
}
/**
* <pre>
* Bid currency using ISO-4217 alpha codes.
* Supported by Google. If this field is populated, the specified currency
* will be used to interpret the bid. Otherwise, the default bidding currency
* will be used, which is determined in the following priority:
* 1. The bidder-level currency, if configured in RTB account settings.
* 2. The buyer-level currency. The buyer will be determined by the billing
* ID specified in the BidResponse.seatbid.bid.ext.billing_id extension
* field if it is populated, otherwise it will be based on the sole billing
* ID sent in the bid request.
* The currency of a buyer account is set on account creation and can be
* checked by contacting a Technical Account Manager.
* </pre>
*
* <code>optional string cur = 4;</code>
* @return The cur.
*/
@java.lang.Override
public java.lang.String getCur() {
return instance.getCur();
}
/**
* <pre>
* Bid currency using ISO-4217 alpha codes.
* Supported by Google. If this field is populated, the specified currency
* will be used to interpret the bid. Otherwise, the default bidding currency
* will be used, which is determined in the following priority:
* 1. The bidder-level currency, if configured in RTB account settings.
* 2. The buyer-level currency. The buyer will be determined by the billing
* ID specified in the BidResponse.seatbid.bid.ext.billing_id extension
* field if it is populated, otherwise it will be based on the sole billing
* ID sent in the bid request.
* The currency of a buyer account is set on account creation and can be
* checked by contacting a Technical Account Manager.
* </pre>
*
* <code>optional string cur = 4;</code>
* @return The bytes for cur.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getCurBytes() {
return instance.getCurBytes();
}
/**
* <pre>
* Bid currency using ISO-4217 alpha codes.
* Supported by Google. If this field is populated, the specified currency
* will be used to interpret the bid. Otherwise, the default bidding currency
* will be used, which is determined in the following priority:
* 1. The bidder-level currency, if configured in RTB account settings.
* 2. The buyer-level currency. The buyer will be determined by the billing
* ID specified in the BidResponse.seatbid.bid.ext.billing_id extension
* field if it is populated, otherwise it will be based on the sole billing
* ID sent in the bid request.
* The currency of a buyer account is set on account creation and can be
* checked by contacting a Technical Account Manager.
* </pre>
*
* <code>optional string cur = 4;</code>
* @param value The cur to set.
* @return This builder for chaining.
*/
public Builder setCur(
java.lang.String value) {
copyOnWrite();
instance.setCur(value);
return this;
}
/**
* <pre>
* Bid currency using ISO-4217 alpha codes.
* Supported by Google. If this field is populated, the specified currency
* will be used to interpret the bid. Otherwise, the default bidding currency
* will be used, which is determined in the following priority:
* 1. The bidder-level currency, if configured in RTB account settings.
* 2. The buyer-level currency. The buyer will be determined by the billing
* ID specified in the BidResponse.seatbid.bid.ext.billing_id extension
* field if it is populated, otherwise it will be based on the sole billing
* ID sent in the bid request.
* The currency of a buyer account is set on account creation and can be
* checked by contacting a Technical Account Manager.
* </pre>
*
* <code>optional string cur = 4;</code>
* @return This builder for chaining.
*/
public Builder clearCur() {
copyOnWrite();
instance.clearCur();
return this;
}
/**
* <pre>
* Bid currency using ISO-4217 alpha codes.
* Supported by Google. If this field is populated, the specified currency
* will be used to interpret the bid. Otherwise, the default bidding currency
* will be used, which is determined in the following priority:
* 1. The bidder-level currency, if configured in RTB account settings.
* 2. The buyer-level currency. The buyer will be determined by the billing
* ID specified in the BidResponse.seatbid.bid.ext.billing_id extension
* field if it is populated, otherwise it will be based on the sole billing
* ID sent in the bid request.
* The currency of a buyer account is set on account creation and can be
* checked by contacting a Technical Account Manager.
* </pre>
*
* <code>optional string cur = 4;</code>
* @param value The bytes for cur to set.
* @return This builder for chaining.
*/
public Builder setCurBytes(
com.google.protobuf.ByteString value) {
copyOnWrite();
instance.setCurBytes(value);
return this;
}
/**
* <pre>
* Optional feature to allow a bidder to set data in the exchange's cookie.
* The string must be in base85 cookie safe characters and be in any format.
* Proper JSON encoding must be used to include "escaped" quotation marks.
* Ignored by Google.
* </pre>
*
* <code>optional string customdata = 5;</code>
* @return Whether the customdata field is set.
*/
@java.lang.Override
public boolean hasCustomdata() {
return instance.hasCustomdata();
}
/**
* <pre>
* Optional feature to allow a bidder to set data in the exchange's cookie.
* The string must be in base85 cookie safe characters and be in any format.
* Proper JSON encoding must be used to include "escaped" quotation marks.
* Ignored by Google.
* </pre>
*
* <code>optional string customdata = 5;</code>
* @return The customdata.
*/
@java.lang.Override
public java.lang.String getCustomdata() {
return instance.getCustomdata();
}
/**
* <pre>
* Optional feature to allow a bidder to set data in the exchange's cookie.
* The string must be in base85 cookie safe characters and be in any format.
* Proper JSON encoding must be used to include "escaped" quotation marks.
* Ignored by Google.
* </pre>
*
* <code>optional string customdata = 5;</code>
* @return The bytes for customdata.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getCustomdataBytes() {
return instance.getCustomdataBytes();
}
/**
* <pre>
* Optional feature to allow a bidder to set data in the exchange's cookie.
* The string must be in base85 cookie safe characters and be in any format.
* Proper JSON encoding must be used to include "escaped" quotation marks.
* Ignored by Google.
* </pre>
*
* <code>optional string customdata = 5;</code>
* @param value The customdata to set.
* @return This builder for chaining.
*/
public Builder setCustomdata(
java.lang.String value) {
copyOnWrite();
instance.setCustomdata(value);
return this;
}
/**
* <pre>
* Optional feature to allow a bidder to set data in the exchange's cookie.
* The string must be in base85 cookie safe characters and be in any format.
* Proper JSON encoding must be used to include "escaped" quotation marks.
* Ignored by Google.
* </pre>
*
* <code>optional string customdata = 5;</code>
* @return This builder for chaining.
*/
public Builder clearCustomdata() {
copyOnWrite();
instance.clearCustomdata();
return this;
}
/**
* <pre>
* Optional feature to allow a bidder to set data in the exchange's cookie.
* The string must be in base85 cookie safe characters and be in any format.
* Proper JSON encoding must be used to include "escaped" quotation marks.
* Ignored by Google.
* </pre>
*
* <code>optional string customdata = 5;</code>
* @param value The bytes for customdata to set.
* @return This builder for chaining.
*/
public Builder setCustomdataBytes(
com.google.protobuf.ByteString value) {
copyOnWrite();
instance.setCustomdataBytes(value);
return this;
}
/**
* <pre>
* Reason for not bidding.
* Supported by Google.
* </pre>
*
* <code>optional .com.google.openrtb.NoBidReason nbr = 6;</code>
* @return Whether the nbr field is set.
*/
@java.lang.Override
public boolean hasNbr() {
return instance.hasNbr();
}
/**
* <pre>
* Reason for not bidding.
* Supported by Google.
* </pre>
*
* <code>optional .com.google.openrtb.NoBidReason nbr = 6;</code>
* @return The nbr.
*/
@java.lang.Override
public com.particles.mes.protos.openrtb.NoBidReason getNbr() {
return instance.getNbr();
}
/**
* <pre>
* Reason for not bidding.
* Supported by Google.
* </pre>
*
* <code>optional .com.google.openrtb.NoBidReason nbr = 6;</code>
* @param value The enum numeric value on the wire for nbr to set.
* @return This builder for chaining.
*/
public Builder setNbr(com.particles.mes.protos.openrtb.NoBidReason value) {
copyOnWrite();
instance.setNbr(value);
return this;
}
/**
* <pre>
* Reason for not bidding.
* Supported by Google.
* </pre>
*
* <code>optional .com.google.openrtb.NoBidReason nbr = 6;</code>
* @return This builder for chaining.
*/
public Builder clearNbr() {
copyOnWrite();
instance.clearNbr();
return this;
}
/**
* <code>optional string ext = 90;</code>
* @return Whether the ext field is set.
*/
@java.lang.Override
public boolean hasExt() {
return instance.hasExt();
}
/**
* <code>optional string ext = 90;</code>
* @return The ext.
*/
@java.lang.Override
public java.lang.String getExt() {
return instance.getExt();
}
/**
* <code>optional string ext = 90;</code>
* @return The bytes for ext.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getExtBytes() {
return instance.getExtBytes();
}
/**
* <code>optional string ext = 90;</code>
* @param value The ext to set.
* @return This builder for chaining.
*/
public Builder setExt(
java.lang.String value) {
copyOnWrite();
instance.setExt(value);
return this;
}
/**
* <code>optional string ext = 90;</code>
* @return This builder for chaining.
*/
public Builder clearExt() {
copyOnWrite();
instance.clearExt();
return this;
}
/**
* <code>optional string ext = 90;</code>
* @param value The bytes for ext to set.
* @return This builder for chaining.
*/
public Builder setExtBytes(
com.google.protobuf.ByteString value) {
copyOnWrite();
instance.setExtBytes(value);
return this;
}
// @@protoc_insertion_point(builder_scope:com.google.openrtb.BidResponse)
}
private byte memoizedIsInitialized = 2;
@java.lang.Override
@java.lang.SuppressWarnings({"unchecked", "fallthrough"})
protected final java.lang.Object dynamicMethod(
com.google.protobuf.GeneratedMessageLite.MethodToInvoke method,
java.lang.Object arg0, java.lang.Object arg1) {
switch (method) {
case NEW_MUTABLE_INSTANCE: {
return new com.particles.mes.protos.openrtb.BidResponse();
}
case NEW_BUILDER: {
return new Builder();
}
case BUILD_MESSAGE_INFO: {
java.lang.Object[] objects = new java.lang.Object[] {
"bitField0_",
"id_",
"seatbid_",
com.particles.mes.protos.openrtb.BidResponse.SeatBid.class,
"bidid_",
"cur_",
"customdata_",
"nbr_",
com.particles.mes.protos.openrtb.NoBidReason.internalGetVerifier(),
"ext_",
};
java.lang.String info =
"\u0001\u0007\u0000\u0001\u0001Z\u0007\u0000\u0001\u0002\u0001\u1508\u0000\u0002\u041b" +
"\u0003\u1008\u0001\u0004\u1008\u0002\u0005\u1008\u0003\u0006\u100c\u0004Z\u1008\u0005" +
"";
return newMessageInfo(DEFAULT_INSTANCE, info, objects);
}
// fall through
case GET_DEFAULT_INSTANCE: {
return DEFAULT_INSTANCE;
}
case GET_PARSER: {
com.google.protobuf.Parser<com.particles.mes.protos.openrtb.BidResponse> parser = PARSER;
if (parser == null) {
synchronized (com.particles.mes.protos.openrtb.BidResponse.class) {
parser = PARSER;
if (parser == null) {
parser =
new DefaultInstanceBasedParser<com.particles.mes.protos.openrtb.BidResponse>(
DEFAULT_INSTANCE);
PARSER = parser;
}
}
}
return parser;
}
case GET_MEMOIZED_IS_INITIALIZED: {
return memoizedIsInitialized;
}
case SET_MEMOIZED_IS_INITIALIZED: {
memoizedIsInitialized = (byte) (arg0 == null ? 0 : 1);
return null;
}
}
throw new UnsupportedOperationException();
}
// @@protoc_insertion_point(class_scope:com.google.openrtb.BidResponse)
private static final com.particles.mes.protos.openrtb.BidResponse DEFAULT_INSTANCE;
static {
BidResponse defaultInstance = new BidResponse();
// New instances are implicitly immutable so no need to make
// immutable.
DEFAULT_INSTANCE = defaultInstance;
com.google.protobuf.GeneratedMessageLite.registerDefaultInstance(
BidResponse.class, defaultInstance);
}
public static com.particles.mes.protos.openrtb.BidResponse getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static volatile com.google.protobuf.Parser<BidResponse> PARSER;
public static com.google.protobuf.Parser<BidResponse> parser() {
return DEFAULT_INSTANCE.getParserForType();
}
}
|
0 | java-sources/ai/themsp/mes-android-sdk/0.15.0/main/com/particles/mes/protos | java-sources/ai/themsp/mes-android-sdk/0.15.0/main/com/particles/mes/protos/openrtb/BidResponseOrBuilder.java | // Generated by the protocol buffer compiler. DO NOT EDIT!
// source: openrtb/openrtb-v26.proto
package com.particles.mes.protos.openrtb;
public interface BidResponseOrBuilder extends
// @@protoc_insertion_point(interface_extends:com.google.openrtb.BidResponse)
com.google.protobuf.GeneratedMessageLite.
ExtendableMessageOrBuilder<
BidResponse, BidResponse.Builder> {
/**
* <pre>
* ID of the bid request to which this is a response.
* REQUIRED by the OpenRTB specification.
* Supported by Google.
* </pre>
*
* <code>required string id = 1;</code>
* @return Whether the id field is set.
*/
boolean hasId();
/**
* <pre>
* ID of the bid request to which this is a response.
* REQUIRED by the OpenRTB specification.
* Supported by Google.
* </pre>
*
* <code>required string id = 1;</code>
* @return The id.
*/
java.lang.String getId();
/**
* <pre>
* ID of the bid request to which this is a response.
* REQUIRED by the OpenRTB specification.
* Supported by Google.
* </pre>
*
* <code>required string id = 1;</code>
* @return The bytes for id.
*/
com.google.protobuf.ByteString
getIdBytes();
/**
* <pre>
* Array of seatbid objects; 1+ required if a bid is to be made.
* Supported by Google.
* </pre>
*
* <code>repeated .com.google.openrtb.BidResponse.SeatBid seatbid = 2;</code>
*/
java.util.List<com.particles.mes.protos.openrtb.BidResponse.SeatBid>
getSeatbidList();
/**
* <pre>
* Array of seatbid objects; 1+ required if a bid is to be made.
* Supported by Google.
* </pre>
*
* <code>repeated .com.google.openrtb.BidResponse.SeatBid seatbid = 2;</code>
*/
com.particles.mes.protos.openrtb.BidResponse.SeatBid getSeatbid(int index);
/**
* <pre>
* Array of seatbid objects; 1+ required if a bid is to be made.
* Supported by Google.
* </pre>
*
* <code>repeated .com.google.openrtb.BidResponse.SeatBid seatbid = 2;</code>
*/
int getSeatbidCount();
/**
* <pre>
* Bidder generated response ID to assist with logging/tracking.
* Supported by Google.
* </pre>
*
* <code>optional string bidid = 3;</code>
* @return Whether the bidid field is set.
*/
boolean hasBidid();
/**
* <pre>
* Bidder generated response ID to assist with logging/tracking.
* Supported by Google.
* </pre>
*
* <code>optional string bidid = 3;</code>
* @return The bidid.
*/
java.lang.String getBidid();
/**
* <pre>
* Bidder generated response ID to assist with logging/tracking.
* Supported by Google.
* </pre>
*
* <code>optional string bidid = 3;</code>
* @return The bytes for bidid.
*/
com.google.protobuf.ByteString
getBididBytes();
/**
* <pre>
* Bid currency using ISO-4217 alpha codes.
* Supported by Google. If this field is populated, the specified currency
* will be used to interpret the bid. Otherwise, the default bidding currency
* will be used, which is determined in the following priority:
* 1. The bidder-level currency, if configured in RTB account settings.
* 2. The buyer-level currency. The buyer will be determined by the billing
* ID specified in the BidResponse.seatbid.bid.ext.billing_id extension
* field if it is populated, otherwise it will be based on the sole billing
* ID sent in the bid request.
* The currency of a buyer account is set on account creation and can be
* checked by contacting a Technical Account Manager.
* </pre>
*
* <code>optional string cur = 4;</code>
* @return Whether the cur field is set.
*/
boolean hasCur();
/**
* <pre>
* Bid currency using ISO-4217 alpha codes.
* Supported by Google. If this field is populated, the specified currency
* will be used to interpret the bid. Otherwise, the default bidding currency
* will be used, which is determined in the following priority:
* 1. The bidder-level currency, if configured in RTB account settings.
* 2. The buyer-level currency. The buyer will be determined by the billing
* ID specified in the BidResponse.seatbid.bid.ext.billing_id extension
* field if it is populated, otherwise it will be based on the sole billing
* ID sent in the bid request.
* The currency of a buyer account is set on account creation and can be
* checked by contacting a Technical Account Manager.
* </pre>
*
* <code>optional string cur = 4;</code>
* @return The cur.
*/
java.lang.String getCur();
/**
* <pre>
* Bid currency using ISO-4217 alpha codes.
* Supported by Google. If this field is populated, the specified currency
* will be used to interpret the bid. Otherwise, the default bidding currency
* will be used, which is determined in the following priority:
* 1. The bidder-level currency, if configured in RTB account settings.
* 2. The buyer-level currency. The buyer will be determined by the billing
* ID specified in the BidResponse.seatbid.bid.ext.billing_id extension
* field if it is populated, otherwise it will be based on the sole billing
* ID sent in the bid request.
* The currency of a buyer account is set on account creation and can be
* checked by contacting a Technical Account Manager.
* </pre>
*
* <code>optional string cur = 4;</code>
* @return The bytes for cur.
*/
com.google.protobuf.ByteString
getCurBytes();
/**
* <pre>
* Optional feature to allow a bidder to set data in the exchange's cookie.
* The string must be in base85 cookie safe characters and be in any format.
* Proper JSON encoding must be used to include "escaped" quotation marks.
* Ignored by Google.
* </pre>
*
* <code>optional string customdata = 5;</code>
* @return Whether the customdata field is set.
*/
boolean hasCustomdata();
/**
* <pre>
* Optional feature to allow a bidder to set data in the exchange's cookie.
* The string must be in base85 cookie safe characters and be in any format.
* Proper JSON encoding must be used to include "escaped" quotation marks.
* Ignored by Google.
* </pre>
*
* <code>optional string customdata = 5;</code>
* @return The customdata.
*/
java.lang.String getCustomdata();
/**
* <pre>
* Optional feature to allow a bidder to set data in the exchange's cookie.
* The string must be in base85 cookie safe characters and be in any format.
* Proper JSON encoding must be used to include "escaped" quotation marks.
* Ignored by Google.
* </pre>
*
* <code>optional string customdata = 5;</code>
* @return The bytes for customdata.
*/
com.google.protobuf.ByteString
getCustomdataBytes();
/**
* <pre>
* Reason for not bidding.
* Supported by Google.
* </pre>
*
* <code>optional .com.google.openrtb.NoBidReason nbr = 6;</code>
* @return Whether the nbr field is set.
*/
boolean hasNbr();
/**
* <pre>
* Reason for not bidding.
* Supported by Google.
* </pre>
*
* <code>optional .com.google.openrtb.NoBidReason nbr = 6;</code>
* @return The nbr.
*/
com.particles.mes.protos.openrtb.NoBidReason getNbr();
/**
* <code>optional string ext = 90;</code>
* @return Whether the ext field is set.
*/
boolean hasExt();
/**
* <code>optional string ext = 90;</code>
* @return The ext.
*/
java.lang.String getExt();
/**
* <code>optional string ext = 90;</code>
* @return The bytes for ext.
*/
com.google.protobuf.ByteString
getExtBytes();
}
|
0 | java-sources/ai/themsp/mes-android-sdk/0.15.0/main/com/particles/mes/protos | java-sources/ai/themsp/mes-android-sdk/0.15.0/main/com/particles/mes/protos/openrtb/CategoryTaxonomy.java | // Generated by the protocol buffer compiler. DO NOT EDIT!
// source: openrtb/openrtb-v26.proto
package com.particles.mes.protos.openrtb;
/**
* <pre>
* OpenRTB 2.6: The options for taxonomies that can be used to describe content,
* audience, and ad creative categories.
* </pre>
*
* Protobuf enum {@code com.google.openrtb.CategoryTaxonomy}
*/
public enum CategoryTaxonomy
implements com.google.protobuf.Internal.EnumLite {
/**
* <pre>
* DEPRECATED in OpenRTB 2.6+.
* IAB Tech Lab Content Category Taxonomy 1.0.
* </pre>
*
* <code>IAB_CONTENT_1_0 = 1 [deprecated = true];</code>
*/
@java.lang.Deprecated
IAB_CONTENT_1_0(1),
/**
* <pre>
* DEPRECATED in OpenRTB 2.6+.
* IAB Tech Lab Content Category Taxonomy 2.0.
* </pre>
*
* <code>IAB_CONTENT_2_0 = 2 [deprecated = true];</code>
*/
@java.lang.Deprecated
IAB_CONTENT_2_0(2),
/**
* <pre>
* IAB Tech Lab Ad Product Taxonomy 1.0. See:
* https://iabtechlab.com/wp-content/uploads/2020/10/IABTL-Ad-Product-Taxonomy-1.0-Final.xlsx
* </pre>
*
* <code>IAB_PRODUCT_1_0 = 3;</code>
*/
IAB_PRODUCT_1_0(3),
/**
* <pre>
* IAB Tech Lab Audience Taxonomy 1.1. See:
* https://iabtechlab.com/standards/audience-taxonomy/
* </pre>
*
* <code>IAB_AUDIENCE_1_1 = 4;</code>
*/
IAB_AUDIENCE_1_1(4),
/**
* <pre>
* IAB Tech Lab Content Taxonomy 2.1. See:
* https://iabtechlab.com/standards/content-taxonomy/
* </pre>
*
* <code>IAB_CONTENT_2_1 = 5;</code>
*/
IAB_CONTENT_2_1(5),
/**
* <pre>
* IAB Tech Lab Content Taxonomy 2.2. See:
* https://iabtechlab.com/standards/content-taxonomy/
* </pre>
*
* <code>IAB_CONTENT_2_2 = 6;</code>
*/
IAB_CONTENT_2_2(6),
/**
* <pre>
* Exchange-specific values above 500.
* Chromium Topics API taxonomy. See:
* https://github.com/patcg-individual-drafts/topics/blob/main/taxonomy_v1.md
* </pre>
*
* <code>CHROME_TOPICS = 600;</code>
*/
CHROME_TOPICS(600),
;
/**
* <pre>
* DEPRECATED in OpenRTB 2.6+.
* IAB Tech Lab Content Category Taxonomy 1.0.
* </pre>
*
* <code>IAB_CONTENT_1_0 = 1 [deprecated = true];</code>
*/
@java.lang.Deprecated public static final int IAB_CONTENT_1_0_VALUE = 1;
/**
* <pre>
* DEPRECATED in OpenRTB 2.6+.
* IAB Tech Lab Content Category Taxonomy 2.0.
* </pre>
*
* <code>IAB_CONTENT_2_0 = 2 [deprecated = true];</code>
*/
@java.lang.Deprecated public static final int IAB_CONTENT_2_0_VALUE = 2;
/**
* <pre>
* IAB Tech Lab Ad Product Taxonomy 1.0. See:
* https://iabtechlab.com/wp-content/uploads/2020/10/IABTL-Ad-Product-Taxonomy-1.0-Final.xlsx
* </pre>
*
* <code>IAB_PRODUCT_1_0 = 3;</code>
*/
public static final int IAB_PRODUCT_1_0_VALUE = 3;
/**
* <pre>
* IAB Tech Lab Audience Taxonomy 1.1. See:
* https://iabtechlab.com/standards/audience-taxonomy/
* </pre>
*
* <code>IAB_AUDIENCE_1_1 = 4;</code>
*/
public static final int IAB_AUDIENCE_1_1_VALUE = 4;
/**
* <pre>
* IAB Tech Lab Content Taxonomy 2.1. See:
* https://iabtechlab.com/standards/content-taxonomy/
* </pre>
*
* <code>IAB_CONTENT_2_1 = 5;</code>
*/
public static final int IAB_CONTENT_2_1_VALUE = 5;
/**
* <pre>
* IAB Tech Lab Content Taxonomy 2.2. See:
* https://iabtechlab.com/standards/content-taxonomy/
* </pre>
*
* <code>IAB_CONTENT_2_2 = 6;</code>
*/
public static final int IAB_CONTENT_2_2_VALUE = 6;
/**
* <pre>
* Exchange-specific values above 500.
* Chromium Topics API taxonomy. See:
* https://github.com/patcg-individual-drafts/topics/blob/main/taxonomy_v1.md
* </pre>
*
* <code>CHROME_TOPICS = 600;</code>
*/
public static final int CHROME_TOPICS_VALUE = 600;
@java.lang.Override
public final int getNumber() {
return value;
}
/**
* @param value The number of the enum to look for.
* @return The enum associated with the given number.
* @deprecated Use {@link #forNumber(int)} instead.
*/
@java.lang.Deprecated
public static CategoryTaxonomy valueOf(int value) {
return forNumber(value);
}
public static CategoryTaxonomy forNumber(int value) {
switch (value) {
case 1: return IAB_CONTENT_1_0;
case 2: return IAB_CONTENT_2_0;
case 3: return IAB_PRODUCT_1_0;
case 4: return IAB_AUDIENCE_1_1;
case 5: return IAB_CONTENT_2_1;
case 6: return IAB_CONTENT_2_2;
case 600: return CHROME_TOPICS;
default: return null;
}
}
public static com.google.protobuf.Internal.EnumLiteMap<CategoryTaxonomy>
internalGetValueMap() {
return internalValueMap;
}
private static final com.google.protobuf.Internal.EnumLiteMap<
CategoryTaxonomy> internalValueMap =
new com.google.protobuf.Internal.EnumLiteMap<CategoryTaxonomy>() {
@java.lang.Override
public CategoryTaxonomy findValueByNumber(int number) {
return CategoryTaxonomy.forNumber(number);
}
};
public static com.google.protobuf.Internal.EnumVerifier
internalGetVerifier() {
return CategoryTaxonomyVerifier.INSTANCE;
}
private static final class CategoryTaxonomyVerifier implements
com.google.protobuf.Internal.EnumVerifier {
static final com.google.protobuf.Internal.EnumVerifier INSTANCE = new CategoryTaxonomyVerifier();
@java.lang.Override
public boolean isInRange(int number) {
return CategoryTaxonomy.forNumber(number) != null;
}
};
private final int value;
private CategoryTaxonomy(int value) {
this.value = value;
}
// @@protoc_insertion_point(enum_scope:com.google.openrtb.CategoryTaxonomy)
}
|
0 | java-sources/ai/themsp/mes-android-sdk/0.15.0/main/com/particles/mes/protos | java-sources/ai/themsp/mes-android-sdk/0.15.0/main/com/particles/mes/protos/openrtb/CompanionType.java | // Generated by the protocol buffer compiler. DO NOT EDIT!
// source: openrtb/openrtb-v26.proto
package com.particles.mes.protos.openrtb;
/**
* <pre>
* OpenRTB 2.1: The following table lists the options for the
* video quality. These values are defined by the IAB -
* http://www.iab.net/media/file/long-form-video-final.pdf.
* </pre>
*
* Protobuf enum {@code com.google.openrtb.CompanionType}
*/
public enum CompanionType
implements com.google.protobuf.Internal.EnumLite {
/**
* <code>STATIC = 1;</code>
*/
STATIC(1),
/**
* <code>HTML = 2;</code>
*/
HTML(2),
/**
* <code>COMPANION_IFRAME = 3;</code>
*/
COMPANION_IFRAME(3),
;
/**
* <code>STATIC = 1;</code>
*/
public static final int STATIC_VALUE = 1;
/**
* <code>HTML = 2;</code>
*/
public static final int HTML_VALUE = 2;
/**
* <code>COMPANION_IFRAME = 3;</code>
*/
public static final int COMPANION_IFRAME_VALUE = 3;
@java.lang.Override
public final int getNumber() {
return value;
}
/**
* @param value The number of the enum to look for.
* @return The enum associated with the given number.
* @deprecated Use {@link #forNumber(int)} instead.
*/
@java.lang.Deprecated
public static CompanionType valueOf(int value) {
return forNumber(value);
}
public static CompanionType forNumber(int value) {
switch (value) {
case 1: return STATIC;
case 2: return HTML;
case 3: return COMPANION_IFRAME;
default: return null;
}
}
public static com.google.protobuf.Internal.EnumLiteMap<CompanionType>
internalGetValueMap() {
return internalValueMap;
}
private static final com.google.protobuf.Internal.EnumLiteMap<
CompanionType> internalValueMap =
new com.google.protobuf.Internal.EnumLiteMap<CompanionType>() {
@java.lang.Override
public CompanionType findValueByNumber(int number) {
return CompanionType.forNumber(number);
}
};
public static com.google.protobuf.Internal.EnumVerifier
internalGetVerifier() {
return CompanionTypeVerifier.INSTANCE;
}
private static final class CompanionTypeVerifier implements
com.google.protobuf.Internal.EnumVerifier {
static final com.google.protobuf.Internal.EnumVerifier INSTANCE = new CompanionTypeVerifier();
@java.lang.Override
public boolean isInRange(int number) {
return CompanionType.forNumber(number) != null;
}
};
private final int value;
private CompanionType(int value) {
this.value = value;
}
// @@protoc_insertion_point(enum_scope:com.google.openrtb.CompanionType)
}
|
0 | java-sources/ai/themsp/mes-android-sdk/0.15.0/main/com/particles/mes/protos | java-sources/ai/themsp/mes-android-sdk/0.15.0/main/com/particles/mes/protos/openrtb/ConnectionType.java | // Generated by the protocol buffer compiler. DO NOT EDIT!
// source: openrtb/openrtb-v26.proto
package com.particles.mes.protos.openrtb;
/**
* <pre>
* OpenRTB 2.0: The following table lists the various options for the
* type of device connectivity.
* </pre>
*
* Protobuf enum {@code com.google.openrtb.ConnectionType}
*/
public enum ConnectionType
implements com.google.protobuf.Internal.EnumLite {
/**
* <code>CONNECTION_UNKNOWN = 0;</code>
*/
CONNECTION_UNKNOWN(0),
/**
* <pre>
* Ethernet; Wired Connection
* </pre>
*
* <code>ETHERNET = 1;</code>
*/
ETHERNET(1),
/**
* <pre>
* WiFi
* </pre>
*
* <code>WIFI = 2;</code>
*/
WIFI(2),
/**
* <pre>
* Mobile Network - Unknown Generation
* </pre>
*
* <code>CELL_UNKNOWN = 3;</code>
*/
CELL_UNKNOWN(3),
/**
* <pre>
* Mobile Network - 2G
* </pre>
*
* <code>CELL_2G = 4;</code>
*/
CELL_2G(4),
/**
* <pre>
* Mobile Network - 3G
* </pre>
*
* <code>CELL_3G = 5;</code>
*/
CELL_3G(5),
/**
* <pre>
* Mobile Network - 4G
* </pre>
*
* <code>CELL_4G = 6;</code>
*/
CELL_4G(6),
/**
* <pre>
* Mobile Network - 5G
* </pre>
*
* <code>CELL_5G = 7;</code>
*/
CELL_5G(7),
;
/**
* <code>CONNECTION_UNKNOWN = 0;</code>
*/
public static final int CONNECTION_UNKNOWN_VALUE = 0;
/**
* <pre>
* Ethernet; Wired Connection
* </pre>
*
* <code>ETHERNET = 1;</code>
*/
public static final int ETHERNET_VALUE = 1;
/**
* <pre>
* WiFi
* </pre>
*
* <code>WIFI = 2;</code>
*/
public static final int WIFI_VALUE = 2;
/**
* <pre>
* Mobile Network - Unknown Generation
* </pre>
*
* <code>CELL_UNKNOWN = 3;</code>
*/
public static final int CELL_UNKNOWN_VALUE = 3;
/**
* <pre>
* Mobile Network - 2G
* </pre>
*
* <code>CELL_2G = 4;</code>
*/
public static final int CELL_2G_VALUE = 4;
/**
* <pre>
* Mobile Network - 3G
* </pre>
*
* <code>CELL_3G = 5;</code>
*/
public static final int CELL_3G_VALUE = 5;
/**
* <pre>
* Mobile Network - 4G
* </pre>
*
* <code>CELL_4G = 6;</code>
*/
public static final int CELL_4G_VALUE = 6;
/**
* <pre>
* Mobile Network - 5G
* </pre>
*
* <code>CELL_5G = 7;</code>
*/
public static final int CELL_5G_VALUE = 7;
@java.lang.Override
public final int getNumber() {
return value;
}
/**
* @param value The number of the enum to look for.
* @return The enum associated with the given number.
* @deprecated Use {@link #forNumber(int)} instead.
*/
@java.lang.Deprecated
public static ConnectionType valueOf(int value) {
return forNumber(value);
}
public static ConnectionType forNumber(int value) {
switch (value) {
case 0: return CONNECTION_UNKNOWN;
case 1: return ETHERNET;
case 2: return WIFI;
case 3: return CELL_UNKNOWN;
case 4: return CELL_2G;
case 5: return CELL_3G;
case 6: return CELL_4G;
case 7: return CELL_5G;
default: return null;
}
}
public static com.google.protobuf.Internal.EnumLiteMap<ConnectionType>
internalGetValueMap() {
return internalValueMap;
}
private static final com.google.protobuf.Internal.EnumLiteMap<
ConnectionType> internalValueMap =
new com.google.protobuf.Internal.EnumLiteMap<ConnectionType>() {
@java.lang.Override
public ConnectionType findValueByNumber(int number) {
return ConnectionType.forNumber(number);
}
};
public static com.google.protobuf.Internal.EnumVerifier
internalGetVerifier() {
return ConnectionTypeVerifier.INSTANCE;
}
private static final class ConnectionTypeVerifier implements
com.google.protobuf.Internal.EnumVerifier {
static final com.google.protobuf.Internal.EnumVerifier INSTANCE = new ConnectionTypeVerifier();
@java.lang.Override
public boolean isInRange(int number) {
return ConnectionType.forNumber(number) != null;
}
};
private final int value;
private ConnectionType(int value) {
this.value = value;
}
// @@protoc_insertion_point(enum_scope:com.google.openrtb.ConnectionType)
}
|
0 | java-sources/ai/themsp/mes-android-sdk/0.15.0/main/com/particles/mes/protos | java-sources/ai/themsp/mes-android-sdk/0.15.0/main/com/particles/mes/protos/openrtb/ContentContext.java | // Generated by the protocol buffer compiler. DO NOT EDIT!
// source: openrtb/openrtb-v26.proto
package com.particles.mes.protos.openrtb;
/**
* <pre>
* OpenRTB 2.0: The following table lists the various options for
* indicating the type of content in which the impression will appear.
* This OpenRTB table has values derived from the IAB Quality Assurance
* Guidelines (QAG). Practitioners should keep in sync with updates to the
* QAG values as published on IAB.net.
* </pre>
*
* Protobuf enum {@code com.google.openrtb.ContentContext}
*/
public enum ContentContext
implements com.google.protobuf.Internal.EnumLite {
/**
* <code>VIDEO = 1;</code>
*/
VIDEO(1),
/**
* <code>GAME = 2;</code>
*/
GAME(2),
/**
* <code>MUSIC = 3;</code>
*/
MUSIC(3),
/**
* <code>APPLICATION = 4;</code>
*/
APPLICATION(4),
/**
* <code>TEXT = 5;</code>
*/
TEXT(5),
/**
* <code>OTHER = 6;</code>
*/
OTHER(6),
/**
* <code>CONTEXT_UNKNOWN = 7;</code>
*/
CONTEXT_UNKNOWN(7),
;
/**
* <code>VIDEO = 1;</code>
*/
public static final int VIDEO_VALUE = 1;
/**
* <code>GAME = 2;</code>
*/
public static final int GAME_VALUE = 2;
/**
* <code>MUSIC = 3;</code>
*/
public static final int MUSIC_VALUE = 3;
/**
* <code>APPLICATION = 4;</code>
*/
public static final int APPLICATION_VALUE = 4;
/**
* <code>TEXT = 5;</code>
*/
public static final int TEXT_VALUE = 5;
/**
* <code>OTHER = 6;</code>
*/
public static final int OTHER_VALUE = 6;
/**
* <code>CONTEXT_UNKNOWN = 7;</code>
*/
public static final int CONTEXT_UNKNOWN_VALUE = 7;
@java.lang.Override
public final int getNumber() {
return value;
}
/**
* @param value The number of the enum to look for.
* @return The enum associated with the given number.
* @deprecated Use {@link #forNumber(int)} instead.
*/
@java.lang.Deprecated
public static ContentContext valueOf(int value) {
return forNumber(value);
}
public static ContentContext forNumber(int value) {
switch (value) {
case 1: return VIDEO;
case 2: return GAME;
case 3: return MUSIC;
case 4: return APPLICATION;
case 5: return TEXT;
case 6: return OTHER;
case 7: return CONTEXT_UNKNOWN;
default: return null;
}
}
public static com.google.protobuf.Internal.EnumLiteMap<ContentContext>
internalGetValueMap() {
return internalValueMap;
}
private static final com.google.protobuf.Internal.EnumLiteMap<
ContentContext> internalValueMap =
new com.google.protobuf.Internal.EnumLiteMap<ContentContext>() {
@java.lang.Override
public ContentContext findValueByNumber(int number) {
return ContentContext.forNumber(number);
}
};
public static com.google.protobuf.Internal.EnumVerifier
internalGetVerifier() {
return ContentContextVerifier.INSTANCE;
}
private static final class ContentContextVerifier implements
com.google.protobuf.Internal.EnumVerifier {
static final com.google.protobuf.Internal.EnumVerifier INSTANCE = new ContentContextVerifier();
@java.lang.Override
public boolean isInRange(int number) {
return ContentContext.forNumber(number) != null;
}
};
private final int value;
private ContentContext(int value) {
this.value = value;
}
// @@protoc_insertion_point(enum_scope:com.google.openrtb.ContentContext)
}
|
0 | java-sources/ai/themsp/mes-android-sdk/0.15.0/main/com/particles/mes/protos | java-sources/ai/themsp/mes-android-sdk/0.15.0/main/com/particles/mes/protos/openrtb/ContentDeliveryMethod.java | // Generated by the protocol buffer compiler. DO NOT EDIT!
// source: openrtb/openrtb-v26.proto
package com.particles.mes.protos.openrtb;
/**
* <pre>
* OpenRTB 2.0: The following table lists the various options for the
* delivery of video content. These values are defined by the IAB -
* https://github.com/InteractiveAdvertisingBureau/AdCOM/blob/main/AdCOM%20v1.0%20FINAL.md#list--delivery-methods-.
* </pre>
*
* Protobuf enum {@code com.google.openrtb.ContentDeliveryMethod}
*/
public enum ContentDeliveryMethod
implements com.google.protobuf.Internal.EnumLite {
/**
* <pre>
* Content is transferred continuously by the network; clients receive
* real-time content for playback while connected. Example: broadcast TV.
* </pre>
*
* <code>STREAMING = 1;</code>
*/
STREAMING(1),
/**
* <pre>
* Content is transferred incrementally as client's playback requires.
* Example: on-demand movies, podcasts, or music.
* </pre>
*
* <code>PROGRESSIVE = 2;</code>
*/
PROGRESSIVE(2),
/**
* <pre>
* Content should be transferred completely prior to use/playback.
* Example: content downloaded to the user's device for offline
* consumption.
* </pre>
*
* <code>DOWNLOAD = 3;</code>
*/
DOWNLOAD(3),
;
/**
* <pre>
* Content is transferred continuously by the network; clients receive
* real-time content for playback while connected. Example: broadcast TV.
* </pre>
*
* <code>STREAMING = 1;</code>
*/
public static final int STREAMING_VALUE = 1;
/**
* <pre>
* Content is transferred incrementally as client's playback requires.
* Example: on-demand movies, podcasts, or music.
* </pre>
*
* <code>PROGRESSIVE = 2;</code>
*/
public static final int PROGRESSIVE_VALUE = 2;
/**
* <pre>
* Content should be transferred completely prior to use/playback.
* Example: content downloaded to the user's device for offline
* consumption.
* </pre>
*
* <code>DOWNLOAD = 3;</code>
*/
public static final int DOWNLOAD_VALUE = 3;
@java.lang.Override
public final int getNumber() {
return value;
}
/**
* @param value The number of the enum to look for.
* @return The enum associated with the given number.
* @deprecated Use {@link #forNumber(int)} instead.
*/
@java.lang.Deprecated
public static ContentDeliveryMethod valueOf(int value) {
return forNumber(value);
}
public static ContentDeliveryMethod forNumber(int value) {
switch (value) {
case 1: return STREAMING;
case 2: return PROGRESSIVE;
case 3: return DOWNLOAD;
default: return null;
}
}
public static com.google.protobuf.Internal.EnumLiteMap<ContentDeliveryMethod>
internalGetValueMap() {
return internalValueMap;
}
private static final com.google.protobuf.Internal.EnumLiteMap<
ContentDeliveryMethod> internalValueMap =
new com.google.protobuf.Internal.EnumLiteMap<ContentDeliveryMethod>() {
@java.lang.Override
public ContentDeliveryMethod findValueByNumber(int number) {
return ContentDeliveryMethod.forNumber(number);
}
};
public static com.google.protobuf.Internal.EnumVerifier
internalGetVerifier() {
return ContentDeliveryMethodVerifier.INSTANCE;
}
private static final class ContentDeliveryMethodVerifier implements
com.google.protobuf.Internal.EnumVerifier {
static final com.google.protobuf.Internal.EnumVerifier INSTANCE = new ContentDeliveryMethodVerifier();
@java.lang.Override
public boolean isInRange(int number) {
return ContentDeliveryMethod.forNumber(number) != null;
}
};
private final int value;
private ContentDeliveryMethod(int value) {
this.value = value;
}
// @@protoc_insertion_point(enum_scope:com.google.openrtb.ContentDeliveryMethod)
}
|
0 | java-sources/ai/themsp/mes-android-sdk/0.15.0/main/com/particles/mes/protos | java-sources/ai/themsp/mes-android-sdk/0.15.0/main/com/particles/mes/protos/openrtb/ContextSubtype.java | // Generated by the protocol buffer compiler. DO NOT EDIT!
// source: openrtb/openrtb-v26.proto
package com.particles.mes.protos.openrtb;
/**
* <pre>
* OpenRTB Native 1.1: Next-level context in which the ad appears.
* Again this reflects the primary context, and does not imply no presence
* of other elements. For example, an article is likely to contain images
* but is still first and foremost an article. SubType should only be
* combined with the primary context type as indicated (ie for a context
* type of 1, only context subtypes that start with 1 are valid).
* </pre>
*
* Protobuf enum {@code com.google.openrtb.ContextSubtype}
*/
public enum ContextSubtype
implements com.google.protobuf.Internal.EnumLite {
/**
* <code>CONTENT_GENERAL_OR_MIXED = 10;</code>
*/
CONTENT_GENERAL_OR_MIXED(10),
/**
* <code>CONTENT_ARTICLE = 11;</code>
*/
CONTENT_ARTICLE(11),
/**
* <code>CONTENT_VIDEO = 12;</code>
*/
CONTENT_VIDEO(12),
/**
* <code>CONTENT_AUDIO = 13;</code>
*/
CONTENT_AUDIO(13),
/**
* <code>CONTENT_IMAGE = 14;</code>
*/
CONTENT_IMAGE(14),
/**
* <code>CONTENT_USER_GENERATED = 15;</code>
*/
CONTENT_USER_GENERATED(15),
/**
* <code>SOCIAL_GENERAL = 20;</code>
*/
SOCIAL_GENERAL(20),
/**
* <code>SOCIAL_EMAIL = 21;</code>
*/
SOCIAL_EMAIL(21),
/**
* <code>SOCIAL_CHAT_IM = 22;</code>
*/
SOCIAL_CHAT_IM(22),
/**
* <code>PRODUCT_SELLING = 30;</code>
*/
PRODUCT_SELLING(30),
/**
* <code>PRODUCT_MARKETPLACE = 31;</code>
*/
PRODUCT_MARKETPLACE(31),
/**
* <code>PRODUCT_REVIEW = 32;</code>
*/
PRODUCT_REVIEW(32),
;
/**
* <code>CONTENT_GENERAL_OR_MIXED = 10;</code>
*/
public static final int CONTENT_GENERAL_OR_MIXED_VALUE = 10;
/**
* <code>CONTENT_ARTICLE = 11;</code>
*/
public static final int CONTENT_ARTICLE_VALUE = 11;
/**
* <code>CONTENT_VIDEO = 12;</code>
*/
public static final int CONTENT_VIDEO_VALUE = 12;
/**
* <code>CONTENT_AUDIO = 13;</code>
*/
public static final int CONTENT_AUDIO_VALUE = 13;
/**
* <code>CONTENT_IMAGE = 14;</code>
*/
public static final int CONTENT_IMAGE_VALUE = 14;
/**
* <code>CONTENT_USER_GENERATED = 15;</code>
*/
public static final int CONTENT_USER_GENERATED_VALUE = 15;
/**
* <code>SOCIAL_GENERAL = 20;</code>
*/
public static final int SOCIAL_GENERAL_VALUE = 20;
/**
* <code>SOCIAL_EMAIL = 21;</code>
*/
public static final int SOCIAL_EMAIL_VALUE = 21;
/**
* <code>SOCIAL_CHAT_IM = 22;</code>
*/
public static final int SOCIAL_CHAT_IM_VALUE = 22;
/**
* <code>PRODUCT_SELLING = 30;</code>
*/
public static final int PRODUCT_SELLING_VALUE = 30;
/**
* <code>PRODUCT_MARKETPLACE = 31;</code>
*/
public static final int PRODUCT_MARKETPLACE_VALUE = 31;
/**
* <code>PRODUCT_REVIEW = 32;</code>
*/
public static final int PRODUCT_REVIEW_VALUE = 32;
@java.lang.Override
public final int getNumber() {
return value;
}
/**
* @param value The number of the enum to look for.
* @return The enum associated with the given number.
* @deprecated Use {@link #forNumber(int)} instead.
*/
@java.lang.Deprecated
public static ContextSubtype valueOf(int value) {
return forNumber(value);
}
public static ContextSubtype forNumber(int value) {
switch (value) {
case 10: return CONTENT_GENERAL_OR_MIXED;
case 11: return CONTENT_ARTICLE;
case 12: return CONTENT_VIDEO;
case 13: return CONTENT_AUDIO;
case 14: return CONTENT_IMAGE;
case 15: return CONTENT_USER_GENERATED;
case 20: return SOCIAL_GENERAL;
case 21: return SOCIAL_EMAIL;
case 22: return SOCIAL_CHAT_IM;
case 30: return PRODUCT_SELLING;
case 31: return PRODUCT_MARKETPLACE;
case 32: return PRODUCT_REVIEW;
default: return null;
}
}
public static com.google.protobuf.Internal.EnumLiteMap<ContextSubtype>
internalGetValueMap() {
return internalValueMap;
}
private static final com.google.protobuf.Internal.EnumLiteMap<
ContextSubtype> internalValueMap =
new com.google.protobuf.Internal.EnumLiteMap<ContextSubtype>() {
@java.lang.Override
public ContextSubtype findValueByNumber(int number) {
return ContextSubtype.forNumber(number);
}
};
public static com.google.protobuf.Internal.EnumVerifier
internalGetVerifier() {
return ContextSubtypeVerifier.INSTANCE;
}
private static final class ContextSubtypeVerifier implements
com.google.protobuf.Internal.EnumVerifier {
static final com.google.protobuf.Internal.EnumVerifier INSTANCE = new ContextSubtypeVerifier();
@java.lang.Override
public boolean isInRange(int number) {
return ContextSubtype.forNumber(number) != null;
}
};
private final int value;
private ContextSubtype(int value) {
this.value = value;
}
// @@protoc_insertion_point(enum_scope:com.google.openrtb.ContextSubtype)
}
|
0 | java-sources/ai/themsp/mes-android-sdk/0.15.0/main/com/particles/mes/protos | java-sources/ai/themsp/mes-android-sdk/0.15.0/main/com/particles/mes/protos/openrtb/ContextType.java | // Generated by the protocol buffer compiler. DO NOT EDIT!
// source: openrtb/openrtb-v26.proto
package com.particles.mes.protos.openrtb;
/**
* <pre>
* OpenRTB Native 1.1: The context in which the ad appears - what type
* of content is surrounding the ad on the page at a high level.
* This maps directly to the new Deep Dive on In-Feed Ad Units.
* This denotes the primary context, but does not imply other content
* may not exist on the page - for example, it's expected that most
* content platforms have some social components.
* </pre>
*
* Protobuf enum {@code com.google.openrtb.ContextType}
*/
public enum ContextType
implements com.google.protobuf.Internal.EnumLite {
/**
* <pre>
* Content-centric context such as newsfeed, article, image gallery,
* video gallery, or similar.
* </pre>
*
* <code>CONTENT = 1;</code>
*/
CONTENT(1),
/**
* <pre>
* Social-centric context such as social network feed, email,
* chat, or similar.
* </pre>
*
* <code>SOCIAL = 2;</code>
*/
SOCIAL(2),
/**
* <pre>
* Product context such as product listings, details, recommendations,
* reviews, or similar.
* </pre>
*
* <code>PRODUCT = 3;</code>
*/
PRODUCT(3),
;
/**
* <pre>
* Content-centric context such as newsfeed, article, image gallery,
* video gallery, or similar.
* </pre>
*
* <code>CONTENT = 1;</code>
*/
public static final int CONTENT_VALUE = 1;
/**
* <pre>
* Social-centric context such as social network feed, email,
* chat, or similar.
* </pre>
*
* <code>SOCIAL = 2;</code>
*/
public static final int SOCIAL_VALUE = 2;
/**
* <pre>
* Product context such as product listings, details, recommendations,
* reviews, or similar.
* </pre>
*
* <code>PRODUCT = 3;</code>
*/
public static final int PRODUCT_VALUE = 3;
@java.lang.Override
public final int getNumber() {
return value;
}
/**
* @param value The number of the enum to look for.
* @return The enum associated with the given number.
* @deprecated Use {@link #forNumber(int)} instead.
*/
@java.lang.Deprecated
public static ContextType valueOf(int value) {
return forNumber(value);
}
public static ContextType forNumber(int value) {
switch (value) {
case 1: return CONTENT;
case 2: return SOCIAL;
case 3: return PRODUCT;
default: return null;
}
}
public static com.google.protobuf.Internal.EnumLiteMap<ContextType>
internalGetValueMap() {
return internalValueMap;
}
private static final com.google.protobuf.Internal.EnumLiteMap<
ContextType> internalValueMap =
new com.google.protobuf.Internal.EnumLiteMap<ContextType>() {
@java.lang.Override
public ContextType findValueByNumber(int number) {
return ContextType.forNumber(number);
}
};
public static com.google.protobuf.Internal.EnumVerifier
internalGetVerifier() {
return ContextTypeVerifier.INSTANCE;
}
private static final class ContextTypeVerifier implements
com.google.protobuf.Internal.EnumVerifier {
static final com.google.protobuf.Internal.EnumVerifier INSTANCE = new ContextTypeVerifier();
@java.lang.Override
public boolean isInRange(int number) {
return ContextType.forNumber(number) != null;
}
};
private final int value;
private ContextType(int value) {
this.value = value;
}
// @@protoc_insertion_point(enum_scope:com.google.openrtb.ContextType)
}
|
0 | java-sources/ai/themsp/mes-android-sdk/0.15.0/main/com/particles/mes/protos | java-sources/ai/themsp/mes-android-sdk/0.15.0/main/com/particles/mes/protos/openrtb/CreativeAttribute.java | // Generated by the protocol buffer compiler. DO NOT EDIT!
// source: openrtb/openrtb-v26.proto
package com.particles.mes.protos.openrtb;
/**
* <pre>
* OpenRTB 2.0: The following table specifies a standard list of creative
* attributes that can describe an ad being served or serve as restrictions
* of thereof.
* </pre>
*
* Protobuf enum {@code com.google.openrtb.CreativeAttribute}
*/
public enum CreativeAttribute
implements com.google.protobuf.Internal.EnumLite {
/**
* <code>AUDIO_AUTO_PLAY = 1;</code>
*/
AUDIO_AUTO_PLAY(1),
/**
* <code>AUDIO_USER_INITIATED = 2;</code>
*/
AUDIO_USER_INITIATED(2),
/**
* <code>EXPANDABLE_AUTOMATIC = 3;</code>
*/
EXPANDABLE_AUTOMATIC(3),
/**
* <code>EXPANDABLE_CLICK_INITIATED = 4;</code>
*/
EXPANDABLE_CLICK_INITIATED(4),
/**
* <code>EXPANDABLE_ROLLOVER_INITIATED = 5;</code>
*/
EXPANDABLE_ROLLOVER_INITIATED(5),
/**
* <code>VIDEO_IN_BANNER_AUTO_PLAY = 6;</code>
*/
VIDEO_IN_BANNER_AUTO_PLAY(6),
/**
* <code>VIDEO_IN_BANNER_USER_INITIATED = 7;</code>
*/
VIDEO_IN_BANNER_USER_INITIATED(7),
/**
* <pre>
* Pop (for example, Over, Under, or upon Exit).
* </pre>
*
* <code>POP = 8;</code>
*/
POP(8),
/**
* <code>PROVOCATIVE_OR_SUGGESTIVE = 9;</code>
*/
PROVOCATIVE_OR_SUGGESTIVE(9),
/**
* <pre>
* Defined as "Shaky, Flashing, Flickering, Extreme Animation, Smileys".
* </pre>
*
* <code>ANNOYING = 10;</code>
*/
ANNOYING(10),
/**
* <code>SURVEYS = 11;</code>
*/
SURVEYS(11),
/**
* <code>TEXT_ONLY = 12;</code>
*/
TEXT_ONLY(12),
/**
* <pre>
* For example, embedded games.
* </pre>
*
* <code>USER_INTERACTIVE = 13;</code>
*/
USER_INTERACTIVE(13),
/**
* <code>WINDOWS_DIALOG_OR_ALERT_STYLE = 14;</code>
*/
WINDOWS_DIALOG_OR_ALERT_STYLE(14),
/**
* <code>HAS_AUDIO_ON_OFF_BUTTON = 15;</code>
*/
HAS_AUDIO_ON_OFF_BUTTON(15),
/**
* <pre>
* Ad provides skip button (for example, VPAID-rendered skip button
* on pre-roll video).
* </pre>
*
* <code>AD_CAN_BE_SKIPPED = 16;</code>
*/
AD_CAN_BE_SKIPPED(16),
/**
* <pre>
* Adobe Flash
* </pre>
*
* <code>FLASH = 17;</code>
*/
FLASH(17),
/**
* <pre>
* Responsive, sizeless and fluid. Dynamically resizes to environment.
* </pre>
*
* <code>RESPONSIVE = 18;</code>
*/
RESPONSIVE(18),
/**
* <pre>
* Placeholders
* </pre>
*
* <code>PLACEHOLDER_ATTR53 = 53;</code>
*/
PLACEHOLDER_ATTR53(53),
;
/**
* <code>AUDIO_AUTO_PLAY = 1;</code>
*/
public static final int AUDIO_AUTO_PLAY_VALUE = 1;
/**
* <code>AUDIO_USER_INITIATED = 2;</code>
*/
public static final int AUDIO_USER_INITIATED_VALUE = 2;
/**
* <code>EXPANDABLE_AUTOMATIC = 3;</code>
*/
public static final int EXPANDABLE_AUTOMATIC_VALUE = 3;
/**
* <code>EXPANDABLE_CLICK_INITIATED = 4;</code>
*/
public static final int EXPANDABLE_CLICK_INITIATED_VALUE = 4;
/**
* <code>EXPANDABLE_ROLLOVER_INITIATED = 5;</code>
*/
public static final int EXPANDABLE_ROLLOVER_INITIATED_VALUE = 5;
/**
* <code>VIDEO_IN_BANNER_AUTO_PLAY = 6;</code>
*/
public static final int VIDEO_IN_BANNER_AUTO_PLAY_VALUE = 6;
/**
* <code>VIDEO_IN_BANNER_USER_INITIATED = 7;</code>
*/
public static final int VIDEO_IN_BANNER_USER_INITIATED_VALUE = 7;
/**
* <pre>
* Pop (for example, Over, Under, or upon Exit).
* </pre>
*
* <code>POP = 8;</code>
*/
public static final int POP_VALUE = 8;
/**
* <code>PROVOCATIVE_OR_SUGGESTIVE = 9;</code>
*/
public static final int PROVOCATIVE_OR_SUGGESTIVE_VALUE = 9;
/**
* <pre>
* Defined as "Shaky, Flashing, Flickering, Extreme Animation, Smileys".
* </pre>
*
* <code>ANNOYING = 10;</code>
*/
public static final int ANNOYING_VALUE = 10;
/**
* <code>SURVEYS = 11;</code>
*/
public static final int SURVEYS_VALUE = 11;
/**
* <code>TEXT_ONLY = 12;</code>
*/
public static final int TEXT_ONLY_VALUE = 12;
/**
* <pre>
* For example, embedded games.
* </pre>
*
* <code>USER_INTERACTIVE = 13;</code>
*/
public static final int USER_INTERACTIVE_VALUE = 13;
/**
* <code>WINDOWS_DIALOG_OR_ALERT_STYLE = 14;</code>
*/
public static final int WINDOWS_DIALOG_OR_ALERT_STYLE_VALUE = 14;
/**
* <code>HAS_AUDIO_ON_OFF_BUTTON = 15;</code>
*/
public static final int HAS_AUDIO_ON_OFF_BUTTON_VALUE = 15;
/**
* <pre>
* Ad provides skip button (for example, VPAID-rendered skip button
* on pre-roll video).
* </pre>
*
* <code>AD_CAN_BE_SKIPPED = 16;</code>
*/
public static final int AD_CAN_BE_SKIPPED_VALUE = 16;
/**
* <pre>
* Adobe Flash
* </pre>
*
* <code>FLASH = 17;</code>
*/
public static final int FLASH_VALUE = 17;
/**
* <pre>
* Responsive, sizeless and fluid. Dynamically resizes to environment.
* </pre>
*
* <code>RESPONSIVE = 18;</code>
*/
public static final int RESPONSIVE_VALUE = 18;
/**
* <pre>
* Placeholders
* </pre>
*
* <code>PLACEHOLDER_ATTR53 = 53;</code>
*/
public static final int PLACEHOLDER_ATTR53_VALUE = 53;
@java.lang.Override
public final int getNumber() {
return value;
}
/**
* @param value The number of the enum to look for.
* @return The enum associated with the given number.
* @deprecated Use {@link #forNumber(int)} instead.
*/
@java.lang.Deprecated
public static CreativeAttribute valueOf(int value) {
return forNumber(value);
}
public static CreativeAttribute forNumber(int value) {
switch (value) {
case 1: return AUDIO_AUTO_PLAY;
case 2: return AUDIO_USER_INITIATED;
case 3: return EXPANDABLE_AUTOMATIC;
case 4: return EXPANDABLE_CLICK_INITIATED;
case 5: return EXPANDABLE_ROLLOVER_INITIATED;
case 6: return VIDEO_IN_BANNER_AUTO_PLAY;
case 7: return VIDEO_IN_BANNER_USER_INITIATED;
case 8: return POP;
case 9: return PROVOCATIVE_OR_SUGGESTIVE;
case 10: return ANNOYING;
case 11: return SURVEYS;
case 12: return TEXT_ONLY;
case 13: return USER_INTERACTIVE;
case 14: return WINDOWS_DIALOG_OR_ALERT_STYLE;
case 15: return HAS_AUDIO_ON_OFF_BUTTON;
case 16: return AD_CAN_BE_SKIPPED;
case 17: return FLASH;
case 18: return RESPONSIVE;
case 53: return PLACEHOLDER_ATTR53;
default: return null;
}
}
public static com.google.protobuf.Internal.EnumLiteMap<CreativeAttribute>
internalGetValueMap() {
return internalValueMap;
}
private static final com.google.protobuf.Internal.EnumLiteMap<
CreativeAttribute> internalValueMap =
new com.google.protobuf.Internal.EnumLiteMap<CreativeAttribute>() {
@java.lang.Override
public CreativeAttribute findValueByNumber(int number) {
return CreativeAttribute.forNumber(number);
}
};
public static com.google.protobuf.Internal.EnumVerifier
internalGetVerifier() {
return CreativeAttributeVerifier.INSTANCE;
}
private static final class CreativeAttributeVerifier implements
com.google.protobuf.Internal.EnumVerifier {
static final com.google.protobuf.Internal.EnumVerifier INSTANCE = new CreativeAttributeVerifier();
@java.lang.Override
public boolean isInRange(int number) {
return CreativeAttribute.forNumber(number) != null;
}
};
private final int value;
private CreativeAttribute(int value) {
this.value = value;
}
// @@protoc_insertion_point(enum_scope:com.google.openrtb.CreativeAttribute)
}
|
0 | java-sources/ai/themsp/mes-android-sdk/0.15.0/main/com/particles/mes/protos | java-sources/ai/themsp/mes-android-sdk/0.15.0/main/com/particles/mes/protos/openrtb/CreativeMarkupType.java | // Generated by the protocol buffer compiler. DO NOT EDIT!
// source: openrtb/openrtb-v26.proto
package com.particles.mes.protos.openrtb;
/**
* <pre>
* OpenRTB 2.6: Creative markup types.
* </pre>
*
* Protobuf enum {@code com.google.openrtb.CreativeMarkupType}
*/
public enum CreativeMarkupType
implements com.google.protobuf.Internal.EnumLite {
/**
* <pre>
* Ad markup returned as HTML code in response to the BidRequest.imp.banner
* object specification.
* </pre>
*
* <code>CREATIVE_MARKUP_BANNER = 1;</code>
*/
CREATIVE_MARKUP_BANNER(1),
/**
* <pre>
* VAST URL or inline VAST XML document returned that represents a video ad in
* response to the BidRequest.imp.video object specification.
* </pre>
*
* <code>CREATIVE_MARKUP_VIDEO = 2;</code>
*/
CREATIVE_MARKUP_VIDEO(2),
/**
* <pre>
* VAST URL or inline VAST XML document that represents an audio ad returned
* in response to the BidRequest.imp.audio object specification.
* </pre>
*
* <code>CREATIVE_MARKUP_AUDIO = 3;</code>
*/
CREATIVE_MARKUP_AUDIO(3),
/**
* <pre>
* Native markup response object returned as per for the BidRequest.imp.native
* object specification.
* </pre>
*
* <code>CREATIVE_MARKUP_NATIVE = 4;</code>
*/
CREATIVE_MARKUP_NATIVE(4),
;
/**
* <pre>
* Ad markup returned as HTML code in response to the BidRequest.imp.banner
* object specification.
* </pre>
*
* <code>CREATIVE_MARKUP_BANNER = 1;</code>
*/
public static final int CREATIVE_MARKUP_BANNER_VALUE = 1;
/**
* <pre>
* VAST URL or inline VAST XML document returned that represents a video ad in
* response to the BidRequest.imp.video object specification.
* </pre>
*
* <code>CREATIVE_MARKUP_VIDEO = 2;</code>
*/
public static final int CREATIVE_MARKUP_VIDEO_VALUE = 2;
/**
* <pre>
* VAST URL or inline VAST XML document that represents an audio ad returned
* in response to the BidRequest.imp.audio object specification.
* </pre>
*
* <code>CREATIVE_MARKUP_AUDIO = 3;</code>
*/
public static final int CREATIVE_MARKUP_AUDIO_VALUE = 3;
/**
* <pre>
* Native markup response object returned as per for the BidRequest.imp.native
* object specification.
* </pre>
*
* <code>CREATIVE_MARKUP_NATIVE = 4;</code>
*/
public static final int CREATIVE_MARKUP_NATIVE_VALUE = 4;
@java.lang.Override
public final int getNumber() {
return value;
}
/**
* @param value The number of the enum to look for.
* @return The enum associated with the given number.
* @deprecated Use {@link #forNumber(int)} instead.
*/
@java.lang.Deprecated
public static CreativeMarkupType valueOf(int value) {
return forNumber(value);
}
public static CreativeMarkupType forNumber(int value) {
switch (value) {
case 1: return CREATIVE_MARKUP_BANNER;
case 2: return CREATIVE_MARKUP_VIDEO;
case 3: return CREATIVE_MARKUP_AUDIO;
case 4: return CREATIVE_MARKUP_NATIVE;
default: return null;
}
}
public static com.google.protobuf.Internal.EnumLiteMap<CreativeMarkupType>
internalGetValueMap() {
return internalValueMap;
}
private static final com.google.protobuf.Internal.EnumLiteMap<
CreativeMarkupType> internalValueMap =
new com.google.protobuf.Internal.EnumLiteMap<CreativeMarkupType>() {
@java.lang.Override
public CreativeMarkupType findValueByNumber(int number) {
return CreativeMarkupType.forNumber(number);
}
};
public static com.google.protobuf.Internal.EnumVerifier
internalGetVerifier() {
return CreativeMarkupTypeVerifier.INSTANCE;
}
private static final class CreativeMarkupTypeVerifier implements
com.google.protobuf.Internal.EnumVerifier {
static final com.google.protobuf.Internal.EnumVerifier INSTANCE = new CreativeMarkupTypeVerifier();
@java.lang.Override
public boolean isInRange(int number) {
return CreativeMarkupType.forNumber(number) != null;
}
};
private final int value;
private CreativeMarkupType(int value) {
this.value = value;
}
// @@protoc_insertion_point(enum_scope:com.google.openrtb.CreativeMarkupType)
}
|
0 | java-sources/ai/themsp/mes-android-sdk/0.15.0/main/com/particles/mes/protos | java-sources/ai/themsp/mes-android-sdk/0.15.0/main/com/particles/mes/protos/openrtb/DataAssetType.java | // Generated by the protocol buffer compiler. DO NOT EDIT!
// source: openrtb/openrtb-v26.proto
package com.particles.mes.protos.openrtb;
/**
* <pre>
* OpenRTB Native 1.0: Common asset element types of native advertising.
* This list is non-exhaustive and intended to be extended by the buyers
* and sellers as the format evolves. An implementing exchange may not
* support all asset variants or introduce new ones unique to that system.
* </pre>
*
* Protobuf enum {@code com.google.openrtb.DataAssetType}
*/
public enum DataAssetType
implements com.google.protobuf.Internal.EnumLite {
/**
* <pre>
* Sponsored By message where response should contain the brand name
* of the sponsor.
* Format: Text; Max length: 25 or longer.
* </pre>
*
* <code>SPONSORED = 1;</code>
*/
SPONSORED(1),
/**
* <pre>
* Descriptive text associated with the product or service being advertised.
* Format: Text; Max length: 140 or longer.
* </pre>
*
* <code>DESC = 2;</code>
*/
DESC(2),
/**
* <pre>
* Rating of the product being offered to the user.
* For example an app's rating in an app store from 0-5.
* Format: Number (1-5 digits) formatted as string.
* </pre>
*
* <code>RATING = 3;</code>
*/
RATING(3),
/**
* <pre>
* Number of social ratings or "likes" of product being offered to the user.
* Format: Number formatted as string.
* </pre>
*
* <code>LIKES = 4;</code>
*/
LIKES(4),
/**
* <pre>
* Number downloads/installs of this product.
* Format: Number formatted as string.
* </pre>
*
* <code>DOWNLOADS = 5;</code>
*/
DOWNLOADS(5),
/**
* <pre>
* Price for product / app / in-app purchase.
* Value should include currency symbol in localised format.
* Format: Number formatted as string.
* </pre>
*
* <code>PRICE = 6;</code>
*/
PRICE(6),
/**
* <pre>
* Sale price that can be used together with price to indicate a discounted
* price compared to a regular price. Value should include currency symbol
* in localised format.
* Format: Number formatted as string.
* </pre>
*
* <code>SALEPRICE = 7;</code>
*/
SALEPRICE(7),
/**
* <pre>
* Phone number.
* Format: Formatted string.
* </pre>
*
* <code>PHONE = 8;</code>
*/
PHONE(8),
/**
* <pre>
* Address.
* Format: Text.
* </pre>
*
* <code>ADDRESS = 9;</code>
*/
ADDRESS(9),
/**
* <pre>
* Additional descriptive text associated with the product or service
* being advertised.
* Format: Text.
* </pre>
*
* <code>DESC2 = 10;</code>
*/
DESC2(10),
/**
* <pre>
* Display URL for the text ad.
* Format: Text.
* </pre>
*
* <code>DISPLAYURL = 11;</code>
*/
DISPLAYURL(11),
/**
* <pre>
* Text describing a 'call to action' button for the destination URL.
* Format: Text.
* </pre>
*
* <code>CTATEXT = 12;</code>
*/
CTATEXT(12),
;
/**
* <pre>
* Sponsored By message where response should contain the brand name
* of the sponsor.
* Format: Text; Max length: 25 or longer.
* </pre>
*
* <code>SPONSORED = 1;</code>
*/
public static final int SPONSORED_VALUE = 1;
/**
* <pre>
* Descriptive text associated with the product or service being advertised.
* Format: Text; Max length: 140 or longer.
* </pre>
*
* <code>DESC = 2;</code>
*/
public static final int DESC_VALUE = 2;
/**
* <pre>
* Rating of the product being offered to the user.
* For example an app's rating in an app store from 0-5.
* Format: Number (1-5 digits) formatted as string.
* </pre>
*
* <code>RATING = 3;</code>
*/
public static final int RATING_VALUE = 3;
/**
* <pre>
* Number of social ratings or "likes" of product being offered to the user.
* Format: Number formatted as string.
* </pre>
*
* <code>LIKES = 4;</code>
*/
public static final int LIKES_VALUE = 4;
/**
* <pre>
* Number downloads/installs of this product.
* Format: Number formatted as string.
* </pre>
*
* <code>DOWNLOADS = 5;</code>
*/
public static final int DOWNLOADS_VALUE = 5;
/**
* <pre>
* Price for product / app / in-app purchase.
* Value should include currency symbol in localised format.
* Format: Number formatted as string.
* </pre>
*
* <code>PRICE = 6;</code>
*/
public static final int PRICE_VALUE = 6;
/**
* <pre>
* Sale price that can be used together with price to indicate a discounted
* price compared to a regular price. Value should include currency symbol
* in localised format.
* Format: Number formatted as string.
* </pre>
*
* <code>SALEPRICE = 7;</code>
*/
public static final int SALEPRICE_VALUE = 7;
/**
* <pre>
* Phone number.
* Format: Formatted string.
* </pre>
*
* <code>PHONE = 8;</code>
*/
public static final int PHONE_VALUE = 8;
/**
* <pre>
* Address.
* Format: Text.
* </pre>
*
* <code>ADDRESS = 9;</code>
*/
public static final int ADDRESS_VALUE = 9;
/**
* <pre>
* Additional descriptive text associated with the product or service
* being advertised.
* Format: Text.
* </pre>
*
* <code>DESC2 = 10;</code>
*/
public static final int DESC2_VALUE = 10;
/**
* <pre>
* Display URL for the text ad.
* Format: Text.
* </pre>
*
* <code>DISPLAYURL = 11;</code>
*/
public static final int DISPLAYURL_VALUE = 11;
/**
* <pre>
* Text describing a 'call to action' button for the destination URL.
* Format: Text.
* </pre>
*
* <code>CTATEXT = 12;</code>
*/
public static final int CTATEXT_VALUE = 12;
@java.lang.Override
public final int getNumber() {
return value;
}
/**
* @param value The number of the enum to look for.
* @return The enum associated with the given number.
* @deprecated Use {@link #forNumber(int)} instead.
*/
@java.lang.Deprecated
public static DataAssetType valueOf(int value) {
return forNumber(value);
}
public static DataAssetType forNumber(int value) {
switch (value) {
case 1: return SPONSORED;
case 2: return DESC;
case 3: return RATING;
case 4: return LIKES;
case 5: return DOWNLOADS;
case 6: return PRICE;
case 7: return SALEPRICE;
case 8: return PHONE;
case 9: return ADDRESS;
case 10: return DESC2;
case 11: return DISPLAYURL;
case 12: return CTATEXT;
default: return null;
}
}
public static com.google.protobuf.Internal.EnumLiteMap<DataAssetType>
internalGetValueMap() {
return internalValueMap;
}
private static final com.google.protobuf.Internal.EnumLiteMap<
DataAssetType> internalValueMap =
new com.google.protobuf.Internal.EnumLiteMap<DataAssetType>() {
@java.lang.Override
public DataAssetType findValueByNumber(int number) {
return DataAssetType.forNumber(number);
}
};
public static com.google.protobuf.Internal.EnumVerifier
internalGetVerifier() {
return DataAssetTypeVerifier.INSTANCE;
}
private static final class DataAssetTypeVerifier implements
com.google.protobuf.Internal.EnumVerifier {
static final com.google.protobuf.Internal.EnumVerifier INSTANCE = new DataAssetTypeVerifier();
@java.lang.Override
public boolean isInRange(int number) {
return DataAssetType.forNumber(number) != null;
}
};
private final int value;
private DataAssetType(int value) {
this.value = value;
}
// @@protoc_insertion_point(enum_scope:com.google.openrtb.DataAssetType)
}
|
0 | java-sources/ai/themsp/mes-android-sdk/0.15.0/main/com/particles/mes/protos | java-sources/ai/themsp/mes-android-sdk/0.15.0/main/com/particles/mes/protos/openrtb/DeviceType.java | // Generated by the protocol buffer compiler. DO NOT EDIT!
// source: openrtb/openrtb-v26.proto
package com.particles.mes.protos.openrtb;
/**
* <pre>
* OpenRTB 2.0: The following table lists the type of device from which the
* impression originated.
* OpenRTB version 2.2 of the specification added distinct values for Mobile
* and Tablet. It is recommended that any bidder adding support for 2.2
* treat a value of 1 as an acceptable alias of 4 & 5.
* This OpenRTB table has values derived from the IAB Quality Assurance
* Guidelines (QAG). Practitioners should keep in sync with updates to the
* QAG values as published on IAB.net.
* </pre>
*
* Protobuf enum {@code com.google.openrtb.DeviceType}
*/
public enum DeviceType
implements com.google.protobuf.Internal.EnumLite {
/**
* <pre>
* Mobile (OpenRTB 2.2+: obsolete, alias for PHONE or TABLET).
* </pre>
*
* <code>MOBILE = 1;</code>
*/
MOBILE(1),
/**
* <pre>
* Personal Computer.
* </pre>
*
* <code>PERSONAL_COMPUTER = 2;</code>
*/
PERSONAL_COMPUTER(2),
/**
* <pre>
* Connected TV.
* </pre>
*
* <code>CONNECTED_TV = 3;</code>
*/
CONNECTED_TV(3),
/**
* <pre>
* Phone.
* </pre>
*
* <code>HIGHEND_PHONE = 4;</code>
*/
HIGHEND_PHONE(4),
/**
* <pre>
* Tablet.
* </pre>
*
* <code>TABLET = 5;</code>
*/
TABLET(5),
/**
* <pre>
* Connected device.
* </pre>
*
* <code>CONNECTED_DEVICE = 6;</code>
*/
CONNECTED_DEVICE(6),
/**
* <pre>
* Set top box.
* </pre>
*
* <code>SET_TOP_BOX = 7;</code>
*/
SET_TOP_BOX(7),
/**
* <pre>
* Out-of-home advertising, for example digital billboards.
* </pre>
*
* <code>OOH_DEVICE = 8;</code>
*/
OOH_DEVICE(8),
;
/**
* <pre>
* Mobile (OpenRTB 2.2+: obsolete, alias for PHONE or TABLET).
* </pre>
*
* <code>MOBILE = 1;</code>
*/
public static final int MOBILE_VALUE = 1;
/**
* <pre>
* Personal Computer.
* </pre>
*
* <code>PERSONAL_COMPUTER = 2;</code>
*/
public static final int PERSONAL_COMPUTER_VALUE = 2;
/**
* <pre>
* Connected TV.
* </pre>
*
* <code>CONNECTED_TV = 3;</code>
*/
public static final int CONNECTED_TV_VALUE = 3;
/**
* <pre>
* Phone.
* </pre>
*
* <code>HIGHEND_PHONE = 4;</code>
*/
public static final int HIGHEND_PHONE_VALUE = 4;
/**
* <pre>
* Tablet.
* </pre>
*
* <code>TABLET = 5;</code>
*/
public static final int TABLET_VALUE = 5;
/**
* <pre>
* Connected device.
* </pre>
*
* <code>CONNECTED_DEVICE = 6;</code>
*/
public static final int CONNECTED_DEVICE_VALUE = 6;
/**
* <pre>
* Set top box.
* </pre>
*
* <code>SET_TOP_BOX = 7;</code>
*/
public static final int SET_TOP_BOX_VALUE = 7;
/**
* <pre>
* Out-of-home advertising, for example digital billboards.
* </pre>
*
* <code>OOH_DEVICE = 8;</code>
*/
public static final int OOH_DEVICE_VALUE = 8;
@java.lang.Override
public final int getNumber() {
return value;
}
/**
* @param value The number of the enum to look for.
* @return The enum associated with the given number.
* @deprecated Use {@link #forNumber(int)} instead.
*/
@java.lang.Deprecated
public static DeviceType valueOf(int value) {
return forNumber(value);
}
public static DeviceType forNumber(int value) {
switch (value) {
case 1: return MOBILE;
case 2: return PERSONAL_COMPUTER;
case 3: return CONNECTED_TV;
case 4: return HIGHEND_PHONE;
case 5: return TABLET;
case 6: return CONNECTED_DEVICE;
case 7: return SET_TOP_BOX;
case 8: return OOH_DEVICE;
default: return null;
}
}
public static com.google.protobuf.Internal.EnumLiteMap<DeviceType>
internalGetValueMap() {
return internalValueMap;
}
private static final com.google.protobuf.Internal.EnumLiteMap<
DeviceType> internalValueMap =
new com.google.protobuf.Internal.EnumLiteMap<DeviceType>() {
@java.lang.Override
public DeviceType findValueByNumber(int number) {
return DeviceType.forNumber(number);
}
};
public static com.google.protobuf.Internal.EnumVerifier
internalGetVerifier() {
return DeviceTypeVerifier.INSTANCE;
}
private static final class DeviceTypeVerifier implements
com.google.protobuf.Internal.EnumVerifier {
static final com.google.protobuf.Internal.EnumVerifier INSTANCE = new DeviceTypeVerifier();
@java.lang.Override
public boolean isInRange(int number) {
return DeviceType.forNumber(number) != null;
}
};
private final int value;
private DeviceType(int value) {
this.value = value;
}
// @@protoc_insertion_point(enum_scope:com.google.openrtb.DeviceType)
}
|
0 | java-sources/ai/themsp/mes-android-sdk/0.15.0/main/com/particles/mes/protos | java-sources/ai/themsp/mes-android-sdk/0.15.0/main/com/particles/mes/protos/openrtb/EventTrackingMethod.java | // Generated by the protocol buffer compiler. DO NOT EDIT!
// source: openrtb/openrtb-v26.proto
package com.particles.mes.protos.openrtb;
/**
* <pre>
* OpenRTB Native 1.2.
* </pre>
*
* Protobuf enum {@code com.google.openrtb.EventTrackingMethod}
*/
public enum EventTrackingMethod
implements com.google.protobuf.Internal.EnumLite {
/**
* <pre>
* Image-pixel tracking - URL provided will be insterted as a 1x1 pixel at the
* time of the event.
* </pre>
*
* <code>IMG = 1;</code>
*/
IMG(1),
/**
* <pre>
* Javascript-based tracking - URL provided will be insterted as a js tag at
* the time of the event.
* </pre>
*
* <code>JS = 2;</code>
*/
JS(2),
;
/**
* <pre>
* Image-pixel tracking - URL provided will be insterted as a 1x1 pixel at the
* time of the event.
* </pre>
*
* <code>IMG = 1;</code>
*/
public static final int IMG_VALUE = 1;
/**
* <pre>
* Javascript-based tracking - URL provided will be insterted as a js tag at
* the time of the event.
* </pre>
*
* <code>JS = 2;</code>
*/
public static final int JS_VALUE = 2;
@java.lang.Override
public final int getNumber() {
return value;
}
/**
* @param value The number of the enum to look for.
* @return The enum associated with the given number.
* @deprecated Use {@link #forNumber(int)} instead.
*/
@java.lang.Deprecated
public static EventTrackingMethod valueOf(int value) {
return forNumber(value);
}
public static EventTrackingMethod forNumber(int value) {
switch (value) {
case 1: return IMG;
case 2: return JS;
default: return null;
}
}
public static com.google.protobuf.Internal.EnumLiteMap<EventTrackingMethod>
internalGetValueMap() {
return internalValueMap;
}
private static final com.google.protobuf.Internal.EnumLiteMap<
EventTrackingMethod> internalValueMap =
new com.google.protobuf.Internal.EnumLiteMap<EventTrackingMethod>() {
@java.lang.Override
public EventTrackingMethod findValueByNumber(int number) {
return EventTrackingMethod.forNumber(number);
}
};
public static com.google.protobuf.Internal.EnumVerifier
internalGetVerifier() {
return EventTrackingMethodVerifier.INSTANCE;
}
private static final class EventTrackingMethodVerifier implements
com.google.protobuf.Internal.EnumVerifier {
static final com.google.protobuf.Internal.EnumVerifier INSTANCE = new EventTrackingMethodVerifier();
@java.lang.Override
public boolean isInRange(int number) {
return EventTrackingMethod.forNumber(number) != null;
}
};
private final int value;
private EventTrackingMethod(int value) {
this.value = value;
}
// @@protoc_insertion_point(enum_scope:com.google.openrtb.EventTrackingMethod)
}
|
0 | java-sources/ai/themsp/mes-android-sdk/0.15.0/main/com/particles/mes/protos | java-sources/ai/themsp/mes-android-sdk/0.15.0/main/com/particles/mes/protos/openrtb/EventType.java | // Generated by the protocol buffer compiler. DO NOT EDIT!
// source: openrtb/openrtb-v26.proto
package com.particles.mes.protos.openrtb;
/**
* <pre>
* OpenRTB Native 1.2.
* </pre>
*
* Protobuf enum {@code com.google.openrtb.EventType}
*/
public enum EventType
implements com.google.protobuf.Internal.EnumLite {
/**
* <pre>
* Impression
* </pre>
*
* <code>IMPRESSION = 1;</code>
*/
IMPRESSION(1),
/**
* <pre>
* Visible impression using MRC definition at 50% in view for 1 second.
* </pre>
*
* <code>VIEWABLE_MRC_50 = 2;</code>
*/
VIEWABLE_MRC_50(2),
/**
* <pre>
* 100% in view for 1 second (ie GroupM standard).
* </pre>
*
* <code>VIEWABLE_MRC_100 = 3;</code>
*/
VIEWABLE_MRC_100(3),
/**
* <pre>
* Visible impression for video using MRC definition at 50% in view
* for 2 seconds.
* </pre>
*
* <code>VIEWABLE_VIDEO_50 = 4;</code>
*/
VIEWABLE_VIDEO_50(4),
;
/**
* <pre>
* Impression
* </pre>
*
* <code>IMPRESSION = 1;</code>
*/
public static final int IMPRESSION_VALUE = 1;
/**
* <pre>
* Visible impression using MRC definition at 50% in view for 1 second.
* </pre>
*
* <code>VIEWABLE_MRC_50 = 2;</code>
*/
public static final int VIEWABLE_MRC_50_VALUE = 2;
/**
* <pre>
* 100% in view for 1 second (ie GroupM standard).
* </pre>
*
* <code>VIEWABLE_MRC_100 = 3;</code>
*/
public static final int VIEWABLE_MRC_100_VALUE = 3;
/**
* <pre>
* Visible impression for video using MRC definition at 50% in view
* for 2 seconds.
* </pre>
*
* <code>VIEWABLE_VIDEO_50 = 4;</code>
*/
public static final int VIEWABLE_VIDEO_50_VALUE = 4;
@java.lang.Override
public final int getNumber() {
return value;
}
/**
* @param value The number of the enum to look for.
* @return The enum associated with the given number.
* @deprecated Use {@link #forNumber(int)} instead.
*/
@java.lang.Deprecated
public static EventType valueOf(int value) {
return forNumber(value);
}
public static EventType forNumber(int value) {
switch (value) {
case 1: return IMPRESSION;
case 2: return VIEWABLE_MRC_50;
case 3: return VIEWABLE_MRC_100;
case 4: return VIEWABLE_VIDEO_50;
default: return null;
}
}
public static com.google.protobuf.Internal.EnumLiteMap<EventType>
internalGetValueMap() {
return internalValueMap;
}
private static final com.google.protobuf.Internal.EnumLiteMap<
EventType> internalValueMap =
new com.google.protobuf.Internal.EnumLiteMap<EventType>() {
@java.lang.Override
public EventType findValueByNumber(int number) {
return EventType.forNumber(number);
}
};
public static com.google.protobuf.Internal.EnumVerifier
internalGetVerifier() {
return EventTypeVerifier.INSTANCE;
}
private static final class EventTypeVerifier implements
com.google.protobuf.Internal.EnumVerifier {
static final com.google.protobuf.Internal.EnumVerifier INSTANCE = new EventTypeVerifier();
@java.lang.Override
public boolean isInRange(int number) {
return EventType.forNumber(number) != null;
}
};
private final int value;
private EventType(int value) {
this.value = value;
}
// @@protoc_insertion_point(enum_scope:com.google.openrtb.EventType)
}
|
0 | java-sources/ai/themsp/mes-android-sdk/0.15.0/main/com/particles/mes/protos | java-sources/ai/themsp/mes-android-sdk/0.15.0/main/com/particles/mes/protos/openrtb/ExpandableDirection.java | // Generated by the protocol buffer compiler. DO NOT EDIT!
// source: openrtb/openrtb-v26.proto
package com.particles.mes.protos.openrtb;
/**
* <pre>
* OpenRTB 2.0: The following table lists the directions in which an
* expandable ad may expand, given the positioning of the ad unit on the
* page and constraints imposed by the content.
* </pre>
*
* Protobuf enum {@code com.google.openrtb.ExpandableDirection}
*/
public enum ExpandableDirection
implements com.google.protobuf.Internal.EnumLite {
/**
* <code>LEFT = 1;</code>
*/
LEFT(1),
/**
* <code>RIGHT = 2;</code>
*/
RIGHT(2),
/**
* <code>UP = 3;</code>
*/
UP(3),
/**
* <code>DOWN = 4;</code>
*/
DOWN(4),
/**
* <code>EXPANDABLE_FULLSCREEN = 5;</code>
*/
EXPANDABLE_FULLSCREEN(5),
/**
* <pre>
* Resize/Minimize (make smaller).
* </pre>
*
* <code>RESIZE_MINIMIZE = 6;</code>
*/
RESIZE_MINIMIZE(6),
;
/**
* <code>LEFT = 1;</code>
*/
public static final int LEFT_VALUE = 1;
/**
* <code>RIGHT = 2;</code>
*/
public static final int RIGHT_VALUE = 2;
/**
* <code>UP = 3;</code>
*/
public static final int UP_VALUE = 3;
/**
* <code>DOWN = 4;</code>
*/
public static final int DOWN_VALUE = 4;
/**
* <code>EXPANDABLE_FULLSCREEN = 5;</code>
*/
public static final int EXPANDABLE_FULLSCREEN_VALUE = 5;
/**
* <pre>
* Resize/Minimize (make smaller).
* </pre>
*
* <code>RESIZE_MINIMIZE = 6;</code>
*/
public static final int RESIZE_MINIMIZE_VALUE = 6;
@java.lang.Override
public final int getNumber() {
return value;
}
/**
* @param value The number of the enum to look for.
* @return The enum associated with the given number.
* @deprecated Use {@link #forNumber(int)} instead.
*/
@java.lang.Deprecated
public static ExpandableDirection valueOf(int value) {
return forNumber(value);
}
public static ExpandableDirection forNumber(int value) {
switch (value) {
case 1: return LEFT;
case 2: return RIGHT;
case 3: return UP;
case 4: return DOWN;
case 5: return EXPANDABLE_FULLSCREEN;
case 6: return RESIZE_MINIMIZE;
default: return null;
}
}
public static com.google.protobuf.Internal.EnumLiteMap<ExpandableDirection>
internalGetValueMap() {
return internalValueMap;
}
private static final com.google.protobuf.Internal.EnumLiteMap<
ExpandableDirection> internalValueMap =
new com.google.protobuf.Internal.EnumLiteMap<ExpandableDirection>() {
@java.lang.Override
public ExpandableDirection findValueByNumber(int number) {
return ExpandableDirection.forNumber(number);
}
};
public static com.google.protobuf.Internal.EnumVerifier
internalGetVerifier() {
return ExpandableDirectionVerifier.INSTANCE;
}
private static final class ExpandableDirectionVerifier implements
com.google.protobuf.Internal.EnumVerifier {
static final com.google.protobuf.Internal.EnumVerifier INSTANCE = new ExpandableDirectionVerifier();
@java.lang.Override
public boolean isInRange(int number) {
return ExpandableDirection.forNumber(number) != null;
}
};
private final int value;
private ExpandableDirection(int value) {
this.value = value;
}
// @@protoc_insertion_point(enum_scope:com.google.openrtb.ExpandableDirection)
}
|
0 | java-sources/ai/themsp/mes-android-sdk/0.15.0/main/com/particles/mes/protos | java-sources/ai/themsp/mes-android-sdk/0.15.0/main/com/particles/mes/protos/openrtb/FeedType.java | // Generated by the protocol buffer compiler. DO NOT EDIT!
// source: openrtb/openrtb-v26.proto
package com.particles.mes.protos.openrtb;
/**
* <pre>
* OpenRTB 2.4: The following table lists the types of feeds,
* typically for audio. These values are defined by the IAB -
* https://github.com/InteractiveAdvertisingBureau/AdCOM/blob/master/AdCOM%20v1.0%20FINAL.md#list--feed-types-.
* </pre>
*
* Protobuf enum {@code com.google.openrtb.FeedType}
*/
public enum FeedType
implements com.google.protobuf.Internal.EnumLite {
/**
* <pre>
* Music streaming service.
* </pre>
*
* <code>MUSIC_SERVICE = 1;</code>
*/
MUSIC_SERVICE(1),
/**
* <pre>
* Live content broadcast over the air but also available through online
* streaming.
* </pre>
*
* <code>BROADCAST = 2;</code>
*/
BROADCAST(2),
/**
* <pre>
* Original, pre-recorded content distributed as episodes in a series.
* </pre>
*
* <code>PODCAST = 3;</code>
*/
PODCAST(3),
;
/**
* <pre>
* Music streaming service.
* </pre>
*
* <code>MUSIC_SERVICE = 1;</code>
*/
public static final int MUSIC_SERVICE_VALUE = 1;
/**
* <pre>
* Live content broadcast over the air but also available through online
* streaming.
* </pre>
*
* <code>BROADCAST = 2;</code>
*/
public static final int BROADCAST_VALUE = 2;
/**
* <pre>
* Original, pre-recorded content distributed as episodes in a series.
* </pre>
*
* <code>PODCAST = 3;</code>
*/
public static final int PODCAST_VALUE = 3;
@java.lang.Override
public final int getNumber() {
return value;
}
/**
* @param value The number of the enum to look for.
* @return The enum associated with the given number.
* @deprecated Use {@link #forNumber(int)} instead.
*/
@java.lang.Deprecated
public static FeedType valueOf(int value) {
return forNumber(value);
}
public static FeedType forNumber(int value) {
switch (value) {
case 1: return MUSIC_SERVICE;
case 2: return BROADCAST;
case 3: return PODCAST;
default: return null;
}
}
public static com.google.protobuf.Internal.EnumLiteMap<FeedType>
internalGetValueMap() {
return internalValueMap;
}
private static final com.google.protobuf.Internal.EnumLiteMap<
FeedType> internalValueMap =
new com.google.protobuf.Internal.EnumLiteMap<FeedType>() {
@java.lang.Override
public FeedType findValueByNumber(int number) {
return FeedType.forNumber(number);
}
};
public static com.google.protobuf.Internal.EnumVerifier
internalGetVerifier() {
return FeedTypeVerifier.INSTANCE;
}
private static final class FeedTypeVerifier implements
com.google.protobuf.Internal.EnumVerifier {
static final com.google.protobuf.Internal.EnumVerifier INSTANCE = new FeedTypeVerifier();
@java.lang.Override
public boolean isInRange(int number) {
return FeedType.forNumber(number) != null;
}
};
private final int value;
private FeedType(int value) {
this.value = value;
}
// @@protoc_insertion_point(enum_scope:com.google.openrtb.FeedType)
}
|
0 | java-sources/ai/themsp/mes-android-sdk/0.15.0/main/com/particles/mes/protos | java-sources/ai/themsp/mes-android-sdk/0.15.0/main/com/particles/mes/protos/openrtb/ImageAssetType.java | // Generated by the protocol buffer compiler. DO NOT EDIT!
// source: openrtb/openrtb-v26.proto
package com.particles.mes.protos.openrtb;
/**
* <pre>
* OpenRTB Native 1.0: Common image asset element types of native advertising
* at the time of writing this spec. This list is non-exhaustive and intended
* to be extended by the buyers and sellers as the format evolves.
* </pre>
*
* Protobuf enum {@code com.google.openrtb.ImageAssetType}
*/
public enum ImageAssetType
implements com.google.protobuf.Internal.EnumLite {
/**
* <pre>
* Icon image.
* Max height: at least 50; Aspect ratio: 1:1.
* </pre>
*
* <code>ICON = 1;</code>
*/
ICON(1),
/**
* <pre>
* DEPRECATED in OpenRTB Native 1.2+. Prefer type <code>ICON</code>.
* Logo image for the brand/app.
* </pre>
*
* <code>LOGO = 2 [deprecated = true];</code>
*/
@java.lang.Deprecated
LOGO(2),
/**
* <pre>
* Large image preview for the ad.
* At least one of 2 size variants required:
* Small Variant: max height: 200+, max width: 200+, 267, or 382,
* aspect ratio: 1:1, 4:3, or 1.91:1.
* Large Variant: max height: 627+, max width: 627+, 836, or 1198,
* aspect ratio: 1:1, 4:3, or 1.91:1.
* </pre>
*
* <code>MAIN = 3;</code>
*/
MAIN(3),
;
/**
* <pre>
* Icon image.
* Max height: at least 50; Aspect ratio: 1:1.
* </pre>
*
* <code>ICON = 1;</code>
*/
public static final int ICON_VALUE = 1;
/**
* <pre>
* DEPRECATED in OpenRTB Native 1.2+. Prefer type <code>ICON</code>.
* Logo image for the brand/app.
* </pre>
*
* <code>LOGO = 2 [deprecated = true];</code>
*/
@java.lang.Deprecated public static final int LOGO_VALUE = 2;
/**
* <pre>
* Large image preview for the ad.
* At least one of 2 size variants required:
* Small Variant: max height: 200+, max width: 200+, 267, or 382,
* aspect ratio: 1:1, 4:3, or 1.91:1.
* Large Variant: max height: 627+, max width: 627+, 836, or 1198,
* aspect ratio: 1:1, 4:3, or 1.91:1.
* </pre>
*
* <code>MAIN = 3;</code>
*/
public static final int MAIN_VALUE = 3;
@java.lang.Override
public final int getNumber() {
return value;
}
/**
* @param value The number of the enum to look for.
* @return The enum associated with the given number.
* @deprecated Use {@link #forNumber(int)} instead.
*/
@java.lang.Deprecated
public static ImageAssetType valueOf(int value) {
return forNumber(value);
}
public static ImageAssetType forNumber(int value) {
switch (value) {
case 1: return ICON;
case 2: return LOGO;
case 3: return MAIN;
default: return null;
}
}
public static com.google.protobuf.Internal.EnumLiteMap<ImageAssetType>
internalGetValueMap() {
return internalValueMap;
}
private static final com.google.protobuf.Internal.EnumLiteMap<
ImageAssetType> internalValueMap =
new com.google.protobuf.Internal.EnumLiteMap<ImageAssetType>() {
@java.lang.Override
public ImageAssetType findValueByNumber(int number) {
return ImageAssetType.forNumber(number);
}
};
public static com.google.protobuf.Internal.EnumVerifier
internalGetVerifier() {
return ImageAssetTypeVerifier.INSTANCE;
}
private static final class ImageAssetTypeVerifier implements
com.google.protobuf.Internal.EnumVerifier {
static final com.google.protobuf.Internal.EnumVerifier INSTANCE = new ImageAssetTypeVerifier();
@java.lang.Override
public boolean isInRange(int number) {
return ImageAssetType.forNumber(number) != null;
}
};
private final int value;
private ImageAssetType(int value) {
this.value = value;
}
// @@protoc_insertion_point(enum_scope:com.google.openrtb.ImageAssetType)
}
|
0 | java-sources/ai/themsp/mes-android-sdk/0.15.0/main/com/particles/mes/protos | java-sources/ai/themsp/mes-android-sdk/0.15.0/main/com/particles/mes/protos/openrtb/LayoutId.java | // Generated by the protocol buffer compiler. DO NOT EDIT!
// source: openrtb/openrtb-v26.proto
package com.particles.mes.protos.openrtb;
/**
* <pre>
* ***** OpenRTB Native enums **************************************************
* DEPRECATED in OpenRTB Native 1.1, REMOVED in 1.2+.
* </pre>
*
* Protobuf enum {@code com.google.openrtb.LayoutId}
*/
public enum LayoutId
implements com.google.protobuf.Internal.EnumLite {
/**
* <code>CONTENT_WALL = 1;</code>
*/
CONTENT_WALL(1),
/**
* <code>APP_WALL = 2;</code>
*/
APP_WALL(2),
/**
* <code>NEWS_FEED = 3;</code>
*/
NEWS_FEED(3),
/**
* <code>CHAT_LIST = 4;</code>
*/
CHAT_LIST(4),
/**
* <code>CAROUSEL = 5;</code>
*/
CAROUSEL(5),
/**
* <code>CONTENT_STREAM = 6;</code>
*/
CONTENT_STREAM(6),
/**
* <code>GRID = 7;</code>
*/
GRID(7),
;
/**
* <code>CONTENT_WALL = 1;</code>
*/
public static final int CONTENT_WALL_VALUE = 1;
/**
* <code>APP_WALL = 2;</code>
*/
public static final int APP_WALL_VALUE = 2;
/**
* <code>NEWS_FEED = 3;</code>
*/
public static final int NEWS_FEED_VALUE = 3;
/**
* <code>CHAT_LIST = 4;</code>
*/
public static final int CHAT_LIST_VALUE = 4;
/**
* <code>CAROUSEL = 5;</code>
*/
public static final int CAROUSEL_VALUE = 5;
/**
* <code>CONTENT_STREAM = 6;</code>
*/
public static final int CONTENT_STREAM_VALUE = 6;
/**
* <code>GRID = 7;</code>
*/
public static final int GRID_VALUE = 7;
@java.lang.Override
public final int getNumber() {
return value;
}
/**
* @param value The number of the enum to look for.
* @return The enum associated with the given number.
* @deprecated Use {@link #forNumber(int)} instead.
*/
@java.lang.Deprecated
public static LayoutId valueOf(int value) {
return forNumber(value);
}
public static LayoutId forNumber(int value) {
switch (value) {
case 1: return CONTENT_WALL;
case 2: return APP_WALL;
case 3: return NEWS_FEED;
case 4: return CHAT_LIST;
case 5: return CAROUSEL;
case 6: return CONTENT_STREAM;
case 7: return GRID;
default: return null;
}
}
public static com.google.protobuf.Internal.EnumLiteMap<LayoutId>
internalGetValueMap() {
return internalValueMap;
}
private static final com.google.protobuf.Internal.EnumLiteMap<
LayoutId> internalValueMap =
new com.google.protobuf.Internal.EnumLiteMap<LayoutId>() {
@java.lang.Override
public LayoutId findValueByNumber(int number) {
return LayoutId.forNumber(number);
}
};
public static com.google.protobuf.Internal.EnumVerifier
internalGetVerifier() {
return LayoutIdVerifier.INSTANCE;
}
private static final class LayoutIdVerifier implements
com.google.protobuf.Internal.EnumVerifier {
static final com.google.protobuf.Internal.EnumVerifier INSTANCE = new LayoutIdVerifier();
@java.lang.Override
public boolean isInRange(int number) {
return LayoutId.forNumber(number) != null;
}
};
private final int value;
private LayoutId(int value) {
this.value = value;
}
// @@protoc_insertion_point(enum_scope:com.google.openrtb.LayoutId)
}
|
0 | java-sources/ai/themsp/mes-android-sdk/0.15.0/main/com/particles/mes/protos | java-sources/ai/themsp/mes-android-sdk/0.15.0/main/com/particles/mes/protos/openrtb/LocationService.java | // Generated by the protocol buffer compiler. DO NOT EDIT!
// source: openrtb/openrtb-v26.proto
package com.particles.mes.protos.openrtb;
/**
* <pre>
* OpenRTB 2.4: The following table lists the services and/or vendors used for
* resolving IP addresses to geolocations.
* </pre>
*
* Protobuf enum {@code com.google.openrtb.LocationService}
*/
public enum LocationService
implements com.google.protobuf.Internal.EnumLite {
/**
* <code>IP2LOCATION = 1;</code>
*/
IP2LOCATION(1),
/**
* <code>NEUSTAR = 2;</code>
*/
NEUSTAR(2),
/**
* <code>MAXMIND = 3;</code>
*/
MAXMIND(3),
/**
* <code>NETACUITY = 4;</code>
*/
NETACUITY(4),
;
/**
* <code>IP2LOCATION = 1;</code>
*/
public static final int IP2LOCATION_VALUE = 1;
/**
* <code>NEUSTAR = 2;</code>
*/
public static final int NEUSTAR_VALUE = 2;
/**
* <code>MAXMIND = 3;</code>
*/
public static final int MAXMIND_VALUE = 3;
/**
* <code>NETACUITY = 4;</code>
*/
public static final int NETACUITY_VALUE = 4;
@java.lang.Override
public final int getNumber() {
return value;
}
/**
* @param value The number of the enum to look for.
* @return The enum associated with the given number.
* @deprecated Use {@link #forNumber(int)} instead.
*/
@java.lang.Deprecated
public static LocationService valueOf(int value) {
return forNumber(value);
}
public static LocationService forNumber(int value) {
switch (value) {
case 1: return IP2LOCATION;
case 2: return NEUSTAR;
case 3: return MAXMIND;
case 4: return NETACUITY;
default: return null;
}
}
public static com.google.protobuf.Internal.EnumLiteMap<LocationService>
internalGetValueMap() {
return internalValueMap;
}
private static final com.google.protobuf.Internal.EnumLiteMap<
LocationService> internalValueMap =
new com.google.protobuf.Internal.EnumLiteMap<LocationService>() {
@java.lang.Override
public LocationService findValueByNumber(int number) {
return LocationService.forNumber(number);
}
};
public static com.google.protobuf.Internal.EnumVerifier
internalGetVerifier() {
return LocationServiceVerifier.INSTANCE;
}
private static final class LocationServiceVerifier implements
com.google.protobuf.Internal.EnumVerifier {
static final com.google.protobuf.Internal.EnumVerifier INSTANCE = new LocationServiceVerifier();
@java.lang.Override
public boolean isInRange(int number) {
return LocationService.forNumber(number) != null;
}
};
private final int value;
private LocationService(int value) {
this.value = value;
}
// @@protoc_insertion_point(enum_scope:com.google.openrtb.LocationService)
}
|
0 | java-sources/ai/themsp/mes-android-sdk/0.15.0/main/com/particles/mes/protos | java-sources/ai/themsp/mes-android-sdk/0.15.0/main/com/particles/mes/protos/openrtb/LocationType.java | // Generated by the protocol buffer compiler. DO NOT EDIT!
// source: openrtb/openrtb-v26.proto
package com.particles.mes.protos.openrtb;
/**
* <pre>
* OpenRTB 2.0: The following table lists the options to indicate how the
* geographic information was determined.
* </pre>
*
* Protobuf enum {@code com.google.openrtb.LocationType}
*/
public enum LocationType
implements com.google.protobuf.Internal.EnumLite {
/**
* <pre>
* GPS / Location Services.
* </pre>
*
* <code>GPS_LOCATION = 1;</code>
*/
GPS_LOCATION(1),
/**
* <pre>
* IP Geolocation.
* </pre>
*
* <code>IP = 2;</code>
*/
IP(2),
/**
* <pre>
* User-provided, for example, registration data.
* </pre>
*
* <code>USER_PROVIDED = 3;</code>
*/
USER_PROVIDED(3),
;
/**
* <pre>
* GPS / Location Services.
* </pre>
*
* <code>GPS_LOCATION = 1;</code>
*/
public static final int GPS_LOCATION_VALUE = 1;
/**
* <pre>
* IP Geolocation.
* </pre>
*
* <code>IP = 2;</code>
*/
public static final int IP_VALUE = 2;
/**
* <pre>
* User-provided, for example, registration data.
* </pre>
*
* <code>USER_PROVIDED = 3;</code>
*/
public static final int USER_PROVIDED_VALUE = 3;
@java.lang.Override
public final int getNumber() {
return value;
}
/**
* @param value The number of the enum to look for.
* @return The enum associated with the given number.
* @deprecated Use {@link #forNumber(int)} instead.
*/
@java.lang.Deprecated
public static LocationType valueOf(int value) {
return forNumber(value);
}
public static LocationType forNumber(int value) {
switch (value) {
case 1: return GPS_LOCATION;
case 2: return IP;
case 3: return USER_PROVIDED;
default: return null;
}
}
public static com.google.protobuf.Internal.EnumLiteMap<LocationType>
internalGetValueMap() {
return internalValueMap;
}
private static final com.google.protobuf.Internal.EnumLiteMap<
LocationType> internalValueMap =
new com.google.protobuf.Internal.EnumLiteMap<LocationType>() {
@java.lang.Override
public LocationType findValueByNumber(int number) {
return LocationType.forNumber(number);
}
};
public static com.google.protobuf.Internal.EnumVerifier
internalGetVerifier() {
return LocationTypeVerifier.INSTANCE;
}
private static final class LocationTypeVerifier implements
com.google.protobuf.Internal.EnumVerifier {
static final com.google.protobuf.Internal.EnumVerifier INSTANCE = new LocationTypeVerifier();
@java.lang.Override
public boolean isInRange(int number) {
return LocationType.forNumber(number) != null;
}
};
private final int value;
private LocationType(int value) {
this.value = value;
}
// @@protoc_insertion_point(enum_scope:com.google.openrtb.LocationType)
}
|
0 | java-sources/ai/themsp/mes-android-sdk/0.15.0/main/com/particles/mes/protos | java-sources/ai/themsp/mes-android-sdk/0.15.0/main/com/particles/mes/protos/openrtb/LossReason.java | // Generated by the protocol buffer compiler. DO NOT EDIT!
// source: openrtb/openrtb-v26.proto
package com.particles.mes.protos.openrtb;
/**
* <pre>
* OpenRTB 2.5: The following table lists the options for an exchange
* to inform a bidder as to the reason why they did not win an impression.
* </pre>
*
* Protobuf enum {@code com.google.openrtb.LossReason}
*/
public enum LossReason
implements com.google.protobuf.Internal.EnumLite {
/**
* <code>BID_WON = 0;</code>
*/
BID_WON(0),
/**
* <code>INTERNAL_ERROR = 1;</code>
*/
INTERNAL_ERROR(1),
/**
* <code>IMP_EXPIRED = 2;</code>
*/
IMP_EXPIRED(2),
/**
* <code>INVALID_BID = 3;</code>
*/
INVALID_BID(3),
/**
* <code>INVALID_DEAL_ID = 4;</code>
*/
INVALID_DEAL_ID(4),
/**
* <code>INVALID_AUCTION_ID = 5;</code>
*/
INVALID_AUCTION_ID(5),
/**
* <code>INVALID_ADOMAIN = 6;</code>
*/
INVALID_ADOMAIN(6),
/**
* <code>MISSING_MARKUP = 7;</code>
*/
MISSING_MARKUP(7),
/**
* <code>MISSING_CREATIVE_ID = 8;</code>
*/
MISSING_CREATIVE_ID(8),
/**
* <code>MISSING_PRICE = 9;</code>
*/
MISSING_PRICE(9),
/**
* <code>MISSING_MIN_CREATIVE_APPROVAL_DATA = 10;</code>
*/
MISSING_MIN_CREATIVE_APPROVAL_DATA(10),
/**
* <code>BID_BELOW_FLOOR = 100;</code>
*/
BID_BELOW_FLOOR(100),
/**
* <code>BID_BELOW_DEAL_FLOOR = 101;</code>
*/
BID_BELOW_DEAL_FLOOR(101),
/**
* <code>LOST_HIGHER_BID = 102;</code>
*/
LOST_HIGHER_BID(102),
/**
* <code>LOST_PMP_DEAL = 103;</code>
*/
LOST_PMP_DEAL(103),
/**
* <code>SEAT_BLOCKED = 104;</code>
*/
SEAT_BLOCKED(104),
/**
* <code>CREATIVE_REASON_UNKNOWN = 200;</code>
*/
CREATIVE_REASON_UNKNOWN(200),
/**
* <code>CREATIVE_PENDING = 201;</code>
*/
CREATIVE_PENDING(201),
/**
* <code>CREATIVE_DISAPPROVED = 202;</code>
*/
CREATIVE_DISAPPROVED(202),
/**
* <code>CREATIVE_SIZE = 203;</code>
*/
CREATIVE_SIZE(203),
/**
* <code>CREATIVE_FORMAT = 204;</code>
*/
CREATIVE_FORMAT(204),
/**
* <code>CREATIVE_ADVERTISER_EXCLUSION = 205;</code>
*/
CREATIVE_ADVERTISER_EXCLUSION(205),
/**
* <code>CREATIVE_APP_EXCLUSION = 206;</code>
*/
CREATIVE_APP_EXCLUSION(206),
/**
* <code>CREATIVE_NOT_SECURE = 207;</code>
*/
CREATIVE_NOT_SECURE(207),
/**
* <code>CREATIVE_LANGUAGE_EXCLUSION = 208;</code>
*/
CREATIVE_LANGUAGE_EXCLUSION(208),
/**
* <code>CREATIVE_CATEGORY_EXCLUSION = 209;</code>
*/
CREATIVE_CATEGORY_EXCLUSION(209),
/**
* <code>CREATIVE_ATTRIBUTE_EXCLUSION = 210;</code>
*/
CREATIVE_ATTRIBUTE_EXCLUSION(210),
/**
* <code>CREATIVE_ADTYPE_EXCLUSION = 211;</code>
*/
CREATIVE_ADTYPE_EXCLUSION(211),
/**
* <code>CREATIVE_ANIMATION_LONG = 212;</code>
*/
CREATIVE_ANIMATION_LONG(212),
/**
* <code>CREATIVE_NOT_ALLOWED_PMP = 213;</code>
*/
CREATIVE_NOT_ALLOWED_PMP(213),
;
/**
* <code>BID_WON = 0;</code>
*/
public static final int BID_WON_VALUE = 0;
/**
* <code>INTERNAL_ERROR = 1;</code>
*/
public static final int INTERNAL_ERROR_VALUE = 1;
/**
* <code>IMP_EXPIRED = 2;</code>
*/
public static final int IMP_EXPIRED_VALUE = 2;
/**
* <code>INVALID_BID = 3;</code>
*/
public static final int INVALID_BID_VALUE = 3;
/**
* <code>INVALID_DEAL_ID = 4;</code>
*/
public static final int INVALID_DEAL_ID_VALUE = 4;
/**
* <code>INVALID_AUCTION_ID = 5;</code>
*/
public static final int INVALID_AUCTION_ID_VALUE = 5;
/**
* <code>INVALID_ADOMAIN = 6;</code>
*/
public static final int INVALID_ADOMAIN_VALUE = 6;
/**
* <code>MISSING_MARKUP = 7;</code>
*/
public static final int MISSING_MARKUP_VALUE = 7;
/**
* <code>MISSING_CREATIVE_ID = 8;</code>
*/
public static final int MISSING_CREATIVE_ID_VALUE = 8;
/**
* <code>MISSING_PRICE = 9;</code>
*/
public static final int MISSING_PRICE_VALUE = 9;
/**
* <code>MISSING_MIN_CREATIVE_APPROVAL_DATA = 10;</code>
*/
public static final int MISSING_MIN_CREATIVE_APPROVAL_DATA_VALUE = 10;
/**
* <code>BID_BELOW_FLOOR = 100;</code>
*/
public static final int BID_BELOW_FLOOR_VALUE = 100;
/**
* <code>BID_BELOW_DEAL_FLOOR = 101;</code>
*/
public static final int BID_BELOW_DEAL_FLOOR_VALUE = 101;
/**
* <code>LOST_HIGHER_BID = 102;</code>
*/
public static final int LOST_HIGHER_BID_VALUE = 102;
/**
* <code>LOST_PMP_DEAL = 103;</code>
*/
public static final int LOST_PMP_DEAL_VALUE = 103;
/**
* <code>SEAT_BLOCKED = 104;</code>
*/
public static final int SEAT_BLOCKED_VALUE = 104;
/**
* <code>CREATIVE_REASON_UNKNOWN = 200;</code>
*/
public static final int CREATIVE_REASON_UNKNOWN_VALUE = 200;
/**
* <code>CREATIVE_PENDING = 201;</code>
*/
public static final int CREATIVE_PENDING_VALUE = 201;
/**
* <code>CREATIVE_DISAPPROVED = 202;</code>
*/
public static final int CREATIVE_DISAPPROVED_VALUE = 202;
/**
* <code>CREATIVE_SIZE = 203;</code>
*/
public static final int CREATIVE_SIZE_VALUE = 203;
/**
* <code>CREATIVE_FORMAT = 204;</code>
*/
public static final int CREATIVE_FORMAT_VALUE = 204;
/**
* <code>CREATIVE_ADVERTISER_EXCLUSION = 205;</code>
*/
public static final int CREATIVE_ADVERTISER_EXCLUSION_VALUE = 205;
/**
* <code>CREATIVE_APP_EXCLUSION = 206;</code>
*/
public static final int CREATIVE_APP_EXCLUSION_VALUE = 206;
/**
* <code>CREATIVE_NOT_SECURE = 207;</code>
*/
public static final int CREATIVE_NOT_SECURE_VALUE = 207;
/**
* <code>CREATIVE_LANGUAGE_EXCLUSION = 208;</code>
*/
public static final int CREATIVE_LANGUAGE_EXCLUSION_VALUE = 208;
/**
* <code>CREATIVE_CATEGORY_EXCLUSION = 209;</code>
*/
public static final int CREATIVE_CATEGORY_EXCLUSION_VALUE = 209;
/**
* <code>CREATIVE_ATTRIBUTE_EXCLUSION = 210;</code>
*/
public static final int CREATIVE_ATTRIBUTE_EXCLUSION_VALUE = 210;
/**
* <code>CREATIVE_ADTYPE_EXCLUSION = 211;</code>
*/
public static final int CREATIVE_ADTYPE_EXCLUSION_VALUE = 211;
/**
* <code>CREATIVE_ANIMATION_LONG = 212;</code>
*/
public static final int CREATIVE_ANIMATION_LONG_VALUE = 212;
/**
* <code>CREATIVE_NOT_ALLOWED_PMP = 213;</code>
*/
public static final int CREATIVE_NOT_ALLOWED_PMP_VALUE = 213;
@java.lang.Override
public final int getNumber() {
return value;
}
/**
* @param value The number of the enum to look for.
* @return The enum associated with the given number.
* @deprecated Use {@link #forNumber(int)} instead.
*/
@java.lang.Deprecated
public static LossReason valueOf(int value) {
return forNumber(value);
}
public static LossReason forNumber(int value) {
switch (value) {
case 0: return BID_WON;
case 1: return INTERNAL_ERROR;
case 2: return IMP_EXPIRED;
case 3: return INVALID_BID;
case 4: return INVALID_DEAL_ID;
case 5: return INVALID_AUCTION_ID;
case 6: return INVALID_ADOMAIN;
case 7: return MISSING_MARKUP;
case 8: return MISSING_CREATIVE_ID;
case 9: return MISSING_PRICE;
case 10: return MISSING_MIN_CREATIVE_APPROVAL_DATA;
case 100: return BID_BELOW_FLOOR;
case 101: return BID_BELOW_DEAL_FLOOR;
case 102: return LOST_HIGHER_BID;
case 103: return LOST_PMP_DEAL;
case 104: return SEAT_BLOCKED;
case 200: return CREATIVE_REASON_UNKNOWN;
case 201: return CREATIVE_PENDING;
case 202: return CREATIVE_DISAPPROVED;
case 203: return CREATIVE_SIZE;
case 204: return CREATIVE_FORMAT;
case 205: return CREATIVE_ADVERTISER_EXCLUSION;
case 206: return CREATIVE_APP_EXCLUSION;
case 207: return CREATIVE_NOT_SECURE;
case 208: return CREATIVE_LANGUAGE_EXCLUSION;
case 209: return CREATIVE_CATEGORY_EXCLUSION;
case 210: return CREATIVE_ATTRIBUTE_EXCLUSION;
case 211: return CREATIVE_ADTYPE_EXCLUSION;
case 212: return CREATIVE_ANIMATION_LONG;
case 213: return CREATIVE_NOT_ALLOWED_PMP;
default: return null;
}
}
public static com.google.protobuf.Internal.EnumLiteMap<LossReason>
internalGetValueMap() {
return internalValueMap;
}
private static final com.google.protobuf.Internal.EnumLiteMap<
LossReason> internalValueMap =
new com.google.protobuf.Internal.EnumLiteMap<LossReason>() {
@java.lang.Override
public LossReason findValueByNumber(int number) {
return LossReason.forNumber(number);
}
};
public static com.google.protobuf.Internal.EnumVerifier
internalGetVerifier() {
return LossReasonVerifier.INSTANCE;
}
private static final class LossReasonVerifier implements
com.google.protobuf.Internal.EnumVerifier {
static final com.google.protobuf.Internal.EnumVerifier INSTANCE = new LossReasonVerifier();
@java.lang.Override
public boolean isInRange(int number) {
return LossReason.forNumber(number) != null;
}
};
private final int value;
private LossReason(int value) {
this.value = value;
}
// @@protoc_insertion_point(enum_scope:com.google.openrtb.LossReason)
}
|
0 | java-sources/ai/themsp/mes-android-sdk/0.15.0/main/com/particles/mes/protos | java-sources/ai/themsp/mes-android-sdk/0.15.0/main/com/particles/mes/protos/openrtb/NativeRequest.java | // Generated by the protocol buffer compiler. DO NOT EDIT!
// source: openrtb/openrtb-v26.proto
package com.particles.mes.protos.openrtb;
/**
* <pre>
* OpenRTB Native 1.0: The Native Object defines the native advertising
* opportunity available for bid through this bid request. It must be included
* directly in the impression object if the impression offered for auction
* is a native ad format.
* </pre>
*
* Protobuf type {@code com.google.openrtb.NativeRequest}
*/
public final class NativeRequest extends
com.google.protobuf.GeneratedMessageLite.ExtendableMessage<
NativeRequest, NativeRequest.Builder> implements
// @@protoc_insertion_point(message_implements:com.google.openrtb.NativeRequest)
NativeRequestOrBuilder {
private NativeRequest() {
ver_ = "";
context_ = 1;
contextsubtype_ = 10;
plcmttype_ = 1;
plcmtcnt_ = 1;
assets_ = emptyProtobufList();
eventtrackers_ = emptyProtobufList();
layout_ = 1;
adunit_ = 1;
}
public interface AssetOrBuilder extends
// @@protoc_insertion_point(interface_extends:com.google.openrtb.NativeRequest.Asset)
com.google.protobuf.GeneratedMessageLite.
ExtendableMessageOrBuilder<
Asset, Asset.Builder> {
/**
* <pre>
* Title object for title assets.
* </pre>
*
* <code>.com.google.openrtb.NativeRequest.Asset.Title title = 3;</code>
* @return Whether the title field is set.
*/
boolean hasTitle();
/**
* <pre>
* Title object for title assets.
* </pre>
*
* <code>.com.google.openrtb.NativeRequest.Asset.Title title = 3;</code>
* @return The title.
*/
com.particles.mes.protos.openrtb.NativeRequest.Asset.Title getTitle();
/**
* <pre>
* Image object for image assets.
* </pre>
*
* <code>.com.google.openrtb.NativeRequest.Asset.Image img = 4;</code>
* @return Whether the img field is set.
*/
boolean hasImg();
/**
* <pre>
* Image object for image assets.
* </pre>
*
* <code>.com.google.openrtb.NativeRequest.Asset.Image img = 4;</code>
* @return The img.
*/
com.particles.mes.protos.openrtb.NativeRequest.Asset.Image getImg();
/**
* <pre>
* Video object for video assets.
* Note that in-stream video ads are not part of Native.
* Native ads may contain a video as the ad creative itself.
* </pre>
*
* <code>.com.google.openrtb.BidRequest.Imp.Video video = 5;</code>
* @return Whether the video field is set.
*/
boolean hasVideo();
/**
* <pre>
* Video object for video assets.
* Note that in-stream video ads are not part of Native.
* Native ads may contain a video as the ad creative itself.
* </pre>
*
* <code>.com.google.openrtb.BidRequest.Imp.Video video = 5;</code>
* @return The video.
*/
com.particles.mes.protos.openrtb.BidRequest.Imp.Video getVideo();
/**
* <pre>
* Data object for brand name, description, ratings, prices or other
* similar elements.
* </pre>
*
* <code>.com.google.openrtb.NativeRequest.Asset.Data data = 6;</code>
* @return Whether the data field is set.
*/
boolean hasData();
/**
* <pre>
* Data object for brand name, description, ratings, prices or other
* similar elements.
* </pre>
*
* <code>.com.google.openrtb.NativeRequest.Asset.Data data = 6;</code>
* @return The data.
*/
com.particles.mes.protos.openrtb.NativeRequest.Asset.Data getData();
/**
* <pre>
* Unique asset ID, assigned by exchange. Typically a counter for the array.
* REQUIRED by the OpenRTB Native specification.
* </pre>
*
* <code>required int32 id = 1;</code>
* @return Whether the id field is set.
*/
boolean hasId();
/**
* <pre>
* Unique asset ID, assigned by exchange. Typically a counter for the array.
* REQUIRED by the OpenRTB Native specification.
* </pre>
*
* <code>required int32 id = 1;</code>
* @return The id.
*/
int getId();
/**
* <pre>
* Set to true if asset is required
* (exchange will not accept a bid without it).
* </pre>
*
* <code>optional bool required = 2 [default = false];</code>
* @return Whether the required field is set.
*/
boolean hasRequired();
/**
* <pre>
* Set to true if asset is required
* (exchange will not accept a bid without it).
* </pre>
*
* <code>optional bool required = 2 [default = false];</code>
* @return The required.
*/
boolean getRequired();
public com.particles.mes.protos.openrtb.NativeRequest.Asset.AssetOneofCase getAssetOneofCase();
}
/**
* <pre>
* OpenRTB Native 1.0: The main container object for each asset requested or
* supported by Exchange on behalf of the rendering client.
* Any object that is required is to be flagged as such. Only one of the
* {title,img,video,data} objects should be present in each object.
* All others should be null/absent. The id is to be unique within the
* Asset array so that the response can be aligned.
* </pre>
*
* Protobuf type {@code com.google.openrtb.NativeRequest.Asset}
*/
public static final class Asset extends
com.google.protobuf.GeneratedMessageLite.ExtendableMessage<
Asset, Asset.Builder> implements
// @@protoc_insertion_point(message_implements:com.google.openrtb.NativeRequest.Asset)
AssetOrBuilder {
private Asset() {
}
public interface TitleOrBuilder extends
// @@protoc_insertion_point(interface_extends:com.google.openrtb.NativeRequest.Asset.Title)
com.google.protobuf.GeneratedMessageLite.
ExtendableMessageOrBuilder<
Title, Title.Builder> {
/**
* <pre>
* Maximum length of the text in the title element.
* RECOMMENDED that the value be either of: 25, 90, 140.
* REQUIRED by the OpenRTB Native specification.
* </pre>
*
* <code>required int32 len = 1;</code>
* @return Whether the len field is set.
*/
boolean hasLen();
/**
* <pre>
* Maximum length of the text in the title element.
* RECOMMENDED that the value be either of: 25, 90, 140.
* REQUIRED by the OpenRTB Native specification.
* </pre>
*
* <code>required int32 len = 1;</code>
* @return The len.
*/
int getLen();
}
/**
* <pre>
* OpenRTB Native 1.0: The Title object is to be used for title element
* of the Native ad.
* </pre>
*
* Protobuf type {@code com.google.openrtb.NativeRequest.Asset.Title}
*/
public static final class Title extends
com.google.protobuf.GeneratedMessageLite.ExtendableMessage<
Title, Title.Builder> implements
// @@protoc_insertion_point(message_implements:com.google.openrtb.NativeRequest.Asset.Title)
TitleOrBuilder {
private Title() {
}
private int bitField0_;
public static final int LEN_FIELD_NUMBER = 1;
private int len_;
/**
* <pre>
* Maximum length of the text in the title element.
* RECOMMENDED that the value be either of: 25, 90, 140.
* REQUIRED by the OpenRTB Native specification.
* </pre>
*
* <code>required int32 len = 1;</code>
* @return Whether the len field is set.
*/
@java.lang.Override
public boolean hasLen() {
return ((bitField0_ & 0x00000001) != 0);
}
/**
* <pre>
* Maximum length of the text in the title element.
* RECOMMENDED that the value be either of: 25, 90, 140.
* REQUIRED by the OpenRTB Native specification.
* </pre>
*
* <code>required int32 len = 1;</code>
* @return The len.
*/
@java.lang.Override
public int getLen() {
return len_;
}
/**
* <pre>
* Maximum length of the text in the title element.
* RECOMMENDED that the value be either of: 25, 90, 140.
* REQUIRED by the OpenRTB Native specification.
* </pre>
*
* <code>required int32 len = 1;</code>
* @param value The len to set.
*/
private void setLen(int value) {
bitField0_ |= 0x00000001;
len_ = value;
}
/**
* <pre>
* Maximum length of the text in the title element.
* RECOMMENDED that the value be either of: 25, 90, 140.
* REQUIRED by the OpenRTB Native specification.
* </pre>
*
* <code>required int32 len = 1;</code>
*/
private void clearLen() {
bitField0_ = (bitField0_ & ~0x00000001);
len_ = 0;
}
public static com.particles.mes.protos.openrtb.NativeRequest.Asset.Title parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, data);
}
public static com.particles.mes.protos.openrtb.NativeRequest.Asset.Title parseFrom(
java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, data, extensionRegistry);
}
public static com.particles.mes.protos.openrtb.NativeRequest.Asset.Title parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, data);
}
public static com.particles.mes.protos.openrtb.NativeRequest.Asset.Title parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, data, extensionRegistry);
}
public static com.particles.mes.protos.openrtb.NativeRequest.Asset.Title parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, data);
}
public static com.particles.mes.protos.openrtb.NativeRequest.Asset.Title parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, data, extensionRegistry);
}
public static com.particles.mes.protos.openrtb.NativeRequest.Asset.Title parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, input);
}
public static com.particles.mes.protos.openrtb.NativeRequest.Asset.Title parseFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, input, extensionRegistry);
}
public static com.particles.mes.protos.openrtb.NativeRequest.Asset.Title parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return parseDelimitedFrom(DEFAULT_INSTANCE, input);
}
public static com.particles.mes.protos.openrtb.NativeRequest.Asset.Title parseDelimitedFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return parseDelimitedFrom(DEFAULT_INSTANCE, input, extensionRegistry);
}
public static com.particles.mes.protos.openrtb.NativeRequest.Asset.Title parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, input);
}
public static com.particles.mes.protos.openrtb.NativeRequest.Asset.Title parseFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, input, extensionRegistry);
}
public static Builder newBuilder() {
return (Builder) DEFAULT_INSTANCE.createBuilder();
}
public static Builder newBuilder(com.particles.mes.protos.openrtb.NativeRequest.Asset.Title prototype) {
return (Builder) DEFAULT_INSTANCE.createBuilder(prototype);
}
/**
* <pre>
* OpenRTB Native 1.0: The Title object is to be used for title element
* of the Native ad.
* </pre>
*
* Protobuf type {@code com.google.openrtb.NativeRequest.Asset.Title}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageLite.ExtendableBuilder<
com.particles.mes.protos.openrtb.NativeRequest.Asset.Title, Builder> implements
// @@protoc_insertion_point(builder_implements:com.google.openrtb.NativeRequest.Asset.Title)
com.particles.mes.protos.openrtb.NativeRequest.Asset.TitleOrBuilder {
// Construct using com.particles.mes.protos.openrtb.NativeRequest.Asset.Title.newBuilder()
private Builder() {
super(DEFAULT_INSTANCE);
}
/**
* <pre>
* Maximum length of the text in the title element.
* RECOMMENDED that the value be either of: 25, 90, 140.
* REQUIRED by the OpenRTB Native specification.
* </pre>
*
* <code>required int32 len = 1;</code>
* @return Whether the len field is set.
*/
@java.lang.Override
public boolean hasLen() {
return instance.hasLen();
}
/**
* <pre>
* Maximum length of the text in the title element.
* RECOMMENDED that the value be either of: 25, 90, 140.
* REQUIRED by the OpenRTB Native specification.
* </pre>
*
* <code>required int32 len = 1;</code>
* @return The len.
*/
@java.lang.Override
public int getLen() {
return instance.getLen();
}
/**
* <pre>
* Maximum length of the text in the title element.
* RECOMMENDED that the value be either of: 25, 90, 140.
* REQUIRED by the OpenRTB Native specification.
* </pre>
*
* <code>required int32 len = 1;</code>
* @param value The len to set.
* @return This builder for chaining.
*/
public Builder setLen(int value) {
copyOnWrite();
instance.setLen(value);
return this;
}
/**
* <pre>
* Maximum length of the text in the title element.
* RECOMMENDED that the value be either of: 25, 90, 140.
* REQUIRED by the OpenRTB Native specification.
* </pre>
*
* <code>required int32 len = 1;</code>
* @return This builder for chaining.
*/
public Builder clearLen() {
copyOnWrite();
instance.clearLen();
return this;
}
// @@protoc_insertion_point(builder_scope:com.google.openrtb.NativeRequest.Asset.Title)
}
private byte memoizedIsInitialized = 2;
@java.lang.Override
@java.lang.SuppressWarnings({"unchecked", "fallthrough"})
protected final java.lang.Object dynamicMethod(
com.google.protobuf.GeneratedMessageLite.MethodToInvoke method,
java.lang.Object arg0, java.lang.Object arg1) {
switch (method) {
case NEW_MUTABLE_INSTANCE: {
return new com.particles.mes.protos.openrtb.NativeRequest.Asset.Title();
}
case NEW_BUILDER: {
return new Builder();
}
case BUILD_MESSAGE_INFO: {
java.lang.Object[] objects = new java.lang.Object[] {
"bitField0_",
"len_",
};
java.lang.String info =
"\u0001\u0001\u0000\u0001\u0001\u0001\u0001\u0000\u0000\u0001\u0001\u1504\u0000";
return newMessageInfo(DEFAULT_INSTANCE, info, objects);
}
// fall through
case GET_DEFAULT_INSTANCE: {
return DEFAULT_INSTANCE;
}
case GET_PARSER: {
com.google.protobuf.Parser<com.particles.mes.protos.openrtb.NativeRequest.Asset.Title> parser = PARSER;
if (parser == null) {
synchronized (com.particles.mes.protos.openrtb.NativeRequest.Asset.Title.class) {
parser = PARSER;
if (parser == null) {
parser =
new DefaultInstanceBasedParser<com.particles.mes.protos.openrtb.NativeRequest.Asset.Title>(
DEFAULT_INSTANCE);
PARSER = parser;
}
}
}
return parser;
}
case GET_MEMOIZED_IS_INITIALIZED: {
return memoizedIsInitialized;
}
case SET_MEMOIZED_IS_INITIALIZED: {
memoizedIsInitialized = (byte) (arg0 == null ? 0 : 1);
return null;
}
}
throw new UnsupportedOperationException();
}
// @@protoc_insertion_point(class_scope:com.google.openrtb.NativeRequest.Asset.Title)
private static final com.particles.mes.protos.openrtb.NativeRequest.Asset.Title DEFAULT_INSTANCE;
static {
Title defaultInstance = new Title();
// New instances are implicitly immutable so no need to make
// immutable.
DEFAULT_INSTANCE = defaultInstance;
com.google.protobuf.GeneratedMessageLite.registerDefaultInstance(
Title.class, defaultInstance);
}
public static com.particles.mes.protos.openrtb.NativeRequest.Asset.Title getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static volatile com.google.protobuf.Parser<Title> PARSER;
public static com.google.protobuf.Parser<Title> parser() {
return DEFAULT_INSTANCE.getParserForType();
}
}
public interface ImageOrBuilder extends
// @@protoc_insertion_point(interface_extends:com.google.openrtb.NativeRequest.Asset.Image)
com.google.protobuf.GeneratedMessageLite.
ExtendableMessageOrBuilder<
Image, Image.Builder> {
/**
* <pre>
* Type ID of the image element supported by the publisher.
* The publisher can display this information in an appropriate format.
* </pre>
*
* <code>optional .com.google.openrtb.ImageAssetType type = 1;</code>
* @return Whether the type field is set.
*/
boolean hasType();
/**
* <pre>
* Type ID of the image element supported by the publisher.
* The publisher can display this information in an appropriate format.
* </pre>
*
* <code>optional .com.google.openrtb.ImageAssetType type = 1;</code>
* @return The type.
*/
com.particles.mes.protos.openrtb.ImageAssetType getType();
/**
* <pre>
* Width of the image in pixels.
* </pre>
*
* <code>optional int32 w = 2;</code>
* @return Whether the w field is set.
*/
boolean hasW();
/**
* <pre>
* Width of the image in pixels.
* </pre>
*
* <code>optional int32 w = 2;</code>
* @return The w.
*/
int getW();
/**
* <pre>
* Height of the image in pixels.
* </pre>
*
* <code>optional int32 h = 3;</code>
* @return Whether the h field is set.
*/
boolean hasH();
/**
* <pre>
* Height of the image in pixels.
* </pre>
*
* <code>optional int32 h = 3;</code>
* @return The h.
*/
int getH();
/**
* <pre>
* The minimum requested width of the image in pixels. This option should
* be used for any rescaling of images by the client. Either w or wmin
* should be transmitted. If only w is included, it should be considered
* an exact requirement.
* </pre>
*
* <code>optional int32 wmin = 4;</code>
* @return Whether the wmin field is set.
*/
boolean hasWmin();
/**
* <pre>
* The minimum requested width of the image in pixels. This option should
* be used for any rescaling of images by the client. Either w or wmin
* should be transmitted. If only w is included, it should be considered
* an exact requirement.
* </pre>
*
* <code>optional int32 wmin = 4;</code>
* @return The wmin.
*/
int getWmin();
/**
* <pre>
* The minimum requested height of the image in pixels. This option should
* be used for any rescaling of images by the client. Either h or hmin
* should be transmitted. If only h is included, it should be considered
* an exact requirement.
* </pre>
*
* <code>optional int32 hmin = 5;</code>
* @return Whether the hmin field is set.
*/
boolean hasHmin();
/**
* <pre>
* The minimum requested height of the image in pixels. This option should
* be used for any rescaling of images by the client. Either h or hmin
* should be transmitted. If only h is included, it should be considered
* an exact requirement.
* </pre>
*
* <code>optional int32 hmin = 5;</code>
* @return The hmin.
*/
int getHmin();
/**
* <pre>
* Allowlist of content MIME types supported. Popular MIME types include,
* but are not limited to "image/jpg" and "image/gif". Each implementing
* Exchange should have their own list of supported types in the
* integration docs. See Wikipedia's MIME page for more information and
* links to all IETF RFCs. If blank, assume all types are allowed.
* </pre>
*
* <code>repeated string mimes = 6;</code>
* @return A list containing the mimes.
*/
java.util.List<java.lang.String>
getMimesList();
/**
* <pre>
* Allowlist of content MIME types supported. Popular MIME types include,
* but are not limited to "image/jpg" and "image/gif". Each implementing
* Exchange should have their own list of supported types in the
* integration docs. See Wikipedia's MIME page for more information and
* links to all IETF RFCs. If blank, assume all types are allowed.
* </pre>
*
* <code>repeated string mimes = 6;</code>
* @return The count of mimes.
*/
int getMimesCount();
/**
* <pre>
* Allowlist of content MIME types supported. Popular MIME types include,
* but are not limited to "image/jpg" and "image/gif". Each implementing
* Exchange should have their own list of supported types in the
* integration docs. See Wikipedia's MIME page for more information and
* links to all IETF RFCs. If blank, assume all types are allowed.
* </pre>
*
* <code>repeated string mimes = 6;</code>
* @param index The index of the element to return.
* @return The mimes at the given index.
*/
java.lang.String getMimes(int index);
/**
* <pre>
* Allowlist of content MIME types supported. Popular MIME types include,
* but are not limited to "image/jpg" and "image/gif". Each implementing
* Exchange should have their own list of supported types in the
* integration docs. See Wikipedia's MIME page for more information and
* links to all IETF RFCs. If blank, assume all types are allowed.
* </pre>
*
* <code>repeated string mimes = 6;</code>
* @param index The index of the element to return.
* @return The mimes at the given index.
*/
com.google.protobuf.ByteString
getMimesBytes(int index);
}
/**
* <pre>
* OpenRTB Native 1.0: The Image object to be used for all image elements
* of the Native ad, such as Icons or Main Image.
* RECOMMENDED sizes and aspect ratios are included in ImageAssetType.
* </pre>
*
* Protobuf type {@code com.google.openrtb.NativeRequest.Asset.Image}
*/
public static final class Image extends
com.google.protobuf.GeneratedMessageLite.ExtendableMessage<
Image, Image.Builder> implements
// @@protoc_insertion_point(message_implements:com.google.openrtb.NativeRequest.Asset.Image)
ImageOrBuilder {
private Image() {
type_ = 1;
mimes_ = com.google.protobuf.GeneratedMessageLite.emptyProtobufList();
}
private int bitField0_;
public static final int TYPE_FIELD_NUMBER = 1;
private int type_;
/**
* <pre>
* Type ID of the image element supported by the publisher.
* The publisher can display this information in an appropriate format.
* </pre>
*
* <code>optional .com.google.openrtb.ImageAssetType type = 1;</code>
* @return Whether the type field is set.
*/
@java.lang.Override
public boolean hasType() {
return ((bitField0_ & 0x00000001) != 0);
}
/**
* <pre>
* Type ID of the image element supported by the publisher.
* The publisher can display this information in an appropriate format.
* </pre>
*
* <code>optional .com.google.openrtb.ImageAssetType type = 1;</code>
* @return The type.
*/
@java.lang.Override
public com.particles.mes.protos.openrtb.ImageAssetType getType() {
com.particles.mes.protos.openrtb.ImageAssetType result = com.particles.mes.protos.openrtb.ImageAssetType.forNumber(type_);
return result == null ? com.particles.mes.protos.openrtb.ImageAssetType.ICON : result;
}
/**
* <pre>
* Type ID of the image element supported by the publisher.
* The publisher can display this information in an appropriate format.
* </pre>
*
* <code>optional .com.google.openrtb.ImageAssetType type = 1;</code>
* @param value The type to set.
*/
private void setType(com.particles.mes.protos.openrtb.ImageAssetType value) {
type_ = value.getNumber();
bitField0_ |= 0x00000001;
}
/**
* <pre>
* Type ID of the image element supported by the publisher.
* The publisher can display this information in an appropriate format.
* </pre>
*
* <code>optional .com.google.openrtb.ImageAssetType type = 1;</code>
*/
private void clearType() {
bitField0_ = (bitField0_ & ~0x00000001);
type_ = 1;
}
public static final int W_FIELD_NUMBER = 2;
private int w_;
/**
* <pre>
* Width of the image in pixels.
* </pre>
*
* <code>optional int32 w = 2;</code>
* @return Whether the w field is set.
*/
@java.lang.Override
public boolean hasW() {
return ((bitField0_ & 0x00000002) != 0);
}
/**
* <pre>
* Width of the image in pixels.
* </pre>
*
* <code>optional int32 w = 2;</code>
* @return The w.
*/
@java.lang.Override
public int getW() {
return w_;
}
/**
* <pre>
* Width of the image in pixels.
* </pre>
*
* <code>optional int32 w = 2;</code>
* @param value The w to set.
*/
private void setW(int value) {
bitField0_ |= 0x00000002;
w_ = value;
}
/**
* <pre>
* Width of the image in pixels.
* </pre>
*
* <code>optional int32 w = 2;</code>
*/
private void clearW() {
bitField0_ = (bitField0_ & ~0x00000002);
w_ = 0;
}
public static final int H_FIELD_NUMBER = 3;
private int h_;
/**
* <pre>
* Height of the image in pixels.
* </pre>
*
* <code>optional int32 h = 3;</code>
* @return Whether the h field is set.
*/
@java.lang.Override
public boolean hasH() {
return ((bitField0_ & 0x00000004) != 0);
}
/**
* <pre>
* Height of the image in pixels.
* </pre>
*
* <code>optional int32 h = 3;</code>
* @return The h.
*/
@java.lang.Override
public int getH() {
return h_;
}
/**
* <pre>
* Height of the image in pixels.
* </pre>
*
* <code>optional int32 h = 3;</code>
* @param value The h to set.
*/
private void setH(int value) {
bitField0_ |= 0x00000004;
h_ = value;
}
/**
* <pre>
* Height of the image in pixels.
* </pre>
*
* <code>optional int32 h = 3;</code>
*/
private void clearH() {
bitField0_ = (bitField0_ & ~0x00000004);
h_ = 0;
}
public static final int WMIN_FIELD_NUMBER = 4;
private int wmin_;
/**
* <pre>
* The minimum requested width of the image in pixels. This option should
* be used for any rescaling of images by the client. Either w or wmin
* should be transmitted. If only w is included, it should be considered
* an exact requirement.
* </pre>
*
* <code>optional int32 wmin = 4;</code>
* @return Whether the wmin field is set.
*/
@java.lang.Override
public boolean hasWmin() {
return ((bitField0_ & 0x00000008) != 0);
}
/**
* <pre>
* The minimum requested width of the image in pixels. This option should
* be used for any rescaling of images by the client. Either w or wmin
* should be transmitted. If only w is included, it should be considered
* an exact requirement.
* </pre>
*
* <code>optional int32 wmin = 4;</code>
* @return The wmin.
*/
@java.lang.Override
public int getWmin() {
return wmin_;
}
/**
* <pre>
* The minimum requested width of the image in pixels. This option should
* be used for any rescaling of images by the client. Either w or wmin
* should be transmitted. If only w is included, it should be considered
* an exact requirement.
* </pre>
*
* <code>optional int32 wmin = 4;</code>
* @param value The wmin to set.
*/
private void setWmin(int value) {
bitField0_ |= 0x00000008;
wmin_ = value;
}
/**
* <pre>
* The minimum requested width of the image in pixels. This option should
* be used for any rescaling of images by the client. Either w or wmin
* should be transmitted. If only w is included, it should be considered
* an exact requirement.
* </pre>
*
* <code>optional int32 wmin = 4;</code>
*/
private void clearWmin() {
bitField0_ = (bitField0_ & ~0x00000008);
wmin_ = 0;
}
public static final int HMIN_FIELD_NUMBER = 5;
private int hmin_;
/**
* <pre>
* The minimum requested height of the image in pixels. This option should
* be used for any rescaling of images by the client. Either h or hmin
* should be transmitted. If only h is included, it should be considered
* an exact requirement.
* </pre>
*
* <code>optional int32 hmin = 5;</code>
* @return Whether the hmin field is set.
*/
@java.lang.Override
public boolean hasHmin() {
return ((bitField0_ & 0x00000010) != 0);
}
/**
* <pre>
* The minimum requested height of the image in pixels. This option should
* be used for any rescaling of images by the client. Either h or hmin
* should be transmitted. If only h is included, it should be considered
* an exact requirement.
* </pre>
*
* <code>optional int32 hmin = 5;</code>
* @return The hmin.
*/
@java.lang.Override
public int getHmin() {
return hmin_;
}
/**
* <pre>
* The minimum requested height of the image in pixels. This option should
* be used for any rescaling of images by the client. Either h or hmin
* should be transmitted. If only h is included, it should be considered
* an exact requirement.
* </pre>
*
* <code>optional int32 hmin = 5;</code>
* @param value The hmin to set.
*/
private void setHmin(int value) {
bitField0_ |= 0x00000010;
hmin_ = value;
}
/**
* <pre>
* The minimum requested height of the image in pixels. This option should
* be used for any rescaling of images by the client. Either h or hmin
* should be transmitted. If only h is included, it should be considered
* an exact requirement.
* </pre>
*
* <code>optional int32 hmin = 5;</code>
*/
private void clearHmin() {
bitField0_ = (bitField0_ & ~0x00000010);
hmin_ = 0;
}
public static final int MIMES_FIELD_NUMBER = 6;
private com.google.protobuf.Internal.ProtobufList<java.lang.String> mimes_;
/**
* <pre>
* Allowlist of content MIME types supported. Popular MIME types include,
* but are not limited to "image/jpg" and "image/gif". Each implementing
* Exchange should have their own list of supported types in the
* integration docs. See Wikipedia's MIME page for more information and
* links to all IETF RFCs. If blank, assume all types are allowed.
* </pre>
*
* <code>repeated string mimes = 6;</code>
* @return A list containing the mimes.
*/
@java.lang.Override
public java.util.List<java.lang.String> getMimesList() {
return mimes_;
}
/**
* <pre>
* Allowlist of content MIME types supported. Popular MIME types include,
* but are not limited to "image/jpg" and "image/gif". Each implementing
* Exchange should have their own list of supported types in the
* integration docs. See Wikipedia's MIME page for more information and
* links to all IETF RFCs. If blank, assume all types are allowed.
* </pre>
*
* <code>repeated string mimes = 6;</code>
* @return The count of mimes.
*/
@java.lang.Override
public int getMimesCount() {
return mimes_.size();
}
/**
* <pre>
* Allowlist of content MIME types supported. Popular MIME types include,
* but are not limited to "image/jpg" and "image/gif". Each implementing
* Exchange should have their own list of supported types in the
* integration docs. See Wikipedia's MIME page for more information and
* links to all IETF RFCs. If blank, assume all types are allowed.
* </pre>
*
* <code>repeated string mimes = 6;</code>
* @param index The index of the element to return.
* @return The mimes at the given index.
*/
@java.lang.Override
public java.lang.String getMimes(int index) {
return mimes_.get(index);
}
/**
* <pre>
* Allowlist of content MIME types supported. Popular MIME types include,
* but are not limited to "image/jpg" and "image/gif". Each implementing
* Exchange should have their own list of supported types in the
* integration docs. See Wikipedia's MIME page for more information and
* links to all IETF RFCs. If blank, assume all types are allowed.
* </pre>
*
* <code>repeated string mimes = 6;</code>
* @param index The index of the value to return.
* @return The bytes of the mimes at the given index.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getMimesBytes(int index) {
return com.google.protobuf.ByteString.copyFromUtf8(
mimes_.get(index));
}
private void ensureMimesIsMutable() {
com.google.protobuf.Internal.ProtobufList<java.lang.String> tmp =
mimes_; if (!tmp.isModifiable()) {
mimes_ =
com.google.protobuf.GeneratedMessageLite.mutableCopy(tmp);
}
}
/**
* <pre>
* Allowlist of content MIME types supported. Popular MIME types include,
* but are not limited to "image/jpg" and "image/gif". Each implementing
* Exchange should have their own list of supported types in the
* integration docs. See Wikipedia's MIME page for more information and
* links to all IETF RFCs. If blank, assume all types are allowed.
* </pre>
*
* <code>repeated string mimes = 6;</code>
* @param index The index to set the value at.
* @param value The mimes to set.
*/
private void setMimes(
int index, java.lang.String value) {
java.lang.Class<?> valueClass = value.getClass();
ensureMimesIsMutable();
mimes_.set(index, value);
}
/**
* <pre>
* Allowlist of content MIME types supported. Popular MIME types include,
* but are not limited to "image/jpg" and "image/gif". Each implementing
* Exchange should have their own list of supported types in the
* integration docs. See Wikipedia's MIME page for more information and
* links to all IETF RFCs. If blank, assume all types are allowed.
* </pre>
*
* <code>repeated string mimes = 6;</code>
* @param value The mimes to add.
*/
private void addMimes(
java.lang.String value) {
java.lang.Class<?> valueClass = value.getClass();
ensureMimesIsMutable();
mimes_.add(value);
}
/**
* <pre>
* Allowlist of content MIME types supported. Popular MIME types include,
* but are not limited to "image/jpg" and "image/gif". Each implementing
* Exchange should have their own list of supported types in the
* integration docs. See Wikipedia's MIME page for more information and
* links to all IETF RFCs. If blank, assume all types are allowed.
* </pre>
*
* <code>repeated string mimes = 6;</code>
* @param values The mimes to add.
*/
private void addAllMimes(
java.lang.Iterable<java.lang.String> values) {
ensureMimesIsMutable();
com.google.protobuf.AbstractMessageLite.addAll(
values, mimes_);
}
/**
* <pre>
* Allowlist of content MIME types supported. Popular MIME types include,
* but are not limited to "image/jpg" and "image/gif". Each implementing
* Exchange should have their own list of supported types in the
* integration docs. See Wikipedia's MIME page for more information and
* links to all IETF RFCs. If blank, assume all types are allowed.
* </pre>
*
* <code>repeated string mimes = 6;</code>
*/
private void clearMimes() {
mimes_ = com.google.protobuf.GeneratedMessageLite.emptyProtobufList();
}
/**
* <pre>
* Allowlist of content MIME types supported. Popular MIME types include,
* but are not limited to "image/jpg" and "image/gif". Each implementing
* Exchange should have their own list of supported types in the
* integration docs. See Wikipedia's MIME page for more information and
* links to all IETF RFCs. If blank, assume all types are allowed.
* </pre>
*
* <code>repeated string mimes = 6;</code>
* @param value The bytes of the mimes to add.
*/
private void addMimesBytes(
com.google.protobuf.ByteString value) {
ensureMimesIsMutable();
mimes_.add(value.toStringUtf8());
}
public static com.particles.mes.protos.openrtb.NativeRequest.Asset.Image parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, data);
}
public static com.particles.mes.protos.openrtb.NativeRequest.Asset.Image parseFrom(
java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, data, extensionRegistry);
}
public static com.particles.mes.protos.openrtb.NativeRequest.Asset.Image parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, data);
}
public static com.particles.mes.protos.openrtb.NativeRequest.Asset.Image parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, data, extensionRegistry);
}
public static com.particles.mes.protos.openrtb.NativeRequest.Asset.Image parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, data);
}
public static com.particles.mes.protos.openrtb.NativeRequest.Asset.Image parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, data, extensionRegistry);
}
public static com.particles.mes.protos.openrtb.NativeRequest.Asset.Image parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, input);
}
public static com.particles.mes.protos.openrtb.NativeRequest.Asset.Image parseFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, input, extensionRegistry);
}
public static com.particles.mes.protos.openrtb.NativeRequest.Asset.Image parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return parseDelimitedFrom(DEFAULT_INSTANCE, input);
}
public static com.particles.mes.protos.openrtb.NativeRequest.Asset.Image parseDelimitedFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return parseDelimitedFrom(DEFAULT_INSTANCE, input, extensionRegistry);
}
public static com.particles.mes.protos.openrtb.NativeRequest.Asset.Image parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, input);
}
public static com.particles.mes.protos.openrtb.NativeRequest.Asset.Image parseFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, input, extensionRegistry);
}
public static Builder newBuilder() {
return (Builder) DEFAULT_INSTANCE.createBuilder();
}
public static Builder newBuilder(com.particles.mes.protos.openrtb.NativeRequest.Asset.Image prototype) {
return (Builder) DEFAULT_INSTANCE.createBuilder(prototype);
}
/**
* <pre>
* OpenRTB Native 1.0: The Image object to be used for all image elements
* of the Native ad, such as Icons or Main Image.
* RECOMMENDED sizes and aspect ratios are included in ImageAssetType.
* </pre>
*
* Protobuf type {@code com.google.openrtb.NativeRequest.Asset.Image}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageLite.ExtendableBuilder<
com.particles.mes.protos.openrtb.NativeRequest.Asset.Image, Builder> implements
// @@protoc_insertion_point(builder_implements:com.google.openrtb.NativeRequest.Asset.Image)
com.particles.mes.protos.openrtb.NativeRequest.Asset.ImageOrBuilder {
// Construct using com.particles.mes.protos.openrtb.NativeRequest.Asset.Image.newBuilder()
private Builder() {
super(DEFAULT_INSTANCE);
}
/**
* <pre>
* Type ID of the image element supported by the publisher.
* The publisher can display this information in an appropriate format.
* </pre>
*
* <code>optional .com.google.openrtb.ImageAssetType type = 1;</code>
* @return Whether the type field is set.
*/
@java.lang.Override
public boolean hasType() {
return instance.hasType();
}
/**
* <pre>
* Type ID of the image element supported by the publisher.
* The publisher can display this information in an appropriate format.
* </pre>
*
* <code>optional .com.google.openrtb.ImageAssetType type = 1;</code>
* @return The type.
*/
@java.lang.Override
public com.particles.mes.protos.openrtb.ImageAssetType getType() {
return instance.getType();
}
/**
* <pre>
* Type ID of the image element supported by the publisher.
* The publisher can display this information in an appropriate format.
* </pre>
*
* <code>optional .com.google.openrtb.ImageAssetType type = 1;</code>
* @param value The enum numeric value on the wire for type to set.
* @return This builder for chaining.
*/
public Builder setType(com.particles.mes.protos.openrtb.ImageAssetType value) {
copyOnWrite();
instance.setType(value);
return this;
}
/**
* <pre>
* Type ID of the image element supported by the publisher.
* The publisher can display this information in an appropriate format.
* </pre>
*
* <code>optional .com.google.openrtb.ImageAssetType type = 1;</code>
* @return This builder for chaining.
*/
public Builder clearType() {
copyOnWrite();
instance.clearType();
return this;
}
/**
* <pre>
* Width of the image in pixels.
* </pre>
*
* <code>optional int32 w = 2;</code>
* @return Whether the w field is set.
*/
@java.lang.Override
public boolean hasW() {
return instance.hasW();
}
/**
* <pre>
* Width of the image in pixels.
* </pre>
*
* <code>optional int32 w = 2;</code>
* @return The w.
*/
@java.lang.Override
public int getW() {
return instance.getW();
}
/**
* <pre>
* Width of the image in pixels.
* </pre>
*
* <code>optional int32 w = 2;</code>
* @param value The w to set.
* @return This builder for chaining.
*/
public Builder setW(int value) {
copyOnWrite();
instance.setW(value);
return this;
}
/**
* <pre>
* Width of the image in pixels.
* </pre>
*
* <code>optional int32 w = 2;</code>
* @return This builder for chaining.
*/
public Builder clearW() {
copyOnWrite();
instance.clearW();
return this;
}
/**
* <pre>
* Height of the image in pixels.
* </pre>
*
* <code>optional int32 h = 3;</code>
* @return Whether the h field is set.
*/
@java.lang.Override
public boolean hasH() {
return instance.hasH();
}
/**
* <pre>
* Height of the image in pixels.
* </pre>
*
* <code>optional int32 h = 3;</code>
* @return The h.
*/
@java.lang.Override
public int getH() {
return instance.getH();
}
/**
* <pre>
* Height of the image in pixels.
* </pre>
*
* <code>optional int32 h = 3;</code>
* @param value The h to set.
* @return This builder for chaining.
*/
public Builder setH(int value) {
copyOnWrite();
instance.setH(value);
return this;
}
/**
* <pre>
* Height of the image in pixels.
* </pre>
*
* <code>optional int32 h = 3;</code>
* @return This builder for chaining.
*/
public Builder clearH() {
copyOnWrite();
instance.clearH();
return this;
}
/**
* <pre>
* The minimum requested width of the image in pixels. This option should
* be used for any rescaling of images by the client. Either w or wmin
* should be transmitted. If only w is included, it should be considered
* an exact requirement.
* </pre>
*
* <code>optional int32 wmin = 4;</code>
* @return Whether the wmin field is set.
*/
@java.lang.Override
public boolean hasWmin() {
return instance.hasWmin();
}
/**
* <pre>
* The minimum requested width of the image in pixels. This option should
* be used for any rescaling of images by the client. Either w or wmin
* should be transmitted. If only w is included, it should be considered
* an exact requirement.
* </pre>
*
* <code>optional int32 wmin = 4;</code>
* @return The wmin.
*/
@java.lang.Override
public int getWmin() {
return instance.getWmin();
}
/**
* <pre>
* The minimum requested width of the image in pixels. This option should
* be used for any rescaling of images by the client. Either w or wmin
* should be transmitted. If only w is included, it should be considered
* an exact requirement.
* </pre>
*
* <code>optional int32 wmin = 4;</code>
* @param value The wmin to set.
* @return This builder for chaining.
*/
public Builder setWmin(int value) {
copyOnWrite();
instance.setWmin(value);
return this;
}
/**
* <pre>
* The minimum requested width of the image in pixels. This option should
* be used for any rescaling of images by the client. Either w or wmin
* should be transmitted. If only w is included, it should be considered
* an exact requirement.
* </pre>
*
* <code>optional int32 wmin = 4;</code>
* @return This builder for chaining.
*/
public Builder clearWmin() {
copyOnWrite();
instance.clearWmin();
return this;
}
/**
* <pre>
* The minimum requested height of the image in pixels. This option should
* be used for any rescaling of images by the client. Either h or hmin
* should be transmitted. If only h is included, it should be considered
* an exact requirement.
* </pre>
*
* <code>optional int32 hmin = 5;</code>
* @return Whether the hmin field is set.
*/
@java.lang.Override
public boolean hasHmin() {
return instance.hasHmin();
}
/**
* <pre>
* The minimum requested height of the image in pixels. This option should
* be used for any rescaling of images by the client. Either h or hmin
* should be transmitted. If only h is included, it should be considered
* an exact requirement.
* </pre>
*
* <code>optional int32 hmin = 5;</code>
* @return The hmin.
*/
@java.lang.Override
public int getHmin() {
return instance.getHmin();
}
/**
* <pre>
* The minimum requested height of the image in pixels. This option should
* be used for any rescaling of images by the client. Either h or hmin
* should be transmitted. If only h is included, it should be considered
* an exact requirement.
* </pre>
*
* <code>optional int32 hmin = 5;</code>
* @param value The hmin to set.
* @return This builder for chaining.
*/
public Builder setHmin(int value) {
copyOnWrite();
instance.setHmin(value);
return this;
}
/**
* <pre>
* The minimum requested height of the image in pixels. This option should
* be used for any rescaling of images by the client. Either h or hmin
* should be transmitted. If only h is included, it should be considered
* an exact requirement.
* </pre>
*
* <code>optional int32 hmin = 5;</code>
* @return This builder for chaining.
*/
public Builder clearHmin() {
copyOnWrite();
instance.clearHmin();
return this;
}
/**
* <pre>
* Allowlist of content MIME types supported. Popular MIME types include,
* but are not limited to "image/jpg" and "image/gif". Each implementing
* Exchange should have their own list of supported types in the
* integration docs. See Wikipedia's MIME page for more information and
* links to all IETF RFCs. If blank, assume all types are allowed.
* </pre>
*
* <code>repeated string mimes = 6;</code>
* @return A list containing the mimes.
*/
@java.lang.Override
public java.util.List<java.lang.String>
getMimesList() {
return java.util.Collections.unmodifiableList(
instance.getMimesList());
}
/**
* <pre>
* Allowlist of content MIME types supported. Popular MIME types include,
* but are not limited to "image/jpg" and "image/gif". Each implementing
* Exchange should have their own list of supported types in the
* integration docs. See Wikipedia's MIME page for more information and
* links to all IETF RFCs. If blank, assume all types are allowed.
* </pre>
*
* <code>repeated string mimes = 6;</code>
* @return The count of mimes.
*/
@java.lang.Override
public int getMimesCount() {
return instance.getMimesCount();
}
/**
* <pre>
* Allowlist of content MIME types supported. Popular MIME types include,
* but are not limited to "image/jpg" and "image/gif". Each implementing
* Exchange should have their own list of supported types in the
* integration docs. See Wikipedia's MIME page for more information and
* links to all IETF RFCs. If blank, assume all types are allowed.
* </pre>
*
* <code>repeated string mimes = 6;</code>
* @param index The index of the element to return.
* @return The mimes at the given index.
*/
@java.lang.Override
public java.lang.String getMimes(int index) {
return instance.getMimes(index);
}
/**
* <pre>
* Allowlist of content MIME types supported. Popular MIME types include,
* but are not limited to "image/jpg" and "image/gif". Each implementing
* Exchange should have their own list of supported types in the
* integration docs. See Wikipedia's MIME page for more information and
* links to all IETF RFCs. If blank, assume all types are allowed.
* </pre>
*
* <code>repeated string mimes = 6;</code>
* @param index The index of the value to return.
* @return The bytes of the mimes at the given index.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getMimesBytes(int index) {
return instance.getMimesBytes(index);
}
/**
* <pre>
* Allowlist of content MIME types supported. Popular MIME types include,
* but are not limited to "image/jpg" and "image/gif". Each implementing
* Exchange should have their own list of supported types in the
* integration docs. See Wikipedia's MIME page for more information and
* links to all IETF RFCs. If blank, assume all types are allowed.
* </pre>
*
* <code>repeated string mimes = 6;</code>
* @param index The index to set the value at.
* @param value The mimes to set.
* @return This builder for chaining.
*/
public Builder setMimes(
int index, java.lang.String value) {
copyOnWrite();
instance.setMimes(index, value);
return this;
}
/**
* <pre>
* Allowlist of content MIME types supported. Popular MIME types include,
* but are not limited to "image/jpg" and "image/gif". Each implementing
* Exchange should have their own list of supported types in the
* integration docs. See Wikipedia's MIME page for more information and
* links to all IETF RFCs. If blank, assume all types are allowed.
* </pre>
*
* <code>repeated string mimes = 6;</code>
* @param value The mimes to add.
* @return This builder for chaining.
*/
public Builder addMimes(
java.lang.String value) {
copyOnWrite();
instance.addMimes(value);
return this;
}
/**
* <pre>
* Allowlist of content MIME types supported. Popular MIME types include,
* but are not limited to "image/jpg" and "image/gif". Each implementing
* Exchange should have their own list of supported types in the
* integration docs. See Wikipedia's MIME page for more information and
* links to all IETF RFCs. If blank, assume all types are allowed.
* </pre>
*
* <code>repeated string mimes = 6;</code>
* @param values The mimes to add.
* @return This builder for chaining.
*/
public Builder addAllMimes(
java.lang.Iterable<java.lang.String> values) {
copyOnWrite();
instance.addAllMimes(values);
return this;
}
/**
* <pre>
* Allowlist of content MIME types supported. Popular MIME types include,
* but are not limited to "image/jpg" and "image/gif". Each implementing
* Exchange should have their own list of supported types in the
* integration docs. See Wikipedia's MIME page for more information and
* links to all IETF RFCs. If blank, assume all types are allowed.
* </pre>
*
* <code>repeated string mimes = 6;</code>
* @return This builder for chaining.
*/
public Builder clearMimes() {
copyOnWrite();
instance.clearMimes();
return this;
}
/**
* <pre>
* Allowlist of content MIME types supported. Popular MIME types include,
* but are not limited to "image/jpg" and "image/gif". Each implementing
* Exchange should have their own list of supported types in the
* integration docs. See Wikipedia's MIME page for more information and
* links to all IETF RFCs. If blank, assume all types are allowed.
* </pre>
*
* <code>repeated string mimes = 6;</code>
* @param value The bytes of the mimes to add.
* @return This builder for chaining.
*/
public Builder addMimesBytes(
com.google.protobuf.ByteString value) {
copyOnWrite();
instance.addMimesBytes(value);
return this;
}
// @@protoc_insertion_point(builder_scope:com.google.openrtb.NativeRequest.Asset.Image)
}
private byte memoizedIsInitialized = 2;
@java.lang.Override
@java.lang.SuppressWarnings({"unchecked", "fallthrough"})
protected final java.lang.Object dynamicMethod(
com.google.protobuf.GeneratedMessageLite.MethodToInvoke method,
java.lang.Object arg0, java.lang.Object arg1) {
switch (method) {
case NEW_MUTABLE_INSTANCE: {
return new com.particles.mes.protos.openrtb.NativeRequest.Asset.Image();
}
case NEW_BUILDER: {
return new Builder();
}
case BUILD_MESSAGE_INFO: {
java.lang.Object[] objects = new java.lang.Object[] {
"bitField0_",
"type_",
com.particles.mes.protos.openrtb.ImageAssetType.internalGetVerifier(),
"w_",
"h_",
"wmin_",
"hmin_",
"mimes_",
};
java.lang.String info =
"\u0001\u0006\u0000\u0001\u0001\u0006\u0006\u0000\u0001\u0000\u0001\u100c\u0000\u0002" +
"\u1004\u0001\u0003\u1004\u0002\u0004\u1004\u0003\u0005\u1004\u0004\u0006\u001a";
return newMessageInfo(DEFAULT_INSTANCE, info, objects);
}
// fall through
case GET_DEFAULT_INSTANCE: {
return DEFAULT_INSTANCE;
}
case GET_PARSER: {
com.google.protobuf.Parser<com.particles.mes.protos.openrtb.NativeRequest.Asset.Image> parser = PARSER;
if (parser == null) {
synchronized (com.particles.mes.protos.openrtb.NativeRequest.Asset.Image.class) {
parser = PARSER;
if (parser == null) {
parser =
new DefaultInstanceBasedParser<com.particles.mes.protos.openrtb.NativeRequest.Asset.Image>(
DEFAULT_INSTANCE);
PARSER = parser;
}
}
}
return parser;
}
case GET_MEMOIZED_IS_INITIALIZED: {
return memoizedIsInitialized;
}
case SET_MEMOIZED_IS_INITIALIZED: {
memoizedIsInitialized = (byte) (arg0 == null ? 0 : 1);
return null;
}
}
throw new UnsupportedOperationException();
}
// @@protoc_insertion_point(class_scope:com.google.openrtb.NativeRequest.Asset.Image)
private static final com.particles.mes.protos.openrtb.NativeRequest.Asset.Image DEFAULT_INSTANCE;
static {
Image defaultInstance = new Image();
// New instances are implicitly immutable so no need to make
// immutable.
DEFAULT_INSTANCE = defaultInstance;
com.google.protobuf.GeneratedMessageLite.registerDefaultInstance(
Image.class, defaultInstance);
}
public static com.particles.mes.protos.openrtb.NativeRequest.Asset.Image getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static volatile com.google.protobuf.Parser<Image> PARSER;
public static com.google.protobuf.Parser<Image> parser() {
return DEFAULT_INSTANCE.getParserForType();
}
}
public interface DataOrBuilder extends
// @@protoc_insertion_point(interface_extends:com.google.openrtb.NativeRequest.Asset.Data)
com.google.protobuf.GeneratedMessageLite.
ExtendableMessageOrBuilder<
Data, Data.Builder> {
/**
* <pre>
* Type ID of the element supported by the publisher. The publisher can
* display this information in an appropriate format.
* REQUIRED by the OpenRTB Native specification.
* </pre>
*
* <code>required .com.google.openrtb.DataAssetType type = 1;</code>
* @return Whether the type field is set.
*/
boolean hasType();
/**
* <pre>
* Type ID of the element supported by the publisher. The publisher can
* display this information in an appropriate format.
* REQUIRED by the OpenRTB Native specification.
* </pre>
*
* <code>required .com.google.openrtb.DataAssetType type = 1;</code>
* @return The type.
*/
com.particles.mes.protos.openrtb.DataAssetType getType();
/**
* <pre>
* Maximum length of the text in the element's response. Longer strings
* may be truncated and ellipsized by Ad Exchange or the publisher during
* rendering.
* </pre>
*
* <code>optional int32 len = 2;</code>
* @return Whether the len field is set.
*/
boolean hasLen();
/**
* <pre>
* Maximum length of the text in the element's response. Longer strings
* may be truncated and ellipsized by Ad Exchange or the publisher during
* rendering.
* </pre>
*
* <code>optional int32 len = 2;</code>
* @return The len.
*/
int getLen();
}
/**
* <pre>
* OpenRTB Native 1.0: The Data Object is to be used for all non-core
* elements of the native unit, such as Ratings, Review Count, Stars,
* Download count, descriptions or other similar elements. It is also
* generic for future of Native elements not contemplated at the time of the
* writing of this specification.
* </pre>
*
* Protobuf type {@code com.google.openrtb.NativeRequest.Asset.Data}
*/
public static final class Data extends
com.google.protobuf.GeneratedMessageLite.ExtendableMessage<
Data, Data.Builder> implements
// @@protoc_insertion_point(message_implements:com.google.openrtb.NativeRequest.Asset.Data)
DataOrBuilder {
private Data() {
type_ = 1;
}
private int bitField0_;
public static final int TYPE_FIELD_NUMBER = 1;
private int type_;
/**
* <pre>
* Type ID of the element supported by the publisher. The publisher can
* display this information in an appropriate format.
* REQUIRED by the OpenRTB Native specification.
* </pre>
*
* <code>required .com.google.openrtb.DataAssetType type = 1;</code>
* @return Whether the type field is set.
*/
@java.lang.Override
public boolean hasType() {
return ((bitField0_ & 0x00000001) != 0);
}
/**
* <pre>
* Type ID of the element supported by the publisher. The publisher can
* display this information in an appropriate format.
* REQUIRED by the OpenRTB Native specification.
* </pre>
*
* <code>required .com.google.openrtb.DataAssetType type = 1;</code>
* @return The type.
*/
@java.lang.Override
public com.particles.mes.protos.openrtb.DataAssetType getType() {
com.particles.mes.protos.openrtb.DataAssetType result = com.particles.mes.protos.openrtb.DataAssetType.forNumber(type_);
return result == null ? com.particles.mes.protos.openrtb.DataAssetType.SPONSORED : result;
}
/**
* <pre>
* Type ID of the element supported by the publisher. The publisher can
* display this information in an appropriate format.
* REQUIRED by the OpenRTB Native specification.
* </pre>
*
* <code>required .com.google.openrtb.DataAssetType type = 1;</code>
* @param value The type to set.
*/
private void setType(com.particles.mes.protos.openrtb.DataAssetType value) {
type_ = value.getNumber();
bitField0_ |= 0x00000001;
}
/**
* <pre>
* Type ID of the element supported by the publisher. The publisher can
* display this information in an appropriate format.
* REQUIRED by the OpenRTB Native specification.
* </pre>
*
* <code>required .com.google.openrtb.DataAssetType type = 1;</code>
*/
private void clearType() {
bitField0_ = (bitField0_ & ~0x00000001);
type_ = 1;
}
public static final int LEN_FIELD_NUMBER = 2;
private int len_;
/**
* <pre>
* Maximum length of the text in the element's response. Longer strings
* may be truncated and ellipsized by Ad Exchange or the publisher during
* rendering.
* </pre>
*
* <code>optional int32 len = 2;</code>
* @return Whether the len field is set.
*/
@java.lang.Override
public boolean hasLen() {
return ((bitField0_ & 0x00000002) != 0);
}
/**
* <pre>
* Maximum length of the text in the element's response. Longer strings
* may be truncated and ellipsized by Ad Exchange or the publisher during
* rendering.
* </pre>
*
* <code>optional int32 len = 2;</code>
* @return The len.
*/
@java.lang.Override
public int getLen() {
return len_;
}
/**
* <pre>
* Maximum length of the text in the element's response. Longer strings
* may be truncated and ellipsized by Ad Exchange or the publisher during
* rendering.
* </pre>
*
* <code>optional int32 len = 2;</code>
* @param value The len to set.
*/
private void setLen(int value) {
bitField0_ |= 0x00000002;
len_ = value;
}
/**
* <pre>
* Maximum length of the text in the element's response. Longer strings
* may be truncated and ellipsized by Ad Exchange or the publisher during
* rendering.
* </pre>
*
* <code>optional int32 len = 2;</code>
*/
private void clearLen() {
bitField0_ = (bitField0_ & ~0x00000002);
len_ = 0;
}
public static com.particles.mes.protos.openrtb.NativeRequest.Asset.Data parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, data);
}
public static com.particles.mes.protos.openrtb.NativeRequest.Asset.Data parseFrom(
java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, data, extensionRegistry);
}
public static com.particles.mes.protos.openrtb.NativeRequest.Asset.Data parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, data);
}
public static com.particles.mes.protos.openrtb.NativeRequest.Asset.Data parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, data, extensionRegistry);
}
public static com.particles.mes.protos.openrtb.NativeRequest.Asset.Data parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, data);
}
public static com.particles.mes.protos.openrtb.NativeRequest.Asset.Data parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, data, extensionRegistry);
}
public static com.particles.mes.protos.openrtb.NativeRequest.Asset.Data parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, input);
}
public static com.particles.mes.protos.openrtb.NativeRequest.Asset.Data parseFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, input, extensionRegistry);
}
public static com.particles.mes.protos.openrtb.NativeRequest.Asset.Data parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return parseDelimitedFrom(DEFAULT_INSTANCE, input);
}
public static com.particles.mes.protos.openrtb.NativeRequest.Asset.Data parseDelimitedFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return parseDelimitedFrom(DEFAULT_INSTANCE, input, extensionRegistry);
}
public static com.particles.mes.protos.openrtb.NativeRequest.Asset.Data parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, input);
}
public static com.particles.mes.protos.openrtb.NativeRequest.Asset.Data parseFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, input, extensionRegistry);
}
public static Builder newBuilder() {
return (Builder) DEFAULT_INSTANCE.createBuilder();
}
public static Builder newBuilder(com.particles.mes.protos.openrtb.NativeRequest.Asset.Data prototype) {
return (Builder) DEFAULT_INSTANCE.createBuilder(prototype);
}
/**
* <pre>
* OpenRTB Native 1.0: The Data Object is to be used for all non-core
* elements of the native unit, such as Ratings, Review Count, Stars,
* Download count, descriptions or other similar elements. It is also
* generic for future of Native elements not contemplated at the time of the
* writing of this specification.
* </pre>
*
* Protobuf type {@code com.google.openrtb.NativeRequest.Asset.Data}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageLite.ExtendableBuilder<
com.particles.mes.protos.openrtb.NativeRequest.Asset.Data, Builder> implements
// @@protoc_insertion_point(builder_implements:com.google.openrtb.NativeRequest.Asset.Data)
com.particles.mes.protos.openrtb.NativeRequest.Asset.DataOrBuilder {
// Construct using com.particles.mes.protos.openrtb.NativeRequest.Asset.Data.newBuilder()
private Builder() {
super(DEFAULT_INSTANCE);
}
/**
* <pre>
* Type ID of the element supported by the publisher. The publisher can
* display this information in an appropriate format.
* REQUIRED by the OpenRTB Native specification.
* </pre>
*
* <code>required .com.google.openrtb.DataAssetType type = 1;</code>
* @return Whether the type field is set.
*/
@java.lang.Override
public boolean hasType() {
return instance.hasType();
}
/**
* <pre>
* Type ID of the element supported by the publisher. The publisher can
* display this information in an appropriate format.
* REQUIRED by the OpenRTB Native specification.
* </pre>
*
* <code>required .com.google.openrtb.DataAssetType type = 1;</code>
* @return The type.
*/
@java.lang.Override
public com.particles.mes.protos.openrtb.DataAssetType getType() {
return instance.getType();
}
/**
* <pre>
* Type ID of the element supported by the publisher. The publisher can
* display this information in an appropriate format.
* REQUIRED by the OpenRTB Native specification.
* </pre>
*
* <code>required .com.google.openrtb.DataAssetType type = 1;</code>
* @param value The enum numeric value on the wire for type to set.
* @return This builder for chaining.
*/
public Builder setType(com.particles.mes.protos.openrtb.DataAssetType value) {
copyOnWrite();
instance.setType(value);
return this;
}
/**
* <pre>
* Type ID of the element supported by the publisher. The publisher can
* display this information in an appropriate format.
* REQUIRED by the OpenRTB Native specification.
* </pre>
*
* <code>required .com.google.openrtb.DataAssetType type = 1;</code>
* @return This builder for chaining.
*/
public Builder clearType() {
copyOnWrite();
instance.clearType();
return this;
}
/**
* <pre>
* Maximum length of the text in the element's response. Longer strings
* may be truncated and ellipsized by Ad Exchange or the publisher during
* rendering.
* </pre>
*
* <code>optional int32 len = 2;</code>
* @return Whether the len field is set.
*/
@java.lang.Override
public boolean hasLen() {
return instance.hasLen();
}
/**
* <pre>
* Maximum length of the text in the element's response. Longer strings
* may be truncated and ellipsized by Ad Exchange or the publisher during
* rendering.
* </pre>
*
* <code>optional int32 len = 2;</code>
* @return The len.
*/
@java.lang.Override
public int getLen() {
return instance.getLen();
}
/**
* <pre>
* Maximum length of the text in the element's response. Longer strings
* may be truncated and ellipsized by Ad Exchange or the publisher during
* rendering.
* </pre>
*
* <code>optional int32 len = 2;</code>
* @param value The len to set.
* @return This builder for chaining.
*/
public Builder setLen(int value) {
copyOnWrite();
instance.setLen(value);
return this;
}
/**
* <pre>
* Maximum length of the text in the element's response. Longer strings
* may be truncated and ellipsized by Ad Exchange or the publisher during
* rendering.
* </pre>
*
* <code>optional int32 len = 2;</code>
* @return This builder for chaining.
*/
public Builder clearLen() {
copyOnWrite();
instance.clearLen();
return this;
}
// @@protoc_insertion_point(builder_scope:com.google.openrtb.NativeRequest.Asset.Data)
}
private byte memoizedIsInitialized = 2;
@java.lang.Override
@java.lang.SuppressWarnings({"unchecked", "fallthrough"})
protected final java.lang.Object dynamicMethod(
com.google.protobuf.GeneratedMessageLite.MethodToInvoke method,
java.lang.Object arg0, java.lang.Object arg1) {
switch (method) {
case NEW_MUTABLE_INSTANCE: {
return new com.particles.mes.protos.openrtb.NativeRequest.Asset.Data();
}
case NEW_BUILDER: {
return new Builder();
}
case BUILD_MESSAGE_INFO: {
java.lang.Object[] objects = new java.lang.Object[] {
"bitField0_",
"type_",
com.particles.mes.protos.openrtb.DataAssetType.internalGetVerifier(),
"len_",
};
java.lang.String info =
"\u0001\u0002\u0000\u0001\u0001\u0002\u0002\u0000\u0000\u0001\u0001\u150c\u0000\u0002" +
"\u1004\u0001";
return newMessageInfo(DEFAULT_INSTANCE, info, objects);
}
// fall through
case GET_DEFAULT_INSTANCE: {
return DEFAULT_INSTANCE;
}
case GET_PARSER: {
com.google.protobuf.Parser<com.particles.mes.protos.openrtb.NativeRequest.Asset.Data> parser = PARSER;
if (parser == null) {
synchronized (com.particles.mes.protos.openrtb.NativeRequest.Asset.Data.class) {
parser = PARSER;
if (parser == null) {
parser =
new DefaultInstanceBasedParser<com.particles.mes.protos.openrtb.NativeRequest.Asset.Data>(
DEFAULT_INSTANCE);
PARSER = parser;
}
}
}
return parser;
}
case GET_MEMOIZED_IS_INITIALIZED: {
return memoizedIsInitialized;
}
case SET_MEMOIZED_IS_INITIALIZED: {
memoizedIsInitialized = (byte) (arg0 == null ? 0 : 1);
return null;
}
}
throw new UnsupportedOperationException();
}
// @@protoc_insertion_point(class_scope:com.google.openrtb.NativeRequest.Asset.Data)
private static final com.particles.mes.protos.openrtb.NativeRequest.Asset.Data DEFAULT_INSTANCE;
static {
Data defaultInstance = new Data();
// New instances are implicitly immutable so no need to make
// immutable.
DEFAULT_INSTANCE = defaultInstance;
com.google.protobuf.GeneratedMessageLite.registerDefaultInstance(
Data.class, defaultInstance);
}
public static com.particles.mes.protos.openrtb.NativeRequest.Asset.Data getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static volatile com.google.protobuf.Parser<Data> PARSER;
public static com.google.protobuf.Parser<Data> parser() {
return DEFAULT_INSTANCE.getParserForType();
}
}
private int bitField0_;
private int assetOneofCase_ = 0;
private java.lang.Object assetOneof_;
public enum AssetOneofCase {
TITLE(3),
IMG(4),
VIDEO(5),
DATA(6),
ASSETONEOF_NOT_SET(0);
private final int value;
private AssetOneofCase(int value) {
this.value = value;
}
/**
* @deprecated Use {@link #forNumber(int)} instead.
*/
@java.lang.Deprecated
public static AssetOneofCase valueOf(int value) {
return forNumber(value);
}
public static AssetOneofCase forNumber(int value) {
switch (value) {
case 3: return TITLE;
case 4: return IMG;
case 5: return VIDEO;
case 6: return DATA;
case 0: return ASSETONEOF_NOT_SET;
default: return null;
}
}
public int getNumber() {
return this.value;
}
};
@java.lang.Override
public AssetOneofCase
getAssetOneofCase() {
return AssetOneofCase.forNumber(
assetOneofCase_);
}
private void clearAssetOneof() {
assetOneofCase_ = 0;
assetOneof_ = null;
}
public static final int TITLE_FIELD_NUMBER = 3;
/**
* <pre>
* Title object for title assets.
* </pre>
*
* <code>.com.google.openrtb.NativeRequest.Asset.Title title = 3;</code>
*/
@java.lang.Override
public boolean hasTitle() {
return assetOneofCase_ == 3;
}
/**
* <pre>
* Title object for title assets.
* </pre>
*
* <code>.com.google.openrtb.NativeRequest.Asset.Title title = 3;</code>
*/
@java.lang.Override
public com.particles.mes.protos.openrtb.NativeRequest.Asset.Title getTitle() {
if (assetOneofCase_ == 3) {
return (com.particles.mes.protos.openrtb.NativeRequest.Asset.Title) assetOneof_;
}
return com.particles.mes.protos.openrtb.NativeRequest.Asset.Title.getDefaultInstance();
}
/**
* <pre>
* Title object for title assets.
* </pre>
*
* <code>.com.google.openrtb.NativeRequest.Asset.Title title = 3;</code>
*/
private void setTitle(com.particles.mes.protos.openrtb.NativeRequest.Asset.Title value) {
value.getClass();
assetOneof_ = value;
assetOneofCase_ = 3;
}
/**
* <pre>
* Title object for title assets.
* </pre>
*
* <code>.com.google.openrtb.NativeRequest.Asset.Title title = 3;</code>
*/
private void mergeTitle(com.particles.mes.protos.openrtb.NativeRequest.Asset.Title value) {
value.getClass();
if (assetOneofCase_ == 3 &&
assetOneof_ != com.particles.mes.protos.openrtb.NativeRequest.Asset.Title.getDefaultInstance()) {
assetOneof_ = com.particles.mes.protos.openrtb.NativeRequest.Asset.Title.newBuilder((com.particles.mes.protos.openrtb.NativeRequest.Asset.Title) assetOneof_)
.mergeFrom(value).buildPartial();
} else {
assetOneof_ = value;
}
assetOneofCase_ = 3;
}
/**
* <pre>
* Title object for title assets.
* </pre>
*
* <code>.com.google.openrtb.NativeRequest.Asset.Title title = 3;</code>
*/
private void clearTitle() {
if (assetOneofCase_ == 3) {
assetOneofCase_ = 0;
assetOneof_ = null;
}
}
public static final int IMG_FIELD_NUMBER = 4;
/**
* <pre>
* Image object for image assets.
* </pre>
*
* <code>.com.google.openrtb.NativeRequest.Asset.Image img = 4;</code>
*/
@java.lang.Override
public boolean hasImg() {
return assetOneofCase_ == 4;
}
/**
* <pre>
* Image object for image assets.
* </pre>
*
* <code>.com.google.openrtb.NativeRequest.Asset.Image img = 4;</code>
*/
@java.lang.Override
public com.particles.mes.protos.openrtb.NativeRequest.Asset.Image getImg() {
if (assetOneofCase_ == 4) {
return (com.particles.mes.protos.openrtb.NativeRequest.Asset.Image) assetOneof_;
}
return com.particles.mes.protos.openrtb.NativeRequest.Asset.Image.getDefaultInstance();
}
/**
* <pre>
* Image object for image assets.
* </pre>
*
* <code>.com.google.openrtb.NativeRequest.Asset.Image img = 4;</code>
*/
private void setImg(com.particles.mes.protos.openrtb.NativeRequest.Asset.Image value) {
value.getClass();
assetOneof_ = value;
assetOneofCase_ = 4;
}
/**
* <pre>
* Image object for image assets.
* </pre>
*
* <code>.com.google.openrtb.NativeRequest.Asset.Image img = 4;</code>
*/
private void mergeImg(com.particles.mes.protos.openrtb.NativeRequest.Asset.Image value) {
value.getClass();
if (assetOneofCase_ == 4 &&
assetOneof_ != com.particles.mes.protos.openrtb.NativeRequest.Asset.Image.getDefaultInstance()) {
assetOneof_ = com.particles.mes.protos.openrtb.NativeRequest.Asset.Image.newBuilder((com.particles.mes.protos.openrtb.NativeRequest.Asset.Image) assetOneof_)
.mergeFrom(value).buildPartial();
} else {
assetOneof_ = value;
}
assetOneofCase_ = 4;
}
/**
* <pre>
* Image object for image assets.
* </pre>
*
* <code>.com.google.openrtb.NativeRequest.Asset.Image img = 4;</code>
*/
private void clearImg() {
if (assetOneofCase_ == 4) {
assetOneofCase_ = 0;
assetOneof_ = null;
}
}
public static final int VIDEO_FIELD_NUMBER = 5;
/**
* <pre>
* Video object for video assets.
* Note that in-stream video ads are not part of Native.
* Native ads may contain a video as the ad creative itself.
* </pre>
*
* <code>.com.google.openrtb.BidRequest.Imp.Video video = 5;</code>
*/
@java.lang.Override
public boolean hasVideo() {
return assetOneofCase_ == 5;
}
/**
* <pre>
* Video object for video assets.
* Note that in-stream video ads are not part of Native.
* Native ads may contain a video as the ad creative itself.
* </pre>
*
* <code>.com.google.openrtb.BidRequest.Imp.Video video = 5;</code>
*/
@java.lang.Override
public com.particles.mes.protos.openrtb.BidRequest.Imp.Video getVideo() {
if (assetOneofCase_ == 5) {
return (com.particles.mes.protos.openrtb.BidRequest.Imp.Video) assetOneof_;
}
return com.particles.mes.protos.openrtb.BidRequest.Imp.Video.getDefaultInstance();
}
/**
* <pre>
* Video object for video assets.
* Note that in-stream video ads are not part of Native.
* Native ads may contain a video as the ad creative itself.
* </pre>
*
* <code>.com.google.openrtb.BidRequest.Imp.Video video = 5;</code>
*/
private void setVideo(com.particles.mes.protos.openrtb.BidRequest.Imp.Video value) {
value.getClass();
assetOneof_ = value;
assetOneofCase_ = 5;
}
/**
* <pre>
* Video object for video assets.
* Note that in-stream video ads are not part of Native.
* Native ads may contain a video as the ad creative itself.
* </pre>
*
* <code>.com.google.openrtb.BidRequest.Imp.Video video = 5;</code>
*/
private void mergeVideo(com.particles.mes.protos.openrtb.BidRequest.Imp.Video value) {
value.getClass();
if (assetOneofCase_ == 5 &&
assetOneof_ != com.particles.mes.protos.openrtb.BidRequest.Imp.Video.getDefaultInstance()) {
assetOneof_ = com.particles.mes.protos.openrtb.BidRequest.Imp.Video.newBuilder((com.particles.mes.protos.openrtb.BidRequest.Imp.Video) assetOneof_)
.mergeFrom(value).buildPartial();
} else {
assetOneof_ = value;
}
assetOneofCase_ = 5;
}
/**
* <pre>
* Video object for video assets.
* Note that in-stream video ads are not part of Native.
* Native ads may contain a video as the ad creative itself.
* </pre>
*
* <code>.com.google.openrtb.BidRequest.Imp.Video video = 5;</code>
*/
private void clearVideo() {
if (assetOneofCase_ == 5) {
assetOneofCase_ = 0;
assetOneof_ = null;
}
}
public static final int DATA_FIELD_NUMBER = 6;
/**
* <pre>
* Data object for brand name, description, ratings, prices or other
* similar elements.
* </pre>
*
* <code>.com.google.openrtb.NativeRequest.Asset.Data data = 6;</code>
*/
@java.lang.Override
public boolean hasData() {
return assetOneofCase_ == 6;
}
/**
* <pre>
* Data object for brand name, description, ratings, prices or other
* similar elements.
* </pre>
*
* <code>.com.google.openrtb.NativeRequest.Asset.Data data = 6;</code>
*/
@java.lang.Override
public com.particles.mes.protos.openrtb.NativeRequest.Asset.Data getData() {
if (assetOneofCase_ == 6) {
return (com.particles.mes.protos.openrtb.NativeRequest.Asset.Data) assetOneof_;
}
return com.particles.mes.protos.openrtb.NativeRequest.Asset.Data.getDefaultInstance();
}
/**
* <pre>
* Data object for brand name, description, ratings, prices or other
* similar elements.
* </pre>
*
* <code>.com.google.openrtb.NativeRequest.Asset.Data data = 6;</code>
*/
private void setData(com.particles.mes.protos.openrtb.NativeRequest.Asset.Data value) {
value.getClass();
assetOneof_ = value;
assetOneofCase_ = 6;
}
/**
* <pre>
* Data object for brand name, description, ratings, prices or other
* similar elements.
* </pre>
*
* <code>.com.google.openrtb.NativeRequest.Asset.Data data = 6;</code>
*/
private void mergeData(com.particles.mes.protos.openrtb.NativeRequest.Asset.Data value) {
value.getClass();
if (assetOneofCase_ == 6 &&
assetOneof_ != com.particles.mes.protos.openrtb.NativeRequest.Asset.Data.getDefaultInstance()) {
assetOneof_ = com.particles.mes.protos.openrtb.NativeRequest.Asset.Data.newBuilder((com.particles.mes.protos.openrtb.NativeRequest.Asset.Data) assetOneof_)
.mergeFrom(value).buildPartial();
} else {
assetOneof_ = value;
}
assetOneofCase_ = 6;
}
/**
* <pre>
* Data object for brand name, description, ratings, prices or other
* similar elements.
* </pre>
*
* <code>.com.google.openrtb.NativeRequest.Asset.Data data = 6;</code>
*/
private void clearData() {
if (assetOneofCase_ == 6) {
assetOneofCase_ = 0;
assetOneof_ = null;
}
}
public static final int ID_FIELD_NUMBER = 1;
private int id_;
/**
* <pre>
* Unique asset ID, assigned by exchange. Typically a counter for the array.
* REQUIRED by the OpenRTB Native specification.
* </pre>
*
* <code>required int32 id = 1;</code>
* @return Whether the id field is set.
*/
@java.lang.Override
public boolean hasId() {
return ((bitField0_ & 0x00000010) != 0);
}
/**
* <pre>
* Unique asset ID, assigned by exchange. Typically a counter for the array.
* REQUIRED by the OpenRTB Native specification.
* </pre>
*
* <code>required int32 id = 1;</code>
* @return The id.
*/
@java.lang.Override
public int getId() {
return id_;
}
/**
* <pre>
* Unique asset ID, assigned by exchange. Typically a counter for the array.
* REQUIRED by the OpenRTB Native specification.
* </pre>
*
* <code>required int32 id = 1;</code>
* @param value The id to set.
*/
private void setId(int value) {
bitField0_ |= 0x00000010;
id_ = value;
}
/**
* <pre>
* Unique asset ID, assigned by exchange. Typically a counter for the array.
* REQUIRED by the OpenRTB Native specification.
* </pre>
*
* <code>required int32 id = 1;</code>
*/
private void clearId() {
bitField0_ = (bitField0_ & ~0x00000010);
id_ = 0;
}
public static final int REQUIRED_FIELD_NUMBER = 2;
private boolean required_;
/**
* <pre>
* Set to true if asset is required
* (exchange will not accept a bid without it).
* </pre>
*
* <code>optional bool required = 2 [default = false];</code>
* @return Whether the required field is set.
*/
@java.lang.Override
public boolean hasRequired() {
return ((bitField0_ & 0x00000020) != 0);
}
/**
* <pre>
* Set to true if asset is required
* (exchange will not accept a bid without it).
* </pre>
*
* <code>optional bool required = 2 [default = false];</code>
* @return The required.
*/
@java.lang.Override
public boolean getRequired() {
return required_;
}
/**
* <pre>
* Set to true if asset is required
* (exchange will not accept a bid without it).
* </pre>
*
* <code>optional bool required = 2 [default = false];</code>
* @param value The required to set.
*/
private void setRequired(boolean value) {
bitField0_ |= 0x00000020;
required_ = value;
}
/**
* <pre>
* Set to true if asset is required
* (exchange will not accept a bid without it).
* </pre>
*
* <code>optional bool required = 2 [default = false];</code>
*/
private void clearRequired() {
bitField0_ = (bitField0_ & ~0x00000020);
required_ = false;
}
public static com.particles.mes.protos.openrtb.NativeRequest.Asset parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, data);
}
public static com.particles.mes.protos.openrtb.NativeRequest.Asset parseFrom(
java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, data, extensionRegistry);
}
public static com.particles.mes.protos.openrtb.NativeRequest.Asset parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, data);
}
public static com.particles.mes.protos.openrtb.NativeRequest.Asset parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, data, extensionRegistry);
}
public static com.particles.mes.protos.openrtb.NativeRequest.Asset parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, data);
}
public static com.particles.mes.protos.openrtb.NativeRequest.Asset parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, data, extensionRegistry);
}
public static com.particles.mes.protos.openrtb.NativeRequest.Asset parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, input);
}
public static com.particles.mes.protos.openrtb.NativeRequest.Asset parseFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, input, extensionRegistry);
}
public static com.particles.mes.protos.openrtb.NativeRequest.Asset parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return parseDelimitedFrom(DEFAULT_INSTANCE, input);
}
public static com.particles.mes.protos.openrtb.NativeRequest.Asset parseDelimitedFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return parseDelimitedFrom(DEFAULT_INSTANCE, input, extensionRegistry);
}
public static com.particles.mes.protos.openrtb.NativeRequest.Asset parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, input);
}
public static com.particles.mes.protos.openrtb.NativeRequest.Asset parseFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, input, extensionRegistry);
}
public static Builder newBuilder() {
return (Builder) DEFAULT_INSTANCE.createBuilder();
}
public static Builder newBuilder(com.particles.mes.protos.openrtb.NativeRequest.Asset prototype) {
return (Builder) DEFAULT_INSTANCE.createBuilder(prototype);
}
/**
* <pre>
* OpenRTB Native 1.0: The main container object for each asset requested or
* supported by Exchange on behalf of the rendering client.
* Any object that is required is to be flagged as such. Only one of the
* {title,img,video,data} objects should be present in each object.
* All others should be null/absent. The id is to be unique within the
* Asset array so that the response can be aligned.
* </pre>
*
* Protobuf type {@code com.google.openrtb.NativeRequest.Asset}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageLite.ExtendableBuilder<
com.particles.mes.protos.openrtb.NativeRequest.Asset, Builder> implements
// @@protoc_insertion_point(builder_implements:com.google.openrtb.NativeRequest.Asset)
com.particles.mes.protos.openrtb.NativeRequest.AssetOrBuilder {
// Construct using com.particles.mes.protos.openrtb.NativeRequest.Asset.newBuilder()
private Builder() {
super(DEFAULT_INSTANCE);
}
@java.lang.Override
public AssetOneofCase
getAssetOneofCase() {
return instance.getAssetOneofCase();
}
public Builder clearAssetOneof() {
copyOnWrite();
instance.clearAssetOneof();
return this;
}
/**
* <pre>
* Title object for title assets.
* </pre>
*
* <code>.com.google.openrtb.NativeRequest.Asset.Title title = 3;</code>
*/
@java.lang.Override
public boolean hasTitle() {
return instance.hasTitle();
}
/**
* <pre>
* Title object for title assets.
* </pre>
*
* <code>.com.google.openrtb.NativeRequest.Asset.Title title = 3;</code>
*/
@java.lang.Override
public com.particles.mes.protos.openrtb.NativeRequest.Asset.Title getTitle() {
return instance.getTitle();
}
/**
* <pre>
* Title object for title assets.
* </pre>
*
* <code>.com.google.openrtb.NativeRequest.Asset.Title title = 3;</code>
*/
public Builder setTitle(com.particles.mes.protos.openrtb.NativeRequest.Asset.Title value) {
copyOnWrite();
instance.setTitle(value);
return this;
}
/**
* <pre>
* Title object for title assets.
* </pre>
*
* <code>.com.google.openrtb.NativeRequest.Asset.Title title = 3;</code>
*/
public Builder setTitle(
com.particles.mes.protos.openrtb.NativeRequest.Asset.Title.Builder builderForValue) {
copyOnWrite();
instance.setTitle(builderForValue.build());
return this;
}
/**
* <pre>
* Title object for title assets.
* </pre>
*
* <code>.com.google.openrtb.NativeRequest.Asset.Title title = 3;</code>
*/
public Builder mergeTitle(com.particles.mes.protos.openrtb.NativeRequest.Asset.Title value) {
copyOnWrite();
instance.mergeTitle(value);
return this;
}
/**
* <pre>
* Title object for title assets.
* </pre>
*
* <code>.com.google.openrtb.NativeRequest.Asset.Title title = 3;</code>
*/
public Builder clearTitle() {
copyOnWrite();
instance.clearTitle();
return this;
}
/**
* <pre>
* Image object for image assets.
* </pre>
*
* <code>.com.google.openrtb.NativeRequest.Asset.Image img = 4;</code>
*/
@java.lang.Override
public boolean hasImg() {
return instance.hasImg();
}
/**
* <pre>
* Image object for image assets.
* </pre>
*
* <code>.com.google.openrtb.NativeRequest.Asset.Image img = 4;</code>
*/
@java.lang.Override
public com.particles.mes.protos.openrtb.NativeRequest.Asset.Image getImg() {
return instance.getImg();
}
/**
* <pre>
* Image object for image assets.
* </pre>
*
* <code>.com.google.openrtb.NativeRequest.Asset.Image img = 4;</code>
*/
public Builder setImg(com.particles.mes.protos.openrtb.NativeRequest.Asset.Image value) {
copyOnWrite();
instance.setImg(value);
return this;
}
/**
* <pre>
* Image object for image assets.
* </pre>
*
* <code>.com.google.openrtb.NativeRequest.Asset.Image img = 4;</code>
*/
public Builder setImg(
com.particles.mes.protos.openrtb.NativeRequest.Asset.Image.Builder builderForValue) {
copyOnWrite();
instance.setImg(builderForValue.build());
return this;
}
/**
* <pre>
* Image object for image assets.
* </pre>
*
* <code>.com.google.openrtb.NativeRequest.Asset.Image img = 4;</code>
*/
public Builder mergeImg(com.particles.mes.protos.openrtb.NativeRequest.Asset.Image value) {
copyOnWrite();
instance.mergeImg(value);
return this;
}
/**
* <pre>
* Image object for image assets.
* </pre>
*
* <code>.com.google.openrtb.NativeRequest.Asset.Image img = 4;</code>
*/
public Builder clearImg() {
copyOnWrite();
instance.clearImg();
return this;
}
/**
* <pre>
* Video object for video assets.
* Note that in-stream video ads are not part of Native.
* Native ads may contain a video as the ad creative itself.
* </pre>
*
* <code>.com.google.openrtb.BidRequest.Imp.Video video = 5;</code>
*/
@java.lang.Override
public boolean hasVideo() {
return instance.hasVideo();
}
/**
* <pre>
* Video object for video assets.
* Note that in-stream video ads are not part of Native.
* Native ads may contain a video as the ad creative itself.
* </pre>
*
* <code>.com.google.openrtb.BidRequest.Imp.Video video = 5;</code>
*/
@java.lang.Override
public com.particles.mes.protos.openrtb.BidRequest.Imp.Video getVideo() {
return instance.getVideo();
}
/**
* <pre>
* Video object for video assets.
* Note that in-stream video ads are not part of Native.
* Native ads may contain a video as the ad creative itself.
* </pre>
*
* <code>.com.google.openrtb.BidRequest.Imp.Video video = 5;</code>
*/
public Builder setVideo(com.particles.mes.protos.openrtb.BidRequest.Imp.Video value) {
copyOnWrite();
instance.setVideo(value);
return this;
}
/**
* <pre>
* Video object for video assets.
* Note that in-stream video ads are not part of Native.
* Native ads may contain a video as the ad creative itself.
* </pre>
*
* <code>.com.google.openrtb.BidRequest.Imp.Video video = 5;</code>
*/
public Builder setVideo(
com.particles.mes.protos.openrtb.BidRequest.Imp.Video.Builder builderForValue) {
copyOnWrite();
instance.setVideo(builderForValue.build());
return this;
}
/**
* <pre>
* Video object for video assets.
* Note that in-stream video ads are not part of Native.
* Native ads may contain a video as the ad creative itself.
* </pre>
*
* <code>.com.google.openrtb.BidRequest.Imp.Video video = 5;</code>
*/
public Builder mergeVideo(com.particles.mes.protos.openrtb.BidRequest.Imp.Video value) {
copyOnWrite();
instance.mergeVideo(value);
return this;
}
/**
* <pre>
* Video object for video assets.
* Note that in-stream video ads are not part of Native.
* Native ads may contain a video as the ad creative itself.
* </pre>
*
* <code>.com.google.openrtb.BidRequest.Imp.Video video = 5;</code>
*/
public Builder clearVideo() {
copyOnWrite();
instance.clearVideo();
return this;
}
/**
* <pre>
* Data object for brand name, description, ratings, prices or other
* similar elements.
* </pre>
*
* <code>.com.google.openrtb.NativeRequest.Asset.Data data = 6;</code>
*/
@java.lang.Override
public boolean hasData() {
return instance.hasData();
}
/**
* <pre>
* Data object for brand name, description, ratings, prices or other
* similar elements.
* </pre>
*
* <code>.com.google.openrtb.NativeRequest.Asset.Data data = 6;</code>
*/
@java.lang.Override
public com.particles.mes.protos.openrtb.NativeRequest.Asset.Data getData() {
return instance.getData();
}
/**
* <pre>
* Data object for brand name, description, ratings, prices or other
* similar elements.
* </pre>
*
* <code>.com.google.openrtb.NativeRequest.Asset.Data data = 6;</code>
*/
public Builder setData(com.particles.mes.protos.openrtb.NativeRequest.Asset.Data value) {
copyOnWrite();
instance.setData(value);
return this;
}
/**
* <pre>
* Data object for brand name, description, ratings, prices or other
* similar elements.
* </pre>
*
* <code>.com.google.openrtb.NativeRequest.Asset.Data data = 6;</code>
*/
public Builder setData(
com.particles.mes.protos.openrtb.NativeRequest.Asset.Data.Builder builderForValue) {
copyOnWrite();
instance.setData(builderForValue.build());
return this;
}
/**
* <pre>
* Data object for brand name, description, ratings, prices or other
* similar elements.
* </pre>
*
* <code>.com.google.openrtb.NativeRequest.Asset.Data data = 6;</code>
*/
public Builder mergeData(com.particles.mes.protos.openrtb.NativeRequest.Asset.Data value) {
copyOnWrite();
instance.mergeData(value);
return this;
}
/**
* <pre>
* Data object for brand name, description, ratings, prices or other
* similar elements.
* </pre>
*
* <code>.com.google.openrtb.NativeRequest.Asset.Data data = 6;</code>
*/
public Builder clearData() {
copyOnWrite();
instance.clearData();
return this;
}
/**
* <pre>
* Unique asset ID, assigned by exchange. Typically a counter for the array.
* REQUIRED by the OpenRTB Native specification.
* </pre>
*
* <code>required int32 id = 1;</code>
* @return Whether the id field is set.
*/
@java.lang.Override
public boolean hasId() {
return instance.hasId();
}
/**
* <pre>
* Unique asset ID, assigned by exchange. Typically a counter for the array.
* REQUIRED by the OpenRTB Native specification.
* </pre>
*
* <code>required int32 id = 1;</code>
* @return The id.
*/
@java.lang.Override
public int getId() {
return instance.getId();
}
/**
* <pre>
* Unique asset ID, assigned by exchange. Typically a counter for the array.
* REQUIRED by the OpenRTB Native specification.
* </pre>
*
* <code>required int32 id = 1;</code>
* @param value The id to set.
* @return This builder for chaining.
*/
public Builder setId(int value) {
copyOnWrite();
instance.setId(value);
return this;
}
/**
* <pre>
* Unique asset ID, assigned by exchange. Typically a counter for the array.
* REQUIRED by the OpenRTB Native specification.
* </pre>
*
* <code>required int32 id = 1;</code>
* @return This builder for chaining.
*/
public Builder clearId() {
copyOnWrite();
instance.clearId();
return this;
}
/**
* <pre>
* Set to true if asset is required
* (exchange will not accept a bid without it).
* </pre>
*
* <code>optional bool required = 2 [default = false];</code>
* @return Whether the required field is set.
*/
@java.lang.Override
public boolean hasRequired() {
return instance.hasRequired();
}
/**
* <pre>
* Set to true if asset is required
* (exchange will not accept a bid without it).
* </pre>
*
* <code>optional bool required = 2 [default = false];</code>
* @return The required.
*/
@java.lang.Override
public boolean getRequired() {
return instance.getRequired();
}
/**
* <pre>
* Set to true if asset is required
* (exchange will not accept a bid without it).
* </pre>
*
* <code>optional bool required = 2 [default = false];</code>
* @param value The required to set.
* @return This builder for chaining.
*/
public Builder setRequired(boolean value) {
copyOnWrite();
instance.setRequired(value);
return this;
}
/**
* <pre>
* Set to true if asset is required
* (exchange will not accept a bid without it).
* </pre>
*
* <code>optional bool required = 2 [default = false];</code>
* @return This builder for chaining.
*/
public Builder clearRequired() {
copyOnWrite();
instance.clearRequired();
return this;
}
// @@protoc_insertion_point(builder_scope:com.google.openrtb.NativeRequest.Asset)
}
private byte memoizedIsInitialized = 2;
@java.lang.Override
@java.lang.SuppressWarnings({"unchecked", "fallthrough"})
protected final java.lang.Object dynamicMethod(
com.google.protobuf.GeneratedMessageLite.MethodToInvoke method,
java.lang.Object arg0, java.lang.Object arg1) {
switch (method) {
case NEW_MUTABLE_INSTANCE: {
return new com.particles.mes.protos.openrtb.NativeRequest.Asset();
}
case NEW_BUILDER: {
return new Builder();
}
case BUILD_MESSAGE_INFO: {
java.lang.Object[] objects = new java.lang.Object[] {
"assetOneof_",
"assetOneofCase_",
"bitField0_",
"id_",
"required_",
com.particles.mes.protos.openrtb.NativeRequest.Asset.Title.class,
com.particles.mes.protos.openrtb.NativeRequest.Asset.Image.class,
com.particles.mes.protos.openrtb.BidRequest.Imp.Video.class,
com.particles.mes.protos.openrtb.NativeRequest.Asset.Data.class,
};
java.lang.String info =
"\u0001\u0006\u0001\u0001\u0001\u0006\u0006\u0000\u0000\u0005\u0001\u1504\u0004\u0002" +
"\u1007\u0005\u0003\u143c\u0000\u0004\u143c\u0000\u0005\u143c\u0000\u0006\u143c\u0000" +
"";
return newMessageInfo(DEFAULT_INSTANCE, info, objects);
}
// fall through
case GET_DEFAULT_INSTANCE: {
return DEFAULT_INSTANCE;
}
case GET_PARSER: {
com.google.protobuf.Parser<com.particles.mes.protos.openrtb.NativeRequest.Asset> parser = PARSER;
if (parser == null) {
synchronized (com.particles.mes.protos.openrtb.NativeRequest.Asset.class) {
parser = PARSER;
if (parser == null) {
parser =
new DefaultInstanceBasedParser<com.particles.mes.protos.openrtb.NativeRequest.Asset>(
DEFAULT_INSTANCE);
PARSER = parser;
}
}
}
return parser;
}
case GET_MEMOIZED_IS_INITIALIZED: {
return memoizedIsInitialized;
}
case SET_MEMOIZED_IS_INITIALIZED: {
memoizedIsInitialized = (byte) (arg0 == null ? 0 : 1);
return null;
}
}
throw new UnsupportedOperationException();
}
// @@protoc_insertion_point(class_scope:com.google.openrtb.NativeRequest.Asset)
private static final com.particles.mes.protos.openrtb.NativeRequest.Asset DEFAULT_INSTANCE;
static {
Asset defaultInstance = new Asset();
// New instances are implicitly immutable so no need to make
// immutable.
DEFAULT_INSTANCE = defaultInstance;
com.google.protobuf.GeneratedMessageLite.registerDefaultInstance(
Asset.class, defaultInstance);
}
public static com.particles.mes.protos.openrtb.NativeRequest.Asset getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static volatile com.google.protobuf.Parser<Asset> PARSER;
public static com.google.protobuf.Parser<Asset> parser() {
return DEFAULT_INSTANCE.getParserForType();
}
}
public interface EventTrackersOrBuilder extends
// @@protoc_insertion_point(interface_extends:com.google.openrtb.NativeRequest.EventTrackers)
com.google.protobuf.GeneratedMessageLite.
ExtendableMessageOrBuilder<
EventTrackers, EventTrackers.Builder> {
/**
* <pre>
* Type of event available for tracking.
* REQUIRED by the OpenRTB Native specification.
* </pre>
*
* <code>required .com.google.openrtb.EventType event = 1;</code>
* @return Whether the event field is set.
*/
boolean hasEvent();
/**
* <pre>
* Type of event available for tracking.
* REQUIRED by the OpenRTB Native specification.
* </pre>
*
* <code>required .com.google.openrtb.EventType event = 1;</code>
* @return The event.
*/
com.particles.mes.protos.openrtb.EventType getEvent();
/**
* <pre>
* Array of types of tracking available for the given event.
* REQUIRED by the OpenRTB Native specification.
* </pre>
*
* <code>repeated .com.google.openrtb.EventTrackingMethod methods = 2;</code>
* @return A list containing the methods.
*/
java.util.List<com.particles.mes.protos.openrtb.EventTrackingMethod> getMethodsList();
/**
* <pre>
* Array of types of tracking available for the given event.
* REQUIRED by the OpenRTB Native specification.
* </pre>
*
* <code>repeated .com.google.openrtb.EventTrackingMethod methods = 2;</code>
* @return The count of methods.
*/
int getMethodsCount();
/**
* <pre>
* Array of types of tracking available for the given event.
* REQUIRED by the OpenRTB Native specification.
* </pre>
*
* <code>repeated .com.google.openrtb.EventTrackingMethod methods = 2;</code>
* @param index The index of the element to return.
* @return The methods at the given index.
*/
com.particles.mes.protos.openrtb.EventTrackingMethod getMethods(int index);
}
/**
* <pre>
* OpenRTB Native 1.2: The EventTrackers object specifies the type of events
* the bidder can request to be tracked in the bid response, and which types
* of tracking are available for each event type, and is included as an array
* in the request.
* </pre>
*
* Protobuf type {@code com.google.openrtb.NativeRequest.EventTrackers}
*/
public static final class EventTrackers extends
com.google.protobuf.GeneratedMessageLite.ExtendableMessage<
EventTrackers, EventTrackers.Builder> implements
// @@protoc_insertion_point(message_implements:com.google.openrtb.NativeRequest.EventTrackers)
EventTrackersOrBuilder {
private EventTrackers() {
event_ = 1;
methods_ = emptyIntList();
}
private int bitField0_;
public static final int EVENT_FIELD_NUMBER = 1;
private int event_;
/**
* <pre>
* Type of event available for tracking.
* REQUIRED by the OpenRTB Native specification.
* </pre>
*
* <code>required .com.google.openrtb.EventType event = 1;</code>
* @return Whether the event field is set.
*/
@java.lang.Override
public boolean hasEvent() {
return ((bitField0_ & 0x00000001) != 0);
}
/**
* <pre>
* Type of event available for tracking.
* REQUIRED by the OpenRTB Native specification.
* </pre>
*
* <code>required .com.google.openrtb.EventType event = 1;</code>
* @return The event.
*/
@java.lang.Override
public com.particles.mes.protos.openrtb.EventType getEvent() {
com.particles.mes.protos.openrtb.EventType result = com.particles.mes.protos.openrtb.EventType.forNumber(event_);
return result == null ? com.particles.mes.protos.openrtb.EventType.IMPRESSION : result;
}
/**
* <pre>
* Type of event available for tracking.
* REQUIRED by the OpenRTB Native specification.
* </pre>
*
* <code>required .com.google.openrtb.EventType event = 1;</code>
* @param value The event to set.
*/
private void setEvent(com.particles.mes.protos.openrtb.EventType value) {
event_ = value.getNumber();
bitField0_ |= 0x00000001;
}
/**
* <pre>
* Type of event available for tracking.
* REQUIRED by the OpenRTB Native specification.
* </pre>
*
* <code>required .com.google.openrtb.EventType event = 1;</code>
*/
private void clearEvent() {
bitField0_ = (bitField0_ & ~0x00000001);
event_ = 1;
}
public static final int METHODS_FIELD_NUMBER = 2;
private com.google.protobuf.Internal.IntList methods_;
private static final com.google.protobuf.Internal.ListAdapter.Converter<
java.lang.Integer, com.particles.mes.protos.openrtb.EventTrackingMethod> methods_converter_ =
new com.google.protobuf.Internal.ListAdapter.Converter<
java.lang.Integer, com.particles.mes.protos.openrtb.EventTrackingMethod>() {
@java.lang.Override
public com.particles.mes.protos.openrtb.EventTrackingMethod convert(java.lang.Integer from) {
com.particles.mes.protos.openrtb.EventTrackingMethod result = com.particles.mes.protos.openrtb.EventTrackingMethod.forNumber(from);
return result == null ? com.particles.mes.protos.openrtb.EventTrackingMethod.IMG : result;
}
};
/**
* <pre>
* Array of types of tracking available for the given event.
* REQUIRED by the OpenRTB Native specification.
* </pre>
*
* <code>repeated .com.google.openrtb.EventTrackingMethod methods = 2;</code>
* @return A list containing the methods.
*/
@java.lang.Override
public java.util.List<com.particles.mes.protos.openrtb.EventTrackingMethod> getMethodsList() {
return new com.google.protobuf.Internal.ListAdapter<
java.lang.Integer, com.particles.mes.protos.openrtb.EventTrackingMethod>(methods_, methods_converter_);
}
/**
* <pre>
* Array of types of tracking available for the given event.
* REQUIRED by the OpenRTB Native specification.
* </pre>
*
* <code>repeated .com.google.openrtb.EventTrackingMethod methods = 2;</code>
* @return The count of methods.
*/
@java.lang.Override
public int getMethodsCount() {
return methods_.size();
}
/**
* <pre>
* Array of types of tracking available for the given event.
* REQUIRED by the OpenRTB Native specification.
* </pre>
*
* <code>repeated .com.google.openrtb.EventTrackingMethod methods = 2;</code>
* @param index The index of the element to return.
* @return The methods at the given index.
*/
@java.lang.Override
public com.particles.mes.protos.openrtb.EventTrackingMethod getMethods(int index) {
com.particles.mes.protos.openrtb.EventTrackingMethod result = com.particles.mes.protos.openrtb.EventTrackingMethod.forNumber(methods_.getInt(index));
return result == null ? com.particles.mes.protos.openrtb.EventTrackingMethod.IMG : result;
}
private void ensureMethodsIsMutable() {
com.google.protobuf.Internal.IntList tmp = methods_;
if (!tmp.isModifiable()) {
methods_ =
com.google.protobuf.GeneratedMessageLite.mutableCopy(tmp);
}
}
/**
* <pre>
* Array of types of tracking available for the given event.
* REQUIRED by the OpenRTB Native specification.
* </pre>
*
* <code>repeated .com.google.openrtb.EventTrackingMethod methods = 2;</code>
* @param index The index to set the value at.
* @param value The methods to set.
*/
private void setMethods(
int index, com.particles.mes.protos.openrtb.EventTrackingMethod value) {
value.getClass();
ensureMethodsIsMutable();
methods_.setInt(index, value.getNumber());
}
/**
* <pre>
* Array of types of tracking available for the given event.
* REQUIRED by the OpenRTB Native specification.
* </pre>
*
* <code>repeated .com.google.openrtb.EventTrackingMethod methods = 2;</code>
* @param value The methods to add.
*/
private void addMethods(com.particles.mes.protos.openrtb.EventTrackingMethod value) {
value.getClass();
ensureMethodsIsMutable();
methods_.addInt(value.getNumber());
}
/**
* <pre>
* Array of types of tracking available for the given event.
* REQUIRED by the OpenRTB Native specification.
* </pre>
*
* <code>repeated .com.google.openrtb.EventTrackingMethod methods = 2;</code>
* @param values The methods to add.
*/
private void addAllMethods(
java.lang.Iterable<? extends com.particles.mes.protos.openrtb.EventTrackingMethod> values) {
ensureMethodsIsMutable();
for (com.particles.mes.protos.openrtb.EventTrackingMethod value : values) {
methods_.addInt(value.getNumber());
}
}
/**
* <pre>
* Array of types of tracking available for the given event.
* REQUIRED by the OpenRTB Native specification.
* </pre>
*
* <code>repeated .com.google.openrtb.EventTrackingMethod methods = 2;</code>
*/
private void clearMethods() {
methods_ = emptyIntList();
}
public static com.particles.mes.protos.openrtb.NativeRequest.EventTrackers parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, data);
}
public static com.particles.mes.protos.openrtb.NativeRequest.EventTrackers parseFrom(
java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, data, extensionRegistry);
}
public static com.particles.mes.protos.openrtb.NativeRequest.EventTrackers parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, data);
}
public static com.particles.mes.protos.openrtb.NativeRequest.EventTrackers parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, data, extensionRegistry);
}
public static com.particles.mes.protos.openrtb.NativeRequest.EventTrackers parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, data);
}
public static com.particles.mes.protos.openrtb.NativeRequest.EventTrackers parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, data, extensionRegistry);
}
public static com.particles.mes.protos.openrtb.NativeRequest.EventTrackers parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, input);
}
public static com.particles.mes.protos.openrtb.NativeRequest.EventTrackers parseFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, input, extensionRegistry);
}
public static com.particles.mes.protos.openrtb.NativeRequest.EventTrackers parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return parseDelimitedFrom(DEFAULT_INSTANCE, input);
}
public static com.particles.mes.protos.openrtb.NativeRequest.EventTrackers parseDelimitedFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return parseDelimitedFrom(DEFAULT_INSTANCE, input, extensionRegistry);
}
public static com.particles.mes.protos.openrtb.NativeRequest.EventTrackers parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, input);
}
public static com.particles.mes.protos.openrtb.NativeRequest.EventTrackers parseFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, input, extensionRegistry);
}
public static Builder newBuilder() {
return (Builder) DEFAULT_INSTANCE.createBuilder();
}
public static Builder newBuilder(com.particles.mes.protos.openrtb.NativeRequest.EventTrackers prototype) {
return (Builder) DEFAULT_INSTANCE.createBuilder(prototype);
}
/**
* <pre>
* OpenRTB Native 1.2: The EventTrackers object specifies the type of events
* the bidder can request to be tracked in the bid response, and which types
* of tracking are available for each event type, and is included as an array
* in the request.
* </pre>
*
* Protobuf type {@code com.google.openrtb.NativeRequest.EventTrackers}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageLite.ExtendableBuilder<
com.particles.mes.protos.openrtb.NativeRequest.EventTrackers, Builder> implements
// @@protoc_insertion_point(builder_implements:com.google.openrtb.NativeRequest.EventTrackers)
com.particles.mes.protos.openrtb.NativeRequest.EventTrackersOrBuilder {
// Construct using com.particles.mes.protos.openrtb.NativeRequest.EventTrackers.newBuilder()
private Builder() {
super(DEFAULT_INSTANCE);
}
/**
* <pre>
* Type of event available for tracking.
* REQUIRED by the OpenRTB Native specification.
* </pre>
*
* <code>required .com.google.openrtb.EventType event = 1;</code>
* @return Whether the event field is set.
*/
@java.lang.Override
public boolean hasEvent() {
return instance.hasEvent();
}
/**
* <pre>
* Type of event available for tracking.
* REQUIRED by the OpenRTB Native specification.
* </pre>
*
* <code>required .com.google.openrtb.EventType event = 1;</code>
* @return The event.
*/
@java.lang.Override
public com.particles.mes.protos.openrtb.EventType getEvent() {
return instance.getEvent();
}
/**
* <pre>
* Type of event available for tracking.
* REQUIRED by the OpenRTB Native specification.
* </pre>
*
* <code>required .com.google.openrtb.EventType event = 1;</code>
* @param value The enum numeric value on the wire for event to set.
* @return This builder for chaining.
*/
public Builder setEvent(com.particles.mes.protos.openrtb.EventType value) {
copyOnWrite();
instance.setEvent(value);
return this;
}
/**
* <pre>
* Type of event available for tracking.
* REQUIRED by the OpenRTB Native specification.
* </pre>
*
* <code>required .com.google.openrtb.EventType event = 1;</code>
* @return This builder for chaining.
*/
public Builder clearEvent() {
copyOnWrite();
instance.clearEvent();
return this;
}
/**
* <pre>
* Array of types of tracking available for the given event.
* REQUIRED by the OpenRTB Native specification.
* </pre>
*
* <code>repeated .com.google.openrtb.EventTrackingMethod methods = 2;</code>
* @return A list containing the methods.
*/
@java.lang.Override
public java.util.List<com.particles.mes.protos.openrtb.EventTrackingMethod> getMethodsList() {
return instance.getMethodsList();
}
/**
* <pre>
* Array of types of tracking available for the given event.
* REQUIRED by the OpenRTB Native specification.
* </pre>
*
* <code>repeated .com.google.openrtb.EventTrackingMethod methods = 2;</code>
* @return The count of methods.
*/
@java.lang.Override
public int getMethodsCount() {
return instance.getMethodsCount();
}
/**
* <pre>
* Array of types of tracking available for the given event.
* REQUIRED by the OpenRTB Native specification.
* </pre>
*
* <code>repeated .com.google.openrtb.EventTrackingMethod methods = 2;</code>
* @param index The index of the element to return.
* @return The methods at the given index.
*/
@java.lang.Override
public com.particles.mes.protos.openrtb.EventTrackingMethod getMethods(int index) {
return instance.getMethods(index);
}
/**
* <pre>
* Array of types of tracking available for the given event.
* REQUIRED by the OpenRTB Native specification.
* </pre>
*
* <code>repeated .com.google.openrtb.EventTrackingMethod methods = 2;</code>
* @param index The index to set the value at.
* @param value The methods to set.
* @return This builder for chaining.
*/
public Builder setMethods(
int index, com.particles.mes.protos.openrtb.EventTrackingMethod value) {
copyOnWrite();
instance.setMethods(index, value);
return this;
}
/**
* <pre>
* Array of types of tracking available for the given event.
* REQUIRED by the OpenRTB Native specification.
* </pre>
*
* <code>repeated .com.google.openrtb.EventTrackingMethod methods = 2;</code>
* @param value The methods to add.
* @return This builder for chaining.
*/
public Builder addMethods(com.particles.mes.protos.openrtb.EventTrackingMethod value) {
copyOnWrite();
instance.addMethods(value);
return this;
}
/**
* <pre>
* Array of types of tracking available for the given event.
* REQUIRED by the OpenRTB Native specification.
* </pre>
*
* <code>repeated .com.google.openrtb.EventTrackingMethod methods = 2;</code>
* @param values The methods to add.
* @return This builder for chaining.
*/
public Builder addAllMethods(
java.lang.Iterable<? extends com.particles.mes.protos.openrtb.EventTrackingMethod> values) {
copyOnWrite();
instance.addAllMethods(values); return this;
}
/**
* <pre>
* Array of types of tracking available for the given event.
* REQUIRED by the OpenRTB Native specification.
* </pre>
*
* <code>repeated .com.google.openrtb.EventTrackingMethod methods = 2;</code>
* @return This builder for chaining.
*/
public Builder clearMethods() {
copyOnWrite();
instance.clearMethods();
return this;
}
// @@protoc_insertion_point(builder_scope:com.google.openrtb.NativeRequest.EventTrackers)
}
private byte memoizedIsInitialized = 2;
@java.lang.Override
@java.lang.SuppressWarnings({"unchecked", "fallthrough"})
protected final java.lang.Object dynamicMethod(
com.google.protobuf.GeneratedMessageLite.MethodToInvoke method,
java.lang.Object arg0, java.lang.Object arg1) {
switch (method) {
case NEW_MUTABLE_INSTANCE: {
return new com.particles.mes.protos.openrtb.NativeRequest.EventTrackers();
}
case NEW_BUILDER: {
return new Builder();
}
case BUILD_MESSAGE_INFO: {
java.lang.Object[] objects = new java.lang.Object[] {
"bitField0_",
"event_",
com.particles.mes.protos.openrtb.EventType.internalGetVerifier(),
"methods_",
com.particles.mes.protos.openrtb.EventTrackingMethod.internalGetVerifier(),
};
java.lang.String info =
"\u0001\u0002\u0000\u0001\u0001\u0002\u0002\u0000\u0001\u0001\u0001\u150c\u0000\u0002" +
"\u001e";
return newMessageInfo(DEFAULT_INSTANCE, info, objects);
}
// fall through
case GET_DEFAULT_INSTANCE: {
return DEFAULT_INSTANCE;
}
case GET_PARSER: {
com.google.protobuf.Parser<com.particles.mes.protos.openrtb.NativeRequest.EventTrackers> parser = PARSER;
if (parser == null) {
synchronized (com.particles.mes.protos.openrtb.NativeRequest.EventTrackers.class) {
parser = PARSER;
if (parser == null) {
parser =
new DefaultInstanceBasedParser<com.particles.mes.protos.openrtb.NativeRequest.EventTrackers>(
DEFAULT_INSTANCE);
PARSER = parser;
}
}
}
return parser;
}
case GET_MEMOIZED_IS_INITIALIZED: {
return memoizedIsInitialized;
}
case SET_MEMOIZED_IS_INITIALIZED: {
memoizedIsInitialized = (byte) (arg0 == null ? 0 : 1);
return null;
}
}
throw new UnsupportedOperationException();
}
// @@protoc_insertion_point(class_scope:com.google.openrtb.NativeRequest.EventTrackers)
private static final com.particles.mes.protos.openrtb.NativeRequest.EventTrackers DEFAULT_INSTANCE;
static {
EventTrackers defaultInstance = new EventTrackers();
// New instances are implicitly immutable so no need to make
// immutable.
DEFAULT_INSTANCE = defaultInstance;
com.google.protobuf.GeneratedMessageLite.registerDefaultInstance(
EventTrackers.class, defaultInstance);
}
public static com.particles.mes.protos.openrtb.NativeRequest.EventTrackers getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static volatile com.google.protobuf.Parser<EventTrackers> PARSER;
public static com.google.protobuf.Parser<EventTrackers> parser() {
return DEFAULT_INSTANCE.getParserForType();
}
}
private int bitField0_;
public static final int VER_FIELD_NUMBER = 1;
private java.lang.String ver_;
/**
* <pre>
* Version of the Native Markup version in use.
* </pre>
*
* <code>optional string ver = 1;</code>
* @return Whether the ver field is set.
*/
@java.lang.Override
public boolean hasVer() {
return ((bitField0_ & 0x00000001) != 0);
}
/**
* <pre>
* Version of the Native Markup version in use.
* </pre>
*
* <code>optional string ver = 1;</code>
* @return The ver.
*/
@java.lang.Override
public java.lang.String getVer() {
return ver_;
}
/**
* <pre>
* Version of the Native Markup version in use.
* </pre>
*
* <code>optional string ver = 1;</code>
* @return The bytes for ver.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getVerBytes() {
return com.google.protobuf.ByteString.copyFromUtf8(ver_);
}
/**
* <pre>
* Version of the Native Markup version in use.
* </pre>
*
* <code>optional string ver = 1;</code>
* @param value The ver to set.
*/
private void setVer(
java.lang.String value) {
java.lang.Class<?> valueClass = value.getClass();
bitField0_ |= 0x00000001;
ver_ = value;
}
/**
* <pre>
* Version of the Native Markup version in use.
* </pre>
*
* <code>optional string ver = 1;</code>
*/
private void clearVer() {
bitField0_ = (bitField0_ & ~0x00000001);
ver_ = getDefaultInstance().getVer();
}
/**
* <pre>
* Version of the Native Markup version in use.
* </pre>
*
* <code>optional string ver = 1;</code>
* @param value The bytes for ver to set.
*/
private void setVerBytes(
com.google.protobuf.ByteString value) {
ver_ = value.toStringUtf8();
bitField0_ |= 0x00000001;
}
public static final int CONTEXT_FIELD_NUMBER = 7;
private int context_;
/**
* <pre>
* The context in which the ad appears.
* </pre>
*
* <code>optional .com.google.openrtb.ContextType context = 7;</code>
* @return Whether the context field is set.
*/
@java.lang.Override
public boolean hasContext() {
return ((bitField0_ & 0x00000002) != 0);
}
/**
* <pre>
* The context in which the ad appears.
* </pre>
*
* <code>optional .com.google.openrtb.ContextType context = 7;</code>
* @return The context.
*/
@java.lang.Override
public com.particles.mes.protos.openrtb.ContextType getContext() {
com.particles.mes.protos.openrtb.ContextType result = com.particles.mes.protos.openrtb.ContextType.forNumber(context_);
return result == null ? com.particles.mes.protos.openrtb.ContextType.CONTENT : result;
}
/**
* <pre>
* The context in which the ad appears.
* </pre>
*
* <code>optional .com.google.openrtb.ContextType context = 7;</code>
* @param value The context to set.
*/
private void setContext(com.particles.mes.protos.openrtb.ContextType value) {
context_ = value.getNumber();
bitField0_ |= 0x00000002;
}
/**
* <pre>
* The context in which the ad appears.
* </pre>
*
* <code>optional .com.google.openrtb.ContextType context = 7;</code>
*/
private void clearContext() {
bitField0_ = (bitField0_ & ~0x00000002);
context_ = 1;
}
public static final int CONTEXTSUBTYPE_FIELD_NUMBER = 8;
private int contextsubtype_;
/**
* <pre>
* A more detailed context in which the ad appears.
* </pre>
*
* <code>optional .com.google.openrtb.ContextSubtype contextsubtype = 8;</code>
* @return Whether the contextsubtype field is set.
*/
@java.lang.Override
public boolean hasContextsubtype() {
return ((bitField0_ & 0x00000004) != 0);
}
/**
* <pre>
* A more detailed context in which the ad appears.
* </pre>
*
* <code>optional .com.google.openrtb.ContextSubtype contextsubtype = 8;</code>
* @return The contextsubtype.
*/
@java.lang.Override
public com.particles.mes.protos.openrtb.ContextSubtype getContextsubtype() {
com.particles.mes.protos.openrtb.ContextSubtype result = com.particles.mes.protos.openrtb.ContextSubtype.forNumber(contextsubtype_);
return result == null ? com.particles.mes.protos.openrtb.ContextSubtype.CONTENT_GENERAL_OR_MIXED : result;
}
/**
* <pre>
* A more detailed context in which the ad appears.
* </pre>
*
* <code>optional .com.google.openrtb.ContextSubtype contextsubtype = 8;</code>
* @param value The contextsubtype to set.
*/
private void setContextsubtype(com.particles.mes.protos.openrtb.ContextSubtype value) {
contextsubtype_ = value.getNumber();
bitField0_ |= 0x00000004;
}
/**
* <pre>
* A more detailed context in which the ad appears.
* </pre>
*
* <code>optional .com.google.openrtb.ContextSubtype contextsubtype = 8;</code>
*/
private void clearContextsubtype() {
bitField0_ = (bitField0_ & ~0x00000004);
contextsubtype_ = 10;
}
public static final int PLCMTTYPE_FIELD_NUMBER = 9;
private int plcmttype_;
/**
* <pre>
* The design/format/layout of the ad unit being offered.
* </pre>
*
* <code>optional .com.google.openrtb.PlacementType plcmttype = 9;</code>
* @return Whether the plcmttype field is set.
*/
@java.lang.Override
public boolean hasPlcmttype() {
return ((bitField0_ & 0x00000008) != 0);
}
/**
* <pre>
* The design/format/layout of the ad unit being offered.
* </pre>
*
* <code>optional .com.google.openrtb.PlacementType plcmttype = 9;</code>
* @return The plcmttype.
*/
@java.lang.Override
public com.particles.mes.protos.openrtb.PlacementType getPlcmttype() {
com.particles.mes.protos.openrtb.PlacementType result = com.particles.mes.protos.openrtb.PlacementType.forNumber(plcmttype_);
return result == null ? com.particles.mes.protos.openrtb.PlacementType.IN_FEED : result;
}
/**
* <pre>
* The design/format/layout of the ad unit being offered.
* </pre>
*
* <code>optional .com.google.openrtb.PlacementType plcmttype = 9;</code>
* @param value The plcmttype to set.
*/
private void setPlcmttype(com.particles.mes.protos.openrtb.PlacementType value) {
plcmttype_ = value.getNumber();
bitField0_ |= 0x00000008;
}
/**
* <pre>
* The design/format/layout of the ad unit being offered.
* </pre>
*
* <code>optional .com.google.openrtb.PlacementType plcmttype = 9;</code>
*/
private void clearPlcmttype() {
bitField0_ = (bitField0_ & ~0x00000008);
plcmttype_ = 1;
}
public static final int PLCMTCNT_FIELD_NUMBER = 4;
private int plcmtcnt_;
/**
* <pre>
* The number of identical placements in this Layout.
* </pre>
*
* <code>optional int32 plcmtcnt = 4 [default = 1];</code>
* @return Whether the plcmtcnt field is set.
*/
@java.lang.Override
public boolean hasPlcmtcnt() {
return ((bitField0_ & 0x00000010) != 0);
}
/**
* <pre>
* The number of identical placements in this Layout.
* </pre>
*
* <code>optional int32 plcmtcnt = 4 [default = 1];</code>
* @return The plcmtcnt.
*/
@java.lang.Override
public int getPlcmtcnt() {
return plcmtcnt_;
}
/**
* <pre>
* The number of identical placements in this Layout.
* </pre>
*
* <code>optional int32 plcmtcnt = 4 [default = 1];</code>
* @param value The plcmtcnt to set.
*/
private void setPlcmtcnt(int value) {
bitField0_ |= 0x00000010;
plcmtcnt_ = value;
}
/**
* <pre>
* The number of identical placements in this Layout.
* </pre>
*
* <code>optional int32 plcmtcnt = 4 [default = 1];</code>
*/
private void clearPlcmtcnt() {
bitField0_ = (bitField0_ & ~0x00000010);
plcmtcnt_ = 1;
}
public static final int SEQ_FIELD_NUMBER = 5;
private int seq_;
/**
* <pre>
* 0 for the first ad, 1 for the second ad, and so on. Note this would
* generally NOT be used in combination with plcmtcnt - either you are
* auctioning multiple identical placements (in which case
* plcmtcnt>1, seq=0) or you are holding separate auctions for distinct
* items in the feed (in which case plcmtcnt=1, seq>=1).
* </pre>
*
* <code>optional int32 seq = 5 [default = 0];</code>
* @return Whether the seq field is set.
*/
@java.lang.Override
public boolean hasSeq() {
return ((bitField0_ & 0x00000020) != 0);
}
/**
* <pre>
* 0 for the first ad, 1 for the second ad, and so on. Note this would
* generally NOT be used in combination with plcmtcnt - either you are
* auctioning multiple identical placements (in which case
* plcmtcnt>1, seq=0) or you are holding separate auctions for distinct
* items in the feed (in which case plcmtcnt=1, seq>=1).
* </pre>
*
* <code>optional int32 seq = 5 [default = 0];</code>
* @return The seq.
*/
@java.lang.Override
public int getSeq() {
return seq_;
}
/**
* <pre>
* 0 for the first ad, 1 for the second ad, and so on. Note this would
* generally NOT be used in combination with plcmtcnt - either you are
* auctioning multiple identical placements (in which case
* plcmtcnt>1, seq=0) or you are holding separate auctions for distinct
* items in the feed (in which case plcmtcnt=1, seq>=1).
* </pre>
*
* <code>optional int32 seq = 5 [default = 0];</code>
* @param value The seq to set.
*/
private void setSeq(int value) {
bitField0_ |= 0x00000020;
seq_ = value;
}
/**
* <pre>
* 0 for the first ad, 1 for the second ad, and so on. Note this would
* generally NOT be used in combination with plcmtcnt - either you are
* auctioning multiple identical placements (in which case
* plcmtcnt>1, seq=0) or you are holding separate auctions for distinct
* items in the feed (in which case plcmtcnt=1, seq>=1).
* </pre>
*
* <code>optional int32 seq = 5 [default = 0];</code>
*/
private void clearSeq() {
bitField0_ = (bitField0_ & ~0x00000020);
seq_ = 0;
}
public static final int ASSETS_FIELD_NUMBER = 6;
private com.google.protobuf.Internal.ProtobufList<com.particles.mes.protos.openrtb.NativeRequest.Asset> assets_;
/**
* <pre>
* Any bid must comply with the array of elements expressed by the Exchange.
* REQUIRED by the OpenRTB Native specification: at least 1 element.
* </pre>
*
* <code>repeated .com.google.openrtb.NativeRequest.Asset assets = 6;</code>
*/
@java.lang.Override
public java.util.List<com.particles.mes.protos.openrtb.NativeRequest.Asset> getAssetsList() {
return assets_;
}
/**
* <pre>
* Any bid must comply with the array of elements expressed by the Exchange.
* REQUIRED by the OpenRTB Native specification: at least 1 element.
* </pre>
*
* <code>repeated .com.google.openrtb.NativeRequest.Asset assets = 6;</code>
*/
public java.util.List<? extends com.particles.mes.protos.openrtb.NativeRequest.AssetOrBuilder>
getAssetsOrBuilderList() {
return assets_;
}
/**
* <pre>
* Any bid must comply with the array of elements expressed by the Exchange.
* REQUIRED by the OpenRTB Native specification: at least 1 element.
* </pre>
*
* <code>repeated .com.google.openrtb.NativeRequest.Asset assets = 6;</code>
*/
@java.lang.Override
public int getAssetsCount() {
return assets_.size();
}
/**
* <pre>
* Any bid must comply with the array of elements expressed by the Exchange.
* REQUIRED by the OpenRTB Native specification: at least 1 element.
* </pre>
*
* <code>repeated .com.google.openrtb.NativeRequest.Asset assets = 6;</code>
*/
@java.lang.Override
public com.particles.mes.protos.openrtb.NativeRequest.Asset getAssets(int index) {
return assets_.get(index);
}
/**
* <pre>
* Any bid must comply with the array of elements expressed by the Exchange.
* REQUIRED by the OpenRTB Native specification: at least 1 element.
* </pre>
*
* <code>repeated .com.google.openrtb.NativeRequest.Asset assets = 6;</code>
*/
public com.particles.mes.protos.openrtb.NativeRequest.AssetOrBuilder getAssetsOrBuilder(
int index) {
return assets_.get(index);
}
private void ensureAssetsIsMutable() {
com.google.protobuf.Internal.ProtobufList<com.particles.mes.protos.openrtb.NativeRequest.Asset> tmp = assets_;
if (!tmp.isModifiable()) {
assets_ =
com.google.protobuf.GeneratedMessageLite.mutableCopy(tmp);
}
}
/**
* <pre>
* Any bid must comply with the array of elements expressed by the Exchange.
* REQUIRED by the OpenRTB Native specification: at least 1 element.
* </pre>
*
* <code>repeated .com.google.openrtb.NativeRequest.Asset assets = 6;</code>
*/
private void setAssets(
int index, com.particles.mes.protos.openrtb.NativeRequest.Asset value) {
value.getClass();
ensureAssetsIsMutable();
assets_.set(index, value);
}
/**
* <pre>
* Any bid must comply with the array of elements expressed by the Exchange.
* REQUIRED by the OpenRTB Native specification: at least 1 element.
* </pre>
*
* <code>repeated .com.google.openrtb.NativeRequest.Asset assets = 6;</code>
*/
private void addAssets(com.particles.mes.protos.openrtb.NativeRequest.Asset value) {
value.getClass();
ensureAssetsIsMutable();
assets_.add(value);
}
/**
* <pre>
* Any bid must comply with the array of elements expressed by the Exchange.
* REQUIRED by the OpenRTB Native specification: at least 1 element.
* </pre>
*
* <code>repeated .com.google.openrtb.NativeRequest.Asset assets = 6;</code>
*/
private void addAssets(
int index, com.particles.mes.protos.openrtb.NativeRequest.Asset value) {
value.getClass();
ensureAssetsIsMutable();
assets_.add(index, value);
}
/**
* <pre>
* Any bid must comply with the array of elements expressed by the Exchange.
* REQUIRED by the OpenRTB Native specification: at least 1 element.
* </pre>
*
* <code>repeated .com.google.openrtb.NativeRequest.Asset assets = 6;</code>
*/
private void addAllAssets(
java.lang.Iterable<? extends com.particles.mes.protos.openrtb.NativeRequest.Asset> values) {
ensureAssetsIsMutable();
com.google.protobuf.AbstractMessageLite.addAll(
values, assets_);
}
/**
* <pre>
* Any bid must comply with the array of elements expressed by the Exchange.
* REQUIRED by the OpenRTB Native specification: at least 1 element.
* </pre>
*
* <code>repeated .com.google.openrtb.NativeRequest.Asset assets = 6;</code>
*/
private void clearAssets() {
assets_ = emptyProtobufList();
}
/**
* <pre>
* Any bid must comply with the array of elements expressed by the Exchange.
* REQUIRED by the OpenRTB Native specification: at least 1 element.
* </pre>
*
* <code>repeated .com.google.openrtb.NativeRequest.Asset assets = 6;</code>
*/
private void removeAssets(int index) {
ensureAssetsIsMutable();
assets_.remove(index);
}
public static final int AURLSUPPORT_FIELD_NUMBER = 11;
private boolean aurlsupport_;
/**
* <pre>
* Whether the supply source / impression supports returning an assetsurl
* instead of an asset object. false or the absence of the field indicates no
* such support.
* </pre>
*
* <code>optional bool aurlsupport = 11;</code>
* @return Whether the aurlsupport field is set.
*/
@java.lang.Override
public boolean hasAurlsupport() {
return ((bitField0_ & 0x00000040) != 0);
}
/**
* <pre>
* Whether the supply source / impression supports returning an assetsurl
* instead of an asset object. false or the absence of the field indicates no
* such support.
* </pre>
*
* <code>optional bool aurlsupport = 11;</code>
* @return The aurlsupport.
*/
@java.lang.Override
public boolean getAurlsupport() {
return aurlsupport_;
}
/**
* <pre>
* Whether the supply source / impression supports returning an assetsurl
* instead of an asset object. false or the absence of the field indicates no
* such support.
* </pre>
*
* <code>optional bool aurlsupport = 11;</code>
* @param value The aurlsupport to set.
*/
private void setAurlsupport(boolean value) {
bitField0_ |= 0x00000040;
aurlsupport_ = value;
}
/**
* <pre>
* Whether the supply source / impression supports returning an assetsurl
* instead of an asset object. false or the absence of the field indicates no
* such support.
* </pre>
*
* <code>optional bool aurlsupport = 11;</code>
*/
private void clearAurlsupport() {
bitField0_ = (bitField0_ & ~0x00000040);
aurlsupport_ = false;
}
public static final int DURLSUPPORT_FIELD_NUMBER = 12;
private boolean durlsupport_;
/**
* <pre>
* Whether the supply source / impression supports returning a DCO URL
* instead of an asset object. false or the absence of the field indicates no
* such support. Beta feature.
* </pre>
*
* <code>optional bool durlsupport = 12;</code>
* @return Whether the durlsupport field is set.
*/
@java.lang.Override
public boolean hasDurlsupport() {
return ((bitField0_ & 0x00000080) != 0);
}
/**
* <pre>
* Whether the supply source / impression supports returning a DCO URL
* instead of an asset object. false or the absence of the field indicates no
* such support. Beta feature.
* </pre>
*
* <code>optional bool durlsupport = 12;</code>
* @return The durlsupport.
*/
@java.lang.Override
public boolean getDurlsupport() {
return durlsupport_;
}
/**
* <pre>
* Whether the supply source / impression supports returning a DCO URL
* instead of an asset object. false or the absence of the field indicates no
* such support. Beta feature.
* </pre>
*
* <code>optional bool durlsupport = 12;</code>
* @param value The durlsupport to set.
*/
private void setDurlsupport(boolean value) {
bitField0_ |= 0x00000080;
durlsupport_ = value;
}
/**
* <pre>
* Whether the supply source / impression supports returning a DCO URL
* instead of an asset object. false or the absence of the field indicates no
* such support. Beta feature.
* </pre>
*
* <code>optional bool durlsupport = 12;</code>
*/
private void clearDurlsupport() {
bitField0_ = (bitField0_ & ~0x00000080);
durlsupport_ = false;
}
public static final int EVENTTRACKERS_FIELD_NUMBER = 13;
private com.google.protobuf.Internal.ProtobufList<com.particles.mes.protos.openrtb.NativeRequest.EventTrackers> eventtrackers_;
/**
* <pre>
* Specifies what type of event tracking is supported.
* </pre>
*
* <code>repeated .com.google.openrtb.NativeRequest.EventTrackers eventtrackers = 13;</code>
*/
@java.lang.Override
public java.util.List<com.particles.mes.protos.openrtb.NativeRequest.EventTrackers> getEventtrackersList() {
return eventtrackers_;
}
/**
* <pre>
* Specifies what type of event tracking is supported.
* </pre>
*
* <code>repeated .com.google.openrtb.NativeRequest.EventTrackers eventtrackers = 13;</code>
*/
public java.util.List<? extends com.particles.mes.protos.openrtb.NativeRequest.EventTrackersOrBuilder>
getEventtrackersOrBuilderList() {
return eventtrackers_;
}
/**
* <pre>
* Specifies what type of event tracking is supported.
* </pre>
*
* <code>repeated .com.google.openrtb.NativeRequest.EventTrackers eventtrackers = 13;</code>
*/
@java.lang.Override
public int getEventtrackersCount() {
return eventtrackers_.size();
}
/**
* <pre>
* Specifies what type of event tracking is supported.
* </pre>
*
* <code>repeated .com.google.openrtb.NativeRequest.EventTrackers eventtrackers = 13;</code>
*/
@java.lang.Override
public com.particles.mes.protos.openrtb.NativeRequest.EventTrackers getEventtrackers(int index) {
return eventtrackers_.get(index);
}
/**
* <pre>
* Specifies what type of event tracking is supported.
* </pre>
*
* <code>repeated .com.google.openrtb.NativeRequest.EventTrackers eventtrackers = 13;</code>
*/
public com.particles.mes.protos.openrtb.NativeRequest.EventTrackersOrBuilder getEventtrackersOrBuilder(
int index) {
return eventtrackers_.get(index);
}
private void ensureEventtrackersIsMutable() {
com.google.protobuf.Internal.ProtobufList<com.particles.mes.protos.openrtb.NativeRequest.EventTrackers> tmp = eventtrackers_;
if (!tmp.isModifiable()) {
eventtrackers_ =
com.google.protobuf.GeneratedMessageLite.mutableCopy(tmp);
}
}
/**
* <pre>
* Specifies what type of event tracking is supported.
* </pre>
*
* <code>repeated .com.google.openrtb.NativeRequest.EventTrackers eventtrackers = 13;</code>
*/
private void setEventtrackers(
int index, com.particles.mes.protos.openrtb.NativeRequest.EventTrackers value) {
value.getClass();
ensureEventtrackersIsMutable();
eventtrackers_.set(index, value);
}
/**
* <pre>
* Specifies what type of event tracking is supported.
* </pre>
*
* <code>repeated .com.google.openrtb.NativeRequest.EventTrackers eventtrackers = 13;</code>
*/
private void addEventtrackers(com.particles.mes.protos.openrtb.NativeRequest.EventTrackers value) {
value.getClass();
ensureEventtrackersIsMutable();
eventtrackers_.add(value);
}
/**
* <pre>
* Specifies what type of event tracking is supported.
* </pre>
*
* <code>repeated .com.google.openrtb.NativeRequest.EventTrackers eventtrackers = 13;</code>
*/
private void addEventtrackers(
int index, com.particles.mes.protos.openrtb.NativeRequest.EventTrackers value) {
value.getClass();
ensureEventtrackersIsMutable();
eventtrackers_.add(index, value);
}
/**
* <pre>
* Specifies what type of event tracking is supported.
* </pre>
*
* <code>repeated .com.google.openrtb.NativeRequest.EventTrackers eventtrackers = 13;</code>
*/
private void addAllEventtrackers(
java.lang.Iterable<? extends com.particles.mes.protos.openrtb.NativeRequest.EventTrackers> values) {
ensureEventtrackersIsMutable();
com.google.protobuf.AbstractMessageLite.addAll(
values, eventtrackers_);
}
/**
* <pre>
* Specifies what type of event tracking is supported.
* </pre>
*
* <code>repeated .com.google.openrtb.NativeRequest.EventTrackers eventtrackers = 13;</code>
*/
private void clearEventtrackers() {
eventtrackers_ = emptyProtobufList();
}
/**
* <pre>
* Specifies what type of event tracking is supported.
* </pre>
*
* <code>repeated .com.google.openrtb.NativeRequest.EventTrackers eventtrackers = 13;</code>
*/
private void removeEventtrackers(int index) {
ensureEventtrackersIsMutable();
eventtrackers_.remove(index);
}
public static final int PRIVACY_FIELD_NUMBER = 14;
private boolean privacy_;
/**
* <pre>
* Set to true when the native ad supports buyer-specific privacy notice.
* Set to false (or field absent) when the native ad doesn't support custom
* privacy links or if support is unknown.
* </pre>
*
* <code>optional bool privacy = 14;</code>
* @return Whether the privacy field is set.
*/
@java.lang.Override
public boolean hasPrivacy() {
return ((bitField0_ & 0x00000100) != 0);
}
/**
* <pre>
* Set to true when the native ad supports buyer-specific privacy notice.
* Set to false (or field absent) when the native ad doesn't support custom
* privacy links or if support is unknown.
* </pre>
*
* <code>optional bool privacy = 14;</code>
* @return The privacy.
*/
@java.lang.Override
public boolean getPrivacy() {
return privacy_;
}
/**
* <pre>
* Set to true when the native ad supports buyer-specific privacy notice.
* Set to false (or field absent) when the native ad doesn't support custom
* privacy links or if support is unknown.
* </pre>
*
* <code>optional bool privacy = 14;</code>
* @param value The privacy to set.
*/
private void setPrivacy(boolean value) {
bitField0_ |= 0x00000100;
privacy_ = value;
}
/**
* <pre>
* Set to true when the native ad supports buyer-specific privacy notice.
* Set to false (or field absent) when the native ad doesn't support custom
* privacy links or if support is unknown.
* </pre>
*
* <code>optional bool privacy = 14;</code>
*/
private void clearPrivacy() {
bitField0_ = (bitField0_ & ~0x00000100);
privacy_ = false;
}
public static final int LAYOUT_FIELD_NUMBER = 2;
private int layout_;
/**
* <pre>
* DEPRECATED in OpenRTB Native 1.1, REMOVED in 1.2+.
* Use field <code>plcmttype</code>.
* </pre>
*
* <code>optional .com.google.openrtb.LayoutId layout = 2 [deprecated = true];</code>
* @deprecated com.google.openrtb.NativeRequest.layout is deprecated.
* See openrtb/openrtb-v26.proto;l=2391
* @return Whether the layout field is set.
*/
@java.lang.Override
@java.lang.Deprecated public boolean hasLayout() {
return ((bitField0_ & 0x00000200) != 0);
}
/**
* <pre>
* DEPRECATED in OpenRTB Native 1.1, REMOVED in 1.2+.
* Use field <code>plcmttype</code>.
* </pre>
*
* <code>optional .com.google.openrtb.LayoutId layout = 2 [deprecated = true];</code>
* @deprecated com.google.openrtb.NativeRequest.layout is deprecated.
* See openrtb/openrtb-v26.proto;l=2391
* @return The layout.
*/
@java.lang.Override
@java.lang.Deprecated public com.particles.mes.protos.openrtb.LayoutId getLayout() {
com.particles.mes.protos.openrtb.LayoutId result = com.particles.mes.protos.openrtb.LayoutId.forNumber(layout_);
return result == null ? com.particles.mes.protos.openrtb.LayoutId.CONTENT_WALL : result;
}
/**
* <pre>
* DEPRECATED in OpenRTB Native 1.1, REMOVED in 1.2+.
* Use field <code>plcmttype</code>.
* </pre>
*
* <code>optional .com.google.openrtb.LayoutId layout = 2 [deprecated = true];</code>
* @deprecated com.google.openrtb.NativeRequest.layout is deprecated.
* See openrtb/openrtb-v26.proto;l=2391
* @param value The layout to set.
*/
private void setLayout(com.particles.mes.protos.openrtb.LayoutId value) {
layout_ = value.getNumber();
bitField0_ |= 0x00000200;
}
/**
* <pre>
* DEPRECATED in OpenRTB Native 1.1, REMOVED in 1.2+.
* Use field <code>plcmttype</code>.
* </pre>
*
* <code>optional .com.google.openrtb.LayoutId layout = 2 [deprecated = true];</code>
* @deprecated com.google.openrtb.NativeRequest.layout is deprecated.
* See openrtb/openrtb-v26.proto;l=2391
*/
private void clearLayout() {
bitField0_ = (bitField0_ & ~0x00000200);
layout_ = 1;
}
public static final int ADUNIT_FIELD_NUMBER = 3;
private int adunit_;
/**
* <pre>
* DEPRECATED in OpenRTB Native 1.1, REMOVED in 1.2+.
* Use fields <code>context</code> and <code>contextsubtype</code>.
* </pre>
*
* <code>optional .com.google.openrtb.AdUnitId adunit = 3 [deprecated = true];</code>
* @deprecated com.google.openrtb.NativeRequest.adunit is deprecated.
* See openrtb/openrtb-v26.proto;l=2395
* @return Whether the adunit field is set.
*/
@java.lang.Override
@java.lang.Deprecated public boolean hasAdunit() {
return ((bitField0_ & 0x00000400) != 0);
}
/**
* <pre>
* DEPRECATED in OpenRTB Native 1.1, REMOVED in 1.2+.
* Use fields <code>context</code> and <code>contextsubtype</code>.
* </pre>
*
* <code>optional .com.google.openrtb.AdUnitId adunit = 3 [deprecated = true];</code>
* @deprecated com.google.openrtb.NativeRequest.adunit is deprecated.
* See openrtb/openrtb-v26.proto;l=2395
* @return The adunit.
*/
@java.lang.Override
@java.lang.Deprecated public com.particles.mes.protos.openrtb.AdUnitId getAdunit() {
com.particles.mes.protos.openrtb.AdUnitId result = com.particles.mes.protos.openrtb.AdUnitId.forNumber(adunit_);
return result == null ? com.particles.mes.protos.openrtb.AdUnitId.PAID_SEARCH_UNIT : result;
}
/**
* <pre>
* DEPRECATED in OpenRTB Native 1.1, REMOVED in 1.2+.
* Use fields <code>context</code> and <code>contextsubtype</code>.
* </pre>
*
* <code>optional .com.google.openrtb.AdUnitId adunit = 3 [deprecated = true];</code>
* @deprecated com.google.openrtb.NativeRequest.adunit is deprecated.
* See openrtb/openrtb-v26.proto;l=2395
* @param value The adunit to set.
*/
private void setAdunit(com.particles.mes.protos.openrtb.AdUnitId value) {
adunit_ = value.getNumber();
bitField0_ |= 0x00000400;
}
/**
* <pre>
* DEPRECATED in OpenRTB Native 1.1, REMOVED in 1.2+.
* Use fields <code>context</code> and <code>contextsubtype</code>.
* </pre>
*
* <code>optional .com.google.openrtb.AdUnitId adunit = 3 [deprecated = true];</code>
* @deprecated com.google.openrtb.NativeRequest.adunit is deprecated.
* See openrtb/openrtb-v26.proto;l=2395
*/
private void clearAdunit() {
bitField0_ = (bitField0_ & ~0x00000400);
adunit_ = 1;
}
public static com.particles.mes.protos.openrtb.NativeRequest parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, data);
}
public static com.particles.mes.protos.openrtb.NativeRequest parseFrom(
java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, data, extensionRegistry);
}
public static com.particles.mes.protos.openrtb.NativeRequest parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, data);
}
public static com.particles.mes.protos.openrtb.NativeRequest parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, data, extensionRegistry);
}
public static com.particles.mes.protos.openrtb.NativeRequest parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, data);
}
public static com.particles.mes.protos.openrtb.NativeRequest parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, data, extensionRegistry);
}
public static com.particles.mes.protos.openrtb.NativeRequest parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, input);
}
public static com.particles.mes.protos.openrtb.NativeRequest parseFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, input, extensionRegistry);
}
public static com.particles.mes.protos.openrtb.NativeRequest parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return parseDelimitedFrom(DEFAULT_INSTANCE, input);
}
public static com.particles.mes.protos.openrtb.NativeRequest parseDelimitedFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return parseDelimitedFrom(DEFAULT_INSTANCE, input, extensionRegistry);
}
public static com.particles.mes.protos.openrtb.NativeRequest parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, input);
}
public static com.particles.mes.protos.openrtb.NativeRequest parseFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, input, extensionRegistry);
}
public static Builder newBuilder() {
return (Builder) DEFAULT_INSTANCE.createBuilder();
}
public static Builder newBuilder(com.particles.mes.protos.openrtb.NativeRequest prototype) {
return (Builder) DEFAULT_INSTANCE.createBuilder(prototype);
}
/**
* <pre>
* OpenRTB Native 1.0: The Native Object defines the native advertising
* opportunity available for bid through this bid request. It must be included
* directly in the impression object if the impression offered for auction
* is a native ad format.
* </pre>
*
* Protobuf type {@code com.google.openrtb.NativeRequest}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageLite.ExtendableBuilder<
com.particles.mes.protos.openrtb.NativeRequest, Builder> implements
// @@protoc_insertion_point(builder_implements:com.google.openrtb.NativeRequest)
com.particles.mes.protos.openrtb.NativeRequestOrBuilder {
// Construct using com.particles.mes.protos.openrtb.NativeRequest.newBuilder()
private Builder() {
super(DEFAULT_INSTANCE);
}
/**
* <pre>
* Version of the Native Markup version in use.
* </pre>
*
* <code>optional string ver = 1;</code>
* @return Whether the ver field is set.
*/
@java.lang.Override
public boolean hasVer() {
return instance.hasVer();
}
/**
* <pre>
* Version of the Native Markup version in use.
* </pre>
*
* <code>optional string ver = 1;</code>
* @return The ver.
*/
@java.lang.Override
public java.lang.String getVer() {
return instance.getVer();
}
/**
* <pre>
* Version of the Native Markup version in use.
* </pre>
*
* <code>optional string ver = 1;</code>
* @return The bytes for ver.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getVerBytes() {
return instance.getVerBytes();
}
/**
* <pre>
* Version of the Native Markup version in use.
* </pre>
*
* <code>optional string ver = 1;</code>
* @param value The ver to set.
* @return This builder for chaining.
*/
public Builder setVer(
java.lang.String value) {
copyOnWrite();
instance.setVer(value);
return this;
}
/**
* <pre>
* Version of the Native Markup version in use.
* </pre>
*
* <code>optional string ver = 1;</code>
* @return This builder for chaining.
*/
public Builder clearVer() {
copyOnWrite();
instance.clearVer();
return this;
}
/**
* <pre>
* Version of the Native Markup version in use.
* </pre>
*
* <code>optional string ver = 1;</code>
* @param value The bytes for ver to set.
* @return This builder for chaining.
*/
public Builder setVerBytes(
com.google.protobuf.ByteString value) {
copyOnWrite();
instance.setVerBytes(value);
return this;
}
/**
* <pre>
* The context in which the ad appears.
* </pre>
*
* <code>optional .com.google.openrtb.ContextType context = 7;</code>
* @return Whether the context field is set.
*/
@java.lang.Override
public boolean hasContext() {
return instance.hasContext();
}
/**
* <pre>
* The context in which the ad appears.
* </pre>
*
* <code>optional .com.google.openrtb.ContextType context = 7;</code>
* @return The context.
*/
@java.lang.Override
public com.particles.mes.protos.openrtb.ContextType getContext() {
return instance.getContext();
}
/**
* <pre>
* The context in which the ad appears.
* </pre>
*
* <code>optional .com.google.openrtb.ContextType context = 7;</code>
* @param value The enum numeric value on the wire for context to set.
* @return This builder for chaining.
*/
public Builder setContext(com.particles.mes.protos.openrtb.ContextType value) {
copyOnWrite();
instance.setContext(value);
return this;
}
/**
* <pre>
* The context in which the ad appears.
* </pre>
*
* <code>optional .com.google.openrtb.ContextType context = 7;</code>
* @return This builder for chaining.
*/
public Builder clearContext() {
copyOnWrite();
instance.clearContext();
return this;
}
/**
* <pre>
* A more detailed context in which the ad appears.
* </pre>
*
* <code>optional .com.google.openrtb.ContextSubtype contextsubtype = 8;</code>
* @return Whether the contextsubtype field is set.
*/
@java.lang.Override
public boolean hasContextsubtype() {
return instance.hasContextsubtype();
}
/**
* <pre>
* A more detailed context in which the ad appears.
* </pre>
*
* <code>optional .com.google.openrtb.ContextSubtype contextsubtype = 8;</code>
* @return The contextsubtype.
*/
@java.lang.Override
public com.particles.mes.protos.openrtb.ContextSubtype getContextsubtype() {
return instance.getContextsubtype();
}
/**
* <pre>
* A more detailed context in which the ad appears.
* </pre>
*
* <code>optional .com.google.openrtb.ContextSubtype contextsubtype = 8;</code>
* @param value The enum numeric value on the wire for contextsubtype to set.
* @return This builder for chaining.
*/
public Builder setContextsubtype(com.particles.mes.protos.openrtb.ContextSubtype value) {
copyOnWrite();
instance.setContextsubtype(value);
return this;
}
/**
* <pre>
* A more detailed context in which the ad appears.
* </pre>
*
* <code>optional .com.google.openrtb.ContextSubtype contextsubtype = 8;</code>
* @return This builder for chaining.
*/
public Builder clearContextsubtype() {
copyOnWrite();
instance.clearContextsubtype();
return this;
}
/**
* <pre>
* The design/format/layout of the ad unit being offered.
* </pre>
*
* <code>optional .com.google.openrtb.PlacementType plcmttype = 9;</code>
* @return Whether the plcmttype field is set.
*/
@java.lang.Override
public boolean hasPlcmttype() {
return instance.hasPlcmttype();
}
/**
* <pre>
* The design/format/layout of the ad unit being offered.
* </pre>
*
* <code>optional .com.google.openrtb.PlacementType plcmttype = 9;</code>
* @return The plcmttype.
*/
@java.lang.Override
public com.particles.mes.protos.openrtb.PlacementType getPlcmttype() {
return instance.getPlcmttype();
}
/**
* <pre>
* The design/format/layout of the ad unit being offered.
* </pre>
*
* <code>optional .com.google.openrtb.PlacementType plcmttype = 9;</code>
* @param value The enum numeric value on the wire for plcmttype to set.
* @return This builder for chaining.
*/
public Builder setPlcmttype(com.particles.mes.protos.openrtb.PlacementType value) {
copyOnWrite();
instance.setPlcmttype(value);
return this;
}
/**
* <pre>
* The design/format/layout of the ad unit being offered.
* </pre>
*
* <code>optional .com.google.openrtb.PlacementType plcmttype = 9;</code>
* @return This builder for chaining.
*/
public Builder clearPlcmttype() {
copyOnWrite();
instance.clearPlcmttype();
return this;
}
/**
* <pre>
* The number of identical placements in this Layout.
* </pre>
*
* <code>optional int32 plcmtcnt = 4 [default = 1];</code>
* @return Whether the plcmtcnt field is set.
*/
@java.lang.Override
public boolean hasPlcmtcnt() {
return instance.hasPlcmtcnt();
}
/**
* <pre>
* The number of identical placements in this Layout.
* </pre>
*
* <code>optional int32 plcmtcnt = 4 [default = 1];</code>
* @return The plcmtcnt.
*/
@java.lang.Override
public int getPlcmtcnt() {
return instance.getPlcmtcnt();
}
/**
* <pre>
* The number of identical placements in this Layout.
* </pre>
*
* <code>optional int32 plcmtcnt = 4 [default = 1];</code>
* @param value The plcmtcnt to set.
* @return This builder for chaining.
*/
public Builder setPlcmtcnt(int value) {
copyOnWrite();
instance.setPlcmtcnt(value);
return this;
}
/**
* <pre>
* The number of identical placements in this Layout.
* </pre>
*
* <code>optional int32 plcmtcnt = 4 [default = 1];</code>
* @return This builder for chaining.
*/
public Builder clearPlcmtcnt() {
copyOnWrite();
instance.clearPlcmtcnt();
return this;
}
/**
* <pre>
* 0 for the first ad, 1 for the second ad, and so on. Note this would
* generally NOT be used in combination with plcmtcnt - either you are
* auctioning multiple identical placements (in which case
* plcmtcnt>1, seq=0) or you are holding separate auctions for distinct
* items in the feed (in which case plcmtcnt=1, seq>=1).
* </pre>
*
* <code>optional int32 seq = 5 [default = 0];</code>
* @return Whether the seq field is set.
*/
@java.lang.Override
public boolean hasSeq() {
return instance.hasSeq();
}
/**
* <pre>
* 0 for the first ad, 1 for the second ad, and so on. Note this would
* generally NOT be used in combination with plcmtcnt - either you are
* auctioning multiple identical placements (in which case
* plcmtcnt>1, seq=0) or you are holding separate auctions for distinct
* items in the feed (in which case plcmtcnt=1, seq>=1).
* </pre>
*
* <code>optional int32 seq = 5 [default = 0];</code>
* @return The seq.
*/
@java.lang.Override
public int getSeq() {
return instance.getSeq();
}
/**
* <pre>
* 0 for the first ad, 1 for the second ad, and so on. Note this would
* generally NOT be used in combination with plcmtcnt - either you are
* auctioning multiple identical placements (in which case
* plcmtcnt>1, seq=0) or you are holding separate auctions for distinct
* items in the feed (in which case plcmtcnt=1, seq>=1).
* </pre>
*
* <code>optional int32 seq = 5 [default = 0];</code>
* @param value The seq to set.
* @return This builder for chaining.
*/
public Builder setSeq(int value) {
copyOnWrite();
instance.setSeq(value);
return this;
}
/**
* <pre>
* 0 for the first ad, 1 for the second ad, and so on. Note this would
* generally NOT be used in combination with plcmtcnt - either you are
* auctioning multiple identical placements (in which case
* plcmtcnt>1, seq=0) or you are holding separate auctions for distinct
* items in the feed (in which case plcmtcnt=1, seq>=1).
* </pre>
*
* <code>optional int32 seq = 5 [default = 0];</code>
* @return This builder for chaining.
*/
public Builder clearSeq() {
copyOnWrite();
instance.clearSeq();
return this;
}
/**
* <pre>
* Any bid must comply with the array of elements expressed by the Exchange.
* REQUIRED by the OpenRTB Native specification: at least 1 element.
* </pre>
*
* <code>repeated .com.google.openrtb.NativeRequest.Asset assets = 6;</code>
*/
@java.lang.Override
public java.util.List<com.particles.mes.protos.openrtb.NativeRequest.Asset> getAssetsList() {
return java.util.Collections.unmodifiableList(
instance.getAssetsList());
}
/**
* <pre>
* Any bid must comply with the array of elements expressed by the Exchange.
* REQUIRED by the OpenRTB Native specification: at least 1 element.
* </pre>
*
* <code>repeated .com.google.openrtb.NativeRequest.Asset assets = 6;</code>
*/
@java.lang.Override
public int getAssetsCount() {
return instance.getAssetsCount();
}/**
* <pre>
* Any bid must comply with the array of elements expressed by the Exchange.
* REQUIRED by the OpenRTB Native specification: at least 1 element.
* </pre>
*
* <code>repeated .com.google.openrtb.NativeRequest.Asset assets = 6;</code>
*/
@java.lang.Override
public com.particles.mes.protos.openrtb.NativeRequest.Asset getAssets(int index) {
return instance.getAssets(index);
}
/**
* <pre>
* Any bid must comply with the array of elements expressed by the Exchange.
* REQUIRED by the OpenRTB Native specification: at least 1 element.
* </pre>
*
* <code>repeated .com.google.openrtb.NativeRequest.Asset assets = 6;</code>
*/
public Builder setAssets(
int index, com.particles.mes.protos.openrtb.NativeRequest.Asset value) {
copyOnWrite();
instance.setAssets(index, value);
return this;
}
/**
* <pre>
* Any bid must comply with the array of elements expressed by the Exchange.
* REQUIRED by the OpenRTB Native specification: at least 1 element.
* </pre>
*
* <code>repeated .com.google.openrtb.NativeRequest.Asset assets = 6;</code>
*/
public Builder setAssets(
int index, com.particles.mes.protos.openrtb.NativeRequest.Asset.Builder builderForValue) {
copyOnWrite();
instance.setAssets(index,
builderForValue.build());
return this;
}
/**
* <pre>
* Any bid must comply with the array of elements expressed by the Exchange.
* REQUIRED by the OpenRTB Native specification: at least 1 element.
* </pre>
*
* <code>repeated .com.google.openrtb.NativeRequest.Asset assets = 6;</code>
*/
public Builder addAssets(com.particles.mes.protos.openrtb.NativeRequest.Asset value) {
copyOnWrite();
instance.addAssets(value);
return this;
}
/**
* <pre>
* Any bid must comply with the array of elements expressed by the Exchange.
* REQUIRED by the OpenRTB Native specification: at least 1 element.
* </pre>
*
* <code>repeated .com.google.openrtb.NativeRequest.Asset assets = 6;</code>
*/
public Builder addAssets(
int index, com.particles.mes.protos.openrtb.NativeRequest.Asset value) {
copyOnWrite();
instance.addAssets(index, value);
return this;
}
/**
* <pre>
* Any bid must comply with the array of elements expressed by the Exchange.
* REQUIRED by the OpenRTB Native specification: at least 1 element.
* </pre>
*
* <code>repeated .com.google.openrtb.NativeRequest.Asset assets = 6;</code>
*/
public Builder addAssets(
com.particles.mes.protos.openrtb.NativeRequest.Asset.Builder builderForValue) {
copyOnWrite();
instance.addAssets(builderForValue.build());
return this;
}
/**
* <pre>
* Any bid must comply with the array of elements expressed by the Exchange.
* REQUIRED by the OpenRTB Native specification: at least 1 element.
* </pre>
*
* <code>repeated .com.google.openrtb.NativeRequest.Asset assets = 6;</code>
*/
public Builder addAssets(
int index, com.particles.mes.protos.openrtb.NativeRequest.Asset.Builder builderForValue) {
copyOnWrite();
instance.addAssets(index,
builderForValue.build());
return this;
}
/**
* <pre>
* Any bid must comply with the array of elements expressed by the Exchange.
* REQUIRED by the OpenRTB Native specification: at least 1 element.
* </pre>
*
* <code>repeated .com.google.openrtb.NativeRequest.Asset assets = 6;</code>
*/
public Builder addAllAssets(
java.lang.Iterable<? extends com.particles.mes.protos.openrtb.NativeRequest.Asset> values) {
copyOnWrite();
instance.addAllAssets(values);
return this;
}
/**
* <pre>
* Any bid must comply with the array of elements expressed by the Exchange.
* REQUIRED by the OpenRTB Native specification: at least 1 element.
* </pre>
*
* <code>repeated .com.google.openrtb.NativeRequest.Asset assets = 6;</code>
*/
public Builder clearAssets() {
copyOnWrite();
instance.clearAssets();
return this;
}
/**
* <pre>
* Any bid must comply with the array of elements expressed by the Exchange.
* REQUIRED by the OpenRTB Native specification: at least 1 element.
* </pre>
*
* <code>repeated .com.google.openrtb.NativeRequest.Asset assets = 6;</code>
*/
public Builder removeAssets(int index) {
copyOnWrite();
instance.removeAssets(index);
return this;
}
/**
* <pre>
* Whether the supply source / impression supports returning an assetsurl
* instead of an asset object. false or the absence of the field indicates no
* such support.
* </pre>
*
* <code>optional bool aurlsupport = 11;</code>
* @return Whether the aurlsupport field is set.
*/
@java.lang.Override
public boolean hasAurlsupport() {
return instance.hasAurlsupport();
}
/**
* <pre>
* Whether the supply source / impression supports returning an assetsurl
* instead of an asset object. false or the absence of the field indicates no
* such support.
* </pre>
*
* <code>optional bool aurlsupport = 11;</code>
* @return The aurlsupport.
*/
@java.lang.Override
public boolean getAurlsupport() {
return instance.getAurlsupport();
}
/**
* <pre>
* Whether the supply source / impression supports returning an assetsurl
* instead of an asset object. false or the absence of the field indicates no
* such support.
* </pre>
*
* <code>optional bool aurlsupport = 11;</code>
* @param value The aurlsupport to set.
* @return This builder for chaining.
*/
public Builder setAurlsupport(boolean value) {
copyOnWrite();
instance.setAurlsupport(value);
return this;
}
/**
* <pre>
* Whether the supply source / impression supports returning an assetsurl
* instead of an asset object. false or the absence of the field indicates no
* such support.
* </pre>
*
* <code>optional bool aurlsupport = 11;</code>
* @return This builder for chaining.
*/
public Builder clearAurlsupport() {
copyOnWrite();
instance.clearAurlsupport();
return this;
}
/**
* <pre>
* Whether the supply source / impression supports returning a DCO URL
* instead of an asset object. false or the absence of the field indicates no
* such support. Beta feature.
* </pre>
*
* <code>optional bool durlsupport = 12;</code>
* @return Whether the durlsupport field is set.
*/
@java.lang.Override
public boolean hasDurlsupport() {
return instance.hasDurlsupport();
}
/**
* <pre>
* Whether the supply source / impression supports returning a DCO URL
* instead of an asset object. false or the absence of the field indicates no
* such support. Beta feature.
* </pre>
*
* <code>optional bool durlsupport = 12;</code>
* @return The durlsupport.
*/
@java.lang.Override
public boolean getDurlsupport() {
return instance.getDurlsupport();
}
/**
* <pre>
* Whether the supply source / impression supports returning a DCO URL
* instead of an asset object. false or the absence of the field indicates no
* such support. Beta feature.
* </pre>
*
* <code>optional bool durlsupport = 12;</code>
* @param value The durlsupport to set.
* @return This builder for chaining.
*/
public Builder setDurlsupport(boolean value) {
copyOnWrite();
instance.setDurlsupport(value);
return this;
}
/**
* <pre>
* Whether the supply source / impression supports returning a DCO URL
* instead of an asset object. false or the absence of the field indicates no
* such support. Beta feature.
* </pre>
*
* <code>optional bool durlsupport = 12;</code>
* @return This builder for chaining.
*/
public Builder clearDurlsupport() {
copyOnWrite();
instance.clearDurlsupport();
return this;
}
/**
* <pre>
* Specifies what type of event tracking is supported.
* </pre>
*
* <code>repeated .com.google.openrtb.NativeRequest.EventTrackers eventtrackers = 13;</code>
*/
@java.lang.Override
public java.util.List<com.particles.mes.protos.openrtb.NativeRequest.EventTrackers> getEventtrackersList() {
return java.util.Collections.unmodifiableList(
instance.getEventtrackersList());
}
/**
* <pre>
* Specifies what type of event tracking is supported.
* </pre>
*
* <code>repeated .com.google.openrtb.NativeRequest.EventTrackers eventtrackers = 13;</code>
*/
@java.lang.Override
public int getEventtrackersCount() {
return instance.getEventtrackersCount();
}/**
* <pre>
* Specifies what type of event tracking is supported.
* </pre>
*
* <code>repeated .com.google.openrtb.NativeRequest.EventTrackers eventtrackers = 13;</code>
*/
@java.lang.Override
public com.particles.mes.protos.openrtb.NativeRequest.EventTrackers getEventtrackers(int index) {
return instance.getEventtrackers(index);
}
/**
* <pre>
* Specifies what type of event tracking is supported.
* </pre>
*
* <code>repeated .com.google.openrtb.NativeRequest.EventTrackers eventtrackers = 13;</code>
*/
public Builder setEventtrackers(
int index, com.particles.mes.protos.openrtb.NativeRequest.EventTrackers value) {
copyOnWrite();
instance.setEventtrackers(index, value);
return this;
}
/**
* <pre>
* Specifies what type of event tracking is supported.
* </pre>
*
* <code>repeated .com.google.openrtb.NativeRequest.EventTrackers eventtrackers = 13;</code>
*/
public Builder setEventtrackers(
int index, com.particles.mes.protos.openrtb.NativeRequest.EventTrackers.Builder builderForValue) {
copyOnWrite();
instance.setEventtrackers(index,
builderForValue.build());
return this;
}
/**
* <pre>
* Specifies what type of event tracking is supported.
* </pre>
*
* <code>repeated .com.google.openrtb.NativeRequest.EventTrackers eventtrackers = 13;</code>
*/
public Builder addEventtrackers(com.particles.mes.protos.openrtb.NativeRequest.EventTrackers value) {
copyOnWrite();
instance.addEventtrackers(value);
return this;
}
/**
* <pre>
* Specifies what type of event tracking is supported.
* </pre>
*
* <code>repeated .com.google.openrtb.NativeRequest.EventTrackers eventtrackers = 13;</code>
*/
public Builder addEventtrackers(
int index, com.particles.mes.protos.openrtb.NativeRequest.EventTrackers value) {
copyOnWrite();
instance.addEventtrackers(index, value);
return this;
}
/**
* <pre>
* Specifies what type of event tracking is supported.
* </pre>
*
* <code>repeated .com.google.openrtb.NativeRequest.EventTrackers eventtrackers = 13;</code>
*/
public Builder addEventtrackers(
com.particles.mes.protos.openrtb.NativeRequest.EventTrackers.Builder builderForValue) {
copyOnWrite();
instance.addEventtrackers(builderForValue.build());
return this;
}
/**
* <pre>
* Specifies what type of event tracking is supported.
* </pre>
*
* <code>repeated .com.google.openrtb.NativeRequest.EventTrackers eventtrackers = 13;</code>
*/
public Builder addEventtrackers(
int index, com.particles.mes.protos.openrtb.NativeRequest.EventTrackers.Builder builderForValue) {
copyOnWrite();
instance.addEventtrackers(index,
builderForValue.build());
return this;
}
/**
* <pre>
* Specifies what type of event tracking is supported.
* </pre>
*
* <code>repeated .com.google.openrtb.NativeRequest.EventTrackers eventtrackers = 13;</code>
*/
public Builder addAllEventtrackers(
java.lang.Iterable<? extends com.particles.mes.protos.openrtb.NativeRequest.EventTrackers> values) {
copyOnWrite();
instance.addAllEventtrackers(values);
return this;
}
/**
* <pre>
* Specifies what type of event tracking is supported.
* </pre>
*
* <code>repeated .com.google.openrtb.NativeRequest.EventTrackers eventtrackers = 13;</code>
*/
public Builder clearEventtrackers() {
copyOnWrite();
instance.clearEventtrackers();
return this;
}
/**
* <pre>
* Specifies what type of event tracking is supported.
* </pre>
*
* <code>repeated .com.google.openrtb.NativeRequest.EventTrackers eventtrackers = 13;</code>
*/
public Builder removeEventtrackers(int index) {
copyOnWrite();
instance.removeEventtrackers(index);
return this;
}
/**
* <pre>
* Set to true when the native ad supports buyer-specific privacy notice.
* Set to false (or field absent) when the native ad doesn't support custom
* privacy links or if support is unknown.
* </pre>
*
* <code>optional bool privacy = 14;</code>
* @return Whether the privacy field is set.
*/
@java.lang.Override
public boolean hasPrivacy() {
return instance.hasPrivacy();
}
/**
* <pre>
* Set to true when the native ad supports buyer-specific privacy notice.
* Set to false (or field absent) when the native ad doesn't support custom
* privacy links or if support is unknown.
* </pre>
*
* <code>optional bool privacy = 14;</code>
* @return The privacy.
*/
@java.lang.Override
public boolean getPrivacy() {
return instance.getPrivacy();
}
/**
* <pre>
* Set to true when the native ad supports buyer-specific privacy notice.
* Set to false (or field absent) when the native ad doesn't support custom
* privacy links or if support is unknown.
* </pre>
*
* <code>optional bool privacy = 14;</code>
* @param value The privacy to set.
* @return This builder for chaining.
*/
public Builder setPrivacy(boolean value) {
copyOnWrite();
instance.setPrivacy(value);
return this;
}
/**
* <pre>
* Set to true when the native ad supports buyer-specific privacy notice.
* Set to false (or field absent) when the native ad doesn't support custom
* privacy links or if support is unknown.
* </pre>
*
* <code>optional bool privacy = 14;</code>
* @return This builder for chaining.
*/
public Builder clearPrivacy() {
copyOnWrite();
instance.clearPrivacy();
return this;
}
/**
* <pre>
* DEPRECATED in OpenRTB Native 1.1, REMOVED in 1.2+.
* Use field <code>plcmttype</code>.
* </pre>
*
* <code>optional .com.google.openrtb.LayoutId layout = 2 [deprecated = true];</code>
* @deprecated com.google.openrtb.NativeRequest.layout is deprecated.
* See openrtb/openrtb-v26.proto;l=2391
* @return Whether the layout field is set.
*/
@java.lang.Override
@java.lang.Deprecated public boolean hasLayout() {
return instance.hasLayout();
}
/**
* <pre>
* DEPRECATED in OpenRTB Native 1.1, REMOVED in 1.2+.
* Use field <code>plcmttype</code>.
* </pre>
*
* <code>optional .com.google.openrtb.LayoutId layout = 2 [deprecated = true];</code>
* @deprecated com.google.openrtb.NativeRequest.layout is deprecated.
* See openrtb/openrtb-v26.proto;l=2391
* @return The layout.
*/
@java.lang.Override
@java.lang.Deprecated public com.particles.mes.protos.openrtb.LayoutId getLayout() {
return instance.getLayout();
}
/**
* <pre>
* DEPRECATED in OpenRTB Native 1.1, REMOVED in 1.2+.
* Use field <code>plcmttype</code>.
* </pre>
*
* <code>optional .com.google.openrtb.LayoutId layout = 2 [deprecated = true];</code>
* @deprecated com.google.openrtb.NativeRequest.layout is deprecated.
* See openrtb/openrtb-v26.proto;l=2391
* @param value The enum numeric value on the wire for layout to set.
* @return This builder for chaining.
*/
@java.lang.Deprecated public Builder setLayout(com.particles.mes.protos.openrtb.LayoutId value) {
copyOnWrite();
instance.setLayout(value);
return this;
}
/**
* <pre>
* DEPRECATED in OpenRTB Native 1.1, REMOVED in 1.2+.
* Use field <code>plcmttype</code>.
* </pre>
*
* <code>optional .com.google.openrtb.LayoutId layout = 2 [deprecated = true];</code>
* @deprecated com.google.openrtb.NativeRequest.layout is deprecated.
* See openrtb/openrtb-v26.proto;l=2391
* @return This builder for chaining.
*/
@java.lang.Deprecated public Builder clearLayout() {
copyOnWrite();
instance.clearLayout();
return this;
}
/**
* <pre>
* DEPRECATED in OpenRTB Native 1.1, REMOVED in 1.2+.
* Use fields <code>context</code> and <code>contextsubtype</code>.
* </pre>
*
* <code>optional .com.google.openrtb.AdUnitId adunit = 3 [deprecated = true];</code>
* @deprecated com.google.openrtb.NativeRequest.adunit is deprecated.
* See openrtb/openrtb-v26.proto;l=2395
* @return Whether the adunit field is set.
*/
@java.lang.Override
@java.lang.Deprecated public boolean hasAdunit() {
return instance.hasAdunit();
}
/**
* <pre>
* DEPRECATED in OpenRTB Native 1.1, REMOVED in 1.2+.
* Use fields <code>context</code> and <code>contextsubtype</code>.
* </pre>
*
* <code>optional .com.google.openrtb.AdUnitId adunit = 3 [deprecated = true];</code>
* @deprecated com.google.openrtb.NativeRequest.adunit is deprecated.
* See openrtb/openrtb-v26.proto;l=2395
* @return The adunit.
*/
@java.lang.Override
@java.lang.Deprecated public com.particles.mes.protos.openrtb.AdUnitId getAdunit() {
return instance.getAdunit();
}
/**
* <pre>
* DEPRECATED in OpenRTB Native 1.1, REMOVED in 1.2+.
* Use fields <code>context</code> and <code>contextsubtype</code>.
* </pre>
*
* <code>optional .com.google.openrtb.AdUnitId adunit = 3 [deprecated = true];</code>
* @deprecated com.google.openrtb.NativeRequest.adunit is deprecated.
* See openrtb/openrtb-v26.proto;l=2395
* @param value The enum numeric value on the wire for adunit to set.
* @return This builder for chaining.
*/
@java.lang.Deprecated public Builder setAdunit(com.particles.mes.protos.openrtb.AdUnitId value) {
copyOnWrite();
instance.setAdunit(value);
return this;
}
/**
* <pre>
* DEPRECATED in OpenRTB Native 1.1, REMOVED in 1.2+.
* Use fields <code>context</code> and <code>contextsubtype</code>.
* </pre>
*
* <code>optional .com.google.openrtb.AdUnitId adunit = 3 [deprecated = true];</code>
* @deprecated com.google.openrtb.NativeRequest.adunit is deprecated.
* See openrtb/openrtb-v26.proto;l=2395
* @return This builder for chaining.
*/
@java.lang.Deprecated public Builder clearAdunit() {
copyOnWrite();
instance.clearAdunit();
return this;
}
// @@protoc_insertion_point(builder_scope:com.google.openrtb.NativeRequest)
}
private byte memoizedIsInitialized = 2;
@java.lang.Override
@java.lang.SuppressWarnings({"unchecked", "fallthrough"})
protected final java.lang.Object dynamicMethod(
com.google.protobuf.GeneratedMessageLite.MethodToInvoke method,
java.lang.Object arg0, java.lang.Object arg1) {
switch (method) {
case NEW_MUTABLE_INSTANCE: {
return new com.particles.mes.protos.openrtb.NativeRequest();
}
case NEW_BUILDER: {
return new Builder();
}
case BUILD_MESSAGE_INFO: {
java.lang.Object[] objects = new java.lang.Object[] {
"bitField0_",
"ver_",
"layout_",
com.particles.mes.protos.openrtb.LayoutId.internalGetVerifier(),
"adunit_",
com.particles.mes.protos.openrtb.AdUnitId.internalGetVerifier(),
"plcmtcnt_",
"seq_",
"assets_",
com.particles.mes.protos.openrtb.NativeRequest.Asset.class,
"context_",
com.particles.mes.protos.openrtb.ContextType.internalGetVerifier(),
"contextsubtype_",
com.particles.mes.protos.openrtb.ContextSubtype.internalGetVerifier(),
"plcmttype_",
com.particles.mes.protos.openrtb.PlacementType.internalGetVerifier(),
"aurlsupport_",
"durlsupport_",
"eventtrackers_",
com.particles.mes.protos.openrtb.NativeRequest.EventTrackers.class,
"privacy_",
};
java.lang.String info =
"\u0001\r\u0000\u0001\u0001\u000e\r\u0000\u0002\u0002\u0001\u1008\u0000\u0002\u100c" +
"\t\u0003\u100c\n\u0004\u1004\u0004\u0005\u1004\u0005\u0006\u041b\u0007\u100c\u0001" +
"\b\u100c\u0002\t\u100c\u0003\u000b\u1007\u0006\f\u1007\u0007\r\u041b\u000e\u1007" +
"\b";
return newMessageInfo(DEFAULT_INSTANCE, info, objects);
}
// fall through
case GET_DEFAULT_INSTANCE: {
return DEFAULT_INSTANCE;
}
case GET_PARSER: {
com.google.protobuf.Parser<com.particles.mes.protos.openrtb.NativeRequest> parser = PARSER;
if (parser == null) {
synchronized (com.particles.mes.protos.openrtb.NativeRequest.class) {
parser = PARSER;
if (parser == null) {
parser =
new DefaultInstanceBasedParser<com.particles.mes.protos.openrtb.NativeRequest>(
DEFAULT_INSTANCE);
PARSER = parser;
}
}
}
return parser;
}
case GET_MEMOIZED_IS_INITIALIZED: {
return memoizedIsInitialized;
}
case SET_MEMOIZED_IS_INITIALIZED: {
memoizedIsInitialized = (byte) (arg0 == null ? 0 : 1);
return null;
}
}
throw new UnsupportedOperationException();
}
// @@protoc_insertion_point(class_scope:com.google.openrtb.NativeRequest)
private static final com.particles.mes.protos.openrtb.NativeRequest DEFAULT_INSTANCE;
static {
NativeRequest defaultInstance = new NativeRequest();
// New instances are implicitly immutable so no need to make
// immutable.
DEFAULT_INSTANCE = defaultInstance;
com.google.protobuf.GeneratedMessageLite.registerDefaultInstance(
NativeRequest.class, defaultInstance);
}
public static com.particles.mes.protos.openrtb.NativeRequest getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static volatile com.google.protobuf.Parser<NativeRequest> PARSER;
public static com.google.protobuf.Parser<NativeRequest> parser() {
return DEFAULT_INSTANCE.getParserForType();
}
}
|
0 | java-sources/ai/themsp/mes-android-sdk/0.15.0/main/com/particles/mes/protos | java-sources/ai/themsp/mes-android-sdk/0.15.0/main/com/particles/mes/protos/openrtb/NativeRequestOrBuilder.java | // Generated by the protocol buffer compiler. DO NOT EDIT!
// source: openrtb/openrtb-v26.proto
package com.particles.mes.protos.openrtb;
public interface NativeRequestOrBuilder extends
// @@protoc_insertion_point(interface_extends:com.google.openrtb.NativeRequest)
com.google.protobuf.GeneratedMessageLite.
ExtendableMessageOrBuilder<
NativeRequest, NativeRequest.Builder> {
/**
* <pre>
* Version of the Native Markup version in use.
* </pre>
*
* <code>optional string ver = 1;</code>
* @return Whether the ver field is set.
*/
boolean hasVer();
/**
* <pre>
* Version of the Native Markup version in use.
* </pre>
*
* <code>optional string ver = 1;</code>
* @return The ver.
*/
java.lang.String getVer();
/**
* <pre>
* Version of the Native Markup version in use.
* </pre>
*
* <code>optional string ver = 1;</code>
* @return The bytes for ver.
*/
com.google.protobuf.ByteString
getVerBytes();
/**
* <pre>
* The context in which the ad appears.
* </pre>
*
* <code>optional .com.google.openrtb.ContextType context = 7;</code>
* @return Whether the context field is set.
*/
boolean hasContext();
/**
* <pre>
* The context in which the ad appears.
* </pre>
*
* <code>optional .com.google.openrtb.ContextType context = 7;</code>
* @return The context.
*/
com.particles.mes.protos.openrtb.ContextType getContext();
/**
* <pre>
* A more detailed context in which the ad appears.
* </pre>
*
* <code>optional .com.google.openrtb.ContextSubtype contextsubtype = 8;</code>
* @return Whether the contextsubtype field is set.
*/
boolean hasContextsubtype();
/**
* <pre>
* A more detailed context in which the ad appears.
* </pre>
*
* <code>optional .com.google.openrtb.ContextSubtype contextsubtype = 8;</code>
* @return The contextsubtype.
*/
com.particles.mes.protos.openrtb.ContextSubtype getContextsubtype();
/**
* <pre>
* The design/format/layout of the ad unit being offered.
* </pre>
*
* <code>optional .com.google.openrtb.PlacementType plcmttype = 9;</code>
* @return Whether the plcmttype field is set.
*/
boolean hasPlcmttype();
/**
* <pre>
* The design/format/layout of the ad unit being offered.
* </pre>
*
* <code>optional .com.google.openrtb.PlacementType plcmttype = 9;</code>
* @return The plcmttype.
*/
com.particles.mes.protos.openrtb.PlacementType getPlcmttype();
/**
* <pre>
* The number of identical placements in this Layout.
* </pre>
*
* <code>optional int32 plcmtcnt = 4 [default = 1];</code>
* @return Whether the plcmtcnt field is set.
*/
boolean hasPlcmtcnt();
/**
* <pre>
* The number of identical placements in this Layout.
* </pre>
*
* <code>optional int32 plcmtcnt = 4 [default = 1];</code>
* @return The plcmtcnt.
*/
int getPlcmtcnt();
/**
* <pre>
* 0 for the first ad, 1 for the second ad, and so on. Note this would
* generally NOT be used in combination with plcmtcnt - either you are
* auctioning multiple identical placements (in which case
* plcmtcnt>1, seq=0) or you are holding separate auctions for distinct
* items in the feed (in which case plcmtcnt=1, seq>=1).
* </pre>
*
* <code>optional int32 seq = 5 [default = 0];</code>
* @return Whether the seq field is set.
*/
boolean hasSeq();
/**
* <pre>
* 0 for the first ad, 1 for the second ad, and so on. Note this would
* generally NOT be used in combination with plcmtcnt - either you are
* auctioning multiple identical placements (in which case
* plcmtcnt>1, seq=0) or you are holding separate auctions for distinct
* items in the feed (in which case plcmtcnt=1, seq>=1).
* </pre>
*
* <code>optional int32 seq = 5 [default = 0];</code>
* @return The seq.
*/
int getSeq();
/**
* <pre>
* Any bid must comply with the array of elements expressed by the Exchange.
* REQUIRED by the OpenRTB Native specification: at least 1 element.
* </pre>
*
* <code>repeated .com.google.openrtb.NativeRequest.Asset assets = 6;</code>
*/
java.util.List<com.particles.mes.protos.openrtb.NativeRequest.Asset>
getAssetsList();
/**
* <pre>
* Any bid must comply with the array of elements expressed by the Exchange.
* REQUIRED by the OpenRTB Native specification: at least 1 element.
* </pre>
*
* <code>repeated .com.google.openrtb.NativeRequest.Asset assets = 6;</code>
*/
com.particles.mes.protos.openrtb.NativeRequest.Asset getAssets(int index);
/**
* <pre>
* Any bid must comply with the array of elements expressed by the Exchange.
* REQUIRED by the OpenRTB Native specification: at least 1 element.
* </pre>
*
* <code>repeated .com.google.openrtb.NativeRequest.Asset assets = 6;</code>
*/
int getAssetsCount();
/**
* <pre>
* Whether the supply source / impression supports returning an assetsurl
* instead of an asset object. false or the absence of the field indicates no
* such support.
* </pre>
*
* <code>optional bool aurlsupport = 11;</code>
* @return Whether the aurlsupport field is set.
*/
boolean hasAurlsupport();
/**
* <pre>
* Whether the supply source / impression supports returning an assetsurl
* instead of an asset object. false or the absence of the field indicates no
* such support.
* </pre>
*
* <code>optional bool aurlsupport = 11;</code>
* @return The aurlsupport.
*/
boolean getAurlsupport();
/**
* <pre>
* Whether the supply source / impression supports returning a DCO URL
* instead of an asset object. false or the absence of the field indicates no
* such support. Beta feature.
* </pre>
*
* <code>optional bool durlsupport = 12;</code>
* @return Whether the durlsupport field is set.
*/
boolean hasDurlsupport();
/**
* <pre>
* Whether the supply source / impression supports returning a DCO URL
* instead of an asset object. false or the absence of the field indicates no
* such support. Beta feature.
* </pre>
*
* <code>optional bool durlsupport = 12;</code>
* @return The durlsupport.
*/
boolean getDurlsupport();
/**
* <pre>
* Specifies what type of event tracking is supported.
* </pre>
*
* <code>repeated .com.google.openrtb.NativeRequest.EventTrackers eventtrackers = 13;</code>
*/
java.util.List<com.particles.mes.protos.openrtb.NativeRequest.EventTrackers>
getEventtrackersList();
/**
* <pre>
* Specifies what type of event tracking is supported.
* </pre>
*
* <code>repeated .com.google.openrtb.NativeRequest.EventTrackers eventtrackers = 13;</code>
*/
com.particles.mes.protos.openrtb.NativeRequest.EventTrackers getEventtrackers(int index);
/**
* <pre>
* Specifies what type of event tracking is supported.
* </pre>
*
* <code>repeated .com.google.openrtb.NativeRequest.EventTrackers eventtrackers = 13;</code>
*/
int getEventtrackersCount();
/**
* <pre>
* Set to true when the native ad supports buyer-specific privacy notice.
* Set to false (or field absent) when the native ad doesn't support custom
* privacy links or if support is unknown.
* </pre>
*
* <code>optional bool privacy = 14;</code>
* @return Whether the privacy field is set.
*/
boolean hasPrivacy();
/**
* <pre>
* Set to true when the native ad supports buyer-specific privacy notice.
* Set to false (or field absent) when the native ad doesn't support custom
* privacy links or if support is unknown.
* </pre>
*
* <code>optional bool privacy = 14;</code>
* @return The privacy.
*/
boolean getPrivacy();
/**
* <pre>
* DEPRECATED in OpenRTB Native 1.1, REMOVED in 1.2+.
* Use field <code>plcmttype</code>.
* </pre>
*
* <code>optional .com.google.openrtb.LayoutId layout = 2 [deprecated = true];</code>
* @deprecated com.google.openrtb.NativeRequest.layout is deprecated.
* See openrtb/openrtb-v26.proto;l=2391
* @return Whether the layout field is set.
*/
@java.lang.Deprecated boolean hasLayout();
/**
* <pre>
* DEPRECATED in OpenRTB Native 1.1, REMOVED in 1.2+.
* Use field <code>plcmttype</code>.
* </pre>
*
* <code>optional .com.google.openrtb.LayoutId layout = 2 [deprecated = true];</code>
* @deprecated com.google.openrtb.NativeRequest.layout is deprecated.
* See openrtb/openrtb-v26.proto;l=2391
* @return The layout.
*/
@java.lang.Deprecated com.particles.mes.protos.openrtb.LayoutId getLayout();
/**
* <pre>
* DEPRECATED in OpenRTB Native 1.1, REMOVED in 1.2+.
* Use fields <code>context</code> and <code>contextsubtype</code>.
* </pre>
*
* <code>optional .com.google.openrtb.AdUnitId adunit = 3 [deprecated = true];</code>
* @deprecated com.google.openrtb.NativeRequest.adunit is deprecated.
* See openrtb/openrtb-v26.proto;l=2395
* @return Whether the adunit field is set.
*/
@java.lang.Deprecated boolean hasAdunit();
/**
* <pre>
* DEPRECATED in OpenRTB Native 1.1, REMOVED in 1.2+.
* Use fields <code>context</code> and <code>contextsubtype</code>.
* </pre>
*
* <code>optional .com.google.openrtb.AdUnitId adunit = 3 [deprecated = true];</code>
* @deprecated com.google.openrtb.NativeRequest.adunit is deprecated.
* See openrtb/openrtb-v26.proto;l=2395
* @return The adunit.
*/
@java.lang.Deprecated com.particles.mes.protos.openrtb.AdUnitId getAdunit();
}
|
0 | java-sources/ai/themsp/mes-android-sdk/0.15.0/main/com/particles/mes/protos | java-sources/ai/themsp/mes-android-sdk/0.15.0/main/com/particles/mes/protos/openrtb/NativeResponse.java | // Generated by the protocol buffer compiler. DO NOT EDIT!
// source: openrtb/openrtb-v26.proto
package com.particles.mes.protos.openrtb;
/**
* <pre>
* OpenRTB Native 1.0: The native response object is the top level JSON object
* which identifies an native response.
* </pre>
*
* Protobuf type {@code com.google.openrtb.NativeResponse}
*/
public final class NativeResponse extends
com.google.protobuf.GeneratedMessageLite.ExtendableMessage<
NativeResponse, NativeResponse.Builder> implements
// @@protoc_insertion_point(message_implements:com.google.openrtb.NativeResponse)
NativeResponseOrBuilder {
private NativeResponse() {
ver_ = "";
assets_ = emptyProtobufList();
assetsurl_ = "";
dcourl_ = "";
imptrackers_ = com.google.protobuf.GeneratedMessageLite.emptyProtobufList();
jstracker_ = "";
eventtrackers_ = emptyProtobufList();
privacy_ = "";
}
public interface LinkOrBuilder extends
// @@protoc_insertion_point(interface_extends:com.google.openrtb.NativeResponse.Link)
com.google.protobuf.GeneratedMessageLite.
ExtendableMessageOrBuilder<
Link, Link.Builder> {
/**
* <pre>
* Landing URL of the clickable link.
* REQUIRED by the OpenRTB Native specification.
* </pre>
*
* <code>required string url = 1;</code>
* @return Whether the url field is set.
*/
boolean hasUrl();
/**
* <pre>
* Landing URL of the clickable link.
* REQUIRED by the OpenRTB Native specification.
* </pre>
*
* <code>required string url = 1;</code>
* @return The url.
*/
java.lang.String getUrl();
/**
* <pre>
* Landing URL of the clickable link.
* REQUIRED by the OpenRTB Native specification.
* </pre>
*
* <code>required string url = 1;</code>
* @return The bytes for url.
*/
com.google.protobuf.ByteString
getUrlBytes();
/**
* <pre>
* List of third-party tracker URLs to be fired on click of the URL.
* </pre>
*
* <code>repeated string clicktrackers = 2;</code>
* @return A list containing the clicktrackers.
*/
java.util.List<java.lang.String>
getClicktrackersList();
/**
* <pre>
* List of third-party tracker URLs to be fired on click of the URL.
* </pre>
*
* <code>repeated string clicktrackers = 2;</code>
* @return The count of clicktrackers.
*/
int getClicktrackersCount();
/**
* <pre>
* List of third-party tracker URLs to be fired on click of the URL.
* </pre>
*
* <code>repeated string clicktrackers = 2;</code>
* @param index The index of the element to return.
* @return The clicktrackers at the given index.
*/
java.lang.String getClicktrackers(int index);
/**
* <pre>
* List of third-party tracker URLs to be fired on click of the URL.
* </pre>
*
* <code>repeated string clicktrackers = 2;</code>
* @param index The index of the element to return.
* @return The clicktrackers at the given index.
*/
com.google.protobuf.ByteString
getClicktrackersBytes(int index);
/**
* <pre>
* Fallback URL for deeplink. To be used if the URL given in url is not
* supported by the device.
* </pre>
*
* <code>optional string fallback = 3;</code>
* @return Whether the fallback field is set.
*/
boolean hasFallback();
/**
* <pre>
* Fallback URL for deeplink. To be used if the URL given in url is not
* supported by the device.
* </pre>
*
* <code>optional string fallback = 3;</code>
* @return The fallback.
*/
java.lang.String getFallback();
/**
* <pre>
* Fallback URL for deeplink. To be used if the URL given in url is not
* supported by the device.
* </pre>
*
* <code>optional string fallback = 3;</code>
* @return The bytes for fallback.
*/
com.google.protobuf.ByteString
getFallbackBytes();
}
/**
* <pre>
* OpenRTB Native 1.0: Used for "call to action" assets, or other links from
* the Native ad. This Object should be associated to its peer object in the
* parent Asset Object or as the primary link in the top level NativeResponse
* object. When that peer object is activated (clicked) the action should take
* the user to the location of the link.
* </pre>
*
* Protobuf type {@code com.google.openrtb.NativeResponse.Link}
*/
public static final class Link extends
com.google.protobuf.GeneratedMessageLite.ExtendableMessage<
Link, Link.Builder> implements
// @@protoc_insertion_point(message_implements:com.google.openrtb.NativeResponse.Link)
LinkOrBuilder {
private Link() {
url_ = "";
clicktrackers_ = com.google.protobuf.GeneratedMessageLite.emptyProtobufList();
fallback_ = "";
}
private int bitField0_;
public static final int URL_FIELD_NUMBER = 1;
private java.lang.String url_;
/**
* <pre>
* Landing URL of the clickable link.
* REQUIRED by the OpenRTB Native specification.
* </pre>
*
* <code>required string url = 1;</code>
* @return Whether the url field is set.
*/
@java.lang.Override
public boolean hasUrl() {
return ((bitField0_ & 0x00000001) != 0);
}
/**
* <pre>
* Landing URL of the clickable link.
* REQUIRED by the OpenRTB Native specification.
* </pre>
*
* <code>required string url = 1;</code>
* @return The url.
*/
@java.lang.Override
public java.lang.String getUrl() {
return url_;
}
/**
* <pre>
* Landing URL of the clickable link.
* REQUIRED by the OpenRTB Native specification.
* </pre>
*
* <code>required string url = 1;</code>
* @return The bytes for url.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getUrlBytes() {
return com.google.protobuf.ByteString.copyFromUtf8(url_);
}
/**
* <pre>
* Landing URL of the clickable link.
* REQUIRED by the OpenRTB Native specification.
* </pre>
*
* <code>required string url = 1;</code>
* @param value The url to set.
*/
private void setUrl(
java.lang.String value) {
java.lang.Class<?> valueClass = value.getClass();
bitField0_ |= 0x00000001;
url_ = value;
}
/**
* <pre>
* Landing URL of the clickable link.
* REQUIRED by the OpenRTB Native specification.
* </pre>
*
* <code>required string url = 1;</code>
*/
private void clearUrl() {
bitField0_ = (bitField0_ & ~0x00000001);
url_ = getDefaultInstance().getUrl();
}
/**
* <pre>
* Landing URL of the clickable link.
* REQUIRED by the OpenRTB Native specification.
* </pre>
*
* <code>required string url = 1;</code>
* @param value The bytes for url to set.
*/
private void setUrlBytes(
com.google.protobuf.ByteString value) {
url_ = value.toStringUtf8();
bitField0_ |= 0x00000001;
}
public static final int CLICKTRACKERS_FIELD_NUMBER = 2;
private com.google.protobuf.Internal.ProtobufList<java.lang.String> clicktrackers_;
/**
* <pre>
* List of third-party tracker URLs to be fired on click of the URL.
* </pre>
*
* <code>repeated string clicktrackers = 2;</code>
* @return A list containing the clicktrackers.
*/
@java.lang.Override
public java.util.List<java.lang.String> getClicktrackersList() {
return clicktrackers_;
}
/**
* <pre>
* List of third-party tracker URLs to be fired on click of the URL.
* </pre>
*
* <code>repeated string clicktrackers = 2;</code>
* @return The count of clicktrackers.
*/
@java.lang.Override
public int getClicktrackersCount() {
return clicktrackers_.size();
}
/**
* <pre>
* List of third-party tracker URLs to be fired on click of the URL.
* </pre>
*
* <code>repeated string clicktrackers = 2;</code>
* @param index The index of the element to return.
* @return The clicktrackers at the given index.
*/
@java.lang.Override
public java.lang.String getClicktrackers(int index) {
return clicktrackers_.get(index);
}
/**
* <pre>
* List of third-party tracker URLs to be fired on click of the URL.
* </pre>
*
* <code>repeated string clicktrackers = 2;</code>
* @param index The index of the value to return.
* @return The bytes of the clicktrackers at the given index.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getClicktrackersBytes(int index) {
return com.google.protobuf.ByteString.copyFromUtf8(
clicktrackers_.get(index));
}
private void ensureClicktrackersIsMutable() {
com.google.protobuf.Internal.ProtobufList<java.lang.String> tmp =
clicktrackers_; if (!tmp.isModifiable()) {
clicktrackers_ =
com.google.protobuf.GeneratedMessageLite.mutableCopy(tmp);
}
}
/**
* <pre>
* List of third-party tracker URLs to be fired on click of the URL.
* </pre>
*
* <code>repeated string clicktrackers = 2;</code>
* @param index The index to set the value at.
* @param value The clicktrackers to set.
*/
private void setClicktrackers(
int index, java.lang.String value) {
java.lang.Class<?> valueClass = value.getClass();
ensureClicktrackersIsMutable();
clicktrackers_.set(index, value);
}
/**
* <pre>
* List of third-party tracker URLs to be fired on click of the URL.
* </pre>
*
* <code>repeated string clicktrackers = 2;</code>
* @param value The clicktrackers to add.
*/
private void addClicktrackers(
java.lang.String value) {
java.lang.Class<?> valueClass = value.getClass();
ensureClicktrackersIsMutable();
clicktrackers_.add(value);
}
/**
* <pre>
* List of third-party tracker URLs to be fired on click of the URL.
* </pre>
*
* <code>repeated string clicktrackers = 2;</code>
* @param values The clicktrackers to add.
*/
private void addAllClicktrackers(
java.lang.Iterable<java.lang.String> values) {
ensureClicktrackersIsMutable();
com.google.protobuf.AbstractMessageLite.addAll(
values, clicktrackers_);
}
/**
* <pre>
* List of third-party tracker URLs to be fired on click of the URL.
* </pre>
*
* <code>repeated string clicktrackers = 2;</code>
*/
private void clearClicktrackers() {
clicktrackers_ = com.google.protobuf.GeneratedMessageLite.emptyProtobufList();
}
/**
* <pre>
* List of third-party tracker URLs to be fired on click of the URL.
* </pre>
*
* <code>repeated string clicktrackers = 2;</code>
* @param value The bytes of the clicktrackers to add.
*/
private void addClicktrackersBytes(
com.google.protobuf.ByteString value) {
ensureClicktrackersIsMutable();
clicktrackers_.add(value.toStringUtf8());
}
public static final int FALLBACK_FIELD_NUMBER = 3;
private java.lang.String fallback_;
/**
* <pre>
* Fallback URL for deeplink. To be used if the URL given in url is not
* supported by the device.
* </pre>
*
* <code>optional string fallback = 3;</code>
* @return Whether the fallback field is set.
*/
@java.lang.Override
public boolean hasFallback() {
return ((bitField0_ & 0x00000002) != 0);
}
/**
* <pre>
* Fallback URL for deeplink. To be used if the URL given in url is not
* supported by the device.
* </pre>
*
* <code>optional string fallback = 3;</code>
* @return The fallback.
*/
@java.lang.Override
public java.lang.String getFallback() {
return fallback_;
}
/**
* <pre>
* Fallback URL for deeplink. To be used if the URL given in url is not
* supported by the device.
* </pre>
*
* <code>optional string fallback = 3;</code>
* @return The bytes for fallback.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getFallbackBytes() {
return com.google.protobuf.ByteString.copyFromUtf8(fallback_);
}
/**
* <pre>
* Fallback URL for deeplink. To be used if the URL given in url is not
* supported by the device.
* </pre>
*
* <code>optional string fallback = 3;</code>
* @param value The fallback to set.
*/
private void setFallback(
java.lang.String value) {
java.lang.Class<?> valueClass = value.getClass();
bitField0_ |= 0x00000002;
fallback_ = value;
}
/**
* <pre>
* Fallback URL for deeplink. To be used if the URL given in url is not
* supported by the device.
* </pre>
*
* <code>optional string fallback = 3;</code>
*/
private void clearFallback() {
bitField0_ = (bitField0_ & ~0x00000002);
fallback_ = getDefaultInstance().getFallback();
}
/**
* <pre>
* Fallback URL for deeplink. To be used if the URL given in url is not
* supported by the device.
* </pre>
*
* <code>optional string fallback = 3;</code>
* @param value The bytes for fallback to set.
*/
private void setFallbackBytes(
com.google.protobuf.ByteString value) {
fallback_ = value.toStringUtf8();
bitField0_ |= 0x00000002;
}
public static com.particles.mes.protos.openrtb.NativeResponse.Link parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, data);
}
public static com.particles.mes.protos.openrtb.NativeResponse.Link parseFrom(
java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, data, extensionRegistry);
}
public static com.particles.mes.protos.openrtb.NativeResponse.Link parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, data);
}
public static com.particles.mes.protos.openrtb.NativeResponse.Link parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, data, extensionRegistry);
}
public static com.particles.mes.protos.openrtb.NativeResponse.Link parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, data);
}
public static com.particles.mes.protos.openrtb.NativeResponse.Link parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, data, extensionRegistry);
}
public static com.particles.mes.protos.openrtb.NativeResponse.Link parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, input);
}
public static com.particles.mes.protos.openrtb.NativeResponse.Link parseFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, input, extensionRegistry);
}
public static com.particles.mes.protos.openrtb.NativeResponse.Link parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return parseDelimitedFrom(DEFAULT_INSTANCE, input);
}
public static com.particles.mes.protos.openrtb.NativeResponse.Link parseDelimitedFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return parseDelimitedFrom(DEFAULT_INSTANCE, input, extensionRegistry);
}
public static com.particles.mes.protos.openrtb.NativeResponse.Link parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, input);
}
public static com.particles.mes.protos.openrtb.NativeResponse.Link parseFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, input, extensionRegistry);
}
public static Builder newBuilder() {
return (Builder) DEFAULT_INSTANCE.createBuilder();
}
public static Builder newBuilder(com.particles.mes.protos.openrtb.NativeResponse.Link prototype) {
return (Builder) DEFAULT_INSTANCE.createBuilder(prototype);
}
/**
* <pre>
* OpenRTB Native 1.0: Used for "call to action" assets, or other links from
* the Native ad. This Object should be associated to its peer object in the
* parent Asset Object or as the primary link in the top level NativeResponse
* object. When that peer object is activated (clicked) the action should take
* the user to the location of the link.
* </pre>
*
* Protobuf type {@code com.google.openrtb.NativeResponse.Link}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageLite.ExtendableBuilder<
com.particles.mes.protos.openrtb.NativeResponse.Link, Builder> implements
// @@protoc_insertion_point(builder_implements:com.google.openrtb.NativeResponse.Link)
com.particles.mes.protos.openrtb.NativeResponse.LinkOrBuilder {
// Construct using com.particles.mes.protos.openrtb.NativeResponse.Link.newBuilder()
private Builder() {
super(DEFAULT_INSTANCE);
}
/**
* <pre>
* Landing URL of the clickable link.
* REQUIRED by the OpenRTB Native specification.
* </pre>
*
* <code>required string url = 1;</code>
* @return Whether the url field is set.
*/
@java.lang.Override
public boolean hasUrl() {
return instance.hasUrl();
}
/**
* <pre>
* Landing URL of the clickable link.
* REQUIRED by the OpenRTB Native specification.
* </pre>
*
* <code>required string url = 1;</code>
* @return The url.
*/
@java.lang.Override
public java.lang.String getUrl() {
return instance.getUrl();
}
/**
* <pre>
* Landing URL of the clickable link.
* REQUIRED by the OpenRTB Native specification.
* </pre>
*
* <code>required string url = 1;</code>
* @return The bytes for url.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getUrlBytes() {
return instance.getUrlBytes();
}
/**
* <pre>
* Landing URL of the clickable link.
* REQUIRED by the OpenRTB Native specification.
* </pre>
*
* <code>required string url = 1;</code>
* @param value The url to set.
* @return This builder for chaining.
*/
public Builder setUrl(
java.lang.String value) {
copyOnWrite();
instance.setUrl(value);
return this;
}
/**
* <pre>
* Landing URL of the clickable link.
* REQUIRED by the OpenRTB Native specification.
* </pre>
*
* <code>required string url = 1;</code>
* @return This builder for chaining.
*/
public Builder clearUrl() {
copyOnWrite();
instance.clearUrl();
return this;
}
/**
* <pre>
* Landing URL of the clickable link.
* REQUIRED by the OpenRTB Native specification.
* </pre>
*
* <code>required string url = 1;</code>
* @param value The bytes for url to set.
* @return This builder for chaining.
*/
public Builder setUrlBytes(
com.google.protobuf.ByteString value) {
copyOnWrite();
instance.setUrlBytes(value);
return this;
}
/**
* <pre>
* List of third-party tracker URLs to be fired on click of the URL.
* </pre>
*
* <code>repeated string clicktrackers = 2;</code>
* @return A list containing the clicktrackers.
*/
@java.lang.Override
public java.util.List<java.lang.String>
getClicktrackersList() {
return java.util.Collections.unmodifiableList(
instance.getClicktrackersList());
}
/**
* <pre>
* List of third-party tracker URLs to be fired on click of the URL.
* </pre>
*
* <code>repeated string clicktrackers = 2;</code>
* @return The count of clicktrackers.
*/
@java.lang.Override
public int getClicktrackersCount() {
return instance.getClicktrackersCount();
}
/**
* <pre>
* List of third-party tracker URLs to be fired on click of the URL.
* </pre>
*
* <code>repeated string clicktrackers = 2;</code>
* @param index The index of the element to return.
* @return The clicktrackers at the given index.
*/
@java.lang.Override
public java.lang.String getClicktrackers(int index) {
return instance.getClicktrackers(index);
}
/**
* <pre>
* List of third-party tracker URLs to be fired on click of the URL.
* </pre>
*
* <code>repeated string clicktrackers = 2;</code>
* @param index The index of the value to return.
* @return The bytes of the clicktrackers at the given index.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getClicktrackersBytes(int index) {
return instance.getClicktrackersBytes(index);
}
/**
* <pre>
* List of third-party tracker URLs to be fired on click of the URL.
* </pre>
*
* <code>repeated string clicktrackers = 2;</code>
* @param index The index to set the value at.
* @param value The clicktrackers to set.
* @return This builder for chaining.
*/
public Builder setClicktrackers(
int index, java.lang.String value) {
copyOnWrite();
instance.setClicktrackers(index, value);
return this;
}
/**
* <pre>
* List of third-party tracker URLs to be fired on click of the URL.
* </pre>
*
* <code>repeated string clicktrackers = 2;</code>
* @param value The clicktrackers to add.
* @return This builder for chaining.
*/
public Builder addClicktrackers(
java.lang.String value) {
copyOnWrite();
instance.addClicktrackers(value);
return this;
}
/**
* <pre>
* List of third-party tracker URLs to be fired on click of the URL.
* </pre>
*
* <code>repeated string clicktrackers = 2;</code>
* @param values The clicktrackers to add.
* @return This builder for chaining.
*/
public Builder addAllClicktrackers(
java.lang.Iterable<java.lang.String> values) {
copyOnWrite();
instance.addAllClicktrackers(values);
return this;
}
/**
* <pre>
* List of third-party tracker URLs to be fired on click of the URL.
* </pre>
*
* <code>repeated string clicktrackers = 2;</code>
* @return This builder for chaining.
*/
public Builder clearClicktrackers() {
copyOnWrite();
instance.clearClicktrackers();
return this;
}
/**
* <pre>
* List of third-party tracker URLs to be fired on click of the URL.
* </pre>
*
* <code>repeated string clicktrackers = 2;</code>
* @param value The bytes of the clicktrackers to add.
* @return This builder for chaining.
*/
public Builder addClicktrackersBytes(
com.google.protobuf.ByteString value) {
copyOnWrite();
instance.addClicktrackersBytes(value);
return this;
}
/**
* <pre>
* Fallback URL for deeplink. To be used if the URL given in url is not
* supported by the device.
* </pre>
*
* <code>optional string fallback = 3;</code>
* @return Whether the fallback field is set.
*/
@java.lang.Override
public boolean hasFallback() {
return instance.hasFallback();
}
/**
* <pre>
* Fallback URL for deeplink. To be used if the URL given in url is not
* supported by the device.
* </pre>
*
* <code>optional string fallback = 3;</code>
* @return The fallback.
*/
@java.lang.Override
public java.lang.String getFallback() {
return instance.getFallback();
}
/**
* <pre>
* Fallback URL for deeplink. To be used if the URL given in url is not
* supported by the device.
* </pre>
*
* <code>optional string fallback = 3;</code>
* @return The bytes for fallback.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getFallbackBytes() {
return instance.getFallbackBytes();
}
/**
* <pre>
* Fallback URL for deeplink. To be used if the URL given in url is not
* supported by the device.
* </pre>
*
* <code>optional string fallback = 3;</code>
* @param value The fallback to set.
* @return This builder for chaining.
*/
public Builder setFallback(
java.lang.String value) {
copyOnWrite();
instance.setFallback(value);
return this;
}
/**
* <pre>
* Fallback URL for deeplink. To be used if the URL given in url is not
* supported by the device.
* </pre>
*
* <code>optional string fallback = 3;</code>
* @return This builder for chaining.
*/
public Builder clearFallback() {
copyOnWrite();
instance.clearFallback();
return this;
}
/**
* <pre>
* Fallback URL for deeplink. To be used if the URL given in url is not
* supported by the device.
* </pre>
*
* <code>optional string fallback = 3;</code>
* @param value The bytes for fallback to set.
* @return This builder for chaining.
*/
public Builder setFallbackBytes(
com.google.protobuf.ByteString value) {
copyOnWrite();
instance.setFallbackBytes(value);
return this;
}
// @@protoc_insertion_point(builder_scope:com.google.openrtb.NativeResponse.Link)
}
private byte memoizedIsInitialized = 2;
@java.lang.Override
@java.lang.SuppressWarnings({"unchecked", "fallthrough"})
protected final java.lang.Object dynamicMethod(
com.google.protobuf.GeneratedMessageLite.MethodToInvoke method,
java.lang.Object arg0, java.lang.Object arg1) {
switch (method) {
case NEW_MUTABLE_INSTANCE: {
return new com.particles.mes.protos.openrtb.NativeResponse.Link();
}
case NEW_BUILDER: {
return new Builder();
}
case BUILD_MESSAGE_INFO: {
java.lang.Object[] objects = new java.lang.Object[] {
"bitField0_",
"url_",
"clicktrackers_",
"fallback_",
};
java.lang.String info =
"\u0001\u0003\u0000\u0001\u0001\u0003\u0003\u0000\u0001\u0001\u0001\u1508\u0000\u0002" +
"\u001a\u0003\u1008\u0001";
return newMessageInfo(DEFAULT_INSTANCE, info, objects);
}
// fall through
case GET_DEFAULT_INSTANCE: {
return DEFAULT_INSTANCE;
}
case GET_PARSER: {
com.google.protobuf.Parser<com.particles.mes.protos.openrtb.NativeResponse.Link> parser = PARSER;
if (parser == null) {
synchronized (com.particles.mes.protos.openrtb.NativeResponse.Link.class) {
parser = PARSER;
if (parser == null) {
parser =
new DefaultInstanceBasedParser<com.particles.mes.protos.openrtb.NativeResponse.Link>(
DEFAULT_INSTANCE);
PARSER = parser;
}
}
}
return parser;
}
case GET_MEMOIZED_IS_INITIALIZED: {
return memoizedIsInitialized;
}
case SET_MEMOIZED_IS_INITIALIZED: {
memoizedIsInitialized = (byte) (arg0 == null ? 0 : 1);
return null;
}
}
throw new UnsupportedOperationException();
}
// @@protoc_insertion_point(class_scope:com.google.openrtb.NativeResponse.Link)
private static final com.particles.mes.protos.openrtb.NativeResponse.Link DEFAULT_INSTANCE;
static {
Link defaultInstance = new Link();
// New instances are implicitly immutable so no need to make
// immutable.
DEFAULT_INSTANCE = defaultInstance;
com.google.protobuf.GeneratedMessageLite.registerDefaultInstance(
Link.class, defaultInstance);
}
public static com.particles.mes.protos.openrtb.NativeResponse.Link getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static volatile com.google.protobuf.Parser<Link> PARSER;
public static com.google.protobuf.Parser<Link> parser() {
return DEFAULT_INSTANCE.getParserForType();
}
}
public interface AssetOrBuilder extends
// @@protoc_insertion_point(interface_extends:com.google.openrtb.NativeResponse.Asset)
com.google.protobuf.GeneratedMessageLite.
ExtendableMessageOrBuilder<
Asset, Asset.Builder> {
/**
* <pre>
* Title object for title assets.
* </pre>
*
* <code>.com.google.openrtb.NativeResponse.Asset.Title title = 3;</code>
* @return Whether the title field is set.
*/
boolean hasTitle();
/**
* <pre>
* Title object for title assets.
* </pre>
*
* <code>.com.google.openrtb.NativeResponse.Asset.Title title = 3;</code>
* @return The title.
*/
com.particles.mes.protos.openrtb.NativeResponse.Asset.Title getTitle();
/**
* <pre>
* Image object for image assets.
* </pre>
*
* <code>.com.google.openrtb.NativeResponse.Asset.Image img = 4;</code>
* @return Whether the img field is set.
*/
boolean hasImg();
/**
* <pre>
* Image object for image assets.
* </pre>
*
* <code>.com.google.openrtb.NativeResponse.Asset.Image img = 4;</code>
* @return The img.
*/
com.particles.mes.protos.openrtb.NativeResponse.Asset.Image getImg();
/**
* <pre>
* Video object for video assets.
* Note that in-stream video ads are not part of Native.
* Native ads may contain a video as the ad creative itself.
* </pre>
*
* <code>.com.google.openrtb.NativeResponse.Asset.Video video = 5;</code>
* @return Whether the video field is set.
*/
boolean hasVideo();
/**
* <pre>
* Video object for video assets.
* Note that in-stream video ads are not part of Native.
* Native ads may contain a video as the ad creative itself.
* </pre>
*
* <code>.com.google.openrtb.NativeResponse.Asset.Video video = 5;</code>
* @return The video.
*/
com.particles.mes.protos.openrtb.NativeResponse.Asset.Video getVideo();
/**
* <pre>
* Data object for ratings, prices or other similar elements.
* </pre>
*
* <code>.com.google.openrtb.NativeResponse.Asset.Data data = 6;</code>
* @return Whether the data field is set.
*/
boolean hasData();
/**
* <pre>
* Data object for ratings, prices or other similar elements.
* </pre>
*
* <code>.com.google.openrtb.NativeResponse.Asset.Data data = 6;</code>
* @return The data.
*/
com.particles.mes.protos.openrtb.NativeResponse.Asset.Data getData();
/**
* <pre>
* Unique asset ID, assigned by exchange, must match one of the asset IDs
* in request.
* REQUIRED in 1.0, or in 1.2 if embedded asset is being used.
* </pre>
*
* <code>required int32 id = 1;</code>
* @return Whether the id field is set.
*/
boolean hasId();
/**
* <pre>
* Unique asset ID, assigned by exchange, must match one of the asset IDs
* in request.
* REQUIRED in 1.0, or in 1.2 if embedded asset is being used.
* </pre>
*
* <code>required int32 id = 1;</code>
* @return The id.
*/
int getId();
/**
* <pre>
* Set to true if asset is required. (bidder requires it to be displayed).
* </pre>
*
* <code>optional bool required = 2 [default = false];</code>
* @return Whether the required field is set.
*/
boolean hasRequired();
/**
* <pre>
* Set to true if asset is required. (bidder requires it to be displayed).
* </pre>
*
* <code>optional bool required = 2 [default = false];</code>
* @return The required.
*/
boolean getRequired();
/**
* <pre>
* Link object for call to actions.
* This link object applies if the asset item is activated (clicked).
* If there is no link object on the asset, the parent link object on the
* bid response apply.
* </pre>
*
* <code>optional .com.google.openrtb.NativeResponse.Link link = 7;</code>
* @return Whether the link field is set.
*/
boolean hasLink();
/**
* <pre>
* Link object for call to actions.
* This link object applies if the asset item is activated (clicked).
* If there is no link object on the asset, the parent link object on the
* bid response apply.
* </pre>
*
* <code>optional .com.google.openrtb.NativeResponse.Link link = 7;</code>
* @return The link.
*/
com.particles.mes.protos.openrtb.NativeResponse.Link getLink();
public com.particles.mes.protos.openrtb.NativeResponse.Asset.AssetOneofCase getAssetOneofCase();
}
/**
* <pre>
* OpenRTB Native 1.0: Corresponds to the Asset Object in the request.
* The main container object for each asset requested or supported by Exchange
* on behalf of the rendering client. Any object that is required is to be
* flagged as such. Only one of the {title,img,video,data} objects should be
* present in each object. All others should be null/absent. The id is to be
* unique within the Asset array so that the response can be aligned.
* </pre>
*
* Protobuf type {@code com.google.openrtb.NativeResponse.Asset}
*/
public static final class Asset extends
com.google.protobuf.GeneratedMessageLite.ExtendableMessage<
Asset, Asset.Builder> implements
// @@protoc_insertion_point(message_implements:com.google.openrtb.NativeResponse.Asset)
AssetOrBuilder {
private Asset() {
}
public interface TitleOrBuilder extends
// @@protoc_insertion_point(interface_extends:com.google.openrtb.NativeResponse.Asset.Title)
com.google.protobuf.GeneratedMessageLite.
ExtendableMessageOrBuilder<
Title, Title.Builder> {
/**
* <pre>
* The text associated with the text element.
* REQUIRED by the OpenRTB Native specification.
* </pre>
*
* <code>required string text = 1;</code>
* @return Whether the text field is set.
*/
boolean hasText();
/**
* <pre>
* The text associated with the text element.
* REQUIRED by the OpenRTB Native specification.
* </pre>
*
* <code>required string text = 1;</code>
* @return The text.
*/
java.lang.String getText();
/**
* <pre>
* The text associated with the text element.
* REQUIRED by the OpenRTB Native specification.
* </pre>
*
* <code>required string text = 1;</code>
* @return The bytes for text.
*/
com.google.protobuf.ByteString
getTextBytes();
/**
* <pre>
* The length of the title being provided.
* REQUIRED if using assetsurl/dcourl representation.
* </pre>
*
* <code>optional int32 len = 2;</code>
* @return Whether the len field is set.
*/
boolean hasLen();
/**
* <pre>
* The length of the title being provided.
* REQUIRED if using assetsurl/dcourl representation.
* </pre>
*
* <code>optional int32 len = 2;</code>
* @return The len.
*/
int getLen();
}
/**
* <pre>
* OpenRTB Native 1.0: Corresponds to the Title Object in the request,
* with the value filled in.
* If using assetsurl or dcourl response rather than embedded asset
* response, it is recommended that three title objects be provided, the
* length of each is less than or equal to the three recommended maximum
* title lengths (25,90,140).
* </pre>
*
* Protobuf type {@code com.google.openrtb.NativeResponse.Asset.Title}
*/
public static final class Title extends
com.google.protobuf.GeneratedMessageLite.ExtendableMessage<
Title, Title.Builder> implements
// @@protoc_insertion_point(message_implements:com.google.openrtb.NativeResponse.Asset.Title)
TitleOrBuilder {
private Title() {
text_ = "";
}
private int bitField0_;
public static final int TEXT_FIELD_NUMBER = 1;
private java.lang.String text_;
/**
* <pre>
* The text associated with the text element.
* REQUIRED by the OpenRTB Native specification.
* </pre>
*
* <code>required string text = 1;</code>
* @return Whether the text field is set.
*/
@java.lang.Override
public boolean hasText() {
return ((bitField0_ & 0x00000001) != 0);
}
/**
* <pre>
* The text associated with the text element.
* REQUIRED by the OpenRTB Native specification.
* </pre>
*
* <code>required string text = 1;</code>
* @return The text.
*/
@java.lang.Override
public java.lang.String getText() {
return text_;
}
/**
* <pre>
* The text associated with the text element.
* REQUIRED by the OpenRTB Native specification.
* </pre>
*
* <code>required string text = 1;</code>
* @return The bytes for text.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getTextBytes() {
return com.google.protobuf.ByteString.copyFromUtf8(text_);
}
/**
* <pre>
* The text associated with the text element.
* REQUIRED by the OpenRTB Native specification.
* </pre>
*
* <code>required string text = 1;</code>
* @param value The text to set.
*/
private void setText(
java.lang.String value) {
java.lang.Class<?> valueClass = value.getClass();
bitField0_ |= 0x00000001;
text_ = value;
}
/**
* <pre>
* The text associated with the text element.
* REQUIRED by the OpenRTB Native specification.
* </pre>
*
* <code>required string text = 1;</code>
*/
private void clearText() {
bitField0_ = (bitField0_ & ~0x00000001);
text_ = getDefaultInstance().getText();
}
/**
* <pre>
* The text associated with the text element.
* REQUIRED by the OpenRTB Native specification.
* </pre>
*
* <code>required string text = 1;</code>
* @param value The bytes for text to set.
*/
private void setTextBytes(
com.google.protobuf.ByteString value) {
text_ = value.toStringUtf8();
bitField0_ |= 0x00000001;
}
public static final int LEN_FIELD_NUMBER = 2;
private int len_;
/**
* <pre>
* The length of the title being provided.
* REQUIRED if using assetsurl/dcourl representation.
* </pre>
*
* <code>optional int32 len = 2;</code>
* @return Whether the len field is set.
*/
@java.lang.Override
public boolean hasLen() {
return ((bitField0_ & 0x00000002) != 0);
}
/**
* <pre>
* The length of the title being provided.
* REQUIRED if using assetsurl/dcourl representation.
* </pre>
*
* <code>optional int32 len = 2;</code>
* @return The len.
*/
@java.lang.Override
public int getLen() {
return len_;
}
/**
* <pre>
* The length of the title being provided.
* REQUIRED if using assetsurl/dcourl representation.
* </pre>
*
* <code>optional int32 len = 2;</code>
* @param value The len to set.
*/
private void setLen(int value) {
bitField0_ |= 0x00000002;
len_ = value;
}
/**
* <pre>
* The length of the title being provided.
* REQUIRED if using assetsurl/dcourl representation.
* </pre>
*
* <code>optional int32 len = 2;</code>
*/
private void clearLen() {
bitField0_ = (bitField0_ & ~0x00000002);
len_ = 0;
}
public static com.particles.mes.protos.openrtb.NativeResponse.Asset.Title parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, data);
}
public static com.particles.mes.protos.openrtb.NativeResponse.Asset.Title parseFrom(
java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, data, extensionRegistry);
}
public static com.particles.mes.protos.openrtb.NativeResponse.Asset.Title parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, data);
}
public static com.particles.mes.protos.openrtb.NativeResponse.Asset.Title parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, data, extensionRegistry);
}
public static com.particles.mes.protos.openrtb.NativeResponse.Asset.Title parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, data);
}
public static com.particles.mes.protos.openrtb.NativeResponse.Asset.Title parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, data, extensionRegistry);
}
public static com.particles.mes.protos.openrtb.NativeResponse.Asset.Title parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, input);
}
public static com.particles.mes.protos.openrtb.NativeResponse.Asset.Title parseFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, input, extensionRegistry);
}
public static com.particles.mes.protos.openrtb.NativeResponse.Asset.Title parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return parseDelimitedFrom(DEFAULT_INSTANCE, input);
}
public static com.particles.mes.protos.openrtb.NativeResponse.Asset.Title parseDelimitedFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return parseDelimitedFrom(DEFAULT_INSTANCE, input, extensionRegistry);
}
public static com.particles.mes.protos.openrtb.NativeResponse.Asset.Title parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, input);
}
public static com.particles.mes.protos.openrtb.NativeResponse.Asset.Title parseFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, input, extensionRegistry);
}
public static Builder newBuilder() {
return (Builder) DEFAULT_INSTANCE.createBuilder();
}
public static Builder newBuilder(com.particles.mes.protos.openrtb.NativeResponse.Asset.Title prototype) {
return (Builder) DEFAULT_INSTANCE.createBuilder(prototype);
}
/**
* <pre>
* OpenRTB Native 1.0: Corresponds to the Title Object in the request,
* with the value filled in.
* If using assetsurl or dcourl response rather than embedded asset
* response, it is recommended that three title objects be provided, the
* length of each is less than or equal to the three recommended maximum
* title lengths (25,90,140).
* </pre>
*
* Protobuf type {@code com.google.openrtb.NativeResponse.Asset.Title}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageLite.ExtendableBuilder<
com.particles.mes.protos.openrtb.NativeResponse.Asset.Title, Builder> implements
// @@protoc_insertion_point(builder_implements:com.google.openrtb.NativeResponse.Asset.Title)
com.particles.mes.protos.openrtb.NativeResponse.Asset.TitleOrBuilder {
// Construct using com.particles.mes.protos.openrtb.NativeResponse.Asset.Title.newBuilder()
private Builder() {
super(DEFAULT_INSTANCE);
}
/**
* <pre>
* The text associated with the text element.
* REQUIRED by the OpenRTB Native specification.
* </pre>
*
* <code>required string text = 1;</code>
* @return Whether the text field is set.
*/
@java.lang.Override
public boolean hasText() {
return instance.hasText();
}
/**
* <pre>
* The text associated with the text element.
* REQUIRED by the OpenRTB Native specification.
* </pre>
*
* <code>required string text = 1;</code>
* @return The text.
*/
@java.lang.Override
public java.lang.String getText() {
return instance.getText();
}
/**
* <pre>
* The text associated with the text element.
* REQUIRED by the OpenRTB Native specification.
* </pre>
*
* <code>required string text = 1;</code>
* @return The bytes for text.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getTextBytes() {
return instance.getTextBytes();
}
/**
* <pre>
* The text associated with the text element.
* REQUIRED by the OpenRTB Native specification.
* </pre>
*
* <code>required string text = 1;</code>
* @param value The text to set.
* @return This builder for chaining.
*/
public Builder setText(
java.lang.String value) {
copyOnWrite();
instance.setText(value);
return this;
}
/**
* <pre>
* The text associated with the text element.
* REQUIRED by the OpenRTB Native specification.
* </pre>
*
* <code>required string text = 1;</code>
* @return This builder for chaining.
*/
public Builder clearText() {
copyOnWrite();
instance.clearText();
return this;
}
/**
* <pre>
* The text associated with the text element.
* REQUIRED by the OpenRTB Native specification.
* </pre>
*
* <code>required string text = 1;</code>
* @param value The bytes for text to set.
* @return This builder for chaining.
*/
public Builder setTextBytes(
com.google.protobuf.ByteString value) {
copyOnWrite();
instance.setTextBytes(value);
return this;
}
/**
* <pre>
* The length of the title being provided.
* REQUIRED if using assetsurl/dcourl representation.
* </pre>
*
* <code>optional int32 len = 2;</code>
* @return Whether the len field is set.
*/
@java.lang.Override
public boolean hasLen() {
return instance.hasLen();
}
/**
* <pre>
* The length of the title being provided.
* REQUIRED if using assetsurl/dcourl representation.
* </pre>
*
* <code>optional int32 len = 2;</code>
* @return The len.
*/
@java.lang.Override
public int getLen() {
return instance.getLen();
}
/**
* <pre>
* The length of the title being provided.
* REQUIRED if using assetsurl/dcourl representation.
* </pre>
*
* <code>optional int32 len = 2;</code>
* @param value The len to set.
* @return This builder for chaining.
*/
public Builder setLen(int value) {
copyOnWrite();
instance.setLen(value);
return this;
}
/**
* <pre>
* The length of the title being provided.
* REQUIRED if using assetsurl/dcourl representation.
* </pre>
*
* <code>optional int32 len = 2;</code>
* @return This builder for chaining.
*/
public Builder clearLen() {
copyOnWrite();
instance.clearLen();
return this;
}
// @@protoc_insertion_point(builder_scope:com.google.openrtb.NativeResponse.Asset.Title)
}
private byte memoizedIsInitialized = 2;
@java.lang.Override
@java.lang.SuppressWarnings({"unchecked", "fallthrough"})
protected final java.lang.Object dynamicMethod(
com.google.protobuf.GeneratedMessageLite.MethodToInvoke method,
java.lang.Object arg0, java.lang.Object arg1) {
switch (method) {
case NEW_MUTABLE_INSTANCE: {
return new com.particles.mes.protos.openrtb.NativeResponse.Asset.Title();
}
case NEW_BUILDER: {
return new Builder();
}
case BUILD_MESSAGE_INFO: {
java.lang.Object[] objects = new java.lang.Object[] {
"bitField0_",
"text_",
"len_",
};
java.lang.String info =
"\u0001\u0002\u0000\u0001\u0001\u0002\u0002\u0000\u0000\u0001\u0001\u1508\u0000\u0002" +
"\u1004\u0001";
return newMessageInfo(DEFAULT_INSTANCE, info, objects);
}
// fall through
case GET_DEFAULT_INSTANCE: {
return DEFAULT_INSTANCE;
}
case GET_PARSER: {
com.google.protobuf.Parser<com.particles.mes.protos.openrtb.NativeResponse.Asset.Title> parser = PARSER;
if (parser == null) {
synchronized (com.particles.mes.protos.openrtb.NativeResponse.Asset.Title.class) {
parser = PARSER;
if (parser == null) {
parser =
new DefaultInstanceBasedParser<com.particles.mes.protos.openrtb.NativeResponse.Asset.Title>(
DEFAULT_INSTANCE);
PARSER = parser;
}
}
}
return parser;
}
case GET_MEMOIZED_IS_INITIALIZED: {
return memoizedIsInitialized;
}
case SET_MEMOIZED_IS_INITIALIZED: {
memoizedIsInitialized = (byte) (arg0 == null ? 0 : 1);
return null;
}
}
throw new UnsupportedOperationException();
}
// @@protoc_insertion_point(class_scope:com.google.openrtb.NativeResponse.Asset.Title)
private static final com.particles.mes.protos.openrtb.NativeResponse.Asset.Title DEFAULT_INSTANCE;
static {
Title defaultInstance = new Title();
// New instances are implicitly immutable so no need to make
// immutable.
DEFAULT_INSTANCE = defaultInstance;
com.google.protobuf.GeneratedMessageLite.registerDefaultInstance(
Title.class, defaultInstance);
}
public static com.particles.mes.protos.openrtb.NativeResponse.Asset.Title getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static volatile com.google.protobuf.Parser<Title> PARSER;
public static com.google.protobuf.Parser<Title> parser() {
return DEFAULT_INSTANCE.getParserForType();
}
}
public interface ImageOrBuilder extends
// @@protoc_insertion_point(interface_extends:com.google.openrtb.NativeResponse.Asset.Image)
com.google.protobuf.GeneratedMessageLite.
ExtendableMessageOrBuilder<
Image, Image.Builder> {
/**
* <pre>
* The type of image element being submitted from the ImageType enum.
* REQUIRED for assetsurl or dcourl responses,
* not required to embedded asset responses.
* </pre>
*
* <code>optional .com.google.openrtb.ImageAssetType type = 4;</code>
* @return Whether the type field is set.
*/
boolean hasType();
/**
* <pre>
* The type of image element being submitted from the ImageType enum.
* REQUIRED for assetsurl or dcourl responses,
* not required to embedded asset responses.
* </pre>
*
* <code>optional .com.google.openrtb.ImageAssetType type = 4;</code>
* @return The type.
*/
com.particles.mes.protos.openrtb.ImageAssetType getType();
/**
* <pre>
* URL of the image asset.
* REQUIRED by the OpenRTB Native specification.
* </pre>
*
* <code>required string url = 1;</code>
* @return Whether the url field is set.
*/
boolean hasUrl();
/**
* <pre>
* URL of the image asset.
* REQUIRED by the OpenRTB Native specification.
* </pre>
*
* <code>required string url = 1;</code>
* @return The url.
*/
java.lang.String getUrl();
/**
* <pre>
* URL of the image asset.
* REQUIRED by the OpenRTB Native specification.
* </pre>
*
* <code>required string url = 1;</code>
* @return The bytes for url.
*/
com.google.protobuf.ByteString
getUrlBytes();
/**
* <pre>
* Width of the image in pixels.
* RECOMMENDED in 1.0, 1.1, or in 1.2 for embedded asset responses.
* REQUIRED in 1.2 for assetsurl or dcourl if multiple assets
* of the same type submitted.
* </pre>
*
* <code>optional int32 w = 2;</code>
* @return Whether the w field is set.
*/
boolean hasW();
/**
* <pre>
* Width of the image in pixels.
* RECOMMENDED in 1.0, 1.1, or in 1.2 for embedded asset responses.
* REQUIRED in 1.2 for assetsurl or dcourl if multiple assets
* of the same type submitted.
* </pre>
*
* <code>optional int32 w = 2;</code>
* @return The w.
*/
int getW();
/**
* <pre>
* Height of the image in pixels.
* RECOMMENDED in 1.0, 1.1, or in 1.2 for embedded asset responses.
* REQUIRED in 1.2 for assetsurl or dcourl if multiple assets
* of the same type submitted.
* </pre>
*
* <code>optional int32 h = 3;</code>
* @return Whether the h field is set.
*/
boolean hasH();
/**
* <pre>
* Height of the image in pixels.
* RECOMMENDED in 1.0, 1.1, or in 1.2 for embedded asset responses.
* REQUIRED in 1.2 for assetsurl or dcourl if multiple assets
* of the same type submitted.
* </pre>
*
* <code>optional int32 h = 3;</code>
* @return The h.
*/
int getH();
}
/**
* <pre>
* OpenRTB Native 1.0: Corresponds to the Image Object in the request.
* The Image object to be used for all image elements of the Native ad,
* such as Icons or Main Image.
* It is recommended that if assetsurl/dcourl is being used rather than
* embbedded assets, that an image of each recommended aspect ratio
* (per ImageType enum) be provided for image type 3 (MAIN_IMAGE).
* </pre>
*
* Protobuf type {@code com.google.openrtb.NativeResponse.Asset.Image}
*/
public static final class Image extends
com.google.protobuf.GeneratedMessageLite.ExtendableMessage<
Image, Image.Builder> implements
// @@protoc_insertion_point(message_implements:com.google.openrtb.NativeResponse.Asset.Image)
ImageOrBuilder {
private Image() {
type_ = 1;
url_ = "";
}
private int bitField0_;
public static final int TYPE_FIELD_NUMBER = 4;
private int type_;
/**
* <pre>
* The type of image element being submitted from the ImageType enum.
* REQUIRED for assetsurl or dcourl responses,
* not required to embedded asset responses.
* </pre>
*
* <code>optional .com.google.openrtb.ImageAssetType type = 4;</code>
* @return Whether the type field is set.
*/
@java.lang.Override
public boolean hasType() {
return ((bitField0_ & 0x00000001) != 0);
}
/**
* <pre>
* The type of image element being submitted from the ImageType enum.
* REQUIRED for assetsurl or dcourl responses,
* not required to embedded asset responses.
* </pre>
*
* <code>optional .com.google.openrtb.ImageAssetType type = 4;</code>
* @return The type.
*/
@java.lang.Override
public com.particles.mes.protos.openrtb.ImageAssetType getType() {
com.particles.mes.protos.openrtb.ImageAssetType result = com.particles.mes.protos.openrtb.ImageAssetType.forNumber(type_);
return result == null ? com.particles.mes.protos.openrtb.ImageAssetType.ICON : result;
}
/**
* <pre>
* The type of image element being submitted from the ImageType enum.
* REQUIRED for assetsurl or dcourl responses,
* not required to embedded asset responses.
* </pre>
*
* <code>optional .com.google.openrtb.ImageAssetType type = 4;</code>
* @param value The type to set.
*/
private void setType(com.particles.mes.protos.openrtb.ImageAssetType value) {
type_ = value.getNumber();
bitField0_ |= 0x00000001;
}
/**
* <pre>
* The type of image element being submitted from the ImageType enum.
* REQUIRED for assetsurl or dcourl responses,
* not required to embedded asset responses.
* </pre>
*
* <code>optional .com.google.openrtb.ImageAssetType type = 4;</code>
*/
private void clearType() {
bitField0_ = (bitField0_ & ~0x00000001);
type_ = 1;
}
public static final int URL_FIELD_NUMBER = 1;
private java.lang.String url_;
/**
* <pre>
* URL of the image asset.
* REQUIRED by the OpenRTB Native specification.
* </pre>
*
* <code>required string url = 1;</code>
* @return Whether the url field is set.
*/
@java.lang.Override
public boolean hasUrl() {
return ((bitField0_ & 0x00000002) != 0);
}
/**
* <pre>
* URL of the image asset.
* REQUIRED by the OpenRTB Native specification.
* </pre>
*
* <code>required string url = 1;</code>
* @return The url.
*/
@java.lang.Override
public java.lang.String getUrl() {
return url_;
}
/**
* <pre>
* URL of the image asset.
* REQUIRED by the OpenRTB Native specification.
* </pre>
*
* <code>required string url = 1;</code>
* @return The bytes for url.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getUrlBytes() {
return com.google.protobuf.ByteString.copyFromUtf8(url_);
}
/**
* <pre>
* URL of the image asset.
* REQUIRED by the OpenRTB Native specification.
* </pre>
*
* <code>required string url = 1;</code>
* @param value The url to set.
*/
private void setUrl(
java.lang.String value) {
java.lang.Class<?> valueClass = value.getClass();
bitField0_ |= 0x00000002;
url_ = value;
}
/**
* <pre>
* URL of the image asset.
* REQUIRED by the OpenRTB Native specification.
* </pre>
*
* <code>required string url = 1;</code>
*/
private void clearUrl() {
bitField0_ = (bitField0_ & ~0x00000002);
url_ = getDefaultInstance().getUrl();
}
/**
* <pre>
* URL of the image asset.
* REQUIRED by the OpenRTB Native specification.
* </pre>
*
* <code>required string url = 1;</code>
* @param value The bytes for url to set.
*/
private void setUrlBytes(
com.google.protobuf.ByteString value) {
url_ = value.toStringUtf8();
bitField0_ |= 0x00000002;
}
public static final int W_FIELD_NUMBER = 2;
private int w_;
/**
* <pre>
* Width of the image in pixels.
* RECOMMENDED in 1.0, 1.1, or in 1.2 for embedded asset responses.
* REQUIRED in 1.2 for assetsurl or dcourl if multiple assets
* of the same type submitted.
* </pre>
*
* <code>optional int32 w = 2;</code>
* @return Whether the w field is set.
*/
@java.lang.Override
public boolean hasW() {
return ((bitField0_ & 0x00000004) != 0);
}
/**
* <pre>
* Width of the image in pixels.
* RECOMMENDED in 1.0, 1.1, or in 1.2 for embedded asset responses.
* REQUIRED in 1.2 for assetsurl or dcourl if multiple assets
* of the same type submitted.
* </pre>
*
* <code>optional int32 w = 2;</code>
* @return The w.
*/
@java.lang.Override
public int getW() {
return w_;
}
/**
* <pre>
* Width of the image in pixels.
* RECOMMENDED in 1.0, 1.1, or in 1.2 for embedded asset responses.
* REQUIRED in 1.2 for assetsurl or dcourl if multiple assets
* of the same type submitted.
* </pre>
*
* <code>optional int32 w = 2;</code>
* @param value The w to set.
*/
private void setW(int value) {
bitField0_ |= 0x00000004;
w_ = value;
}
/**
* <pre>
* Width of the image in pixels.
* RECOMMENDED in 1.0, 1.1, or in 1.2 for embedded asset responses.
* REQUIRED in 1.2 for assetsurl or dcourl if multiple assets
* of the same type submitted.
* </pre>
*
* <code>optional int32 w = 2;</code>
*/
private void clearW() {
bitField0_ = (bitField0_ & ~0x00000004);
w_ = 0;
}
public static final int H_FIELD_NUMBER = 3;
private int h_;
/**
* <pre>
* Height of the image in pixels.
* RECOMMENDED in 1.0, 1.1, or in 1.2 for embedded asset responses.
* REQUIRED in 1.2 for assetsurl or dcourl if multiple assets
* of the same type submitted.
* </pre>
*
* <code>optional int32 h = 3;</code>
* @return Whether the h field is set.
*/
@java.lang.Override
public boolean hasH() {
return ((bitField0_ & 0x00000008) != 0);
}
/**
* <pre>
* Height of the image in pixels.
* RECOMMENDED in 1.0, 1.1, or in 1.2 for embedded asset responses.
* REQUIRED in 1.2 for assetsurl or dcourl if multiple assets
* of the same type submitted.
* </pre>
*
* <code>optional int32 h = 3;</code>
* @return The h.
*/
@java.lang.Override
public int getH() {
return h_;
}
/**
* <pre>
* Height of the image in pixels.
* RECOMMENDED in 1.0, 1.1, or in 1.2 for embedded asset responses.
* REQUIRED in 1.2 for assetsurl or dcourl if multiple assets
* of the same type submitted.
* </pre>
*
* <code>optional int32 h = 3;</code>
* @param value The h to set.
*/
private void setH(int value) {
bitField0_ |= 0x00000008;
h_ = value;
}
/**
* <pre>
* Height of the image in pixels.
* RECOMMENDED in 1.0, 1.1, or in 1.2 for embedded asset responses.
* REQUIRED in 1.2 for assetsurl or dcourl if multiple assets
* of the same type submitted.
* </pre>
*
* <code>optional int32 h = 3;</code>
*/
private void clearH() {
bitField0_ = (bitField0_ & ~0x00000008);
h_ = 0;
}
public static com.particles.mes.protos.openrtb.NativeResponse.Asset.Image parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, data);
}
public static com.particles.mes.protos.openrtb.NativeResponse.Asset.Image parseFrom(
java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, data, extensionRegistry);
}
public static com.particles.mes.protos.openrtb.NativeResponse.Asset.Image parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, data);
}
public static com.particles.mes.protos.openrtb.NativeResponse.Asset.Image parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, data, extensionRegistry);
}
public static com.particles.mes.protos.openrtb.NativeResponse.Asset.Image parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, data);
}
public static com.particles.mes.protos.openrtb.NativeResponse.Asset.Image parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, data, extensionRegistry);
}
public static com.particles.mes.protos.openrtb.NativeResponse.Asset.Image parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, input);
}
public static com.particles.mes.protos.openrtb.NativeResponse.Asset.Image parseFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, input, extensionRegistry);
}
public static com.particles.mes.protos.openrtb.NativeResponse.Asset.Image parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return parseDelimitedFrom(DEFAULT_INSTANCE, input);
}
public static com.particles.mes.protos.openrtb.NativeResponse.Asset.Image parseDelimitedFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return parseDelimitedFrom(DEFAULT_INSTANCE, input, extensionRegistry);
}
public static com.particles.mes.protos.openrtb.NativeResponse.Asset.Image parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, input);
}
public static com.particles.mes.protos.openrtb.NativeResponse.Asset.Image parseFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, input, extensionRegistry);
}
public static Builder newBuilder() {
return (Builder) DEFAULT_INSTANCE.createBuilder();
}
public static Builder newBuilder(com.particles.mes.protos.openrtb.NativeResponse.Asset.Image prototype) {
return (Builder) DEFAULT_INSTANCE.createBuilder(prototype);
}
/**
* <pre>
* OpenRTB Native 1.0: Corresponds to the Image Object in the request.
* The Image object to be used for all image elements of the Native ad,
* such as Icons or Main Image.
* It is recommended that if assetsurl/dcourl is being used rather than
* embbedded assets, that an image of each recommended aspect ratio
* (per ImageType enum) be provided for image type 3 (MAIN_IMAGE).
* </pre>
*
* Protobuf type {@code com.google.openrtb.NativeResponse.Asset.Image}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageLite.ExtendableBuilder<
com.particles.mes.protos.openrtb.NativeResponse.Asset.Image, Builder> implements
// @@protoc_insertion_point(builder_implements:com.google.openrtb.NativeResponse.Asset.Image)
com.particles.mes.protos.openrtb.NativeResponse.Asset.ImageOrBuilder {
// Construct using com.particles.mes.protos.openrtb.NativeResponse.Asset.Image.newBuilder()
private Builder() {
super(DEFAULT_INSTANCE);
}
/**
* <pre>
* The type of image element being submitted from the ImageType enum.
* REQUIRED for assetsurl or dcourl responses,
* not required to embedded asset responses.
* </pre>
*
* <code>optional .com.google.openrtb.ImageAssetType type = 4;</code>
* @return Whether the type field is set.
*/
@java.lang.Override
public boolean hasType() {
return instance.hasType();
}
/**
* <pre>
* The type of image element being submitted from the ImageType enum.
* REQUIRED for assetsurl or dcourl responses,
* not required to embedded asset responses.
* </pre>
*
* <code>optional .com.google.openrtb.ImageAssetType type = 4;</code>
* @return The type.
*/
@java.lang.Override
public com.particles.mes.protos.openrtb.ImageAssetType getType() {
return instance.getType();
}
/**
* <pre>
* The type of image element being submitted from the ImageType enum.
* REQUIRED for assetsurl or dcourl responses,
* not required to embedded asset responses.
* </pre>
*
* <code>optional .com.google.openrtb.ImageAssetType type = 4;</code>
* @param value The enum numeric value on the wire for type to set.
* @return This builder for chaining.
*/
public Builder setType(com.particles.mes.protos.openrtb.ImageAssetType value) {
copyOnWrite();
instance.setType(value);
return this;
}
/**
* <pre>
* The type of image element being submitted from the ImageType enum.
* REQUIRED for assetsurl or dcourl responses,
* not required to embedded asset responses.
* </pre>
*
* <code>optional .com.google.openrtb.ImageAssetType type = 4;</code>
* @return This builder for chaining.
*/
public Builder clearType() {
copyOnWrite();
instance.clearType();
return this;
}
/**
* <pre>
* URL of the image asset.
* REQUIRED by the OpenRTB Native specification.
* </pre>
*
* <code>required string url = 1;</code>
* @return Whether the url field is set.
*/
@java.lang.Override
public boolean hasUrl() {
return instance.hasUrl();
}
/**
* <pre>
* URL of the image asset.
* REQUIRED by the OpenRTB Native specification.
* </pre>
*
* <code>required string url = 1;</code>
* @return The url.
*/
@java.lang.Override
public java.lang.String getUrl() {
return instance.getUrl();
}
/**
* <pre>
* URL of the image asset.
* REQUIRED by the OpenRTB Native specification.
* </pre>
*
* <code>required string url = 1;</code>
* @return The bytes for url.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getUrlBytes() {
return instance.getUrlBytes();
}
/**
* <pre>
* URL of the image asset.
* REQUIRED by the OpenRTB Native specification.
* </pre>
*
* <code>required string url = 1;</code>
* @param value The url to set.
* @return This builder for chaining.
*/
public Builder setUrl(
java.lang.String value) {
copyOnWrite();
instance.setUrl(value);
return this;
}
/**
* <pre>
* URL of the image asset.
* REQUIRED by the OpenRTB Native specification.
* </pre>
*
* <code>required string url = 1;</code>
* @return This builder for chaining.
*/
public Builder clearUrl() {
copyOnWrite();
instance.clearUrl();
return this;
}
/**
* <pre>
* URL of the image asset.
* REQUIRED by the OpenRTB Native specification.
* </pre>
*
* <code>required string url = 1;</code>
* @param value The bytes for url to set.
* @return This builder for chaining.
*/
public Builder setUrlBytes(
com.google.protobuf.ByteString value) {
copyOnWrite();
instance.setUrlBytes(value);
return this;
}
/**
* <pre>
* Width of the image in pixels.
* RECOMMENDED in 1.0, 1.1, or in 1.2 for embedded asset responses.
* REQUIRED in 1.2 for assetsurl or dcourl if multiple assets
* of the same type submitted.
* </pre>
*
* <code>optional int32 w = 2;</code>
* @return Whether the w field is set.
*/
@java.lang.Override
public boolean hasW() {
return instance.hasW();
}
/**
* <pre>
* Width of the image in pixels.
* RECOMMENDED in 1.0, 1.1, or in 1.2 for embedded asset responses.
* REQUIRED in 1.2 for assetsurl or dcourl if multiple assets
* of the same type submitted.
* </pre>
*
* <code>optional int32 w = 2;</code>
* @return The w.
*/
@java.lang.Override
public int getW() {
return instance.getW();
}
/**
* <pre>
* Width of the image in pixels.
* RECOMMENDED in 1.0, 1.1, or in 1.2 for embedded asset responses.
* REQUIRED in 1.2 for assetsurl or dcourl if multiple assets
* of the same type submitted.
* </pre>
*
* <code>optional int32 w = 2;</code>
* @param value The w to set.
* @return This builder for chaining.
*/
public Builder setW(int value) {
copyOnWrite();
instance.setW(value);
return this;
}
/**
* <pre>
* Width of the image in pixels.
* RECOMMENDED in 1.0, 1.1, or in 1.2 for embedded asset responses.
* REQUIRED in 1.2 for assetsurl or dcourl if multiple assets
* of the same type submitted.
* </pre>
*
* <code>optional int32 w = 2;</code>
* @return This builder for chaining.
*/
public Builder clearW() {
copyOnWrite();
instance.clearW();
return this;
}
/**
* <pre>
* Height of the image in pixels.
* RECOMMENDED in 1.0, 1.1, or in 1.2 for embedded asset responses.
* REQUIRED in 1.2 for assetsurl or dcourl if multiple assets
* of the same type submitted.
* </pre>
*
* <code>optional int32 h = 3;</code>
* @return Whether the h field is set.
*/
@java.lang.Override
public boolean hasH() {
return instance.hasH();
}
/**
* <pre>
* Height of the image in pixels.
* RECOMMENDED in 1.0, 1.1, or in 1.2 for embedded asset responses.
* REQUIRED in 1.2 for assetsurl or dcourl if multiple assets
* of the same type submitted.
* </pre>
*
* <code>optional int32 h = 3;</code>
* @return The h.
*/
@java.lang.Override
public int getH() {
return instance.getH();
}
/**
* <pre>
* Height of the image in pixels.
* RECOMMENDED in 1.0, 1.1, or in 1.2 for embedded asset responses.
* REQUIRED in 1.2 for assetsurl or dcourl if multiple assets
* of the same type submitted.
* </pre>
*
* <code>optional int32 h = 3;</code>
* @param value The h to set.
* @return This builder for chaining.
*/
public Builder setH(int value) {
copyOnWrite();
instance.setH(value);
return this;
}
/**
* <pre>
* Height of the image in pixels.
* RECOMMENDED in 1.0, 1.1, or in 1.2 for embedded asset responses.
* REQUIRED in 1.2 for assetsurl or dcourl if multiple assets
* of the same type submitted.
* </pre>
*
* <code>optional int32 h = 3;</code>
* @return This builder for chaining.
*/
public Builder clearH() {
copyOnWrite();
instance.clearH();
return this;
}
// @@protoc_insertion_point(builder_scope:com.google.openrtb.NativeResponse.Asset.Image)
}
private byte memoizedIsInitialized = 2;
@java.lang.Override
@java.lang.SuppressWarnings({"unchecked", "fallthrough"})
protected final java.lang.Object dynamicMethod(
com.google.protobuf.GeneratedMessageLite.MethodToInvoke method,
java.lang.Object arg0, java.lang.Object arg1) {
switch (method) {
case NEW_MUTABLE_INSTANCE: {
return new com.particles.mes.protos.openrtb.NativeResponse.Asset.Image();
}
case NEW_BUILDER: {
return new Builder();
}
case BUILD_MESSAGE_INFO: {
java.lang.Object[] objects = new java.lang.Object[] {
"bitField0_",
"url_",
"w_",
"h_",
"type_",
com.particles.mes.protos.openrtb.ImageAssetType.internalGetVerifier(),
};
java.lang.String info =
"\u0001\u0004\u0000\u0001\u0001\u0004\u0004\u0000\u0000\u0001\u0001\u1508\u0001\u0002" +
"\u1004\u0002\u0003\u1004\u0003\u0004\u100c\u0000";
return newMessageInfo(DEFAULT_INSTANCE, info, objects);
}
// fall through
case GET_DEFAULT_INSTANCE: {
return DEFAULT_INSTANCE;
}
case GET_PARSER: {
com.google.protobuf.Parser<com.particles.mes.protos.openrtb.NativeResponse.Asset.Image> parser = PARSER;
if (parser == null) {
synchronized (com.particles.mes.protos.openrtb.NativeResponse.Asset.Image.class) {
parser = PARSER;
if (parser == null) {
parser =
new DefaultInstanceBasedParser<com.particles.mes.protos.openrtb.NativeResponse.Asset.Image>(
DEFAULT_INSTANCE);
PARSER = parser;
}
}
}
return parser;
}
case GET_MEMOIZED_IS_INITIALIZED: {
return memoizedIsInitialized;
}
case SET_MEMOIZED_IS_INITIALIZED: {
memoizedIsInitialized = (byte) (arg0 == null ? 0 : 1);
return null;
}
}
throw new UnsupportedOperationException();
}
// @@protoc_insertion_point(class_scope:com.google.openrtb.NativeResponse.Asset.Image)
private static final com.particles.mes.protos.openrtb.NativeResponse.Asset.Image DEFAULT_INSTANCE;
static {
Image defaultInstance = new Image();
// New instances are implicitly immutable so no need to make
// immutable.
DEFAULT_INSTANCE = defaultInstance;
com.google.protobuf.GeneratedMessageLite.registerDefaultInstance(
Image.class, defaultInstance);
}
public static com.particles.mes.protos.openrtb.NativeResponse.Asset.Image getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static volatile com.google.protobuf.Parser<Image> PARSER;
public static com.google.protobuf.Parser<Image> parser() {
return DEFAULT_INSTANCE.getParserForType();
}
}
public interface VideoOrBuilder extends
// @@protoc_insertion_point(interface_extends:com.google.openrtb.NativeResponse.Asset.Video)
com.google.protobuf.GeneratedMessageLite.
ExtendableMessageOrBuilder<
Video, Video.Builder> {
/**
* <pre>
* VAST xml.
* REQUIRED by the OpenRTB Native specification.
* </pre>
*
* <code>required string vasttag = 1;</code>
* @return Whether the vasttag field is set.
*/
boolean hasVasttag();
/**
* <pre>
* VAST xml.
* REQUIRED by the OpenRTB Native specification.
* </pre>
*
* <code>required string vasttag = 1;</code>
* @return The vasttag.
*/
java.lang.String getVasttag();
/**
* <pre>
* VAST xml.
* REQUIRED by the OpenRTB Native specification.
* </pre>
*
* <code>required string vasttag = 1;</code>
* @return The bytes for vasttag.
*/
com.google.protobuf.ByteString
getVasttagBytes();
}
/**
* <pre>
* OpenRTB Native 1.0: Corresponds to the Video Object in the request,
* yet containing a value of a conforming VAST tag as a value.
* </pre>
*
* Protobuf type {@code com.google.openrtb.NativeResponse.Asset.Video}
*/
public static final class Video extends
com.google.protobuf.GeneratedMessageLite.ExtendableMessage<
Video, Video.Builder> implements
// @@protoc_insertion_point(message_implements:com.google.openrtb.NativeResponse.Asset.Video)
VideoOrBuilder {
private Video() {
vasttag_ = "";
}
private int bitField0_;
public static final int VASTTAG_FIELD_NUMBER = 1;
private java.lang.String vasttag_;
/**
* <pre>
* VAST xml.
* REQUIRED by the OpenRTB Native specification.
* </pre>
*
* <code>required string vasttag = 1;</code>
* @return Whether the vasttag field is set.
*/
@java.lang.Override
public boolean hasVasttag() {
return ((bitField0_ & 0x00000001) != 0);
}
/**
* <pre>
* VAST xml.
* REQUIRED by the OpenRTB Native specification.
* </pre>
*
* <code>required string vasttag = 1;</code>
* @return The vasttag.
*/
@java.lang.Override
public java.lang.String getVasttag() {
return vasttag_;
}
/**
* <pre>
* VAST xml.
* REQUIRED by the OpenRTB Native specification.
* </pre>
*
* <code>required string vasttag = 1;</code>
* @return The bytes for vasttag.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getVasttagBytes() {
return com.google.protobuf.ByteString.copyFromUtf8(vasttag_);
}
/**
* <pre>
* VAST xml.
* REQUIRED by the OpenRTB Native specification.
* </pre>
*
* <code>required string vasttag = 1;</code>
* @param value The vasttag to set.
*/
private void setVasttag(
java.lang.String value) {
java.lang.Class<?> valueClass = value.getClass();
bitField0_ |= 0x00000001;
vasttag_ = value;
}
/**
* <pre>
* VAST xml.
* REQUIRED by the OpenRTB Native specification.
* </pre>
*
* <code>required string vasttag = 1;</code>
*/
private void clearVasttag() {
bitField0_ = (bitField0_ & ~0x00000001);
vasttag_ = getDefaultInstance().getVasttag();
}
/**
* <pre>
* VAST xml.
* REQUIRED by the OpenRTB Native specification.
* </pre>
*
* <code>required string vasttag = 1;</code>
* @param value The bytes for vasttag to set.
*/
private void setVasttagBytes(
com.google.protobuf.ByteString value) {
vasttag_ = value.toStringUtf8();
bitField0_ |= 0x00000001;
}
public static com.particles.mes.protos.openrtb.NativeResponse.Asset.Video parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, data);
}
public static com.particles.mes.protos.openrtb.NativeResponse.Asset.Video parseFrom(
java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, data, extensionRegistry);
}
public static com.particles.mes.protos.openrtb.NativeResponse.Asset.Video parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, data);
}
public static com.particles.mes.protos.openrtb.NativeResponse.Asset.Video parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, data, extensionRegistry);
}
public static com.particles.mes.protos.openrtb.NativeResponse.Asset.Video parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, data);
}
public static com.particles.mes.protos.openrtb.NativeResponse.Asset.Video parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, data, extensionRegistry);
}
public static com.particles.mes.protos.openrtb.NativeResponse.Asset.Video parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, input);
}
public static com.particles.mes.protos.openrtb.NativeResponse.Asset.Video parseFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, input, extensionRegistry);
}
public static com.particles.mes.protos.openrtb.NativeResponse.Asset.Video parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return parseDelimitedFrom(DEFAULT_INSTANCE, input);
}
public static com.particles.mes.protos.openrtb.NativeResponse.Asset.Video parseDelimitedFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return parseDelimitedFrom(DEFAULT_INSTANCE, input, extensionRegistry);
}
public static com.particles.mes.protos.openrtb.NativeResponse.Asset.Video parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, input);
}
public static com.particles.mes.protos.openrtb.NativeResponse.Asset.Video parseFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, input, extensionRegistry);
}
public static Builder newBuilder() {
return (Builder) DEFAULT_INSTANCE.createBuilder();
}
public static Builder newBuilder(com.particles.mes.protos.openrtb.NativeResponse.Asset.Video prototype) {
return (Builder) DEFAULT_INSTANCE.createBuilder(prototype);
}
/**
* <pre>
* OpenRTB Native 1.0: Corresponds to the Video Object in the request,
* yet containing a value of a conforming VAST tag as a value.
* </pre>
*
* Protobuf type {@code com.google.openrtb.NativeResponse.Asset.Video}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageLite.ExtendableBuilder<
com.particles.mes.protos.openrtb.NativeResponse.Asset.Video, Builder> implements
// @@protoc_insertion_point(builder_implements:com.google.openrtb.NativeResponse.Asset.Video)
com.particles.mes.protos.openrtb.NativeResponse.Asset.VideoOrBuilder {
// Construct using com.particles.mes.protos.openrtb.NativeResponse.Asset.Video.newBuilder()
private Builder() {
super(DEFAULT_INSTANCE);
}
/**
* <pre>
* VAST xml.
* REQUIRED by the OpenRTB Native specification.
* </pre>
*
* <code>required string vasttag = 1;</code>
* @return Whether the vasttag field is set.
*/
@java.lang.Override
public boolean hasVasttag() {
return instance.hasVasttag();
}
/**
* <pre>
* VAST xml.
* REQUIRED by the OpenRTB Native specification.
* </pre>
*
* <code>required string vasttag = 1;</code>
* @return The vasttag.
*/
@java.lang.Override
public java.lang.String getVasttag() {
return instance.getVasttag();
}
/**
* <pre>
* VAST xml.
* REQUIRED by the OpenRTB Native specification.
* </pre>
*
* <code>required string vasttag = 1;</code>
* @return The bytes for vasttag.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getVasttagBytes() {
return instance.getVasttagBytes();
}
/**
* <pre>
* VAST xml.
* REQUIRED by the OpenRTB Native specification.
* </pre>
*
* <code>required string vasttag = 1;</code>
* @param value The vasttag to set.
* @return This builder for chaining.
*/
public Builder setVasttag(
java.lang.String value) {
copyOnWrite();
instance.setVasttag(value);
return this;
}
/**
* <pre>
* VAST xml.
* REQUIRED by the OpenRTB Native specification.
* </pre>
*
* <code>required string vasttag = 1;</code>
* @return This builder for chaining.
*/
public Builder clearVasttag() {
copyOnWrite();
instance.clearVasttag();
return this;
}
/**
* <pre>
* VAST xml.
* REQUIRED by the OpenRTB Native specification.
* </pre>
*
* <code>required string vasttag = 1;</code>
* @param value The bytes for vasttag to set.
* @return This builder for chaining.
*/
public Builder setVasttagBytes(
com.google.protobuf.ByteString value) {
copyOnWrite();
instance.setVasttagBytes(value);
return this;
}
// @@protoc_insertion_point(builder_scope:com.google.openrtb.NativeResponse.Asset.Video)
}
private byte memoizedIsInitialized = 2;
@java.lang.Override
@java.lang.SuppressWarnings({"unchecked", "fallthrough"})
protected final java.lang.Object dynamicMethod(
com.google.protobuf.GeneratedMessageLite.MethodToInvoke method,
java.lang.Object arg0, java.lang.Object arg1) {
switch (method) {
case NEW_MUTABLE_INSTANCE: {
return new com.particles.mes.protos.openrtb.NativeResponse.Asset.Video();
}
case NEW_BUILDER: {
return new Builder();
}
case BUILD_MESSAGE_INFO: {
java.lang.Object[] objects = new java.lang.Object[] {
"bitField0_",
"vasttag_",
};
java.lang.String info =
"\u0001\u0001\u0000\u0001\u0001\u0001\u0001\u0000\u0000\u0001\u0001\u1508\u0000";
return newMessageInfo(DEFAULT_INSTANCE, info, objects);
}
// fall through
case GET_DEFAULT_INSTANCE: {
return DEFAULT_INSTANCE;
}
case GET_PARSER: {
com.google.protobuf.Parser<com.particles.mes.protos.openrtb.NativeResponse.Asset.Video> parser = PARSER;
if (parser == null) {
synchronized (com.particles.mes.protos.openrtb.NativeResponse.Asset.Video.class) {
parser = PARSER;
if (parser == null) {
parser =
new DefaultInstanceBasedParser<com.particles.mes.protos.openrtb.NativeResponse.Asset.Video>(
DEFAULT_INSTANCE);
PARSER = parser;
}
}
}
return parser;
}
case GET_MEMOIZED_IS_INITIALIZED: {
return memoizedIsInitialized;
}
case SET_MEMOIZED_IS_INITIALIZED: {
memoizedIsInitialized = (byte) (arg0 == null ? 0 : 1);
return null;
}
}
throw new UnsupportedOperationException();
}
// @@protoc_insertion_point(class_scope:com.google.openrtb.NativeResponse.Asset.Video)
private static final com.particles.mes.protos.openrtb.NativeResponse.Asset.Video DEFAULT_INSTANCE;
static {
Video defaultInstance = new Video();
// New instances are implicitly immutable so no need to make
// immutable.
DEFAULT_INSTANCE = defaultInstance;
com.google.protobuf.GeneratedMessageLite.registerDefaultInstance(
Video.class, defaultInstance);
}
public static com.particles.mes.protos.openrtb.NativeResponse.Asset.Video getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static volatile com.google.protobuf.Parser<Video> PARSER;
public static com.google.protobuf.Parser<Video> parser() {
return DEFAULT_INSTANCE.getParserForType();
}
}
public interface DataOrBuilder extends
// @@protoc_insertion_point(interface_extends:com.google.openrtb.NativeResponse.Asset.Data)
com.google.protobuf.GeneratedMessageLite.
ExtendableMessageOrBuilder<
Data, Data.Builder> {
/**
* <pre>
* The type of data element being submitted from the DataAssetTypes enum.
* REQUIRED in 1.2 for assetsurl or dcourl responses.
* </pre>
*
* <code>optional .com.google.openrtb.DataAssetType type = 3;</code>
* @return Whether the type field is set.
*/
boolean hasType();
/**
* <pre>
* The type of data element being submitted from the DataAssetTypes enum.
* REQUIRED in 1.2 for assetsurl or dcourl responses.
* </pre>
*
* <code>optional .com.google.openrtb.DataAssetType type = 3;</code>
* @return The type.
*/
com.particles.mes.protos.openrtb.DataAssetType getType();
/**
* <pre>
* The length of the data element being submitted. Where applicable, must
* comply with the recommended maximum lengths in the DataAssetType enum.
* REQUIRED in 1.2 for assetsurl or dcourl responses.
* </pre>
*
* <code>optional int32 len = 4;</code>
* @return Whether the len field is set.
*/
boolean hasLen();
/**
* <pre>
* The length of the data element being submitted. Where applicable, must
* comply with the recommended maximum lengths in the DataAssetType enum.
* REQUIRED in 1.2 for assetsurl or dcourl responses.
* </pre>
*
* <code>optional int32 len = 4;</code>
* @return The len.
*/
int getLen();
/**
* <pre>
* DEPRECATED in OpenRTB Native 1.2+. No replacement.
* The optional formatted string name of the data type to be displayed.
* </pre>
*
* <code>optional string label = 1 [deprecated = true];</code>
* @deprecated com.google.openrtb.NativeResponse.Asset.Data.label is deprecated.
* See openrtb/openrtb-v26.proto;l=2529
* @return Whether the label field is set.
*/
@java.lang.Deprecated boolean hasLabel();
/**
* <pre>
* DEPRECATED in OpenRTB Native 1.2+. No replacement.
* The optional formatted string name of the data type to be displayed.
* </pre>
*
* <code>optional string label = 1 [deprecated = true];</code>
* @deprecated com.google.openrtb.NativeResponse.Asset.Data.label is deprecated.
* See openrtb/openrtb-v26.proto;l=2529
* @return The label.
*/
@java.lang.Deprecated java.lang.String getLabel();
/**
* <pre>
* DEPRECATED in OpenRTB Native 1.2+. No replacement.
* The optional formatted string name of the data type to be displayed.
* </pre>
*
* <code>optional string label = 1 [deprecated = true];</code>
* @deprecated com.google.openrtb.NativeResponse.Asset.Data.label is deprecated.
* See openrtb/openrtb-v26.proto;l=2529
* @return The bytes for label.
*/
@java.lang.Deprecated com.google.protobuf.ByteString
getLabelBytes();
/**
* <pre>
* The formatted string of data to be displayed. Can contain a formatted
* value such as "5 stars" or "$10" or "3.4 stars out of 5".
* REQUIRED by the OpenRTB Native specification.
* </pre>
*
* <code>required string value = 2;</code>
* @return Whether the value field is set.
*/
boolean hasValue();
/**
* <pre>
* The formatted string of data to be displayed. Can contain a formatted
* value such as "5 stars" or "$10" or "3.4 stars out of 5".
* REQUIRED by the OpenRTB Native specification.
* </pre>
*
* <code>required string value = 2;</code>
* @return The value.
*/
java.lang.String getValue();
/**
* <pre>
* The formatted string of data to be displayed. Can contain a formatted
* value such as "5 stars" or "$10" or "3.4 stars out of 5".
* REQUIRED by the OpenRTB Native specification.
* </pre>
*
* <code>required string value = 2;</code>
* @return The bytes for value.
*/
com.google.protobuf.ByteString
getValueBytes();
}
/**
* <pre>
* OpenRTB Native 1.0: Corresponds to the Data Object in the request, with
* the value filled in. The Data Object is to be used for all miscellaneous
* elements of the native unit such as Brand Name, Ratings, Review Count,
* Stars, Downloads, and other elements. It is also generic for future of
* native elements not contemplated at the time of the writing of this
* document.
* </pre>
*
* Protobuf type {@code com.google.openrtb.NativeResponse.Asset.Data}
*/
public static final class Data extends
com.google.protobuf.GeneratedMessageLite.ExtendableMessage<
Data, Data.Builder> implements
// @@protoc_insertion_point(message_implements:com.google.openrtb.NativeResponse.Asset.Data)
DataOrBuilder {
private Data() {
type_ = 1;
label_ = "";
value_ = "";
}
private int bitField0_;
public static final int TYPE_FIELD_NUMBER = 3;
private int type_;
/**
* <pre>
* The type of data element being submitted from the DataAssetTypes enum.
* REQUIRED in 1.2 for assetsurl or dcourl responses.
* </pre>
*
* <code>optional .com.google.openrtb.DataAssetType type = 3;</code>
* @return Whether the type field is set.
*/
@java.lang.Override
public boolean hasType() {
return ((bitField0_ & 0x00000001) != 0);
}
/**
* <pre>
* The type of data element being submitted from the DataAssetTypes enum.
* REQUIRED in 1.2 for assetsurl or dcourl responses.
* </pre>
*
* <code>optional .com.google.openrtb.DataAssetType type = 3;</code>
* @return The type.
*/
@java.lang.Override
public com.particles.mes.protos.openrtb.DataAssetType getType() {
com.particles.mes.protos.openrtb.DataAssetType result = com.particles.mes.protos.openrtb.DataAssetType.forNumber(type_);
return result == null ? com.particles.mes.protos.openrtb.DataAssetType.SPONSORED : result;
}
/**
* <pre>
* The type of data element being submitted from the DataAssetTypes enum.
* REQUIRED in 1.2 for assetsurl or dcourl responses.
* </pre>
*
* <code>optional .com.google.openrtb.DataAssetType type = 3;</code>
* @param value The type to set.
*/
private void setType(com.particles.mes.protos.openrtb.DataAssetType value) {
type_ = value.getNumber();
bitField0_ |= 0x00000001;
}
/**
* <pre>
* The type of data element being submitted from the DataAssetTypes enum.
* REQUIRED in 1.2 for assetsurl or dcourl responses.
* </pre>
*
* <code>optional .com.google.openrtb.DataAssetType type = 3;</code>
*/
private void clearType() {
bitField0_ = (bitField0_ & ~0x00000001);
type_ = 1;
}
public static final int LEN_FIELD_NUMBER = 4;
private int len_;
/**
* <pre>
* The length of the data element being submitted. Where applicable, must
* comply with the recommended maximum lengths in the DataAssetType enum.
* REQUIRED in 1.2 for assetsurl or dcourl responses.
* </pre>
*
* <code>optional int32 len = 4;</code>
* @return Whether the len field is set.
*/
@java.lang.Override
public boolean hasLen() {
return ((bitField0_ & 0x00000002) != 0);
}
/**
* <pre>
* The length of the data element being submitted. Where applicable, must
* comply with the recommended maximum lengths in the DataAssetType enum.
* REQUIRED in 1.2 for assetsurl or dcourl responses.
* </pre>
*
* <code>optional int32 len = 4;</code>
* @return The len.
*/
@java.lang.Override
public int getLen() {
return len_;
}
/**
* <pre>
* The length of the data element being submitted. Where applicable, must
* comply with the recommended maximum lengths in the DataAssetType enum.
* REQUIRED in 1.2 for assetsurl or dcourl responses.
* </pre>
*
* <code>optional int32 len = 4;</code>
* @param value The len to set.
*/
private void setLen(int value) {
bitField0_ |= 0x00000002;
len_ = value;
}
/**
* <pre>
* The length of the data element being submitted. Where applicable, must
* comply with the recommended maximum lengths in the DataAssetType enum.
* REQUIRED in 1.2 for assetsurl or dcourl responses.
* </pre>
*
* <code>optional int32 len = 4;</code>
*/
private void clearLen() {
bitField0_ = (bitField0_ & ~0x00000002);
len_ = 0;
}
public static final int LABEL_FIELD_NUMBER = 1;
private java.lang.String label_;
/**
* <pre>
* DEPRECATED in OpenRTB Native 1.2+. No replacement.
* The optional formatted string name of the data type to be displayed.
* </pre>
*
* <code>optional string label = 1 [deprecated = true];</code>
* @deprecated com.google.openrtb.NativeResponse.Asset.Data.label is deprecated.
* See openrtb/openrtb-v26.proto;l=2529
* @return Whether the label field is set.
*/
@java.lang.Override
@java.lang.Deprecated public boolean hasLabel() {
return ((bitField0_ & 0x00000004) != 0);
}
/**
* <pre>
* DEPRECATED in OpenRTB Native 1.2+. No replacement.
* The optional formatted string name of the data type to be displayed.
* </pre>
*
* <code>optional string label = 1 [deprecated = true];</code>
* @deprecated com.google.openrtb.NativeResponse.Asset.Data.label is deprecated.
* See openrtb/openrtb-v26.proto;l=2529
* @return The label.
*/
@java.lang.Override
@java.lang.Deprecated public java.lang.String getLabel() {
return label_;
}
/**
* <pre>
* DEPRECATED in OpenRTB Native 1.2+. No replacement.
* The optional formatted string name of the data type to be displayed.
* </pre>
*
* <code>optional string label = 1 [deprecated = true];</code>
* @deprecated com.google.openrtb.NativeResponse.Asset.Data.label is deprecated.
* See openrtb/openrtb-v26.proto;l=2529
* @return The bytes for label.
*/
@java.lang.Override
@java.lang.Deprecated public com.google.protobuf.ByteString
getLabelBytes() {
return com.google.protobuf.ByteString.copyFromUtf8(label_);
}
/**
* <pre>
* DEPRECATED in OpenRTB Native 1.2+. No replacement.
* The optional formatted string name of the data type to be displayed.
* </pre>
*
* <code>optional string label = 1 [deprecated = true];</code>
* @deprecated com.google.openrtb.NativeResponse.Asset.Data.label is deprecated.
* See openrtb/openrtb-v26.proto;l=2529
* @param value The label to set.
*/
private void setLabel(
java.lang.String value) {
java.lang.Class<?> valueClass = value.getClass();
bitField0_ |= 0x00000004;
label_ = value;
}
/**
* <pre>
* DEPRECATED in OpenRTB Native 1.2+. No replacement.
* The optional formatted string name of the data type to be displayed.
* </pre>
*
* <code>optional string label = 1 [deprecated = true];</code>
* @deprecated com.google.openrtb.NativeResponse.Asset.Data.label is deprecated.
* See openrtb/openrtb-v26.proto;l=2529
*/
private void clearLabel() {
bitField0_ = (bitField0_ & ~0x00000004);
label_ = getDefaultInstance().getLabel();
}
/**
* <pre>
* DEPRECATED in OpenRTB Native 1.2+. No replacement.
* The optional formatted string name of the data type to be displayed.
* </pre>
*
* <code>optional string label = 1 [deprecated = true];</code>
* @deprecated com.google.openrtb.NativeResponse.Asset.Data.label is deprecated.
* See openrtb/openrtb-v26.proto;l=2529
* @param value The bytes for label to set.
*/
private void setLabelBytes(
com.google.protobuf.ByteString value) {
label_ = value.toStringUtf8();
bitField0_ |= 0x00000004;
}
public static final int VALUE_FIELD_NUMBER = 2;
private java.lang.String value_;
/**
* <pre>
* The formatted string of data to be displayed. Can contain a formatted
* value such as "5 stars" or "$10" or "3.4 stars out of 5".
* REQUIRED by the OpenRTB Native specification.
* </pre>
*
* <code>required string value = 2;</code>
* @return Whether the value field is set.
*/
@java.lang.Override
public boolean hasValue() {
return ((bitField0_ & 0x00000008) != 0);
}
/**
* <pre>
* The formatted string of data to be displayed. Can contain a formatted
* value such as "5 stars" or "$10" or "3.4 stars out of 5".
* REQUIRED by the OpenRTB Native specification.
* </pre>
*
* <code>required string value = 2;</code>
* @return The value.
*/
@java.lang.Override
public java.lang.String getValue() {
return value_;
}
/**
* <pre>
* The formatted string of data to be displayed. Can contain a formatted
* value such as "5 stars" or "$10" or "3.4 stars out of 5".
* REQUIRED by the OpenRTB Native specification.
* </pre>
*
* <code>required string value = 2;</code>
* @return The bytes for value.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getValueBytes() {
return com.google.protobuf.ByteString.copyFromUtf8(value_);
}
/**
* <pre>
* The formatted string of data to be displayed. Can contain a formatted
* value such as "5 stars" or "$10" or "3.4 stars out of 5".
* REQUIRED by the OpenRTB Native specification.
* </pre>
*
* <code>required string value = 2;</code>
* @param value The value to set.
*/
private void setValue(
java.lang.String value) {
java.lang.Class<?> valueClass = value.getClass();
bitField0_ |= 0x00000008;
value_ = value;
}
/**
* <pre>
* The formatted string of data to be displayed. Can contain a formatted
* value such as "5 stars" or "$10" or "3.4 stars out of 5".
* REQUIRED by the OpenRTB Native specification.
* </pre>
*
* <code>required string value = 2;</code>
*/
private void clearValue() {
bitField0_ = (bitField0_ & ~0x00000008);
value_ = getDefaultInstance().getValue();
}
/**
* <pre>
* The formatted string of data to be displayed. Can contain a formatted
* value such as "5 stars" or "$10" or "3.4 stars out of 5".
* REQUIRED by the OpenRTB Native specification.
* </pre>
*
* <code>required string value = 2;</code>
* @param value The bytes for value to set.
*/
private void setValueBytes(
com.google.protobuf.ByteString value) {
value_ = value.toStringUtf8();
bitField0_ |= 0x00000008;
}
public static com.particles.mes.protos.openrtb.NativeResponse.Asset.Data parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, data);
}
public static com.particles.mes.protos.openrtb.NativeResponse.Asset.Data parseFrom(
java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, data, extensionRegistry);
}
public static com.particles.mes.protos.openrtb.NativeResponse.Asset.Data parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, data);
}
public static com.particles.mes.protos.openrtb.NativeResponse.Asset.Data parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, data, extensionRegistry);
}
public static com.particles.mes.protos.openrtb.NativeResponse.Asset.Data parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, data);
}
public static com.particles.mes.protos.openrtb.NativeResponse.Asset.Data parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, data, extensionRegistry);
}
public static com.particles.mes.protos.openrtb.NativeResponse.Asset.Data parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, input);
}
public static com.particles.mes.protos.openrtb.NativeResponse.Asset.Data parseFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, input, extensionRegistry);
}
public static com.particles.mes.protos.openrtb.NativeResponse.Asset.Data parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return parseDelimitedFrom(DEFAULT_INSTANCE, input);
}
public static com.particles.mes.protos.openrtb.NativeResponse.Asset.Data parseDelimitedFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return parseDelimitedFrom(DEFAULT_INSTANCE, input, extensionRegistry);
}
public static com.particles.mes.protos.openrtb.NativeResponse.Asset.Data parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, input);
}
public static com.particles.mes.protos.openrtb.NativeResponse.Asset.Data parseFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, input, extensionRegistry);
}
public static Builder newBuilder() {
return (Builder) DEFAULT_INSTANCE.createBuilder();
}
public static Builder newBuilder(com.particles.mes.protos.openrtb.NativeResponse.Asset.Data prototype) {
return (Builder) DEFAULT_INSTANCE.createBuilder(prototype);
}
/**
* <pre>
* OpenRTB Native 1.0: Corresponds to the Data Object in the request, with
* the value filled in. The Data Object is to be used for all miscellaneous
* elements of the native unit such as Brand Name, Ratings, Review Count,
* Stars, Downloads, and other elements. It is also generic for future of
* native elements not contemplated at the time of the writing of this
* document.
* </pre>
*
* Protobuf type {@code com.google.openrtb.NativeResponse.Asset.Data}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageLite.ExtendableBuilder<
com.particles.mes.protos.openrtb.NativeResponse.Asset.Data, Builder> implements
// @@protoc_insertion_point(builder_implements:com.google.openrtb.NativeResponse.Asset.Data)
com.particles.mes.protos.openrtb.NativeResponse.Asset.DataOrBuilder {
// Construct using com.particles.mes.protos.openrtb.NativeResponse.Asset.Data.newBuilder()
private Builder() {
super(DEFAULT_INSTANCE);
}
/**
* <pre>
* The type of data element being submitted from the DataAssetTypes enum.
* REQUIRED in 1.2 for assetsurl or dcourl responses.
* </pre>
*
* <code>optional .com.google.openrtb.DataAssetType type = 3;</code>
* @return Whether the type field is set.
*/
@java.lang.Override
public boolean hasType() {
return instance.hasType();
}
/**
* <pre>
* The type of data element being submitted from the DataAssetTypes enum.
* REQUIRED in 1.2 for assetsurl or dcourl responses.
* </pre>
*
* <code>optional .com.google.openrtb.DataAssetType type = 3;</code>
* @return The type.
*/
@java.lang.Override
public com.particles.mes.protos.openrtb.DataAssetType getType() {
return instance.getType();
}
/**
* <pre>
* The type of data element being submitted from the DataAssetTypes enum.
* REQUIRED in 1.2 for assetsurl or dcourl responses.
* </pre>
*
* <code>optional .com.google.openrtb.DataAssetType type = 3;</code>
* @param value The enum numeric value on the wire for type to set.
* @return This builder for chaining.
*/
public Builder setType(com.particles.mes.protos.openrtb.DataAssetType value) {
copyOnWrite();
instance.setType(value);
return this;
}
/**
* <pre>
* The type of data element being submitted from the DataAssetTypes enum.
* REQUIRED in 1.2 for assetsurl or dcourl responses.
* </pre>
*
* <code>optional .com.google.openrtb.DataAssetType type = 3;</code>
* @return This builder for chaining.
*/
public Builder clearType() {
copyOnWrite();
instance.clearType();
return this;
}
/**
* <pre>
* The length of the data element being submitted. Where applicable, must
* comply with the recommended maximum lengths in the DataAssetType enum.
* REQUIRED in 1.2 for assetsurl or dcourl responses.
* </pre>
*
* <code>optional int32 len = 4;</code>
* @return Whether the len field is set.
*/
@java.lang.Override
public boolean hasLen() {
return instance.hasLen();
}
/**
* <pre>
* The length of the data element being submitted. Where applicable, must
* comply with the recommended maximum lengths in the DataAssetType enum.
* REQUIRED in 1.2 for assetsurl or dcourl responses.
* </pre>
*
* <code>optional int32 len = 4;</code>
* @return The len.
*/
@java.lang.Override
public int getLen() {
return instance.getLen();
}
/**
* <pre>
* The length of the data element being submitted. Where applicable, must
* comply with the recommended maximum lengths in the DataAssetType enum.
* REQUIRED in 1.2 for assetsurl or dcourl responses.
* </pre>
*
* <code>optional int32 len = 4;</code>
* @param value The len to set.
* @return This builder for chaining.
*/
public Builder setLen(int value) {
copyOnWrite();
instance.setLen(value);
return this;
}
/**
* <pre>
* The length of the data element being submitted. Where applicable, must
* comply with the recommended maximum lengths in the DataAssetType enum.
* REQUIRED in 1.2 for assetsurl or dcourl responses.
* </pre>
*
* <code>optional int32 len = 4;</code>
* @return This builder for chaining.
*/
public Builder clearLen() {
copyOnWrite();
instance.clearLen();
return this;
}
/**
* <pre>
* DEPRECATED in OpenRTB Native 1.2+. No replacement.
* The optional formatted string name of the data type to be displayed.
* </pre>
*
* <code>optional string label = 1 [deprecated = true];</code>
* @deprecated com.google.openrtb.NativeResponse.Asset.Data.label is deprecated.
* See openrtb/openrtb-v26.proto;l=2529
* @return Whether the label field is set.
*/
@java.lang.Override
@java.lang.Deprecated public boolean hasLabel() {
return instance.hasLabel();
}
/**
* <pre>
* DEPRECATED in OpenRTB Native 1.2+. No replacement.
* The optional formatted string name of the data type to be displayed.
* </pre>
*
* <code>optional string label = 1 [deprecated = true];</code>
* @deprecated com.google.openrtb.NativeResponse.Asset.Data.label is deprecated.
* See openrtb/openrtb-v26.proto;l=2529
* @return The label.
*/
@java.lang.Override
@java.lang.Deprecated public java.lang.String getLabel() {
return instance.getLabel();
}
/**
* <pre>
* DEPRECATED in OpenRTB Native 1.2+. No replacement.
* The optional formatted string name of the data type to be displayed.
* </pre>
*
* <code>optional string label = 1 [deprecated = true];</code>
* @deprecated com.google.openrtb.NativeResponse.Asset.Data.label is deprecated.
* See openrtb/openrtb-v26.proto;l=2529
* @return The bytes for label.
*/
@java.lang.Override
@java.lang.Deprecated public com.google.protobuf.ByteString
getLabelBytes() {
return instance.getLabelBytes();
}
/**
* <pre>
* DEPRECATED in OpenRTB Native 1.2+. No replacement.
* The optional formatted string name of the data type to be displayed.
* </pre>
*
* <code>optional string label = 1 [deprecated = true];</code>
* @deprecated com.google.openrtb.NativeResponse.Asset.Data.label is deprecated.
* See openrtb/openrtb-v26.proto;l=2529
* @param value The label to set.
* @return This builder for chaining.
*/
@java.lang.Deprecated public Builder setLabel(
java.lang.String value) {
copyOnWrite();
instance.setLabel(value);
return this;
}
/**
* <pre>
* DEPRECATED in OpenRTB Native 1.2+. No replacement.
* The optional formatted string name of the data type to be displayed.
* </pre>
*
* <code>optional string label = 1 [deprecated = true];</code>
* @deprecated com.google.openrtb.NativeResponse.Asset.Data.label is deprecated.
* See openrtb/openrtb-v26.proto;l=2529
* @return This builder for chaining.
*/
@java.lang.Deprecated public Builder clearLabel() {
copyOnWrite();
instance.clearLabel();
return this;
}
/**
* <pre>
* DEPRECATED in OpenRTB Native 1.2+. No replacement.
* The optional formatted string name of the data type to be displayed.
* </pre>
*
* <code>optional string label = 1 [deprecated = true];</code>
* @deprecated com.google.openrtb.NativeResponse.Asset.Data.label is deprecated.
* See openrtb/openrtb-v26.proto;l=2529
* @param value The bytes for label to set.
* @return This builder for chaining.
*/
@java.lang.Deprecated public Builder setLabelBytes(
com.google.protobuf.ByteString value) {
copyOnWrite();
instance.setLabelBytes(value);
return this;
}
/**
* <pre>
* The formatted string of data to be displayed. Can contain a formatted
* value such as "5 stars" or "$10" or "3.4 stars out of 5".
* REQUIRED by the OpenRTB Native specification.
* </pre>
*
* <code>required string value = 2;</code>
* @return Whether the value field is set.
*/
@java.lang.Override
public boolean hasValue() {
return instance.hasValue();
}
/**
* <pre>
* The formatted string of data to be displayed. Can contain a formatted
* value such as "5 stars" or "$10" or "3.4 stars out of 5".
* REQUIRED by the OpenRTB Native specification.
* </pre>
*
* <code>required string value = 2;</code>
* @return The value.
*/
@java.lang.Override
public java.lang.String getValue() {
return instance.getValue();
}
/**
* <pre>
* The formatted string of data to be displayed. Can contain a formatted
* value such as "5 stars" or "$10" or "3.4 stars out of 5".
* REQUIRED by the OpenRTB Native specification.
* </pre>
*
* <code>required string value = 2;</code>
* @return The bytes for value.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getValueBytes() {
return instance.getValueBytes();
}
/**
* <pre>
* The formatted string of data to be displayed. Can contain a formatted
* value such as "5 stars" or "$10" or "3.4 stars out of 5".
* REQUIRED by the OpenRTB Native specification.
* </pre>
*
* <code>required string value = 2;</code>
* @param value The value to set.
* @return This builder for chaining.
*/
public Builder setValue(
java.lang.String value) {
copyOnWrite();
instance.setValue(value);
return this;
}
/**
* <pre>
* The formatted string of data to be displayed. Can contain a formatted
* value such as "5 stars" or "$10" or "3.4 stars out of 5".
* REQUIRED by the OpenRTB Native specification.
* </pre>
*
* <code>required string value = 2;</code>
* @return This builder for chaining.
*/
public Builder clearValue() {
copyOnWrite();
instance.clearValue();
return this;
}
/**
* <pre>
* The formatted string of data to be displayed. Can contain a formatted
* value such as "5 stars" or "$10" or "3.4 stars out of 5".
* REQUIRED by the OpenRTB Native specification.
* </pre>
*
* <code>required string value = 2;</code>
* @param value The bytes for value to set.
* @return This builder for chaining.
*/
public Builder setValueBytes(
com.google.protobuf.ByteString value) {
copyOnWrite();
instance.setValueBytes(value);
return this;
}
// @@protoc_insertion_point(builder_scope:com.google.openrtb.NativeResponse.Asset.Data)
}
private byte memoizedIsInitialized = 2;
@java.lang.Override
@java.lang.SuppressWarnings({"unchecked", "fallthrough"})
protected final java.lang.Object dynamicMethod(
com.google.protobuf.GeneratedMessageLite.MethodToInvoke method,
java.lang.Object arg0, java.lang.Object arg1) {
switch (method) {
case NEW_MUTABLE_INSTANCE: {
return new com.particles.mes.protos.openrtb.NativeResponse.Asset.Data();
}
case NEW_BUILDER: {
return new Builder();
}
case BUILD_MESSAGE_INFO: {
java.lang.Object[] objects = new java.lang.Object[] {
"bitField0_",
"label_",
"value_",
"type_",
com.particles.mes.protos.openrtb.DataAssetType.internalGetVerifier(),
"len_",
};
java.lang.String info =
"\u0001\u0004\u0000\u0001\u0001\u0004\u0004\u0000\u0000\u0001\u0001\u1008\u0002\u0002" +
"\u1508\u0003\u0003\u100c\u0000\u0004\u1004\u0001";
return newMessageInfo(DEFAULT_INSTANCE, info, objects);
}
// fall through
case GET_DEFAULT_INSTANCE: {
return DEFAULT_INSTANCE;
}
case GET_PARSER: {
com.google.protobuf.Parser<com.particles.mes.protos.openrtb.NativeResponse.Asset.Data> parser = PARSER;
if (parser == null) {
synchronized (com.particles.mes.protos.openrtb.NativeResponse.Asset.Data.class) {
parser = PARSER;
if (parser == null) {
parser =
new DefaultInstanceBasedParser<com.particles.mes.protos.openrtb.NativeResponse.Asset.Data>(
DEFAULT_INSTANCE);
PARSER = parser;
}
}
}
return parser;
}
case GET_MEMOIZED_IS_INITIALIZED: {
return memoizedIsInitialized;
}
case SET_MEMOIZED_IS_INITIALIZED: {
memoizedIsInitialized = (byte) (arg0 == null ? 0 : 1);
return null;
}
}
throw new UnsupportedOperationException();
}
// @@protoc_insertion_point(class_scope:com.google.openrtb.NativeResponse.Asset.Data)
private static final com.particles.mes.protos.openrtb.NativeResponse.Asset.Data DEFAULT_INSTANCE;
static {
Data defaultInstance = new Data();
// New instances are implicitly immutable so no need to make
// immutable.
DEFAULT_INSTANCE = defaultInstance;
com.google.protobuf.GeneratedMessageLite.registerDefaultInstance(
Data.class, defaultInstance);
}
public static com.particles.mes.protos.openrtb.NativeResponse.Asset.Data getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static volatile com.google.protobuf.Parser<Data> PARSER;
public static com.google.protobuf.Parser<Data> parser() {
return DEFAULT_INSTANCE.getParserForType();
}
}
private int bitField0_;
private int assetOneofCase_ = 0;
private java.lang.Object assetOneof_;
public enum AssetOneofCase {
TITLE(3),
IMG(4),
VIDEO(5),
DATA(6),
ASSETONEOF_NOT_SET(0);
private final int value;
private AssetOneofCase(int value) {
this.value = value;
}
/**
* @deprecated Use {@link #forNumber(int)} instead.
*/
@java.lang.Deprecated
public static AssetOneofCase valueOf(int value) {
return forNumber(value);
}
public static AssetOneofCase forNumber(int value) {
switch (value) {
case 3: return TITLE;
case 4: return IMG;
case 5: return VIDEO;
case 6: return DATA;
case 0: return ASSETONEOF_NOT_SET;
default: return null;
}
}
public int getNumber() {
return this.value;
}
};
@java.lang.Override
public AssetOneofCase
getAssetOneofCase() {
return AssetOneofCase.forNumber(
assetOneofCase_);
}
private void clearAssetOneof() {
assetOneofCase_ = 0;
assetOneof_ = null;
}
public static final int TITLE_FIELD_NUMBER = 3;
/**
* <pre>
* Title object for title assets.
* </pre>
*
* <code>.com.google.openrtb.NativeResponse.Asset.Title title = 3;</code>
*/
@java.lang.Override
public boolean hasTitle() {
return assetOneofCase_ == 3;
}
/**
* <pre>
* Title object for title assets.
* </pre>
*
* <code>.com.google.openrtb.NativeResponse.Asset.Title title = 3;</code>
*/
@java.lang.Override
public com.particles.mes.protos.openrtb.NativeResponse.Asset.Title getTitle() {
if (assetOneofCase_ == 3) {
return (com.particles.mes.protos.openrtb.NativeResponse.Asset.Title) assetOneof_;
}
return com.particles.mes.protos.openrtb.NativeResponse.Asset.Title.getDefaultInstance();
}
/**
* <pre>
* Title object for title assets.
* </pre>
*
* <code>.com.google.openrtb.NativeResponse.Asset.Title title = 3;</code>
*/
private void setTitle(com.particles.mes.protos.openrtb.NativeResponse.Asset.Title value) {
value.getClass();
assetOneof_ = value;
assetOneofCase_ = 3;
}
/**
* <pre>
* Title object for title assets.
* </pre>
*
* <code>.com.google.openrtb.NativeResponse.Asset.Title title = 3;</code>
*/
private void mergeTitle(com.particles.mes.protos.openrtb.NativeResponse.Asset.Title value) {
value.getClass();
if (assetOneofCase_ == 3 &&
assetOneof_ != com.particles.mes.protos.openrtb.NativeResponse.Asset.Title.getDefaultInstance()) {
assetOneof_ = com.particles.mes.protos.openrtb.NativeResponse.Asset.Title.newBuilder((com.particles.mes.protos.openrtb.NativeResponse.Asset.Title) assetOneof_)
.mergeFrom(value).buildPartial();
} else {
assetOneof_ = value;
}
assetOneofCase_ = 3;
}
/**
* <pre>
* Title object for title assets.
* </pre>
*
* <code>.com.google.openrtb.NativeResponse.Asset.Title title = 3;</code>
*/
private void clearTitle() {
if (assetOneofCase_ == 3) {
assetOneofCase_ = 0;
assetOneof_ = null;
}
}
public static final int IMG_FIELD_NUMBER = 4;
/**
* <pre>
* Image object for image assets.
* </pre>
*
* <code>.com.google.openrtb.NativeResponse.Asset.Image img = 4;</code>
*/
@java.lang.Override
public boolean hasImg() {
return assetOneofCase_ == 4;
}
/**
* <pre>
* Image object for image assets.
* </pre>
*
* <code>.com.google.openrtb.NativeResponse.Asset.Image img = 4;</code>
*/
@java.lang.Override
public com.particles.mes.protos.openrtb.NativeResponse.Asset.Image getImg() {
if (assetOneofCase_ == 4) {
return (com.particles.mes.protos.openrtb.NativeResponse.Asset.Image) assetOneof_;
}
return com.particles.mes.protos.openrtb.NativeResponse.Asset.Image.getDefaultInstance();
}
/**
* <pre>
* Image object for image assets.
* </pre>
*
* <code>.com.google.openrtb.NativeResponse.Asset.Image img = 4;</code>
*/
private void setImg(com.particles.mes.protos.openrtb.NativeResponse.Asset.Image value) {
value.getClass();
assetOneof_ = value;
assetOneofCase_ = 4;
}
/**
* <pre>
* Image object for image assets.
* </pre>
*
* <code>.com.google.openrtb.NativeResponse.Asset.Image img = 4;</code>
*/
private void mergeImg(com.particles.mes.protos.openrtb.NativeResponse.Asset.Image value) {
value.getClass();
if (assetOneofCase_ == 4 &&
assetOneof_ != com.particles.mes.protos.openrtb.NativeResponse.Asset.Image.getDefaultInstance()) {
assetOneof_ = com.particles.mes.protos.openrtb.NativeResponse.Asset.Image.newBuilder((com.particles.mes.protos.openrtb.NativeResponse.Asset.Image) assetOneof_)
.mergeFrom(value).buildPartial();
} else {
assetOneof_ = value;
}
assetOneofCase_ = 4;
}
/**
* <pre>
* Image object for image assets.
* </pre>
*
* <code>.com.google.openrtb.NativeResponse.Asset.Image img = 4;</code>
*/
private void clearImg() {
if (assetOneofCase_ == 4) {
assetOneofCase_ = 0;
assetOneof_ = null;
}
}
public static final int VIDEO_FIELD_NUMBER = 5;
/**
* <pre>
* Video object for video assets.
* Note that in-stream video ads are not part of Native.
* Native ads may contain a video as the ad creative itself.
* </pre>
*
* <code>.com.google.openrtb.NativeResponse.Asset.Video video = 5;</code>
*/
@java.lang.Override
public boolean hasVideo() {
return assetOneofCase_ == 5;
}
/**
* <pre>
* Video object for video assets.
* Note that in-stream video ads are not part of Native.
* Native ads may contain a video as the ad creative itself.
* </pre>
*
* <code>.com.google.openrtb.NativeResponse.Asset.Video video = 5;</code>
*/
@java.lang.Override
public com.particles.mes.protos.openrtb.NativeResponse.Asset.Video getVideo() {
if (assetOneofCase_ == 5) {
return (com.particles.mes.protos.openrtb.NativeResponse.Asset.Video) assetOneof_;
}
return com.particles.mes.protos.openrtb.NativeResponse.Asset.Video.getDefaultInstance();
}
/**
* <pre>
* Video object for video assets.
* Note that in-stream video ads are not part of Native.
* Native ads may contain a video as the ad creative itself.
* </pre>
*
* <code>.com.google.openrtb.NativeResponse.Asset.Video video = 5;</code>
*/
private void setVideo(com.particles.mes.protos.openrtb.NativeResponse.Asset.Video value) {
value.getClass();
assetOneof_ = value;
assetOneofCase_ = 5;
}
/**
* <pre>
* Video object for video assets.
* Note that in-stream video ads are not part of Native.
* Native ads may contain a video as the ad creative itself.
* </pre>
*
* <code>.com.google.openrtb.NativeResponse.Asset.Video video = 5;</code>
*/
private void mergeVideo(com.particles.mes.protos.openrtb.NativeResponse.Asset.Video value) {
value.getClass();
if (assetOneofCase_ == 5 &&
assetOneof_ != com.particles.mes.protos.openrtb.NativeResponse.Asset.Video.getDefaultInstance()) {
assetOneof_ = com.particles.mes.protos.openrtb.NativeResponse.Asset.Video.newBuilder((com.particles.mes.protos.openrtb.NativeResponse.Asset.Video) assetOneof_)
.mergeFrom(value).buildPartial();
} else {
assetOneof_ = value;
}
assetOneofCase_ = 5;
}
/**
* <pre>
* Video object for video assets.
* Note that in-stream video ads are not part of Native.
* Native ads may contain a video as the ad creative itself.
* </pre>
*
* <code>.com.google.openrtb.NativeResponse.Asset.Video video = 5;</code>
*/
private void clearVideo() {
if (assetOneofCase_ == 5) {
assetOneofCase_ = 0;
assetOneof_ = null;
}
}
public static final int DATA_FIELD_NUMBER = 6;
/**
* <pre>
* Data object for ratings, prices or other similar elements.
* </pre>
*
* <code>.com.google.openrtb.NativeResponse.Asset.Data data = 6;</code>
*/
@java.lang.Override
public boolean hasData() {
return assetOneofCase_ == 6;
}
/**
* <pre>
* Data object for ratings, prices or other similar elements.
* </pre>
*
* <code>.com.google.openrtb.NativeResponse.Asset.Data data = 6;</code>
*/
@java.lang.Override
public com.particles.mes.protos.openrtb.NativeResponse.Asset.Data getData() {
if (assetOneofCase_ == 6) {
return (com.particles.mes.protos.openrtb.NativeResponse.Asset.Data) assetOneof_;
}
return com.particles.mes.protos.openrtb.NativeResponse.Asset.Data.getDefaultInstance();
}
/**
* <pre>
* Data object for ratings, prices or other similar elements.
* </pre>
*
* <code>.com.google.openrtb.NativeResponse.Asset.Data data = 6;</code>
*/
private void setData(com.particles.mes.protos.openrtb.NativeResponse.Asset.Data value) {
value.getClass();
assetOneof_ = value;
assetOneofCase_ = 6;
}
/**
* <pre>
* Data object for ratings, prices or other similar elements.
* </pre>
*
* <code>.com.google.openrtb.NativeResponse.Asset.Data data = 6;</code>
*/
private void mergeData(com.particles.mes.protos.openrtb.NativeResponse.Asset.Data value) {
value.getClass();
if (assetOneofCase_ == 6 &&
assetOneof_ != com.particles.mes.protos.openrtb.NativeResponse.Asset.Data.getDefaultInstance()) {
assetOneof_ = com.particles.mes.protos.openrtb.NativeResponse.Asset.Data.newBuilder((com.particles.mes.protos.openrtb.NativeResponse.Asset.Data) assetOneof_)
.mergeFrom(value).buildPartial();
} else {
assetOneof_ = value;
}
assetOneofCase_ = 6;
}
/**
* <pre>
* Data object for ratings, prices or other similar elements.
* </pre>
*
* <code>.com.google.openrtb.NativeResponse.Asset.Data data = 6;</code>
*/
private void clearData() {
if (assetOneofCase_ == 6) {
assetOneofCase_ = 0;
assetOneof_ = null;
}
}
public static final int ID_FIELD_NUMBER = 1;
private int id_;
/**
* <pre>
* Unique asset ID, assigned by exchange, must match one of the asset IDs
* in request.
* REQUIRED in 1.0, or in 1.2 if embedded asset is being used.
* </pre>
*
* <code>required int32 id = 1;</code>
* @return Whether the id field is set.
*/
@java.lang.Override
public boolean hasId() {
return ((bitField0_ & 0x00000010) != 0);
}
/**
* <pre>
* Unique asset ID, assigned by exchange, must match one of the asset IDs
* in request.
* REQUIRED in 1.0, or in 1.2 if embedded asset is being used.
* </pre>
*
* <code>required int32 id = 1;</code>
* @return The id.
*/
@java.lang.Override
public int getId() {
return id_;
}
/**
* <pre>
* Unique asset ID, assigned by exchange, must match one of the asset IDs
* in request.
* REQUIRED in 1.0, or in 1.2 if embedded asset is being used.
* </pre>
*
* <code>required int32 id = 1;</code>
* @param value The id to set.
*/
private void setId(int value) {
bitField0_ |= 0x00000010;
id_ = value;
}
/**
* <pre>
* Unique asset ID, assigned by exchange, must match one of the asset IDs
* in request.
* REQUIRED in 1.0, or in 1.2 if embedded asset is being used.
* </pre>
*
* <code>required int32 id = 1;</code>
*/
private void clearId() {
bitField0_ = (bitField0_ & ~0x00000010);
id_ = 0;
}
public static final int REQUIRED_FIELD_NUMBER = 2;
private boolean required_;
/**
* <pre>
* Set to true if asset is required. (bidder requires it to be displayed).
* </pre>
*
* <code>optional bool required = 2 [default = false];</code>
* @return Whether the required field is set.
*/
@java.lang.Override
public boolean hasRequired() {
return ((bitField0_ & 0x00000020) != 0);
}
/**
* <pre>
* Set to true if asset is required. (bidder requires it to be displayed).
* </pre>
*
* <code>optional bool required = 2 [default = false];</code>
* @return The required.
*/
@java.lang.Override
public boolean getRequired() {
return required_;
}
/**
* <pre>
* Set to true if asset is required. (bidder requires it to be displayed).
* </pre>
*
* <code>optional bool required = 2 [default = false];</code>
* @param value The required to set.
*/
private void setRequired(boolean value) {
bitField0_ |= 0x00000020;
required_ = value;
}
/**
* <pre>
* Set to true if asset is required. (bidder requires it to be displayed).
* </pre>
*
* <code>optional bool required = 2 [default = false];</code>
*/
private void clearRequired() {
bitField0_ = (bitField0_ & ~0x00000020);
required_ = false;
}
public static final int LINK_FIELD_NUMBER = 7;
private com.particles.mes.protos.openrtb.NativeResponse.Link link_;
/**
* <pre>
* Link object for call to actions.
* This link object applies if the asset item is activated (clicked).
* If there is no link object on the asset, the parent link object on the
* bid response apply.
* </pre>
*
* <code>optional .com.google.openrtb.NativeResponse.Link link = 7;</code>
*/
@java.lang.Override
public boolean hasLink() {
return ((bitField0_ & 0x00000040) != 0);
}
/**
* <pre>
* Link object for call to actions.
* This link object applies if the asset item is activated (clicked).
* If there is no link object on the asset, the parent link object on the
* bid response apply.
* </pre>
*
* <code>optional .com.google.openrtb.NativeResponse.Link link = 7;</code>
*/
@java.lang.Override
public com.particles.mes.protos.openrtb.NativeResponse.Link getLink() {
return link_ == null ? com.particles.mes.protos.openrtb.NativeResponse.Link.getDefaultInstance() : link_;
}
/**
* <pre>
* Link object for call to actions.
* This link object applies if the asset item is activated (clicked).
* If there is no link object on the asset, the parent link object on the
* bid response apply.
* </pre>
*
* <code>optional .com.google.openrtb.NativeResponse.Link link = 7;</code>
*/
private void setLink(com.particles.mes.protos.openrtb.NativeResponse.Link value) {
value.getClass();
link_ = value;
bitField0_ |= 0x00000040;
}
/**
* <pre>
* Link object for call to actions.
* This link object applies if the asset item is activated (clicked).
* If there is no link object on the asset, the parent link object on the
* bid response apply.
* </pre>
*
* <code>optional .com.google.openrtb.NativeResponse.Link link = 7;</code>
*/
@java.lang.SuppressWarnings({"ReferenceEquality"})
private void mergeLink(com.particles.mes.protos.openrtb.NativeResponse.Link value) {
value.getClass();
if (link_ != null &&
link_ != com.particles.mes.protos.openrtb.NativeResponse.Link.getDefaultInstance()) {
link_ =
com.particles.mes.protos.openrtb.NativeResponse.Link.newBuilder(link_).mergeFrom(value).buildPartial();
} else {
link_ = value;
}
bitField0_ |= 0x00000040;
}
/**
* <pre>
* Link object for call to actions.
* This link object applies if the asset item is activated (clicked).
* If there is no link object on the asset, the parent link object on the
* bid response apply.
* </pre>
*
* <code>optional .com.google.openrtb.NativeResponse.Link link = 7;</code>
*/
private void clearLink() { link_ = null;
bitField0_ = (bitField0_ & ~0x00000040);
}
public static com.particles.mes.protos.openrtb.NativeResponse.Asset parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, data);
}
public static com.particles.mes.protos.openrtb.NativeResponse.Asset parseFrom(
java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, data, extensionRegistry);
}
public static com.particles.mes.protos.openrtb.NativeResponse.Asset parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, data);
}
public static com.particles.mes.protos.openrtb.NativeResponse.Asset parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, data, extensionRegistry);
}
public static com.particles.mes.protos.openrtb.NativeResponse.Asset parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, data);
}
public static com.particles.mes.protos.openrtb.NativeResponse.Asset parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, data, extensionRegistry);
}
public static com.particles.mes.protos.openrtb.NativeResponse.Asset parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, input);
}
public static com.particles.mes.protos.openrtb.NativeResponse.Asset parseFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, input, extensionRegistry);
}
public static com.particles.mes.protos.openrtb.NativeResponse.Asset parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return parseDelimitedFrom(DEFAULT_INSTANCE, input);
}
public static com.particles.mes.protos.openrtb.NativeResponse.Asset parseDelimitedFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return parseDelimitedFrom(DEFAULT_INSTANCE, input, extensionRegistry);
}
public static com.particles.mes.protos.openrtb.NativeResponse.Asset parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, input);
}
public static com.particles.mes.protos.openrtb.NativeResponse.Asset parseFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, input, extensionRegistry);
}
public static Builder newBuilder() {
return (Builder) DEFAULT_INSTANCE.createBuilder();
}
public static Builder newBuilder(com.particles.mes.protos.openrtb.NativeResponse.Asset prototype) {
return (Builder) DEFAULT_INSTANCE.createBuilder(prototype);
}
/**
* <pre>
* OpenRTB Native 1.0: Corresponds to the Asset Object in the request.
* The main container object for each asset requested or supported by Exchange
* on behalf of the rendering client. Any object that is required is to be
* flagged as such. Only one of the {title,img,video,data} objects should be
* present in each object. All others should be null/absent. The id is to be
* unique within the Asset array so that the response can be aligned.
* </pre>
*
* Protobuf type {@code com.google.openrtb.NativeResponse.Asset}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageLite.ExtendableBuilder<
com.particles.mes.protos.openrtb.NativeResponse.Asset, Builder> implements
// @@protoc_insertion_point(builder_implements:com.google.openrtb.NativeResponse.Asset)
com.particles.mes.protos.openrtb.NativeResponse.AssetOrBuilder {
// Construct using com.particles.mes.protos.openrtb.NativeResponse.Asset.newBuilder()
private Builder() {
super(DEFAULT_INSTANCE);
}
@java.lang.Override
public AssetOneofCase
getAssetOneofCase() {
return instance.getAssetOneofCase();
}
public Builder clearAssetOneof() {
copyOnWrite();
instance.clearAssetOneof();
return this;
}
/**
* <pre>
* Title object for title assets.
* </pre>
*
* <code>.com.google.openrtb.NativeResponse.Asset.Title title = 3;</code>
*/
@java.lang.Override
public boolean hasTitle() {
return instance.hasTitle();
}
/**
* <pre>
* Title object for title assets.
* </pre>
*
* <code>.com.google.openrtb.NativeResponse.Asset.Title title = 3;</code>
*/
@java.lang.Override
public com.particles.mes.protos.openrtb.NativeResponse.Asset.Title getTitle() {
return instance.getTitle();
}
/**
* <pre>
* Title object for title assets.
* </pre>
*
* <code>.com.google.openrtb.NativeResponse.Asset.Title title = 3;</code>
*/
public Builder setTitle(com.particles.mes.protos.openrtb.NativeResponse.Asset.Title value) {
copyOnWrite();
instance.setTitle(value);
return this;
}
/**
* <pre>
* Title object for title assets.
* </pre>
*
* <code>.com.google.openrtb.NativeResponse.Asset.Title title = 3;</code>
*/
public Builder setTitle(
com.particles.mes.protos.openrtb.NativeResponse.Asset.Title.Builder builderForValue) {
copyOnWrite();
instance.setTitle(builderForValue.build());
return this;
}
/**
* <pre>
* Title object for title assets.
* </pre>
*
* <code>.com.google.openrtb.NativeResponse.Asset.Title title = 3;</code>
*/
public Builder mergeTitle(com.particles.mes.protos.openrtb.NativeResponse.Asset.Title value) {
copyOnWrite();
instance.mergeTitle(value);
return this;
}
/**
* <pre>
* Title object for title assets.
* </pre>
*
* <code>.com.google.openrtb.NativeResponse.Asset.Title title = 3;</code>
*/
public Builder clearTitle() {
copyOnWrite();
instance.clearTitle();
return this;
}
/**
* <pre>
* Image object for image assets.
* </pre>
*
* <code>.com.google.openrtb.NativeResponse.Asset.Image img = 4;</code>
*/
@java.lang.Override
public boolean hasImg() {
return instance.hasImg();
}
/**
* <pre>
* Image object for image assets.
* </pre>
*
* <code>.com.google.openrtb.NativeResponse.Asset.Image img = 4;</code>
*/
@java.lang.Override
public com.particles.mes.protos.openrtb.NativeResponse.Asset.Image getImg() {
return instance.getImg();
}
/**
* <pre>
* Image object for image assets.
* </pre>
*
* <code>.com.google.openrtb.NativeResponse.Asset.Image img = 4;</code>
*/
public Builder setImg(com.particles.mes.protos.openrtb.NativeResponse.Asset.Image value) {
copyOnWrite();
instance.setImg(value);
return this;
}
/**
* <pre>
* Image object for image assets.
* </pre>
*
* <code>.com.google.openrtb.NativeResponse.Asset.Image img = 4;</code>
*/
public Builder setImg(
com.particles.mes.protos.openrtb.NativeResponse.Asset.Image.Builder builderForValue) {
copyOnWrite();
instance.setImg(builderForValue.build());
return this;
}
/**
* <pre>
* Image object for image assets.
* </pre>
*
* <code>.com.google.openrtb.NativeResponse.Asset.Image img = 4;</code>
*/
public Builder mergeImg(com.particles.mes.protos.openrtb.NativeResponse.Asset.Image value) {
copyOnWrite();
instance.mergeImg(value);
return this;
}
/**
* <pre>
* Image object for image assets.
* </pre>
*
* <code>.com.google.openrtb.NativeResponse.Asset.Image img = 4;</code>
*/
public Builder clearImg() {
copyOnWrite();
instance.clearImg();
return this;
}
/**
* <pre>
* Video object for video assets.
* Note that in-stream video ads are not part of Native.
* Native ads may contain a video as the ad creative itself.
* </pre>
*
* <code>.com.google.openrtb.NativeResponse.Asset.Video video = 5;</code>
*/
@java.lang.Override
public boolean hasVideo() {
return instance.hasVideo();
}
/**
* <pre>
* Video object for video assets.
* Note that in-stream video ads are not part of Native.
* Native ads may contain a video as the ad creative itself.
* </pre>
*
* <code>.com.google.openrtb.NativeResponse.Asset.Video video = 5;</code>
*/
@java.lang.Override
public com.particles.mes.protos.openrtb.NativeResponse.Asset.Video getVideo() {
return instance.getVideo();
}
/**
* <pre>
* Video object for video assets.
* Note that in-stream video ads are not part of Native.
* Native ads may contain a video as the ad creative itself.
* </pre>
*
* <code>.com.google.openrtb.NativeResponse.Asset.Video video = 5;</code>
*/
public Builder setVideo(com.particles.mes.protos.openrtb.NativeResponse.Asset.Video value) {
copyOnWrite();
instance.setVideo(value);
return this;
}
/**
* <pre>
* Video object for video assets.
* Note that in-stream video ads are not part of Native.
* Native ads may contain a video as the ad creative itself.
* </pre>
*
* <code>.com.google.openrtb.NativeResponse.Asset.Video video = 5;</code>
*/
public Builder setVideo(
com.particles.mes.protos.openrtb.NativeResponse.Asset.Video.Builder builderForValue) {
copyOnWrite();
instance.setVideo(builderForValue.build());
return this;
}
/**
* <pre>
* Video object for video assets.
* Note that in-stream video ads are not part of Native.
* Native ads may contain a video as the ad creative itself.
* </pre>
*
* <code>.com.google.openrtb.NativeResponse.Asset.Video video = 5;</code>
*/
public Builder mergeVideo(com.particles.mes.protos.openrtb.NativeResponse.Asset.Video value) {
copyOnWrite();
instance.mergeVideo(value);
return this;
}
/**
* <pre>
* Video object for video assets.
* Note that in-stream video ads are not part of Native.
* Native ads may contain a video as the ad creative itself.
* </pre>
*
* <code>.com.google.openrtb.NativeResponse.Asset.Video video = 5;</code>
*/
public Builder clearVideo() {
copyOnWrite();
instance.clearVideo();
return this;
}
/**
* <pre>
* Data object for ratings, prices or other similar elements.
* </pre>
*
* <code>.com.google.openrtb.NativeResponse.Asset.Data data = 6;</code>
*/
@java.lang.Override
public boolean hasData() {
return instance.hasData();
}
/**
* <pre>
* Data object for ratings, prices or other similar elements.
* </pre>
*
* <code>.com.google.openrtb.NativeResponse.Asset.Data data = 6;</code>
*/
@java.lang.Override
public com.particles.mes.protos.openrtb.NativeResponse.Asset.Data getData() {
return instance.getData();
}
/**
* <pre>
* Data object for ratings, prices or other similar elements.
* </pre>
*
* <code>.com.google.openrtb.NativeResponse.Asset.Data data = 6;</code>
*/
public Builder setData(com.particles.mes.protos.openrtb.NativeResponse.Asset.Data value) {
copyOnWrite();
instance.setData(value);
return this;
}
/**
* <pre>
* Data object for ratings, prices or other similar elements.
* </pre>
*
* <code>.com.google.openrtb.NativeResponse.Asset.Data data = 6;</code>
*/
public Builder setData(
com.particles.mes.protos.openrtb.NativeResponse.Asset.Data.Builder builderForValue) {
copyOnWrite();
instance.setData(builderForValue.build());
return this;
}
/**
* <pre>
* Data object for ratings, prices or other similar elements.
* </pre>
*
* <code>.com.google.openrtb.NativeResponse.Asset.Data data = 6;</code>
*/
public Builder mergeData(com.particles.mes.protos.openrtb.NativeResponse.Asset.Data value) {
copyOnWrite();
instance.mergeData(value);
return this;
}
/**
* <pre>
* Data object for ratings, prices or other similar elements.
* </pre>
*
* <code>.com.google.openrtb.NativeResponse.Asset.Data data = 6;</code>
*/
public Builder clearData() {
copyOnWrite();
instance.clearData();
return this;
}
/**
* <pre>
* Unique asset ID, assigned by exchange, must match one of the asset IDs
* in request.
* REQUIRED in 1.0, or in 1.2 if embedded asset is being used.
* </pre>
*
* <code>required int32 id = 1;</code>
* @return Whether the id field is set.
*/
@java.lang.Override
public boolean hasId() {
return instance.hasId();
}
/**
* <pre>
* Unique asset ID, assigned by exchange, must match one of the asset IDs
* in request.
* REQUIRED in 1.0, or in 1.2 if embedded asset is being used.
* </pre>
*
* <code>required int32 id = 1;</code>
* @return The id.
*/
@java.lang.Override
public int getId() {
return instance.getId();
}
/**
* <pre>
* Unique asset ID, assigned by exchange, must match one of the asset IDs
* in request.
* REQUIRED in 1.0, or in 1.2 if embedded asset is being used.
* </pre>
*
* <code>required int32 id = 1;</code>
* @param value The id to set.
* @return This builder for chaining.
*/
public Builder setId(int value) {
copyOnWrite();
instance.setId(value);
return this;
}
/**
* <pre>
* Unique asset ID, assigned by exchange, must match one of the asset IDs
* in request.
* REQUIRED in 1.0, or in 1.2 if embedded asset is being used.
* </pre>
*
* <code>required int32 id = 1;</code>
* @return This builder for chaining.
*/
public Builder clearId() {
copyOnWrite();
instance.clearId();
return this;
}
/**
* <pre>
* Set to true if asset is required. (bidder requires it to be displayed).
* </pre>
*
* <code>optional bool required = 2 [default = false];</code>
* @return Whether the required field is set.
*/
@java.lang.Override
public boolean hasRequired() {
return instance.hasRequired();
}
/**
* <pre>
* Set to true if asset is required. (bidder requires it to be displayed).
* </pre>
*
* <code>optional bool required = 2 [default = false];</code>
* @return The required.
*/
@java.lang.Override
public boolean getRequired() {
return instance.getRequired();
}
/**
* <pre>
* Set to true if asset is required. (bidder requires it to be displayed).
* </pre>
*
* <code>optional bool required = 2 [default = false];</code>
* @param value The required to set.
* @return This builder for chaining.
*/
public Builder setRequired(boolean value) {
copyOnWrite();
instance.setRequired(value);
return this;
}
/**
* <pre>
* Set to true if asset is required. (bidder requires it to be displayed).
* </pre>
*
* <code>optional bool required = 2 [default = false];</code>
* @return This builder for chaining.
*/
public Builder clearRequired() {
copyOnWrite();
instance.clearRequired();
return this;
}
/**
* <pre>
* Link object for call to actions.
* This link object applies if the asset item is activated (clicked).
* If there is no link object on the asset, the parent link object on the
* bid response apply.
* </pre>
*
* <code>optional .com.google.openrtb.NativeResponse.Link link = 7;</code>
*/
@java.lang.Override
public boolean hasLink() {
return instance.hasLink();
}
/**
* <pre>
* Link object for call to actions.
* This link object applies if the asset item is activated (clicked).
* If there is no link object on the asset, the parent link object on the
* bid response apply.
* </pre>
*
* <code>optional .com.google.openrtb.NativeResponse.Link link = 7;</code>
*/
@java.lang.Override
public com.particles.mes.protos.openrtb.NativeResponse.Link getLink() {
return instance.getLink();
}
/**
* <pre>
* Link object for call to actions.
* This link object applies if the asset item is activated (clicked).
* If there is no link object on the asset, the parent link object on the
* bid response apply.
* </pre>
*
* <code>optional .com.google.openrtb.NativeResponse.Link link = 7;</code>
*/
public Builder setLink(com.particles.mes.protos.openrtb.NativeResponse.Link value) {
copyOnWrite();
instance.setLink(value);
return this;
}
/**
* <pre>
* Link object for call to actions.
* This link object applies if the asset item is activated (clicked).
* If there is no link object on the asset, the parent link object on the
* bid response apply.
* </pre>
*
* <code>optional .com.google.openrtb.NativeResponse.Link link = 7;</code>
*/
public Builder setLink(
com.particles.mes.protos.openrtb.NativeResponse.Link.Builder builderForValue) {
copyOnWrite();
instance.setLink(builderForValue.build());
return this;
}
/**
* <pre>
* Link object for call to actions.
* This link object applies if the asset item is activated (clicked).
* If there is no link object on the asset, the parent link object on the
* bid response apply.
* </pre>
*
* <code>optional .com.google.openrtb.NativeResponse.Link link = 7;</code>
*/
public Builder mergeLink(com.particles.mes.protos.openrtb.NativeResponse.Link value) {
copyOnWrite();
instance.mergeLink(value);
return this;
}
/**
* <pre>
* Link object for call to actions.
* This link object applies if the asset item is activated (clicked).
* If there is no link object on the asset, the parent link object on the
* bid response apply.
* </pre>
*
* <code>optional .com.google.openrtb.NativeResponse.Link link = 7;</code>
*/
public Builder clearLink() { copyOnWrite();
instance.clearLink();
return this;
}
// @@protoc_insertion_point(builder_scope:com.google.openrtb.NativeResponse.Asset)
}
private byte memoizedIsInitialized = 2;
@java.lang.Override
@java.lang.SuppressWarnings({"unchecked", "fallthrough"})
protected final java.lang.Object dynamicMethod(
com.google.protobuf.GeneratedMessageLite.MethodToInvoke method,
java.lang.Object arg0, java.lang.Object arg1) {
switch (method) {
case NEW_MUTABLE_INSTANCE: {
return new com.particles.mes.protos.openrtb.NativeResponse.Asset();
}
case NEW_BUILDER: {
return new Builder();
}
case BUILD_MESSAGE_INFO: {
java.lang.Object[] objects = new java.lang.Object[] {
"assetOneof_",
"assetOneofCase_",
"bitField0_",
"id_",
"required_",
com.particles.mes.protos.openrtb.NativeResponse.Asset.Title.class,
com.particles.mes.protos.openrtb.NativeResponse.Asset.Image.class,
com.particles.mes.protos.openrtb.NativeResponse.Asset.Video.class,
com.particles.mes.protos.openrtb.NativeResponse.Asset.Data.class,
"link_",
};
java.lang.String info =
"\u0001\u0007\u0001\u0001\u0001\u0007\u0007\u0000\u0000\u0006\u0001\u1504\u0004\u0002" +
"\u1007\u0005\u0003\u143c\u0000\u0004\u143c\u0000\u0005\u143c\u0000\u0006\u143c\u0000" +
"\u0007\u1409\u0006";
return newMessageInfo(DEFAULT_INSTANCE, info, objects);
}
// fall through
case GET_DEFAULT_INSTANCE: {
return DEFAULT_INSTANCE;
}
case GET_PARSER: {
com.google.protobuf.Parser<com.particles.mes.protos.openrtb.NativeResponse.Asset> parser = PARSER;
if (parser == null) {
synchronized (com.particles.mes.protos.openrtb.NativeResponse.Asset.class) {
parser = PARSER;
if (parser == null) {
parser =
new DefaultInstanceBasedParser<com.particles.mes.protos.openrtb.NativeResponse.Asset>(
DEFAULT_INSTANCE);
PARSER = parser;
}
}
}
return parser;
}
case GET_MEMOIZED_IS_INITIALIZED: {
return memoizedIsInitialized;
}
case SET_MEMOIZED_IS_INITIALIZED: {
memoizedIsInitialized = (byte) (arg0 == null ? 0 : 1);
return null;
}
}
throw new UnsupportedOperationException();
}
// @@protoc_insertion_point(class_scope:com.google.openrtb.NativeResponse.Asset)
private static final com.particles.mes.protos.openrtb.NativeResponse.Asset DEFAULT_INSTANCE;
static {
Asset defaultInstance = new Asset();
// New instances are implicitly immutable so no need to make
// immutable.
DEFAULT_INSTANCE = defaultInstance;
com.google.protobuf.GeneratedMessageLite.registerDefaultInstance(
Asset.class, defaultInstance);
}
public static com.particles.mes.protos.openrtb.NativeResponse.Asset getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static volatile com.google.protobuf.Parser<Asset> PARSER;
public static com.google.protobuf.Parser<Asset> parser() {
return DEFAULT_INSTANCE.getParserForType();
}
}
public interface EventTrackerOrBuilder extends
// @@protoc_insertion_point(interface_extends:com.google.openrtb.NativeResponse.EventTracker)
com.google.protobuf.GeneratedMessageLite.
ExtendableMessageOrBuilder<
EventTracker, EventTracker.Builder> {
/**
* <pre>
* Type of event to track.
* REQUIRED if embedded asset is being used.
* </pre>
*
* <code>optional .com.google.openrtb.EventType event = 1;</code>
* @return Whether the event field is set.
*/
boolean hasEvent();
/**
* <pre>
* Type of event to track.
* REQUIRED if embedded asset is being used.
* </pre>
*
* <code>optional .com.google.openrtb.EventType event = 1;</code>
* @return The event.
*/
com.particles.mes.protos.openrtb.EventType getEvent();
/**
* <pre>
* Type of tracking requested.
* REQUIRED if embedded asset is being used.
* </pre>
*
* <code>required .com.google.openrtb.EventTrackingMethod method = 2;</code>
* @return Whether the method field is set.
*/
boolean hasMethod();
/**
* <pre>
* Type of tracking requested.
* REQUIRED if embedded asset is being used.
* </pre>
*
* <code>required .com.google.openrtb.EventTrackingMethod method = 2;</code>
* @return The method.
*/
com.particles.mes.protos.openrtb.EventTrackingMethod getMethod();
/**
* <pre>
* The URL of the image or js.
* REQUIRED for image or js, optional for custom.
* </pre>
*
* <code>optional string url = 3;</code>
* @return Whether the url field is set.
*/
boolean hasUrl();
/**
* <pre>
* The URL of the image or js.
* REQUIRED for image or js, optional for custom.
* </pre>
*
* <code>optional string url = 3;</code>
* @return The url.
*/
java.lang.String getUrl();
/**
* <pre>
* The URL of the image or js.
* REQUIRED for image or js, optional for custom.
* </pre>
*
* <code>optional string url = 3;</code>
* @return The bytes for url.
*/
com.google.protobuf.ByteString
getUrlBytes();
}
/**
* <pre>
* OpenRTB Native 1.2: The event trackers response is an array of objects and
* specifies the types of events the bidder wants to track and the
* URLs/information to track them. Bidder must only respond with methods
* indicated as available in the request. Note that most javascript trackers
* expect to be loaded at impression time, so it's not generally recommended
* for the buyer to respond with javascript trackers on other events, but the
* appropriateness of this is up to each buyer.
* </pre>
*
* Protobuf type {@code com.google.openrtb.NativeResponse.EventTracker}
*/
public static final class EventTracker extends
com.google.protobuf.GeneratedMessageLite.ExtendableMessage<
EventTracker, EventTracker.Builder> implements
// @@protoc_insertion_point(message_implements:com.google.openrtb.NativeResponse.EventTracker)
EventTrackerOrBuilder {
private EventTracker() {
event_ = 1;
method_ = 1;
url_ = "";
}
private int bitField0_;
public static final int EVENT_FIELD_NUMBER = 1;
private int event_;
/**
* <pre>
* Type of event to track.
* REQUIRED if embedded asset is being used.
* </pre>
*
* <code>optional .com.google.openrtb.EventType event = 1;</code>
* @return Whether the event field is set.
*/
@java.lang.Override
public boolean hasEvent() {
return ((bitField0_ & 0x00000001) != 0);
}
/**
* <pre>
* Type of event to track.
* REQUIRED if embedded asset is being used.
* </pre>
*
* <code>optional .com.google.openrtb.EventType event = 1;</code>
* @return The event.
*/
@java.lang.Override
public com.particles.mes.protos.openrtb.EventType getEvent() {
com.particles.mes.protos.openrtb.EventType result = com.particles.mes.protos.openrtb.EventType.forNumber(event_);
return result == null ? com.particles.mes.protos.openrtb.EventType.IMPRESSION : result;
}
/**
* <pre>
* Type of event to track.
* REQUIRED if embedded asset is being used.
* </pre>
*
* <code>optional .com.google.openrtb.EventType event = 1;</code>
* @param value The event to set.
*/
private void setEvent(com.particles.mes.protos.openrtb.EventType value) {
event_ = value.getNumber();
bitField0_ |= 0x00000001;
}
/**
* <pre>
* Type of event to track.
* REQUIRED if embedded asset is being used.
* </pre>
*
* <code>optional .com.google.openrtb.EventType event = 1;</code>
*/
private void clearEvent() {
bitField0_ = (bitField0_ & ~0x00000001);
event_ = 1;
}
public static final int METHOD_FIELD_NUMBER = 2;
private int method_;
/**
* <pre>
* Type of tracking requested.
* REQUIRED if embedded asset is being used.
* </pre>
*
* <code>required .com.google.openrtb.EventTrackingMethod method = 2;</code>
* @return Whether the method field is set.
*/
@java.lang.Override
public boolean hasMethod() {
return ((bitField0_ & 0x00000002) != 0);
}
/**
* <pre>
* Type of tracking requested.
* REQUIRED if embedded asset is being used.
* </pre>
*
* <code>required .com.google.openrtb.EventTrackingMethod method = 2;</code>
* @return The method.
*/
@java.lang.Override
public com.particles.mes.protos.openrtb.EventTrackingMethod getMethod() {
com.particles.mes.protos.openrtb.EventTrackingMethod result = com.particles.mes.protos.openrtb.EventTrackingMethod.forNumber(method_);
return result == null ? com.particles.mes.protos.openrtb.EventTrackingMethod.IMG : result;
}
/**
* <pre>
* Type of tracking requested.
* REQUIRED if embedded asset is being used.
* </pre>
*
* <code>required .com.google.openrtb.EventTrackingMethod method = 2;</code>
* @param value The method to set.
*/
private void setMethod(com.particles.mes.protos.openrtb.EventTrackingMethod value) {
method_ = value.getNumber();
bitField0_ |= 0x00000002;
}
/**
* <pre>
* Type of tracking requested.
* REQUIRED if embedded asset is being used.
* </pre>
*
* <code>required .com.google.openrtb.EventTrackingMethod method = 2;</code>
*/
private void clearMethod() {
bitField0_ = (bitField0_ & ~0x00000002);
method_ = 1;
}
public static final int URL_FIELD_NUMBER = 3;
private java.lang.String url_;
/**
* <pre>
* The URL of the image or js.
* REQUIRED for image or js, optional for custom.
* </pre>
*
* <code>optional string url = 3;</code>
* @return Whether the url field is set.
*/
@java.lang.Override
public boolean hasUrl() {
return ((bitField0_ & 0x00000004) != 0);
}
/**
* <pre>
* The URL of the image or js.
* REQUIRED for image or js, optional for custom.
* </pre>
*
* <code>optional string url = 3;</code>
* @return The url.
*/
@java.lang.Override
public java.lang.String getUrl() {
return url_;
}
/**
* <pre>
* The URL of the image or js.
* REQUIRED for image or js, optional for custom.
* </pre>
*
* <code>optional string url = 3;</code>
* @return The bytes for url.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getUrlBytes() {
return com.google.protobuf.ByteString.copyFromUtf8(url_);
}
/**
* <pre>
* The URL of the image or js.
* REQUIRED for image or js, optional for custom.
* </pre>
*
* <code>optional string url = 3;</code>
* @param value The url to set.
*/
private void setUrl(
java.lang.String value) {
java.lang.Class<?> valueClass = value.getClass();
bitField0_ |= 0x00000004;
url_ = value;
}
/**
* <pre>
* The URL of the image or js.
* REQUIRED for image or js, optional for custom.
* </pre>
*
* <code>optional string url = 3;</code>
*/
private void clearUrl() {
bitField0_ = (bitField0_ & ~0x00000004);
url_ = getDefaultInstance().getUrl();
}
/**
* <pre>
* The URL of the image or js.
* REQUIRED for image or js, optional for custom.
* </pre>
*
* <code>optional string url = 3;</code>
* @param value The bytes for url to set.
*/
private void setUrlBytes(
com.google.protobuf.ByteString value) {
url_ = value.toStringUtf8();
bitField0_ |= 0x00000004;
}
public static com.particles.mes.protos.openrtb.NativeResponse.EventTracker parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, data);
}
public static com.particles.mes.protos.openrtb.NativeResponse.EventTracker parseFrom(
java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, data, extensionRegistry);
}
public static com.particles.mes.protos.openrtb.NativeResponse.EventTracker parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, data);
}
public static com.particles.mes.protos.openrtb.NativeResponse.EventTracker parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, data, extensionRegistry);
}
public static com.particles.mes.protos.openrtb.NativeResponse.EventTracker parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, data);
}
public static com.particles.mes.protos.openrtb.NativeResponse.EventTracker parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, data, extensionRegistry);
}
public static com.particles.mes.protos.openrtb.NativeResponse.EventTracker parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, input);
}
public static com.particles.mes.protos.openrtb.NativeResponse.EventTracker parseFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, input, extensionRegistry);
}
public static com.particles.mes.protos.openrtb.NativeResponse.EventTracker parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return parseDelimitedFrom(DEFAULT_INSTANCE, input);
}
public static com.particles.mes.protos.openrtb.NativeResponse.EventTracker parseDelimitedFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return parseDelimitedFrom(DEFAULT_INSTANCE, input, extensionRegistry);
}
public static com.particles.mes.protos.openrtb.NativeResponse.EventTracker parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, input);
}
public static com.particles.mes.protos.openrtb.NativeResponse.EventTracker parseFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, input, extensionRegistry);
}
public static Builder newBuilder() {
return (Builder) DEFAULT_INSTANCE.createBuilder();
}
public static Builder newBuilder(com.particles.mes.protos.openrtb.NativeResponse.EventTracker prototype) {
return (Builder) DEFAULT_INSTANCE.createBuilder(prototype);
}
/**
* <pre>
* OpenRTB Native 1.2: The event trackers response is an array of objects and
* specifies the types of events the bidder wants to track and the
* URLs/information to track them. Bidder must only respond with methods
* indicated as available in the request. Note that most javascript trackers
* expect to be loaded at impression time, so it's not generally recommended
* for the buyer to respond with javascript trackers on other events, but the
* appropriateness of this is up to each buyer.
* </pre>
*
* Protobuf type {@code com.google.openrtb.NativeResponse.EventTracker}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageLite.ExtendableBuilder<
com.particles.mes.protos.openrtb.NativeResponse.EventTracker, Builder> implements
// @@protoc_insertion_point(builder_implements:com.google.openrtb.NativeResponse.EventTracker)
com.particles.mes.protos.openrtb.NativeResponse.EventTrackerOrBuilder {
// Construct using com.particles.mes.protos.openrtb.NativeResponse.EventTracker.newBuilder()
private Builder() {
super(DEFAULT_INSTANCE);
}
/**
* <pre>
* Type of event to track.
* REQUIRED if embedded asset is being used.
* </pre>
*
* <code>optional .com.google.openrtb.EventType event = 1;</code>
* @return Whether the event field is set.
*/
@java.lang.Override
public boolean hasEvent() {
return instance.hasEvent();
}
/**
* <pre>
* Type of event to track.
* REQUIRED if embedded asset is being used.
* </pre>
*
* <code>optional .com.google.openrtb.EventType event = 1;</code>
* @return The event.
*/
@java.lang.Override
public com.particles.mes.protos.openrtb.EventType getEvent() {
return instance.getEvent();
}
/**
* <pre>
* Type of event to track.
* REQUIRED if embedded asset is being used.
* </pre>
*
* <code>optional .com.google.openrtb.EventType event = 1;</code>
* @param value The enum numeric value on the wire for event to set.
* @return This builder for chaining.
*/
public Builder setEvent(com.particles.mes.protos.openrtb.EventType value) {
copyOnWrite();
instance.setEvent(value);
return this;
}
/**
* <pre>
* Type of event to track.
* REQUIRED if embedded asset is being used.
* </pre>
*
* <code>optional .com.google.openrtb.EventType event = 1;</code>
* @return This builder for chaining.
*/
public Builder clearEvent() {
copyOnWrite();
instance.clearEvent();
return this;
}
/**
* <pre>
* Type of tracking requested.
* REQUIRED if embedded asset is being used.
* </pre>
*
* <code>required .com.google.openrtb.EventTrackingMethod method = 2;</code>
* @return Whether the method field is set.
*/
@java.lang.Override
public boolean hasMethod() {
return instance.hasMethod();
}
/**
* <pre>
* Type of tracking requested.
* REQUIRED if embedded asset is being used.
* </pre>
*
* <code>required .com.google.openrtb.EventTrackingMethod method = 2;</code>
* @return The method.
*/
@java.lang.Override
public com.particles.mes.protos.openrtb.EventTrackingMethod getMethod() {
return instance.getMethod();
}
/**
* <pre>
* Type of tracking requested.
* REQUIRED if embedded asset is being used.
* </pre>
*
* <code>required .com.google.openrtb.EventTrackingMethod method = 2;</code>
* @param value The enum numeric value on the wire for method to set.
* @return This builder for chaining.
*/
public Builder setMethod(com.particles.mes.protos.openrtb.EventTrackingMethod value) {
copyOnWrite();
instance.setMethod(value);
return this;
}
/**
* <pre>
* Type of tracking requested.
* REQUIRED if embedded asset is being used.
* </pre>
*
* <code>required .com.google.openrtb.EventTrackingMethod method = 2;</code>
* @return This builder for chaining.
*/
public Builder clearMethod() {
copyOnWrite();
instance.clearMethod();
return this;
}
/**
* <pre>
* The URL of the image or js.
* REQUIRED for image or js, optional for custom.
* </pre>
*
* <code>optional string url = 3;</code>
* @return Whether the url field is set.
*/
@java.lang.Override
public boolean hasUrl() {
return instance.hasUrl();
}
/**
* <pre>
* The URL of the image or js.
* REQUIRED for image or js, optional for custom.
* </pre>
*
* <code>optional string url = 3;</code>
* @return The url.
*/
@java.lang.Override
public java.lang.String getUrl() {
return instance.getUrl();
}
/**
* <pre>
* The URL of the image or js.
* REQUIRED for image or js, optional for custom.
* </pre>
*
* <code>optional string url = 3;</code>
* @return The bytes for url.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getUrlBytes() {
return instance.getUrlBytes();
}
/**
* <pre>
* The URL of the image or js.
* REQUIRED for image or js, optional for custom.
* </pre>
*
* <code>optional string url = 3;</code>
* @param value The url to set.
* @return This builder for chaining.
*/
public Builder setUrl(
java.lang.String value) {
copyOnWrite();
instance.setUrl(value);
return this;
}
/**
* <pre>
* The URL of the image or js.
* REQUIRED for image or js, optional for custom.
* </pre>
*
* <code>optional string url = 3;</code>
* @return This builder for chaining.
*/
public Builder clearUrl() {
copyOnWrite();
instance.clearUrl();
return this;
}
/**
* <pre>
* The URL of the image or js.
* REQUIRED for image or js, optional for custom.
* </pre>
*
* <code>optional string url = 3;</code>
* @param value The bytes for url to set.
* @return This builder for chaining.
*/
public Builder setUrlBytes(
com.google.protobuf.ByteString value) {
copyOnWrite();
instance.setUrlBytes(value);
return this;
}
// @@protoc_insertion_point(builder_scope:com.google.openrtb.NativeResponse.EventTracker)
}
private byte memoizedIsInitialized = 2;
@java.lang.Override
@java.lang.SuppressWarnings({"unchecked", "fallthrough"})
protected final java.lang.Object dynamicMethod(
com.google.protobuf.GeneratedMessageLite.MethodToInvoke method,
java.lang.Object arg0, java.lang.Object arg1) {
switch (method) {
case NEW_MUTABLE_INSTANCE: {
return new com.particles.mes.protos.openrtb.NativeResponse.EventTracker();
}
case NEW_BUILDER: {
return new Builder();
}
case BUILD_MESSAGE_INFO: {
java.lang.Object[] objects = new java.lang.Object[] {
"bitField0_",
"event_",
com.particles.mes.protos.openrtb.EventType.internalGetVerifier(),
"method_",
com.particles.mes.protos.openrtb.EventTrackingMethod.internalGetVerifier(),
"url_",
};
java.lang.String info =
"\u0001\u0003\u0000\u0001\u0001\u0003\u0003\u0000\u0000\u0001\u0001\u100c\u0000\u0002" +
"\u150c\u0001\u0003\u1008\u0002";
return newMessageInfo(DEFAULT_INSTANCE, info, objects);
}
// fall through
case GET_DEFAULT_INSTANCE: {
return DEFAULT_INSTANCE;
}
case GET_PARSER: {
com.google.protobuf.Parser<com.particles.mes.protos.openrtb.NativeResponse.EventTracker> parser = PARSER;
if (parser == null) {
synchronized (com.particles.mes.protos.openrtb.NativeResponse.EventTracker.class) {
parser = PARSER;
if (parser == null) {
parser =
new DefaultInstanceBasedParser<com.particles.mes.protos.openrtb.NativeResponse.EventTracker>(
DEFAULT_INSTANCE);
PARSER = parser;
}
}
}
return parser;
}
case GET_MEMOIZED_IS_INITIALIZED: {
return memoizedIsInitialized;
}
case SET_MEMOIZED_IS_INITIALIZED: {
memoizedIsInitialized = (byte) (arg0 == null ? 0 : 1);
return null;
}
}
throw new UnsupportedOperationException();
}
// @@protoc_insertion_point(class_scope:com.google.openrtb.NativeResponse.EventTracker)
private static final com.particles.mes.protos.openrtb.NativeResponse.EventTracker DEFAULT_INSTANCE;
static {
EventTracker defaultInstance = new EventTracker();
// New instances are implicitly immutable so no need to make
// immutable.
DEFAULT_INSTANCE = defaultInstance;
com.google.protobuf.GeneratedMessageLite.registerDefaultInstance(
EventTracker.class, defaultInstance);
}
public static com.particles.mes.protos.openrtb.NativeResponse.EventTracker getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static volatile com.google.protobuf.Parser<EventTracker> PARSER;
public static com.google.protobuf.Parser<EventTracker> parser() {
return DEFAULT_INSTANCE.getParserForType();
}
}
private int bitField0_;
public static final int VER_FIELD_NUMBER = 1;
private java.lang.String ver_;
/**
* <pre>
* Version of the Native Markup version in use.
* </pre>
*
* <code>optional string ver = 1;</code>
* @return Whether the ver field is set.
*/
@java.lang.Override
public boolean hasVer() {
return ((bitField0_ & 0x00000001) != 0);
}
/**
* <pre>
* Version of the Native Markup version in use.
* </pre>
*
* <code>optional string ver = 1;</code>
* @return The ver.
*/
@java.lang.Override
public java.lang.String getVer() {
return ver_;
}
/**
* <pre>
* Version of the Native Markup version in use.
* </pre>
*
* <code>optional string ver = 1;</code>
* @return The bytes for ver.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getVerBytes() {
return com.google.protobuf.ByteString.copyFromUtf8(ver_);
}
/**
* <pre>
* Version of the Native Markup version in use.
* </pre>
*
* <code>optional string ver = 1;</code>
* @param value The ver to set.
*/
private void setVer(
java.lang.String value) {
java.lang.Class<?> valueClass = value.getClass();
bitField0_ |= 0x00000001;
ver_ = value;
}
/**
* <pre>
* Version of the Native Markup version in use.
* </pre>
*
* <code>optional string ver = 1;</code>
*/
private void clearVer() {
bitField0_ = (bitField0_ & ~0x00000001);
ver_ = getDefaultInstance().getVer();
}
/**
* <pre>
* Version of the Native Markup version in use.
* </pre>
*
* <code>optional string ver = 1;</code>
* @param value The bytes for ver to set.
*/
private void setVerBytes(
com.google.protobuf.ByteString value) {
ver_ = value.toStringUtf8();
bitField0_ |= 0x00000001;
}
public static final int ASSETS_FIELD_NUMBER = 2;
private com.google.protobuf.Internal.ProtobufList<com.particles.mes.protos.openrtb.NativeResponse.Asset> assets_;
/**
* <pre>
* List of native ad's assets.
* RECOMMENDED in 1.0, 1.1, or in 1.2 as a fallback if assetsurl is provided.
* REQUIRED in 1.2, if not assetsurl is provided.
* </pre>
*
* <code>repeated .com.google.openrtb.NativeResponse.Asset assets = 2;</code>
*/
@java.lang.Override
public java.util.List<com.particles.mes.protos.openrtb.NativeResponse.Asset> getAssetsList() {
return assets_;
}
/**
* <pre>
* List of native ad's assets.
* RECOMMENDED in 1.0, 1.1, or in 1.2 as a fallback if assetsurl is provided.
* REQUIRED in 1.2, if not assetsurl is provided.
* </pre>
*
* <code>repeated .com.google.openrtb.NativeResponse.Asset assets = 2;</code>
*/
public java.util.List<? extends com.particles.mes.protos.openrtb.NativeResponse.AssetOrBuilder>
getAssetsOrBuilderList() {
return assets_;
}
/**
* <pre>
* List of native ad's assets.
* RECOMMENDED in 1.0, 1.1, or in 1.2 as a fallback if assetsurl is provided.
* REQUIRED in 1.2, if not assetsurl is provided.
* </pre>
*
* <code>repeated .com.google.openrtb.NativeResponse.Asset assets = 2;</code>
*/
@java.lang.Override
public int getAssetsCount() {
return assets_.size();
}
/**
* <pre>
* List of native ad's assets.
* RECOMMENDED in 1.0, 1.1, or in 1.2 as a fallback if assetsurl is provided.
* REQUIRED in 1.2, if not assetsurl is provided.
* </pre>
*
* <code>repeated .com.google.openrtb.NativeResponse.Asset assets = 2;</code>
*/
@java.lang.Override
public com.particles.mes.protos.openrtb.NativeResponse.Asset getAssets(int index) {
return assets_.get(index);
}
/**
* <pre>
* List of native ad's assets.
* RECOMMENDED in 1.0, 1.1, or in 1.2 as a fallback if assetsurl is provided.
* REQUIRED in 1.2, if not assetsurl is provided.
* </pre>
*
* <code>repeated .com.google.openrtb.NativeResponse.Asset assets = 2;</code>
*/
public com.particles.mes.protos.openrtb.NativeResponse.AssetOrBuilder getAssetsOrBuilder(
int index) {
return assets_.get(index);
}
private void ensureAssetsIsMutable() {
com.google.protobuf.Internal.ProtobufList<com.particles.mes.protos.openrtb.NativeResponse.Asset> tmp = assets_;
if (!tmp.isModifiable()) {
assets_ =
com.google.protobuf.GeneratedMessageLite.mutableCopy(tmp);
}
}
/**
* <pre>
* List of native ad's assets.
* RECOMMENDED in 1.0, 1.1, or in 1.2 as a fallback if assetsurl is provided.
* REQUIRED in 1.2, if not assetsurl is provided.
* </pre>
*
* <code>repeated .com.google.openrtb.NativeResponse.Asset assets = 2;</code>
*/
private void setAssets(
int index, com.particles.mes.protos.openrtb.NativeResponse.Asset value) {
value.getClass();
ensureAssetsIsMutable();
assets_.set(index, value);
}
/**
* <pre>
* List of native ad's assets.
* RECOMMENDED in 1.0, 1.1, or in 1.2 as a fallback if assetsurl is provided.
* REQUIRED in 1.2, if not assetsurl is provided.
* </pre>
*
* <code>repeated .com.google.openrtb.NativeResponse.Asset assets = 2;</code>
*/
private void addAssets(com.particles.mes.protos.openrtb.NativeResponse.Asset value) {
value.getClass();
ensureAssetsIsMutable();
assets_.add(value);
}
/**
* <pre>
* List of native ad's assets.
* RECOMMENDED in 1.0, 1.1, or in 1.2 as a fallback if assetsurl is provided.
* REQUIRED in 1.2, if not assetsurl is provided.
* </pre>
*
* <code>repeated .com.google.openrtb.NativeResponse.Asset assets = 2;</code>
*/
private void addAssets(
int index, com.particles.mes.protos.openrtb.NativeResponse.Asset value) {
value.getClass();
ensureAssetsIsMutable();
assets_.add(index, value);
}
/**
* <pre>
* List of native ad's assets.
* RECOMMENDED in 1.0, 1.1, or in 1.2 as a fallback if assetsurl is provided.
* REQUIRED in 1.2, if not assetsurl is provided.
* </pre>
*
* <code>repeated .com.google.openrtb.NativeResponse.Asset assets = 2;</code>
*/
private void addAllAssets(
java.lang.Iterable<? extends com.particles.mes.protos.openrtb.NativeResponse.Asset> values) {
ensureAssetsIsMutable();
com.google.protobuf.AbstractMessageLite.addAll(
values, assets_);
}
/**
* <pre>
* List of native ad's assets.
* RECOMMENDED in 1.0, 1.1, or in 1.2 as a fallback if assetsurl is provided.
* REQUIRED in 1.2, if not assetsurl is provided.
* </pre>
*
* <code>repeated .com.google.openrtb.NativeResponse.Asset assets = 2;</code>
*/
private void clearAssets() {
assets_ = emptyProtobufList();
}
/**
* <pre>
* List of native ad's assets.
* RECOMMENDED in 1.0, 1.1, or in 1.2 as a fallback if assetsurl is provided.
* REQUIRED in 1.2, if not assetsurl is provided.
* </pre>
*
* <code>repeated .com.google.openrtb.NativeResponse.Asset assets = 2;</code>
*/
private void removeAssets(int index) {
ensureAssetsIsMutable();
assets_.remove(index);
}
public static final int ASSETSURL_FIELD_NUMBER = 6;
private java.lang.String assetsurl_;
/**
* <pre>
* URL of alternate source for the assets object. The expected response is a
* JSON object mirroring the asset object in the bid response, subject to
* certain requirements as specified in the individual objects.
* Where present, overrides the assets object in the response.
* </pre>
*
* <code>optional string assetsurl = 6;</code>
* @return Whether the assetsurl field is set.
*/
@java.lang.Override
public boolean hasAssetsurl() {
return ((bitField0_ & 0x00000002) != 0);
}
/**
* <pre>
* URL of alternate source for the assets object. The expected response is a
* JSON object mirroring the asset object in the bid response, subject to
* certain requirements as specified in the individual objects.
* Where present, overrides the assets object in the response.
* </pre>
*
* <code>optional string assetsurl = 6;</code>
* @return The assetsurl.
*/
@java.lang.Override
public java.lang.String getAssetsurl() {
return assetsurl_;
}
/**
* <pre>
* URL of alternate source for the assets object. The expected response is a
* JSON object mirroring the asset object in the bid response, subject to
* certain requirements as specified in the individual objects.
* Where present, overrides the assets object in the response.
* </pre>
*
* <code>optional string assetsurl = 6;</code>
* @return The bytes for assetsurl.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getAssetsurlBytes() {
return com.google.protobuf.ByteString.copyFromUtf8(assetsurl_);
}
/**
* <pre>
* URL of alternate source for the assets object. The expected response is a
* JSON object mirroring the asset object in the bid response, subject to
* certain requirements as specified in the individual objects.
* Where present, overrides the assets object in the response.
* </pre>
*
* <code>optional string assetsurl = 6;</code>
* @param value The assetsurl to set.
*/
private void setAssetsurl(
java.lang.String value) {
java.lang.Class<?> valueClass = value.getClass();
bitField0_ |= 0x00000002;
assetsurl_ = value;
}
/**
* <pre>
* URL of alternate source for the assets object. The expected response is a
* JSON object mirroring the asset object in the bid response, subject to
* certain requirements as specified in the individual objects.
* Where present, overrides the assets object in the response.
* </pre>
*
* <code>optional string assetsurl = 6;</code>
*/
private void clearAssetsurl() {
bitField0_ = (bitField0_ & ~0x00000002);
assetsurl_ = getDefaultInstance().getAssetsurl();
}
/**
* <pre>
* URL of alternate source for the assets object. The expected response is a
* JSON object mirroring the asset object in the bid response, subject to
* certain requirements as specified in the individual objects.
* Where present, overrides the assets object in the response.
* </pre>
*
* <code>optional string assetsurl = 6;</code>
* @param value The bytes for assetsurl to set.
*/
private void setAssetsurlBytes(
com.google.protobuf.ByteString value) {
assetsurl_ = value.toStringUtf8();
bitField0_ |= 0x00000002;
}
public static final int DCOURL_FIELD_NUMBER = 7;
private java.lang.String dcourl_;
/**
* <pre>
* URL where a dynamic creative specification may be found for populating this
* ad, per the Dynamic Content Ads Specification.
* Note this is a beta option as the interpretation of the Dynamic Content Ads
* Specification and how to assign those elementes into a native ad is outside
* the scope of this spec and must be agreed offline between parties or as may
* be specified in a future revision of the Dynamic Content Ads spec.
* Where present, overrides the assets object in the response.
* </pre>
*
* <code>optional string dcourl = 7;</code>
* @return Whether the dcourl field is set.
*/
@java.lang.Override
public boolean hasDcourl() {
return ((bitField0_ & 0x00000004) != 0);
}
/**
* <pre>
* URL where a dynamic creative specification may be found for populating this
* ad, per the Dynamic Content Ads Specification.
* Note this is a beta option as the interpretation of the Dynamic Content Ads
* Specification and how to assign those elementes into a native ad is outside
* the scope of this spec and must be agreed offline between parties or as may
* be specified in a future revision of the Dynamic Content Ads spec.
* Where present, overrides the assets object in the response.
* </pre>
*
* <code>optional string dcourl = 7;</code>
* @return The dcourl.
*/
@java.lang.Override
public java.lang.String getDcourl() {
return dcourl_;
}
/**
* <pre>
* URL where a dynamic creative specification may be found for populating this
* ad, per the Dynamic Content Ads Specification.
* Note this is a beta option as the interpretation of the Dynamic Content Ads
* Specification and how to assign those elementes into a native ad is outside
* the scope of this spec and must be agreed offline between parties or as may
* be specified in a future revision of the Dynamic Content Ads spec.
* Where present, overrides the assets object in the response.
* </pre>
*
* <code>optional string dcourl = 7;</code>
* @return The bytes for dcourl.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getDcourlBytes() {
return com.google.protobuf.ByteString.copyFromUtf8(dcourl_);
}
/**
* <pre>
* URL where a dynamic creative specification may be found for populating this
* ad, per the Dynamic Content Ads Specification.
* Note this is a beta option as the interpretation of the Dynamic Content Ads
* Specification and how to assign those elementes into a native ad is outside
* the scope of this spec and must be agreed offline between parties or as may
* be specified in a future revision of the Dynamic Content Ads spec.
* Where present, overrides the assets object in the response.
* </pre>
*
* <code>optional string dcourl = 7;</code>
* @param value The dcourl to set.
*/
private void setDcourl(
java.lang.String value) {
java.lang.Class<?> valueClass = value.getClass();
bitField0_ |= 0x00000004;
dcourl_ = value;
}
/**
* <pre>
* URL where a dynamic creative specification may be found for populating this
* ad, per the Dynamic Content Ads Specification.
* Note this is a beta option as the interpretation of the Dynamic Content Ads
* Specification and how to assign those elementes into a native ad is outside
* the scope of this spec and must be agreed offline between parties or as may
* be specified in a future revision of the Dynamic Content Ads spec.
* Where present, overrides the assets object in the response.
* </pre>
*
* <code>optional string dcourl = 7;</code>
*/
private void clearDcourl() {
bitField0_ = (bitField0_ & ~0x00000004);
dcourl_ = getDefaultInstance().getDcourl();
}
/**
* <pre>
* URL where a dynamic creative specification may be found for populating this
* ad, per the Dynamic Content Ads Specification.
* Note this is a beta option as the interpretation of the Dynamic Content Ads
* Specification and how to assign those elementes into a native ad is outside
* the scope of this spec and must be agreed offline between parties or as may
* be specified in a future revision of the Dynamic Content Ads spec.
* Where present, overrides the assets object in the response.
* </pre>
*
* <code>optional string dcourl = 7;</code>
* @param value The bytes for dcourl to set.
*/
private void setDcourlBytes(
com.google.protobuf.ByteString value) {
dcourl_ = value.toStringUtf8();
bitField0_ |= 0x00000004;
}
public static final int LINK_FIELD_NUMBER = 3;
private com.particles.mes.protos.openrtb.NativeResponse.Link link_;
/**
* <pre>
* Destination Link. This is default link object for the ad.
* Individual assets can also have a link object which applies if the asset is
* activated (clicked). If the asset doesn't have a link object, the parent
* link object applies.
* See ResponseLink definition.
* REQUIRED by the OpenRTB Native specification.
* </pre>
*
* <code>required .com.google.openrtb.NativeResponse.Link link = 3;</code>
*/
@java.lang.Override
public boolean hasLink() {
return ((bitField0_ & 0x00000008) != 0);
}
/**
* <pre>
* Destination Link. This is default link object for the ad.
* Individual assets can also have a link object which applies if the asset is
* activated (clicked). If the asset doesn't have a link object, the parent
* link object applies.
* See ResponseLink definition.
* REQUIRED by the OpenRTB Native specification.
* </pre>
*
* <code>required .com.google.openrtb.NativeResponse.Link link = 3;</code>
*/
@java.lang.Override
public com.particles.mes.protos.openrtb.NativeResponse.Link getLink() {
return link_ == null ? com.particles.mes.protos.openrtb.NativeResponse.Link.getDefaultInstance() : link_;
}
/**
* <pre>
* Destination Link. This is default link object for the ad.
* Individual assets can also have a link object which applies if the asset is
* activated (clicked). If the asset doesn't have a link object, the parent
* link object applies.
* See ResponseLink definition.
* REQUIRED by the OpenRTB Native specification.
* </pre>
*
* <code>required .com.google.openrtb.NativeResponse.Link link = 3;</code>
*/
private void setLink(com.particles.mes.protos.openrtb.NativeResponse.Link value) {
value.getClass();
link_ = value;
bitField0_ |= 0x00000008;
}
/**
* <pre>
* Destination Link. This is default link object for the ad.
* Individual assets can also have a link object which applies if the asset is
* activated (clicked). If the asset doesn't have a link object, the parent
* link object applies.
* See ResponseLink definition.
* REQUIRED by the OpenRTB Native specification.
* </pre>
*
* <code>required .com.google.openrtb.NativeResponse.Link link = 3;</code>
*/
@java.lang.SuppressWarnings({"ReferenceEquality"})
private void mergeLink(com.particles.mes.protos.openrtb.NativeResponse.Link value) {
value.getClass();
if (link_ != null &&
link_ != com.particles.mes.protos.openrtb.NativeResponse.Link.getDefaultInstance()) {
link_ =
com.particles.mes.protos.openrtb.NativeResponse.Link.newBuilder(link_).mergeFrom(value).buildPartial();
} else {
link_ = value;
}
bitField0_ |= 0x00000008;
}
/**
* <pre>
* Destination Link. This is default link object for the ad.
* Individual assets can also have a link object which applies if the asset is
* activated (clicked). If the asset doesn't have a link object, the parent
* link object applies.
* See ResponseLink definition.
* REQUIRED by the OpenRTB Native specification.
* </pre>
*
* <code>required .com.google.openrtb.NativeResponse.Link link = 3;</code>
*/
private void clearLink() { link_ = null;
bitField0_ = (bitField0_ & ~0x00000008);
}
public static final int IMPTRACKERS_FIELD_NUMBER = 4;
private com.google.protobuf.Internal.ProtobufList<java.lang.String> imptrackers_;
/**
* <pre>
* DEPRECATED in OpenRTB Native 1.2+. Prefer object <code>EventTracker</code>.
* Array of impression tracking URLs, expected to return a 1x1 image or
* 204 response - typically only passed when using 3rd party trackers.
* </pre>
*
* <code>repeated string imptrackers = 4 [deprecated = true];</code>
* @deprecated com.google.openrtb.NativeResponse.imptrackers is deprecated.
* See openrtb/openrtb-v26.proto;l=2577
* @return A list containing the imptrackers.
*/
@java.lang.Override
@java.lang.Deprecated public java.util.List<java.lang.String> getImptrackersList() {
return imptrackers_;
}
/**
* <pre>
* DEPRECATED in OpenRTB Native 1.2+. Prefer object <code>EventTracker</code>.
* Array of impression tracking URLs, expected to return a 1x1 image or
* 204 response - typically only passed when using 3rd party trackers.
* </pre>
*
* <code>repeated string imptrackers = 4 [deprecated = true];</code>
* @deprecated com.google.openrtb.NativeResponse.imptrackers is deprecated.
* See openrtb/openrtb-v26.proto;l=2577
* @return The count of imptrackers.
*/
@java.lang.Override
@java.lang.Deprecated public int getImptrackersCount() {
return imptrackers_.size();
}
/**
* <pre>
* DEPRECATED in OpenRTB Native 1.2+. Prefer object <code>EventTracker</code>.
* Array of impression tracking URLs, expected to return a 1x1 image or
* 204 response - typically only passed when using 3rd party trackers.
* </pre>
*
* <code>repeated string imptrackers = 4 [deprecated = true];</code>
* @deprecated com.google.openrtb.NativeResponse.imptrackers is deprecated.
* See openrtb/openrtb-v26.proto;l=2577
* @param index The index of the element to return.
* @return The imptrackers at the given index.
*/
@java.lang.Override
@java.lang.Deprecated public java.lang.String getImptrackers(int index) {
return imptrackers_.get(index);
}
/**
* <pre>
* DEPRECATED in OpenRTB Native 1.2+. Prefer object <code>EventTracker</code>.
* Array of impression tracking URLs, expected to return a 1x1 image or
* 204 response - typically only passed when using 3rd party trackers.
* </pre>
*
* <code>repeated string imptrackers = 4 [deprecated = true];</code>
* @deprecated com.google.openrtb.NativeResponse.imptrackers is deprecated.
* See openrtb/openrtb-v26.proto;l=2577
* @param index The index of the value to return.
* @return The bytes of the imptrackers at the given index.
*/
@java.lang.Override
@java.lang.Deprecated public com.google.protobuf.ByteString
getImptrackersBytes(int index) {
return com.google.protobuf.ByteString.copyFromUtf8(
imptrackers_.get(index));
}
private void ensureImptrackersIsMutable() {
com.google.protobuf.Internal.ProtobufList<java.lang.String> tmp =
imptrackers_; if (!tmp.isModifiable()) {
imptrackers_ =
com.google.protobuf.GeneratedMessageLite.mutableCopy(tmp);
}
}
/**
* <pre>
* DEPRECATED in OpenRTB Native 1.2+. Prefer object <code>EventTracker</code>.
* Array of impression tracking URLs, expected to return a 1x1 image or
* 204 response - typically only passed when using 3rd party trackers.
* </pre>
*
* <code>repeated string imptrackers = 4 [deprecated = true];</code>
* @deprecated com.google.openrtb.NativeResponse.imptrackers is deprecated.
* See openrtb/openrtb-v26.proto;l=2577
* @param index The index to set the value at.
* @param value The imptrackers to set.
*/
private void setImptrackers(
int index, java.lang.String value) {
java.lang.Class<?> valueClass = value.getClass();
ensureImptrackersIsMutable();
imptrackers_.set(index, value);
}
/**
* <pre>
* DEPRECATED in OpenRTB Native 1.2+. Prefer object <code>EventTracker</code>.
* Array of impression tracking URLs, expected to return a 1x1 image or
* 204 response - typically only passed when using 3rd party trackers.
* </pre>
*
* <code>repeated string imptrackers = 4 [deprecated = true];</code>
* @deprecated com.google.openrtb.NativeResponse.imptrackers is deprecated.
* See openrtb/openrtb-v26.proto;l=2577
* @param value The imptrackers to add.
*/
private void addImptrackers(
java.lang.String value) {
java.lang.Class<?> valueClass = value.getClass();
ensureImptrackersIsMutable();
imptrackers_.add(value);
}
/**
* <pre>
* DEPRECATED in OpenRTB Native 1.2+. Prefer object <code>EventTracker</code>.
* Array of impression tracking URLs, expected to return a 1x1 image or
* 204 response - typically only passed when using 3rd party trackers.
* </pre>
*
* <code>repeated string imptrackers = 4 [deprecated = true];</code>
* @deprecated com.google.openrtb.NativeResponse.imptrackers is deprecated.
* See openrtb/openrtb-v26.proto;l=2577
* @param values The imptrackers to add.
*/
private void addAllImptrackers(
java.lang.Iterable<java.lang.String> values) {
ensureImptrackersIsMutable();
com.google.protobuf.AbstractMessageLite.addAll(
values, imptrackers_);
}
/**
* <pre>
* DEPRECATED in OpenRTB Native 1.2+. Prefer object <code>EventTracker</code>.
* Array of impression tracking URLs, expected to return a 1x1 image or
* 204 response - typically only passed when using 3rd party trackers.
* </pre>
*
* <code>repeated string imptrackers = 4 [deprecated = true];</code>
* @deprecated com.google.openrtb.NativeResponse.imptrackers is deprecated.
* See openrtb/openrtb-v26.proto;l=2577
*/
private void clearImptrackers() {
imptrackers_ = com.google.protobuf.GeneratedMessageLite.emptyProtobufList();
}
/**
* <pre>
* DEPRECATED in OpenRTB Native 1.2+. Prefer object <code>EventTracker</code>.
* Array of impression tracking URLs, expected to return a 1x1 image or
* 204 response - typically only passed when using 3rd party trackers.
* </pre>
*
* <code>repeated string imptrackers = 4 [deprecated = true];</code>
* @deprecated com.google.openrtb.NativeResponse.imptrackers is deprecated.
* See openrtb/openrtb-v26.proto;l=2577
* @param value The bytes of the imptrackers to add.
*/
private void addImptrackersBytes(
com.google.protobuf.ByteString value) {
ensureImptrackersIsMutable();
imptrackers_.add(value.toStringUtf8());
}
public static final int JSTRACKER_FIELD_NUMBER = 5;
private java.lang.String jstracker_;
/**
* <pre>
* DEPRECATED in OpenRTB Native 1.2+. Prefer object <code>EventTracker</code>.
* Optional javascript impression tracker. Contains <script> tags to be
* executed at impression time where it can be supported.
* </pre>
*
* <code>optional string jstracker = 5 [deprecated = true];</code>
* @deprecated com.google.openrtb.NativeResponse.jstracker is deprecated.
* See openrtb/openrtb-v26.proto;l=2582
* @return Whether the jstracker field is set.
*/
@java.lang.Override
@java.lang.Deprecated public boolean hasJstracker() {
return ((bitField0_ & 0x00000010) != 0);
}
/**
* <pre>
* DEPRECATED in OpenRTB Native 1.2+. Prefer object <code>EventTracker</code>.
* Optional javascript impression tracker. Contains <script> tags to be
* executed at impression time where it can be supported.
* </pre>
*
* <code>optional string jstracker = 5 [deprecated = true];</code>
* @deprecated com.google.openrtb.NativeResponse.jstracker is deprecated.
* See openrtb/openrtb-v26.proto;l=2582
* @return The jstracker.
*/
@java.lang.Override
@java.lang.Deprecated public java.lang.String getJstracker() {
return jstracker_;
}
/**
* <pre>
* DEPRECATED in OpenRTB Native 1.2+. Prefer object <code>EventTracker</code>.
* Optional javascript impression tracker. Contains <script> tags to be
* executed at impression time where it can be supported.
* </pre>
*
* <code>optional string jstracker = 5 [deprecated = true];</code>
* @deprecated com.google.openrtb.NativeResponse.jstracker is deprecated.
* See openrtb/openrtb-v26.proto;l=2582
* @return The bytes for jstracker.
*/
@java.lang.Override
@java.lang.Deprecated public com.google.protobuf.ByteString
getJstrackerBytes() {
return com.google.protobuf.ByteString.copyFromUtf8(jstracker_);
}
/**
* <pre>
* DEPRECATED in OpenRTB Native 1.2+. Prefer object <code>EventTracker</code>.
* Optional javascript impression tracker. Contains <script> tags to be
* executed at impression time where it can be supported.
* </pre>
*
* <code>optional string jstracker = 5 [deprecated = true];</code>
* @deprecated com.google.openrtb.NativeResponse.jstracker is deprecated.
* See openrtb/openrtb-v26.proto;l=2582
* @param value The jstracker to set.
*/
private void setJstracker(
java.lang.String value) {
java.lang.Class<?> valueClass = value.getClass();
bitField0_ |= 0x00000010;
jstracker_ = value;
}
/**
* <pre>
* DEPRECATED in OpenRTB Native 1.2+. Prefer object <code>EventTracker</code>.
* Optional javascript impression tracker. Contains <script> tags to be
* executed at impression time where it can be supported.
* </pre>
*
* <code>optional string jstracker = 5 [deprecated = true];</code>
* @deprecated com.google.openrtb.NativeResponse.jstracker is deprecated.
* See openrtb/openrtb-v26.proto;l=2582
*/
private void clearJstracker() {
bitField0_ = (bitField0_ & ~0x00000010);
jstracker_ = getDefaultInstance().getJstracker();
}
/**
* <pre>
* DEPRECATED in OpenRTB Native 1.2+. Prefer object <code>EventTracker</code>.
* Optional javascript impression tracker. Contains <script> tags to be
* executed at impression time where it can be supported.
* </pre>
*
* <code>optional string jstracker = 5 [deprecated = true];</code>
* @deprecated com.google.openrtb.NativeResponse.jstracker is deprecated.
* See openrtb/openrtb-v26.proto;l=2582
* @param value The bytes for jstracker to set.
*/
private void setJstrackerBytes(
com.google.protobuf.ByteString value) {
jstracker_ = value.toStringUtf8();
bitField0_ |= 0x00000010;
}
public static final int EVENTTRACKERS_FIELD_NUMBER = 8;
private com.google.protobuf.Internal.ProtobufList<com.particles.mes.protos.openrtb.NativeResponse.EventTracker> eventtrackers_;
/**
* <pre>
* Array of response event trackers to run with the ad, in response to the
* declared supported methods in the NativeRequest. Replaces imptrackers and
* jstrackers.
* </pre>
*
* <code>repeated .com.google.openrtb.NativeResponse.EventTracker eventtrackers = 8;</code>
*/
@java.lang.Override
public java.util.List<com.particles.mes.protos.openrtb.NativeResponse.EventTracker> getEventtrackersList() {
return eventtrackers_;
}
/**
* <pre>
* Array of response event trackers to run with the ad, in response to the
* declared supported methods in the NativeRequest. Replaces imptrackers and
* jstrackers.
* </pre>
*
* <code>repeated .com.google.openrtb.NativeResponse.EventTracker eventtrackers = 8;</code>
*/
public java.util.List<? extends com.particles.mes.protos.openrtb.NativeResponse.EventTrackerOrBuilder>
getEventtrackersOrBuilderList() {
return eventtrackers_;
}
/**
* <pre>
* Array of response event trackers to run with the ad, in response to the
* declared supported methods in the NativeRequest. Replaces imptrackers and
* jstrackers.
* </pre>
*
* <code>repeated .com.google.openrtb.NativeResponse.EventTracker eventtrackers = 8;</code>
*/
@java.lang.Override
public int getEventtrackersCount() {
return eventtrackers_.size();
}
/**
* <pre>
* Array of response event trackers to run with the ad, in response to the
* declared supported methods in the NativeRequest. Replaces imptrackers and
* jstrackers.
* </pre>
*
* <code>repeated .com.google.openrtb.NativeResponse.EventTracker eventtrackers = 8;</code>
*/
@java.lang.Override
public com.particles.mes.protos.openrtb.NativeResponse.EventTracker getEventtrackers(int index) {
return eventtrackers_.get(index);
}
/**
* <pre>
* Array of response event trackers to run with the ad, in response to the
* declared supported methods in the NativeRequest. Replaces imptrackers and
* jstrackers.
* </pre>
*
* <code>repeated .com.google.openrtb.NativeResponse.EventTracker eventtrackers = 8;</code>
*/
public com.particles.mes.protos.openrtb.NativeResponse.EventTrackerOrBuilder getEventtrackersOrBuilder(
int index) {
return eventtrackers_.get(index);
}
private void ensureEventtrackersIsMutable() {
com.google.protobuf.Internal.ProtobufList<com.particles.mes.protos.openrtb.NativeResponse.EventTracker> tmp = eventtrackers_;
if (!tmp.isModifiable()) {
eventtrackers_ =
com.google.protobuf.GeneratedMessageLite.mutableCopy(tmp);
}
}
/**
* <pre>
* Array of response event trackers to run with the ad, in response to the
* declared supported methods in the NativeRequest. Replaces imptrackers and
* jstrackers.
* </pre>
*
* <code>repeated .com.google.openrtb.NativeResponse.EventTracker eventtrackers = 8;</code>
*/
private void setEventtrackers(
int index, com.particles.mes.protos.openrtb.NativeResponse.EventTracker value) {
value.getClass();
ensureEventtrackersIsMutable();
eventtrackers_.set(index, value);
}
/**
* <pre>
* Array of response event trackers to run with the ad, in response to the
* declared supported methods in the NativeRequest. Replaces imptrackers and
* jstrackers.
* </pre>
*
* <code>repeated .com.google.openrtb.NativeResponse.EventTracker eventtrackers = 8;</code>
*/
private void addEventtrackers(com.particles.mes.protos.openrtb.NativeResponse.EventTracker value) {
value.getClass();
ensureEventtrackersIsMutable();
eventtrackers_.add(value);
}
/**
* <pre>
* Array of response event trackers to run with the ad, in response to the
* declared supported methods in the NativeRequest. Replaces imptrackers and
* jstrackers.
* </pre>
*
* <code>repeated .com.google.openrtb.NativeResponse.EventTracker eventtrackers = 8;</code>
*/
private void addEventtrackers(
int index, com.particles.mes.protos.openrtb.NativeResponse.EventTracker value) {
value.getClass();
ensureEventtrackersIsMutable();
eventtrackers_.add(index, value);
}
/**
* <pre>
* Array of response event trackers to run with the ad, in response to the
* declared supported methods in the NativeRequest. Replaces imptrackers and
* jstrackers.
* </pre>
*
* <code>repeated .com.google.openrtb.NativeResponse.EventTracker eventtrackers = 8;</code>
*/
private void addAllEventtrackers(
java.lang.Iterable<? extends com.particles.mes.protos.openrtb.NativeResponse.EventTracker> values) {
ensureEventtrackersIsMutable();
com.google.protobuf.AbstractMessageLite.addAll(
values, eventtrackers_);
}
/**
* <pre>
* Array of response event trackers to run with the ad, in response to the
* declared supported methods in the NativeRequest. Replaces imptrackers and
* jstrackers.
* </pre>
*
* <code>repeated .com.google.openrtb.NativeResponse.EventTracker eventtrackers = 8;</code>
*/
private void clearEventtrackers() {
eventtrackers_ = emptyProtobufList();
}
/**
* <pre>
* Array of response event trackers to run with the ad, in response to the
* declared supported methods in the NativeRequest. Replaces imptrackers and
* jstrackers.
* </pre>
*
* <code>repeated .com.google.openrtb.NativeResponse.EventTracker eventtrackers = 8;</code>
*/
private void removeEventtrackers(int index) {
ensureEventtrackersIsMutable();
eventtrackers_.remove(index);
}
public static final int PRIVACY_FIELD_NUMBER = 9;
private java.lang.String privacy_;
/**
* <pre>
* If support was indicated in the request, URL of a page informing the user
* about the buyer's targeting activity.
* </pre>
*
* <code>optional string privacy = 9;</code>
* @return Whether the privacy field is set.
*/
@java.lang.Override
public boolean hasPrivacy() {
return ((bitField0_ & 0x00000020) != 0);
}
/**
* <pre>
* If support was indicated in the request, URL of a page informing the user
* about the buyer's targeting activity.
* </pre>
*
* <code>optional string privacy = 9;</code>
* @return The privacy.
*/
@java.lang.Override
public java.lang.String getPrivacy() {
return privacy_;
}
/**
* <pre>
* If support was indicated in the request, URL of a page informing the user
* about the buyer's targeting activity.
* </pre>
*
* <code>optional string privacy = 9;</code>
* @return The bytes for privacy.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getPrivacyBytes() {
return com.google.protobuf.ByteString.copyFromUtf8(privacy_);
}
/**
* <pre>
* If support was indicated in the request, URL of a page informing the user
* about the buyer's targeting activity.
* </pre>
*
* <code>optional string privacy = 9;</code>
* @param value The privacy to set.
*/
private void setPrivacy(
java.lang.String value) {
java.lang.Class<?> valueClass = value.getClass();
bitField0_ |= 0x00000020;
privacy_ = value;
}
/**
* <pre>
* If support was indicated in the request, URL of a page informing the user
* about the buyer's targeting activity.
* </pre>
*
* <code>optional string privacy = 9;</code>
*/
private void clearPrivacy() {
bitField0_ = (bitField0_ & ~0x00000020);
privacy_ = getDefaultInstance().getPrivacy();
}
/**
* <pre>
* If support was indicated in the request, URL of a page informing the user
* about the buyer's targeting activity.
* </pre>
*
* <code>optional string privacy = 9;</code>
* @param value The bytes for privacy to set.
*/
private void setPrivacyBytes(
com.google.protobuf.ByteString value) {
privacy_ = value.toStringUtf8();
bitField0_ |= 0x00000020;
}
public static com.particles.mes.protos.openrtb.NativeResponse parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, data);
}
public static com.particles.mes.protos.openrtb.NativeResponse parseFrom(
java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, data, extensionRegistry);
}
public static com.particles.mes.protos.openrtb.NativeResponse parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, data);
}
public static com.particles.mes.protos.openrtb.NativeResponse parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, data, extensionRegistry);
}
public static com.particles.mes.protos.openrtb.NativeResponse parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, data);
}
public static com.particles.mes.protos.openrtb.NativeResponse parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, data, extensionRegistry);
}
public static com.particles.mes.protos.openrtb.NativeResponse parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, input);
}
public static com.particles.mes.protos.openrtb.NativeResponse parseFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, input, extensionRegistry);
}
public static com.particles.mes.protos.openrtb.NativeResponse parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return parseDelimitedFrom(DEFAULT_INSTANCE, input);
}
public static com.particles.mes.protos.openrtb.NativeResponse parseDelimitedFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return parseDelimitedFrom(DEFAULT_INSTANCE, input, extensionRegistry);
}
public static com.particles.mes.protos.openrtb.NativeResponse parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, input);
}
public static com.particles.mes.protos.openrtb.NativeResponse parseFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, input, extensionRegistry);
}
public static Builder newBuilder() {
return (Builder) DEFAULT_INSTANCE.createBuilder();
}
public static Builder newBuilder(com.particles.mes.protos.openrtb.NativeResponse prototype) {
return (Builder) DEFAULT_INSTANCE.createBuilder(prototype);
}
/**
* <pre>
* OpenRTB Native 1.0: The native response object is the top level JSON object
* which identifies an native response.
* </pre>
*
* Protobuf type {@code com.google.openrtb.NativeResponse}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageLite.ExtendableBuilder<
com.particles.mes.protos.openrtb.NativeResponse, Builder> implements
// @@protoc_insertion_point(builder_implements:com.google.openrtb.NativeResponse)
com.particles.mes.protos.openrtb.NativeResponseOrBuilder {
// Construct using com.particles.mes.protos.openrtb.NativeResponse.newBuilder()
private Builder() {
super(DEFAULT_INSTANCE);
}
/**
* <pre>
* Version of the Native Markup version in use.
* </pre>
*
* <code>optional string ver = 1;</code>
* @return Whether the ver field is set.
*/
@java.lang.Override
public boolean hasVer() {
return instance.hasVer();
}
/**
* <pre>
* Version of the Native Markup version in use.
* </pre>
*
* <code>optional string ver = 1;</code>
* @return The ver.
*/
@java.lang.Override
public java.lang.String getVer() {
return instance.getVer();
}
/**
* <pre>
* Version of the Native Markup version in use.
* </pre>
*
* <code>optional string ver = 1;</code>
* @return The bytes for ver.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getVerBytes() {
return instance.getVerBytes();
}
/**
* <pre>
* Version of the Native Markup version in use.
* </pre>
*
* <code>optional string ver = 1;</code>
* @param value The ver to set.
* @return This builder for chaining.
*/
public Builder setVer(
java.lang.String value) {
copyOnWrite();
instance.setVer(value);
return this;
}
/**
* <pre>
* Version of the Native Markup version in use.
* </pre>
*
* <code>optional string ver = 1;</code>
* @return This builder for chaining.
*/
public Builder clearVer() {
copyOnWrite();
instance.clearVer();
return this;
}
/**
* <pre>
* Version of the Native Markup version in use.
* </pre>
*
* <code>optional string ver = 1;</code>
* @param value The bytes for ver to set.
* @return This builder for chaining.
*/
public Builder setVerBytes(
com.google.protobuf.ByteString value) {
copyOnWrite();
instance.setVerBytes(value);
return this;
}
/**
* <pre>
* List of native ad's assets.
* RECOMMENDED in 1.0, 1.1, or in 1.2 as a fallback if assetsurl is provided.
* REQUIRED in 1.2, if not assetsurl is provided.
* </pre>
*
* <code>repeated .com.google.openrtb.NativeResponse.Asset assets = 2;</code>
*/
@java.lang.Override
public java.util.List<com.particles.mes.protos.openrtb.NativeResponse.Asset> getAssetsList() {
return java.util.Collections.unmodifiableList(
instance.getAssetsList());
}
/**
* <pre>
* List of native ad's assets.
* RECOMMENDED in 1.0, 1.1, or in 1.2 as a fallback if assetsurl is provided.
* REQUIRED in 1.2, if not assetsurl is provided.
* </pre>
*
* <code>repeated .com.google.openrtb.NativeResponse.Asset assets = 2;</code>
*/
@java.lang.Override
public int getAssetsCount() {
return instance.getAssetsCount();
}/**
* <pre>
* List of native ad's assets.
* RECOMMENDED in 1.0, 1.1, or in 1.2 as a fallback if assetsurl is provided.
* REQUIRED in 1.2, if not assetsurl is provided.
* </pre>
*
* <code>repeated .com.google.openrtb.NativeResponse.Asset assets = 2;</code>
*/
@java.lang.Override
public com.particles.mes.protos.openrtb.NativeResponse.Asset getAssets(int index) {
return instance.getAssets(index);
}
/**
* <pre>
* List of native ad's assets.
* RECOMMENDED in 1.0, 1.1, or in 1.2 as a fallback if assetsurl is provided.
* REQUIRED in 1.2, if not assetsurl is provided.
* </pre>
*
* <code>repeated .com.google.openrtb.NativeResponse.Asset assets = 2;</code>
*/
public Builder setAssets(
int index, com.particles.mes.protos.openrtb.NativeResponse.Asset value) {
copyOnWrite();
instance.setAssets(index, value);
return this;
}
/**
* <pre>
* List of native ad's assets.
* RECOMMENDED in 1.0, 1.1, or in 1.2 as a fallback if assetsurl is provided.
* REQUIRED in 1.2, if not assetsurl is provided.
* </pre>
*
* <code>repeated .com.google.openrtb.NativeResponse.Asset assets = 2;</code>
*/
public Builder setAssets(
int index, com.particles.mes.protos.openrtb.NativeResponse.Asset.Builder builderForValue) {
copyOnWrite();
instance.setAssets(index,
builderForValue.build());
return this;
}
/**
* <pre>
* List of native ad's assets.
* RECOMMENDED in 1.0, 1.1, or in 1.2 as a fallback if assetsurl is provided.
* REQUIRED in 1.2, if not assetsurl is provided.
* </pre>
*
* <code>repeated .com.google.openrtb.NativeResponse.Asset assets = 2;</code>
*/
public Builder addAssets(com.particles.mes.protos.openrtb.NativeResponse.Asset value) {
copyOnWrite();
instance.addAssets(value);
return this;
}
/**
* <pre>
* List of native ad's assets.
* RECOMMENDED in 1.0, 1.1, or in 1.2 as a fallback if assetsurl is provided.
* REQUIRED in 1.2, if not assetsurl is provided.
* </pre>
*
* <code>repeated .com.google.openrtb.NativeResponse.Asset assets = 2;</code>
*/
public Builder addAssets(
int index, com.particles.mes.protos.openrtb.NativeResponse.Asset value) {
copyOnWrite();
instance.addAssets(index, value);
return this;
}
/**
* <pre>
* List of native ad's assets.
* RECOMMENDED in 1.0, 1.1, or in 1.2 as a fallback if assetsurl is provided.
* REQUIRED in 1.2, if not assetsurl is provided.
* </pre>
*
* <code>repeated .com.google.openrtb.NativeResponse.Asset assets = 2;</code>
*/
public Builder addAssets(
com.particles.mes.protos.openrtb.NativeResponse.Asset.Builder builderForValue) {
copyOnWrite();
instance.addAssets(builderForValue.build());
return this;
}
/**
* <pre>
* List of native ad's assets.
* RECOMMENDED in 1.0, 1.1, or in 1.2 as a fallback if assetsurl is provided.
* REQUIRED in 1.2, if not assetsurl is provided.
* </pre>
*
* <code>repeated .com.google.openrtb.NativeResponse.Asset assets = 2;</code>
*/
public Builder addAssets(
int index, com.particles.mes.protos.openrtb.NativeResponse.Asset.Builder builderForValue) {
copyOnWrite();
instance.addAssets(index,
builderForValue.build());
return this;
}
/**
* <pre>
* List of native ad's assets.
* RECOMMENDED in 1.0, 1.1, or in 1.2 as a fallback if assetsurl is provided.
* REQUIRED in 1.2, if not assetsurl is provided.
* </pre>
*
* <code>repeated .com.google.openrtb.NativeResponse.Asset assets = 2;</code>
*/
public Builder addAllAssets(
java.lang.Iterable<? extends com.particles.mes.protos.openrtb.NativeResponse.Asset> values) {
copyOnWrite();
instance.addAllAssets(values);
return this;
}
/**
* <pre>
* List of native ad's assets.
* RECOMMENDED in 1.0, 1.1, or in 1.2 as a fallback if assetsurl is provided.
* REQUIRED in 1.2, if not assetsurl is provided.
* </pre>
*
* <code>repeated .com.google.openrtb.NativeResponse.Asset assets = 2;</code>
*/
public Builder clearAssets() {
copyOnWrite();
instance.clearAssets();
return this;
}
/**
* <pre>
* List of native ad's assets.
* RECOMMENDED in 1.0, 1.1, or in 1.2 as a fallback if assetsurl is provided.
* REQUIRED in 1.2, if not assetsurl is provided.
* </pre>
*
* <code>repeated .com.google.openrtb.NativeResponse.Asset assets = 2;</code>
*/
public Builder removeAssets(int index) {
copyOnWrite();
instance.removeAssets(index);
return this;
}
/**
* <pre>
* URL of alternate source for the assets object. The expected response is a
* JSON object mirroring the asset object in the bid response, subject to
* certain requirements as specified in the individual objects.
* Where present, overrides the assets object in the response.
* </pre>
*
* <code>optional string assetsurl = 6;</code>
* @return Whether the assetsurl field is set.
*/
@java.lang.Override
public boolean hasAssetsurl() {
return instance.hasAssetsurl();
}
/**
* <pre>
* URL of alternate source for the assets object. The expected response is a
* JSON object mirroring the asset object in the bid response, subject to
* certain requirements as specified in the individual objects.
* Where present, overrides the assets object in the response.
* </pre>
*
* <code>optional string assetsurl = 6;</code>
* @return The assetsurl.
*/
@java.lang.Override
public java.lang.String getAssetsurl() {
return instance.getAssetsurl();
}
/**
* <pre>
* URL of alternate source for the assets object. The expected response is a
* JSON object mirroring the asset object in the bid response, subject to
* certain requirements as specified in the individual objects.
* Where present, overrides the assets object in the response.
* </pre>
*
* <code>optional string assetsurl = 6;</code>
* @return The bytes for assetsurl.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getAssetsurlBytes() {
return instance.getAssetsurlBytes();
}
/**
* <pre>
* URL of alternate source for the assets object. The expected response is a
* JSON object mirroring the asset object in the bid response, subject to
* certain requirements as specified in the individual objects.
* Where present, overrides the assets object in the response.
* </pre>
*
* <code>optional string assetsurl = 6;</code>
* @param value The assetsurl to set.
* @return This builder for chaining.
*/
public Builder setAssetsurl(
java.lang.String value) {
copyOnWrite();
instance.setAssetsurl(value);
return this;
}
/**
* <pre>
* URL of alternate source for the assets object. The expected response is a
* JSON object mirroring the asset object in the bid response, subject to
* certain requirements as specified in the individual objects.
* Where present, overrides the assets object in the response.
* </pre>
*
* <code>optional string assetsurl = 6;</code>
* @return This builder for chaining.
*/
public Builder clearAssetsurl() {
copyOnWrite();
instance.clearAssetsurl();
return this;
}
/**
* <pre>
* URL of alternate source for the assets object. The expected response is a
* JSON object mirroring the asset object in the bid response, subject to
* certain requirements as specified in the individual objects.
* Where present, overrides the assets object in the response.
* </pre>
*
* <code>optional string assetsurl = 6;</code>
* @param value The bytes for assetsurl to set.
* @return This builder for chaining.
*/
public Builder setAssetsurlBytes(
com.google.protobuf.ByteString value) {
copyOnWrite();
instance.setAssetsurlBytes(value);
return this;
}
/**
* <pre>
* URL where a dynamic creative specification may be found for populating this
* ad, per the Dynamic Content Ads Specification.
* Note this is a beta option as the interpretation of the Dynamic Content Ads
* Specification and how to assign those elementes into a native ad is outside
* the scope of this spec and must be agreed offline between parties or as may
* be specified in a future revision of the Dynamic Content Ads spec.
* Where present, overrides the assets object in the response.
* </pre>
*
* <code>optional string dcourl = 7;</code>
* @return Whether the dcourl field is set.
*/
@java.lang.Override
public boolean hasDcourl() {
return instance.hasDcourl();
}
/**
* <pre>
* URL where a dynamic creative specification may be found for populating this
* ad, per the Dynamic Content Ads Specification.
* Note this is a beta option as the interpretation of the Dynamic Content Ads
* Specification and how to assign those elementes into a native ad is outside
* the scope of this spec and must be agreed offline between parties or as may
* be specified in a future revision of the Dynamic Content Ads spec.
* Where present, overrides the assets object in the response.
* </pre>
*
* <code>optional string dcourl = 7;</code>
* @return The dcourl.
*/
@java.lang.Override
public java.lang.String getDcourl() {
return instance.getDcourl();
}
/**
* <pre>
* URL where a dynamic creative specification may be found for populating this
* ad, per the Dynamic Content Ads Specification.
* Note this is a beta option as the interpretation of the Dynamic Content Ads
* Specification and how to assign those elementes into a native ad is outside
* the scope of this spec and must be agreed offline between parties or as may
* be specified in a future revision of the Dynamic Content Ads spec.
* Where present, overrides the assets object in the response.
* </pre>
*
* <code>optional string dcourl = 7;</code>
* @return The bytes for dcourl.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getDcourlBytes() {
return instance.getDcourlBytes();
}
/**
* <pre>
* URL where a dynamic creative specification may be found for populating this
* ad, per the Dynamic Content Ads Specification.
* Note this is a beta option as the interpretation of the Dynamic Content Ads
* Specification and how to assign those elementes into a native ad is outside
* the scope of this spec and must be agreed offline between parties or as may
* be specified in a future revision of the Dynamic Content Ads spec.
* Where present, overrides the assets object in the response.
* </pre>
*
* <code>optional string dcourl = 7;</code>
* @param value The dcourl to set.
* @return This builder for chaining.
*/
public Builder setDcourl(
java.lang.String value) {
copyOnWrite();
instance.setDcourl(value);
return this;
}
/**
* <pre>
* URL where a dynamic creative specification may be found for populating this
* ad, per the Dynamic Content Ads Specification.
* Note this is a beta option as the interpretation of the Dynamic Content Ads
* Specification and how to assign those elementes into a native ad is outside
* the scope of this spec and must be agreed offline between parties or as may
* be specified in a future revision of the Dynamic Content Ads spec.
* Where present, overrides the assets object in the response.
* </pre>
*
* <code>optional string dcourl = 7;</code>
* @return This builder for chaining.
*/
public Builder clearDcourl() {
copyOnWrite();
instance.clearDcourl();
return this;
}
/**
* <pre>
* URL where a dynamic creative specification may be found for populating this
* ad, per the Dynamic Content Ads Specification.
* Note this is a beta option as the interpretation of the Dynamic Content Ads
* Specification and how to assign those elementes into a native ad is outside
* the scope of this spec and must be agreed offline between parties or as may
* be specified in a future revision of the Dynamic Content Ads spec.
* Where present, overrides the assets object in the response.
* </pre>
*
* <code>optional string dcourl = 7;</code>
* @param value The bytes for dcourl to set.
* @return This builder for chaining.
*/
public Builder setDcourlBytes(
com.google.protobuf.ByteString value) {
copyOnWrite();
instance.setDcourlBytes(value);
return this;
}
/**
* <pre>
* Destination Link. This is default link object for the ad.
* Individual assets can also have a link object which applies if the asset is
* activated (clicked). If the asset doesn't have a link object, the parent
* link object applies.
* See ResponseLink definition.
* REQUIRED by the OpenRTB Native specification.
* </pre>
*
* <code>required .com.google.openrtb.NativeResponse.Link link = 3;</code>
*/
@java.lang.Override
public boolean hasLink() {
return instance.hasLink();
}
/**
* <pre>
* Destination Link. This is default link object for the ad.
* Individual assets can also have a link object which applies if the asset is
* activated (clicked). If the asset doesn't have a link object, the parent
* link object applies.
* See ResponseLink definition.
* REQUIRED by the OpenRTB Native specification.
* </pre>
*
* <code>required .com.google.openrtb.NativeResponse.Link link = 3;</code>
*/
@java.lang.Override
public com.particles.mes.protos.openrtb.NativeResponse.Link getLink() {
return instance.getLink();
}
/**
* <pre>
* Destination Link. This is default link object for the ad.
* Individual assets can also have a link object which applies if the asset is
* activated (clicked). If the asset doesn't have a link object, the parent
* link object applies.
* See ResponseLink definition.
* REQUIRED by the OpenRTB Native specification.
* </pre>
*
* <code>required .com.google.openrtb.NativeResponse.Link link = 3;</code>
*/
public Builder setLink(com.particles.mes.protos.openrtb.NativeResponse.Link value) {
copyOnWrite();
instance.setLink(value);
return this;
}
/**
* <pre>
* Destination Link. This is default link object for the ad.
* Individual assets can also have a link object which applies if the asset is
* activated (clicked). If the asset doesn't have a link object, the parent
* link object applies.
* See ResponseLink definition.
* REQUIRED by the OpenRTB Native specification.
* </pre>
*
* <code>required .com.google.openrtb.NativeResponse.Link link = 3;</code>
*/
public Builder setLink(
com.particles.mes.protos.openrtb.NativeResponse.Link.Builder builderForValue) {
copyOnWrite();
instance.setLink(builderForValue.build());
return this;
}
/**
* <pre>
* Destination Link. This is default link object for the ad.
* Individual assets can also have a link object which applies if the asset is
* activated (clicked). If the asset doesn't have a link object, the parent
* link object applies.
* See ResponseLink definition.
* REQUIRED by the OpenRTB Native specification.
* </pre>
*
* <code>required .com.google.openrtb.NativeResponse.Link link = 3;</code>
*/
public Builder mergeLink(com.particles.mes.protos.openrtb.NativeResponse.Link value) {
copyOnWrite();
instance.mergeLink(value);
return this;
}
/**
* <pre>
* Destination Link. This is default link object for the ad.
* Individual assets can also have a link object which applies if the asset is
* activated (clicked). If the asset doesn't have a link object, the parent
* link object applies.
* See ResponseLink definition.
* REQUIRED by the OpenRTB Native specification.
* </pre>
*
* <code>required .com.google.openrtb.NativeResponse.Link link = 3;</code>
*/
public Builder clearLink() { copyOnWrite();
instance.clearLink();
return this;
}
/**
* <pre>
* DEPRECATED in OpenRTB Native 1.2+. Prefer object <code>EventTracker</code>.
* Array of impression tracking URLs, expected to return a 1x1 image or
* 204 response - typically only passed when using 3rd party trackers.
* </pre>
*
* <code>repeated string imptrackers = 4 [deprecated = true];</code>
* @deprecated com.google.openrtb.NativeResponse.imptrackers is deprecated.
* See openrtb/openrtb-v26.proto;l=2577
* @return A list containing the imptrackers.
*/
@java.lang.Override
@java.lang.Deprecated public java.util.List<java.lang.String>
getImptrackersList() {
return java.util.Collections.unmodifiableList(
instance.getImptrackersList());
}
/**
* <pre>
* DEPRECATED in OpenRTB Native 1.2+. Prefer object <code>EventTracker</code>.
* Array of impression tracking URLs, expected to return a 1x1 image or
* 204 response - typically only passed when using 3rd party trackers.
* </pre>
*
* <code>repeated string imptrackers = 4 [deprecated = true];</code>
* @deprecated com.google.openrtb.NativeResponse.imptrackers is deprecated.
* See openrtb/openrtb-v26.proto;l=2577
* @return The count of imptrackers.
*/
@java.lang.Override
@java.lang.Deprecated public int getImptrackersCount() {
return instance.getImptrackersCount();
}
/**
* <pre>
* DEPRECATED in OpenRTB Native 1.2+. Prefer object <code>EventTracker</code>.
* Array of impression tracking URLs, expected to return a 1x1 image or
* 204 response - typically only passed when using 3rd party trackers.
* </pre>
*
* <code>repeated string imptrackers = 4 [deprecated = true];</code>
* @deprecated com.google.openrtb.NativeResponse.imptrackers is deprecated.
* See openrtb/openrtb-v26.proto;l=2577
* @param index The index of the element to return.
* @return The imptrackers at the given index.
*/
@java.lang.Override
@java.lang.Deprecated public java.lang.String getImptrackers(int index) {
return instance.getImptrackers(index);
}
/**
* <pre>
* DEPRECATED in OpenRTB Native 1.2+. Prefer object <code>EventTracker</code>.
* Array of impression tracking URLs, expected to return a 1x1 image or
* 204 response - typically only passed when using 3rd party trackers.
* </pre>
*
* <code>repeated string imptrackers = 4 [deprecated = true];</code>
* @deprecated com.google.openrtb.NativeResponse.imptrackers is deprecated.
* See openrtb/openrtb-v26.proto;l=2577
* @param index The index of the value to return.
* @return The bytes of the imptrackers at the given index.
*/
@java.lang.Override
@java.lang.Deprecated public com.google.protobuf.ByteString
getImptrackersBytes(int index) {
return instance.getImptrackersBytes(index);
}
/**
* <pre>
* DEPRECATED in OpenRTB Native 1.2+. Prefer object <code>EventTracker</code>.
* Array of impression tracking URLs, expected to return a 1x1 image or
* 204 response - typically only passed when using 3rd party trackers.
* </pre>
*
* <code>repeated string imptrackers = 4 [deprecated = true];</code>
* @deprecated com.google.openrtb.NativeResponse.imptrackers is deprecated.
* See openrtb/openrtb-v26.proto;l=2577
* @param index The index to set the value at.
* @param value The imptrackers to set.
* @return This builder for chaining.
*/
@java.lang.Deprecated public Builder setImptrackers(
int index, java.lang.String value) {
copyOnWrite();
instance.setImptrackers(index, value);
return this;
}
/**
* <pre>
* DEPRECATED in OpenRTB Native 1.2+. Prefer object <code>EventTracker</code>.
* Array of impression tracking URLs, expected to return a 1x1 image or
* 204 response - typically only passed when using 3rd party trackers.
* </pre>
*
* <code>repeated string imptrackers = 4 [deprecated = true];</code>
* @deprecated com.google.openrtb.NativeResponse.imptrackers is deprecated.
* See openrtb/openrtb-v26.proto;l=2577
* @param value The imptrackers to add.
* @return This builder for chaining.
*/
@java.lang.Deprecated public Builder addImptrackers(
java.lang.String value) {
copyOnWrite();
instance.addImptrackers(value);
return this;
}
/**
* <pre>
* DEPRECATED in OpenRTB Native 1.2+. Prefer object <code>EventTracker</code>.
* Array of impression tracking URLs, expected to return a 1x1 image or
* 204 response - typically only passed when using 3rd party trackers.
* </pre>
*
* <code>repeated string imptrackers = 4 [deprecated = true];</code>
* @deprecated com.google.openrtb.NativeResponse.imptrackers is deprecated.
* See openrtb/openrtb-v26.proto;l=2577
* @param values The imptrackers to add.
* @return This builder for chaining.
*/
@java.lang.Deprecated public Builder addAllImptrackers(
java.lang.Iterable<java.lang.String> values) {
copyOnWrite();
instance.addAllImptrackers(values);
return this;
}
/**
* <pre>
* DEPRECATED in OpenRTB Native 1.2+. Prefer object <code>EventTracker</code>.
* Array of impression tracking URLs, expected to return a 1x1 image or
* 204 response - typically only passed when using 3rd party trackers.
* </pre>
*
* <code>repeated string imptrackers = 4 [deprecated = true];</code>
* @deprecated com.google.openrtb.NativeResponse.imptrackers is deprecated.
* See openrtb/openrtb-v26.proto;l=2577
* @return This builder for chaining.
*/
@java.lang.Deprecated public Builder clearImptrackers() {
copyOnWrite();
instance.clearImptrackers();
return this;
}
/**
* <pre>
* DEPRECATED in OpenRTB Native 1.2+. Prefer object <code>EventTracker</code>.
* Array of impression tracking URLs, expected to return a 1x1 image or
* 204 response - typically only passed when using 3rd party trackers.
* </pre>
*
* <code>repeated string imptrackers = 4 [deprecated = true];</code>
* @deprecated com.google.openrtb.NativeResponse.imptrackers is deprecated.
* See openrtb/openrtb-v26.proto;l=2577
* @param value The bytes of the imptrackers to add.
* @return This builder for chaining.
*/
@java.lang.Deprecated public Builder addImptrackersBytes(
com.google.protobuf.ByteString value) {
copyOnWrite();
instance.addImptrackersBytes(value);
return this;
}
/**
* <pre>
* DEPRECATED in OpenRTB Native 1.2+. Prefer object <code>EventTracker</code>.
* Optional javascript impression tracker. Contains <script> tags to be
* executed at impression time where it can be supported.
* </pre>
*
* <code>optional string jstracker = 5 [deprecated = true];</code>
* @deprecated com.google.openrtb.NativeResponse.jstracker is deprecated.
* See openrtb/openrtb-v26.proto;l=2582
* @return Whether the jstracker field is set.
*/
@java.lang.Override
@java.lang.Deprecated public boolean hasJstracker() {
return instance.hasJstracker();
}
/**
* <pre>
* DEPRECATED in OpenRTB Native 1.2+. Prefer object <code>EventTracker</code>.
* Optional javascript impression tracker. Contains <script> tags to be
* executed at impression time where it can be supported.
* </pre>
*
* <code>optional string jstracker = 5 [deprecated = true];</code>
* @deprecated com.google.openrtb.NativeResponse.jstracker is deprecated.
* See openrtb/openrtb-v26.proto;l=2582
* @return The jstracker.
*/
@java.lang.Override
@java.lang.Deprecated public java.lang.String getJstracker() {
return instance.getJstracker();
}
/**
* <pre>
* DEPRECATED in OpenRTB Native 1.2+. Prefer object <code>EventTracker</code>.
* Optional javascript impression tracker. Contains <script> tags to be
* executed at impression time where it can be supported.
* </pre>
*
* <code>optional string jstracker = 5 [deprecated = true];</code>
* @deprecated com.google.openrtb.NativeResponse.jstracker is deprecated.
* See openrtb/openrtb-v26.proto;l=2582
* @return The bytes for jstracker.
*/
@java.lang.Override
@java.lang.Deprecated public com.google.protobuf.ByteString
getJstrackerBytes() {
return instance.getJstrackerBytes();
}
/**
* <pre>
* DEPRECATED in OpenRTB Native 1.2+. Prefer object <code>EventTracker</code>.
* Optional javascript impression tracker. Contains <script> tags to be
* executed at impression time where it can be supported.
* </pre>
*
* <code>optional string jstracker = 5 [deprecated = true];</code>
* @deprecated com.google.openrtb.NativeResponse.jstracker is deprecated.
* See openrtb/openrtb-v26.proto;l=2582
* @param value The jstracker to set.
* @return This builder for chaining.
*/
@java.lang.Deprecated public Builder setJstracker(
java.lang.String value) {
copyOnWrite();
instance.setJstracker(value);
return this;
}
/**
* <pre>
* DEPRECATED in OpenRTB Native 1.2+. Prefer object <code>EventTracker</code>.
* Optional javascript impression tracker. Contains <script> tags to be
* executed at impression time where it can be supported.
* </pre>
*
* <code>optional string jstracker = 5 [deprecated = true];</code>
* @deprecated com.google.openrtb.NativeResponse.jstracker is deprecated.
* See openrtb/openrtb-v26.proto;l=2582
* @return This builder for chaining.
*/
@java.lang.Deprecated public Builder clearJstracker() {
copyOnWrite();
instance.clearJstracker();
return this;
}
/**
* <pre>
* DEPRECATED in OpenRTB Native 1.2+. Prefer object <code>EventTracker</code>.
* Optional javascript impression tracker. Contains <script> tags to be
* executed at impression time where it can be supported.
* </pre>
*
* <code>optional string jstracker = 5 [deprecated = true];</code>
* @deprecated com.google.openrtb.NativeResponse.jstracker is deprecated.
* See openrtb/openrtb-v26.proto;l=2582
* @param value The bytes for jstracker to set.
* @return This builder for chaining.
*/
@java.lang.Deprecated public Builder setJstrackerBytes(
com.google.protobuf.ByteString value) {
copyOnWrite();
instance.setJstrackerBytes(value);
return this;
}
/**
* <pre>
* Array of response event trackers to run with the ad, in response to the
* declared supported methods in the NativeRequest. Replaces imptrackers and
* jstrackers.
* </pre>
*
* <code>repeated .com.google.openrtb.NativeResponse.EventTracker eventtrackers = 8;</code>
*/
@java.lang.Override
public java.util.List<com.particles.mes.protos.openrtb.NativeResponse.EventTracker> getEventtrackersList() {
return java.util.Collections.unmodifiableList(
instance.getEventtrackersList());
}
/**
* <pre>
* Array of response event trackers to run with the ad, in response to the
* declared supported methods in the NativeRequest. Replaces imptrackers and
* jstrackers.
* </pre>
*
* <code>repeated .com.google.openrtb.NativeResponse.EventTracker eventtrackers = 8;</code>
*/
@java.lang.Override
public int getEventtrackersCount() {
return instance.getEventtrackersCount();
}/**
* <pre>
* Array of response event trackers to run with the ad, in response to the
* declared supported methods in the NativeRequest. Replaces imptrackers and
* jstrackers.
* </pre>
*
* <code>repeated .com.google.openrtb.NativeResponse.EventTracker eventtrackers = 8;</code>
*/
@java.lang.Override
public com.particles.mes.protos.openrtb.NativeResponse.EventTracker getEventtrackers(int index) {
return instance.getEventtrackers(index);
}
/**
* <pre>
* Array of response event trackers to run with the ad, in response to the
* declared supported methods in the NativeRequest. Replaces imptrackers and
* jstrackers.
* </pre>
*
* <code>repeated .com.google.openrtb.NativeResponse.EventTracker eventtrackers = 8;</code>
*/
public Builder setEventtrackers(
int index, com.particles.mes.protos.openrtb.NativeResponse.EventTracker value) {
copyOnWrite();
instance.setEventtrackers(index, value);
return this;
}
/**
* <pre>
* Array of response event trackers to run with the ad, in response to the
* declared supported methods in the NativeRequest. Replaces imptrackers and
* jstrackers.
* </pre>
*
* <code>repeated .com.google.openrtb.NativeResponse.EventTracker eventtrackers = 8;</code>
*/
public Builder setEventtrackers(
int index, com.particles.mes.protos.openrtb.NativeResponse.EventTracker.Builder builderForValue) {
copyOnWrite();
instance.setEventtrackers(index,
builderForValue.build());
return this;
}
/**
* <pre>
* Array of response event trackers to run with the ad, in response to the
* declared supported methods in the NativeRequest. Replaces imptrackers and
* jstrackers.
* </pre>
*
* <code>repeated .com.google.openrtb.NativeResponse.EventTracker eventtrackers = 8;</code>
*/
public Builder addEventtrackers(com.particles.mes.protos.openrtb.NativeResponse.EventTracker value) {
copyOnWrite();
instance.addEventtrackers(value);
return this;
}
/**
* <pre>
* Array of response event trackers to run with the ad, in response to the
* declared supported methods in the NativeRequest. Replaces imptrackers and
* jstrackers.
* </pre>
*
* <code>repeated .com.google.openrtb.NativeResponse.EventTracker eventtrackers = 8;</code>
*/
public Builder addEventtrackers(
int index, com.particles.mes.protos.openrtb.NativeResponse.EventTracker value) {
copyOnWrite();
instance.addEventtrackers(index, value);
return this;
}
/**
* <pre>
* Array of response event trackers to run with the ad, in response to the
* declared supported methods in the NativeRequest. Replaces imptrackers and
* jstrackers.
* </pre>
*
* <code>repeated .com.google.openrtb.NativeResponse.EventTracker eventtrackers = 8;</code>
*/
public Builder addEventtrackers(
com.particles.mes.protos.openrtb.NativeResponse.EventTracker.Builder builderForValue) {
copyOnWrite();
instance.addEventtrackers(builderForValue.build());
return this;
}
/**
* <pre>
* Array of response event trackers to run with the ad, in response to the
* declared supported methods in the NativeRequest. Replaces imptrackers and
* jstrackers.
* </pre>
*
* <code>repeated .com.google.openrtb.NativeResponse.EventTracker eventtrackers = 8;</code>
*/
public Builder addEventtrackers(
int index, com.particles.mes.protos.openrtb.NativeResponse.EventTracker.Builder builderForValue) {
copyOnWrite();
instance.addEventtrackers(index,
builderForValue.build());
return this;
}
/**
* <pre>
* Array of response event trackers to run with the ad, in response to the
* declared supported methods in the NativeRequest. Replaces imptrackers and
* jstrackers.
* </pre>
*
* <code>repeated .com.google.openrtb.NativeResponse.EventTracker eventtrackers = 8;</code>
*/
public Builder addAllEventtrackers(
java.lang.Iterable<? extends com.particles.mes.protos.openrtb.NativeResponse.EventTracker> values) {
copyOnWrite();
instance.addAllEventtrackers(values);
return this;
}
/**
* <pre>
* Array of response event trackers to run with the ad, in response to the
* declared supported methods in the NativeRequest. Replaces imptrackers and
* jstrackers.
* </pre>
*
* <code>repeated .com.google.openrtb.NativeResponse.EventTracker eventtrackers = 8;</code>
*/
public Builder clearEventtrackers() {
copyOnWrite();
instance.clearEventtrackers();
return this;
}
/**
* <pre>
* Array of response event trackers to run with the ad, in response to the
* declared supported methods in the NativeRequest. Replaces imptrackers and
* jstrackers.
* </pre>
*
* <code>repeated .com.google.openrtb.NativeResponse.EventTracker eventtrackers = 8;</code>
*/
public Builder removeEventtrackers(int index) {
copyOnWrite();
instance.removeEventtrackers(index);
return this;
}
/**
* <pre>
* If support was indicated in the request, URL of a page informing the user
* about the buyer's targeting activity.
* </pre>
*
* <code>optional string privacy = 9;</code>
* @return Whether the privacy field is set.
*/
@java.lang.Override
public boolean hasPrivacy() {
return instance.hasPrivacy();
}
/**
* <pre>
* If support was indicated in the request, URL of a page informing the user
* about the buyer's targeting activity.
* </pre>
*
* <code>optional string privacy = 9;</code>
* @return The privacy.
*/
@java.lang.Override
public java.lang.String getPrivacy() {
return instance.getPrivacy();
}
/**
* <pre>
* If support was indicated in the request, URL of a page informing the user
* about the buyer's targeting activity.
* </pre>
*
* <code>optional string privacy = 9;</code>
* @return The bytes for privacy.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getPrivacyBytes() {
return instance.getPrivacyBytes();
}
/**
* <pre>
* If support was indicated in the request, URL of a page informing the user
* about the buyer's targeting activity.
* </pre>
*
* <code>optional string privacy = 9;</code>
* @param value The privacy to set.
* @return This builder for chaining.
*/
public Builder setPrivacy(
java.lang.String value) {
copyOnWrite();
instance.setPrivacy(value);
return this;
}
/**
* <pre>
* If support was indicated in the request, URL of a page informing the user
* about the buyer's targeting activity.
* </pre>
*
* <code>optional string privacy = 9;</code>
* @return This builder for chaining.
*/
public Builder clearPrivacy() {
copyOnWrite();
instance.clearPrivacy();
return this;
}
/**
* <pre>
* If support was indicated in the request, URL of a page informing the user
* about the buyer's targeting activity.
* </pre>
*
* <code>optional string privacy = 9;</code>
* @param value The bytes for privacy to set.
* @return This builder for chaining.
*/
public Builder setPrivacyBytes(
com.google.protobuf.ByteString value) {
copyOnWrite();
instance.setPrivacyBytes(value);
return this;
}
// @@protoc_insertion_point(builder_scope:com.google.openrtb.NativeResponse)
}
private byte memoizedIsInitialized = 2;
@java.lang.Override
@java.lang.SuppressWarnings({"unchecked", "fallthrough"})
protected final java.lang.Object dynamicMethod(
com.google.protobuf.GeneratedMessageLite.MethodToInvoke method,
java.lang.Object arg0, java.lang.Object arg1) {
switch (method) {
case NEW_MUTABLE_INSTANCE: {
return new com.particles.mes.protos.openrtb.NativeResponse();
}
case NEW_BUILDER: {
return new Builder();
}
case BUILD_MESSAGE_INFO: {
java.lang.Object[] objects = new java.lang.Object[] {
"bitField0_",
"ver_",
"assets_",
com.particles.mes.protos.openrtb.NativeResponse.Asset.class,
"link_",
"imptrackers_",
"jstracker_",
"assetsurl_",
"dcourl_",
"eventtrackers_",
com.particles.mes.protos.openrtb.NativeResponse.EventTracker.class,
"privacy_",
};
java.lang.String info =
"\u0001\t\u0000\u0001\u0001\t\t\u0000\u0003\u0003\u0001\u1008\u0000\u0002\u041b\u0003" +
"\u1509\u0003\u0004\u001a\u0005\u1008\u0004\u0006\u1008\u0001\u0007\u1008\u0002\b" +
"\u041b\t\u1008\u0005";
return newMessageInfo(DEFAULT_INSTANCE, info, objects);
}
// fall through
case GET_DEFAULT_INSTANCE: {
return DEFAULT_INSTANCE;
}
case GET_PARSER: {
com.google.protobuf.Parser<com.particles.mes.protos.openrtb.NativeResponse> parser = PARSER;
if (parser == null) {
synchronized (com.particles.mes.protos.openrtb.NativeResponse.class) {
parser = PARSER;
if (parser == null) {
parser =
new DefaultInstanceBasedParser<com.particles.mes.protos.openrtb.NativeResponse>(
DEFAULT_INSTANCE);
PARSER = parser;
}
}
}
return parser;
}
case GET_MEMOIZED_IS_INITIALIZED: {
return memoizedIsInitialized;
}
case SET_MEMOIZED_IS_INITIALIZED: {
memoizedIsInitialized = (byte) (arg0 == null ? 0 : 1);
return null;
}
}
throw new UnsupportedOperationException();
}
// @@protoc_insertion_point(class_scope:com.google.openrtb.NativeResponse)
private static final com.particles.mes.protos.openrtb.NativeResponse DEFAULT_INSTANCE;
static {
NativeResponse defaultInstance = new NativeResponse();
// New instances are implicitly immutable so no need to make
// immutable.
DEFAULT_INSTANCE = defaultInstance;
com.google.protobuf.GeneratedMessageLite.registerDefaultInstance(
NativeResponse.class, defaultInstance);
}
public static com.particles.mes.protos.openrtb.NativeResponse getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static volatile com.google.protobuf.Parser<NativeResponse> PARSER;
public static com.google.protobuf.Parser<NativeResponse> parser() {
return DEFAULT_INSTANCE.getParserForType();
}
}
|
0 | java-sources/ai/themsp/mes-android-sdk/0.15.0/main/com/particles/mes/protos | java-sources/ai/themsp/mes-android-sdk/0.15.0/main/com/particles/mes/protos/openrtb/NativeResponseOrBuilder.java | // Generated by the protocol buffer compiler. DO NOT EDIT!
// source: openrtb/openrtb-v26.proto
package com.particles.mes.protos.openrtb;
public interface NativeResponseOrBuilder extends
// @@protoc_insertion_point(interface_extends:com.google.openrtb.NativeResponse)
com.google.protobuf.GeneratedMessageLite.
ExtendableMessageOrBuilder<
NativeResponse, NativeResponse.Builder> {
/**
* <pre>
* Version of the Native Markup version in use.
* </pre>
*
* <code>optional string ver = 1;</code>
* @return Whether the ver field is set.
*/
boolean hasVer();
/**
* <pre>
* Version of the Native Markup version in use.
* </pre>
*
* <code>optional string ver = 1;</code>
* @return The ver.
*/
java.lang.String getVer();
/**
* <pre>
* Version of the Native Markup version in use.
* </pre>
*
* <code>optional string ver = 1;</code>
* @return The bytes for ver.
*/
com.google.protobuf.ByteString
getVerBytes();
/**
* <pre>
* List of native ad's assets.
* RECOMMENDED in 1.0, 1.1, or in 1.2 as a fallback if assetsurl is provided.
* REQUIRED in 1.2, if not assetsurl is provided.
* </pre>
*
* <code>repeated .com.google.openrtb.NativeResponse.Asset assets = 2;</code>
*/
java.util.List<com.particles.mes.protos.openrtb.NativeResponse.Asset>
getAssetsList();
/**
* <pre>
* List of native ad's assets.
* RECOMMENDED in 1.0, 1.1, or in 1.2 as a fallback if assetsurl is provided.
* REQUIRED in 1.2, if not assetsurl is provided.
* </pre>
*
* <code>repeated .com.google.openrtb.NativeResponse.Asset assets = 2;</code>
*/
com.particles.mes.protos.openrtb.NativeResponse.Asset getAssets(int index);
/**
* <pre>
* List of native ad's assets.
* RECOMMENDED in 1.0, 1.1, or in 1.2 as a fallback if assetsurl is provided.
* REQUIRED in 1.2, if not assetsurl is provided.
* </pre>
*
* <code>repeated .com.google.openrtb.NativeResponse.Asset assets = 2;</code>
*/
int getAssetsCount();
/**
* <pre>
* URL of alternate source for the assets object. The expected response is a
* JSON object mirroring the asset object in the bid response, subject to
* certain requirements as specified in the individual objects.
* Where present, overrides the assets object in the response.
* </pre>
*
* <code>optional string assetsurl = 6;</code>
* @return Whether the assetsurl field is set.
*/
boolean hasAssetsurl();
/**
* <pre>
* URL of alternate source for the assets object. The expected response is a
* JSON object mirroring the asset object in the bid response, subject to
* certain requirements as specified in the individual objects.
* Where present, overrides the assets object in the response.
* </pre>
*
* <code>optional string assetsurl = 6;</code>
* @return The assetsurl.
*/
java.lang.String getAssetsurl();
/**
* <pre>
* URL of alternate source for the assets object. The expected response is a
* JSON object mirroring the asset object in the bid response, subject to
* certain requirements as specified in the individual objects.
* Where present, overrides the assets object in the response.
* </pre>
*
* <code>optional string assetsurl = 6;</code>
* @return The bytes for assetsurl.
*/
com.google.protobuf.ByteString
getAssetsurlBytes();
/**
* <pre>
* URL where a dynamic creative specification may be found for populating this
* ad, per the Dynamic Content Ads Specification.
* Note this is a beta option as the interpretation of the Dynamic Content Ads
* Specification and how to assign those elementes into a native ad is outside
* the scope of this spec and must be agreed offline between parties or as may
* be specified in a future revision of the Dynamic Content Ads spec.
* Where present, overrides the assets object in the response.
* </pre>
*
* <code>optional string dcourl = 7;</code>
* @return Whether the dcourl field is set.
*/
boolean hasDcourl();
/**
* <pre>
* URL where a dynamic creative specification may be found for populating this
* ad, per the Dynamic Content Ads Specification.
* Note this is a beta option as the interpretation of the Dynamic Content Ads
* Specification and how to assign those elementes into a native ad is outside
* the scope of this spec and must be agreed offline between parties or as may
* be specified in a future revision of the Dynamic Content Ads spec.
* Where present, overrides the assets object in the response.
* </pre>
*
* <code>optional string dcourl = 7;</code>
* @return The dcourl.
*/
java.lang.String getDcourl();
/**
* <pre>
* URL where a dynamic creative specification may be found for populating this
* ad, per the Dynamic Content Ads Specification.
* Note this is a beta option as the interpretation of the Dynamic Content Ads
* Specification and how to assign those elementes into a native ad is outside
* the scope of this spec and must be agreed offline between parties or as may
* be specified in a future revision of the Dynamic Content Ads spec.
* Where present, overrides the assets object in the response.
* </pre>
*
* <code>optional string dcourl = 7;</code>
* @return The bytes for dcourl.
*/
com.google.protobuf.ByteString
getDcourlBytes();
/**
* <pre>
* Destination Link. This is default link object for the ad.
* Individual assets can also have a link object which applies if the asset is
* activated (clicked). If the asset doesn't have a link object, the parent
* link object applies.
* See ResponseLink definition.
* REQUIRED by the OpenRTB Native specification.
* </pre>
*
* <code>required .com.google.openrtb.NativeResponse.Link link = 3;</code>
* @return Whether the link field is set.
*/
boolean hasLink();
/**
* <pre>
* Destination Link. This is default link object for the ad.
* Individual assets can also have a link object which applies if the asset is
* activated (clicked). If the asset doesn't have a link object, the parent
* link object applies.
* See ResponseLink definition.
* REQUIRED by the OpenRTB Native specification.
* </pre>
*
* <code>required .com.google.openrtb.NativeResponse.Link link = 3;</code>
* @return The link.
*/
com.particles.mes.protos.openrtb.NativeResponse.Link getLink();
/**
* <pre>
* DEPRECATED in OpenRTB Native 1.2+. Prefer object <code>EventTracker</code>.
* Array of impression tracking URLs, expected to return a 1x1 image or
* 204 response - typically only passed when using 3rd party trackers.
* </pre>
*
* <code>repeated string imptrackers = 4 [deprecated = true];</code>
* @deprecated com.google.openrtb.NativeResponse.imptrackers is deprecated.
* See openrtb/openrtb-v26.proto;l=2577
* @return A list containing the imptrackers.
*/
@java.lang.Deprecated java.util.List<java.lang.String>
getImptrackersList();
/**
* <pre>
* DEPRECATED in OpenRTB Native 1.2+. Prefer object <code>EventTracker</code>.
* Array of impression tracking URLs, expected to return a 1x1 image or
* 204 response - typically only passed when using 3rd party trackers.
* </pre>
*
* <code>repeated string imptrackers = 4 [deprecated = true];</code>
* @deprecated com.google.openrtb.NativeResponse.imptrackers is deprecated.
* See openrtb/openrtb-v26.proto;l=2577
* @return The count of imptrackers.
*/
@java.lang.Deprecated int getImptrackersCount();
/**
* <pre>
* DEPRECATED in OpenRTB Native 1.2+. Prefer object <code>EventTracker</code>.
* Array of impression tracking URLs, expected to return a 1x1 image or
* 204 response - typically only passed when using 3rd party trackers.
* </pre>
*
* <code>repeated string imptrackers = 4 [deprecated = true];</code>
* @deprecated com.google.openrtb.NativeResponse.imptrackers is deprecated.
* See openrtb/openrtb-v26.proto;l=2577
* @param index The index of the element to return.
* @return The imptrackers at the given index.
*/
@java.lang.Deprecated java.lang.String getImptrackers(int index);
/**
* <pre>
* DEPRECATED in OpenRTB Native 1.2+. Prefer object <code>EventTracker</code>.
* Array of impression tracking URLs, expected to return a 1x1 image or
* 204 response - typically only passed when using 3rd party trackers.
* </pre>
*
* <code>repeated string imptrackers = 4 [deprecated = true];</code>
* @deprecated com.google.openrtb.NativeResponse.imptrackers is deprecated.
* See openrtb/openrtb-v26.proto;l=2577
* @param index The index of the element to return.
* @return The imptrackers at the given index.
*/
@java.lang.Deprecated com.google.protobuf.ByteString
getImptrackersBytes(int index);
/**
* <pre>
* DEPRECATED in OpenRTB Native 1.2+. Prefer object <code>EventTracker</code>.
* Optional javascript impression tracker. Contains <script> tags to be
* executed at impression time where it can be supported.
* </pre>
*
* <code>optional string jstracker = 5 [deprecated = true];</code>
* @deprecated com.google.openrtb.NativeResponse.jstracker is deprecated.
* See openrtb/openrtb-v26.proto;l=2582
* @return Whether the jstracker field is set.
*/
@java.lang.Deprecated boolean hasJstracker();
/**
* <pre>
* DEPRECATED in OpenRTB Native 1.2+. Prefer object <code>EventTracker</code>.
* Optional javascript impression tracker. Contains <script> tags to be
* executed at impression time where it can be supported.
* </pre>
*
* <code>optional string jstracker = 5 [deprecated = true];</code>
* @deprecated com.google.openrtb.NativeResponse.jstracker is deprecated.
* See openrtb/openrtb-v26.proto;l=2582
* @return The jstracker.
*/
@java.lang.Deprecated java.lang.String getJstracker();
/**
* <pre>
* DEPRECATED in OpenRTB Native 1.2+. Prefer object <code>EventTracker</code>.
* Optional javascript impression tracker. Contains <script> tags to be
* executed at impression time where it can be supported.
* </pre>
*
* <code>optional string jstracker = 5 [deprecated = true];</code>
* @deprecated com.google.openrtb.NativeResponse.jstracker is deprecated.
* See openrtb/openrtb-v26.proto;l=2582
* @return The bytes for jstracker.
*/
@java.lang.Deprecated com.google.protobuf.ByteString
getJstrackerBytes();
/**
* <pre>
* Array of response event trackers to run with the ad, in response to the
* declared supported methods in the NativeRequest. Replaces imptrackers and
* jstrackers.
* </pre>
*
* <code>repeated .com.google.openrtb.NativeResponse.EventTracker eventtrackers = 8;</code>
*/
java.util.List<com.particles.mes.protos.openrtb.NativeResponse.EventTracker>
getEventtrackersList();
/**
* <pre>
* Array of response event trackers to run with the ad, in response to the
* declared supported methods in the NativeRequest. Replaces imptrackers and
* jstrackers.
* </pre>
*
* <code>repeated .com.google.openrtb.NativeResponse.EventTracker eventtrackers = 8;</code>
*/
com.particles.mes.protos.openrtb.NativeResponse.EventTracker getEventtrackers(int index);
/**
* <pre>
* Array of response event trackers to run with the ad, in response to the
* declared supported methods in the NativeRequest. Replaces imptrackers and
* jstrackers.
* </pre>
*
* <code>repeated .com.google.openrtb.NativeResponse.EventTracker eventtrackers = 8;</code>
*/
int getEventtrackersCount();
/**
* <pre>
* If support was indicated in the request, URL of a page informing the user
* about the buyer's targeting activity.
* </pre>
*
* <code>optional string privacy = 9;</code>
* @return Whether the privacy field is set.
*/
boolean hasPrivacy();
/**
* <pre>
* If support was indicated in the request, URL of a page informing the user
* about the buyer's targeting activity.
* </pre>
*
* <code>optional string privacy = 9;</code>
* @return The privacy.
*/
java.lang.String getPrivacy();
/**
* <pre>
* If support was indicated in the request, URL of a page informing the user
* about the buyer's targeting activity.
* </pre>
*
* <code>optional string privacy = 9;</code>
* @return The bytes for privacy.
*/
com.google.protobuf.ByteString
getPrivacyBytes();
}
|
0 | java-sources/ai/themsp/mes-android-sdk/0.15.0/main/com/particles/mes/protos | java-sources/ai/themsp/mes-android-sdk/0.15.0/main/com/particles/mes/protos/openrtb/NoBidReason.java | // Generated by the protocol buffer compiler. DO NOT EDIT!
// source: openrtb/openrtb-v26.proto
package com.particles.mes.protos.openrtb;
/**
* <pre>
* OpenRTB 2.2: The following table lists the options for a bidder to signal
* the exchange as to why it did not offer a bid for the impression.
* </pre>
*
* Protobuf enum {@code com.google.openrtb.NoBidReason}
*/
public enum NoBidReason
implements com.google.protobuf.Internal.EnumLite {
/**
* <code>UNKNOWN_ERROR = 0;</code>
*/
UNKNOWN_ERROR(0),
/**
* <code>TECHNICAL_ERROR = 1;</code>
*/
TECHNICAL_ERROR(1),
/**
* <code>INVALID_REQUEST = 2;</code>
*/
INVALID_REQUEST(2),
/**
* <code>KNOWN_WEB_SPIDER = 3;</code>
*/
KNOWN_WEB_SPIDER(3),
/**
* <code>SUSPECTED_NONHUMAN_TRAFFIC = 4;</code>
*/
SUSPECTED_NONHUMAN_TRAFFIC(4),
/**
* <code>CLOUD_DATACENTER_PROXYIP = 5;</code>
*/
CLOUD_DATACENTER_PROXYIP(5),
/**
* <code>UNSUPPORTED_DEVICE = 6;</code>
*/
UNSUPPORTED_DEVICE(6),
/**
* <code>BLOCKED_PUBLISHER = 7;</code>
*/
BLOCKED_PUBLISHER(7),
/**
* <code>UNMATCHED_USER = 8;</code>
*/
UNMATCHED_USER(8),
/**
* <code>DAILY_READER_CAP = 9;</code>
*/
DAILY_READER_CAP(9),
/**
* <code>DAILY_DOMAIN_CAP = 10;</code>
*/
DAILY_DOMAIN_CAP(10),
;
/**
* <code>UNKNOWN_ERROR = 0;</code>
*/
public static final int UNKNOWN_ERROR_VALUE = 0;
/**
* <code>TECHNICAL_ERROR = 1;</code>
*/
public static final int TECHNICAL_ERROR_VALUE = 1;
/**
* <code>INVALID_REQUEST = 2;</code>
*/
public static final int INVALID_REQUEST_VALUE = 2;
/**
* <code>KNOWN_WEB_SPIDER = 3;</code>
*/
public static final int KNOWN_WEB_SPIDER_VALUE = 3;
/**
* <code>SUSPECTED_NONHUMAN_TRAFFIC = 4;</code>
*/
public static final int SUSPECTED_NONHUMAN_TRAFFIC_VALUE = 4;
/**
* <code>CLOUD_DATACENTER_PROXYIP = 5;</code>
*/
public static final int CLOUD_DATACENTER_PROXYIP_VALUE = 5;
/**
* <code>UNSUPPORTED_DEVICE = 6;</code>
*/
public static final int UNSUPPORTED_DEVICE_VALUE = 6;
/**
* <code>BLOCKED_PUBLISHER = 7;</code>
*/
public static final int BLOCKED_PUBLISHER_VALUE = 7;
/**
* <code>UNMATCHED_USER = 8;</code>
*/
public static final int UNMATCHED_USER_VALUE = 8;
/**
* <code>DAILY_READER_CAP = 9;</code>
*/
public static final int DAILY_READER_CAP_VALUE = 9;
/**
* <code>DAILY_DOMAIN_CAP = 10;</code>
*/
public static final int DAILY_DOMAIN_CAP_VALUE = 10;
@java.lang.Override
public final int getNumber() {
return value;
}
/**
* @param value The number of the enum to look for.
* @return The enum associated with the given number.
* @deprecated Use {@link #forNumber(int)} instead.
*/
@java.lang.Deprecated
public static NoBidReason valueOf(int value) {
return forNumber(value);
}
public static NoBidReason forNumber(int value) {
switch (value) {
case 0: return UNKNOWN_ERROR;
case 1: return TECHNICAL_ERROR;
case 2: return INVALID_REQUEST;
case 3: return KNOWN_WEB_SPIDER;
case 4: return SUSPECTED_NONHUMAN_TRAFFIC;
case 5: return CLOUD_DATACENTER_PROXYIP;
case 6: return UNSUPPORTED_DEVICE;
case 7: return BLOCKED_PUBLISHER;
case 8: return UNMATCHED_USER;
case 9: return DAILY_READER_CAP;
case 10: return DAILY_DOMAIN_CAP;
default: return null;
}
}
public static com.google.protobuf.Internal.EnumLiteMap<NoBidReason>
internalGetValueMap() {
return internalValueMap;
}
private static final com.google.protobuf.Internal.EnumLiteMap<
NoBidReason> internalValueMap =
new com.google.protobuf.Internal.EnumLiteMap<NoBidReason>() {
@java.lang.Override
public NoBidReason findValueByNumber(int number) {
return NoBidReason.forNumber(number);
}
};
public static com.google.protobuf.Internal.EnumVerifier
internalGetVerifier() {
return NoBidReasonVerifier.INSTANCE;
}
private static final class NoBidReasonVerifier implements
com.google.protobuf.Internal.EnumVerifier {
static final com.google.protobuf.Internal.EnumVerifier INSTANCE = new NoBidReasonVerifier();
@java.lang.Override
public boolean isInRange(int number) {
return NoBidReason.forNumber(number) != null;
}
};
private final int value;
private NoBidReason(int value) {
this.value = value;
}
// @@protoc_insertion_point(enum_scope:com.google.openrtb.NoBidReason)
}
|
0 | java-sources/ai/themsp/mes-android-sdk/0.15.0/main/com/particles/mes/protos | java-sources/ai/themsp/mes-android-sdk/0.15.0/main/com/particles/mes/protos/openrtb/OpenRtb.java | // Generated by the protocol buffer compiler. DO NOT EDIT!
// source: openrtb/openrtb-v26.proto
package com.particles.mes.protos.openrtb;
public final class OpenRtb {
private OpenRtb() {}
public static void registerAllExtensions(
com.google.protobuf.ExtensionRegistryLite registry) {
}
static {
}
// @@protoc_insertion_point(outer_class_scope)
}
|
0 | java-sources/ai/themsp/mes-android-sdk/0.15.0/main/com/particles/mes/protos | java-sources/ai/themsp/mes-android-sdk/0.15.0/main/com/particles/mes/protos/openrtb/PlacementType.java | // Generated by the protocol buffer compiler. DO NOT EDIT!
// source: openrtb/openrtb-v26.proto
package com.particles.mes.protos.openrtb;
/**
* <pre>
* OpenRTB Native 1.1: The FORMAT of the ad you are purchasing,
* separate from the surrounding context.
* </pre>
*
* Protobuf enum {@code com.google.openrtb.PlacementType}
*/
public enum PlacementType
implements com.google.protobuf.Internal.EnumLite {
/**
* <pre>
* In the feed of content - for example as an item inside the organic
* feed/grid/listing/carousel.
* </pre>
*
* <code>IN_FEED = 1;</code>
*/
IN_FEED(1),
/**
* <pre>
* In the atomic unit of the content - IE in the article page
* or single image page.
* </pre>
*
* <code>ATOMIC_UNIT = 2;</code>
*/
ATOMIC_UNIT(2),
/**
* <pre>
* Outside the core content - for example in the ads section on the
* right rail, as a banner-style placement near the content, or another
* placement type.
* </pre>
*
* <code>OUTSIDE = 3;</code>
*/
OUTSIDE(3),
/**
* <pre>
* Recommendation widget, most commonly presented below
* the article content.
* </pre>
*
* <code>RECOMMENDATION = 4;</code>
*/
RECOMMENDATION(4),
;
/**
* <pre>
* In the feed of content - for example as an item inside the organic
* feed/grid/listing/carousel.
* </pre>
*
* <code>IN_FEED = 1;</code>
*/
public static final int IN_FEED_VALUE = 1;
/**
* <pre>
* In the atomic unit of the content - IE in the article page
* or single image page.
* </pre>
*
* <code>ATOMIC_UNIT = 2;</code>
*/
public static final int ATOMIC_UNIT_VALUE = 2;
/**
* <pre>
* Outside the core content - for example in the ads section on the
* right rail, as a banner-style placement near the content, or another
* placement type.
* </pre>
*
* <code>OUTSIDE = 3;</code>
*/
public static final int OUTSIDE_VALUE = 3;
/**
* <pre>
* Recommendation widget, most commonly presented below
* the article content.
* </pre>
*
* <code>RECOMMENDATION = 4;</code>
*/
public static final int RECOMMENDATION_VALUE = 4;
@java.lang.Override
public final int getNumber() {
return value;
}
/**
* @param value The number of the enum to look for.
* @return The enum associated with the given number.
* @deprecated Use {@link #forNumber(int)} instead.
*/
@java.lang.Deprecated
public static PlacementType valueOf(int value) {
return forNumber(value);
}
public static PlacementType forNumber(int value) {
switch (value) {
case 1: return IN_FEED;
case 2: return ATOMIC_UNIT;
case 3: return OUTSIDE;
case 4: return RECOMMENDATION;
default: return null;
}
}
public static com.google.protobuf.Internal.EnumLiteMap<PlacementType>
internalGetValueMap() {
return internalValueMap;
}
private static final com.google.protobuf.Internal.EnumLiteMap<
PlacementType> internalValueMap =
new com.google.protobuf.Internal.EnumLiteMap<PlacementType>() {
@java.lang.Override
public PlacementType findValueByNumber(int number) {
return PlacementType.forNumber(number);
}
};
public static com.google.protobuf.Internal.EnumVerifier
internalGetVerifier() {
return PlacementTypeVerifier.INSTANCE;
}
private static final class PlacementTypeVerifier implements
com.google.protobuf.Internal.EnumVerifier {
static final com.google.protobuf.Internal.EnumVerifier INSTANCE = new PlacementTypeVerifier();
@java.lang.Override
public boolean isInRange(int number) {
return PlacementType.forNumber(number) != null;
}
};
private final int value;
private PlacementType(int value) {
this.value = value;
}
// @@protoc_insertion_point(enum_scope:com.google.openrtb.PlacementType)
}
|
0 | java-sources/ai/themsp/mes-android-sdk/0.15.0/main/com/particles/mes/protos | java-sources/ai/themsp/mes-android-sdk/0.15.0/main/com/particles/mes/protos/openrtb/PlaybackCessationMode.java | // Generated by the protocol buffer compiler. DO NOT EDIT!
// source: openrtb/openrtb-v26.proto
package com.particles.mes.protos.openrtb;
/**
* <pre>
* OpenRTB 2.5: The various modes for when playback terminates.
* </pre>
*
* Protobuf enum {@code com.google.openrtb.PlaybackCessationMode}
*/
public enum PlaybackCessationMode
implements com.google.protobuf.Internal.EnumLite {
/**
* <pre>
* On Video Completion or when Terminated by User
* </pre>
*
* <code>COMPLETION_OR_USER = 1;</code>
*/
COMPLETION_OR_USER(1),
/**
* <pre>
* On Leaving Viewport or when Terminated by User
* </pre>
*
* <code>LEAVING_OR_USER = 2;</code>
*/
LEAVING_OR_USER(2),
/**
* <pre>
* On Leaving Viewport Continues as a Floating/Slider Unit until
* Video Completion or when Terminated by User
* </pre>
*
* <code>LEAVING_CONTINUES_OR_USER = 3;</code>
*/
LEAVING_CONTINUES_OR_USER(3),
;
/**
* <pre>
* On Video Completion or when Terminated by User
* </pre>
*
* <code>COMPLETION_OR_USER = 1;</code>
*/
public static final int COMPLETION_OR_USER_VALUE = 1;
/**
* <pre>
* On Leaving Viewport or when Terminated by User
* </pre>
*
* <code>LEAVING_OR_USER = 2;</code>
*/
public static final int LEAVING_OR_USER_VALUE = 2;
/**
* <pre>
* On Leaving Viewport Continues as a Floating/Slider Unit until
* Video Completion or when Terminated by User
* </pre>
*
* <code>LEAVING_CONTINUES_OR_USER = 3;</code>
*/
public static final int LEAVING_CONTINUES_OR_USER_VALUE = 3;
@java.lang.Override
public final int getNumber() {
return value;
}
/**
* @param value The number of the enum to look for.
* @return The enum associated with the given number.
* @deprecated Use {@link #forNumber(int)} instead.
*/
@java.lang.Deprecated
public static PlaybackCessationMode valueOf(int value) {
return forNumber(value);
}
public static PlaybackCessationMode forNumber(int value) {
switch (value) {
case 1: return COMPLETION_OR_USER;
case 2: return LEAVING_OR_USER;
case 3: return LEAVING_CONTINUES_OR_USER;
default: return null;
}
}
public static com.google.protobuf.Internal.EnumLiteMap<PlaybackCessationMode>
internalGetValueMap() {
return internalValueMap;
}
private static final com.google.protobuf.Internal.EnumLiteMap<
PlaybackCessationMode> internalValueMap =
new com.google.protobuf.Internal.EnumLiteMap<PlaybackCessationMode>() {
@java.lang.Override
public PlaybackCessationMode findValueByNumber(int number) {
return PlaybackCessationMode.forNumber(number);
}
};
public static com.google.protobuf.Internal.EnumVerifier
internalGetVerifier() {
return PlaybackCessationModeVerifier.INSTANCE;
}
private static final class PlaybackCessationModeVerifier implements
com.google.protobuf.Internal.EnumVerifier {
static final com.google.protobuf.Internal.EnumVerifier INSTANCE = new PlaybackCessationModeVerifier();
@java.lang.Override
public boolean isInRange(int number) {
return PlaybackCessationMode.forNumber(number) != null;
}
};
private final int value;
private PlaybackCessationMode(int value) {
this.value = value;
}
// @@protoc_insertion_point(enum_scope:com.google.openrtb.PlaybackCessationMode)
}
|
0 | java-sources/ai/themsp/mes-android-sdk/0.15.0/main/com/particles/mes/protos | java-sources/ai/themsp/mes-android-sdk/0.15.0/main/com/particles/mes/protos/openrtb/PlaybackMethod.java | // Generated by the protocol buffer compiler. DO NOT EDIT!
// source: openrtb/openrtb-v26.proto
package com.particles.mes.protos.openrtb;
/**
* <pre>
* OpenRTB 2.0: The following table lists the various playback methods.
* </pre>
*
* Protobuf enum {@code com.google.openrtb.PlaybackMethod}
*/
public enum PlaybackMethod
implements com.google.protobuf.Internal.EnumLite {
/**
* <pre>
* Initiates on Page Load with Sound On.
* </pre>
*
* <code>AUTO_PLAY_SOUND_ON = 1;</code>
*/
AUTO_PLAY_SOUND_ON(1),
/**
* <pre>
* Initiates on Page Load with Sound Off by Default.
* </pre>
*
* <code>AUTO_PLAY_SOUND_OFF = 2;</code>
*/
AUTO_PLAY_SOUND_OFF(2),
/**
* <pre>
* Initiates on Click with Sound On.
* </pre>
*
* <code>CLICK_TO_PLAY = 3;</code>
*/
CLICK_TO_PLAY(3),
/**
* <pre>
* Initiates on Mouse-Over with Sound On.
* </pre>
*
* <code>MOUSE_OVER = 4;</code>
*/
MOUSE_OVER(4),
/**
* <pre>
* Initiates on Entering Viewport with Sound On.
* </pre>
*
* <code>ENTER_SOUND_ON = 5;</code>
*/
ENTER_SOUND_ON(5),
/**
* <pre>
* Initiates on Entering Viewport with Sound Off by Default.
* </pre>
*
* <code>ENTER_SOUND_OFF = 6;</code>
*/
ENTER_SOUND_OFF(6),
/**
* <pre>
* Media playback is set to play additional media automatically without
* user interaction. The media player will keep playing additional media
* (playlist or generated) for the user until the user actively stops this
* from happening.
* </pre>
*
* <code>CONTINUOUS = 7;</code>
*/
CONTINUOUS(7),
;
/**
* <pre>
* Initiates on Page Load with Sound On.
* </pre>
*
* <code>AUTO_PLAY_SOUND_ON = 1;</code>
*/
public static final int AUTO_PLAY_SOUND_ON_VALUE = 1;
/**
* <pre>
* Initiates on Page Load with Sound Off by Default.
* </pre>
*
* <code>AUTO_PLAY_SOUND_OFF = 2;</code>
*/
public static final int AUTO_PLAY_SOUND_OFF_VALUE = 2;
/**
* <pre>
* Initiates on Click with Sound On.
* </pre>
*
* <code>CLICK_TO_PLAY = 3;</code>
*/
public static final int CLICK_TO_PLAY_VALUE = 3;
/**
* <pre>
* Initiates on Mouse-Over with Sound On.
* </pre>
*
* <code>MOUSE_OVER = 4;</code>
*/
public static final int MOUSE_OVER_VALUE = 4;
/**
* <pre>
* Initiates on Entering Viewport with Sound On.
* </pre>
*
* <code>ENTER_SOUND_ON = 5;</code>
*/
public static final int ENTER_SOUND_ON_VALUE = 5;
/**
* <pre>
* Initiates on Entering Viewport with Sound Off by Default.
* </pre>
*
* <code>ENTER_SOUND_OFF = 6;</code>
*/
public static final int ENTER_SOUND_OFF_VALUE = 6;
/**
* <pre>
* Media playback is set to play additional media automatically without
* user interaction. The media player will keep playing additional media
* (playlist or generated) for the user until the user actively stops this
* from happening.
* </pre>
*
* <code>CONTINUOUS = 7;</code>
*/
public static final int CONTINUOUS_VALUE = 7;
@java.lang.Override
public final int getNumber() {
return value;
}
/**
* @param value The number of the enum to look for.
* @return The enum associated with the given number.
* @deprecated Use {@link #forNumber(int)} instead.
*/
@java.lang.Deprecated
public static PlaybackMethod valueOf(int value) {
return forNumber(value);
}
public static PlaybackMethod forNumber(int value) {
switch (value) {
case 1: return AUTO_PLAY_SOUND_ON;
case 2: return AUTO_PLAY_SOUND_OFF;
case 3: return CLICK_TO_PLAY;
case 4: return MOUSE_OVER;
case 5: return ENTER_SOUND_ON;
case 6: return ENTER_SOUND_OFF;
case 7: return CONTINUOUS;
default: return null;
}
}
public static com.google.protobuf.Internal.EnumLiteMap<PlaybackMethod>
internalGetValueMap() {
return internalValueMap;
}
private static final com.google.protobuf.Internal.EnumLiteMap<
PlaybackMethod> internalValueMap =
new com.google.protobuf.Internal.EnumLiteMap<PlaybackMethod>() {
@java.lang.Override
public PlaybackMethod findValueByNumber(int number) {
return PlaybackMethod.forNumber(number);
}
};
public static com.google.protobuf.Internal.EnumVerifier
internalGetVerifier() {
return PlaybackMethodVerifier.INSTANCE;
}
private static final class PlaybackMethodVerifier implements
com.google.protobuf.Internal.EnumVerifier {
static final com.google.protobuf.Internal.EnumVerifier INSTANCE = new PlaybackMethodVerifier();
@java.lang.Override
public boolean isInRange(int number) {
return PlaybackMethod.forNumber(number) != null;
}
};
private final int value;
private PlaybackMethod(int value) {
this.value = value;
}
// @@protoc_insertion_point(enum_scope:com.google.openrtb.PlaybackMethod)
}
|
0 | java-sources/ai/themsp/mes-android-sdk/0.15.0/main/com/particles/mes/protos | java-sources/ai/themsp/mes-android-sdk/0.15.0/main/com/particles/mes/protos/openrtb/Plcmt.java | // Generated by the protocol buffer compiler. DO NOT EDIT!
// source: openrtb/openrtb-v26.proto
package com.particles.mes.protos.openrtb;
/**
* <pre>
* Possible video placement types. See:
* https://github.com/InteractiveAdvertisingBureau/AdCOM/blob/master/AdCOM%20v1.0%20FINAL.md#list--plcmt-subtypes---video-
* </pre>
*
* Protobuf enum {@code com.google.openrtb.Plcmt}
*/
public enum Plcmt
implements com.google.protobuf.Internal.EnumLite {
/**
* <code>PLCMT_UNKNOWN = 0;</code>
*/
PLCMT_UNKNOWN(0),
/**
* <pre>
* Pre-roll, mid-roll, and post-roll ads that are played before, during or
* after the streaming video content that the consumer has requested. Instream
* video must be set to “sound on” by default at player start, or have
* explicitly clear user intent to watch the video content. While there may be
* other content surrounding the player, the video content must be the focus
* of the user’s visit. It should remain the primary content on the page and
* the only video player in-view capable of audio when playing. If the player
* converts to floating/sticky, subsequent ad calls should accurately convey
* the updated player size.
* </pre>
*
* <code>PLCMT_INSTREAM = 1;</code>
*/
PLCMT_INSTREAM(1),
/**
* <pre>
* Pre-roll, mid-roll, and post-roll ads that are played before, during, or
* after streaming video content. The video player loads and plays before,
* between, or after paragraphs of text or graphical content, and starts
* playing only when it enters the viewport. Accompanying content should only
* start playback upon entering the viewport. It may convert to a
* floating/sticky player as it scrolls off the page.
* </pre>
*
* <code>PLCMT_ACCOMPANYING_CONTENT = 2;</code>
*/
PLCMT_ACCOMPANYING_CONTENT(2),
/**
* <pre>
* Video ads that are played without video content. During playback, it must
* be the primary focus of the page and take up the majority of the viewport
* and cannot be scrolled out of view. This can be in placements like in-app
* video or slideshows.
* </pre>
*
* <code>PLCMT_INTERSTITIAL = 3;</code>
*/
PLCMT_INTERSTITIAL(3),
/**
* <pre>
* Video ads that are played without streaming video content. This can be in
* placements like slideshows, native feeds, in-content or sticky/floating.
* </pre>
*
* <code>PLCMT_NO_CONTENT_STANDALONE = 4;</code>
*/
PLCMT_NO_CONTENT_STANDALONE(4),
;
/**
* <code>PLCMT_UNKNOWN = 0;</code>
*/
public static final int PLCMT_UNKNOWN_VALUE = 0;
/**
* <pre>
* Pre-roll, mid-roll, and post-roll ads that are played before, during or
* after the streaming video content that the consumer has requested. Instream
* video must be set to “sound on” by default at player start, or have
* explicitly clear user intent to watch the video content. While there may be
* other content surrounding the player, the video content must be the focus
* of the user’s visit. It should remain the primary content on the page and
* the only video player in-view capable of audio when playing. If the player
* converts to floating/sticky, subsequent ad calls should accurately convey
* the updated player size.
* </pre>
*
* <code>PLCMT_INSTREAM = 1;</code>
*/
public static final int PLCMT_INSTREAM_VALUE = 1;
/**
* <pre>
* Pre-roll, mid-roll, and post-roll ads that are played before, during, or
* after streaming video content. The video player loads and plays before,
* between, or after paragraphs of text or graphical content, and starts
* playing only when it enters the viewport. Accompanying content should only
* start playback upon entering the viewport. It may convert to a
* floating/sticky player as it scrolls off the page.
* </pre>
*
* <code>PLCMT_ACCOMPANYING_CONTENT = 2;</code>
*/
public static final int PLCMT_ACCOMPANYING_CONTENT_VALUE = 2;
/**
* <pre>
* Video ads that are played without video content. During playback, it must
* be the primary focus of the page and take up the majority of the viewport
* and cannot be scrolled out of view. This can be in placements like in-app
* video or slideshows.
* </pre>
*
* <code>PLCMT_INTERSTITIAL = 3;</code>
*/
public static final int PLCMT_INTERSTITIAL_VALUE = 3;
/**
* <pre>
* Video ads that are played without streaming video content. This can be in
* placements like slideshows, native feeds, in-content or sticky/floating.
* </pre>
*
* <code>PLCMT_NO_CONTENT_STANDALONE = 4;</code>
*/
public static final int PLCMT_NO_CONTENT_STANDALONE_VALUE = 4;
@java.lang.Override
public final int getNumber() {
return value;
}
/**
* @param value The number of the enum to look for.
* @return The enum associated with the given number.
* @deprecated Use {@link #forNumber(int)} instead.
*/
@java.lang.Deprecated
public static Plcmt valueOf(int value) {
return forNumber(value);
}
public static Plcmt forNumber(int value) {
switch (value) {
case 0: return PLCMT_UNKNOWN;
case 1: return PLCMT_INSTREAM;
case 2: return PLCMT_ACCOMPANYING_CONTENT;
case 3: return PLCMT_INTERSTITIAL;
case 4: return PLCMT_NO_CONTENT_STANDALONE;
default: return null;
}
}
public static com.google.protobuf.Internal.EnumLiteMap<Plcmt>
internalGetValueMap() {
return internalValueMap;
}
private static final com.google.protobuf.Internal.EnumLiteMap<
Plcmt> internalValueMap =
new com.google.protobuf.Internal.EnumLiteMap<Plcmt>() {
@java.lang.Override
public Plcmt findValueByNumber(int number) {
return Plcmt.forNumber(number);
}
};
public static com.google.protobuf.Internal.EnumVerifier
internalGetVerifier() {
return PlcmtVerifier.INSTANCE;
}
private static final class PlcmtVerifier implements
com.google.protobuf.Internal.EnumVerifier {
static final com.google.protobuf.Internal.EnumVerifier INSTANCE = new PlcmtVerifier();
@java.lang.Override
public boolean isInRange(int number) {
return Plcmt.forNumber(number) != null;
}
};
private final int value;
private Plcmt(int value) {
this.value = value;
}
// @@protoc_insertion_point(enum_scope:com.google.openrtb.Plcmt)
}
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.