main.java.com.streamlayer.interactive.common.QuestionOptions Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of sl-protofiles Show documentation
Show all versions of sl-protofiles Show documentation
StreamLayer Java Protofiles
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: streamlayer/interactive/interactive.common.proto
// Protobuf Java Version: 3.25.3
package com.streamlayer.interactive.common;
/**
* Protobuf type {@code streamlayer.interactive.QuestionOptions}
*/
public final class QuestionOptions extends
com.google.protobuf.GeneratedMessageLite<
QuestionOptions, QuestionOptions.Builder> implements
// @@protoc_insertion_point(message_implements:streamlayer.interactive.QuestionOptions)
QuestionOptionsOrBuilder {
private QuestionOptions() {
}
public interface PollOptionsOrBuilder extends
// @@protoc_insertion_point(interface_extends:streamlayer.interactive.QuestionOptions.PollOptions)
com.google.protobuf.MessageLiteOrBuilder {
}
/**
* Protobuf type {@code streamlayer.interactive.QuestionOptions.PollOptions}
*/
public static final class PollOptions extends
com.google.protobuf.GeneratedMessageLite<
PollOptions, PollOptions.Builder> implements
// @@protoc_insertion_point(message_implements:streamlayer.interactive.QuestionOptions.PollOptions)
PollOptionsOrBuilder {
private PollOptions() {
}
public static com.streamlayer.interactive.common.QuestionOptions.PollOptions parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, data);
}
public static com.streamlayer.interactive.common.QuestionOptions.PollOptions 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.streamlayer.interactive.common.QuestionOptions.PollOptions parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, data);
}
public static com.streamlayer.interactive.common.QuestionOptions.PollOptions 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.streamlayer.interactive.common.QuestionOptions.PollOptions parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, data);
}
public static com.streamlayer.interactive.common.QuestionOptions.PollOptions 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.streamlayer.interactive.common.QuestionOptions.PollOptions parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, input);
}
public static com.streamlayer.interactive.common.QuestionOptions.PollOptions 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.streamlayer.interactive.common.QuestionOptions.PollOptions parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return parseDelimitedFrom(DEFAULT_INSTANCE, input);
}
public static com.streamlayer.interactive.common.QuestionOptions.PollOptions parseDelimitedFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return parseDelimitedFrom(DEFAULT_INSTANCE, input, extensionRegistry);
}
public static com.streamlayer.interactive.common.QuestionOptions.PollOptions parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, input);
}
public static com.streamlayer.interactive.common.QuestionOptions.PollOptions 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.streamlayer.interactive.common.QuestionOptions.PollOptions prototype) {
return DEFAULT_INSTANCE.createBuilder(prototype);
}
/**
* Protobuf type {@code streamlayer.interactive.QuestionOptions.PollOptions}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageLite.Builder<
com.streamlayer.interactive.common.QuestionOptions.PollOptions, Builder> implements
// @@protoc_insertion_point(builder_implements:streamlayer.interactive.QuestionOptions.PollOptions)
com.streamlayer.interactive.common.QuestionOptions.PollOptionsOrBuilder {
// Construct using com.streamlayer.interactive.common.QuestionOptions.PollOptions.newBuilder()
private Builder() {
super(DEFAULT_INSTANCE);
}
// @@protoc_insertion_point(builder_scope:streamlayer.interactive.QuestionOptions.PollOptions)
}
@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.streamlayer.interactive.common.QuestionOptions.PollOptions();
}
case NEW_BUILDER: {
return new Builder();
}
case BUILD_MESSAGE_INFO: {
java.lang.Object[] objects = null;java.lang.String info =
"\u0000\u0000";
return newMessageInfo(DEFAULT_INSTANCE, info, objects);
}
// fall through
case GET_DEFAULT_INSTANCE: {
return DEFAULT_INSTANCE;
}
case GET_PARSER: {
com.google.protobuf.Parser parser = PARSER;
if (parser == null) {
synchronized (com.streamlayer.interactive.common.QuestionOptions.PollOptions.class) {
parser = PARSER;
if (parser == null) {
parser =
new DefaultInstanceBasedParser(
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:streamlayer.interactive.QuestionOptions.PollOptions)
private static final com.streamlayer.interactive.common.QuestionOptions.PollOptions DEFAULT_INSTANCE;
static {
PollOptions defaultInstance = new PollOptions();
// New instances are implicitly immutable so no need to make
// immutable.
DEFAULT_INSTANCE = defaultInstance;
com.google.protobuf.GeneratedMessageLite.registerDefaultInstance(
PollOptions.class, defaultInstance);
}
public static com.streamlayer.interactive.common.QuestionOptions.PollOptions getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static volatile com.google.protobuf.Parser PARSER;
public static com.google.protobuf.Parser parser() {
return DEFAULT_INSTANCE.getParserForType();
}
}
public interface TriviaOptionsOrBuilder extends
// @@protoc_insertion_point(interface_extends:streamlayer.interactive.QuestionOptions.TriviaOptions)
com.google.protobuf.MessageLiteOrBuilder {
/**
* .streamlayer.interactive.AnswerFeedback correct_feedback = 1 [json_name = "correctFeedback"];
* @return Whether the correctFeedback field is set.
*/
boolean hasCorrectFeedback();
/**
* .streamlayer.interactive.AnswerFeedback correct_feedback = 1 [json_name = "correctFeedback"];
* @return The correctFeedback.
*/
com.streamlayer.interactive.common.AnswerFeedback getCorrectFeedback();
/**
* .streamlayer.interactive.AnswerFeedback incorrect_feedback = 2 [json_name = "incorrectFeedback"];
* @return Whether the incorrectFeedback field is set.
*/
boolean hasIncorrectFeedback();
/**
* .streamlayer.interactive.AnswerFeedback incorrect_feedback = 2 [json_name = "incorrectFeedback"];
* @return The incorrectFeedback.
*/
com.streamlayer.interactive.common.AnswerFeedback getIncorrectFeedback();
/**
* uint64 points = 3 [json_name = "points"];
* @return The points.
*/
long getPoints();
}
/**
* Protobuf type {@code streamlayer.interactive.QuestionOptions.TriviaOptions}
*/
public static final class TriviaOptions extends
com.google.protobuf.GeneratedMessageLite<
TriviaOptions, TriviaOptions.Builder> implements
// @@protoc_insertion_point(message_implements:streamlayer.interactive.QuestionOptions.TriviaOptions)
TriviaOptionsOrBuilder {
private TriviaOptions() {
}
private int bitField0_;
public static final int CORRECT_FEEDBACK_FIELD_NUMBER = 1;
private com.streamlayer.interactive.common.AnswerFeedback correctFeedback_;
/**
* .streamlayer.interactive.AnswerFeedback correct_feedback = 1 [json_name = "correctFeedback"];
*/
@java.lang.Override
public boolean hasCorrectFeedback() {
return ((bitField0_ & 0x00000001) != 0);
}
/**
* .streamlayer.interactive.AnswerFeedback correct_feedback = 1 [json_name = "correctFeedback"];
*/
@java.lang.Override
public com.streamlayer.interactive.common.AnswerFeedback getCorrectFeedback() {
return correctFeedback_ == null ? com.streamlayer.interactive.common.AnswerFeedback.getDefaultInstance() : correctFeedback_;
}
/**
* .streamlayer.interactive.AnswerFeedback correct_feedback = 1 [json_name = "correctFeedback"];
*/
private void setCorrectFeedback(com.streamlayer.interactive.common.AnswerFeedback value) {
value.getClass();
correctFeedback_ = value;
bitField0_ |= 0x00000001;
}
/**
* .streamlayer.interactive.AnswerFeedback correct_feedback = 1 [json_name = "correctFeedback"];
*/
@java.lang.SuppressWarnings({"ReferenceEquality"})
private void mergeCorrectFeedback(com.streamlayer.interactive.common.AnswerFeedback value) {
value.getClass();
if (correctFeedback_ != null &&
correctFeedback_ != com.streamlayer.interactive.common.AnswerFeedback.getDefaultInstance()) {
correctFeedback_ =
com.streamlayer.interactive.common.AnswerFeedback.newBuilder(correctFeedback_).mergeFrom(value).buildPartial();
} else {
correctFeedback_ = value;
}
bitField0_ |= 0x00000001;
}
/**
* .streamlayer.interactive.AnswerFeedback correct_feedback = 1 [json_name = "correctFeedback"];
*/
private void clearCorrectFeedback() { correctFeedback_ = null;
bitField0_ = (bitField0_ & ~0x00000001);
}
public static final int INCORRECT_FEEDBACK_FIELD_NUMBER = 2;
private com.streamlayer.interactive.common.AnswerFeedback incorrectFeedback_;
/**
* .streamlayer.interactive.AnswerFeedback incorrect_feedback = 2 [json_name = "incorrectFeedback"];
*/
@java.lang.Override
public boolean hasIncorrectFeedback() {
return ((bitField0_ & 0x00000002) != 0);
}
/**
* .streamlayer.interactive.AnswerFeedback incorrect_feedback = 2 [json_name = "incorrectFeedback"];
*/
@java.lang.Override
public com.streamlayer.interactive.common.AnswerFeedback getIncorrectFeedback() {
return incorrectFeedback_ == null ? com.streamlayer.interactive.common.AnswerFeedback.getDefaultInstance() : incorrectFeedback_;
}
/**
* .streamlayer.interactive.AnswerFeedback incorrect_feedback = 2 [json_name = "incorrectFeedback"];
*/
private void setIncorrectFeedback(com.streamlayer.interactive.common.AnswerFeedback value) {
value.getClass();
incorrectFeedback_ = value;
bitField0_ |= 0x00000002;
}
/**
* .streamlayer.interactive.AnswerFeedback incorrect_feedback = 2 [json_name = "incorrectFeedback"];
*/
@java.lang.SuppressWarnings({"ReferenceEquality"})
private void mergeIncorrectFeedback(com.streamlayer.interactive.common.AnswerFeedback value) {
value.getClass();
if (incorrectFeedback_ != null &&
incorrectFeedback_ != com.streamlayer.interactive.common.AnswerFeedback.getDefaultInstance()) {
incorrectFeedback_ =
com.streamlayer.interactive.common.AnswerFeedback.newBuilder(incorrectFeedback_).mergeFrom(value).buildPartial();
} else {
incorrectFeedback_ = value;
}
bitField0_ |= 0x00000002;
}
/**
* .streamlayer.interactive.AnswerFeedback incorrect_feedback = 2 [json_name = "incorrectFeedback"];
*/
private void clearIncorrectFeedback() { incorrectFeedback_ = null;
bitField0_ = (bitField0_ & ~0x00000002);
}
public static final int POINTS_FIELD_NUMBER = 3;
private long points_;
/**
* uint64 points = 3 [json_name = "points"];
* @return The points.
*/
@java.lang.Override
public long getPoints() {
return points_;
}
/**
* uint64 points = 3 [json_name = "points"];
* @param value The points to set.
*/
private void setPoints(long value) {
points_ = value;
}
/**
* uint64 points = 3 [json_name = "points"];
*/
private void clearPoints() {
points_ = 0L;
}
public static com.streamlayer.interactive.common.QuestionOptions.TriviaOptions parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, data);
}
public static com.streamlayer.interactive.common.QuestionOptions.TriviaOptions 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.streamlayer.interactive.common.QuestionOptions.TriviaOptions parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, data);
}
public static com.streamlayer.interactive.common.QuestionOptions.TriviaOptions 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.streamlayer.interactive.common.QuestionOptions.TriviaOptions parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, data);
}
public static com.streamlayer.interactive.common.QuestionOptions.TriviaOptions 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.streamlayer.interactive.common.QuestionOptions.TriviaOptions parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, input);
}
public static com.streamlayer.interactive.common.QuestionOptions.TriviaOptions 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.streamlayer.interactive.common.QuestionOptions.TriviaOptions parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return parseDelimitedFrom(DEFAULT_INSTANCE, input);
}
public static com.streamlayer.interactive.common.QuestionOptions.TriviaOptions parseDelimitedFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return parseDelimitedFrom(DEFAULT_INSTANCE, input, extensionRegistry);
}
public static com.streamlayer.interactive.common.QuestionOptions.TriviaOptions parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, input);
}
public static com.streamlayer.interactive.common.QuestionOptions.TriviaOptions 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.streamlayer.interactive.common.QuestionOptions.TriviaOptions prototype) {
return DEFAULT_INSTANCE.createBuilder(prototype);
}
/**
* Protobuf type {@code streamlayer.interactive.QuestionOptions.TriviaOptions}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageLite.Builder<
com.streamlayer.interactive.common.QuestionOptions.TriviaOptions, Builder> implements
// @@protoc_insertion_point(builder_implements:streamlayer.interactive.QuestionOptions.TriviaOptions)
com.streamlayer.interactive.common.QuestionOptions.TriviaOptionsOrBuilder {
// Construct using com.streamlayer.interactive.common.QuestionOptions.TriviaOptions.newBuilder()
private Builder() {
super(DEFAULT_INSTANCE);
}
/**
* .streamlayer.interactive.AnswerFeedback correct_feedback = 1 [json_name = "correctFeedback"];
*/
@java.lang.Override
public boolean hasCorrectFeedback() {
return instance.hasCorrectFeedback();
}
/**
* .streamlayer.interactive.AnswerFeedback correct_feedback = 1 [json_name = "correctFeedback"];
*/
@java.lang.Override
public com.streamlayer.interactive.common.AnswerFeedback getCorrectFeedback() {
return instance.getCorrectFeedback();
}
/**
* .streamlayer.interactive.AnswerFeedback correct_feedback = 1 [json_name = "correctFeedback"];
*/
public Builder setCorrectFeedback(com.streamlayer.interactive.common.AnswerFeedback value) {
copyOnWrite();
instance.setCorrectFeedback(value);
return this;
}
/**
* .streamlayer.interactive.AnswerFeedback correct_feedback = 1 [json_name = "correctFeedback"];
*/
public Builder setCorrectFeedback(
com.streamlayer.interactive.common.AnswerFeedback.Builder builderForValue) {
copyOnWrite();
instance.setCorrectFeedback(builderForValue.build());
return this;
}
/**
* .streamlayer.interactive.AnswerFeedback correct_feedback = 1 [json_name = "correctFeedback"];
*/
public Builder mergeCorrectFeedback(com.streamlayer.interactive.common.AnswerFeedback value) {
copyOnWrite();
instance.mergeCorrectFeedback(value);
return this;
}
/**
* .streamlayer.interactive.AnswerFeedback correct_feedback = 1 [json_name = "correctFeedback"];
*/
public Builder clearCorrectFeedback() { copyOnWrite();
instance.clearCorrectFeedback();
return this;
}
/**
* .streamlayer.interactive.AnswerFeedback incorrect_feedback = 2 [json_name = "incorrectFeedback"];
*/
@java.lang.Override
public boolean hasIncorrectFeedback() {
return instance.hasIncorrectFeedback();
}
/**
* .streamlayer.interactive.AnswerFeedback incorrect_feedback = 2 [json_name = "incorrectFeedback"];
*/
@java.lang.Override
public com.streamlayer.interactive.common.AnswerFeedback getIncorrectFeedback() {
return instance.getIncorrectFeedback();
}
/**
* .streamlayer.interactive.AnswerFeedback incorrect_feedback = 2 [json_name = "incorrectFeedback"];
*/
public Builder setIncorrectFeedback(com.streamlayer.interactive.common.AnswerFeedback value) {
copyOnWrite();
instance.setIncorrectFeedback(value);
return this;
}
/**
* .streamlayer.interactive.AnswerFeedback incorrect_feedback = 2 [json_name = "incorrectFeedback"];
*/
public Builder setIncorrectFeedback(
com.streamlayer.interactive.common.AnswerFeedback.Builder builderForValue) {
copyOnWrite();
instance.setIncorrectFeedback(builderForValue.build());
return this;
}
/**
* .streamlayer.interactive.AnswerFeedback incorrect_feedback = 2 [json_name = "incorrectFeedback"];
*/
public Builder mergeIncorrectFeedback(com.streamlayer.interactive.common.AnswerFeedback value) {
copyOnWrite();
instance.mergeIncorrectFeedback(value);
return this;
}
/**
* .streamlayer.interactive.AnswerFeedback incorrect_feedback = 2 [json_name = "incorrectFeedback"];
*/
public Builder clearIncorrectFeedback() { copyOnWrite();
instance.clearIncorrectFeedback();
return this;
}
/**
* uint64 points = 3 [json_name = "points"];
* @return The points.
*/
@java.lang.Override
public long getPoints() {
return instance.getPoints();
}
/**
* uint64 points = 3 [json_name = "points"];
* @param value The points to set.
* @return This builder for chaining.
*/
public Builder setPoints(long value) {
copyOnWrite();
instance.setPoints(value);
return this;
}
/**
* uint64 points = 3 [json_name = "points"];
* @return This builder for chaining.
*/
public Builder clearPoints() {
copyOnWrite();
instance.clearPoints();
return this;
}
// @@protoc_insertion_point(builder_scope:streamlayer.interactive.QuestionOptions.TriviaOptions)
}
@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.streamlayer.interactive.common.QuestionOptions.TriviaOptions();
}
case NEW_BUILDER: {
return new Builder();
}
case BUILD_MESSAGE_INFO: {
java.lang.Object[] objects = new java.lang.Object[] {
"bitField0_",
"correctFeedback_",
"incorrectFeedback_",
"points_",
};
java.lang.String info =
"\u0000\u0003\u0000\u0001\u0001\u0003\u0003\u0000\u0000\u0000\u0001\u1009\u0000\u0002" +
"\u1009\u0001\u0003\u0003";
return newMessageInfo(DEFAULT_INSTANCE, info, objects);
}
// fall through
case GET_DEFAULT_INSTANCE: {
return DEFAULT_INSTANCE;
}
case GET_PARSER: {
com.google.protobuf.Parser parser = PARSER;
if (parser == null) {
synchronized (com.streamlayer.interactive.common.QuestionOptions.TriviaOptions.class) {
parser = PARSER;
if (parser == null) {
parser =
new DefaultInstanceBasedParser(
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:streamlayer.interactive.QuestionOptions.TriviaOptions)
private static final com.streamlayer.interactive.common.QuestionOptions.TriviaOptions DEFAULT_INSTANCE;
static {
TriviaOptions defaultInstance = new TriviaOptions();
// New instances are implicitly immutable so no need to make
// immutable.
DEFAULT_INSTANCE = defaultInstance;
com.google.protobuf.GeneratedMessageLite.registerDefaultInstance(
TriviaOptions.class, defaultInstance);
}
public static com.streamlayer.interactive.common.QuestionOptions.TriviaOptions getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static volatile com.google.protobuf.Parser PARSER;
public static com.google.protobuf.Parser parser() {
return DEFAULT_INSTANCE.getParserForType();
}
}
public interface PredictionOptionsOrBuilder extends
// @@protoc_insertion_point(interface_extends:streamlayer.interactive.QuestionOptions.PredictionOptions)
com.google.protobuf.MessageLiteOrBuilder {
/**
* .streamlayer.interactive.AnswerFeedback correct_feedback = 1 [json_name = "correctFeedback"];
* @return Whether the correctFeedback field is set.
*/
boolean hasCorrectFeedback();
/**
* .streamlayer.interactive.AnswerFeedback correct_feedback = 1 [json_name = "correctFeedback"];
* @return The correctFeedback.
*/
com.streamlayer.interactive.common.AnswerFeedback getCorrectFeedback();
/**
* .streamlayer.interactive.AnswerFeedback incorrect_feedback = 2 [json_name = "incorrectFeedback"];
* @return Whether the incorrectFeedback field is set.
*/
boolean hasIncorrectFeedback();
/**
* .streamlayer.interactive.AnswerFeedback incorrect_feedback = 2 [json_name = "incorrectFeedback"];
* @return The incorrectFeedback.
*/
com.streamlayer.interactive.common.AnswerFeedback getIncorrectFeedback();
}
/**
* Protobuf type {@code streamlayer.interactive.QuestionOptions.PredictionOptions}
*/
public static final class PredictionOptions extends
com.google.protobuf.GeneratedMessageLite<
PredictionOptions, PredictionOptions.Builder> implements
// @@protoc_insertion_point(message_implements:streamlayer.interactive.QuestionOptions.PredictionOptions)
PredictionOptionsOrBuilder {
private PredictionOptions() {
}
private int bitField0_;
public static final int CORRECT_FEEDBACK_FIELD_NUMBER = 1;
private com.streamlayer.interactive.common.AnswerFeedback correctFeedback_;
/**
* .streamlayer.interactive.AnswerFeedback correct_feedback = 1 [json_name = "correctFeedback"];
*/
@java.lang.Override
public boolean hasCorrectFeedback() {
return ((bitField0_ & 0x00000001) != 0);
}
/**
* .streamlayer.interactive.AnswerFeedback correct_feedback = 1 [json_name = "correctFeedback"];
*/
@java.lang.Override
public com.streamlayer.interactive.common.AnswerFeedback getCorrectFeedback() {
return correctFeedback_ == null ? com.streamlayer.interactive.common.AnswerFeedback.getDefaultInstance() : correctFeedback_;
}
/**
* .streamlayer.interactive.AnswerFeedback correct_feedback = 1 [json_name = "correctFeedback"];
*/
private void setCorrectFeedback(com.streamlayer.interactive.common.AnswerFeedback value) {
value.getClass();
correctFeedback_ = value;
bitField0_ |= 0x00000001;
}
/**
* .streamlayer.interactive.AnswerFeedback correct_feedback = 1 [json_name = "correctFeedback"];
*/
@java.lang.SuppressWarnings({"ReferenceEquality"})
private void mergeCorrectFeedback(com.streamlayer.interactive.common.AnswerFeedback value) {
value.getClass();
if (correctFeedback_ != null &&
correctFeedback_ != com.streamlayer.interactive.common.AnswerFeedback.getDefaultInstance()) {
correctFeedback_ =
com.streamlayer.interactive.common.AnswerFeedback.newBuilder(correctFeedback_).mergeFrom(value).buildPartial();
} else {
correctFeedback_ = value;
}
bitField0_ |= 0x00000001;
}
/**
* .streamlayer.interactive.AnswerFeedback correct_feedback = 1 [json_name = "correctFeedback"];
*/
private void clearCorrectFeedback() { correctFeedback_ = null;
bitField0_ = (bitField0_ & ~0x00000001);
}
public static final int INCORRECT_FEEDBACK_FIELD_NUMBER = 2;
private com.streamlayer.interactive.common.AnswerFeedback incorrectFeedback_;
/**
* .streamlayer.interactive.AnswerFeedback incorrect_feedback = 2 [json_name = "incorrectFeedback"];
*/
@java.lang.Override
public boolean hasIncorrectFeedback() {
return ((bitField0_ & 0x00000002) != 0);
}
/**
* .streamlayer.interactive.AnswerFeedback incorrect_feedback = 2 [json_name = "incorrectFeedback"];
*/
@java.lang.Override
public com.streamlayer.interactive.common.AnswerFeedback getIncorrectFeedback() {
return incorrectFeedback_ == null ? com.streamlayer.interactive.common.AnswerFeedback.getDefaultInstance() : incorrectFeedback_;
}
/**
* .streamlayer.interactive.AnswerFeedback incorrect_feedback = 2 [json_name = "incorrectFeedback"];
*/
private void setIncorrectFeedback(com.streamlayer.interactive.common.AnswerFeedback value) {
value.getClass();
incorrectFeedback_ = value;
bitField0_ |= 0x00000002;
}
/**
* .streamlayer.interactive.AnswerFeedback incorrect_feedback = 2 [json_name = "incorrectFeedback"];
*/
@java.lang.SuppressWarnings({"ReferenceEquality"})
private void mergeIncorrectFeedback(com.streamlayer.interactive.common.AnswerFeedback value) {
value.getClass();
if (incorrectFeedback_ != null &&
incorrectFeedback_ != com.streamlayer.interactive.common.AnswerFeedback.getDefaultInstance()) {
incorrectFeedback_ =
com.streamlayer.interactive.common.AnswerFeedback.newBuilder(incorrectFeedback_).mergeFrom(value).buildPartial();
} else {
incorrectFeedback_ = value;
}
bitField0_ |= 0x00000002;
}
/**
* .streamlayer.interactive.AnswerFeedback incorrect_feedback = 2 [json_name = "incorrectFeedback"];
*/
private void clearIncorrectFeedback() { incorrectFeedback_ = null;
bitField0_ = (bitField0_ & ~0x00000002);
}
public static com.streamlayer.interactive.common.QuestionOptions.PredictionOptions parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, data);
}
public static com.streamlayer.interactive.common.QuestionOptions.PredictionOptions 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.streamlayer.interactive.common.QuestionOptions.PredictionOptions parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, data);
}
public static com.streamlayer.interactive.common.QuestionOptions.PredictionOptions 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.streamlayer.interactive.common.QuestionOptions.PredictionOptions parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, data);
}
public static com.streamlayer.interactive.common.QuestionOptions.PredictionOptions 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.streamlayer.interactive.common.QuestionOptions.PredictionOptions parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, input);
}
public static com.streamlayer.interactive.common.QuestionOptions.PredictionOptions 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.streamlayer.interactive.common.QuestionOptions.PredictionOptions parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return parseDelimitedFrom(DEFAULT_INSTANCE, input);
}
public static com.streamlayer.interactive.common.QuestionOptions.PredictionOptions parseDelimitedFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return parseDelimitedFrom(DEFAULT_INSTANCE, input, extensionRegistry);
}
public static com.streamlayer.interactive.common.QuestionOptions.PredictionOptions parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, input);
}
public static com.streamlayer.interactive.common.QuestionOptions.PredictionOptions 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.streamlayer.interactive.common.QuestionOptions.PredictionOptions prototype) {
return DEFAULT_INSTANCE.createBuilder(prototype);
}
/**
* Protobuf type {@code streamlayer.interactive.QuestionOptions.PredictionOptions}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageLite.Builder<
com.streamlayer.interactive.common.QuestionOptions.PredictionOptions, Builder> implements
// @@protoc_insertion_point(builder_implements:streamlayer.interactive.QuestionOptions.PredictionOptions)
com.streamlayer.interactive.common.QuestionOptions.PredictionOptionsOrBuilder {
// Construct using com.streamlayer.interactive.common.QuestionOptions.PredictionOptions.newBuilder()
private Builder() {
super(DEFAULT_INSTANCE);
}
/**
* .streamlayer.interactive.AnswerFeedback correct_feedback = 1 [json_name = "correctFeedback"];
*/
@java.lang.Override
public boolean hasCorrectFeedback() {
return instance.hasCorrectFeedback();
}
/**
* .streamlayer.interactive.AnswerFeedback correct_feedback = 1 [json_name = "correctFeedback"];
*/
@java.lang.Override
public com.streamlayer.interactive.common.AnswerFeedback getCorrectFeedback() {
return instance.getCorrectFeedback();
}
/**
* .streamlayer.interactive.AnswerFeedback correct_feedback = 1 [json_name = "correctFeedback"];
*/
public Builder setCorrectFeedback(com.streamlayer.interactive.common.AnswerFeedback value) {
copyOnWrite();
instance.setCorrectFeedback(value);
return this;
}
/**
* .streamlayer.interactive.AnswerFeedback correct_feedback = 1 [json_name = "correctFeedback"];
*/
public Builder setCorrectFeedback(
com.streamlayer.interactive.common.AnswerFeedback.Builder builderForValue) {
copyOnWrite();
instance.setCorrectFeedback(builderForValue.build());
return this;
}
/**
* .streamlayer.interactive.AnswerFeedback correct_feedback = 1 [json_name = "correctFeedback"];
*/
public Builder mergeCorrectFeedback(com.streamlayer.interactive.common.AnswerFeedback value) {
copyOnWrite();
instance.mergeCorrectFeedback(value);
return this;
}
/**
* .streamlayer.interactive.AnswerFeedback correct_feedback = 1 [json_name = "correctFeedback"];
*/
public Builder clearCorrectFeedback() { copyOnWrite();
instance.clearCorrectFeedback();
return this;
}
/**
* .streamlayer.interactive.AnswerFeedback incorrect_feedback = 2 [json_name = "incorrectFeedback"];
*/
@java.lang.Override
public boolean hasIncorrectFeedback() {
return instance.hasIncorrectFeedback();
}
/**
* .streamlayer.interactive.AnswerFeedback incorrect_feedback = 2 [json_name = "incorrectFeedback"];
*/
@java.lang.Override
public com.streamlayer.interactive.common.AnswerFeedback getIncorrectFeedback() {
return instance.getIncorrectFeedback();
}
/**
* .streamlayer.interactive.AnswerFeedback incorrect_feedback = 2 [json_name = "incorrectFeedback"];
*/
public Builder setIncorrectFeedback(com.streamlayer.interactive.common.AnswerFeedback value) {
copyOnWrite();
instance.setIncorrectFeedback(value);
return this;
}
/**
* .streamlayer.interactive.AnswerFeedback incorrect_feedback = 2 [json_name = "incorrectFeedback"];
*/
public Builder setIncorrectFeedback(
com.streamlayer.interactive.common.AnswerFeedback.Builder builderForValue) {
copyOnWrite();
instance.setIncorrectFeedback(builderForValue.build());
return this;
}
/**
* .streamlayer.interactive.AnswerFeedback incorrect_feedback = 2 [json_name = "incorrectFeedback"];
*/
public Builder mergeIncorrectFeedback(com.streamlayer.interactive.common.AnswerFeedback value) {
copyOnWrite();
instance.mergeIncorrectFeedback(value);
return this;
}
/**
* .streamlayer.interactive.AnswerFeedback incorrect_feedback = 2 [json_name = "incorrectFeedback"];
*/
public Builder clearIncorrectFeedback() { copyOnWrite();
instance.clearIncorrectFeedback();
return this;
}
// @@protoc_insertion_point(builder_scope:streamlayer.interactive.QuestionOptions.PredictionOptions)
}
@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.streamlayer.interactive.common.QuestionOptions.PredictionOptions();
}
case NEW_BUILDER: {
return new Builder();
}
case BUILD_MESSAGE_INFO: {
java.lang.Object[] objects = new java.lang.Object[] {
"bitField0_",
"correctFeedback_",
"incorrectFeedback_",
};
java.lang.String info =
"\u0000\u0002\u0000\u0001\u0001\u0002\u0002\u0000\u0000\u0000\u0001\u1009\u0000\u0002" +
"\u1009\u0001";
return newMessageInfo(DEFAULT_INSTANCE, info, objects);
}
// fall through
case GET_DEFAULT_INSTANCE: {
return DEFAULT_INSTANCE;
}
case GET_PARSER: {
com.google.protobuf.Parser parser = PARSER;
if (parser == null) {
synchronized (com.streamlayer.interactive.common.QuestionOptions.PredictionOptions.class) {
parser = PARSER;
if (parser == null) {
parser =
new DefaultInstanceBasedParser(
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:streamlayer.interactive.QuestionOptions.PredictionOptions)
private static final com.streamlayer.interactive.common.QuestionOptions.PredictionOptions DEFAULT_INSTANCE;
static {
PredictionOptions defaultInstance = new PredictionOptions();
// New instances are implicitly immutable so no need to make
// immutable.
DEFAULT_INSTANCE = defaultInstance;
com.google.protobuf.GeneratedMessageLite.registerDefaultInstance(
PredictionOptions.class, defaultInstance);
}
public static com.streamlayer.interactive.common.QuestionOptions.PredictionOptions getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static volatile com.google.protobuf.Parser PARSER;
public static com.google.protobuf.Parser parser() {
return DEFAULT_INSTANCE.getParserForType();
}
}
public interface FactoidOptionsOrBuilder extends
// @@protoc_insertion_point(interface_extends:streamlayer.interactive.QuestionOptions.FactoidOptions)
com.google.protobuf.MessageLiteOrBuilder {
/**
* string image = 1 [json_name = "image"];
* @return The image.
*/
java.lang.String getImage();
/**
* string image = 1 [json_name = "image"];
* @return The bytes for image.
*/
com.google.protobuf.ByteString
getImageBytes();
/**
* string body = 2 [json_name = "body"];
* @return The body.
*/
java.lang.String getBody();
/**
* string body = 2 [json_name = "body"];
* @return The bytes for body.
*/
com.google.protobuf.ByteString
getBodyBytes();
/**
* .streamlayer.interactive.FileLink video = 3 [json_name = "video"];
* @return Whether the video field is set.
*/
boolean hasVideo();
/**
* .streamlayer.interactive.FileLink video = 3 [json_name = "video"];
* @return The video.
*/
com.streamlayer.interactive.common.FileLink getVideo();
/**
* .streamlayer.interactive.WebLink web_link = 4 [json_name = "webLink"];
* @return Whether the webLink field is set.
*/
boolean hasWebLink();
/**
* .streamlayer.interactive.WebLink web_link = 4 [json_name = "webLink"];
* @return The webLink.
*/
com.streamlayer.interactive.common.WebLink getWebLink();
/**
* .streamlayer.interactive.QuestionImages image_mode = 5 [json_name = "imageMode"];
* @return The enum numeric value on the wire for imageMode.
*/
int getImageModeValue();
/**
* .streamlayer.interactive.QuestionImages image_mode = 5 [json_name = "imageMode"];
* @return The imageMode.
*/
com.streamlayer.interactive.common.QuestionImages getImageMode();
/**
* .streamlayer.interactive.UseAsNotification use_as_notification = 6 [json_name = "useAsNotification"];
* @return The enum numeric value on the wire for useAsNotification.
*/
int getUseAsNotificationValue();
/**
* .streamlayer.interactive.UseAsNotification use_as_notification = 6 [json_name = "useAsNotification"];
* @return The useAsNotification.
*/
com.streamlayer.interactive.common.UseAsNotification getUseAsNotification();
}
/**
* Protobuf type {@code streamlayer.interactive.QuestionOptions.FactoidOptions}
*/
public static final class FactoidOptions extends
com.google.protobuf.GeneratedMessageLite<
FactoidOptions, FactoidOptions.Builder> implements
// @@protoc_insertion_point(message_implements:streamlayer.interactive.QuestionOptions.FactoidOptions)
FactoidOptionsOrBuilder {
private FactoidOptions() {
image_ = "";
body_ = "";
}
private int bitField0_;
public static final int IMAGE_FIELD_NUMBER = 1;
private java.lang.String image_;
/**
* string image = 1 [json_name = "image"];
* @return The image.
*/
@java.lang.Override
public java.lang.String getImage() {
return image_;
}
/**
* string image = 1 [json_name = "image"];
* @return The bytes for image.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getImageBytes() {
return com.google.protobuf.ByteString.copyFromUtf8(image_);
}
/**
* string image = 1 [json_name = "image"];
* @param value The image to set.
*/
private void setImage(
java.lang.String value) {
java.lang.Class> valueClass = value.getClass();
image_ = value;
}
/**
* string image = 1 [json_name = "image"];
*/
private void clearImage() {
image_ = getDefaultInstance().getImage();
}
/**
* string image = 1 [json_name = "image"];
* @param value The bytes for image to set.
*/
private void setImageBytes(
com.google.protobuf.ByteString value) {
checkByteStringIsUtf8(value);
image_ = value.toStringUtf8();
}
public static final int BODY_FIELD_NUMBER = 2;
private java.lang.String body_;
/**
* string body = 2 [json_name = "body"];
* @return The body.
*/
@java.lang.Override
public java.lang.String getBody() {
return body_;
}
/**
* string body = 2 [json_name = "body"];
* @return The bytes for body.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getBodyBytes() {
return com.google.protobuf.ByteString.copyFromUtf8(body_);
}
/**
* string body = 2 [json_name = "body"];
* @param value The body to set.
*/
private void setBody(
java.lang.String value) {
java.lang.Class> valueClass = value.getClass();
body_ = value;
}
/**
* string body = 2 [json_name = "body"];
*/
private void clearBody() {
body_ = getDefaultInstance().getBody();
}
/**
* string body = 2 [json_name = "body"];
* @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 VIDEO_FIELD_NUMBER = 3;
private com.streamlayer.interactive.common.FileLink video_;
/**
* .streamlayer.interactive.FileLink video = 3 [json_name = "video"];
*/
@java.lang.Override
public boolean hasVideo() {
return ((bitField0_ & 0x00000001) != 0);
}
/**
* .streamlayer.interactive.FileLink video = 3 [json_name = "video"];
*/
@java.lang.Override
public com.streamlayer.interactive.common.FileLink getVideo() {
return video_ == null ? com.streamlayer.interactive.common.FileLink.getDefaultInstance() : video_;
}
/**
* .streamlayer.interactive.FileLink video = 3 [json_name = "video"];
*/
private void setVideo(com.streamlayer.interactive.common.FileLink value) {
value.getClass();
video_ = value;
bitField0_ |= 0x00000001;
}
/**
* .streamlayer.interactive.FileLink video = 3 [json_name = "video"];
*/
@java.lang.SuppressWarnings({"ReferenceEquality"})
private void mergeVideo(com.streamlayer.interactive.common.FileLink value) {
value.getClass();
if (video_ != null &&
video_ != com.streamlayer.interactive.common.FileLink.getDefaultInstance()) {
video_ =
com.streamlayer.interactive.common.FileLink.newBuilder(video_).mergeFrom(value).buildPartial();
} else {
video_ = value;
}
bitField0_ |= 0x00000001;
}
/**
* .streamlayer.interactive.FileLink video = 3 [json_name = "video"];
*/
private void clearVideo() { video_ = null;
bitField0_ = (bitField0_ & ~0x00000001);
}
public static final int WEB_LINK_FIELD_NUMBER = 4;
private com.streamlayer.interactive.common.WebLink webLink_;
/**
* .streamlayer.interactive.WebLink web_link = 4 [json_name = "webLink"];
*/
@java.lang.Override
public boolean hasWebLink() {
return ((bitField0_ & 0x00000002) != 0);
}
/**
* .streamlayer.interactive.WebLink web_link = 4 [json_name = "webLink"];
*/
@java.lang.Override
public com.streamlayer.interactive.common.WebLink getWebLink() {
return webLink_ == null ? com.streamlayer.interactive.common.WebLink.getDefaultInstance() : webLink_;
}
/**
* .streamlayer.interactive.WebLink web_link = 4 [json_name = "webLink"];
*/
private void setWebLink(com.streamlayer.interactive.common.WebLink value) {
value.getClass();
webLink_ = value;
bitField0_ |= 0x00000002;
}
/**
* .streamlayer.interactive.WebLink web_link = 4 [json_name = "webLink"];
*/
@java.lang.SuppressWarnings({"ReferenceEquality"})
private void mergeWebLink(com.streamlayer.interactive.common.WebLink value) {
value.getClass();
if (webLink_ != null &&
webLink_ != com.streamlayer.interactive.common.WebLink.getDefaultInstance()) {
webLink_ =
com.streamlayer.interactive.common.WebLink.newBuilder(webLink_).mergeFrom(value).buildPartial();
} else {
webLink_ = value;
}
bitField0_ |= 0x00000002;
}
/**
* .streamlayer.interactive.WebLink web_link = 4 [json_name = "webLink"];
*/
private void clearWebLink() { webLink_ = null;
bitField0_ = (bitField0_ & ~0x00000002);
}
public static final int IMAGE_MODE_FIELD_NUMBER = 5;
private int imageMode_;
/**
* .streamlayer.interactive.QuestionImages image_mode = 5 [json_name = "imageMode"];
* @return The enum numeric value on the wire for imageMode.
*/
@java.lang.Override
public int getImageModeValue() {
return imageMode_;
}
/**
* .streamlayer.interactive.QuestionImages image_mode = 5 [json_name = "imageMode"];
* @return The imageMode.
*/
@java.lang.Override
public com.streamlayer.interactive.common.QuestionImages getImageMode() {
com.streamlayer.interactive.common.QuestionImages result = com.streamlayer.interactive.common.QuestionImages.forNumber(imageMode_);
return result == null ? com.streamlayer.interactive.common.QuestionImages.UNRECOGNIZED : result;
}
/**
* .streamlayer.interactive.QuestionImages image_mode = 5 [json_name = "imageMode"];
* @param value The enum numeric value on the wire for imageMode to set.
*/
private void setImageModeValue(int value) {
imageMode_ = value;
}
/**
* .streamlayer.interactive.QuestionImages image_mode = 5 [json_name = "imageMode"];
* @param value The imageMode to set.
*/
private void setImageMode(com.streamlayer.interactive.common.QuestionImages value) {
imageMode_ = value.getNumber();
}
/**
* .streamlayer.interactive.QuestionImages image_mode = 5 [json_name = "imageMode"];
*/
private void clearImageMode() {
imageMode_ = 0;
}
public static final int USE_AS_NOTIFICATION_FIELD_NUMBER = 6;
private int useAsNotification_;
/**
* .streamlayer.interactive.UseAsNotification use_as_notification = 6 [json_name = "useAsNotification"];
* @return The enum numeric value on the wire for useAsNotification.
*/
@java.lang.Override
public int getUseAsNotificationValue() {
return useAsNotification_;
}
/**
* .streamlayer.interactive.UseAsNotification use_as_notification = 6 [json_name = "useAsNotification"];
* @return The useAsNotification.
*/
@java.lang.Override
public com.streamlayer.interactive.common.UseAsNotification getUseAsNotification() {
com.streamlayer.interactive.common.UseAsNotification result = com.streamlayer.interactive.common.UseAsNotification.forNumber(useAsNotification_);
return result == null ? com.streamlayer.interactive.common.UseAsNotification.UNRECOGNIZED : result;
}
/**
* .streamlayer.interactive.UseAsNotification use_as_notification = 6 [json_name = "useAsNotification"];
* @param value The enum numeric value on the wire for useAsNotification to set.
*/
private void setUseAsNotificationValue(int value) {
useAsNotification_ = value;
}
/**
* .streamlayer.interactive.UseAsNotification use_as_notification = 6 [json_name = "useAsNotification"];
* @param value The useAsNotification to set.
*/
private void setUseAsNotification(com.streamlayer.interactive.common.UseAsNotification value) {
useAsNotification_ = value.getNumber();
}
/**
* .streamlayer.interactive.UseAsNotification use_as_notification = 6 [json_name = "useAsNotification"];
*/
private void clearUseAsNotification() {
useAsNotification_ = 0;
}
public static com.streamlayer.interactive.common.QuestionOptions.FactoidOptions parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, data);
}
public static com.streamlayer.interactive.common.QuestionOptions.FactoidOptions 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.streamlayer.interactive.common.QuestionOptions.FactoidOptions parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, data);
}
public static com.streamlayer.interactive.common.QuestionOptions.FactoidOptions 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.streamlayer.interactive.common.QuestionOptions.FactoidOptions parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, data);
}
public static com.streamlayer.interactive.common.QuestionOptions.FactoidOptions 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.streamlayer.interactive.common.QuestionOptions.FactoidOptions parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, input);
}
public static com.streamlayer.interactive.common.QuestionOptions.FactoidOptions 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.streamlayer.interactive.common.QuestionOptions.FactoidOptions parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return parseDelimitedFrom(DEFAULT_INSTANCE, input);
}
public static com.streamlayer.interactive.common.QuestionOptions.FactoidOptions parseDelimitedFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return parseDelimitedFrom(DEFAULT_INSTANCE, input, extensionRegistry);
}
public static com.streamlayer.interactive.common.QuestionOptions.FactoidOptions parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, input);
}
public static com.streamlayer.interactive.common.QuestionOptions.FactoidOptions 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.streamlayer.interactive.common.QuestionOptions.FactoidOptions prototype) {
return DEFAULT_INSTANCE.createBuilder(prototype);
}
/**
* Protobuf type {@code streamlayer.interactive.QuestionOptions.FactoidOptions}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageLite.Builder<
com.streamlayer.interactive.common.QuestionOptions.FactoidOptions, Builder> implements
// @@protoc_insertion_point(builder_implements:streamlayer.interactive.QuestionOptions.FactoidOptions)
com.streamlayer.interactive.common.QuestionOptions.FactoidOptionsOrBuilder {
// Construct using com.streamlayer.interactive.common.QuestionOptions.FactoidOptions.newBuilder()
private Builder() {
super(DEFAULT_INSTANCE);
}
/**
* string image = 1 [json_name = "image"];
* @return The image.
*/
@java.lang.Override
public java.lang.String getImage() {
return instance.getImage();
}
/**
* string image = 1 [json_name = "image"];
* @return The bytes for image.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getImageBytes() {
return instance.getImageBytes();
}
/**
* string image = 1 [json_name = "image"];
* @param value The image to set.
* @return This builder for chaining.
*/
public Builder setImage(
java.lang.String value) {
copyOnWrite();
instance.setImage(value);
return this;
}
/**
* string image = 1 [json_name = "image"];
* @return This builder for chaining.
*/
public Builder clearImage() {
copyOnWrite();
instance.clearImage();
return this;
}
/**
* string image = 1 [json_name = "image"];
* @param value The bytes for image to set.
* @return This builder for chaining.
*/
public Builder setImageBytes(
com.google.protobuf.ByteString value) {
copyOnWrite();
instance.setImageBytes(value);
return this;
}
/**
* string body = 2 [json_name = "body"];
* @return The body.
*/
@java.lang.Override
public java.lang.String getBody() {
return instance.getBody();
}
/**
* string body = 2 [json_name = "body"];
* @return The bytes for body.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getBodyBytes() {
return instance.getBodyBytes();
}
/**
* string body = 2 [json_name = "body"];
* @param value The body to set.
* @return This builder for chaining.
*/
public Builder setBody(
java.lang.String value) {
copyOnWrite();
instance.setBody(value);
return this;
}
/**
* string body = 2 [json_name = "body"];
* @return This builder for chaining.
*/
public Builder clearBody() {
copyOnWrite();
instance.clearBody();
return this;
}
/**
* string body = 2 [json_name = "body"];
* @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;
}
/**
* .streamlayer.interactive.FileLink video = 3 [json_name = "video"];
*/
@java.lang.Override
public boolean hasVideo() {
return instance.hasVideo();
}
/**
* .streamlayer.interactive.FileLink video = 3 [json_name = "video"];
*/
@java.lang.Override
public com.streamlayer.interactive.common.FileLink getVideo() {
return instance.getVideo();
}
/**
* .streamlayer.interactive.FileLink video = 3 [json_name = "video"];
*/
public Builder setVideo(com.streamlayer.interactive.common.FileLink value) {
copyOnWrite();
instance.setVideo(value);
return this;
}
/**
* .streamlayer.interactive.FileLink video = 3 [json_name = "video"];
*/
public Builder setVideo(
com.streamlayer.interactive.common.FileLink.Builder builderForValue) {
copyOnWrite();
instance.setVideo(builderForValue.build());
return this;
}
/**
* .streamlayer.interactive.FileLink video = 3 [json_name = "video"];
*/
public Builder mergeVideo(com.streamlayer.interactive.common.FileLink value) {
copyOnWrite();
instance.mergeVideo(value);
return this;
}
/**
* .streamlayer.interactive.FileLink video = 3 [json_name = "video"];
*/
public Builder clearVideo() { copyOnWrite();
instance.clearVideo();
return this;
}
/**
* .streamlayer.interactive.WebLink web_link = 4 [json_name = "webLink"];
*/
@java.lang.Override
public boolean hasWebLink() {
return instance.hasWebLink();
}
/**
* .streamlayer.interactive.WebLink web_link = 4 [json_name = "webLink"];
*/
@java.lang.Override
public com.streamlayer.interactive.common.WebLink getWebLink() {
return instance.getWebLink();
}
/**
* .streamlayer.interactive.WebLink web_link = 4 [json_name = "webLink"];
*/
public Builder setWebLink(com.streamlayer.interactive.common.WebLink value) {
copyOnWrite();
instance.setWebLink(value);
return this;
}
/**
* .streamlayer.interactive.WebLink web_link = 4 [json_name = "webLink"];
*/
public Builder setWebLink(
com.streamlayer.interactive.common.WebLink.Builder builderForValue) {
copyOnWrite();
instance.setWebLink(builderForValue.build());
return this;
}
/**
* .streamlayer.interactive.WebLink web_link = 4 [json_name = "webLink"];
*/
public Builder mergeWebLink(com.streamlayer.interactive.common.WebLink value) {
copyOnWrite();
instance.mergeWebLink(value);
return this;
}
/**
* .streamlayer.interactive.WebLink web_link = 4 [json_name = "webLink"];
*/
public Builder clearWebLink() { copyOnWrite();
instance.clearWebLink();
return this;
}
/**
* .streamlayer.interactive.QuestionImages image_mode = 5 [json_name = "imageMode"];
* @return The enum numeric value on the wire for imageMode.
*/
@java.lang.Override
public int getImageModeValue() {
return instance.getImageModeValue();
}
/**
* .streamlayer.interactive.QuestionImages image_mode = 5 [json_name = "imageMode"];
* @param value The imageMode to set.
* @return This builder for chaining.
*/
public Builder setImageModeValue(int value) {
copyOnWrite();
instance.setImageModeValue(value);
return this;
}
/**
* .streamlayer.interactive.QuestionImages image_mode = 5 [json_name = "imageMode"];
* @return The imageMode.
*/
@java.lang.Override
public com.streamlayer.interactive.common.QuestionImages getImageMode() {
return instance.getImageMode();
}
/**
* .streamlayer.interactive.QuestionImages image_mode = 5 [json_name = "imageMode"];
* @param value The enum numeric value on the wire for imageMode to set.
* @return This builder for chaining.
*/
public Builder setImageMode(com.streamlayer.interactive.common.QuestionImages value) {
copyOnWrite();
instance.setImageMode(value);
return this;
}
/**
* .streamlayer.interactive.QuestionImages image_mode = 5 [json_name = "imageMode"];
* @return This builder for chaining.
*/
public Builder clearImageMode() {
copyOnWrite();
instance.clearImageMode();
return this;
}
/**
* .streamlayer.interactive.UseAsNotification use_as_notification = 6 [json_name = "useAsNotification"];
* @return The enum numeric value on the wire for useAsNotification.
*/
@java.lang.Override
public int getUseAsNotificationValue() {
return instance.getUseAsNotificationValue();
}
/**
* .streamlayer.interactive.UseAsNotification use_as_notification = 6 [json_name = "useAsNotification"];
* @param value The useAsNotification to set.
* @return This builder for chaining.
*/
public Builder setUseAsNotificationValue(int value) {
copyOnWrite();
instance.setUseAsNotificationValue(value);
return this;
}
/**
* .streamlayer.interactive.UseAsNotification use_as_notification = 6 [json_name = "useAsNotification"];
* @return The useAsNotification.
*/
@java.lang.Override
public com.streamlayer.interactive.common.UseAsNotification getUseAsNotification() {
return instance.getUseAsNotification();
}
/**
* .streamlayer.interactive.UseAsNotification use_as_notification = 6 [json_name = "useAsNotification"];
* @param value The enum numeric value on the wire for useAsNotification to set.
* @return This builder for chaining.
*/
public Builder setUseAsNotification(com.streamlayer.interactive.common.UseAsNotification value) {
copyOnWrite();
instance.setUseAsNotification(value);
return this;
}
/**
* .streamlayer.interactive.UseAsNotification use_as_notification = 6 [json_name = "useAsNotification"];
* @return This builder for chaining.
*/
public Builder clearUseAsNotification() {
copyOnWrite();
instance.clearUseAsNotification();
return this;
}
// @@protoc_insertion_point(builder_scope:streamlayer.interactive.QuestionOptions.FactoidOptions)
}
@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.streamlayer.interactive.common.QuestionOptions.FactoidOptions();
}
case NEW_BUILDER: {
return new Builder();
}
case BUILD_MESSAGE_INFO: {
java.lang.Object[] objects = new java.lang.Object[] {
"bitField0_",
"image_",
"body_",
"video_",
"webLink_",
"imageMode_",
"useAsNotification_",
};
java.lang.String info =
"\u0000\u0006\u0000\u0001\u0001\u0006\u0006\u0000\u0000\u0000\u0001\u0208\u0002\u0208" +
"\u0003\u1009\u0000\u0004\u1009\u0001\u0005\f\u0006\f";
return newMessageInfo(DEFAULT_INSTANCE, info, objects);
}
// fall through
case GET_DEFAULT_INSTANCE: {
return DEFAULT_INSTANCE;
}
case GET_PARSER: {
com.google.protobuf.Parser parser = PARSER;
if (parser == null) {
synchronized (com.streamlayer.interactive.common.QuestionOptions.FactoidOptions.class) {
parser = PARSER;
if (parser == null) {
parser =
new DefaultInstanceBasedParser(
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:streamlayer.interactive.QuestionOptions.FactoidOptions)
private static final com.streamlayer.interactive.common.QuestionOptions.FactoidOptions DEFAULT_INSTANCE;
static {
FactoidOptions defaultInstance = new FactoidOptions();
// New instances are implicitly immutable so no need to make
// immutable.
DEFAULT_INSTANCE = defaultInstance;
com.google.protobuf.GeneratedMessageLite.registerDefaultInstance(
FactoidOptions.class, defaultInstance);
}
public static com.streamlayer.interactive.common.QuestionOptions.FactoidOptions getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static volatile com.google.protobuf.Parser PARSER;
public static com.google.protobuf.Parser parser() {
return DEFAULT_INSTANCE.getParserForType();
}
}
public interface TweetOptionsOrBuilder extends
// @@protoc_insertion_point(interface_extends:streamlayer.interactive.QuestionOptions.TweetOptions)
com.google.protobuf.MessageLiteOrBuilder {
/**
* string tweet_url = 1 [json_name = "tweetUrl"];
* @return The tweetUrl.
*/
java.lang.String getTweetUrl();
/**
* string tweet_url = 1 [json_name = "tweetUrl"];
* @return The bytes for tweetUrl.
*/
com.google.protobuf.ByteString
getTweetUrlBytes();
/**
* string tweet_id = 2 [json_name = "tweetId"];
* @return The tweetId.
*/
java.lang.String getTweetId();
/**
* string tweet_id = 2 [json_name = "tweetId"];
* @return The bytes for tweetId.
*/
com.google.protobuf.ByteString
getTweetIdBytes();
/**
* .streamlayer.interactive.QuestionOptions.TweetOptions.TweetMetadata tweet_meta = 3 [json_name = "tweetMeta"];
* @return Whether the tweetMeta field is set.
*/
boolean hasTweetMeta();
/**
* .streamlayer.interactive.QuestionOptions.TweetOptions.TweetMetadata tweet_meta = 3 [json_name = "tweetMeta"];
* @return The tweetMeta.
*/
com.streamlayer.interactive.common.QuestionOptions.TweetOptions.TweetMetadata getTweetMeta();
}
/**
* Protobuf type {@code streamlayer.interactive.QuestionOptions.TweetOptions}
*/
public static final class TweetOptions extends
com.google.protobuf.GeneratedMessageLite<
TweetOptions, TweetOptions.Builder> implements
// @@protoc_insertion_point(message_implements:streamlayer.interactive.QuestionOptions.TweetOptions)
TweetOptionsOrBuilder {
private TweetOptions() {
tweetUrl_ = "";
tweetId_ = "";
}
public interface TweetMetadataOrBuilder extends
// @@protoc_insertion_point(interface_extends:streamlayer.interactive.QuestionOptions.TweetOptions.TweetMetadata)
com.google.protobuf.MessageLiteOrBuilder {
/**
* string account = 1 [json_name = "account"];
* @return The account.
*/
java.lang.String getAccount();
/**
* string account = 1 [json_name = "account"];
* @return The bytes for account.
*/
com.google.protobuf.ByteString
getAccountBytes();
/**
* bool account_verified = 2 [json_name = "accountVerified"];
* @return The accountVerified.
*/
boolean getAccountVerified();
/**
* bool has_media = 3 [json_name = "hasMedia"];
* @return The hasMedia.
*/
boolean getHasMedia();
/**
* .streamlayer.social.Tweet tweet = 4 [json_name = "tweet"];
* @return Whether the tweet field is set.
*/
boolean hasTweet();
/**
* .streamlayer.social.Tweet tweet = 4 [json_name = "tweet"];
* @return The tweet.
*/
com.streamlayer.social.Tweet getTweet();
}
/**
* Protobuf type {@code streamlayer.interactive.QuestionOptions.TweetOptions.TweetMetadata}
*/
public static final class TweetMetadata extends
com.google.protobuf.GeneratedMessageLite<
TweetMetadata, TweetMetadata.Builder> implements
// @@protoc_insertion_point(message_implements:streamlayer.interactive.QuestionOptions.TweetOptions.TweetMetadata)
TweetMetadataOrBuilder {
private TweetMetadata() {
account_ = "";
}
private int bitField0_;
public static final int ACCOUNT_FIELD_NUMBER = 1;
private java.lang.String account_;
/**
* string account = 1 [json_name = "account"];
* @return The account.
*/
@java.lang.Override
public java.lang.String getAccount() {
return account_;
}
/**
* string account = 1 [json_name = "account"];
* @return The bytes for account.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getAccountBytes() {
return com.google.protobuf.ByteString.copyFromUtf8(account_);
}
/**
* string account = 1 [json_name = "account"];
* @param value The account to set.
*/
private void setAccount(
java.lang.String value) {
java.lang.Class> valueClass = value.getClass();
account_ = value;
}
/**
* string account = 1 [json_name = "account"];
*/
private void clearAccount() {
account_ = getDefaultInstance().getAccount();
}
/**
* string account = 1 [json_name = "account"];
* @param value The bytes for account to set.
*/
private void setAccountBytes(
com.google.protobuf.ByteString value) {
checkByteStringIsUtf8(value);
account_ = value.toStringUtf8();
}
public static final int ACCOUNT_VERIFIED_FIELD_NUMBER = 2;
private boolean accountVerified_;
/**
* bool account_verified = 2 [json_name = "accountVerified"];
* @return The accountVerified.
*/
@java.lang.Override
public boolean getAccountVerified() {
return accountVerified_;
}
/**
* bool account_verified = 2 [json_name = "accountVerified"];
* @param value The accountVerified to set.
*/
private void setAccountVerified(boolean value) {
accountVerified_ = value;
}
/**
* bool account_verified = 2 [json_name = "accountVerified"];
*/
private void clearAccountVerified() {
accountVerified_ = false;
}
public static final int HAS_MEDIA_FIELD_NUMBER = 3;
private boolean hasMedia_;
/**
* bool has_media = 3 [json_name = "hasMedia"];
* @return The hasMedia.
*/
@java.lang.Override
public boolean getHasMedia() {
return hasMedia_;
}
/**
* bool has_media = 3 [json_name = "hasMedia"];
* @param value The hasMedia to set.
*/
private void setHasMedia(boolean value) {
hasMedia_ = value;
}
/**
* bool has_media = 3 [json_name = "hasMedia"];
*/
private void clearHasMedia() {
hasMedia_ = false;
}
public static final int TWEET_FIELD_NUMBER = 4;
private com.streamlayer.social.Tweet tweet_;
/**
* .streamlayer.social.Tweet tweet = 4 [json_name = "tweet"];
*/
@java.lang.Override
public boolean hasTweet() {
return ((bitField0_ & 0x00000001) != 0);
}
/**
* .streamlayer.social.Tweet tweet = 4 [json_name = "tweet"];
*/
@java.lang.Override
public com.streamlayer.social.Tweet getTweet() {
return tweet_ == null ? com.streamlayer.social.Tweet.getDefaultInstance() : tweet_;
}
/**
* .streamlayer.social.Tweet tweet = 4 [json_name = "tweet"];
*/
private void setTweet(com.streamlayer.social.Tweet value) {
value.getClass();
tweet_ = value;
bitField0_ |= 0x00000001;
}
/**
* .streamlayer.social.Tweet tweet = 4 [json_name = "tweet"];
*/
@java.lang.SuppressWarnings({"ReferenceEquality"})
private void mergeTweet(com.streamlayer.social.Tweet value) {
value.getClass();
if (tweet_ != null &&
tweet_ != com.streamlayer.social.Tweet.getDefaultInstance()) {
tweet_ =
com.streamlayer.social.Tweet.newBuilder(tweet_).mergeFrom(value).buildPartial();
} else {
tweet_ = value;
}
bitField0_ |= 0x00000001;
}
/**
* .streamlayer.social.Tweet tweet = 4 [json_name = "tweet"];
*/
private void clearTweet() { tweet_ = null;
bitField0_ = (bitField0_ & ~0x00000001);
}
public static com.streamlayer.interactive.common.QuestionOptions.TweetOptions.TweetMetadata parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, data);
}
public static com.streamlayer.interactive.common.QuestionOptions.TweetOptions.TweetMetadata 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.streamlayer.interactive.common.QuestionOptions.TweetOptions.TweetMetadata parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, data);
}
public static com.streamlayer.interactive.common.QuestionOptions.TweetOptions.TweetMetadata 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.streamlayer.interactive.common.QuestionOptions.TweetOptions.TweetMetadata parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, data);
}
public static com.streamlayer.interactive.common.QuestionOptions.TweetOptions.TweetMetadata 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.streamlayer.interactive.common.QuestionOptions.TweetOptions.TweetMetadata parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, input);
}
public static com.streamlayer.interactive.common.QuestionOptions.TweetOptions.TweetMetadata 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.streamlayer.interactive.common.QuestionOptions.TweetOptions.TweetMetadata parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return parseDelimitedFrom(DEFAULT_INSTANCE, input);
}
public static com.streamlayer.interactive.common.QuestionOptions.TweetOptions.TweetMetadata parseDelimitedFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return parseDelimitedFrom(DEFAULT_INSTANCE, input, extensionRegistry);
}
public static com.streamlayer.interactive.common.QuestionOptions.TweetOptions.TweetMetadata parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, input);
}
public static com.streamlayer.interactive.common.QuestionOptions.TweetOptions.TweetMetadata 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.streamlayer.interactive.common.QuestionOptions.TweetOptions.TweetMetadata prototype) {
return DEFAULT_INSTANCE.createBuilder(prototype);
}
/**
* Protobuf type {@code streamlayer.interactive.QuestionOptions.TweetOptions.TweetMetadata}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageLite.Builder<
com.streamlayer.interactive.common.QuestionOptions.TweetOptions.TweetMetadata, Builder> implements
// @@protoc_insertion_point(builder_implements:streamlayer.interactive.QuestionOptions.TweetOptions.TweetMetadata)
com.streamlayer.interactive.common.QuestionOptions.TweetOptions.TweetMetadataOrBuilder {
// Construct using com.streamlayer.interactive.common.QuestionOptions.TweetOptions.TweetMetadata.newBuilder()
private Builder() {
super(DEFAULT_INSTANCE);
}
/**
* string account = 1 [json_name = "account"];
* @return The account.
*/
@java.lang.Override
public java.lang.String getAccount() {
return instance.getAccount();
}
/**
* string account = 1 [json_name = "account"];
* @return The bytes for account.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getAccountBytes() {
return instance.getAccountBytes();
}
/**
* string account = 1 [json_name = "account"];
* @param value The account to set.
* @return This builder for chaining.
*/
public Builder setAccount(
java.lang.String value) {
copyOnWrite();
instance.setAccount(value);
return this;
}
/**
* string account = 1 [json_name = "account"];
* @return This builder for chaining.
*/
public Builder clearAccount() {
copyOnWrite();
instance.clearAccount();
return this;
}
/**
* string account = 1 [json_name = "account"];
* @param value The bytes for account to set.
* @return This builder for chaining.
*/
public Builder setAccountBytes(
com.google.protobuf.ByteString value) {
copyOnWrite();
instance.setAccountBytes(value);
return this;
}
/**
* bool account_verified = 2 [json_name = "accountVerified"];
* @return The accountVerified.
*/
@java.lang.Override
public boolean getAccountVerified() {
return instance.getAccountVerified();
}
/**
* bool account_verified = 2 [json_name = "accountVerified"];
* @param value The accountVerified to set.
* @return This builder for chaining.
*/
public Builder setAccountVerified(boolean value) {
copyOnWrite();
instance.setAccountVerified(value);
return this;
}
/**
* bool account_verified = 2 [json_name = "accountVerified"];
* @return This builder for chaining.
*/
public Builder clearAccountVerified() {
copyOnWrite();
instance.clearAccountVerified();
return this;
}
/**
* bool has_media = 3 [json_name = "hasMedia"];
* @return The hasMedia.
*/
@java.lang.Override
public boolean getHasMedia() {
return instance.getHasMedia();
}
/**
* bool has_media = 3 [json_name = "hasMedia"];
* @param value The hasMedia to set.
* @return This builder for chaining.
*/
public Builder setHasMedia(boolean value) {
copyOnWrite();
instance.setHasMedia(value);
return this;
}
/**
* bool has_media = 3 [json_name = "hasMedia"];
* @return This builder for chaining.
*/
public Builder clearHasMedia() {
copyOnWrite();
instance.clearHasMedia();
return this;
}
/**
* .streamlayer.social.Tweet tweet = 4 [json_name = "tweet"];
*/
@java.lang.Override
public boolean hasTweet() {
return instance.hasTweet();
}
/**
* .streamlayer.social.Tweet tweet = 4 [json_name = "tweet"];
*/
@java.lang.Override
public com.streamlayer.social.Tweet getTweet() {
return instance.getTweet();
}
/**
* .streamlayer.social.Tweet tweet = 4 [json_name = "tweet"];
*/
public Builder setTweet(com.streamlayer.social.Tweet value) {
copyOnWrite();
instance.setTweet(value);
return this;
}
/**
* .streamlayer.social.Tweet tweet = 4 [json_name = "tweet"];
*/
public Builder setTweet(
com.streamlayer.social.Tweet.Builder builderForValue) {
copyOnWrite();
instance.setTweet(builderForValue.build());
return this;
}
/**
* .streamlayer.social.Tweet tweet = 4 [json_name = "tweet"];
*/
public Builder mergeTweet(com.streamlayer.social.Tweet value) {
copyOnWrite();
instance.mergeTweet(value);
return this;
}
/**
* .streamlayer.social.Tweet tweet = 4 [json_name = "tweet"];
*/
public Builder clearTweet() { copyOnWrite();
instance.clearTweet();
return this;
}
// @@protoc_insertion_point(builder_scope:streamlayer.interactive.QuestionOptions.TweetOptions.TweetMetadata)
}
@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.streamlayer.interactive.common.QuestionOptions.TweetOptions.TweetMetadata();
}
case NEW_BUILDER: {
return new Builder();
}
case BUILD_MESSAGE_INFO: {
java.lang.Object[] objects = new java.lang.Object[] {
"bitField0_",
"account_",
"accountVerified_",
"hasMedia_",
"tweet_",
};
java.lang.String info =
"\u0000\u0004\u0000\u0001\u0001\u0004\u0004\u0000\u0000\u0000\u0001\u0208\u0002\u0007" +
"\u0003\u0007\u0004\u1009\u0000";
return newMessageInfo(DEFAULT_INSTANCE, info, objects);
}
// fall through
case GET_DEFAULT_INSTANCE: {
return DEFAULT_INSTANCE;
}
case GET_PARSER: {
com.google.protobuf.Parser parser = PARSER;
if (parser == null) {
synchronized (com.streamlayer.interactive.common.QuestionOptions.TweetOptions.TweetMetadata.class) {
parser = PARSER;
if (parser == null) {
parser =
new DefaultInstanceBasedParser(
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:streamlayer.interactive.QuestionOptions.TweetOptions.TweetMetadata)
private static final com.streamlayer.interactive.common.QuestionOptions.TweetOptions.TweetMetadata DEFAULT_INSTANCE;
static {
TweetMetadata defaultInstance = new TweetMetadata();
// New instances are implicitly immutable so no need to make
// immutable.
DEFAULT_INSTANCE = defaultInstance;
com.google.protobuf.GeneratedMessageLite.registerDefaultInstance(
TweetMetadata.class, defaultInstance);
}
public static com.streamlayer.interactive.common.QuestionOptions.TweetOptions.TweetMetadata getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static volatile com.google.protobuf.Parser PARSER;
public static com.google.protobuf.Parser parser() {
return DEFAULT_INSTANCE.getParserForType();
}
}
private int bitField0_;
public static final int TWEET_URL_FIELD_NUMBER = 1;
private java.lang.String tweetUrl_;
/**
* string tweet_url = 1 [json_name = "tweetUrl"];
* @return The tweetUrl.
*/
@java.lang.Override
public java.lang.String getTweetUrl() {
return tweetUrl_;
}
/**
* string tweet_url = 1 [json_name = "tweetUrl"];
* @return The bytes for tweetUrl.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getTweetUrlBytes() {
return com.google.protobuf.ByteString.copyFromUtf8(tweetUrl_);
}
/**
* string tweet_url = 1 [json_name = "tweetUrl"];
* @param value The tweetUrl to set.
*/
private void setTweetUrl(
java.lang.String value) {
java.lang.Class> valueClass = value.getClass();
tweetUrl_ = value;
}
/**
* string tweet_url = 1 [json_name = "tweetUrl"];
*/
private void clearTweetUrl() {
tweetUrl_ = getDefaultInstance().getTweetUrl();
}
/**
* string tweet_url = 1 [json_name = "tweetUrl"];
* @param value The bytes for tweetUrl to set.
*/
private void setTweetUrlBytes(
com.google.protobuf.ByteString value) {
checkByteStringIsUtf8(value);
tweetUrl_ = value.toStringUtf8();
}
public static final int TWEET_ID_FIELD_NUMBER = 2;
private java.lang.String tweetId_;
/**
* string tweet_id = 2 [json_name = "tweetId"];
* @return The tweetId.
*/
@java.lang.Override
public java.lang.String getTweetId() {
return tweetId_;
}
/**
* string tweet_id = 2 [json_name = "tweetId"];
* @return The bytes for tweetId.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getTweetIdBytes() {
return com.google.protobuf.ByteString.copyFromUtf8(tweetId_);
}
/**
* string tweet_id = 2 [json_name = "tweetId"];
* @param value The tweetId to set.
*/
private void setTweetId(
java.lang.String value) {
java.lang.Class> valueClass = value.getClass();
tweetId_ = value;
}
/**
* string tweet_id = 2 [json_name = "tweetId"];
*/
private void clearTweetId() {
tweetId_ = getDefaultInstance().getTweetId();
}
/**
* string tweet_id = 2 [json_name = "tweetId"];
* @param value The bytes for tweetId to set.
*/
private void setTweetIdBytes(
com.google.protobuf.ByteString value) {
checkByteStringIsUtf8(value);
tweetId_ = value.toStringUtf8();
}
public static final int TWEET_META_FIELD_NUMBER = 3;
private com.streamlayer.interactive.common.QuestionOptions.TweetOptions.TweetMetadata tweetMeta_;
/**
* .streamlayer.interactive.QuestionOptions.TweetOptions.TweetMetadata tweet_meta = 3 [json_name = "tweetMeta"];
*/
@java.lang.Override
public boolean hasTweetMeta() {
return ((bitField0_ & 0x00000001) != 0);
}
/**
* .streamlayer.interactive.QuestionOptions.TweetOptions.TweetMetadata tweet_meta = 3 [json_name = "tweetMeta"];
*/
@java.lang.Override
public com.streamlayer.interactive.common.QuestionOptions.TweetOptions.TweetMetadata getTweetMeta() {
return tweetMeta_ == null ? com.streamlayer.interactive.common.QuestionOptions.TweetOptions.TweetMetadata.getDefaultInstance() : tweetMeta_;
}
/**
* .streamlayer.interactive.QuestionOptions.TweetOptions.TweetMetadata tweet_meta = 3 [json_name = "tweetMeta"];
*/
private void setTweetMeta(com.streamlayer.interactive.common.QuestionOptions.TweetOptions.TweetMetadata value) {
value.getClass();
tweetMeta_ = value;
bitField0_ |= 0x00000001;
}
/**
* .streamlayer.interactive.QuestionOptions.TweetOptions.TweetMetadata tweet_meta = 3 [json_name = "tweetMeta"];
*/
@java.lang.SuppressWarnings({"ReferenceEquality"})
private void mergeTweetMeta(com.streamlayer.interactive.common.QuestionOptions.TweetOptions.TweetMetadata value) {
value.getClass();
if (tweetMeta_ != null &&
tweetMeta_ != com.streamlayer.interactive.common.QuestionOptions.TweetOptions.TweetMetadata.getDefaultInstance()) {
tweetMeta_ =
com.streamlayer.interactive.common.QuestionOptions.TweetOptions.TweetMetadata.newBuilder(tweetMeta_).mergeFrom(value).buildPartial();
} else {
tweetMeta_ = value;
}
bitField0_ |= 0x00000001;
}
/**
* .streamlayer.interactive.QuestionOptions.TweetOptions.TweetMetadata tweet_meta = 3 [json_name = "tweetMeta"];
*/
private void clearTweetMeta() { tweetMeta_ = null;
bitField0_ = (bitField0_ & ~0x00000001);
}
public static com.streamlayer.interactive.common.QuestionOptions.TweetOptions parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, data);
}
public static com.streamlayer.interactive.common.QuestionOptions.TweetOptions 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.streamlayer.interactive.common.QuestionOptions.TweetOptions parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, data);
}
public static com.streamlayer.interactive.common.QuestionOptions.TweetOptions 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.streamlayer.interactive.common.QuestionOptions.TweetOptions parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, data);
}
public static com.streamlayer.interactive.common.QuestionOptions.TweetOptions 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.streamlayer.interactive.common.QuestionOptions.TweetOptions parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, input);
}
public static com.streamlayer.interactive.common.QuestionOptions.TweetOptions 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.streamlayer.interactive.common.QuestionOptions.TweetOptions parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return parseDelimitedFrom(DEFAULT_INSTANCE, input);
}
public static com.streamlayer.interactive.common.QuestionOptions.TweetOptions parseDelimitedFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return parseDelimitedFrom(DEFAULT_INSTANCE, input, extensionRegistry);
}
public static com.streamlayer.interactive.common.QuestionOptions.TweetOptions parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, input);
}
public static com.streamlayer.interactive.common.QuestionOptions.TweetOptions 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.streamlayer.interactive.common.QuestionOptions.TweetOptions prototype) {
return DEFAULT_INSTANCE.createBuilder(prototype);
}
/**
* Protobuf type {@code streamlayer.interactive.QuestionOptions.TweetOptions}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageLite.Builder<
com.streamlayer.interactive.common.QuestionOptions.TweetOptions, Builder> implements
// @@protoc_insertion_point(builder_implements:streamlayer.interactive.QuestionOptions.TweetOptions)
com.streamlayer.interactive.common.QuestionOptions.TweetOptionsOrBuilder {
// Construct using com.streamlayer.interactive.common.QuestionOptions.TweetOptions.newBuilder()
private Builder() {
super(DEFAULT_INSTANCE);
}
/**
* string tweet_url = 1 [json_name = "tweetUrl"];
* @return The tweetUrl.
*/
@java.lang.Override
public java.lang.String getTweetUrl() {
return instance.getTweetUrl();
}
/**
* string tweet_url = 1 [json_name = "tweetUrl"];
* @return The bytes for tweetUrl.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getTweetUrlBytes() {
return instance.getTweetUrlBytes();
}
/**
* string tweet_url = 1 [json_name = "tweetUrl"];
* @param value The tweetUrl to set.
* @return This builder for chaining.
*/
public Builder setTweetUrl(
java.lang.String value) {
copyOnWrite();
instance.setTweetUrl(value);
return this;
}
/**
* string tweet_url = 1 [json_name = "tweetUrl"];
* @return This builder for chaining.
*/
public Builder clearTweetUrl() {
copyOnWrite();
instance.clearTweetUrl();
return this;
}
/**
* string tweet_url = 1 [json_name = "tweetUrl"];
* @param value The bytes for tweetUrl to set.
* @return This builder for chaining.
*/
public Builder setTweetUrlBytes(
com.google.protobuf.ByteString value) {
copyOnWrite();
instance.setTweetUrlBytes(value);
return this;
}
/**
* string tweet_id = 2 [json_name = "tweetId"];
* @return The tweetId.
*/
@java.lang.Override
public java.lang.String getTweetId() {
return instance.getTweetId();
}
/**
* string tweet_id = 2 [json_name = "tweetId"];
* @return The bytes for tweetId.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getTweetIdBytes() {
return instance.getTweetIdBytes();
}
/**
* string tweet_id = 2 [json_name = "tweetId"];
* @param value The tweetId to set.
* @return This builder for chaining.
*/
public Builder setTweetId(
java.lang.String value) {
copyOnWrite();
instance.setTweetId(value);
return this;
}
/**
* string tweet_id = 2 [json_name = "tweetId"];
* @return This builder for chaining.
*/
public Builder clearTweetId() {
copyOnWrite();
instance.clearTweetId();
return this;
}
/**
* string tweet_id = 2 [json_name = "tweetId"];
* @param value The bytes for tweetId to set.
* @return This builder for chaining.
*/
public Builder setTweetIdBytes(
com.google.protobuf.ByteString value) {
copyOnWrite();
instance.setTweetIdBytes(value);
return this;
}
/**
* .streamlayer.interactive.QuestionOptions.TweetOptions.TweetMetadata tweet_meta = 3 [json_name = "tweetMeta"];
*/
@java.lang.Override
public boolean hasTweetMeta() {
return instance.hasTweetMeta();
}
/**
* .streamlayer.interactive.QuestionOptions.TweetOptions.TweetMetadata tweet_meta = 3 [json_name = "tweetMeta"];
*/
@java.lang.Override
public com.streamlayer.interactive.common.QuestionOptions.TweetOptions.TweetMetadata getTweetMeta() {
return instance.getTweetMeta();
}
/**
* .streamlayer.interactive.QuestionOptions.TweetOptions.TweetMetadata tweet_meta = 3 [json_name = "tweetMeta"];
*/
public Builder setTweetMeta(com.streamlayer.interactive.common.QuestionOptions.TweetOptions.TweetMetadata value) {
copyOnWrite();
instance.setTweetMeta(value);
return this;
}
/**
* .streamlayer.interactive.QuestionOptions.TweetOptions.TweetMetadata tweet_meta = 3 [json_name = "tweetMeta"];
*/
public Builder setTweetMeta(
com.streamlayer.interactive.common.QuestionOptions.TweetOptions.TweetMetadata.Builder builderForValue) {
copyOnWrite();
instance.setTweetMeta(builderForValue.build());
return this;
}
/**
* .streamlayer.interactive.QuestionOptions.TweetOptions.TweetMetadata tweet_meta = 3 [json_name = "tweetMeta"];
*/
public Builder mergeTweetMeta(com.streamlayer.interactive.common.QuestionOptions.TweetOptions.TweetMetadata value) {
copyOnWrite();
instance.mergeTweetMeta(value);
return this;
}
/**
* .streamlayer.interactive.QuestionOptions.TweetOptions.TweetMetadata tweet_meta = 3 [json_name = "tweetMeta"];
*/
public Builder clearTweetMeta() { copyOnWrite();
instance.clearTweetMeta();
return this;
}
// @@protoc_insertion_point(builder_scope:streamlayer.interactive.QuestionOptions.TweetOptions)
}
@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.streamlayer.interactive.common.QuestionOptions.TweetOptions();
}
case NEW_BUILDER: {
return new Builder();
}
case BUILD_MESSAGE_INFO: {
java.lang.Object[] objects = new java.lang.Object[] {
"bitField0_",
"tweetUrl_",
"tweetId_",
"tweetMeta_",
};
java.lang.String info =
"\u0000\u0003\u0000\u0001\u0001\u0003\u0003\u0000\u0000\u0000\u0001\u0208\u0002\u0208" +
"\u0003\u1009\u0000";
return newMessageInfo(DEFAULT_INSTANCE, info, objects);
}
// fall through
case GET_DEFAULT_INSTANCE: {
return DEFAULT_INSTANCE;
}
case GET_PARSER: {
com.google.protobuf.Parser parser = PARSER;
if (parser == null) {
synchronized (com.streamlayer.interactive.common.QuestionOptions.TweetOptions.class) {
parser = PARSER;
if (parser == null) {
parser =
new DefaultInstanceBasedParser(
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:streamlayer.interactive.QuestionOptions.TweetOptions)
private static final com.streamlayer.interactive.common.QuestionOptions.TweetOptions DEFAULT_INSTANCE;
static {
TweetOptions defaultInstance = new TweetOptions();
// New instances are implicitly immutable so no need to make
// immutable.
DEFAULT_INSTANCE = defaultInstance;
com.google.protobuf.GeneratedMessageLite.registerDefaultInstance(
TweetOptions.class, defaultInstance);
}
public static com.streamlayer.interactive.common.QuestionOptions.TweetOptions getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static volatile com.google.protobuf.Parser PARSER;
public static com.google.protobuf.Parser parser() {
return DEFAULT_INSTANCE.getParserForType();
}
}
public interface GamOptionsOrBuilder extends
// @@protoc_insertion_point(interface_extends:streamlayer.interactive.QuestionOptions.GamOptions)
com.google.protobuf.MessageLiteOrBuilder {
/**
*
* Environment
*
*
* optional string env = 1 [json_name = "env"];
* @return Whether the env field is set.
*/
boolean hasEnv();
/**
*
* Environment
*
*
* optional string env = 1 [json_name = "env"];
* @return The env.
*/
java.lang.String getEnv();
/**
*
* Environment
*
*
* optional string env = 1 [json_name = "env"];
* @return The bytes for env.
*/
com.google.protobuf.ByteString
getEnvBytes();
/**
*
* ad manager schema (e.g. gdfp_req=1)
*
*
* optional int32 gdfp_req = 2 [json_name = "gdfpReq"];
* @return Whether the gdfpReq field is set.
*/
boolean hasGdfpReq();
/**
*
* ad manager schema (e.g. gdfp_req=1)
*
*
* optional int32 gdfp_req = 2 [json_name = "gdfpReq"];
* @return The gdfpReq.
*/
int getGdfpReq();
/**
*
* Ad unit path (e.g., "iu=/6062/videodemo")
*
*
* optional string iu = 3 [json_name = "iu"];
* @return Whether the iu field is set.
*/
boolean hasIu();
/**
*
* Ad unit path (e.g., "iu=/6062/videodemo")
*
*
* optional string iu = 3 [json_name = "iu"];
* @return The iu.
*/
java.lang.String getIu();
/**
*
* Ad unit path (e.g., "iu=/6062/videodemo")
*
*
* optional string iu = 3 [json_name = "iu"];
* @return The bytes for iu.
*/
com.google.protobuf.ByteString
getIuBytes();
/**
*
* Output format of the ad (e.g., "vast", "xml_vast4")
*
*
* optional string output = 4 [json_name = "output"];
* @return Whether the output field is set.
*/
boolean hasOutput();
/**
*
* Output format of the ad (e.g., "vast", "xml_vast4")
*
*
* optional string output = 4 [json_name = "output"];
* @return The output.
*/
java.lang.String getOutput();
/**
*
* Output format of the ad (e.g., "vast", "xml_vast4")
*
*
* optional string output = 4 [json_name = "output"];
* @return The bytes for output.
*/
com.google.protobuf.ByteString
getOutputBytes();
/**
*
* Primary ad size (e.g., "400x300")
*
*
* optional string sz = 5 [json_name = "sz"];
* @return Whether the sz field is set.
*/
boolean hasSz();
/**
*
* Primary ad size (e.g., "400x300")
*
*
* optional string sz = 5 [json_name = "sz"];
* @return The sz.
*/
java.lang.String getSz();
/**
*
* Primary ad size (e.g., "400x300")
*
*
* optional string sz = 5 [json_name = "sz"];
* @return The bytes for sz.
*/
com.google.protobuf.ByteString
getSzBytes();
/**
*
* The delayed impressions parameter (e.g., unviewed_position_start=1)
*
*
* optional int32 unviewed_position_start = 6 [json_name = "unviewedPositionStart"];
* @return Whether the unviewedPositionStart field is set.
*/
boolean hasUnviewedPositionStart();
/**
*
* The delayed impressions parameter (e.g., unviewed_position_start=1)
*
*
* optional int32 unviewed_position_start = 6 [json_name = "unviewedPositionStart"];
* @return The unviewedPositionStart.
*/
int getUnviewedPositionStart();
/**
*
* Companion ad sizes (e.g., "728x90", "300x250")
*
*
* repeated string ciu_szs = 7 [json_name = "ciuSzs"];
* @return A list containing the ciuSzs.
*/
java.util.List
getCiuSzsList();
/**
*
* Companion ad sizes (e.g., "728x90", "300x250")
*
*
* repeated string ciu_szs = 7 [json_name = "ciuSzs"];
* @return The count of ciuSzs.
*/
int getCiuSzsCount();
/**
*
* Companion ad sizes (e.g., "728x90", "300x250")
*
*
* repeated string ciu_szs = 7 [json_name = "ciuSzs"];
* @param index The index of the element to return.
* @return The ciuSzs at the given index.
*/
java.lang.String getCiuSzs(int index);
/**
*
* Companion ad sizes (e.g., "728x90", "300x250")
*
*
* repeated string ciu_szs = 7 [json_name = "ciuSzs"];
* @param index The index of the element to return.
* @return The ciuSzs at the given index.
*/
com.google.protobuf.ByteString
getCiuSzsBytes(int index);
/**
*
* The URL from which the ad request is sent
*
*
* optional string url = 8 [json_name = "url"];
* @return Whether the url field is set.
*/
boolean hasUrl();
/**
*
* The URL from which the ad request is sent
*
*
* optional string url = 8 [json_name = "url"];
* @return The url.
*/
java.lang.String getUrl();
/**
*
* The URL from which the ad request is sent
*
*
* optional string url = 8 [json_name = "url"];
* @return The bytes for url.
*/
com.google.protobuf.ByteString
getUrlBytes();
/**
*
* URL describing the video content
*
*
* optional string description_url = 9 [json_name = "descriptionUrl"];
* @return Whether the descriptionUrl field is set.
*/
boolean hasDescriptionUrl();
/**
*
* URL describing the video content
*
*
* optional string description_url = 9 [json_name = "descriptionUrl"];
* @return The descriptionUrl.
*/
java.lang.String getDescriptionUrl();
/**
*
* URL describing the video content
*
*
* optional string description_url = 9 [json_name = "descriptionUrl"];
* @return The bytes for descriptionUrl.
*/
com.google.protobuf.ByteString
getDescriptionUrlBytes();
/**
*
* Shared value for competitive exclusions across multiple requests (e.g., correlator=4345645667)
*
*
* optional string correlator = 10 [json_name = "correlator"];
* @return Whether the correlator field is set.
*/
boolean hasCorrelator();
/**
*
* Shared value for competitive exclusions across multiple requests (e.g., correlator=4345645667)
*
*
* optional string correlator = 10 [json_name = "correlator"];
* @return The correlator.
*/
java.lang.String getCorrelator();
/**
*
* Shared value for competitive exclusions across multiple requests (e.g., correlator=4345645667)
*
*
* optional string correlator = 10 [json_name = "correlator"];
* @return The bytes for correlator.
*/
com.google.protobuf.ByteString
getCorrelatorBytes();
/**
*
* Custom key-value pairs for targeting
*
*
* map<string, string> cust_params = 11 [json_name = "custParams"];
*/
int getCustParamsCount();
/**
*
* Custom key-value pairs for targeting
*
*
* map<string, string> cust_params = 11 [json_name = "custParams"];
*/
boolean containsCustParams(
java.lang.String key);
/**
* Use {@link #getCustParamsMap()} instead.
*/
@java.lang.Deprecated
java.util.Map
getCustParams();
/**
*
* Custom key-value pairs for targeting
*
*
* map<string, string> cust_params = 11 [json_name = "custParams"];
*/
java.util.Map
getCustParamsMap();
/**
*
* Custom key-value pairs for targeting
*
*
* map<string, string> cust_params = 11 [json_name = "custParams"];
*/
/* nullable */
java.lang.String getCustParamsOrDefault(
java.lang.String key,
/* nullable */
java.lang.String defaultValue);
/**
*
* Custom key-value pairs for targeting
*
*
* map<string, string> cust_params = 11 [json_name = "custParams"];
*/
java.lang.String getCustParamsOrThrow(
java.lang.String key);
/**
*
* Placement type (e.g., plcmt=1 for in-stream)
*
*
* optional int32 plcmt = 12 [json_name = "plcmt"];
* @return Whether the plcmt field is set.
*/
boolean hasPlcmt();
/**
*
* Placement type (e.g., plcmt=1 for in-stream)
*
*
* optional int32 plcmt = 12 [json_name = "plcmt"];
* @return The plcmt.
*/
int getPlcmt();
/**
*
* Video play automatic (e.g., vpa=auto)
*
*
* optional string vpa = 13 [json_name = "vpa"];
* @return Whether the vpa field is set.
*/
boolean hasVpa();
/**
*
* Video play automatic (e.g., vpa=auto)
*
*
* optional string vpa = 13 [json_name = "vpa"];
* @return The vpa.
*/
java.lang.String getVpa();
/**
*
* Video play automatic (e.g., vpa=auto)
*
*
* optional string vpa = 13 [json_name = "vpa"];
* @return The bytes for vpa.
*/
com.google.protobuf.ByteString
getVpaBytes();
/**
*
* Video play mute status (e.g., vpmute=1 for muted)
*
*
* optional int32 vpmute = 14 [json_name = "vpmute"];
* @return Whether the vpmute field is set.
*/
boolean hasVpmute();
/**
*
* Video play mute status (e.g., vpmute=1 for muted)
*
*
* optional int32 vpmute = 14 [json_name = "vpmute"];
* @return The vpmute.
*/
int getVpmute();
/**
*
* "Why this ad?" parameter (e.g., wta=1)
*
*
* optional int32 wta = 15 [json_name = "wta"];
* @return Whether the wta field is set.
*/
boolean hasWta();
/**
*
* "Why this ad?" parameter (e.g., wta=1)
*
*
* optional int32 wta = 15 [json_name = "wta"];
* @return The wta.
*/
int getWta();
/**
*
* Audio continuous play (e.g., aconp=2)
*
*
* optional int32 aconp = 16 [json_name = "aconp"];
* @return Whether the aconp field is set.
*/
boolean hasAconp();
/**
*
* Audio continuous play (e.g., aconp=2)
*
*
* optional int32 aconp = 16 [json_name = "aconp"];
* @return The aconp.
*/
int getAconp();
/**
*
* Ad rule type (e.g., ad_rule=0 for VAST creative)
*
*
* optional int32 ad_rule = 17 [json_name = "adRule"];
* @return Whether the adRule field is set.
*/
boolean hasAdRule();
/**
*
* Ad rule type (e.g., ad_rule=0 for VAST creative)
*
*
* optional int32 ad_rule = 17 [json_name = "adRule"];
* @return The adRule.
*/
int getAdRule();
/**
*
* Ad type (e.g., ad_type=video)
*
*
* optional string ad_type = 18 [json_name = "adType"];
* @return Whether the adType field is set.
*/
boolean hasAdType();
/**
*
* Ad type (e.g., ad_type=video)
*
*
* optional string ad_type = 18 [json_name = "adType"];
* @return The adType.
*/
java.lang.String getAdType();
/**
*
* Ad type (e.g., ad_type=video)
*
*
* optional string ad_type = 18 [json_name = "adType"];
* @return The bytes for adType.
*/
com.google.protobuf.ByteString
getAdTypeBytes();
/**
*
* Language of the ad request (e.g., hl=en)
*
*
* optional string hl = 19 [json_name = "hl"];
* @return Whether the hl field is set.
*/
boolean hasHl();
/**
*
* Language of the ad request (e.g., hl=en)
*
*
* optional string hl = 19 [json_name = "hl"];
* @return The hl.
*/
java.lang.String getHl();
/**
*
* Language of the ad request (e.g., hl=en)
*
*
* optional string hl = 19 [json_name = "hl"];
* @return The bytes for hl.
*/
com.google.protobuf.ByteString
getHlBytes();
/**
*
* Device type hint (e.g., dth=5)
*
*
* optional int32 dth = 20 [json_name = "dth"];
* @return Whether the dth field is set.
*/
boolean hasDth();
/**
*
* Device type hint (e.g., dth=5)
*
*
* optional int32 dth = 20 [json_name = "dth"];
* @return The dth.
*/
int getDth();
/**
*
* GDPR parameter (e.g., gdpr=1)
*
*
* optional int32 gdpr = 21 [json_name = "gdpr"];
* @return Whether the gdpr field is set.
*/
boolean hasGdpr();
/**
*
* GDPR parameter (e.g., gdpr=1)
*
*
* optional int32 gdpr = 21 [json_name = "gdpr"];
* @return The gdpr.
*/
int getGdpr();
/**
*
* GDPR consent string (e.g., gdpr_consent=GDPR_CONSENT_123)
*
*
* optional string gdpr_consent = 22 [json_name = "gdprConsent"];
* @return Whether the gdprConsent field is set.
*/
boolean hasGdprConsent();
/**
*
* GDPR consent string (e.g., gdpr_consent=GDPR_CONSENT_123)
*
*
* optional string gdpr_consent = 22 [json_name = "gdprConsent"];
* @return The gdprConsent.
*/
java.lang.String getGdprConsent();
/**
*
* GDPR consent string (e.g., gdpr_consent=GDPR_CONSENT_123)
*
*
* optional string gdpr_consent = 22 [json_name = "gdprConsent"];
* @return The bytes for gdprConsent.
*/
com.google.protobuf.ByteString
getGdprConsentBytes();
/**
*
* IAB exclusion categories (e.g., iabexcl=3,14,527)
*
*
* optional string iabexcl = 23 [json_name = "iabexcl"];
* @return Whether the iabexcl field is set.
*/
boolean hasIabexcl();
/**
*
* IAB exclusion categories (e.g., iabexcl=3,14,527)
*
*
* optional string iabexcl = 23 [json_name = "iabexcl"];
* @return The iabexcl.
*/
java.lang.String getIabexcl();
/**
*
* IAB exclusion categories (e.g., iabexcl=3,14,527)
*
*
* optional string iabexcl = 23 [json_name = "iabexcl"];
* @return The bytes for iabexcl.
*/
com.google.protobuf.ByteString
getIabexclBytes();
/**
*
* Last position in pod (e.g., lip=true)
*
*
* optional bool lip = 24 [json_name = "lip"];
* @return Whether the lip field is set.
*/
boolean hasLip();
/**
*
* Last position in pod (e.g., lip=true)
*
*
* optional bool lip = 24 [json_name = "lip"];
* @return The lip.
*/
boolean getLip();
/**
*
* Limited ads (e.g., ltd=1)
*
*
* optional int32 ltd = 25 [json_name = "ltd"];
* @return Whether the ltd field is set.
*/
boolean hasLtd();
/**
*
* Limited ads (e.g., ltd=1)
*
*
* optional int32 ltd = 25 [json_name = "ltd"];
* @return The ltd.
*/
int getLtd();
/**
*
* Fallback disabled (e.g., nofb=1)
*
*
* optional int32 nofb = 26 [json_name = "nofb"];
* @return Whether the nofb field is set.
*/
boolean hasNofb();
/**
*
* Fallback disabled (e.g., nofb=1)
*
*
* optional int32 nofb = 26 [json_name = "nofb"];
* @return The nofb.
*/
int getNofb();
/**
*
* Non-personalized ads (e.g., npa=1)
*
*
* optional int32 npa = 27 [json_name = "npa"];
* @return Whether the npa field is set.
*/
boolean hasNpa();
/**
*
* Non-personalized ads (e.g., npa=1)
*
*
* optional int32 npa = 27 [json_name = "npa"];
* @return The npa.
*/
int getNpa();
/**
*
* OMID partner name (e.g., omid_p=examplepartnername/1.0.0.0)
*
*
* optional string omid_p = 28 [json_name = "omidP"];
* @return Whether the omidP field is set.
*/
boolean hasOmidP();
/**
*
* OMID partner name (e.g., omid_p=examplepartnername/1.0.0.0)
*
*
* optional string omid_p = 28 [json_name = "omidP"];
* @return The omidP.
*/
java.lang.String getOmidP();
/**
*
* OMID partner name (e.g., omid_p=examplepartnername/1.0.0.0)
*
*
* optional string omid_p = 28 [json_name = "omidP"];
* @return The bytes for omidP.
*/
com.google.protobuf.ByteString
getOmidPBytes();
/**
*
* Publisher Privacy Treatment (e.g., ppt=1)
*
*
* optional int32 ppt = 29 [json_name = "ppt"];
* @return Whether the ppt field is set.
*/
boolean hasPpt();
/**
*
* Publisher Privacy Treatment (e.g., ppt=1)
*
*
* optional int32 ppt = 29 [json_name = "ppt"];
* @return The ppt.
*/
int getPpt();
/**
*
* Position in pod (e.g., ppos=2)
*
*
* optional int32 ppos = 30 [json_name = "ppos"];
* @return Whether the ppos field is set.
*/
boolean hasPpos();
/**
*
* Position in pod (e.g., ppos=2)
*
*
* optional int32 ppos = 30 [json_name = "ppos"];
* @return The ppos.
*/
int getPpos();
/**
*
* Publisher provided identifier (e.g., ppid=12JD92JD8078S8J29SDOAKC0EF230337)
*
*
* optional string ppid = 31 [json_name = "ppid"];
* @return Whether the ppid field is set.
*/
boolean hasPpid();
/**
*
* Publisher provided identifier (e.g., ppid=12JD92JD8078S8J29SDOAKC0EF230337)
*
*
* optional string ppid = 31 [json_name = "ppid"];
* @return The ppid.
*/
java.lang.String getPpid();
/**
*
* Publisher provided identifier (e.g., ppid=12JD92JD8078S8J29SDOAKC0EF230337)
*
*
* optional string ppid = 31 [json_name = "ppid"];
* @return The bytes for ppid.
*/
com.google.protobuf.ByteString
getPpidBytes();
/**
*
* Stream correlator (e.g., scor=17)
*
*
* optional int32 scor = 32 [json_name = "scor"];
* @return Whether the scor field is set.
*/
boolean hasScor();
/**
*
* Stream correlator (e.g., scor=17)
*
*
* optional int32 scor = 32 [json_name = "scor"];
* @return The scor.
*/
int getScor();
/**
*
* SDK API framework (e.g., sdk_apis=2,7,9)
*
*
* optional string sdk_apis = 33 [json_name = "sdkApis"];
* @return Whether the sdkApis field is set.
*/
boolean hasSdkApis();
/**
*
* SDK API framework (e.g., sdk_apis=2,7,9)
*
*
* optional string sdk_apis = 33 [json_name = "sdkApis"];
* @return The sdkApis.
*/
java.lang.String getSdkApis();
/**
*
* SDK API framework (e.g., sdk_apis=2,7,9)
*
*
* optional string sdk_apis = 33 [json_name = "sdkApis"];
* @return The bytes for sdkApis.
*/
com.google.protobuf.ByteString
getSdkApisBytes();
/**
*
* Server-side stitching source (e.g., ssss=mystitcher)
*
*
* optional string ssss = 34 [json_name = "ssss"];
* @return Whether the ssss field is set.
*/
boolean hasSsss();
/**
*
* Server-side stitching source (e.g., ssss=mystitcher)
*
*
* optional string ssss = 34 [json_name = "ssss"];
* @return The ssss.
*/
java.lang.String getSsss();
/**
*
* Server-side stitching source (e.g., ssss=mystitcher)
*
*
* optional string ssss = 34 [json_name = "ssss"];
* @return The bytes for ssss.
*/
com.google.protobuf.ByteString
getSsssBytes();
/**
*
* Skippable max ad duration (e.g., sdmax=45000)
*
*
* optional string sdmax = 35 [json_name = "sdmax"];
* @return Whether the sdmax field is set.
*/
boolean hasSdmax();
/**
*
* Skippable max ad duration (e.g., sdmax=45000)
*
*
* optional string sdmax = 35 [json_name = "sdmax"];
* @return The sdmax.
*/
java.lang.String getSdmax();
/**
*
* Skippable max ad duration (e.g., sdmax=45000)
*
*
* optional string sdmax = 35 [json_name = "sdmax"];
* @return The bytes for sdmax.
*/
com.google.protobuf.ByteString
getSdmaxBytes();
/**
*
* Session ID (e.g., sid=123e4567-e89b-12d3-a456-426614174000)
*
*
* optional string sid = 36 [json_name = "sid"];
* @return Whether the sid field is set.
*/
boolean hasSid();
/**
*
* Session ID (e.g., sid=123e4567-e89b-12d3-a456-426614174000)
*
*
* optional string sid = 36 [json_name = "sid"];
* @return The sid.
*/
java.lang.String getSid();
/**
*
* Session ID (e.g., sid=123e4567-e89b-12d3-a456-426614174000)
*
*
* optional string sid = 36 [json_name = "sid"];
* @return The bytes for sid.
*/
com.google.protobuf.ByteString
getSidBytes();
/**
*
* Restrict data processing (e.g., rdp=1)
*
*
* optional int32 rdp = 37 [json_name = "rdp"];
* @return Whether the rdp field is set.
*/
boolean hasRdp();
/**
*
* Restrict data processing (e.g., rdp=1)
*
*
* optional int32 rdp = 37 [json_name = "rdp"];
* @return The rdp.
*/
int getRdp();
/**
*
* Additional consent (e.g., addtl_consent=1~1.35.41.101)
*
*
* optional string addtl_consent = 38 [json_name = "addtlConsent"];
* @return Whether the addtlConsent field is set.
*/
boolean hasAddtlConsent();
/**
*
* Additional consent (e.g., addtl_consent=1~1.35.41.101)
*
*
* optional string addtl_consent = 38 [json_name = "addtlConsent"];
* @return The addtlConsent.
*/
java.lang.String getAddtlConsent();
/**
*
* Additional consent (e.g., addtl_consent=1~1.35.41.101)
*
*
* optional string addtl_consent = 38 [json_name = "addtlConsent"];
* @return The bytes for addtlConsent.
*/
com.google.protobuf.ByteString
getAddtlConsentBytes();
/**
*
* Non-linear ad sizes (e.g., afvsz=200x200,250x250)
*
*
* optional string afvsz = 39 [json_name = "afvsz"];
* @return Whether the afvsz field is set.
*/
boolean hasAfvsz();
/**
*
* Non-linear ad sizes (e.g., afvsz=200x200,250x250)
*
*
* optional string afvsz = 39 [json_name = "afvsz"];
* @return The afvsz.
*/
java.lang.String getAfvsz();
/**
*
* Non-linear ad sizes (e.g., afvsz=200x200,250x250)
*
*
* optional string afvsz = 39 [json_name = "afvsz"];
* @return The bytes for afvsz.
*/
com.google.protobuf.ByteString
getAfvszBytes();
/**
*
* Cue points for mid-roll ads (e.g., allcues=10000,20000)
*
*
* optional string allcues = 40 [json_name = "allcues"];
* @return Whether the allcues field is set.
*/
boolean hasAllcues();
/**
*
* Cue points for mid-roll ads (e.g., allcues=10000,20000)
*
*
* optional string allcues = 40 [json_name = "allcues"];
* @return The allcues.
*/
java.lang.String getAllcues();
/**
*
* Cue points for mid-roll ads (e.g., allcues=10000,20000)
*
*
* optional string allcues = 40 [json_name = "allcues"];
* @return The bytes for allcues.
*/
com.google.protobuf.ByteString
getAllcuesBytes();
/**
*
* Content source ID (e.g., cmsid=123)
*
*
* optional int32 cmsid = 41 [json_name = "cmsid"];
* @return Whether the cmsid field is set.
*/
boolean hasCmsid();
/**
*
* Content source ID (e.g., cmsid=123)
*
*
* optional int32 cmsid = 41 [json_name = "cmsid"];
* @return The cmsid.
*/
int getCmsid();
/**
*
* Video ID (e.g., vid=456)
*
*
* optional int32 vid = 42 [json_name = "vid"];
* @return Whether the vid field is set.
*/
boolean hasVid();
/**
*
* Video ID (e.g., vid=456)
*
*
* optional int32 vid = 42 [json_name = "vid"];
* @return The vid.
*/
int getVid();
/**
*
* Exclusion category (e.g., excl_cat=airline_excl_label)
*
*
* optional string excl_cat = 43 [json_name = "exclCat"];
* @return Whether the exclCat field is set.
*/
boolean hasExclCat();
/**
*
* Exclusion category (e.g., excl_cat=airline_excl_label)
*
*
* optional string excl_cat = 43 [json_name = "exclCat"];
* @return The exclCat.
*/
java.lang.String getExclCat();
/**
*
* Exclusion category (e.g., excl_cat=airline_excl_label)
*
*
* optional string excl_cat = 43 [json_name = "exclCat"];
* @return The bytes for exclCat.
*/
com.google.protobuf.ByteString
getExclCatBytes();
/**
*
* Inventory partner domain (e.g., ipd=partnerdomain.com)
*
*
* optional string ipd = 44 [json_name = "ipd"];
* @return Whether the ipd field is set.
*/
boolean hasIpd();
/**
*
* Inventory partner domain (e.g., ipd=partnerdomain.com)
*
*
* optional string ipd = 44 [json_name = "ipd"];
* @return The ipd.
*/
java.lang.String getIpd();
/**
*
* Inventory partner domain (e.g., ipd=partnerdomain.com)
*
*
* optional string ipd = 44 [json_name = "ipd"];
* @return The bytes for ipd.
*/
com.google.protobuf.ByteString
getIpdBytes();
/**
*
* Impression pinging entity (e.g., ipe=ssb)
*
*
* optional string ipe = 45 [json_name = "ipe"];
* @return Whether the ipe field is set.
*/
boolean hasIpe();
/**
*
* Impression pinging entity (e.g., ipe=ssb)
*
*
* optional string ipe = 45 [json_name = "ipe"];
* @return The ipe.
*/
java.lang.String getIpe();
/**
*
* Impression pinging entity (e.g., ipe=ssb)
*
*
* optional string ipe = 45 [json_name = "ipe"];
* @return The bytes for ipe.
*/
com.google.protobuf.ByteString
getIpeBytes();
/**
*
* Maximum ad duration in milliseconds (e.g. max_ad_duration=30000)
*
*
* optional int32 max_ad_duration = 46 [json_name = "maxAdDuration"];
* @return Whether the maxAdDuration field is set.
*/
boolean hasMaxAdDuration();
/**
*
* Maximum ad duration in milliseconds (e.g. max_ad_duration=30000)
*
*
* optional int32 max_ad_duration = 46 [json_name = "maxAdDuration"];
* @return The maxAdDuration.
*/
int getMaxAdDuration();
/**
*
* Minimum ad duration in milliseconds (e.g. min_ad_duration=15000)
*
*
* optional int32 min_ad_duration = 47 [json_name = "minAdDuration"];
* @return Whether the minAdDuration field is set.
*/
boolean hasMinAdDuration();
/**
*
* Minimum ad duration in milliseconds (e.g. min_ad_duration=15000)
*
*
* optional int32 min_ad_duration = 47 [json_name = "minAdDuration"];
* @return The minAdDuration.
*/
int getMinAdDuration();
/**
*
* Mid-roll number (e.g. mridx=2)
*
*
* optional int32 mridx = 48 [json_name = "mridx"];
* @return Whether the mridx field is set.
*/
boolean hasMridx();
/**
*
* Mid-roll number (e.g. mridx=2)
*
*
* optional int32 mridx = 48 [json_name = "mridx"];
* @return The mridx.
*/
int getMridx();
/**
*
* App ID (e.g., msid=com.package.publisher)
*
*
* optional string msid = 49 [json_name = "msid"];
* @return Whether the msid field is set.
*/
boolean hasMsid();
/**
*
* App ID (e.g., msid=com.package.publisher)
*
*
* optional string msid = 49 [json_name = "msid"];
* @return The msid.
*/
java.lang.String getMsid();
/**
*
* App ID (e.g., msid=com.package.publisher)
*
*
* optional string msid = 49 [json_name = "msid"];
* @return The bytes for msid.
*/
com.google.protobuf.ByteString
getMsidBytes();
/**
*
* App name (e.g., an=sample%20app)
*
*
* optional string an = 50 [json_name = "an"];
* @return Whether the an field is set.
*/
boolean hasAn();
/**
*
* App name (e.g., an=sample%20app)
*
*
* optional string an = 50 [json_name = "an"];
* @return The an.
*/
java.lang.String getAn();
/**
*
* App name (e.g., an=sample%20app)
*
*
* optional string an = 50 [json_name = "an"];
* @return The bytes for an.
*/
com.google.protobuf.ByteString
getAnBytes();
/**
*
* Pod ad maximum (e.g., pmad=4)
*
*
* optional int32 pmad = 51 [json_name = "pmad"];
* @return Whether the pmad field is set.
*/
boolean hasPmad();
/**
*
* Pod ad maximum (e.g., pmad=4)
*
*
* optional int32 pmad = 51 [json_name = "pmad"];
* @return The pmad.
*/
int getPmad();
/**
*
* Pod minimum duration (e.g. pmnd=0)
*
*
* optional int32 pmnd = 52 [json_name = "pmnd"];
* @return Whether the pmnd field is set.
*/
boolean hasPmnd();
/**
*
* Pod minimum duration (e.g. pmnd=0)
*
*
* optional int32 pmnd = 52 [json_name = "pmnd"];
* @return The pmnd.
*/
int getPmnd();
/**
*
* Pod maximum duration (e.g. pmxd=60000)
*
*
* optional int32 pmxd = 53 [json_name = "pmxd"];
* @return Whether the pmxd field is set.
*/
boolean hasPmxd();
/**
*
* Pod maximum duration (e.g. pmxd=60000)
*
*
* optional int32 pmxd = 53 [json_name = "pmxd"];
* @return The pmxd.
*/
int getPmxd();
/**
*
* Pod number (e.g. pod=3)
*
*
* optional int32 pod = 54 [json_name = "pod"];
* @return Whether the pod field is set.
*/
boolean hasPod();
/**
*
* Pod number (e.g. pod=3)
*
*
* optional int32 pod = 54 [json_name = "pod"];
* @return The pod.
*/
int getPod();
/**
*
* Creative profile (e.g., pp=creative_profile)
*
*
* optional string pp = 55 [json_name = "pp"];
* @return Whether the pp field is set.
*/
boolean hasPp();
/**
*
* Creative profile (e.g., pp=creative_profile)
*
*
* optional string pp = 55 [json_name = "pp"];
* @return The pp.
*/
java.lang.String getPp();
/**
*
* Creative profile (e.g., pp=creative_profile)
*
*
* optional string pp = 55 [json_name = "pp"];
* @return The bytes for pp.
*/
com.google.protobuf.ByteString
getPpBytes();
/**
*
* Publisher provided signals JSON (Base64-encoded ASCII string from the JSON object)
*
*
* optional string ppsj = 56 [json_name = "ppsj"];
* @return Whether the ppsj field is set.
*/
boolean hasPpsj();
/**
*
* Publisher provided signals JSON (Base64-encoded ASCII string from the JSON object)
*
*
* optional string ppsj = 56 [json_name = "ppsj"];
* @return The ppsj.
*/
java.lang.String getPpsj();
/**
*
* Publisher provided signals JSON (Base64-encoded ASCII string from the JSON object)
*
*
* optional string ppsj = 56 [json_name = "ppsj"];
* @return The bytes for ppsj.
*/
com.google.protobuf.ByteString
getPpsjBytes();
/**
*
* Ad break template ID (e.g., ptpl=template1)
*
*
* optional string ptpl = 57 [json_name = "ptpl"];
* @return Whether the ptpl field is set.
*/
boolean hasPtpl();
/**
*
* Ad break template ID (e.g., ptpl=template1)
*
*
* optional string ptpl = 57 [json_name = "ptpl"];
* @return The ptpl.
*/
java.lang.String getPtpl();
/**
*
* Ad break template ID (e.g., ptpl=template1)
*
*
* optional string ptpl = 57 [json_name = "ptpl"];
* @return The bytes for ptpl.
*/
com.google.protobuf.ByteString
getPtplBytes();
/**
*
* Ad break template name (e.g., ptpln=templateName)
*
*
* optional string ptpln = 58 [json_name = "ptpln"];
* @return Whether the ptpln field is set.
*/
boolean hasPtpln();
/**
*
* Ad break template name (e.g., ptpln=templateName)
*
*
* optional string ptpln = 58 [json_name = "ptpln"];
* @return The ptpln.
*/
java.lang.String getPtpln();
/**
*
* Ad break template name (e.g., ptpln=templateName)
*
*
* optional string ptpln = 58 [json_name = "ptpln"];
* @return The bytes for ptpln.
*/
com.google.protobuf.ByteString
getPtplnBytes();
/**
*
* Public price floor (e.g., pubf=123)
*
*
* optional int32 pubf = 59 [json_name = "pubf"];
* @return Whether the pubf field is set.
*/
boolean hasPubf();
/**
*
* Public price floor (e.g., pubf=123)
*
*
* optional int32 pubf = 59 [json_name = "pubf"];
* @return The pubf.
*/
int getPubf();
/**
*
* Private price floor (e.g., pvtf=123)
*
*
* optional int32 pvtf = 60 [json_name = "pvtf"];
* @return Whether the pvtf field is set.
*/
boolean hasPvtf();
/**
*
* Private price floor (e.g., pvtf=123)
*
*
* optional int32 pvtf = 60 [json_name = "pvtf"];
* @return The pvtf.
*/
int getPvtf();
/**
*
* App set ID (e.g., pvid=AppSetID_value)
*
*
* optional string pvid = 61 [json_name = "pvid"];
* @return Whether the pvid field is set.
*/
boolean hasPvid();
/**
*
* App set ID (e.g., pvid=AppSetID_value)
*
*
* optional string pvid = 61 [json_name = "pvid"];
* @return The pvid.
*/
java.lang.String getPvid();
/**
*
* App set ID (e.g., pvid=AppSetID_value)
*
*
* optional string pvid = 61 [json_name = "pvid"];
* @return The bytes for pvid.
*/
com.google.protobuf.ByteString
getPvidBytes();
/**
*
* App set scope (e.g., pvid_s=scope_app)
*
*
* optional string pvid_s = 62 [json_name = "pvidS"];
* @return Whether the pvidS field is set.
*/
boolean hasPvidS();
/**
*
* App set scope (e.g., pvid_s=scope_app)
*
*
* optional string pvid_s = 62 [json_name = "pvidS"];
* @return The pvidS.
*/
java.lang.String getPvidS();
/**
*
* App set scope (e.g., pvid_s=scope_app)
*
*
* optional string pvid_s = 62 [json_name = "pvidS"];
* @return The bytes for pvidS.
*/
com.google.protobuf.ByteString
getPvidSBytes();
/**
*
* Resettable device identifier (e.g., rdid=ABC123)
*
*
* optional string rdid = 63 [json_name = "rdid"];
* @return Whether the rdid field is set.
*/
boolean hasRdid();
/**
*
* Resettable device identifier (e.g., rdid=ABC123)
*
*
* optional string rdid = 63 [json_name = "rdid"];
* @return The rdid.
*/
java.lang.String getRdid();
/**
*
* Resettable device identifier (e.g., rdid=ABC123)
*
*
* optional string rdid = 63 [json_name = "rdid"];
* @return The bytes for rdid.
*/
com.google.protobuf.ByteString
getRdidBytes();
/**
*
* Identifier type (e.g., idtype=idfa)
*
*
* optional string idtype = 64 [json_name = "idtype"];
* @return Whether the idtype field is set.
*/
boolean hasIdtype();
/**
*
* Identifier type (e.g., idtype=idfa)
*
*
* optional string idtype = 64 [json_name = "idtype"];
* @return The idtype.
*/
java.lang.String getIdtype();
/**
*
* Identifier type (e.g., idtype=idfa)
*
*
* optional string idtype = 64 [json_name = "idtype"];
* @return The bytes for idtype.
*/
com.google.protobuf.ByteString
getIdtypeBytes();
/**
*
* LAT (Limit Ad Tracking) (e.g., is_lat=1)
*
*
* optional int32 is_lat = 65 [json_name = "isLat"];
* @return Whether the isLat field is set.
*/
boolean hasIsLat();
/**
*
* LAT (Limit Ad Tracking) (e.g., is_lat=1)
*
*
* optional int32 is_lat = 65 [json_name = "isLat"];
* @return The isLat.
*/
int getIsLat();
/**
*
* Child-directed flag (e.g., tfcd=1)
*
*
* optional int32 tfcd = 66 [json_name = "tfcd"];
* @return Whether the tfcd field is set.
*/
boolean hasTfcd();
/**
*
* Child-directed flag (e.g., tfcd=1)
*
*
* optional int32 tfcd = 66 [json_name = "tfcd"];
* @return The tfcd.
*/
int getTfcd();
/**
*
* Traffic type (e.g., trt=1 for purchased traffic)
*
*
* optional int32 trt = 67 [json_name = "trt"];
* @return Whether the trt field is set.
*/
boolean hasTrt();
/**
*
* Traffic type (e.g., trt=1 for purchased traffic)
*
*
* optional int32 trt = 67 [json_name = "trt"];
* @return The trt.
*/
int getTrt();
/**
*
* Video ad type (e.g., vad_type=linear)
*
*
* optional string vad_type = 68 [json_name = "vadType"];
* @return Whether the vadType field is set.
*/
boolean hasVadType();
/**
*
* Video ad type (e.g., vad_type=linear)
*
*
* optional string vad_type = 68 [json_name = "vadType"];
* @return The vadType.
*/
java.lang.String getVadType();
/**
*
* Video ad type (e.g., vad_type=linear)
*
*
* optional string vad_type = 68 [json_name = "vadType"];
* @return The bytes for vadType.
*/
com.google.protobuf.ByteString
getVadTypeBytes();
/**
*
* Video content duration in seconds (e.g., vid_d=90000)
*
*
* optional int32 vid_d = 69 [json_name = "vidD"];
* @return Whether the vidD field is set.
*/
boolean hasVidD();
/**
*
* Video content duration in seconds (e.g., vid_d=90000)
*
*
* optional int32 vid_d = 69 [json_name = "vidD"];
* @return The vidD.
*/
int getVidD();
/**
*
* Continuous video play (e.g., vconp=2)
*
*
* optional int32 vconp = 70 [json_name = "vconp"];
* @return Whether the vconp field is set.
*/
boolean hasVconp();
/**
*
* Continuous video play (e.g., vconp=2)
*
*
* optional int32 vconp = 70 [json_name = "vconp"];
* @return The vconp.
*/
int getVconp();
/**
*
* Video playlist inline/redirect (e.g., vpi=1)
*
*
* optional int32 vpi = 71 [json_name = "vpi"];
* @return Whether the vpi field is set.
*/
boolean hasVpi();
/**
*
* Video playlist inline/redirect (e.g., vpi=1)
*
*
* optional int32 vpi = 71 [json_name = "vpi"];
* @return The vpi.
*/
int getVpi();
/**
*
* Video position (e.g., vpos=preroll)
*
*
* optional string vpos = 72 [json_name = "vpos"];
* @return Whether the vpos field is set.
*/
boolean hasVpos();
/**
*
* Video position (e.g., vpos=preroll)
*
*
* optional string vpos = 72 [json_name = "vpos"];
* @return The vpos.
*/
java.lang.String getVpos();
/**
*
* Video position (e.g., vpos=preroll)
*
*
* optional string vpos = 72 [json_name = "vpos"];
* @return The bytes for vpos.
*/
com.google.protobuf.ByteString
getVposBytes();
}
/**
*
* parameters spec https://support.google.com/admanager/answer/10678356?hl=en
*
*
* Protobuf type {@code streamlayer.interactive.QuestionOptions.GamOptions}
*/
public static final class GamOptions extends
com.google.protobuf.GeneratedMessageLite<
GamOptions, GamOptions.Builder> implements
// @@protoc_insertion_point(message_implements:streamlayer.interactive.QuestionOptions.GamOptions)
GamOptionsOrBuilder {
private GamOptions() {
env_ = "";
iu_ = "";
output_ = "";
sz_ = "";
ciuSzs_ = com.google.protobuf.GeneratedMessageLite.emptyProtobufList();
url_ = "";
descriptionUrl_ = "";
correlator_ = "";
vpa_ = "";
adType_ = "";
hl_ = "";
gdprConsent_ = "";
iabexcl_ = "";
omidP_ = "";
ppid_ = "";
sdkApis_ = "";
ssss_ = "";
sdmax_ = "";
sid_ = "";
addtlConsent_ = "";
afvsz_ = "";
allcues_ = "";
exclCat_ = "";
ipd_ = "";
ipe_ = "";
msid_ = "";
an_ = "";
pp_ = "";
ppsj_ = "";
ptpl_ = "";
ptpln_ = "";
pvid_ = "";
pvidS_ = "";
rdid_ = "";
idtype_ = "";
vadType_ = "";
vpos_ = "";
}
private int bitField0_;
private int bitField1_;
private int bitField2_;
public static final int ENV_FIELD_NUMBER = 1;
private java.lang.String env_;
/**
*
* Environment
*
*
* optional string env = 1 [json_name = "env"];
* @return Whether the env field is set.
*/
@java.lang.Override
public boolean hasEnv() {
return ((bitField0_ & 0x00000001) != 0);
}
/**
*
* Environment
*
*
* optional string env = 1 [json_name = "env"];
* @return The env.
*/
@java.lang.Override
public java.lang.String getEnv() {
return env_;
}
/**
*
* Environment
*
*
* optional string env = 1 [json_name = "env"];
* @return The bytes for env.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getEnvBytes() {
return com.google.protobuf.ByteString.copyFromUtf8(env_);
}
/**
*
* Environment
*
*
* optional string env = 1 [json_name = "env"];
* @param value The env to set.
*/
private void setEnv(
java.lang.String value) {
java.lang.Class> valueClass = value.getClass();
bitField0_ |= 0x00000001;
env_ = value;
}
/**
*
* Environment
*
*
* optional string env = 1 [json_name = "env"];
*/
private void clearEnv() {
bitField0_ = (bitField0_ & ~0x00000001);
env_ = getDefaultInstance().getEnv();
}
/**
*
* Environment
*
*
* optional string env = 1 [json_name = "env"];
* @param value The bytes for env to set.
*/
private void setEnvBytes(
com.google.protobuf.ByteString value) {
checkByteStringIsUtf8(value);
env_ = value.toStringUtf8();
bitField0_ |= 0x00000001;
}
public static final int GDFP_REQ_FIELD_NUMBER = 2;
private int gdfpReq_;
/**
*
* ad manager schema (e.g. gdfp_req=1)
*
*
* optional int32 gdfp_req = 2 [json_name = "gdfpReq"];
* @return Whether the gdfpReq field is set.
*/
@java.lang.Override
public boolean hasGdfpReq() {
return ((bitField0_ & 0x00000002) != 0);
}
/**
*
* ad manager schema (e.g. gdfp_req=1)
*
*
* optional int32 gdfp_req = 2 [json_name = "gdfpReq"];
* @return The gdfpReq.
*/
@java.lang.Override
public int getGdfpReq() {
return gdfpReq_;
}
/**
*
* ad manager schema (e.g. gdfp_req=1)
*
*
* optional int32 gdfp_req = 2 [json_name = "gdfpReq"];
* @param value The gdfpReq to set.
*/
private void setGdfpReq(int value) {
bitField0_ |= 0x00000002;
gdfpReq_ = value;
}
/**
*
* ad manager schema (e.g. gdfp_req=1)
*
*
* optional int32 gdfp_req = 2 [json_name = "gdfpReq"];
*/
private void clearGdfpReq() {
bitField0_ = (bitField0_ & ~0x00000002);
gdfpReq_ = 0;
}
public static final int IU_FIELD_NUMBER = 3;
private java.lang.String iu_;
/**
*
* Ad unit path (e.g., "iu=/6062/videodemo")
*
*
* optional string iu = 3 [json_name = "iu"];
* @return Whether the iu field is set.
*/
@java.lang.Override
public boolean hasIu() {
return ((bitField0_ & 0x00000004) != 0);
}
/**
*
* Ad unit path (e.g., "iu=/6062/videodemo")
*
*
* optional string iu = 3 [json_name = "iu"];
* @return The iu.
*/
@java.lang.Override
public java.lang.String getIu() {
return iu_;
}
/**
*
* Ad unit path (e.g., "iu=/6062/videodemo")
*
*
* optional string iu = 3 [json_name = "iu"];
* @return The bytes for iu.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getIuBytes() {
return com.google.protobuf.ByteString.copyFromUtf8(iu_);
}
/**
*
* Ad unit path (e.g., "iu=/6062/videodemo")
*
*
* optional string iu = 3 [json_name = "iu"];
* @param value The iu to set.
*/
private void setIu(
java.lang.String value) {
java.lang.Class> valueClass = value.getClass();
bitField0_ |= 0x00000004;
iu_ = value;
}
/**
*
* Ad unit path (e.g., "iu=/6062/videodemo")
*
*
* optional string iu = 3 [json_name = "iu"];
*/
private void clearIu() {
bitField0_ = (bitField0_ & ~0x00000004);
iu_ = getDefaultInstance().getIu();
}
/**
*
* Ad unit path (e.g., "iu=/6062/videodemo")
*
*
* optional string iu = 3 [json_name = "iu"];
* @param value The bytes for iu to set.
*/
private void setIuBytes(
com.google.protobuf.ByteString value) {
checkByteStringIsUtf8(value);
iu_ = value.toStringUtf8();
bitField0_ |= 0x00000004;
}
public static final int OUTPUT_FIELD_NUMBER = 4;
private java.lang.String output_;
/**
*
* Output format of the ad (e.g., "vast", "xml_vast4")
*
*
* optional string output = 4 [json_name = "output"];
* @return Whether the output field is set.
*/
@java.lang.Override
public boolean hasOutput() {
return ((bitField0_ & 0x00000008) != 0);
}
/**
*
* Output format of the ad (e.g., "vast", "xml_vast4")
*
*
* optional string output = 4 [json_name = "output"];
* @return The output.
*/
@java.lang.Override
public java.lang.String getOutput() {
return output_;
}
/**
*
* Output format of the ad (e.g., "vast", "xml_vast4")
*
*
* optional string output = 4 [json_name = "output"];
* @return The bytes for output.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getOutputBytes() {
return com.google.protobuf.ByteString.copyFromUtf8(output_);
}
/**
*
* Output format of the ad (e.g., "vast", "xml_vast4")
*
*
* optional string output = 4 [json_name = "output"];
* @param value The output to set.
*/
private void setOutput(
java.lang.String value) {
java.lang.Class> valueClass = value.getClass();
bitField0_ |= 0x00000008;
output_ = value;
}
/**
*
* Output format of the ad (e.g., "vast", "xml_vast4")
*
*
* optional string output = 4 [json_name = "output"];
*/
private void clearOutput() {
bitField0_ = (bitField0_ & ~0x00000008);
output_ = getDefaultInstance().getOutput();
}
/**
*
* Output format of the ad (e.g., "vast", "xml_vast4")
*
*
* optional string output = 4 [json_name = "output"];
* @param value The bytes for output to set.
*/
private void setOutputBytes(
com.google.protobuf.ByteString value) {
checkByteStringIsUtf8(value);
output_ = value.toStringUtf8();
bitField0_ |= 0x00000008;
}
public static final int SZ_FIELD_NUMBER = 5;
private java.lang.String sz_;
/**
*
* Primary ad size (e.g., "400x300")
*
*
* optional string sz = 5 [json_name = "sz"];
* @return Whether the sz field is set.
*/
@java.lang.Override
public boolean hasSz() {
return ((bitField0_ & 0x00000010) != 0);
}
/**
*
* Primary ad size (e.g., "400x300")
*
*
* optional string sz = 5 [json_name = "sz"];
* @return The sz.
*/
@java.lang.Override
public java.lang.String getSz() {
return sz_;
}
/**
*
* Primary ad size (e.g., "400x300")
*
*
* optional string sz = 5 [json_name = "sz"];
* @return The bytes for sz.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getSzBytes() {
return com.google.protobuf.ByteString.copyFromUtf8(sz_);
}
/**
*
* Primary ad size (e.g., "400x300")
*
*
* optional string sz = 5 [json_name = "sz"];
* @param value The sz to set.
*/
private void setSz(
java.lang.String value) {
java.lang.Class> valueClass = value.getClass();
bitField0_ |= 0x00000010;
sz_ = value;
}
/**
*
* Primary ad size (e.g., "400x300")
*
*
* optional string sz = 5 [json_name = "sz"];
*/
private void clearSz() {
bitField0_ = (bitField0_ & ~0x00000010);
sz_ = getDefaultInstance().getSz();
}
/**
*
* Primary ad size (e.g., "400x300")
*
*
* optional string sz = 5 [json_name = "sz"];
* @param value The bytes for sz to set.
*/
private void setSzBytes(
com.google.protobuf.ByteString value) {
checkByteStringIsUtf8(value);
sz_ = value.toStringUtf8();
bitField0_ |= 0x00000010;
}
public static final int UNVIEWED_POSITION_START_FIELD_NUMBER = 6;
private int unviewedPositionStart_;
/**
*
* The delayed impressions parameter (e.g., unviewed_position_start=1)
*
*
* optional int32 unviewed_position_start = 6 [json_name = "unviewedPositionStart"];
* @return Whether the unviewedPositionStart field is set.
*/
@java.lang.Override
public boolean hasUnviewedPositionStart() {
return ((bitField0_ & 0x00000020) != 0);
}
/**
*
* The delayed impressions parameter (e.g., unviewed_position_start=1)
*
*
* optional int32 unviewed_position_start = 6 [json_name = "unviewedPositionStart"];
* @return The unviewedPositionStart.
*/
@java.lang.Override
public int getUnviewedPositionStart() {
return unviewedPositionStart_;
}
/**
*
* The delayed impressions parameter (e.g., unviewed_position_start=1)
*
*
* optional int32 unviewed_position_start = 6 [json_name = "unviewedPositionStart"];
* @param value The unviewedPositionStart to set.
*/
private void setUnviewedPositionStart(int value) {
bitField0_ |= 0x00000020;
unviewedPositionStart_ = value;
}
/**
*
* The delayed impressions parameter (e.g., unviewed_position_start=1)
*
*
* optional int32 unviewed_position_start = 6 [json_name = "unviewedPositionStart"];
*/
private void clearUnviewedPositionStart() {
bitField0_ = (bitField0_ & ~0x00000020);
unviewedPositionStart_ = 0;
}
public static final int CIU_SZS_FIELD_NUMBER = 7;
private com.google.protobuf.Internal.ProtobufList ciuSzs_;
/**
*
* Companion ad sizes (e.g., "728x90", "300x250")
*
*
* repeated string ciu_szs = 7 [json_name = "ciuSzs"];
* @return A list containing the ciuSzs.
*/
@java.lang.Override
public java.util.List getCiuSzsList() {
return ciuSzs_;
}
/**
*
* Companion ad sizes (e.g., "728x90", "300x250")
*
*
* repeated string ciu_szs = 7 [json_name = "ciuSzs"];
* @return The count of ciuSzs.
*/
@java.lang.Override
public int getCiuSzsCount() {
return ciuSzs_.size();
}
/**
*
* Companion ad sizes (e.g., "728x90", "300x250")
*
*
* repeated string ciu_szs = 7 [json_name = "ciuSzs"];
* @param index The index of the element to return.
* @return The ciuSzs at the given index.
*/
@java.lang.Override
public java.lang.String getCiuSzs(int index) {
return ciuSzs_.get(index);
}
/**
*
* Companion ad sizes (e.g., "728x90", "300x250")
*
*
* repeated string ciu_szs = 7 [json_name = "ciuSzs"];
* @param index The index of the value to return.
* @return The bytes of the ciuSzs at the given index.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getCiuSzsBytes(int index) {
return com.google.protobuf.ByteString.copyFromUtf8(
ciuSzs_.get(index));
}
private void ensureCiuSzsIsMutable() {
com.google.protobuf.Internal.ProtobufList tmp =
ciuSzs_; if (!tmp.isModifiable()) {
ciuSzs_ =
com.google.protobuf.GeneratedMessageLite.mutableCopy(tmp);
}
}
/**
*
* Companion ad sizes (e.g., "728x90", "300x250")
*
*
* repeated string ciu_szs = 7 [json_name = "ciuSzs"];
* @param index The index to set the value at.
* @param value The ciuSzs to set.
*/
private void setCiuSzs(
int index, java.lang.String value) {
java.lang.Class> valueClass = value.getClass();
ensureCiuSzsIsMutable();
ciuSzs_.set(index, value);
}
/**
*
* Companion ad sizes (e.g., "728x90", "300x250")
*
*
* repeated string ciu_szs = 7 [json_name = "ciuSzs"];
* @param value The ciuSzs to add.
*/
private void addCiuSzs(
java.lang.String value) {
java.lang.Class> valueClass = value.getClass();
ensureCiuSzsIsMutable();
ciuSzs_.add(value);
}
/**
*
* Companion ad sizes (e.g., "728x90", "300x250")
*
*
* repeated string ciu_szs = 7 [json_name = "ciuSzs"];
* @param values The ciuSzs to add.
*/
private void addAllCiuSzs(
java.lang.Iterable values) {
ensureCiuSzsIsMutable();
com.google.protobuf.AbstractMessageLite.addAll(
values, ciuSzs_);
}
/**
*
* Companion ad sizes (e.g., "728x90", "300x250")
*
*
* repeated string ciu_szs = 7 [json_name = "ciuSzs"];
*/
private void clearCiuSzs() {
ciuSzs_ = com.google.protobuf.GeneratedMessageLite.emptyProtobufList();
}
/**
*
* Companion ad sizes (e.g., "728x90", "300x250")
*
*
* repeated string ciu_szs = 7 [json_name = "ciuSzs"];
* @param value The bytes of the ciuSzs to add.
*/
private void addCiuSzsBytes(
com.google.protobuf.ByteString value) {
checkByteStringIsUtf8(value);
ensureCiuSzsIsMutable();
ciuSzs_.add(value.toStringUtf8());
}
public static final int URL_FIELD_NUMBER = 8;
private java.lang.String url_;
/**
*
* The URL from which the ad request is sent
*
*
* optional string url = 8 [json_name = "url"];
* @return Whether the url field is set.
*/
@java.lang.Override
public boolean hasUrl() {
return ((bitField0_ & 0x00000040) != 0);
}
/**
*
* The URL from which the ad request is sent
*
*
* optional string url = 8 [json_name = "url"];
* @return The url.
*/
@java.lang.Override
public java.lang.String getUrl() {
return url_;
}
/**
*
* The URL from which the ad request is sent
*
*
* optional string url = 8 [json_name = "url"];
* @return The bytes for url.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getUrlBytes() {
return com.google.protobuf.ByteString.copyFromUtf8(url_);
}
/**
*
* The URL from which the ad request is sent
*
*
* optional string url = 8 [json_name = "url"];
* @param value The url to set.
*/
private void setUrl(
java.lang.String value) {
java.lang.Class> valueClass = value.getClass();
bitField0_ |= 0x00000040;
url_ = value;
}
/**
*
* The URL from which the ad request is sent
*
*
* optional string url = 8 [json_name = "url"];
*/
private void clearUrl() {
bitField0_ = (bitField0_ & ~0x00000040);
url_ = getDefaultInstance().getUrl();
}
/**
*
* The URL from which the ad request is sent
*
*
* optional string url = 8 [json_name = "url"];
* @param value The bytes for url to set.
*/
private void setUrlBytes(
com.google.protobuf.ByteString value) {
checkByteStringIsUtf8(value);
url_ = value.toStringUtf8();
bitField0_ |= 0x00000040;
}
public static final int DESCRIPTION_URL_FIELD_NUMBER = 9;
private java.lang.String descriptionUrl_;
/**
*
* URL describing the video content
*
*
* optional string description_url = 9 [json_name = "descriptionUrl"];
* @return Whether the descriptionUrl field is set.
*/
@java.lang.Override
public boolean hasDescriptionUrl() {
return ((bitField0_ & 0x00000080) != 0);
}
/**
*
* URL describing the video content
*
*
* optional string description_url = 9 [json_name = "descriptionUrl"];
* @return The descriptionUrl.
*/
@java.lang.Override
public java.lang.String getDescriptionUrl() {
return descriptionUrl_;
}
/**
*
* URL describing the video content
*
*
* optional string description_url = 9 [json_name = "descriptionUrl"];
* @return The bytes for descriptionUrl.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getDescriptionUrlBytes() {
return com.google.protobuf.ByteString.copyFromUtf8(descriptionUrl_);
}
/**
*
* URL describing the video content
*
*
* optional string description_url = 9 [json_name = "descriptionUrl"];
* @param value The descriptionUrl to set.
*/
private void setDescriptionUrl(
java.lang.String value) {
java.lang.Class> valueClass = value.getClass();
bitField0_ |= 0x00000080;
descriptionUrl_ = value;
}
/**
*
* URL describing the video content
*
*
* optional string description_url = 9 [json_name = "descriptionUrl"];
*/
private void clearDescriptionUrl() {
bitField0_ = (bitField0_ & ~0x00000080);
descriptionUrl_ = getDefaultInstance().getDescriptionUrl();
}
/**
*
* URL describing the video content
*
*
* optional string description_url = 9 [json_name = "descriptionUrl"];
* @param value The bytes for descriptionUrl to set.
*/
private void setDescriptionUrlBytes(
com.google.protobuf.ByteString value) {
checkByteStringIsUtf8(value);
descriptionUrl_ = value.toStringUtf8();
bitField0_ |= 0x00000080;
}
public static final int CORRELATOR_FIELD_NUMBER = 10;
private java.lang.String correlator_;
/**
*
* Shared value for competitive exclusions across multiple requests (e.g., correlator=4345645667)
*
*
* optional string correlator = 10 [json_name = "correlator"];
* @return Whether the correlator field is set.
*/
@java.lang.Override
public boolean hasCorrelator() {
return ((bitField0_ & 0x00000100) != 0);
}
/**
*
* Shared value for competitive exclusions across multiple requests (e.g., correlator=4345645667)
*
*
* optional string correlator = 10 [json_name = "correlator"];
* @return The correlator.
*/
@java.lang.Override
public java.lang.String getCorrelator() {
return correlator_;
}
/**
*
* Shared value for competitive exclusions across multiple requests (e.g., correlator=4345645667)
*
*
* optional string correlator = 10 [json_name = "correlator"];
* @return The bytes for correlator.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getCorrelatorBytes() {
return com.google.protobuf.ByteString.copyFromUtf8(correlator_);
}
/**
*
* Shared value for competitive exclusions across multiple requests (e.g., correlator=4345645667)
*
*
* optional string correlator = 10 [json_name = "correlator"];
* @param value The correlator to set.
*/
private void setCorrelator(
java.lang.String value) {
java.lang.Class> valueClass = value.getClass();
bitField0_ |= 0x00000100;
correlator_ = value;
}
/**
*
* Shared value for competitive exclusions across multiple requests (e.g., correlator=4345645667)
*
*
* optional string correlator = 10 [json_name = "correlator"];
*/
private void clearCorrelator() {
bitField0_ = (bitField0_ & ~0x00000100);
correlator_ = getDefaultInstance().getCorrelator();
}
/**
*
* Shared value for competitive exclusions across multiple requests (e.g., correlator=4345645667)
*
*
* optional string correlator = 10 [json_name = "correlator"];
* @param value The bytes for correlator to set.
*/
private void setCorrelatorBytes(
com.google.protobuf.ByteString value) {
checkByteStringIsUtf8(value);
correlator_ = value.toStringUtf8();
bitField0_ |= 0x00000100;
}
public static final int CUST_PARAMS_FIELD_NUMBER = 11;
private static final class CustParamsDefaultEntryHolder {
static final com.google.protobuf.MapEntryLite<
java.lang.String, java.lang.String> defaultEntry =
com.google.protobuf.MapEntryLite
.newDefaultInstance(
com.google.protobuf.WireFormat.FieldType.STRING,
"",
com.google.protobuf.WireFormat.FieldType.STRING,
"");
}
private com.google.protobuf.MapFieldLite<
java.lang.String, java.lang.String> custParams_ =
com.google.protobuf.MapFieldLite.emptyMapField();
private com.google.protobuf.MapFieldLite
internalGetCustParams() {
return custParams_;
}
private com.google.protobuf.MapFieldLite
internalGetMutableCustParams() {
if (!custParams_.isMutable()) {
custParams_ = custParams_.mutableCopy();
}
return custParams_;
}
@java.lang.Override
public int getCustParamsCount() {
return internalGetCustParams().size();
}
/**
*
* Custom key-value pairs for targeting
*
*
* map<string, string> cust_params = 11 [json_name = "custParams"];
*/
@java.lang.Override
public boolean containsCustParams(
java.lang.String key) {
java.lang.Class> keyClass = key.getClass();
return internalGetCustParams().containsKey(key);
}
/**
* Use {@link #getCustParamsMap()} instead.
*/
@java.lang.Override
@java.lang.Deprecated
public java.util.Map getCustParams() {
return getCustParamsMap();
}
/**
*
* Custom key-value pairs for targeting
*
*
* map<string, string> cust_params = 11 [json_name = "custParams"];
*/
@java.lang.Override
public java.util.Map getCustParamsMap() {
return java.util.Collections.unmodifiableMap(
internalGetCustParams());
}
/**
*
* Custom key-value pairs for targeting
*
*
* map<string, string> cust_params = 11 [json_name = "custParams"];
*/
@java.lang.Override
public /* nullable */
java.lang.String getCustParamsOrDefault(
java.lang.String key,
/* nullable */
java.lang.String defaultValue) {
java.lang.Class> keyClass = key.getClass();
java.util.Map map =
internalGetCustParams();
return map.containsKey(key) ? map.get(key) : defaultValue;
}
/**
*
* Custom key-value pairs for targeting
*
*
* map<string, string> cust_params = 11 [json_name = "custParams"];
*/
@java.lang.Override
public java.lang.String getCustParamsOrThrow(
java.lang.String key) {
java.lang.Class> keyClass = key.getClass();
java.util.Map map =
internalGetCustParams();
if (!map.containsKey(key)) {
throw new java.lang.IllegalArgumentException();
}
return map.get(key);
}
/**
*
* Custom key-value pairs for targeting
*
*
* map<string, string> cust_params = 11 [json_name = "custParams"];
*/
private java.util.Map
getMutableCustParamsMap() {
return internalGetMutableCustParams();
}
public static final int PLCMT_FIELD_NUMBER = 12;
private int plcmt_;
/**
*
* Placement type (e.g., plcmt=1 for in-stream)
*
*
* optional int32 plcmt = 12 [json_name = "plcmt"];
* @return Whether the plcmt field is set.
*/
@java.lang.Override
public boolean hasPlcmt() {
return ((bitField0_ & 0x00000200) != 0);
}
/**
*
* Placement type (e.g., plcmt=1 for in-stream)
*
*
* optional int32 plcmt = 12 [json_name = "plcmt"];
* @return The plcmt.
*/
@java.lang.Override
public int getPlcmt() {
return plcmt_;
}
/**
*
* Placement type (e.g., plcmt=1 for in-stream)
*
*
* optional int32 plcmt = 12 [json_name = "plcmt"];
* @param value The plcmt to set.
*/
private void setPlcmt(int value) {
bitField0_ |= 0x00000200;
plcmt_ = value;
}
/**
*
* Placement type (e.g., plcmt=1 for in-stream)
*
*
* optional int32 plcmt = 12 [json_name = "plcmt"];
*/
private void clearPlcmt() {
bitField0_ = (bitField0_ & ~0x00000200);
plcmt_ = 0;
}
public static final int VPA_FIELD_NUMBER = 13;
private java.lang.String vpa_;
/**
*
* Video play automatic (e.g., vpa=auto)
*
*
* optional string vpa = 13 [json_name = "vpa"];
* @return Whether the vpa field is set.
*/
@java.lang.Override
public boolean hasVpa() {
return ((bitField0_ & 0x00000400) != 0);
}
/**
*
* Video play automatic (e.g., vpa=auto)
*
*
* optional string vpa = 13 [json_name = "vpa"];
* @return The vpa.
*/
@java.lang.Override
public java.lang.String getVpa() {
return vpa_;
}
/**
*
* Video play automatic (e.g., vpa=auto)
*
*
* optional string vpa = 13 [json_name = "vpa"];
* @return The bytes for vpa.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getVpaBytes() {
return com.google.protobuf.ByteString.copyFromUtf8(vpa_);
}
/**
*
* Video play automatic (e.g., vpa=auto)
*
*
* optional string vpa = 13 [json_name = "vpa"];
* @param value The vpa to set.
*/
private void setVpa(
java.lang.String value) {
java.lang.Class> valueClass = value.getClass();
bitField0_ |= 0x00000400;
vpa_ = value;
}
/**
*
* Video play automatic (e.g., vpa=auto)
*
*
* optional string vpa = 13 [json_name = "vpa"];
*/
private void clearVpa() {
bitField0_ = (bitField0_ & ~0x00000400);
vpa_ = getDefaultInstance().getVpa();
}
/**
*
* Video play automatic (e.g., vpa=auto)
*
*
* optional string vpa = 13 [json_name = "vpa"];
* @param value The bytes for vpa to set.
*/
private void setVpaBytes(
com.google.protobuf.ByteString value) {
checkByteStringIsUtf8(value);
vpa_ = value.toStringUtf8();
bitField0_ |= 0x00000400;
}
public static final int VPMUTE_FIELD_NUMBER = 14;
private int vpmute_;
/**
*
* Video play mute status (e.g., vpmute=1 for muted)
*
*
* optional int32 vpmute = 14 [json_name = "vpmute"];
* @return Whether the vpmute field is set.
*/
@java.lang.Override
public boolean hasVpmute() {
return ((bitField0_ & 0x00000800) != 0);
}
/**
*
* Video play mute status (e.g., vpmute=1 for muted)
*
*
* optional int32 vpmute = 14 [json_name = "vpmute"];
* @return The vpmute.
*/
@java.lang.Override
public int getVpmute() {
return vpmute_;
}
/**
*
* Video play mute status (e.g., vpmute=1 for muted)
*
*
* optional int32 vpmute = 14 [json_name = "vpmute"];
* @param value The vpmute to set.
*/
private void setVpmute(int value) {
bitField0_ |= 0x00000800;
vpmute_ = value;
}
/**
*
* Video play mute status (e.g., vpmute=1 for muted)
*
*
* optional int32 vpmute = 14 [json_name = "vpmute"];
*/
private void clearVpmute() {
bitField0_ = (bitField0_ & ~0x00000800);
vpmute_ = 0;
}
public static final int WTA_FIELD_NUMBER = 15;
private int wta_;
/**
*
* "Why this ad?" parameter (e.g., wta=1)
*
*
* optional int32 wta = 15 [json_name = "wta"];
* @return Whether the wta field is set.
*/
@java.lang.Override
public boolean hasWta() {
return ((bitField0_ & 0x00001000) != 0);
}
/**
*
* "Why this ad?" parameter (e.g., wta=1)
*
*
* optional int32 wta = 15 [json_name = "wta"];
* @return The wta.
*/
@java.lang.Override
public int getWta() {
return wta_;
}
/**
*
* "Why this ad?" parameter (e.g., wta=1)
*
*
* optional int32 wta = 15 [json_name = "wta"];
* @param value The wta to set.
*/
private void setWta(int value) {
bitField0_ |= 0x00001000;
wta_ = value;
}
/**
*
* "Why this ad?" parameter (e.g., wta=1)
*
*
* optional int32 wta = 15 [json_name = "wta"];
*/
private void clearWta() {
bitField0_ = (bitField0_ & ~0x00001000);
wta_ = 0;
}
public static final int ACONP_FIELD_NUMBER = 16;
private int aconp_;
/**
*
* Audio continuous play (e.g., aconp=2)
*
*
* optional int32 aconp = 16 [json_name = "aconp"];
* @return Whether the aconp field is set.
*/
@java.lang.Override
public boolean hasAconp() {
return ((bitField0_ & 0x00002000) != 0);
}
/**
*
* Audio continuous play (e.g., aconp=2)
*
*
* optional int32 aconp = 16 [json_name = "aconp"];
* @return The aconp.
*/
@java.lang.Override
public int getAconp() {
return aconp_;
}
/**
*
* Audio continuous play (e.g., aconp=2)
*
*
* optional int32 aconp = 16 [json_name = "aconp"];
* @param value The aconp to set.
*/
private void setAconp(int value) {
bitField0_ |= 0x00002000;
aconp_ = value;
}
/**
*
* Audio continuous play (e.g., aconp=2)
*
*
* optional int32 aconp = 16 [json_name = "aconp"];
*/
private void clearAconp() {
bitField0_ = (bitField0_ & ~0x00002000);
aconp_ = 0;
}
public static final int AD_RULE_FIELD_NUMBER = 17;
private int adRule_;
/**
*
* Ad rule type (e.g., ad_rule=0 for VAST creative)
*
*
* optional int32 ad_rule = 17 [json_name = "adRule"];
* @return Whether the adRule field is set.
*/
@java.lang.Override
public boolean hasAdRule() {
return ((bitField0_ & 0x00004000) != 0);
}
/**
*
* Ad rule type (e.g., ad_rule=0 for VAST creative)
*
*
* optional int32 ad_rule = 17 [json_name = "adRule"];
* @return The adRule.
*/
@java.lang.Override
public int getAdRule() {
return adRule_;
}
/**
*
* Ad rule type (e.g., ad_rule=0 for VAST creative)
*
*
* optional int32 ad_rule = 17 [json_name = "adRule"];
* @param value The adRule to set.
*/
private void setAdRule(int value) {
bitField0_ |= 0x00004000;
adRule_ = value;
}
/**
*
* Ad rule type (e.g., ad_rule=0 for VAST creative)
*
*
* optional int32 ad_rule = 17 [json_name = "adRule"];
*/
private void clearAdRule() {
bitField0_ = (bitField0_ & ~0x00004000);
adRule_ = 0;
}
public static final int AD_TYPE_FIELD_NUMBER = 18;
private java.lang.String adType_;
/**
*
* Ad type (e.g., ad_type=video)
*
*
* optional string ad_type = 18 [json_name = "adType"];
* @return Whether the adType field is set.
*/
@java.lang.Override
public boolean hasAdType() {
return ((bitField0_ & 0x00008000) != 0);
}
/**
*
* Ad type (e.g., ad_type=video)
*
*
* optional string ad_type = 18 [json_name = "adType"];
* @return The adType.
*/
@java.lang.Override
public java.lang.String getAdType() {
return adType_;
}
/**
*
* Ad type (e.g., ad_type=video)
*
*
* optional string ad_type = 18 [json_name = "adType"];
* @return The bytes for adType.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getAdTypeBytes() {
return com.google.protobuf.ByteString.copyFromUtf8(adType_);
}
/**
*
* Ad type (e.g., ad_type=video)
*
*
* optional string ad_type = 18 [json_name = "adType"];
* @param value The adType to set.
*/
private void setAdType(
java.lang.String value) {
java.lang.Class> valueClass = value.getClass();
bitField0_ |= 0x00008000;
adType_ = value;
}
/**
*
* Ad type (e.g., ad_type=video)
*
*
* optional string ad_type = 18 [json_name = "adType"];
*/
private void clearAdType() {
bitField0_ = (bitField0_ & ~0x00008000);
adType_ = getDefaultInstance().getAdType();
}
/**
*
* Ad type (e.g., ad_type=video)
*
*
* optional string ad_type = 18 [json_name = "adType"];
* @param value The bytes for adType to set.
*/
private void setAdTypeBytes(
com.google.protobuf.ByteString value) {
checkByteStringIsUtf8(value);
adType_ = value.toStringUtf8();
bitField0_ |= 0x00008000;
}
public static final int HL_FIELD_NUMBER = 19;
private java.lang.String hl_;
/**
*
* Language of the ad request (e.g., hl=en)
*
*
* optional string hl = 19 [json_name = "hl"];
* @return Whether the hl field is set.
*/
@java.lang.Override
public boolean hasHl() {
return ((bitField0_ & 0x00010000) != 0);
}
/**
*
* Language of the ad request (e.g., hl=en)
*
*
* optional string hl = 19 [json_name = "hl"];
* @return The hl.
*/
@java.lang.Override
public java.lang.String getHl() {
return hl_;
}
/**
*
* Language of the ad request (e.g., hl=en)
*
*
* optional string hl = 19 [json_name = "hl"];
* @return The bytes for hl.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getHlBytes() {
return com.google.protobuf.ByteString.copyFromUtf8(hl_);
}
/**
*
* Language of the ad request (e.g., hl=en)
*
*
* optional string hl = 19 [json_name = "hl"];
* @param value The hl to set.
*/
private void setHl(
java.lang.String value) {
java.lang.Class> valueClass = value.getClass();
bitField0_ |= 0x00010000;
hl_ = value;
}
/**
*
* Language of the ad request (e.g., hl=en)
*
*
* optional string hl = 19 [json_name = "hl"];
*/
private void clearHl() {
bitField0_ = (bitField0_ & ~0x00010000);
hl_ = getDefaultInstance().getHl();
}
/**
*
* Language of the ad request (e.g., hl=en)
*
*
* optional string hl = 19 [json_name = "hl"];
* @param value The bytes for hl to set.
*/
private void setHlBytes(
com.google.protobuf.ByteString value) {
checkByteStringIsUtf8(value);
hl_ = value.toStringUtf8();
bitField0_ |= 0x00010000;
}
public static final int DTH_FIELD_NUMBER = 20;
private int dth_;
/**
*
* Device type hint (e.g., dth=5)
*
*
* optional int32 dth = 20 [json_name = "dth"];
* @return Whether the dth field is set.
*/
@java.lang.Override
public boolean hasDth() {
return ((bitField0_ & 0x00020000) != 0);
}
/**
*
* Device type hint (e.g., dth=5)
*
*
* optional int32 dth = 20 [json_name = "dth"];
* @return The dth.
*/
@java.lang.Override
public int getDth() {
return dth_;
}
/**
*
* Device type hint (e.g., dth=5)
*
*
* optional int32 dth = 20 [json_name = "dth"];
* @param value The dth to set.
*/
private void setDth(int value) {
bitField0_ |= 0x00020000;
dth_ = value;
}
/**
*
* Device type hint (e.g., dth=5)
*
*
* optional int32 dth = 20 [json_name = "dth"];
*/
private void clearDth() {
bitField0_ = (bitField0_ & ~0x00020000);
dth_ = 0;
}
public static final int GDPR_FIELD_NUMBER = 21;
private int gdpr_;
/**
*
* GDPR parameter (e.g., gdpr=1)
*
*
* optional int32 gdpr = 21 [json_name = "gdpr"];
* @return Whether the gdpr field is set.
*/
@java.lang.Override
public boolean hasGdpr() {
return ((bitField0_ & 0x00040000) != 0);
}
/**
*
* GDPR parameter (e.g., gdpr=1)
*
*
* optional int32 gdpr = 21 [json_name = "gdpr"];
* @return The gdpr.
*/
@java.lang.Override
public int getGdpr() {
return gdpr_;
}
/**
*
* GDPR parameter (e.g., gdpr=1)
*
*
* optional int32 gdpr = 21 [json_name = "gdpr"];
* @param value The gdpr to set.
*/
private void setGdpr(int value) {
bitField0_ |= 0x00040000;
gdpr_ = value;
}
/**
*
* GDPR parameter (e.g., gdpr=1)
*
*
* optional int32 gdpr = 21 [json_name = "gdpr"];
*/
private void clearGdpr() {
bitField0_ = (bitField0_ & ~0x00040000);
gdpr_ = 0;
}
public static final int GDPR_CONSENT_FIELD_NUMBER = 22;
private java.lang.String gdprConsent_;
/**
*
* GDPR consent string (e.g., gdpr_consent=GDPR_CONSENT_123)
*
*
* optional string gdpr_consent = 22 [json_name = "gdprConsent"];
* @return Whether the gdprConsent field is set.
*/
@java.lang.Override
public boolean hasGdprConsent() {
return ((bitField0_ & 0x00080000) != 0);
}
/**
*
* GDPR consent string (e.g., gdpr_consent=GDPR_CONSENT_123)
*
*
* optional string gdpr_consent = 22 [json_name = "gdprConsent"];
* @return The gdprConsent.
*/
@java.lang.Override
public java.lang.String getGdprConsent() {
return gdprConsent_;
}
/**
*
* GDPR consent string (e.g., gdpr_consent=GDPR_CONSENT_123)
*
*
* optional string gdpr_consent = 22 [json_name = "gdprConsent"];
* @return The bytes for gdprConsent.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getGdprConsentBytes() {
return com.google.protobuf.ByteString.copyFromUtf8(gdprConsent_);
}
/**
*
* GDPR consent string (e.g., gdpr_consent=GDPR_CONSENT_123)
*
*
* optional string gdpr_consent = 22 [json_name = "gdprConsent"];
* @param value The gdprConsent to set.
*/
private void setGdprConsent(
java.lang.String value) {
java.lang.Class> valueClass = value.getClass();
bitField0_ |= 0x00080000;
gdprConsent_ = value;
}
/**
*
* GDPR consent string (e.g., gdpr_consent=GDPR_CONSENT_123)
*
*
* optional string gdpr_consent = 22 [json_name = "gdprConsent"];
*/
private void clearGdprConsent() {
bitField0_ = (bitField0_ & ~0x00080000);
gdprConsent_ = getDefaultInstance().getGdprConsent();
}
/**
*
* GDPR consent string (e.g., gdpr_consent=GDPR_CONSENT_123)
*
*
* optional string gdpr_consent = 22 [json_name = "gdprConsent"];
* @param value The bytes for gdprConsent to set.
*/
private void setGdprConsentBytes(
com.google.protobuf.ByteString value) {
checkByteStringIsUtf8(value);
gdprConsent_ = value.toStringUtf8();
bitField0_ |= 0x00080000;
}
public static final int IABEXCL_FIELD_NUMBER = 23;
private java.lang.String iabexcl_;
/**
*
* IAB exclusion categories (e.g., iabexcl=3,14,527)
*
*
* optional string iabexcl = 23 [json_name = "iabexcl"];
* @return Whether the iabexcl field is set.
*/
@java.lang.Override
public boolean hasIabexcl() {
return ((bitField0_ & 0x00100000) != 0);
}
/**
*
* IAB exclusion categories (e.g., iabexcl=3,14,527)
*
*
* optional string iabexcl = 23 [json_name = "iabexcl"];
* @return The iabexcl.
*/
@java.lang.Override
public java.lang.String getIabexcl() {
return iabexcl_;
}
/**
*
* IAB exclusion categories (e.g., iabexcl=3,14,527)
*
*
* optional string iabexcl = 23 [json_name = "iabexcl"];
* @return The bytes for iabexcl.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getIabexclBytes() {
return com.google.protobuf.ByteString.copyFromUtf8(iabexcl_);
}
/**
*
* IAB exclusion categories (e.g., iabexcl=3,14,527)
*
*
* optional string iabexcl = 23 [json_name = "iabexcl"];
* @param value The iabexcl to set.
*/
private void setIabexcl(
java.lang.String value) {
java.lang.Class> valueClass = value.getClass();
bitField0_ |= 0x00100000;
iabexcl_ = value;
}
/**
*
* IAB exclusion categories (e.g., iabexcl=3,14,527)
*
*
* optional string iabexcl = 23 [json_name = "iabexcl"];
*/
private void clearIabexcl() {
bitField0_ = (bitField0_ & ~0x00100000);
iabexcl_ = getDefaultInstance().getIabexcl();
}
/**
*
* IAB exclusion categories (e.g., iabexcl=3,14,527)
*
*
* optional string iabexcl = 23 [json_name = "iabexcl"];
* @param value The bytes for iabexcl to set.
*/
private void setIabexclBytes(
com.google.protobuf.ByteString value) {
checkByteStringIsUtf8(value);
iabexcl_ = value.toStringUtf8();
bitField0_ |= 0x00100000;
}
public static final int LIP_FIELD_NUMBER = 24;
private boolean lip_;
/**
*
* Last position in pod (e.g., lip=true)
*
*
* optional bool lip = 24 [json_name = "lip"];
* @return Whether the lip field is set.
*/
@java.lang.Override
public boolean hasLip() {
return ((bitField0_ & 0x00200000) != 0);
}
/**
*
* Last position in pod (e.g., lip=true)
*
*
* optional bool lip = 24 [json_name = "lip"];
* @return The lip.
*/
@java.lang.Override
public boolean getLip() {
return lip_;
}
/**
*
* Last position in pod (e.g., lip=true)
*
*
* optional bool lip = 24 [json_name = "lip"];
* @param value The lip to set.
*/
private void setLip(boolean value) {
bitField0_ |= 0x00200000;
lip_ = value;
}
/**
*
* Last position in pod (e.g., lip=true)
*
*
* optional bool lip = 24 [json_name = "lip"];
*/
private void clearLip() {
bitField0_ = (bitField0_ & ~0x00200000);
lip_ = false;
}
public static final int LTD_FIELD_NUMBER = 25;
private int ltd_;
/**
*
* Limited ads (e.g., ltd=1)
*
*
* optional int32 ltd = 25 [json_name = "ltd"];
* @return Whether the ltd field is set.
*/
@java.lang.Override
public boolean hasLtd() {
return ((bitField0_ & 0x00400000) != 0);
}
/**
*
* Limited ads (e.g., ltd=1)
*
*
* optional int32 ltd = 25 [json_name = "ltd"];
* @return The ltd.
*/
@java.lang.Override
public int getLtd() {
return ltd_;
}
/**
*
* Limited ads (e.g., ltd=1)
*
*
* optional int32 ltd = 25 [json_name = "ltd"];
* @param value The ltd to set.
*/
private void setLtd(int value) {
bitField0_ |= 0x00400000;
ltd_ = value;
}
/**
*
* Limited ads (e.g., ltd=1)
*
*
* optional int32 ltd = 25 [json_name = "ltd"];
*/
private void clearLtd() {
bitField0_ = (bitField0_ & ~0x00400000);
ltd_ = 0;
}
public static final int NOFB_FIELD_NUMBER = 26;
private int nofb_;
/**
*
* Fallback disabled (e.g., nofb=1)
*
*
* optional int32 nofb = 26 [json_name = "nofb"];
* @return Whether the nofb field is set.
*/
@java.lang.Override
public boolean hasNofb() {
return ((bitField0_ & 0x00800000) != 0);
}
/**
*
* Fallback disabled (e.g., nofb=1)
*
*
* optional int32 nofb = 26 [json_name = "nofb"];
* @return The nofb.
*/
@java.lang.Override
public int getNofb() {
return nofb_;
}
/**
*
* Fallback disabled (e.g., nofb=1)
*
*
* optional int32 nofb = 26 [json_name = "nofb"];
* @param value The nofb to set.
*/
private void setNofb(int value) {
bitField0_ |= 0x00800000;
nofb_ = value;
}
/**
*
* Fallback disabled (e.g., nofb=1)
*
*
* optional int32 nofb = 26 [json_name = "nofb"];
*/
private void clearNofb() {
bitField0_ = (bitField0_ & ~0x00800000);
nofb_ = 0;
}
public static final int NPA_FIELD_NUMBER = 27;
private int npa_;
/**
*
* Non-personalized ads (e.g., npa=1)
*
*
* optional int32 npa = 27 [json_name = "npa"];
* @return Whether the npa field is set.
*/
@java.lang.Override
public boolean hasNpa() {
return ((bitField0_ & 0x01000000) != 0);
}
/**
*
* Non-personalized ads (e.g., npa=1)
*
*
* optional int32 npa = 27 [json_name = "npa"];
* @return The npa.
*/
@java.lang.Override
public int getNpa() {
return npa_;
}
/**
*
* Non-personalized ads (e.g., npa=1)
*
*
* optional int32 npa = 27 [json_name = "npa"];
* @param value The npa to set.
*/
private void setNpa(int value) {
bitField0_ |= 0x01000000;
npa_ = value;
}
/**
*
* Non-personalized ads (e.g., npa=1)
*
*
* optional int32 npa = 27 [json_name = "npa"];
*/
private void clearNpa() {
bitField0_ = (bitField0_ & ~0x01000000);
npa_ = 0;
}
public static final int OMID_P_FIELD_NUMBER = 28;
private java.lang.String omidP_;
/**
*
* OMID partner name (e.g., omid_p=examplepartnername/1.0.0.0)
*
*
* optional string omid_p = 28 [json_name = "omidP"];
* @return Whether the omidP field is set.
*/
@java.lang.Override
public boolean hasOmidP() {
return ((bitField0_ & 0x02000000) != 0);
}
/**
*
* OMID partner name (e.g., omid_p=examplepartnername/1.0.0.0)
*
*
* optional string omid_p = 28 [json_name = "omidP"];
* @return The omidP.
*/
@java.lang.Override
public java.lang.String getOmidP() {
return omidP_;
}
/**
*
* OMID partner name (e.g., omid_p=examplepartnername/1.0.0.0)
*
*
* optional string omid_p = 28 [json_name = "omidP"];
* @return The bytes for omidP.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getOmidPBytes() {
return com.google.protobuf.ByteString.copyFromUtf8(omidP_);
}
/**
*
* OMID partner name (e.g., omid_p=examplepartnername/1.0.0.0)
*
*
* optional string omid_p = 28 [json_name = "omidP"];
* @param value The omidP to set.
*/
private void setOmidP(
java.lang.String value) {
java.lang.Class> valueClass = value.getClass();
bitField0_ |= 0x02000000;
omidP_ = value;
}
/**
*
* OMID partner name (e.g., omid_p=examplepartnername/1.0.0.0)
*
*
* optional string omid_p = 28 [json_name = "omidP"];
*/
private void clearOmidP() {
bitField0_ = (bitField0_ & ~0x02000000);
omidP_ = getDefaultInstance().getOmidP();
}
/**
*
* OMID partner name (e.g., omid_p=examplepartnername/1.0.0.0)
*
*
* optional string omid_p = 28 [json_name = "omidP"];
* @param value The bytes for omidP to set.
*/
private void setOmidPBytes(
com.google.protobuf.ByteString value) {
checkByteStringIsUtf8(value);
omidP_ = value.toStringUtf8();
bitField0_ |= 0x02000000;
}
public static final int PPT_FIELD_NUMBER = 29;
private int ppt_;
/**
*
* Publisher Privacy Treatment (e.g., ppt=1)
*
*
* optional int32 ppt = 29 [json_name = "ppt"];
* @return Whether the ppt field is set.
*/
@java.lang.Override
public boolean hasPpt() {
return ((bitField0_ & 0x04000000) != 0);
}
/**
*
* Publisher Privacy Treatment (e.g., ppt=1)
*
*
* optional int32 ppt = 29 [json_name = "ppt"];
* @return The ppt.
*/
@java.lang.Override
public int getPpt() {
return ppt_;
}
/**
*
* Publisher Privacy Treatment (e.g., ppt=1)
*
*
* optional int32 ppt = 29 [json_name = "ppt"];
* @param value The ppt to set.
*/
private void setPpt(int value) {
bitField0_ |= 0x04000000;
ppt_ = value;
}
/**
*
* Publisher Privacy Treatment (e.g., ppt=1)
*
*
* optional int32 ppt = 29 [json_name = "ppt"];
*/
private void clearPpt() {
bitField0_ = (bitField0_ & ~0x04000000);
ppt_ = 0;
}
public static final int PPOS_FIELD_NUMBER = 30;
private int ppos_;
/**
*
* Position in pod (e.g., ppos=2)
*
*
* optional int32 ppos = 30 [json_name = "ppos"];
* @return Whether the ppos field is set.
*/
@java.lang.Override
public boolean hasPpos() {
return ((bitField0_ & 0x08000000) != 0);
}
/**
*
* Position in pod (e.g., ppos=2)
*
*
* optional int32 ppos = 30 [json_name = "ppos"];
* @return The ppos.
*/
@java.lang.Override
public int getPpos() {
return ppos_;
}
/**
*
* Position in pod (e.g., ppos=2)
*
*
* optional int32 ppos = 30 [json_name = "ppos"];
* @param value The ppos to set.
*/
private void setPpos(int value) {
bitField0_ |= 0x08000000;
ppos_ = value;
}
/**
*
* Position in pod (e.g., ppos=2)
*
*
* optional int32 ppos = 30 [json_name = "ppos"];
*/
private void clearPpos() {
bitField0_ = (bitField0_ & ~0x08000000);
ppos_ = 0;
}
public static final int PPID_FIELD_NUMBER = 31;
private java.lang.String ppid_;
/**
*
* Publisher provided identifier (e.g., ppid=12JD92JD8078S8J29SDOAKC0EF230337)
*
*
* optional string ppid = 31 [json_name = "ppid"];
* @return Whether the ppid field is set.
*/
@java.lang.Override
public boolean hasPpid() {
return ((bitField0_ & 0x10000000) != 0);
}
/**
*
* Publisher provided identifier (e.g., ppid=12JD92JD8078S8J29SDOAKC0EF230337)
*
*
* optional string ppid = 31 [json_name = "ppid"];
* @return The ppid.
*/
@java.lang.Override
public java.lang.String getPpid() {
return ppid_;
}
/**
*
* Publisher provided identifier (e.g., ppid=12JD92JD8078S8J29SDOAKC0EF230337)
*
*
* optional string ppid = 31 [json_name = "ppid"];
* @return The bytes for ppid.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getPpidBytes() {
return com.google.protobuf.ByteString.copyFromUtf8(ppid_);
}
/**
*
* Publisher provided identifier (e.g., ppid=12JD92JD8078S8J29SDOAKC0EF230337)
*
*
* optional string ppid = 31 [json_name = "ppid"];
* @param value The ppid to set.
*/
private void setPpid(
java.lang.String value) {
java.lang.Class> valueClass = value.getClass();
bitField0_ |= 0x10000000;
ppid_ = value;
}
/**
*
* Publisher provided identifier (e.g., ppid=12JD92JD8078S8J29SDOAKC0EF230337)
*
*
* optional string ppid = 31 [json_name = "ppid"];
*/
private void clearPpid() {
bitField0_ = (bitField0_ & ~0x10000000);
ppid_ = getDefaultInstance().getPpid();
}
/**
*
* Publisher provided identifier (e.g., ppid=12JD92JD8078S8J29SDOAKC0EF230337)
*
*
* optional string ppid = 31 [json_name = "ppid"];
* @param value The bytes for ppid to set.
*/
private void setPpidBytes(
com.google.protobuf.ByteString value) {
checkByteStringIsUtf8(value);
ppid_ = value.toStringUtf8();
bitField0_ |= 0x10000000;
}
public static final int SCOR_FIELD_NUMBER = 32;
private int scor_;
/**
*
* Stream correlator (e.g., scor=17)
*
*
* optional int32 scor = 32 [json_name = "scor"];
* @return Whether the scor field is set.
*/
@java.lang.Override
public boolean hasScor() {
return ((bitField0_ & 0x20000000) != 0);
}
/**
*
* Stream correlator (e.g., scor=17)
*
*
* optional int32 scor = 32 [json_name = "scor"];
* @return The scor.
*/
@java.lang.Override
public int getScor() {
return scor_;
}
/**
*
* Stream correlator (e.g., scor=17)
*
*
* optional int32 scor = 32 [json_name = "scor"];
* @param value The scor to set.
*/
private void setScor(int value) {
bitField0_ |= 0x20000000;
scor_ = value;
}
/**
*
* Stream correlator (e.g., scor=17)
*
*
* optional int32 scor = 32 [json_name = "scor"];
*/
private void clearScor() {
bitField0_ = (bitField0_ & ~0x20000000);
scor_ = 0;
}
public static final int SDK_APIS_FIELD_NUMBER = 33;
private java.lang.String sdkApis_;
/**
*
* SDK API framework (e.g., sdk_apis=2,7,9)
*
*
* optional string sdk_apis = 33 [json_name = "sdkApis"];
* @return Whether the sdkApis field is set.
*/
@java.lang.Override
public boolean hasSdkApis() {
return ((bitField0_ & 0x40000000) != 0);
}
/**
*
* SDK API framework (e.g., sdk_apis=2,7,9)
*
*
* optional string sdk_apis = 33 [json_name = "sdkApis"];
* @return The sdkApis.
*/
@java.lang.Override
public java.lang.String getSdkApis() {
return sdkApis_;
}
/**
*
* SDK API framework (e.g., sdk_apis=2,7,9)
*
*
* optional string sdk_apis = 33 [json_name = "sdkApis"];
* @return The bytes for sdkApis.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getSdkApisBytes() {
return com.google.protobuf.ByteString.copyFromUtf8(sdkApis_);
}
/**
*
* SDK API framework (e.g., sdk_apis=2,7,9)
*
*
* optional string sdk_apis = 33 [json_name = "sdkApis"];
* @param value The sdkApis to set.
*/
private void setSdkApis(
java.lang.String value) {
java.lang.Class> valueClass = value.getClass();
bitField0_ |= 0x40000000;
sdkApis_ = value;
}
/**
*
* SDK API framework (e.g., sdk_apis=2,7,9)
*
*
* optional string sdk_apis = 33 [json_name = "sdkApis"];
*/
private void clearSdkApis() {
bitField0_ = (bitField0_ & ~0x40000000);
sdkApis_ = getDefaultInstance().getSdkApis();
}
/**
*
* SDK API framework (e.g., sdk_apis=2,7,9)
*
*
* optional string sdk_apis = 33 [json_name = "sdkApis"];
* @param value The bytes for sdkApis to set.
*/
private void setSdkApisBytes(
com.google.protobuf.ByteString value) {
checkByteStringIsUtf8(value);
sdkApis_ = value.toStringUtf8();
bitField0_ |= 0x40000000;
}
public static final int SSSS_FIELD_NUMBER = 34;
private java.lang.String ssss_;
/**
*
* Server-side stitching source (e.g., ssss=mystitcher)
*
*
* optional string ssss = 34 [json_name = "ssss"];
* @return Whether the ssss field is set.
*/
@java.lang.Override
public boolean hasSsss() {
return ((bitField0_ & 0x80000000) != 0);
}
/**
*
* Server-side stitching source (e.g., ssss=mystitcher)
*
*
* optional string ssss = 34 [json_name = "ssss"];
* @return The ssss.
*/
@java.lang.Override
public java.lang.String getSsss() {
return ssss_;
}
/**
*
* Server-side stitching source (e.g., ssss=mystitcher)
*
*
* optional string ssss = 34 [json_name = "ssss"];
* @return The bytes for ssss.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getSsssBytes() {
return com.google.protobuf.ByteString.copyFromUtf8(ssss_);
}
/**
*
* Server-side stitching source (e.g., ssss=mystitcher)
*
*
* optional string ssss = 34 [json_name = "ssss"];
* @param value The ssss to set.
*/
private void setSsss(
java.lang.String value) {
java.lang.Class> valueClass = value.getClass();
bitField0_ |= 0x80000000;
ssss_ = value;
}
/**
*
* Server-side stitching source (e.g., ssss=mystitcher)
*
*
* optional string ssss = 34 [json_name = "ssss"];
*/
private void clearSsss() {
bitField0_ = (bitField0_ & ~0x80000000);
ssss_ = getDefaultInstance().getSsss();
}
/**
*
* Server-side stitching source (e.g., ssss=mystitcher)
*
*
* optional string ssss = 34 [json_name = "ssss"];
* @param value The bytes for ssss to set.
*/
private void setSsssBytes(
com.google.protobuf.ByteString value) {
checkByteStringIsUtf8(value);
ssss_ = value.toStringUtf8();
bitField0_ |= 0x80000000;
}
public static final int SDMAX_FIELD_NUMBER = 35;
private java.lang.String sdmax_;
/**
*
* Skippable max ad duration (e.g., sdmax=45000)
*
*
* optional string sdmax = 35 [json_name = "sdmax"];
* @return Whether the sdmax field is set.
*/
@java.lang.Override
public boolean hasSdmax() {
return ((bitField1_ & 0x00000001) != 0);
}
/**
*
* Skippable max ad duration (e.g., sdmax=45000)
*
*
* optional string sdmax = 35 [json_name = "sdmax"];
* @return The sdmax.
*/
@java.lang.Override
public java.lang.String getSdmax() {
return sdmax_;
}
/**
*
* Skippable max ad duration (e.g., sdmax=45000)
*
*
* optional string sdmax = 35 [json_name = "sdmax"];
* @return The bytes for sdmax.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getSdmaxBytes() {
return com.google.protobuf.ByteString.copyFromUtf8(sdmax_);
}
/**
*
* Skippable max ad duration (e.g., sdmax=45000)
*
*
* optional string sdmax = 35 [json_name = "sdmax"];
* @param value The sdmax to set.
*/
private void setSdmax(
java.lang.String value) {
java.lang.Class> valueClass = value.getClass();
bitField1_ |= 0x00000001;
sdmax_ = value;
}
/**
*
* Skippable max ad duration (e.g., sdmax=45000)
*
*
* optional string sdmax = 35 [json_name = "sdmax"];
*/
private void clearSdmax() {
bitField1_ = (bitField1_ & ~0x00000001);
sdmax_ = getDefaultInstance().getSdmax();
}
/**
*
* Skippable max ad duration (e.g., sdmax=45000)
*
*
* optional string sdmax = 35 [json_name = "sdmax"];
* @param value The bytes for sdmax to set.
*/
private void setSdmaxBytes(
com.google.protobuf.ByteString value) {
checkByteStringIsUtf8(value);
sdmax_ = value.toStringUtf8();
bitField1_ |= 0x00000001;
}
public static final int SID_FIELD_NUMBER = 36;
private java.lang.String sid_;
/**
*
* Session ID (e.g., sid=123e4567-e89b-12d3-a456-426614174000)
*
*
* optional string sid = 36 [json_name = "sid"];
* @return Whether the sid field is set.
*/
@java.lang.Override
public boolean hasSid() {
return ((bitField1_ & 0x00000002) != 0);
}
/**
*
* Session ID (e.g., sid=123e4567-e89b-12d3-a456-426614174000)
*
*
* optional string sid = 36 [json_name = "sid"];
* @return The sid.
*/
@java.lang.Override
public java.lang.String getSid() {
return sid_;
}
/**
*
* Session ID (e.g., sid=123e4567-e89b-12d3-a456-426614174000)
*
*
* optional string sid = 36 [json_name = "sid"];
* @return The bytes for sid.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getSidBytes() {
return com.google.protobuf.ByteString.copyFromUtf8(sid_);
}
/**
*
* Session ID (e.g., sid=123e4567-e89b-12d3-a456-426614174000)
*
*
* optional string sid = 36 [json_name = "sid"];
* @param value The sid to set.
*/
private void setSid(
java.lang.String value) {
java.lang.Class> valueClass = value.getClass();
bitField1_ |= 0x00000002;
sid_ = value;
}
/**
*
* Session ID (e.g., sid=123e4567-e89b-12d3-a456-426614174000)
*
*
* optional string sid = 36 [json_name = "sid"];
*/
private void clearSid() {
bitField1_ = (bitField1_ & ~0x00000002);
sid_ = getDefaultInstance().getSid();
}
/**
*
* Session ID (e.g., sid=123e4567-e89b-12d3-a456-426614174000)
*
*
* optional string sid = 36 [json_name = "sid"];
* @param value The bytes for sid to set.
*/
private void setSidBytes(
com.google.protobuf.ByteString value) {
checkByteStringIsUtf8(value);
sid_ = value.toStringUtf8();
bitField1_ |= 0x00000002;
}
public static final int RDP_FIELD_NUMBER = 37;
private int rdp_;
/**
*
* Restrict data processing (e.g., rdp=1)
*
*
* optional int32 rdp = 37 [json_name = "rdp"];
* @return Whether the rdp field is set.
*/
@java.lang.Override
public boolean hasRdp() {
return ((bitField1_ & 0x00000004) != 0);
}
/**
*
* Restrict data processing (e.g., rdp=1)
*
*
* optional int32 rdp = 37 [json_name = "rdp"];
* @return The rdp.
*/
@java.lang.Override
public int getRdp() {
return rdp_;
}
/**
*
* Restrict data processing (e.g., rdp=1)
*
*
* optional int32 rdp = 37 [json_name = "rdp"];
* @param value The rdp to set.
*/
private void setRdp(int value) {
bitField1_ |= 0x00000004;
rdp_ = value;
}
/**
*
* Restrict data processing (e.g., rdp=1)
*
*
* optional int32 rdp = 37 [json_name = "rdp"];
*/
private void clearRdp() {
bitField1_ = (bitField1_ & ~0x00000004);
rdp_ = 0;
}
public static final int ADDTL_CONSENT_FIELD_NUMBER = 38;
private java.lang.String addtlConsent_;
/**
*
* Additional consent (e.g., addtl_consent=1~1.35.41.101)
*
*
* optional string addtl_consent = 38 [json_name = "addtlConsent"];
* @return Whether the addtlConsent field is set.
*/
@java.lang.Override
public boolean hasAddtlConsent() {
return ((bitField1_ & 0x00000008) != 0);
}
/**
*
* Additional consent (e.g., addtl_consent=1~1.35.41.101)
*
*
* optional string addtl_consent = 38 [json_name = "addtlConsent"];
* @return The addtlConsent.
*/
@java.lang.Override
public java.lang.String getAddtlConsent() {
return addtlConsent_;
}
/**
*
* Additional consent (e.g., addtl_consent=1~1.35.41.101)
*
*
* optional string addtl_consent = 38 [json_name = "addtlConsent"];
* @return The bytes for addtlConsent.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getAddtlConsentBytes() {
return com.google.protobuf.ByteString.copyFromUtf8(addtlConsent_);
}
/**
*
* Additional consent (e.g., addtl_consent=1~1.35.41.101)
*
*
* optional string addtl_consent = 38 [json_name = "addtlConsent"];
* @param value The addtlConsent to set.
*/
private void setAddtlConsent(
java.lang.String value) {
java.lang.Class> valueClass = value.getClass();
bitField1_ |= 0x00000008;
addtlConsent_ = value;
}
/**
*
* Additional consent (e.g., addtl_consent=1~1.35.41.101)
*
*
* optional string addtl_consent = 38 [json_name = "addtlConsent"];
*/
private void clearAddtlConsent() {
bitField1_ = (bitField1_ & ~0x00000008);
addtlConsent_ = getDefaultInstance().getAddtlConsent();
}
/**
*
* Additional consent (e.g., addtl_consent=1~1.35.41.101)
*
*
* optional string addtl_consent = 38 [json_name = "addtlConsent"];
* @param value The bytes for addtlConsent to set.
*/
private void setAddtlConsentBytes(
com.google.protobuf.ByteString value) {
checkByteStringIsUtf8(value);
addtlConsent_ = value.toStringUtf8();
bitField1_ |= 0x00000008;
}
public static final int AFVSZ_FIELD_NUMBER = 39;
private java.lang.String afvsz_;
/**
*
* Non-linear ad sizes (e.g., afvsz=200x200,250x250)
*
*
* optional string afvsz = 39 [json_name = "afvsz"];
* @return Whether the afvsz field is set.
*/
@java.lang.Override
public boolean hasAfvsz() {
return ((bitField1_ & 0x00000010) != 0);
}
/**
*
* Non-linear ad sizes (e.g., afvsz=200x200,250x250)
*
*
* optional string afvsz = 39 [json_name = "afvsz"];
* @return The afvsz.
*/
@java.lang.Override
public java.lang.String getAfvsz() {
return afvsz_;
}
/**
*
* Non-linear ad sizes (e.g., afvsz=200x200,250x250)
*
*
* optional string afvsz = 39 [json_name = "afvsz"];
* @return The bytes for afvsz.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getAfvszBytes() {
return com.google.protobuf.ByteString.copyFromUtf8(afvsz_);
}
/**
*
* Non-linear ad sizes (e.g., afvsz=200x200,250x250)
*
*
* optional string afvsz = 39 [json_name = "afvsz"];
* @param value The afvsz to set.
*/
private void setAfvsz(
java.lang.String value) {
java.lang.Class> valueClass = value.getClass();
bitField1_ |= 0x00000010;
afvsz_ = value;
}
/**
*
* Non-linear ad sizes (e.g., afvsz=200x200,250x250)
*
*
* optional string afvsz = 39 [json_name = "afvsz"];
*/
private void clearAfvsz() {
bitField1_ = (bitField1_ & ~0x00000010);
afvsz_ = getDefaultInstance().getAfvsz();
}
/**
*
* Non-linear ad sizes (e.g., afvsz=200x200,250x250)
*
*
* optional string afvsz = 39 [json_name = "afvsz"];
* @param value The bytes for afvsz to set.
*/
private void setAfvszBytes(
com.google.protobuf.ByteString value) {
checkByteStringIsUtf8(value);
afvsz_ = value.toStringUtf8();
bitField1_ |= 0x00000010;
}
public static final int ALLCUES_FIELD_NUMBER = 40;
private java.lang.String allcues_;
/**
*
* Cue points for mid-roll ads (e.g., allcues=10000,20000)
*
*
* optional string allcues = 40 [json_name = "allcues"];
* @return Whether the allcues field is set.
*/
@java.lang.Override
public boolean hasAllcues() {
return ((bitField1_ & 0x00000020) != 0);
}
/**
*
* Cue points for mid-roll ads (e.g., allcues=10000,20000)
*
*
* optional string allcues = 40 [json_name = "allcues"];
* @return The allcues.
*/
@java.lang.Override
public java.lang.String getAllcues() {
return allcues_;
}
/**
*
* Cue points for mid-roll ads (e.g., allcues=10000,20000)
*
*
* optional string allcues = 40 [json_name = "allcues"];
* @return The bytes for allcues.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getAllcuesBytes() {
return com.google.protobuf.ByteString.copyFromUtf8(allcues_);
}
/**
*
* Cue points for mid-roll ads (e.g., allcues=10000,20000)
*
*
* optional string allcues = 40 [json_name = "allcues"];
* @param value The allcues to set.
*/
private void setAllcues(
java.lang.String value) {
java.lang.Class> valueClass = value.getClass();
bitField1_ |= 0x00000020;
allcues_ = value;
}
/**
*
* Cue points for mid-roll ads (e.g., allcues=10000,20000)
*
*
* optional string allcues = 40 [json_name = "allcues"];
*/
private void clearAllcues() {
bitField1_ = (bitField1_ & ~0x00000020);
allcues_ = getDefaultInstance().getAllcues();
}
/**
*
* Cue points for mid-roll ads (e.g., allcues=10000,20000)
*
*
* optional string allcues = 40 [json_name = "allcues"];
* @param value The bytes for allcues to set.
*/
private void setAllcuesBytes(
com.google.protobuf.ByteString value) {
checkByteStringIsUtf8(value);
allcues_ = value.toStringUtf8();
bitField1_ |= 0x00000020;
}
public static final int CMSID_FIELD_NUMBER = 41;
private int cmsid_;
/**
*
* Content source ID (e.g., cmsid=123)
*
*
* optional int32 cmsid = 41 [json_name = "cmsid"];
* @return Whether the cmsid field is set.
*/
@java.lang.Override
public boolean hasCmsid() {
return ((bitField1_ & 0x00000040) != 0);
}
/**
*
* Content source ID (e.g., cmsid=123)
*
*
* optional int32 cmsid = 41 [json_name = "cmsid"];
* @return The cmsid.
*/
@java.lang.Override
public int getCmsid() {
return cmsid_;
}
/**
*
* Content source ID (e.g., cmsid=123)
*
*
* optional int32 cmsid = 41 [json_name = "cmsid"];
* @param value The cmsid to set.
*/
private void setCmsid(int value) {
bitField1_ |= 0x00000040;
cmsid_ = value;
}
/**
*
* Content source ID (e.g., cmsid=123)
*
*
* optional int32 cmsid = 41 [json_name = "cmsid"];
*/
private void clearCmsid() {
bitField1_ = (bitField1_ & ~0x00000040);
cmsid_ = 0;
}
public static final int VID_FIELD_NUMBER = 42;
private int vid_;
/**
*
* Video ID (e.g., vid=456)
*
*
* optional int32 vid = 42 [json_name = "vid"];
* @return Whether the vid field is set.
*/
@java.lang.Override
public boolean hasVid() {
return ((bitField1_ & 0x00000080) != 0);
}
/**
*
* Video ID (e.g., vid=456)
*
*
* optional int32 vid = 42 [json_name = "vid"];
* @return The vid.
*/
@java.lang.Override
public int getVid() {
return vid_;
}
/**
*
* Video ID (e.g., vid=456)
*
*
* optional int32 vid = 42 [json_name = "vid"];
* @param value The vid to set.
*/
private void setVid(int value) {
bitField1_ |= 0x00000080;
vid_ = value;
}
/**
*
* Video ID (e.g., vid=456)
*
*
* optional int32 vid = 42 [json_name = "vid"];
*/
private void clearVid() {
bitField1_ = (bitField1_ & ~0x00000080);
vid_ = 0;
}
public static final int EXCL_CAT_FIELD_NUMBER = 43;
private java.lang.String exclCat_;
/**
*
* Exclusion category (e.g., excl_cat=airline_excl_label)
*
*
* optional string excl_cat = 43 [json_name = "exclCat"];
* @return Whether the exclCat field is set.
*/
@java.lang.Override
public boolean hasExclCat() {
return ((bitField1_ & 0x00000100) != 0);
}
/**
*
* Exclusion category (e.g., excl_cat=airline_excl_label)
*
*
* optional string excl_cat = 43 [json_name = "exclCat"];
* @return The exclCat.
*/
@java.lang.Override
public java.lang.String getExclCat() {
return exclCat_;
}
/**
*
* Exclusion category (e.g., excl_cat=airline_excl_label)
*
*
* optional string excl_cat = 43 [json_name = "exclCat"];
* @return The bytes for exclCat.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getExclCatBytes() {
return com.google.protobuf.ByteString.copyFromUtf8(exclCat_);
}
/**
*
* Exclusion category (e.g., excl_cat=airline_excl_label)
*
*
* optional string excl_cat = 43 [json_name = "exclCat"];
* @param value The exclCat to set.
*/
private void setExclCat(
java.lang.String value) {
java.lang.Class> valueClass = value.getClass();
bitField1_ |= 0x00000100;
exclCat_ = value;
}
/**
*
* Exclusion category (e.g., excl_cat=airline_excl_label)
*
*
* optional string excl_cat = 43 [json_name = "exclCat"];
*/
private void clearExclCat() {
bitField1_ = (bitField1_ & ~0x00000100);
exclCat_ = getDefaultInstance().getExclCat();
}
/**
*
* Exclusion category (e.g., excl_cat=airline_excl_label)
*
*
* optional string excl_cat = 43 [json_name = "exclCat"];
* @param value The bytes for exclCat to set.
*/
private void setExclCatBytes(
com.google.protobuf.ByteString value) {
checkByteStringIsUtf8(value);
exclCat_ = value.toStringUtf8();
bitField1_ |= 0x00000100;
}
public static final int IPD_FIELD_NUMBER = 44;
private java.lang.String ipd_;
/**
*
* Inventory partner domain (e.g., ipd=partnerdomain.com)
*
*
* optional string ipd = 44 [json_name = "ipd"];
* @return Whether the ipd field is set.
*/
@java.lang.Override
public boolean hasIpd() {
return ((bitField1_ & 0x00000200) != 0);
}
/**
*
* Inventory partner domain (e.g., ipd=partnerdomain.com)
*
*
* optional string ipd = 44 [json_name = "ipd"];
* @return The ipd.
*/
@java.lang.Override
public java.lang.String getIpd() {
return ipd_;
}
/**
*
* Inventory partner domain (e.g., ipd=partnerdomain.com)
*
*
* optional string ipd = 44 [json_name = "ipd"];
* @return The bytes for ipd.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getIpdBytes() {
return com.google.protobuf.ByteString.copyFromUtf8(ipd_);
}
/**
*
* Inventory partner domain (e.g., ipd=partnerdomain.com)
*
*
* optional string ipd = 44 [json_name = "ipd"];
* @param value The ipd to set.
*/
private void setIpd(
java.lang.String value) {
java.lang.Class> valueClass = value.getClass();
bitField1_ |= 0x00000200;
ipd_ = value;
}
/**
*
* Inventory partner domain (e.g., ipd=partnerdomain.com)
*
*
* optional string ipd = 44 [json_name = "ipd"];
*/
private void clearIpd() {
bitField1_ = (bitField1_ & ~0x00000200);
ipd_ = getDefaultInstance().getIpd();
}
/**
*
* Inventory partner domain (e.g., ipd=partnerdomain.com)
*
*
* optional string ipd = 44 [json_name = "ipd"];
* @param value The bytes for ipd to set.
*/
private void setIpdBytes(
com.google.protobuf.ByteString value) {
checkByteStringIsUtf8(value);
ipd_ = value.toStringUtf8();
bitField1_ |= 0x00000200;
}
public static final int IPE_FIELD_NUMBER = 45;
private java.lang.String ipe_;
/**
*
* Impression pinging entity (e.g., ipe=ssb)
*
*
* optional string ipe = 45 [json_name = "ipe"];
* @return Whether the ipe field is set.
*/
@java.lang.Override
public boolean hasIpe() {
return ((bitField1_ & 0x00000400) != 0);
}
/**
*
* Impression pinging entity (e.g., ipe=ssb)
*
*
* optional string ipe = 45 [json_name = "ipe"];
* @return The ipe.
*/
@java.lang.Override
public java.lang.String getIpe() {
return ipe_;
}
/**
*
* Impression pinging entity (e.g., ipe=ssb)
*
*
* optional string ipe = 45 [json_name = "ipe"];
* @return The bytes for ipe.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getIpeBytes() {
return com.google.protobuf.ByteString.copyFromUtf8(ipe_);
}
/**
*
* Impression pinging entity (e.g., ipe=ssb)
*
*
* optional string ipe = 45 [json_name = "ipe"];
* @param value The ipe to set.
*/
private void setIpe(
java.lang.String value) {
java.lang.Class> valueClass = value.getClass();
bitField1_ |= 0x00000400;
ipe_ = value;
}
/**
*
* Impression pinging entity (e.g., ipe=ssb)
*
*
* optional string ipe = 45 [json_name = "ipe"];
*/
private void clearIpe() {
bitField1_ = (bitField1_ & ~0x00000400);
ipe_ = getDefaultInstance().getIpe();
}
/**
*
* Impression pinging entity (e.g., ipe=ssb)
*
*
* optional string ipe = 45 [json_name = "ipe"];
* @param value The bytes for ipe to set.
*/
private void setIpeBytes(
com.google.protobuf.ByteString value) {
checkByteStringIsUtf8(value);
ipe_ = value.toStringUtf8();
bitField1_ |= 0x00000400;
}
public static final int MAX_AD_DURATION_FIELD_NUMBER = 46;
private int maxAdDuration_;
/**
*
* Maximum ad duration in milliseconds (e.g. max_ad_duration=30000)
*
*
* optional int32 max_ad_duration = 46 [json_name = "maxAdDuration"];
* @return Whether the maxAdDuration field is set.
*/
@java.lang.Override
public boolean hasMaxAdDuration() {
return ((bitField1_ & 0x00000800) != 0);
}
/**
*
* Maximum ad duration in milliseconds (e.g. max_ad_duration=30000)
*
*
* optional int32 max_ad_duration = 46 [json_name = "maxAdDuration"];
* @return The maxAdDuration.
*/
@java.lang.Override
public int getMaxAdDuration() {
return maxAdDuration_;
}
/**
*
* Maximum ad duration in milliseconds (e.g. max_ad_duration=30000)
*
*
* optional int32 max_ad_duration = 46 [json_name = "maxAdDuration"];
* @param value The maxAdDuration to set.
*/
private void setMaxAdDuration(int value) {
bitField1_ |= 0x00000800;
maxAdDuration_ = value;
}
/**
*
* Maximum ad duration in milliseconds (e.g. max_ad_duration=30000)
*
*
* optional int32 max_ad_duration = 46 [json_name = "maxAdDuration"];
*/
private void clearMaxAdDuration() {
bitField1_ = (bitField1_ & ~0x00000800);
maxAdDuration_ = 0;
}
public static final int MIN_AD_DURATION_FIELD_NUMBER = 47;
private int minAdDuration_;
/**
*
* Minimum ad duration in milliseconds (e.g. min_ad_duration=15000)
*
*
* optional int32 min_ad_duration = 47 [json_name = "minAdDuration"];
* @return Whether the minAdDuration field is set.
*/
@java.lang.Override
public boolean hasMinAdDuration() {
return ((bitField1_ & 0x00001000) != 0);
}
/**
*
* Minimum ad duration in milliseconds (e.g. min_ad_duration=15000)
*
*
* optional int32 min_ad_duration = 47 [json_name = "minAdDuration"];
* @return The minAdDuration.
*/
@java.lang.Override
public int getMinAdDuration() {
return minAdDuration_;
}
/**
*
* Minimum ad duration in milliseconds (e.g. min_ad_duration=15000)
*
*
* optional int32 min_ad_duration = 47 [json_name = "minAdDuration"];
* @param value The minAdDuration to set.
*/
private void setMinAdDuration(int value) {
bitField1_ |= 0x00001000;
minAdDuration_ = value;
}
/**
*
* Minimum ad duration in milliseconds (e.g. min_ad_duration=15000)
*
*
* optional int32 min_ad_duration = 47 [json_name = "minAdDuration"];
*/
private void clearMinAdDuration() {
bitField1_ = (bitField1_ & ~0x00001000);
minAdDuration_ = 0;
}
public static final int MRIDX_FIELD_NUMBER = 48;
private int mridx_;
/**
*
* Mid-roll number (e.g. mridx=2)
*
*
* optional int32 mridx = 48 [json_name = "mridx"];
* @return Whether the mridx field is set.
*/
@java.lang.Override
public boolean hasMridx() {
return ((bitField1_ & 0x00002000) != 0);
}
/**
*
* Mid-roll number (e.g. mridx=2)
*
*
* optional int32 mridx = 48 [json_name = "mridx"];
* @return The mridx.
*/
@java.lang.Override
public int getMridx() {
return mridx_;
}
/**
*
* Mid-roll number (e.g. mridx=2)
*
*
* optional int32 mridx = 48 [json_name = "mridx"];
* @param value The mridx to set.
*/
private void setMridx(int value) {
bitField1_ |= 0x00002000;
mridx_ = value;
}
/**
*
* Mid-roll number (e.g. mridx=2)
*
*
* optional int32 mridx = 48 [json_name = "mridx"];
*/
private void clearMridx() {
bitField1_ = (bitField1_ & ~0x00002000);
mridx_ = 0;
}
public static final int MSID_FIELD_NUMBER = 49;
private java.lang.String msid_;
/**
*
* App ID (e.g., msid=com.package.publisher)
*
*
* optional string msid = 49 [json_name = "msid"];
* @return Whether the msid field is set.
*/
@java.lang.Override
public boolean hasMsid() {
return ((bitField1_ & 0x00004000) != 0);
}
/**
*
* App ID (e.g., msid=com.package.publisher)
*
*
* optional string msid = 49 [json_name = "msid"];
* @return The msid.
*/
@java.lang.Override
public java.lang.String getMsid() {
return msid_;
}
/**
*
* App ID (e.g., msid=com.package.publisher)
*
*
* optional string msid = 49 [json_name = "msid"];
* @return The bytes for msid.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getMsidBytes() {
return com.google.protobuf.ByteString.copyFromUtf8(msid_);
}
/**
*
* App ID (e.g., msid=com.package.publisher)
*
*
* optional string msid = 49 [json_name = "msid"];
* @param value The msid to set.
*/
private void setMsid(
java.lang.String value) {
java.lang.Class> valueClass = value.getClass();
bitField1_ |= 0x00004000;
msid_ = value;
}
/**
*
* App ID (e.g., msid=com.package.publisher)
*
*
* optional string msid = 49 [json_name = "msid"];
*/
private void clearMsid() {
bitField1_ = (bitField1_ & ~0x00004000);
msid_ = getDefaultInstance().getMsid();
}
/**
*
* App ID (e.g., msid=com.package.publisher)
*
*
* optional string msid = 49 [json_name = "msid"];
* @param value The bytes for msid to set.
*/
private void setMsidBytes(
com.google.protobuf.ByteString value) {
checkByteStringIsUtf8(value);
msid_ = value.toStringUtf8();
bitField1_ |= 0x00004000;
}
public static final int AN_FIELD_NUMBER = 50;
private java.lang.String an_;
/**
*
* App name (e.g., an=sample%20app)
*
*
* optional string an = 50 [json_name = "an"];
* @return Whether the an field is set.
*/
@java.lang.Override
public boolean hasAn() {
return ((bitField1_ & 0x00008000) != 0);
}
/**
*
* App name (e.g., an=sample%20app)
*
*
* optional string an = 50 [json_name = "an"];
* @return The an.
*/
@java.lang.Override
public java.lang.String getAn() {
return an_;
}
/**
*
* App name (e.g., an=sample%20app)
*
*
* optional string an = 50 [json_name = "an"];
* @return The bytes for an.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getAnBytes() {
return com.google.protobuf.ByteString.copyFromUtf8(an_);
}
/**
*
* App name (e.g., an=sample%20app)
*
*
* optional string an = 50 [json_name = "an"];
* @param value The an to set.
*/
private void setAn(
java.lang.String value) {
java.lang.Class> valueClass = value.getClass();
bitField1_ |= 0x00008000;
an_ = value;
}
/**
*
* App name (e.g., an=sample%20app)
*
*
* optional string an = 50 [json_name = "an"];
*/
private void clearAn() {
bitField1_ = (bitField1_ & ~0x00008000);
an_ = getDefaultInstance().getAn();
}
/**
*
* App name (e.g., an=sample%20app)
*
*
* optional string an = 50 [json_name = "an"];
* @param value The bytes for an to set.
*/
private void setAnBytes(
com.google.protobuf.ByteString value) {
checkByteStringIsUtf8(value);
an_ = value.toStringUtf8();
bitField1_ |= 0x00008000;
}
public static final int PMAD_FIELD_NUMBER = 51;
private int pmad_;
/**
*
* Pod ad maximum (e.g., pmad=4)
*
*
* optional int32 pmad = 51 [json_name = "pmad"];
* @return Whether the pmad field is set.
*/
@java.lang.Override
public boolean hasPmad() {
return ((bitField1_ & 0x00010000) != 0);
}
/**
*
* Pod ad maximum (e.g., pmad=4)
*
*
* optional int32 pmad = 51 [json_name = "pmad"];
* @return The pmad.
*/
@java.lang.Override
public int getPmad() {
return pmad_;
}
/**
*
* Pod ad maximum (e.g., pmad=4)
*
*
* optional int32 pmad = 51 [json_name = "pmad"];
* @param value The pmad to set.
*/
private void setPmad(int value) {
bitField1_ |= 0x00010000;
pmad_ = value;
}
/**
*
* Pod ad maximum (e.g., pmad=4)
*
*
* optional int32 pmad = 51 [json_name = "pmad"];
*/
private void clearPmad() {
bitField1_ = (bitField1_ & ~0x00010000);
pmad_ = 0;
}
public static final int PMND_FIELD_NUMBER = 52;
private int pmnd_;
/**
*
* Pod minimum duration (e.g. pmnd=0)
*
*
* optional int32 pmnd = 52 [json_name = "pmnd"];
* @return Whether the pmnd field is set.
*/
@java.lang.Override
public boolean hasPmnd() {
return ((bitField1_ & 0x00020000) != 0);
}
/**
*
* Pod minimum duration (e.g. pmnd=0)
*
*
* optional int32 pmnd = 52 [json_name = "pmnd"];
* @return The pmnd.
*/
@java.lang.Override
public int getPmnd() {
return pmnd_;
}
/**
*
* Pod minimum duration (e.g. pmnd=0)
*
*
* optional int32 pmnd = 52 [json_name = "pmnd"];
* @param value The pmnd to set.
*/
private void setPmnd(int value) {
bitField1_ |= 0x00020000;
pmnd_ = value;
}
/**
*
* Pod minimum duration (e.g. pmnd=0)
*
*
* optional int32 pmnd = 52 [json_name = "pmnd"];
*/
private void clearPmnd() {
bitField1_ = (bitField1_ & ~0x00020000);
pmnd_ = 0;
}
public static final int PMXD_FIELD_NUMBER = 53;
private int pmxd_;
/**
*
* Pod maximum duration (e.g. pmxd=60000)
*
*
* optional int32 pmxd = 53 [json_name = "pmxd"];
* @return Whether the pmxd field is set.
*/
@java.lang.Override
public boolean hasPmxd() {
return ((bitField1_ & 0x00040000) != 0);
}
/**
*
* Pod maximum duration (e.g. pmxd=60000)
*
*
* optional int32 pmxd = 53 [json_name = "pmxd"];
* @return The pmxd.
*/
@java.lang.Override
public int getPmxd() {
return pmxd_;
}
/**
*
* Pod maximum duration (e.g. pmxd=60000)
*
*
* optional int32 pmxd = 53 [json_name = "pmxd"];
* @param value The pmxd to set.
*/
private void setPmxd(int value) {
bitField1_ |= 0x00040000;
pmxd_ = value;
}
/**
*
* Pod maximum duration (e.g. pmxd=60000)
*
*
* optional int32 pmxd = 53 [json_name = "pmxd"];
*/
private void clearPmxd() {
bitField1_ = (bitField1_ & ~0x00040000);
pmxd_ = 0;
}
public static final int POD_FIELD_NUMBER = 54;
private int pod_;
/**
*
* Pod number (e.g. pod=3)
*
*
* optional int32 pod = 54 [json_name = "pod"];
* @return Whether the pod field is set.
*/
@java.lang.Override
public boolean hasPod() {
return ((bitField1_ & 0x00080000) != 0);
}
/**
*
* Pod number (e.g. pod=3)
*
*
* optional int32 pod = 54 [json_name = "pod"];
* @return The pod.
*/
@java.lang.Override
public int getPod() {
return pod_;
}
/**
*
* Pod number (e.g. pod=3)
*
*
* optional int32 pod = 54 [json_name = "pod"];
* @param value The pod to set.
*/
private void setPod(int value) {
bitField1_ |= 0x00080000;
pod_ = value;
}
/**
*
* Pod number (e.g. pod=3)
*
*
* optional int32 pod = 54 [json_name = "pod"];
*/
private void clearPod() {
bitField1_ = (bitField1_ & ~0x00080000);
pod_ = 0;
}
public static final int PP_FIELD_NUMBER = 55;
private java.lang.String pp_;
/**
*
* Creative profile (e.g., pp=creative_profile)
*
*
* optional string pp = 55 [json_name = "pp"];
* @return Whether the pp field is set.
*/
@java.lang.Override
public boolean hasPp() {
return ((bitField1_ & 0x00100000) != 0);
}
/**
*
* Creative profile (e.g., pp=creative_profile)
*
*
* optional string pp = 55 [json_name = "pp"];
* @return The pp.
*/
@java.lang.Override
public java.lang.String getPp() {
return pp_;
}
/**
*
* Creative profile (e.g., pp=creative_profile)
*
*
* optional string pp = 55 [json_name = "pp"];
* @return The bytes for pp.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getPpBytes() {
return com.google.protobuf.ByteString.copyFromUtf8(pp_);
}
/**
*
* Creative profile (e.g., pp=creative_profile)
*
*
* optional string pp = 55 [json_name = "pp"];
* @param value The pp to set.
*/
private void setPp(
java.lang.String value) {
java.lang.Class> valueClass = value.getClass();
bitField1_ |= 0x00100000;
pp_ = value;
}
/**
*
* Creative profile (e.g., pp=creative_profile)
*
*
* optional string pp = 55 [json_name = "pp"];
*/
private void clearPp() {
bitField1_ = (bitField1_ & ~0x00100000);
pp_ = getDefaultInstance().getPp();
}
/**
*
* Creative profile (e.g., pp=creative_profile)
*
*
* optional string pp = 55 [json_name = "pp"];
* @param value The bytes for pp to set.
*/
private void setPpBytes(
com.google.protobuf.ByteString value) {
checkByteStringIsUtf8(value);
pp_ = value.toStringUtf8();
bitField1_ |= 0x00100000;
}
public static final int PPSJ_FIELD_NUMBER = 56;
private java.lang.String ppsj_;
/**
*
* Publisher provided signals JSON (Base64-encoded ASCII string from the JSON object)
*
*
* optional string ppsj = 56 [json_name = "ppsj"];
* @return Whether the ppsj field is set.
*/
@java.lang.Override
public boolean hasPpsj() {
return ((bitField1_ & 0x00200000) != 0);
}
/**
*
* Publisher provided signals JSON (Base64-encoded ASCII string from the JSON object)
*
*
* optional string ppsj = 56 [json_name = "ppsj"];
* @return The ppsj.
*/
@java.lang.Override
public java.lang.String getPpsj() {
return ppsj_;
}
/**
*
* Publisher provided signals JSON (Base64-encoded ASCII string from the JSON object)
*
*
* optional string ppsj = 56 [json_name = "ppsj"];
* @return The bytes for ppsj.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getPpsjBytes() {
return com.google.protobuf.ByteString.copyFromUtf8(ppsj_);
}
/**
*
* Publisher provided signals JSON (Base64-encoded ASCII string from the JSON object)
*
*
* optional string ppsj = 56 [json_name = "ppsj"];
* @param value The ppsj to set.
*/
private void setPpsj(
java.lang.String value) {
java.lang.Class> valueClass = value.getClass();
bitField1_ |= 0x00200000;
ppsj_ = value;
}
/**
*
* Publisher provided signals JSON (Base64-encoded ASCII string from the JSON object)
*
*
* optional string ppsj = 56 [json_name = "ppsj"];
*/
private void clearPpsj() {
bitField1_ = (bitField1_ & ~0x00200000);
ppsj_ = getDefaultInstance().getPpsj();
}
/**
*
* Publisher provided signals JSON (Base64-encoded ASCII string from the JSON object)
*
*
* optional string ppsj = 56 [json_name = "ppsj"];
* @param value The bytes for ppsj to set.
*/
private void setPpsjBytes(
com.google.protobuf.ByteString value) {
checkByteStringIsUtf8(value);
ppsj_ = value.toStringUtf8();
bitField1_ |= 0x00200000;
}
public static final int PTPL_FIELD_NUMBER = 57;
private java.lang.String ptpl_;
/**
*
* Ad break template ID (e.g., ptpl=template1)
*
*
* optional string ptpl = 57 [json_name = "ptpl"];
* @return Whether the ptpl field is set.
*/
@java.lang.Override
public boolean hasPtpl() {
return ((bitField1_ & 0x00400000) != 0);
}
/**
*
* Ad break template ID (e.g., ptpl=template1)
*
*
* optional string ptpl = 57 [json_name = "ptpl"];
* @return The ptpl.
*/
@java.lang.Override
public java.lang.String getPtpl() {
return ptpl_;
}
/**
*
* Ad break template ID (e.g., ptpl=template1)
*
*
* optional string ptpl = 57 [json_name = "ptpl"];
* @return The bytes for ptpl.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getPtplBytes() {
return com.google.protobuf.ByteString.copyFromUtf8(ptpl_);
}
/**
*
* Ad break template ID (e.g., ptpl=template1)
*
*
* optional string ptpl = 57 [json_name = "ptpl"];
* @param value The ptpl to set.
*/
private void setPtpl(
java.lang.String value) {
java.lang.Class> valueClass = value.getClass();
bitField1_ |= 0x00400000;
ptpl_ = value;
}
/**
*
* Ad break template ID (e.g., ptpl=template1)
*
*
* optional string ptpl = 57 [json_name = "ptpl"];
*/
private void clearPtpl() {
bitField1_ = (bitField1_ & ~0x00400000);
ptpl_ = getDefaultInstance().getPtpl();
}
/**
*
* Ad break template ID (e.g., ptpl=template1)
*
*
* optional string ptpl = 57 [json_name = "ptpl"];
* @param value The bytes for ptpl to set.
*/
private void setPtplBytes(
com.google.protobuf.ByteString value) {
checkByteStringIsUtf8(value);
ptpl_ = value.toStringUtf8();
bitField1_ |= 0x00400000;
}
public static final int PTPLN_FIELD_NUMBER = 58;
private java.lang.String ptpln_;
/**
*
* Ad break template name (e.g., ptpln=templateName)
*
*
* optional string ptpln = 58 [json_name = "ptpln"];
* @return Whether the ptpln field is set.
*/
@java.lang.Override
public boolean hasPtpln() {
return ((bitField1_ & 0x00800000) != 0);
}
/**
*
* Ad break template name (e.g., ptpln=templateName)
*
*
* optional string ptpln = 58 [json_name = "ptpln"];
* @return The ptpln.
*/
@java.lang.Override
public java.lang.String getPtpln() {
return ptpln_;
}
/**
*
* Ad break template name (e.g., ptpln=templateName)
*
*
* optional string ptpln = 58 [json_name = "ptpln"];
* @return The bytes for ptpln.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getPtplnBytes() {
return com.google.protobuf.ByteString.copyFromUtf8(ptpln_);
}
/**
*
* Ad break template name (e.g., ptpln=templateName)
*
*
* optional string ptpln = 58 [json_name = "ptpln"];
* @param value The ptpln to set.
*/
private void setPtpln(
java.lang.String value) {
java.lang.Class> valueClass = value.getClass();
bitField1_ |= 0x00800000;
ptpln_ = value;
}
/**
*
* Ad break template name (e.g., ptpln=templateName)
*
*
* optional string ptpln = 58 [json_name = "ptpln"];
*/
private void clearPtpln() {
bitField1_ = (bitField1_ & ~0x00800000);
ptpln_ = getDefaultInstance().getPtpln();
}
/**
*
* Ad break template name (e.g., ptpln=templateName)
*
*
* optional string ptpln = 58 [json_name = "ptpln"];
* @param value The bytes for ptpln to set.
*/
private void setPtplnBytes(
com.google.protobuf.ByteString value) {
checkByteStringIsUtf8(value);
ptpln_ = value.toStringUtf8();
bitField1_ |= 0x00800000;
}
public static final int PUBF_FIELD_NUMBER = 59;
private int pubf_;
/**
*
* Public price floor (e.g., pubf=123)
*
*
* optional int32 pubf = 59 [json_name = "pubf"];
* @return Whether the pubf field is set.
*/
@java.lang.Override
public boolean hasPubf() {
return ((bitField1_ & 0x01000000) != 0);
}
/**
*
* Public price floor (e.g., pubf=123)
*
*
* optional int32 pubf = 59 [json_name = "pubf"];
* @return The pubf.
*/
@java.lang.Override
public int getPubf() {
return pubf_;
}
/**
*
* Public price floor (e.g., pubf=123)
*
*
* optional int32 pubf = 59 [json_name = "pubf"];
* @param value The pubf to set.
*/
private void setPubf(int value) {
bitField1_ |= 0x01000000;
pubf_ = value;
}
/**
*
* Public price floor (e.g., pubf=123)
*
*
* optional int32 pubf = 59 [json_name = "pubf"];
*/
private void clearPubf() {
bitField1_ = (bitField1_ & ~0x01000000);
pubf_ = 0;
}
public static final int PVTF_FIELD_NUMBER = 60;
private int pvtf_;
/**
*
* Private price floor (e.g., pvtf=123)
*
*
* optional int32 pvtf = 60 [json_name = "pvtf"];
* @return Whether the pvtf field is set.
*/
@java.lang.Override
public boolean hasPvtf() {
return ((bitField1_ & 0x02000000) != 0);
}
/**
*
* Private price floor (e.g., pvtf=123)
*
*
* optional int32 pvtf = 60 [json_name = "pvtf"];
* @return The pvtf.
*/
@java.lang.Override
public int getPvtf() {
return pvtf_;
}
/**
*
* Private price floor (e.g., pvtf=123)
*
*
* optional int32 pvtf = 60 [json_name = "pvtf"];
* @param value The pvtf to set.
*/
private void setPvtf(int value) {
bitField1_ |= 0x02000000;
pvtf_ = value;
}
/**
*
* Private price floor (e.g., pvtf=123)
*
*
* optional int32 pvtf = 60 [json_name = "pvtf"];
*/
private void clearPvtf() {
bitField1_ = (bitField1_ & ~0x02000000);
pvtf_ = 0;
}
public static final int PVID_FIELD_NUMBER = 61;
private java.lang.String pvid_;
/**
*
* App set ID (e.g., pvid=AppSetID_value)
*
*
* optional string pvid = 61 [json_name = "pvid"];
* @return Whether the pvid field is set.
*/
@java.lang.Override
public boolean hasPvid() {
return ((bitField1_ & 0x04000000) != 0);
}
/**
*
* App set ID (e.g., pvid=AppSetID_value)
*
*
* optional string pvid = 61 [json_name = "pvid"];
* @return The pvid.
*/
@java.lang.Override
public java.lang.String getPvid() {
return pvid_;
}
/**
*
* App set ID (e.g., pvid=AppSetID_value)
*
*
* optional string pvid = 61 [json_name = "pvid"];
* @return The bytes for pvid.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getPvidBytes() {
return com.google.protobuf.ByteString.copyFromUtf8(pvid_);
}
/**
*
* App set ID (e.g., pvid=AppSetID_value)
*
*
* optional string pvid = 61 [json_name = "pvid"];
* @param value The pvid to set.
*/
private void setPvid(
java.lang.String value) {
java.lang.Class> valueClass = value.getClass();
bitField1_ |= 0x04000000;
pvid_ = value;
}
/**
*
* App set ID (e.g., pvid=AppSetID_value)
*
*
* optional string pvid = 61 [json_name = "pvid"];
*/
private void clearPvid() {
bitField1_ = (bitField1_ & ~0x04000000);
pvid_ = getDefaultInstance().getPvid();
}
/**
*
* App set ID (e.g., pvid=AppSetID_value)
*
*
* optional string pvid = 61 [json_name = "pvid"];
* @param value The bytes for pvid to set.
*/
private void setPvidBytes(
com.google.protobuf.ByteString value) {
checkByteStringIsUtf8(value);
pvid_ = value.toStringUtf8();
bitField1_ |= 0x04000000;
}
public static final int PVID_S_FIELD_NUMBER = 62;
private java.lang.String pvidS_;
/**
*
* App set scope (e.g., pvid_s=scope_app)
*
*
* optional string pvid_s = 62 [json_name = "pvidS"];
* @return Whether the pvidS field is set.
*/
@java.lang.Override
public boolean hasPvidS() {
return ((bitField1_ & 0x08000000) != 0);
}
/**
*
* App set scope (e.g., pvid_s=scope_app)
*
*
* optional string pvid_s = 62 [json_name = "pvidS"];
* @return The pvidS.
*/
@java.lang.Override
public java.lang.String getPvidS() {
return pvidS_;
}
/**
*
* App set scope (e.g., pvid_s=scope_app)
*
*
* optional string pvid_s = 62 [json_name = "pvidS"];
* @return The bytes for pvidS.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getPvidSBytes() {
return com.google.protobuf.ByteString.copyFromUtf8(pvidS_);
}
/**
*
* App set scope (e.g., pvid_s=scope_app)
*
*
* optional string pvid_s = 62 [json_name = "pvidS"];
* @param value The pvidS to set.
*/
private void setPvidS(
java.lang.String value) {
java.lang.Class> valueClass = value.getClass();
bitField1_ |= 0x08000000;
pvidS_ = value;
}
/**
*
* App set scope (e.g., pvid_s=scope_app)
*
*
* optional string pvid_s = 62 [json_name = "pvidS"];
*/
private void clearPvidS() {
bitField1_ = (bitField1_ & ~0x08000000);
pvidS_ = getDefaultInstance().getPvidS();
}
/**
*
* App set scope (e.g., pvid_s=scope_app)
*
*
* optional string pvid_s = 62 [json_name = "pvidS"];
* @param value The bytes for pvidS to set.
*/
private void setPvidSBytes(
com.google.protobuf.ByteString value) {
checkByteStringIsUtf8(value);
pvidS_ = value.toStringUtf8();
bitField1_ |= 0x08000000;
}
public static final int RDID_FIELD_NUMBER = 63;
private java.lang.String rdid_;
/**
*
* Resettable device identifier (e.g., rdid=ABC123)
*
*
* optional string rdid = 63 [json_name = "rdid"];
* @return Whether the rdid field is set.
*/
@java.lang.Override
public boolean hasRdid() {
return ((bitField1_ & 0x10000000) != 0);
}
/**
*
* Resettable device identifier (e.g., rdid=ABC123)
*
*
* optional string rdid = 63 [json_name = "rdid"];
* @return The rdid.
*/
@java.lang.Override
public java.lang.String getRdid() {
return rdid_;
}
/**
*
* Resettable device identifier (e.g., rdid=ABC123)
*
*
* optional string rdid = 63 [json_name = "rdid"];
* @return The bytes for rdid.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getRdidBytes() {
return com.google.protobuf.ByteString.copyFromUtf8(rdid_);
}
/**
*
* Resettable device identifier (e.g., rdid=ABC123)
*
*
* optional string rdid = 63 [json_name = "rdid"];
* @param value The rdid to set.
*/
private void setRdid(
java.lang.String value) {
java.lang.Class> valueClass = value.getClass();
bitField1_ |= 0x10000000;
rdid_ = value;
}
/**
*
* Resettable device identifier (e.g., rdid=ABC123)
*
*
* optional string rdid = 63 [json_name = "rdid"];
*/
private void clearRdid() {
bitField1_ = (bitField1_ & ~0x10000000);
rdid_ = getDefaultInstance().getRdid();
}
/**
*
* Resettable device identifier (e.g., rdid=ABC123)
*
*
* optional string rdid = 63 [json_name = "rdid"];
* @param value The bytes for rdid to set.
*/
private void setRdidBytes(
com.google.protobuf.ByteString value) {
checkByteStringIsUtf8(value);
rdid_ = value.toStringUtf8();
bitField1_ |= 0x10000000;
}
public static final int IDTYPE_FIELD_NUMBER = 64;
private java.lang.String idtype_;
/**
*
* Identifier type (e.g., idtype=idfa)
*
*
* optional string idtype = 64 [json_name = "idtype"];
* @return Whether the idtype field is set.
*/
@java.lang.Override
public boolean hasIdtype() {
return ((bitField1_ & 0x20000000) != 0);
}
/**
*
* Identifier type (e.g., idtype=idfa)
*
*
* optional string idtype = 64 [json_name = "idtype"];
* @return The idtype.
*/
@java.lang.Override
public java.lang.String getIdtype() {
return idtype_;
}
/**
*
* Identifier type (e.g., idtype=idfa)
*
*
* optional string idtype = 64 [json_name = "idtype"];
* @return The bytes for idtype.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getIdtypeBytes() {
return com.google.protobuf.ByteString.copyFromUtf8(idtype_);
}
/**
*
* Identifier type (e.g., idtype=idfa)
*
*
* optional string idtype = 64 [json_name = "idtype"];
* @param value The idtype to set.
*/
private void setIdtype(
java.lang.String value) {
java.lang.Class> valueClass = value.getClass();
bitField1_ |= 0x20000000;
idtype_ = value;
}
/**
*
* Identifier type (e.g., idtype=idfa)
*
*
* optional string idtype = 64 [json_name = "idtype"];
*/
private void clearIdtype() {
bitField1_ = (bitField1_ & ~0x20000000);
idtype_ = getDefaultInstance().getIdtype();
}
/**
*
* Identifier type (e.g., idtype=idfa)
*
*
* optional string idtype = 64 [json_name = "idtype"];
* @param value The bytes for idtype to set.
*/
private void setIdtypeBytes(
com.google.protobuf.ByteString value) {
checkByteStringIsUtf8(value);
idtype_ = value.toStringUtf8();
bitField1_ |= 0x20000000;
}
public static final int IS_LAT_FIELD_NUMBER = 65;
private int isLat_;
/**
*
* LAT (Limit Ad Tracking) (e.g., is_lat=1)
*
*
* optional int32 is_lat = 65 [json_name = "isLat"];
* @return Whether the isLat field is set.
*/
@java.lang.Override
public boolean hasIsLat() {
return ((bitField1_ & 0x40000000) != 0);
}
/**
*
* LAT (Limit Ad Tracking) (e.g., is_lat=1)
*
*
* optional int32 is_lat = 65 [json_name = "isLat"];
* @return The isLat.
*/
@java.lang.Override
public int getIsLat() {
return isLat_;
}
/**
*
* LAT (Limit Ad Tracking) (e.g., is_lat=1)
*
*
* optional int32 is_lat = 65 [json_name = "isLat"];
* @param value The isLat to set.
*/
private void setIsLat(int value) {
bitField1_ |= 0x40000000;
isLat_ = value;
}
/**
*
* LAT (Limit Ad Tracking) (e.g., is_lat=1)
*
*
* optional int32 is_lat = 65 [json_name = "isLat"];
*/
private void clearIsLat() {
bitField1_ = (bitField1_ & ~0x40000000);
isLat_ = 0;
}
public static final int TFCD_FIELD_NUMBER = 66;
private int tfcd_;
/**
*
* Child-directed flag (e.g., tfcd=1)
*
*
* optional int32 tfcd = 66 [json_name = "tfcd"];
* @return Whether the tfcd field is set.
*/
@java.lang.Override
public boolean hasTfcd() {
return ((bitField1_ & 0x80000000) != 0);
}
/**
*
* Child-directed flag (e.g., tfcd=1)
*
*
* optional int32 tfcd = 66 [json_name = "tfcd"];
* @return The tfcd.
*/
@java.lang.Override
public int getTfcd() {
return tfcd_;
}
/**
*
* Child-directed flag (e.g., tfcd=1)
*
*
* optional int32 tfcd = 66 [json_name = "tfcd"];
* @param value The tfcd to set.
*/
private void setTfcd(int value) {
bitField1_ |= 0x80000000;
tfcd_ = value;
}
/**
*
* Child-directed flag (e.g., tfcd=1)
*
*
* optional int32 tfcd = 66 [json_name = "tfcd"];
*/
private void clearTfcd() {
bitField1_ = (bitField1_ & ~0x80000000);
tfcd_ = 0;
}
public static final int TRT_FIELD_NUMBER = 67;
private int trt_;
/**
*
* Traffic type (e.g., trt=1 for purchased traffic)
*
*
* optional int32 trt = 67 [json_name = "trt"];
* @return Whether the trt field is set.
*/
@java.lang.Override
public boolean hasTrt() {
return ((bitField2_ & 0x00000001) != 0);
}
/**
*
* Traffic type (e.g., trt=1 for purchased traffic)
*
*
* optional int32 trt = 67 [json_name = "trt"];
* @return The trt.
*/
@java.lang.Override
public int getTrt() {
return trt_;
}
/**
*
* Traffic type (e.g., trt=1 for purchased traffic)
*
*
* optional int32 trt = 67 [json_name = "trt"];
* @param value The trt to set.
*/
private void setTrt(int value) {
bitField2_ |= 0x00000001;
trt_ = value;
}
/**
*
* Traffic type (e.g., trt=1 for purchased traffic)
*
*
* optional int32 trt = 67 [json_name = "trt"];
*/
private void clearTrt() {
bitField2_ = (bitField2_ & ~0x00000001);
trt_ = 0;
}
public static final int VAD_TYPE_FIELD_NUMBER = 68;
private java.lang.String vadType_;
/**
*
* Video ad type (e.g., vad_type=linear)
*
*
* optional string vad_type = 68 [json_name = "vadType"];
* @return Whether the vadType field is set.
*/
@java.lang.Override
public boolean hasVadType() {
return ((bitField2_ & 0x00000002) != 0);
}
/**
*
* Video ad type (e.g., vad_type=linear)
*
*
* optional string vad_type = 68 [json_name = "vadType"];
* @return The vadType.
*/
@java.lang.Override
public java.lang.String getVadType() {
return vadType_;
}
/**
*
* Video ad type (e.g., vad_type=linear)
*
*
* optional string vad_type = 68 [json_name = "vadType"];
* @return The bytes for vadType.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getVadTypeBytes() {
return com.google.protobuf.ByteString.copyFromUtf8(vadType_);
}
/**
*
* Video ad type (e.g., vad_type=linear)
*
*
* optional string vad_type = 68 [json_name = "vadType"];
* @param value The vadType to set.
*/
private void setVadType(
java.lang.String value) {
java.lang.Class> valueClass = value.getClass();
bitField2_ |= 0x00000002;
vadType_ = value;
}
/**
*
* Video ad type (e.g., vad_type=linear)
*
*
* optional string vad_type = 68 [json_name = "vadType"];
*/
private void clearVadType() {
bitField2_ = (bitField2_ & ~0x00000002);
vadType_ = getDefaultInstance().getVadType();
}
/**
*
* Video ad type (e.g., vad_type=linear)
*
*
* optional string vad_type = 68 [json_name = "vadType"];
* @param value The bytes for vadType to set.
*/
private void setVadTypeBytes(
com.google.protobuf.ByteString value) {
checkByteStringIsUtf8(value);
vadType_ = value.toStringUtf8();
bitField2_ |= 0x00000002;
}
public static final int VID_D_FIELD_NUMBER = 69;
private int vidD_;
/**
*
* Video content duration in seconds (e.g., vid_d=90000)
*
*
* optional int32 vid_d = 69 [json_name = "vidD"];
* @return Whether the vidD field is set.
*/
@java.lang.Override
public boolean hasVidD() {
return ((bitField2_ & 0x00000004) != 0);
}
/**
*
* Video content duration in seconds (e.g., vid_d=90000)
*
*
* optional int32 vid_d = 69 [json_name = "vidD"];
* @return The vidD.
*/
@java.lang.Override
public int getVidD() {
return vidD_;
}
/**
*
* Video content duration in seconds (e.g., vid_d=90000)
*
*
* optional int32 vid_d = 69 [json_name = "vidD"];
* @param value The vidD to set.
*/
private void setVidD(int value) {
bitField2_ |= 0x00000004;
vidD_ = value;
}
/**
*
* Video content duration in seconds (e.g., vid_d=90000)
*
*
* optional int32 vid_d = 69 [json_name = "vidD"];
*/
private void clearVidD() {
bitField2_ = (bitField2_ & ~0x00000004);
vidD_ = 0;
}
public static final int VCONP_FIELD_NUMBER = 70;
private int vconp_;
/**
*
* Continuous video play (e.g., vconp=2)
*
*
* optional int32 vconp = 70 [json_name = "vconp"];
* @return Whether the vconp field is set.
*/
@java.lang.Override
public boolean hasVconp() {
return ((bitField2_ & 0x00000008) != 0);
}
/**
*
* Continuous video play (e.g., vconp=2)
*
*
* optional int32 vconp = 70 [json_name = "vconp"];
* @return The vconp.
*/
@java.lang.Override
public int getVconp() {
return vconp_;
}
/**
*
* Continuous video play (e.g., vconp=2)
*
*
* optional int32 vconp = 70 [json_name = "vconp"];
* @param value The vconp to set.
*/
private void setVconp(int value) {
bitField2_ |= 0x00000008;
vconp_ = value;
}
/**
*
* Continuous video play (e.g., vconp=2)
*
*
* optional int32 vconp = 70 [json_name = "vconp"];
*/
private void clearVconp() {
bitField2_ = (bitField2_ & ~0x00000008);
vconp_ = 0;
}
public static final int VPI_FIELD_NUMBER = 71;
private int vpi_;
/**
*
* Video playlist inline/redirect (e.g., vpi=1)
*
*
* optional int32 vpi = 71 [json_name = "vpi"];
* @return Whether the vpi field is set.
*/
@java.lang.Override
public boolean hasVpi() {
return ((bitField2_ & 0x00000010) != 0);
}
/**
*
* Video playlist inline/redirect (e.g., vpi=1)
*
*
* optional int32 vpi = 71 [json_name = "vpi"];
* @return The vpi.
*/
@java.lang.Override
public int getVpi() {
return vpi_;
}
/**
*
* Video playlist inline/redirect (e.g., vpi=1)
*
*
* optional int32 vpi = 71 [json_name = "vpi"];
* @param value The vpi to set.
*/
private void setVpi(int value) {
bitField2_ |= 0x00000010;
vpi_ = value;
}
/**
*
* Video playlist inline/redirect (e.g., vpi=1)
*
*
* optional int32 vpi = 71 [json_name = "vpi"];
*/
private void clearVpi() {
bitField2_ = (bitField2_ & ~0x00000010);
vpi_ = 0;
}
public static final int VPOS_FIELD_NUMBER = 72;
private java.lang.String vpos_;
/**
*
* Video position (e.g., vpos=preroll)
*
*
* optional string vpos = 72 [json_name = "vpos"];
* @return Whether the vpos field is set.
*/
@java.lang.Override
public boolean hasVpos() {
return ((bitField2_ & 0x00000020) != 0);
}
/**
*
* Video position (e.g., vpos=preroll)
*
*
* optional string vpos = 72 [json_name = "vpos"];
* @return The vpos.
*/
@java.lang.Override
public java.lang.String getVpos() {
return vpos_;
}
/**
*
* Video position (e.g., vpos=preroll)
*
*
* optional string vpos = 72 [json_name = "vpos"];
* @return The bytes for vpos.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getVposBytes() {
return com.google.protobuf.ByteString.copyFromUtf8(vpos_);
}
/**
*
* Video position (e.g., vpos=preroll)
*
*
* optional string vpos = 72 [json_name = "vpos"];
* @param value The vpos to set.
*/
private void setVpos(
java.lang.String value) {
java.lang.Class> valueClass = value.getClass();
bitField2_ |= 0x00000020;
vpos_ = value;
}
/**
*
* Video position (e.g., vpos=preroll)
*
*
* optional string vpos = 72 [json_name = "vpos"];
*/
private void clearVpos() {
bitField2_ = (bitField2_ & ~0x00000020);
vpos_ = getDefaultInstance().getVpos();
}
/**
*
* Video position (e.g., vpos=preroll)
*
*
* optional string vpos = 72 [json_name = "vpos"];
* @param value The bytes for vpos to set.
*/
private void setVposBytes(
com.google.protobuf.ByteString value) {
checkByteStringIsUtf8(value);
vpos_ = value.toStringUtf8();
bitField2_ |= 0x00000020;
}
public static com.streamlayer.interactive.common.QuestionOptions.GamOptions parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, data);
}
public static com.streamlayer.interactive.common.QuestionOptions.GamOptions 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.streamlayer.interactive.common.QuestionOptions.GamOptions parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, data);
}
public static com.streamlayer.interactive.common.QuestionOptions.GamOptions 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.streamlayer.interactive.common.QuestionOptions.GamOptions parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, data);
}
public static com.streamlayer.interactive.common.QuestionOptions.GamOptions 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.streamlayer.interactive.common.QuestionOptions.GamOptions parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, input);
}
public static com.streamlayer.interactive.common.QuestionOptions.GamOptions 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.streamlayer.interactive.common.QuestionOptions.GamOptions parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return parseDelimitedFrom(DEFAULT_INSTANCE, input);
}
public static com.streamlayer.interactive.common.QuestionOptions.GamOptions parseDelimitedFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return parseDelimitedFrom(DEFAULT_INSTANCE, input, extensionRegistry);
}
public static com.streamlayer.interactive.common.QuestionOptions.GamOptions parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, input);
}
public static com.streamlayer.interactive.common.QuestionOptions.GamOptions 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.streamlayer.interactive.common.QuestionOptions.GamOptions prototype) {
return DEFAULT_INSTANCE.createBuilder(prototype);
}
/**
*
* parameters spec https://support.google.com/admanager/answer/10678356?hl=en
*
*
* Protobuf type {@code streamlayer.interactive.QuestionOptions.GamOptions}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageLite.Builder<
com.streamlayer.interactive.common.QuestionOptions.GamOptions, Builder> implements
// @@protoc_insertion_point(builder_implements:streamlayer.interactive.QuestionOptions.GamOptions)
com.streamlayer.interactive.common.QuestionOptions.GamOptionsOrBuilder {
// Construct using com.streamlayer.interactive.common.QuestionOptions.GamOptions.newBuilder()
private Builder() {
super(DEFAULT_INSTANCE);
}
/**
*
* Environment
*
*
* optional string env = 1 [json_name = "env"];
* @return Whether the env field is set.
*/
@java.lang.Override
public boolean hasEnv() {
return instance.hasEnv();
}
/**
*
* Environment
*
*
* optional string env = 1 [json_name = "env"];
* @return The env.
*/
@java.lang.Override
public java.lang.String getEnv() {
return instance.getEnv();
}
/**
*
* Environment
*
*
* optional string env = 1 [json_name = "env"];
* @return The bytes for env.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getEnvBytes() {
return instance.getEnvBytes();
}
/**
*
* Environment
*
*
* optional string env = 1 [json_name = "env"];
* @param value The env to set.
* @return This builder for chaining.
*/
public Builder setEnv(
java.lang.String value) {
copyOnWrite();
instance.setEnv(value);
return this;
}
/**
*
* Environment
*
*
* optional string env = 1 [json_name = "env"];
* @return This builder for chaining.
*/
public Builder clearEnv() {
copyOnWrite();
instance.clearEnv();
return this;
}
/**
*
* Environment
*
*
* optional string env = 1 [json_name = "env"];
* @param value The bytes for env to set.
* @return This builder for chaining.
*/
public Builder setEnvBytes(
com.google.protobuf.ByteString value) {
copyOnWrite();
instance.setEnvBytes(value);
return this;
}
/**
*
* ad manager schema (e.g. gdfp_req=1)
*
*
* optional int32 gdfp_req = 2 [json_name = "gdfpReq"];
* @return Whether the gdfpReq field is set.
*/
@java.lang.Override
public boolean hasGdfpReq() {
return instance.hasGdfpReq();
}
/**
*
* ad manager schema (e.g. gdfp_req=1)
*
*
* optional int32 gdfp_req = 2 [json_name = "gdfpReq"];
* @return The gdfpReq.
*/
@java.lang.Override
public int getGdfpReq() {
return instance.getGdfpReq();
}
/**
*
* ad manager schema (e.g. gdfp_req=1)
*
*
* optional int32 gdfp_req = 2 [json_name = "gdfpReq"];
* @param value The gdfpReq to set.
* @return This builder for chaining.
*/
public Builder setGdfpReq(int value) {
copyOnWrite();
instance.setGdfpReq(value);
return this;
}
/**
*
* ad manager schema (e.g. gdfp_req=1)
*
*
* optional int32 gdfp_req = 2 [json_name = "gdfpReq"];
* @return This builder for chaining.
*/
public Builder clearGdfpReq() {
copyOnWrite();
instance.clearGdfpReq();
return this;
}
/**
*
* Ad unit path (e.g., "iu=/6062/videodemo")
*
*
* optional string iu = 3 [json_name = "iu"];
* @return Whether the iu field is set.
*/
@java.lang.Override
public boolean hasIu() {
return instance.hasIu();
}
/**
*
* Ad unit path (e.g., "iu=/6062/videodemo")
*
*
* optional string iu = 3 [json_name = "iu"];
* @return The iu.
*/
@java.lang.Override
public java.lang.String getIu() {
return instance.getIu();
}
/**
*
* Ad unit path (e.g., "iu=/6062/videodemo")
*
*
* optional string iu = 3 [json_name = "iu"];
* @return The bytes for iu.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getIuBytes() {
return instance.getIuBytes();
}
/**
*
* Ad unit path (e.g., "iu=/6062/videodemo")
*
*
* optional string iu = 3 [json_name = "iu"];
* @param value The iu to set.
* @return This builder for chaining.
*/
public Builder setIu(
java.lang.String value) {
copyOnWrite();
instance.setIu(value);
return this;
}
/**
*
* Ad unit path (e.g., "iu=/6062/videodemo")
*
*
* optional string iu = 3 [json_name = "iu"];
* @return This builder for chaining.
*/
public Builder clearIu() {
copyOnWrite();
instance.clearIu();
return this;
}
/**
*
* Ad unit path (e.g., "iu=/6062/videodemo")
*
*
* optional string iu = 3 [json_name = "iu"];
* @param value The bytes for iu to set.
* @return This builder for chaining.
*/
public Builder setIuBytes(
com.google.protobuf.ByteString value) {
copyOnWrite();
instance.setIuBytes(value);
return this;
}
/**
*
* Output format of the ad (e.g., "vast", "xml_vast4")
*
*
* optional string output = 4 [json_name = "output"];
* @return Whether the output field is set.
*/
@java.lang.Override
public boolean hasOutput() {
return instance.hasOutput();
}
/**
*
* Output format of the ad (e.g., "vast", "xml_vast4")
*
*
* optional string output = 4 [json_name = "output"];
* @return The output.
*/
@java.lang.Override
public java.lang.String getOutput() {
return instance.getOutput();
}
/**
*
* Output format of the ad (e.g., "vast", "xml_vast4")
*
*
* optional string output = 4 [json_name = "output"];
* @return The bytes for output.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getOutputBytes() {
return instance.getOutputBytes();
}
/**
*
* Output format of the ad (e.g., "vast", "xml_vast4")
*
*
* optional string output = 4 [json_name = "output"];
* @param value The output to set.
* @return This builder for chaining.
*/
public Builder setOutput(
java.lang.String value) {
copyOnWrite();
instance.setOutput(value);
return this;
}
/**
*
* Output format of the ad (e.g., "vast", "xml_vast4")
*
*
* optional string output = 4 [json_name = "output"];
* @return This builder for chaining.
*/
public Builder clearOutput() {
copyOnWrite();
instance.clearOutput();
return this;
}
/**
*
* Output format of the ad (e.g., "vast", "xml_vast4")
*
*
* optional string output = 4 [json_name = "output"];
* @param value The bytes for output to set.
* @return This builder for chaining.
*/
public Builder setOutputBytes(
com.google.protobuf.ByteString value) {
copyOnWrite();
instance.setOutputBytes(value);
return this;
}
/**
*
* Primary ad size (e.g., "400x300")
*
*
* optional string sz = 5 [json_name = "sz"];
* @return Whether the sz field is set.
*/
@java.lang.Override
public boolean hasSz() {
return instance.hasSz();
}
/**
*
* Primary ad size (e.g., "400x300")
*
*
* optional string sz = 5 [json_name = "sz"];
* @return The sz.
*/
@java.lang.Override
public java.lang.String getSz() {
return instance.getSz();
}
/**
*
* Primary ad size (e.g., "400x300")
*
*
* optional string sz = 5 [json_name = "sz"];
* @return The bytes for sz.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getSzBytes() {
return instance.getSzBytes();
}
/**
*
* Primary ad size (e.g., "400x300")
*
*
* optional string sz = 5 [json_name = "sz"];
* @param value The sz to set.
* @return This builder for chaining.
*/
public Builder setSz(
java.lang.String value) {
copyOnWrite();
instance.setSz(value);
return this;
}
/**
*
* Primary ad size (e.g., "400x300")
*
*
* optional string sz = 5 [json_name = "sz"];
* @return This builder for chaining.
*/
public Builder clearSz() {
copyOnWrite();
instance.clearSz();
return this;
}
/**
*
* Primary ad size (e.g., "400x300")
*
*
* optional string sz = 5 [json_name = "sz"];
* @param value The bytes for sz to set.
* @return This builder for chaining.
*/
public Builder setSzBytes(
com.google.protobuf.ByteString value) {
copyOnWrite();
instance.setSzBytes(value);
return this;
}
/**
*
* The delayed impressions parameter (e.g., unviewed_position_start=1)
*
*
* optional int32 unviewed_position_start = 6 [json_name = "unviewedPositionStart"];
* @return Whether the unviewedPositionStart field is set.
*/
@java.lang.Override
public boolean hasUnviewedPositionStart() {
return instance.hasUnviewedPositionStart();
}
/**
*
* The delayed impressions parameter (e.g., unviewed_position_start=1)
*
*
* optional int32 unviewed_position_start = 6 [json_name = "unviewedPositionStart"];
* @return The unviewedPositionStart.
*/
@java.lang.Override
public int getUnviewedPositionStart() {
return instance.getUnviewedPositionStart();
}
/**
*
* The delayed impressions parameter (e.g., unviewed_position_start=1)
*
*
* optional int32 unviewed_position_start = 6 [json_name = "unviewedPositionStart"];
* @param value The unviewedPositionStart to set.
* @return This builder for chaining.
*/
public Builder setUnviewedPositionStart(int value) {
copyOnWrite();
instance.setUnviewedPositionStart(value);
return this;
}
/**
*
* The delayed impressions parameter (e.g., unviewed_position_start=1)
*
*
* optional int32 unviewed_position_start = 6 [json_name = "unviewedPositionStart"];
* @return This builder for chaining.
*/
public Builder clearUnviewedPositionStart() {
copyOnWrite();
instance.clearUnviewedPositionStart();
return this;
}
/**
*
* Companion ad sizes (e.g., "728x90", "300x250")
*
*
* repeated string ciu_szs = 7 [json_name = "ciuSzs"];
* @return A list containing the ciuSzs.
*/
@java.lang.Override
public java.util.List
getCiuSzsList() {
return java.util.Collections.unmodifiableList(
instance.getCiuSzsList());
}
/**
*
* Companion ad sizes (e.g., "728x90", "300x250")
*
*
* repeated string ciu_szs = 7 [json_name = "ciuSzs"];
* @return The count of ciuSzs.
*/
@java.lang.Override
public int getCiuSzsCount() {
return instance.getCiuSzsCount();
}
/**
*
* Companion ad sizes (e.g., "728x90", "300x250")
*
*
* repeated string ciu_szs = 7 [json_name = "ciuSzs"];
* @param index The index of the element to return.
* @return The ciuSzs at the given index.
*/
@java.lang.Override
public java.lang.String getCiuSzs(int index) {
return instance.getCiuSzs(index);
}
/**
*
* Companion ad sizes (e.g., "728x90", "300x250")
*
*
* repeated string ciu_szs = 7 [json_name = "ciuSzs"];
* @param index The index of the value to return.
* @return The bytes of the ciuSzs at the given index.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getCiuSzsBytes(int index) {
return instance.getCiuSzsBytes(index);
}
/**
*
* Companion ad sizes (e.g., "728x90", "300x250")
*
*
* repeated string ciu_szs = 7 [json_name = "ciuSzs"];
* @param index The index to set the value at.
* @param value The ciuSzs to set.
* @return This builder for chaining.
*/
public Builder setCiuSzs(
int index, java.lang.String value) {
copyOnWrite();
instance.setCiuSzs(index, value);
return this;
}
/**
*
* Companion ad sizes (e.g., "728x90", "300x250")
*
*
* repeated string ciu_szs = 7 [json_name = "ciuSzs"];
* @param value The ciuSzs to add.
* @return This builder for chaining.
*/
public Builder addCiuSzs(
java.lang.String value) {
copyOnWrite();
instance.addCiuSzs(value);
return this;
}
/**
*
* Companion ad sizes (e.g., "728x90", "300x250")
*
*
* repeated string ciu_szs = 7 [json_name = "ciuSzs"];
* @param values The ciuSzs to add.
* @return This builder for chaining.
*/
public Builder addAllCiuSzs(
java.lang.Iterable values) {
copyOnWrite();
instance.addAllCiuSzs(values);
return this;
}
/**
*
* Companion ad sizes (e.g., "728x90", "300x250")
*
*
* repeated string ciu_szs = 7 [json_name = "ciuSzs"];
* @return This builder for chaining.
*/
public Builder clearCiuSzs() {
copyOnWrite();
instance.clearCiuSzs();
return this;
}
/**
*
* Companion ad sizes (e.g., "728x90", "300x250")
*
*
* repeated string ciu_szs = 7 [json_name = "ciuSzs"];
* @param value The bytes of the ciuSzs to add.
* @return This builder for chaining.
*/
public Builder addCiuSzsBytes(
com.google.protobuf.ByteString value) {
copyOnWrite();
instance.addCiuSzsBytes(value);
return this;
}
/**
*
* The URL from which the ad request is sent
*
*
* optional string url = 8 [json_name = "url"];
* @return Whether the url field is set.
*/
@java.lang.Override
public boolean hasUrl() {
return instance.hasUrl();
}
/**
*
* The URL from which the ad request is sent
*
*
* optional string url = 8 [json_name = "url"];
* @return The url.
*/
@java.lang.Override
public java.lang.String getUrl() {
return instance.getUrl();
}
/**
*
* The URL from which the ad request is sent
*
*
* optional string url = 8 [json_name = "url"];
* @return The bytes for url.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getUrlBytes() {
return instance.getUrlBytes();
}
/**
*
* The URL from which the ad request is sent
*
*
* optional string url = 8 [json_name = "url"];
* @param value The url to set.
* @return This builder for chaining.
*/
public Builder setUrl(
java.lang.String value) {
copyOnWrite();
instance.setUrl(value);
return this;
}
/**
*
* The URL from which the ad request is sent
*
*
* optional string url = 8 [json_name = "url"];
* @return This builder for chaining.
*/
public Builder clearUrl() {
copyOnWrite();
instance.clearUrl();
return this;
}
/**
*
* The URL from which the ad request is sent
*
*
* optional string url = 8 [json_name = "url"];
* @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;
}
/**
*
* URL describing the video content
*
*
* optional string description_url = 9 [json_name = "descriptionUrl"];
* @return Whether the descriptionUrl field is set.
*/
@java.lang.Override
public boolean hasDescriptionUrl() {
return instance.hasDescriptionUrl();
}
/**
*
* URL describing the video content
*
*
* optional string description_url = 9 [json_name = "descriptionUrl"];
* @return The descriptionUrl.
*/
@java.lang.Override
public java.lang.String getDescriptionUrl() {
return instance.getDescriptionUrl();
}
/**
*
* URL describing the video content
*
*
* optional string description_url = 9 [json_name = "descriptionUrl"];
* @return The bytes for descriptionUrl.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getDescriptionUrlBytes() {
return instance.getDescriptionUrlBytes();
}
/**
*
* URL describing the video content
*
*
* optional string description_url = 9 [json_name = "descriptionUrl"];
* @param value The descriptionUrl to set.
* @return This builder for chaining.
*/
public Builder setDescriptionUrl(
java.lang.String value) {
copyOnWrite();
instance.setDescriptionUrl(value);
return this;
}
/**
*
* URL describing the video content
*
*
* optional string description_url = 9 [json_name = "descriptionUrl"];
* @return This builder for chaining.
*/
public Builder clearDescriptionUrl() {
copyOnWrite();
instance.clearDescriptionUrl();
return this;
}
/**
*
* URL describing the video content
*
*
* optional string description_url = 9 [json_name = "descriptionUrl"];
* @param value The bytes for descriptionUrl to set.
* @return This builder for chaining.
*/
public Builder setDescriptionUrlBytes(
com.google.protobuf.ByteString value) {
copyOnWrite();
instance.setDescriptionUrlBytes(value);
return this;
}
/**
*
* Shared value for competitive exclusions across multiple requests (e.g., correlator=4345645667)
*
*
* optional string correlator = 10 [json_name = "correlator"];
* @return Whether the correlator field is set.
*/
@java.lang.Override
public boolean hasCorrelator() {
return instance.hasCorrelator();
}
/**
*
* Shared value for competitive exclusions across multiple requests (e.g., correlator=4345645667)
*
*
* optional string correlator = 10 [json_name = "correlator"];
* @return The correlator.
*/
@java.lang.Override
public java.lang.String getCorrelator() {
return instance.getCorrelator();
}
/**
*
* Shared value for competitive exclusions across multiple requests (e.g., correlator=4345645667)
*
*
* optional string correlator = 10 [json_name = "correlator"];
* @return The bytes for correlator.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getCorrelatorBytes() {
return instance.getCorrelatorBytes();
}
/**
*
* Shared value for competitive exclusions across multiple requests (e.g., correlator=4345645667)
*
*
* optional string correlator = 10 [json_name = "correlator"];
* @param value The correlator to set.
* @return This builder for chaining.
*/
public Builder setCorrelator(
java.lang.String value) {
copyOnWrite();
instance.setCorrelator(value);
return this;
}
/**
*
* Shared value for competitive exclusions across multiple requests (e.g., correlator=4345645667)
*
*
* optional string correlator = 10 [json_name = "correlator"];
* @return This builder for chaining.
*/
public Builder clearCorrelator() {
copyOnWrite();
instance.clearCorrelator();
return this;
}
/**
*
* Shared value for competitive exclusions across multiple requests (e.g., correlator=4345645667)
*
*
* optional string correlator = 10 [json_name = "correlator"];
* @param value The bytes for correlator to set.
* @return This builder for chaining.
*/
public Builder setCorrelatorBytes(
com.google.protobuf.ByteString value) {
copyOnWrite();
instance.setCorrelatorBytes(value);
return this;
}
@java.lang.Override
public int getCustParamsCount() {
return instance.getCustParamsMap().size();
}
/**
*
* Custom key-value pairs for targeting
*
*
* map<string, string> cust_params = 11 [json_name = "custParams"];
*/
@java.lang.Override
public boolean containsCustParams(
java.lang.String key) {
java.lang.Class> keyClass = key.getClass();
return instance.getCustParamsMap().containsKey(key);
}
public Builder clearCustParams() {
copyOnWrite();
instance.getMutableCustParamsMap().clear();
return this;
}
/**
*
* Custom key-value pairs for targeting
*
*
* map<string, string> cust_params = 11 [json_name = "custParams"];
*/
public Builder removeCustParams(
java.lang.String key) {
java.lang.Class> keyClass = key.getClass();
copyOnWrite();
instance.getMutableCustParamsMap().remove(key);
return this;
}
/**
* Use {@link #getCustParamsMap()} instead.
*/
@java.lang.Override
@java.lang.Deprecated
public java.util.Map getCustParams() {
return getCustParamsMap();
}
/**
*
* Custom key-value pairs for targeting
*
*
* map<string, string> cust_params = 11 [json_name = "custParams"];
*/
@java.lang.Override
public java.util.Map getCustParamsMap() {
return java.util.Collections.unmodifiableMap(
instance.getCustParamsMap());
}
/**
*
* Custom key-value pairs for targeting
*
*
* map<string, string> cust_params = 11 [json_name = "custParams"];
*/
@java.lang.Override
public /* nullable */
java.lang.String getCustParamsOrDefault(
java.lang.String key,
/* nullable */
java.lang.String defaultValue) {
java.lang.Class> keyClass = key.getClass();
java.util.Map map =
instance.getCustParamsMap();
return map.containsKey(key) ? map.get(key) : defaultValue;
}
/**
*
* Custom key-value pairs for targeting
*
*
* map<string, string> cust_params = 11 [json_name = "custParams"];
*/
@java.lang.Override
public java.lang.String getCustParamsOrThrow(
java.lang.String key) {
java.lang.Class> keyClass = key.getClass();
java.util.Map map =
instance.getCustParamsMap();
if (!map.containsKey(key)) {
throw new java.lang.IllegalArgumentException();
}
return map.get(key);
}
/**
*
* Custom key-value pairs for targeting
*
*
* map<string, string> cust_params = 11 [json_name = "custParams"];
*/
public Builder putCustParams(
java.lang.String key,
java.lang.String value) {
java.lang.Class> keyClass = key.getClass();
java.lang.Class> valueClass = value.getClass();
copyOnWrite();
instance.getMutableCustParamsMap().put(key, value);
return this;
}
/**
*
* Custom key-value pairs for targeting
*
*
* map<string, string> cust_params = 11 [json_name = "custParams"];
*/
public Builder putAllCustParams(
java.util.Map values) {
copyOnWrite();
instance.getMutableCustParamsMap().putAll(values);
return this;
}
/**
*
* Placement type (e.g., plcmt=1 for in-stream)
*
*
* optional int32 plcmt = 12 [json_name = "plcmt"];
* @return Whether the plcmt field is set.
*/
@java.lang.Override
public boolean hasPlcmt() {
return instance.hasPlcmt();
}
/**
*
* Placement type (e.g., plcmt=1 for in-stream)
*
*
* optional int32 plcmt = 12 [json_name = "plcmt"];
* @return The plcmt.
*/
@java.lang.Override
public int getPlcmt() {
return instance.getPlcmt();
}
/**
*
* Placement type (e.g., plcmt=1 for in-stream)
*
*
* optional int32 plcmt = 12 [json_name = "plcmt"];
* @param value The plcmt to set.
* @return This builder for chaining.
*/
public Builder setPlcmt(int value) {
copyOnWrite();
instance.setPlcmt(value);
return this;
}
/**
*
* Placement type (e.g., plcmt=1 for in-stream)
*
*
* optional int32 plcmt = 12 [json_name = "plcmt"];
* @return This builder for chaining.
*/
public Builder clearPlcmt() {
copyOnWrite();
instance.clearPlcmt();
return this;
}
/**
*
* Video play automatic (e.g., vpa=auto)
*
*
* optional string vpa = 13 [json_name = "vpa"];
* @return Whether the vpa field is set.
*/
@java.lang.Override
public boolean hasVpa() {
return instance.hasVpa();
}
/**
*
* Video play automatic (e.g., vpa=auto)
*
*
* optional string vpa = 13 [json_name = "vpa"];
* @return The vpa.
*/
@java.lang.Override
public java.lang.String getVpa() {
return instance.getVpa();
}
/**
*
* Video play automatic (e.g., vpa=auto)
*
*
* optional string vpa = 13 [json_name = "vpa"];
* @return The bytes for vpa.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getVpaBytes() {
return instance.getVpaBytes();
}
/**
*
* Video play automatic (e.g., vpa=auto)
*
*
* optional string vpa = 13 [json_name = "vpa"];
* @param value The vpa to set.
* @return This builder for chaining.
*/
public Builder setVpa(
java.lang.String value) {
copyOnWrite();
instance.setVpa(value);
return this;
}
/**
*
* Video play automatic (e.g., vpa=auto)
*
*
* optional string vpa = 13 [json_name = "vpa"];
* @return This builder for chaining.
*/
public Builder clearVpa() {
copyOnWrite();
instance.clearVpa();
return this;
}
/**
*
* Video play automatic (e.g., vpa=auto)
*
*
* optional string vpa = 13 [json_name = "vpa"];
* @param value The bytes for vpa to set.
* @return This builder for chaining.
*/
public Builder setVpaBytes(
com.google.protobuf.ByteString value) {
copyOnWrite();
instance.setVpaBytes(value);
return this;
}
/**
*
* Video play mute status (e.g., vpmute=1 for muted)
*
*
* optional int32 vpmute = 14 [json_name = "vpmute"];
* @return Whether the vpmute field is set.
*/
@java.lang.Override
public boolean hasVpmute() {
return instance.hasVpmute();
}
/**
*
* Video play mute status (e.g., vpmute=1 for muted)
*
*
* optional int32 vpmute = 14 [json_name = "vpmute"];
* @return The vpmute.
*/
@java.lang.Override
public int getVpmute() {
return instance.getVpmute();
}
/**
*
* Video play mute status (e.g., vpmute=1 for muted)
*
*
* optional int32 vpmute = 14 [json_name = "vpmute"];
* @param value The vpmute to set.
* @return This builder for chaining.
*/
public Builder setVpmute(int value) {
copyOnWrite();
instance.setVpmute(value);
return this;
}
/**
*
* Video play mute status (e.g., vpmute=1 for muted)
*
*
* optional int32 vpmute = 14 [json_name = "vpmute"];
* @return This builder for chaining.
*/
public Builder clearVpmute() {
copyOnWrite();
instance.clearVpmute();
return this;
}
/**
*
* "Why this ad?" parameter (e.g., wta=1)
*
*
* optional int32 wta = 15 [json_name = "wta"];
* @return Whether the wta field is set.
*/
@java.lang.Override
public boolean hasWta() {
return instance.hasWta();
}
/**
*
* "Why this ad?" parameter (e.g., wta=1)
*
*
* optional int32 wta = 15 [json_name = "wta"];
* @return The wta.
*/
@java.lang.Override
public int getWta() {
return instance.getWta();
}
/**
*
* "Why this ad?" parameter (e.g., wta=1)
*
*
* optional int32 wta = 15 [json_name = "wta"];
* @param value The wta to set.
* @return This builder for chaining.
*/
public Builder setWta(int value) {
copyOnWrite();
instance.setWta(value);
return this;
}
/**
*
* "Why this ad?" parameter (e.g., wta=1)
*
*
* optional int32 wta = 15 [json_name = "wta"];
* @return This builder for chaining.
*/
public Builder clearWta() {
copyOnWrite();
instance.clearWta();
return this;
}
/**
*
* Audio continuous play (e.g., aconp=2)
*
*
* optional int32 aconp = 16 [json_name = "aconp"];
* @return Whether the aconp field is set.
*/
@java.lang.Override
public boolean hasAconp() {
return instance.hasAconp();
}
/**
*
* Audio continuous play (e.g., aconp=2)
*
*
* optional int32 aconp = 16 [json_name = "aconp"];
* @return The aconp.
*/
@java.lang.Override
public int getAconp() {
return instance.getAconp();
}
/**
*
* Audio continuous play (e.g., aconp=2)
*
*
* optional int32 aconp = 16 [json_name = "aconp"];
* @param value The aconp to set.
* @return This builder for chaining.
*/
public Builder setAconp(int value) {
copyOnWrite();
instance.setAconp(value);
return this;
}
/**
*
* Audio continuous play (e.g., aconp=2)
*
*
* optional int32 aconp = 16 [json_name = "aconp"];
* @return This builder for chaining.
*/
public Builder clearAconp() {
copyOnWrite();
instance.clearAconp();
return this;
}
/**
*
* Ad rule type (e.g., ad_rule=0 for VAST creative)
*
*
* optional int32 ad_rule = 17 [json_name = "adRule"];
* @return Whether the adRule field is set.
*/
@java.lang.Override
public boolean hasAdRule() {
return instance.hasAdRule();
}
/**
*
* Ad rule type (e.g., ad_rule=0 for VAST creative)
*
*
* optional int32 ad_rule = 17 [json_name = "adRule"];
* @return The adRule.
*/
@java.lang.Override
public int getAdRule() {
return instance.getAdRule();
}
/**
*
* Ad rule type (e.g., ad_rule=0 for VAST creative)
*
*
* optional int32 ad_rule = 17 [json_name = "adRule"];
* @param value The adRule to set.
* @return This builder for chaining.
*/
public Builder setAdRule(int value) {
copyOnWrite();
instance.setAdRule(value);
return this;
}
/**
*
* Ad rule type (e.g., ad_rule=0 for VAST creative)
*
*
* optional int32 ad_rule = 17 [json_name = "adRule"];
* @return This builder for chaining.
*/
public Builder clearAdRule() {
copyOnWrite();
instance.clearAdRule();
return this;
}
/**
*
* Ad type (e.g., ad_type=video)
*
*
* optional string ad_type = 18 [json_name = "adType"];
* @return Whether the adType field is set.
*/
@java.lang.Override
public boolean hasAdType() {
return instance.hasAdType();
}
/**
*
* Ad type (e.g., ad_type=video)
*
*
* optional string ad_type = 18 [json_name = "adType"];
* @return The adType.
*/
@java.lang.Override
public java.lang.String getAdType() {
return instance.getAdType();
}
/**
*
* Ad type (e.g., ad_type=video)
*
*
* optional string ad_type = 18 [json_name = "adType"];
* @return The bytes for adType.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getAdTypeBytes() {
return instance.getAdTypeBytes();
}
/**
*
* Ad type (e.g., ad_type=video)
*
*
* optional string ad_type = 18 [json_name = "adType"];
* @param value The adType to set.
* @return This builder for chaining.
*/
public Builder setAdType(
java.lang.String value) {
copyOnWrite();
instance.setAdType(value);
return this;
}
/**
*
* Ad type (e.g., ad_type=video)
*
*
* optional string ad_type = 18 [json_name = "adType"];
* @return This builder for chaining.
*/
public Builder clearAdType() {
copyOnWrite();
instance.clearAdType();
return this;
}
/**
*
* Ad type (e.g., ad_type=video)
*
*
* optional string ad_type = 18 [json_name = "adType"];
* @param value The bytes for adType to set.
* @return This builder for chaining.
*/
public Builder setAdTypeBytes(
com.google.protobuf.ByteString value) {
copyOnWrite();
instance.setAdTypeBytes(value);
return this;
}
/**
*
* Language of the ad request (e.g., hl=en)
*
*
* optional string hl = 19 [json_name = "hl"];
* @return Whether the hl field is set.
*/
@java.lang.Override
public boolean hasHl() {
return instance.hasHl();
}
/**
*
* Language of the ad request (e.g., hl=en)
*
*
* optional string hl = 19 [json_name = "hl"];
* @return The hl.
*/
@java.lang.Override
public java.lang.String getHl() {
return instance.getHl();
}
/**
*
* Language of the ad request (e.g., hl=en)
*
*
* optional string hl = 19 [json_name = "hl"];
* @return The bytes for hl.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getHlBytes() {
return instance.getHlBytes();
}
/**
*
* Language of the ad request (e.g., hl=en)
*
*
* optional string hl = 19 [json_name = "hl"];
* @param value The hl to set.
* @return This builder for chaining.
*/
public Builder setHl(
java.lang.String value) {
copyOnWrite();
instance.setHl(value);
return this;
}
/**
*
* Language of the ad request (e.g., hl=en)
*
*
* optional string hl = 19 [json_name = "hl"];
* @return This builder for chaining.
*/
public Builder clearHl() {
copyOnWrite();
instance.clearHl();
return this;
}
/**
*
* Language of the ad request (e.g., hl=en)
*
*
* optional string hl = 19 [json_name = "hl"];
* @param value The bytes for hl to set.
* @return This builder for chaining.
*/
public Builder setHlBytes(
com.google.protobuf.ByteString value) {
copyOnWrite();
instance.setHlBytes(value);
return this;
}
/**
*
* Device type hint (e.g., dth=5)
*
*
* optional int32 dth = 20 [json_name = "dth"];
* @return Whether the dth field is set.
*/
@java.lang.Override
public boolean hasDth() {
return instance.hasDth();
}
/**
*
* Device type hint (e.g., dth=5)
*
*
* optional int32 dth = 20 [json_name = "dth"];
* @return The dth.
*/
@java.lang.Override
public int getDth() {
return instance.getDth();
}
/**
*
* Device type hint (e.g., dth=5)
*
*
* optional int32 dth = 20 [json_name = "dth"];
* @param value The dth to set.
* @return This builder for chaining.
*/
public Builder setDth(int value) {
copyOnWrite();
instance.setDth(value);
return this;
}
/**
*
* Device type hint (e.g., dth=5)
*
*
* optional int32 dth = 20 [json_name = "dth"];
* @return This builder for chaining.
*/
public Builder clearDth() {
copyOnWrite();
instance.clearDth();
return this;
}
/**
*
* GDPR parameter (e.g., gdpr=1)
*
*
* optional int32 gdpr = 21 [json_name = "gdpr"];
* @return Whether the gdpr field is set.
*/
@java.lang.Override
public boolean hasGdpr() {
return instance.hasGdpr();
}
/**
*
* GDPR parameter (e.g., gdpr=1)
*
*
* optional int32 gdpr = 21 [json_name = "gdpr"];
* @return The gdpr.
*/
@java.lang.Override
public int getGdpr() {
return instance.getGdpr();
}
/**
*
* GDPR parameter (e.g., gdpr=1)
*
*
* optional int32 gdpr = 21 [json_name = "gdpr"];
* @param value The gdpr to set.
* @return This builder for chaining.
*/
public Builder setGdpr(int value) {
copyOnWrite();
instance.setGdpr(value);
return this;
}
/**
*
* GDPR parameter (e.g., gdpr=1)
*
*
* optional int32 gdpr = 21 [json_name = "gdpr"];
* @return This builder for chaining.
*/
public Builder clearGdpr() {
copyOnWrite();
instance.clearGdpr();
return this;
}
/**
*
* GDPR consent string (e.g., gdpr_consent=GDPR_CONSENT_123)
*
*
* optional string gdpr_consent = 22 [json_name = "gdprConsent"];
* @return Whether the gdprConsent field is set.
*/
@java.lang.Override
public boolean hasGdprConsent() {
return instance.hasGdprConsent();
}
/**
*
* GDPR consent string (e.g., gdpr_consent=GDPR_CONSENT_123)
*
*
* optional string gdpr_consent = 22 [json_name = "gdprConsent"];
* @return The gdprConsent.
*/
@java.lang.Override
public java.lang.String getGdprConsent() {
return instance.getGdprConsent();
}
/**
*
* GDPR consent string (e.g., gdpr_consent=GDPR_CONSENT_123)
*
*
* optional string gdpr_consent = 22 [json_name = "gdprConsent"];
* @return The bytes for gdprConsent.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getGdprConsentBytes() {
return instance.getGdprConsentBytes();
}
/**
*
* GDPR consent string (e.g., gdpr_consent=GDPR_CONSENT_123)
*
*
* optional string gdpr_consent = 22 [json_name = "gdprConsent"];
* @param value The gdprConsent to set.
* @return This builder for chaining.
*/
public Builder setGdprConsent(
java.lang.String value) {
copyOnWrite();
instance.setGdprConsent(value);
return this;
}
/**
*
* GDPR consent string (e.g., gdpr_consent=GDPR_CONSENT_123)
*
*
* optional string gdpr_consent = 22 [json_name = "gdprConsent"];
* @return This builder for chaining.
*/
public Builder clearGdprConsent() {
copyOnWrite();
instance.clearGdprConsent();
return this;
}
/**
*
* GDPR consent string (e.g., gdpr_consent=GDPR_CONSENT_123)
*
*
* optional string gdpr_consent = 22 [json_name = "gdprConsent"];
* @param value The bytes for gdprConsent to set.
* @return This builder for chaining.
*/
public Builder setGdprConsentBytes(
com.google.protobuf.ByteString value) {
copyOnWrite();
instance.setGdprConsentBytes(value);
return this;
}
/**
*
* IAB exclusion categories (e.g., iabexcl=3,14,527)
*
*
* optional string iabexcl = 23 [json_name = "iabexcl"];
* @return Whether the iabexcl field is set.
*/
@java.lang.Override
public boolean hasIabexcl() {
return instance.hasIabexcl();
}
/**
*
* IAB exclusion categories (e.g., iabexcl=3,14,527)
*
*
* optional string iabexcl = 23 [json_name = "iabexcl"];
* @return The iabexcl.
*/
@java.lang.Override
public java.lang.String getIabexcl() {
return instance.getIabexcl();
}
/**
*
* IAB exclusion categories (e.g., iabexcl=3,14,527)
*
*
* optional string iabexcl = 23 [json_name = "iabexcl"];
* @return The bytes for iabexcl.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getIabexclBytes() {
return instance.getIabexclBytes();
}
/**
*
* IAB exclusion categories (e.g., iabexcl=3,14,527)
*
*
* optional string iabexcl = 23 [json_name = "iabexcl"];
* @param value The iabexcl to set.
* @return This builder for chaining.
*/
public Builder setIabexcl(
java.lang.String value) {
copyOnWrite();
instance.setIabexcl(value);
return this;
}
/**
*
* IAB exclusion categories (e.g., iabexcl=3,14,527)
*
*
* optional string iabexcl = 23 [json_name = "iabexcl"];
* @return This builder for chaining.
*/
public Builder clearIabexcl() {
copyOnWrite();
instance.clearIabexcl();
return this;
}
/**
*
* IAB exclusion categories (e.g., iabexcl=3,14,527)
*
*
* optional string iabexcl = 23 [json_name = "iabexcl"];
* @param value The bytes for iabexcl to set.
* @return This builder for chaining.
*/
public Builder setIabexclBytes(
com.google.protobuf.ByteString value) {
copyOnWrite();
instance.setIabexclBytes(value);
return this;
}
/**
*
* Last position in pod (e.g., lip=true)
*
*
* optional bool lip = 24 [json_name = "lip"];
* @return Whether the lip field is set.
*/
@java.lang.Override
public boolean hasLip() {
return instance.hasLip();
}
/**
*
* Last position in pod (e.g., lip=true)
*
*
* optional bool lip = 24 [json_name = "lip"];
* @return The lip.
*/
@java.lang.Override
public boolean getLip() {
return instance.getLip();
}
/**
*
* Last position in pod (e.g., lip=true)
*
*
* optional bool lip = 24 [json_name = "lip"];
* @param value The lip to set.
* @return This builder for chaining.
*/
public Builder setLip(boolean value) {
copyOnWrite();
instance.setLip(value);
return this;
}
/**
*
* Last position in pod (e.g., lip=true)
*
*
* optional bool lip = 24 [json_name = "lip"];
* @return This builder for chaining.
*/
public Builder clearLip() {
copyOnWrite();
instance.clearLip();
return this;
}
/**
*
* Limited ads (e.g., ltd=1)
*
*
* optional int32 ltd = 25 [json_name = "ltd"];
* @return Whether the ltd field is set.
*/
@java.lang.Override
public boolean hasLtd() {
return instance.hasLtd();
}
/**
*
* Limited ads (e.g., ltd=1)
*
*
* optional int32 ltd = 25 [json_name = "ltd"];
* @return The ltd.
*/
@java.lang.Override
public int getLtd() {
return instance.getLtd();
}
/**
*
* Limited ads (e.g., ltd=1)
*
*
* optional int32 ltd = 25 [json_name = "ltd"];
* @param value The ltd to set.
* @return This builder for chaining.
*/
public Builder setLtd(int value) {
copyOnWrite();
instance.setLtd(value);
return this;
}
/**
*
* Limited ads (e.g., ltd=1)
*
*
* optional int32 ltd = 25 [json_name = "ltd"];
* @return This builder for chaining.
*/
public Builder clearLtd() {
copyOnWrite();
instance.clearLtd();
return this;
}
/**
*
* Fallback disabled (e.g., nofb=1)
*
*
* optional int32 nofb = 26 [json_name = "nofb"];
* @return Whether the nofb field is set.
*/
@java.lang.Override
public boolean hasNofb() {
return instance.hasNofb();
}
/**
*
* Fallback disabled (e.g., nofb=1)
*
*
* optional int32 nofb = 26 [json_name = "nofb"];
* @return The nofb.
*/
@java.lang.Override
public int getNofb() {
return instance.getNofb();
}
/**
*
* Fallback disabled (e.g., nofb=1)
*
*
* optional int32 nofb = 26 [json_name = "nofb"];
* @param value The nofb to set.
* @return This builder for chaining.
*/
public Builder setNofb(int value) {
copyOnWrite();
instance.setNofb(value);
return this;
}
/**
*
* Fallback disabled (e.g., nofb=1)
*
*
* optional int32 nofb = 26 [json_name = "nofb"];
* @return This builder for chaining.
*/
public Builder clearNofb() {
copyOnWrite();
instance.clearNofb();
return this;
}
/**
*
* Non-personalized ads (e.g., npa=1)
*
*
* optional int32 npa = 27 [json_name = "npa"];
* @return Whether the npa field is set.
*/
@java.lang.Override
public boolean hasNpa() {
return instance.hasNpa();
}
/**
*
* Non-personalized ads (e.g., npa=1)
*
*
* optional int32 npa = 27 [json_name = "npa"];
* @return The npa.
*/
@java.lang.Override
public int getNpa() {
return instance.getNpa();
}
/**
*
* Non-personalized ads (e.g., npa=1)
*
*
* optional int32 npa = 27 [json_name = "npa"];
* @param value The npa to set.
* @return This builder for chaining.
*/
public Builder setNpa(int value) {
copyOnWrite();
instance.setNpa(value);
return this;
}
/**
*
* Non-personalized ads (e.g., npa=1)
*
*
* optional int32 npa = 27 [json_name = "npa"];
* @return This builder for chaining.
*/
public Builder clearNpa() {
copyOnWrite();
instance.clearNpa();
return this;
}
/**
*
* OMID partner name (e.g., omid_p=examplepartnername/1.0.0.0)
*
*
* optional string omid_p = 28 [json_name = "omidP"];
* @return Whether the omidP field is set.
*/
@java.lang.Override
public boolean hasOmidP() {
return instance.hasOmidP();
}
/**
*
* OMID partner name (e.g., omid_p=examplepartnername/1.0.0.0)
*
*
* optional string omid_p = 28 [json_name = "omidP"];
* @return The omidP.
*/
@java.lang.Override
public java.lang.String getOmidP() {
return instance.getOmidP();
}
/**
*
* OMID partner name (e.g., omid_p=examplepartnername/1.0.0.0)
*
*
* optional string omid_p = 28 [json_name = "omidP"];
* @return The bytes for omidP.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getOmidPBytes() {
return instance.getOmidPBytes();
}
/**
*
* OMID partner name (e.g., omid_p=examplepartnername/1.0.0.0)
*
*
* optional string omid_p = 28 [json_name = "omidP"];
* @param value The omidP to set.
* @return This builder for chaining.
*/
public Builder setOmidP(
java.lang.String value) {
copyOnWrite();
instance.setOmidP(value);
return this;
}
/**
*
* OMID partner name (e.g., omid_p=examplepartnername/1.0.0.0)
*
*
* optional string omid_p = 28 [json_name = "omidP"];
* @return This builder for chaining.
*/
public Builder clearOmidP() {
copyOnWrite();
instance.clearOmidP();
return this;
}
/**
*
* OMID partner name (e.g., omid_p=examplepartnername/1.0.0.0)
*
*
* optional string omid_p = 28 [json_name = "omidP"];
* @param value The bytes for omidP to set.
* @return This builder for chaining.
*/
public Builder setOmidPBytes(
com.google.protobuf.ByteString value) {
copyOnWrite();
instance.setOmidPBytes(value);
return this;
}
/**
*
* Publisher Privacy Treatment (e.g., ppt=1)
*
*
* optional int32 ppt = 29 [json_name = "ppt"];
* @return Whether the ppt field is set.
*/
@java.lang.Override
public boolean hasPpt() {
return instance.hasPpt();
}
/**
*
* Publisher Privacy Treatment (e.g., ppt=1)
*
*
* optional int32 ppt = 29 [json_name = "ppt"];
* @return The ppt.
*/
@java.lang.Override
public int getPpt() {
return instance.getPpt();
}
/**
*
* Publisher Privacy Treatment (e.g., ppt=1)
*
*
* optional int32 ppt = 29 [json_name = "ppt"];
* @param value The ppt to set.
* @return This builder for chaining.
*/
public Builder setPpt(int value) {
copyOnWrite();
instance.setPpt(value);
return this;
}
/**
*
* Publisher Privacy Treatment (e.g., ppt=1)
*
*
* optional int32 ppt = 29 [json_name = "ppt"];
* @return This builder for chaining.
*/
public Builder clearPpt() {
copyOnWrite();
instance.clearPpt();
return this;
}
/**
*
* Position in pod (e.g., ppos=2)
*
*
* optional int32 ppos = 30 [json_name = "ppos"];
* @return Whether the ppos field is set.
*/
@java.lang.Override
public boolean hasPpos() {
return instance.hasPpos();
}
/**
*
* Position in pod (e.g., ppos=2)
*
*
* optional int32 ppos = 30 [json_name = "ppos"];
* @return The ppos.
*/
@java.lang.Override
public int getPpos() {
return instance.getPpos();
}
/**
*
* Position in pod (e.g., ppos=2)
*
*
* optional int32 ppos = 30 [json_name = "ppos"];
* @param value The ppos to set.
* @return This builder for chaining.
*/
public Builder setPpos(int value) {
copyOnWrite();
instance.setPpos(value);
return this;
}
/**
*
* Position in pod (e.g., ppos=2)
*
*
* optional int32 ppos = 30 [json_name = "ppos"];
* @return This builder for chaining.
*/
public Builder clearPpos() {
copyOnWrite();
instance.clearPpos();
return this;
}
/**
*
* Publisher provided identifier (e.g., ppid=12JD92JD8078S8J29SDOAKC0EF230337)
*
*
* optional string ppid = 31 [json_name = "ppid"];
* @return Whether the ppid field is set.
*/
@java.lang.Override
public boolean hasPpid() {
return instance.hasPpid();
}
/**
*
* Publisher provided identifier (e.g., ppid=12JD92JD8078S8J29SDOAKC0EF230337)
*
*
* optional string ppid = 31 [json_name = "ppid"];
* @return The ppid.
*/
@java.lang.Override
public java.lang.String getPpid() {
return instance.getPpid();
}
/**
*
* Publisher provided identifier (e.g., ppid=12JD92JD8078S8J29SDOAKC0EF230337)
*
*
* optional string ppid = 31 [json_name = "ppid"];
* @return The bytes for ppid.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getPpidBytes() {
return instance.getPpidBytes();
}
/**
*
* Publisher provided identifier (e.g., ppid=12JD92JD8078S8J29SDOAKC0EF230337)
*
*
* optional string ppid = 31 [json_name = "ppid"];
* @param value The ppid to set.
* @return This builder for chaining.
*/
public Builder setPpid(
java.lang.String value) {
copyOnWrite();
instance.setPpid(value);
return this;
}
/**
*
* Publisher provided identifier (e.g., ppid=12JD92JD8078S8J29SDOAKC0EF230337)
*
*
* optional string ppid = 31 [json_name = "ppid"];
* @return This builder for chaining.
*/
public Builder clearPpid() {
copyOnWrite();
instance.clearPpid();
return this;
}
/**
*
* Publisher provided identifier (e.g., ppid=12JD92JD8078S8J29SDOAKC0EF230337)
*
*
* optional string ppid = 31 [json_name = "ppid"];
* @param value The bytes for ppid to set.
* @return This builder for chaining.
*/
public Builder setPpidBytes(
com.google.protobuf.ByteString value) {
copyOnWrite();
instance.setPpidBytes(value);
return this;
}
/**
*
* Stream correlator (e.g., scor=17)
*
*
* optional int32 scor = 32 [json_name = "scor"];
* @return Whether the scor field is set.
*/
@java.lang.Override
public boolean hasScor() {
return instance.hasScor();
}
/**
*
* Stream correlator (e.g., scor=17)
*
*
* optional int32 scor = 32 [json_name = "scor"];
* @return The scor.
*/
@java.lang.Override
public int getScor() {
return instance.getScor();
}
/**
*
* Stream correlator (e.g., scor=17)
*
*
* optional int32 scor = 32 [json_name = "scor"];
* @param value The scor to set.
* @return This builder for chaining.
*/
public Builder setScor(int value) {
copyOnWrite();
instance.setScor(value);
return this;
}
/**
*
* Stream correlator (e.g., scor=17)
*
*
* optional int32 scor = 32 [json_name = "scor"];
* @return This builder for chaining.
*/
public Builder clearScor() {
copyOnWrite();
instance.clearScor();
return this;
}
/**
*
* SDK API framework (e.g., sdk_apis=2,7,9)
*
*
* optional string sdk_apis = 33 [json_name = "sdkApis"];
* @return Whether the sdkApis field is set.
*/
@java.lang.Override
public boolean hasSdkApis() {
return instance.hasSdkApis();
}
/**
*
* SDK API framework (e.g., sdk_apis=2,7,9)
*
*
* optional string sdk_apis = 33 [json_name = "sdkApis"];
* @return The sdkApis.
*/
@java.lang.Override
public java.lang.String getSdkApis() {
return instance.getSdkApis();
}
/**
*
* SDK API framework (e.g., sdk_apis=2,7,9)
*
*
* optional string sdk_apis = 33 [json_name = "sdkApis"];
* @return The bytes for sdkApis.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getSdkApisBytes() {
return instance.getSdkApisBytes();
}
/**
*
* SDK API framework (e.g., sdk_apis=2,7,9)
*
*
* optional string sdk_apis = 33 [json_name = "sdkApis"];
* @param value The sdkApis to set.
* @return This builder for chaining.
*/
public Builder setSdkApis(
java.lang.String value) {
copyOnWrite();
instance.setSdkApis(value);
return this;
}
/**
*
* SDK API framework (e.g., sdk_apis=2,7,9)
*
*
* optional string sdk_apis = 33 [json_name = "sdkApis"];
* @return This builder for chaining.
*/
public Builder clearSdkApis() {
copyOnWrite();
instance.clearSdkApis();
return this;
}
/**
*
* SDK API framework (e.g., sdk_apis=2,7,9)
*
*
* optional string sdk_apis = 33 [json_name = "sdkApis"];
* @param value The bytes for sdkApis to set.
* @return This builder for chaining.
*/
public Builder setSdkApisBytes(
com.google.protobuf.ByteString value) {
copyOnWrite();
instance.setSdkApisBytes(value);
return this;
}
/**
*
* Server-side stitching source (e.g., ssss=mystitcher)
*
*
* optional string ssss = 34 [json_name = "ssss"];
* @return Whether the ssss field is set.
*/
@java.lang.Override
public boolean hasSsss() {
return instance.hasSsss();
}
/**
*
* Server-side stitching source (e.g., ssss=mystitcher)
*
*
* optional string ssss = 34 [json_name = "ssss"];
* @return The ssss.
*/
@java.lang.Override
public java.lang.String getSsss() {
return instance.getSsss();
}
/**
*
* Server-side stitching source (e.g., ssss=mystitcher)
*
*
* optional string ssss = 34 [json_name = "ssss"];
* @return The bytes for ssss.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getSsssBytes() {
return instance.getSsssBytes();
}
/**
*
* Server-side stitching source (e.g., ssss=mystitcher)
*
*
* optional string ssss = 34 [json_name = "ssss"];
* @param value The ssss to set.
* @return This builder for chaining.
*/
public Builder setSsss(
java.lang.String value) {
copyOnWrite();
instance.setSsss(value);
return this;
}
/**
*
* Server-side stitching source (e.g., ssss=mystitcher)
*
*
* optional string ssss = 34 [json_name = "ssss"];
* @return This builder for chaining.
*/
public Builder clearSsss() {
copyOnWrite();
instance.clearSsss();
return this;
}
/**
*
* Server-side stitching source (e.g., ssss=mystitcher)
*
*
* optional string ssss = 34 [json_name = "ssss"];
* @param value The bytes for ssss to set.
* @return This builder for chaining.
*/
public Builder setSsssBytes(
com.google.protobuf.ByteString value) {
copyOnWrite();
instance.setSsssBytes(value);
return this;
}
/**
*
* Skippable max ad duration (e.g., sdmax=45000)
*
*
* optional string sdmax = 35 [json_name = "sdmax"];
* @return Whether the sdmax field is set.
*/
@java.lang.Override
public boolean hasSdmax() {
return instance.hasSdmax();
}
/**
*
* Skippable max ad duration (e.g., sdmax=45000)
*
*
* optional string sdmax = 35 [json_name = "sdmax"];
* @return The sdmax.
*/
@java.lang.Override
public java.lang.String getSdmax() {
return instance.getSdmax();
}
/**
*
* Skippable max ad duration (e.g., sdmax=45000)
*
*
* optional string sdmax = 35 [json_name = "sdmax"];
* @return The bytes for sdmax.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getSdmaxBytes() {
return instance.getSdmaxBytes();
}
/**
*
* Skippable max ad duration (e.g., sdmax=45000)
*
*
* optional string sdmax = 35 [json_name = "sdmax"];
* @param value The sdmax to set.
* @return This builder for chaining.
*/
public Builder setSdmax(
java.lang.String value) {
copyOnWrite();
instance.setSdmax(value);
return this;
}
/**
*
* Skippable max ad duration (e.g., sdmax=45000)
*
*
* optional string sdmax = 35 [json_name = "sdmax"];
* @return This builder for chaining.
*/
public Builder clearSdmax() {
copyOnWrite();
instance.clearSdmax();
return this;
}
/**
*
* Skippable max ad duration (e.g., sdmax=45000)
*
*
* optional string sdmax = 35 [json_name = "sdmax"];
* @param value The bytes for sdmax to set.
* @return This builder for chaining.
*/
public Builder setSdmaxBytes(
com.google.protobuf.ByteString value) {
copyOnWrite();
instance.setSdmaxBytes(value);
return this;
}
/**
*
* Session ID (e.g., sid=123e4567-e89b-12d3-a456-426614174000)
*
*
* optional string sid = 36 [json_name = "sid"];
* @return Whether the sid field is set.
*/
@java.lang.Override
public boolean hasSid() {
return instance.hasSid();
}
/**
*
* Session ID (e.g., sid=123e4567-e89b-12d3-a456-426614174000)
*
*
* optional string sid = 36 [json_name = "sid"];
* @return The sid.
*/
@java.lang.Override
public java.lang.String getSid() {
return instance.getSid();
}
/**
*
* Session ID (e.g., sid=123e4567-e89b-12d3-a456-426614174000)
*
*
* optional string sid = 36 [json_name = "sid"];
* @return The bytes for sid.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getSidBytes() {
return instance.getSidBytes();
}
/**
*
* Session ID (e.g., sid=123e4567-e89b-12d3-a456-426614174000)
*
*
* optional string sid = 36 [json_name = "sid"];
* @param value The sid to set.
* @return This builder for chaining.
*/
public Builder setSid(
java.lang.String value) {
copyOnWrite();
instance.setSid(value);
return this;
}
/**
*
* Session ID (e.g., sid=123e4567-e89b-12d3-a456-426614174000)
*
*
* optional string sid = 36 [json_name = "sid"];
* @return This builder for chaining.
*/
public Builder clearSid() {
copyOnWrite();
instance.clearSid();
return this;
}
/**
*
* Session ID (e.g., sid=123e4567-e89b-12d3-a456-426614174000)
*
*
* optional string sid = 36 [json_name = "sid"];
* @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;
}
/**
*
* Restrict data processing (e.g., rdp=1)
*
*
* optional int32 rdp = 37 [json_name = "rdp"];
* @return Whether the rdp field is set.
*/
@java.lang.Override
public boolean hasRdp() {
return instance.hasRdp();
}
/**
*
* Restrict data processing (e.g., rdp=1)
*
*
* optional int32 rdp = 37 [json_name = "rdp"];
* @return The rdp.
*/
@java.lang.Override
public int getRdp() {
return instance.getRdp();
}
/**
*
* Restrict data processing (e.g., rdp=1)
*
*
* optional int32 rdp = 37 [json_name = "rdp"];
* @param value The rdp to set.
* @return This builder for chaining.
*/
public Builder setRdp(int value) {
copyOnWrite();
instance.setRdp(value);
return this;
}
/**
*
* Restrict data processing (e.g., rdp=1)
*
*
* optional int32 rdp = 37 [json_name = "rdp"];
* @return This builder for chaining.
*/
public Builder clearRdp() {
copyOnWrite();
instance.clearRdp();
return this;
}
/**
*
* Additional consent (e.g., addtl_consent=1~1.35.41.101)
*
*
* optional string addtl_consent = 38 [json_name = "addtlConsent"];
* @return Whether the addtlConsent field is set.
*/
@java.lang.Override
public boolean hasAddtlConsent() {
return instance.hasAddtlConsent();
}
/**
*
* Additional consent (e.g., addtl_consent=1~1.35.41.101)
*
*
* optional string addtl_consent = 38 [json_name = "addtlConsent"];
* @return The addtlConsent.
*/
@java.lang.Override
public java.lang.String getAddtlConsent() {
return instance.getAddtlConsent();
}
/**
*
* Additional consent (e.g., addtl_consent=1~1.35.41.101)
*
*
* optional string addtl_consent = 38 [json_name = "addtlConsent"];
* @return The bytes for addtlConsent.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getAddtlConsentBytes() {
return instance.getAddtlConsentBytes();
}
/**
*
* Additional consent (e.g., addtl_consent=1~1.35.41.101)
*
*
* optional string addtl_consent = 38 [json_name = "addtlConsent"];
* @param value The addtlConsent to set.
* @return This builder for chaining.
*/
public Builder setAddtlConsent(
java.lang.String value) {
copyOnWrite();
instance.setAddtlConsent(value);
return this;
}
/**
*
* Additional consent (e.g., addtl_consent=1~1.35.41.101)
*
*
* optional string addtl_consent = 38 [json_name = "addtlConsent"];
* @return This builder for chaining.
*/
public Builder clearAddtlConsent() {
copyOnWrite();
instance.clearAddtlConsent();
return this;
}
/**
*
* Additional consent (e.g., addtl_consent=1~1.35.41.101)
*
*
* optional string addtl_consent = 38 [json_name = "addtlConsent"];
* @param value The bytes for addtlConsent to set.
* @return This builder for chaining.
*/
public Builder setAddtlConsentBytes(
com.google.protobuf.ByteString value) {
copyOnWrite();
instance.setAddtlConsentBytes(value);
return this;
}
/**
*
* Non-linear ad sizes (e.g., afvsz=200x200,250x250)
*
*
* optional string afvsz = 39 [json_name = "afvsz"];
* @return Whether the afvsz field is set.
*/
@java.lang.Override
public boolean hasAfvsz() {
return instance.hasAfvsz();
}
/**
*
* Non-linear ad sizes (e.g., afvsz=200x200,250x250)
*
*
* optional string afvsz = 39 [json_name = "afvsz"];
* @return The afvsz.
*/
@java.lang.Override
public java.lang.String getAfvsz() {
return instance.getAfvsz();
}
/**
*
* Non-linear ad sizes (e.g., afvsz=200x200,250x250)
*
*
* optional string afvsz = 39 [json_name = "afvsz"];
* @return The bytes for afvsz.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getAfvszBytes() {
return instance.getAfvszBytes();
}
/**
*
* Non-linear ad sizes (e.g., afvsz=200x200,250x250)
*
*
* optional string afvsz = 39 [json_name = "afvsz"];
* @param value The afvsz to set.
* @return This builder for chaining.
*/
public Builder setAfvsz(
java.lang.String value) {
copyOnWrite();
instance.setAfvsz(value);
return this;
}
/**
*
* Non-linear ad sizes (e.g., afvsz=200x200,250x250)
*
*
* optional string afvsz = 39 [json_name = "afvsz"];
* @return This builder for chaining.
*/
public Builder clearAfvsz() {
copyOnWrite();
instance.clearAfvsz();
return this;
}
/**
*
* Non-linear ad sizes (e.g., afvsz=200x200,250x250)
*
*
* optional string afvsz = 39 [json_name = "afvsz"];
* @param value The bytes for afvsz to set.
* @return This builder for chaining.
*/
public Builder setAfvszBytes(
com.google.protobuf.ByteString value) {
copyOnWrite();
instance.setAfvszBytes(value);
return this;
}
/**
*
* Cue points for mid-roll ads (e.g., allcues=10000,20000)
*
*
* optional string allcues = 40 [json_name = "allcues"];
* @return Whether the allcues field is set.
*/
@java.lang.Override
public boolean hasAllcues() {
return instance.hasAllcues();
}
/**
*
* Cue points for mid-roll ads (e.g., allcues=10000,20000)
*
*
* optional string allcues = 40 [json_name = "allcues"];
* @return The allcues.
*/
@java.lang.Override
public java.lang.String getAllcues() {
return instance.getAllcues();
}
/**
*
* Cue points for mid-roll ads (e.g., allcues=10000,20000)
*
*
* optional string allcues = 40 [json_name = "allcues"];
* @return The bytes for allcues.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getAllcuesBytes() {
return instance.getAllcuesBytes();
}
/**
*
* Cue points for mid-roll ads (e.g., allcues=10000,20000)
*
*
* optional string allcues = 40 [json_name = "allcues"];
* @param value The allcues to set.
* @return This builder for chaining.
*/
public Builder setAllcues(
java.lang.String value) {
copyOnWrite();
instance.setAllcues(value);
return this;
}
/**
*
* Cue points for mid-roll ads (e.g., allcues=10000,20000)
*
*
* optional string allcues = 40 [json_name = "allcues"];
* @return This builder for chaining.
*/
public Builder clearAllcues() {
copyOnWrite();
instance.clearAllcues();
return this;
}
/**
*
* Cue points for mid-roll ads (e.g., allcues=10000,20000)
*
*
* optional string allcues = 40 [json_name = "allcues"];
* @param value The bytes for allcues to set.
* @return This builder for chaining.
*/
public Builder setAllcuesBytes(
com.google.protobuf.ByteString value) {
copyOnWrite();
instance.setAllcuesBytes(value);
return this;
}
/**
*
* Content source ID (e.g., cmsid=123)
*
*
* optional int32 cmsid = 41 [json_name = "cmsid"];
* @return Whether the cmsid field is set.
*/
@java.lang.Override
public boolean hasCmsid() {
return instance.hasCmsid();
}
/**
*
* Content source ID (e.g., cmsid=123)
*
*
* optional int32 cmsid = 41 [json_name = "cmsid"];
* @return The cmsid.
*/
@java.lang.Override
public int getCmsid() {
return instance.getCmsid();
}
/**
*
* Content source ID (e.g., cmsid=123)
*
*
* optional int32 cmsid = 41 [json_name = "cmsid"];
* @param value The cmsid to set.
* @return This builder for chaining.
*/
public Builder setCmsid(int value) {
copyOnWrite();
instance.setCmsid(value);
return this;
}
/**
*
* Content source ID (e.g., cmsid=123)
*
*
* optional int32 cmsid = 41 [json_name = "cmsid"];
* @return This builder for chaining.
*/
public Builder clearCmsid() {
copyOnWrite();
instance.clearCmsid();
return this;
}
/**
*
* Video ID (e.g., vid=456)
*
*
* optional int32 vid = 42 [json_name = "vid"];
* @return Whether the vid field is set.
*/
@java.lang.Override
public boolean hasVid() {
return instance.hasVid();
}
/**
*
* Video ID (e.g., vid=456)
*
*
* optional int32 vid = 42 [json_name = "vid"];
* @return The vid.
*/
@java.lang.Override
public int getVid() {
return instance.getVid();
}
/**
*
* Video ID (e.g., vid=456)
*
*
* optional int32 vid = 42 [json_name = "vid"];
* @param value The vid to set.
* @return This builder for chaining.
*/
public Builder setVid(int value) {
copyOnWrite();
instance.setVid(value);
return this;
}
/**
*
* Video ID (e.g., vid=456)
*
*
* optional int32 vid = 42 [json_name = "vid"];
* @return This builder for chaining.
*/
public Builder clearVid() {
copyOnWrite();
instance.clearVid();
return this;
}
/**
*
* Exclusion category (e.g., excl_cat=airline_excl_label)
*
*
* optional string excl_cat = 43 [json_name = "exclCat"];
* @return Whether the exclCat field is set.
*/
@java.lang.Override
public boolean hasExclCat() {
return instance.hasExclCat();
}
/**
*
* Exclusion category (e.g., excl_cat=airline_excl_label)
*
*
* optional string excl_cat = 43 [json_name = "exclCat"];
* @return The exclCat.
*/
@java.lang.Override
public java.lang.String getExclCat() {
return instance.getExclCat();
}
/**
*
* Exclusion category (e.g., excl_cat=airline_excl_label)
*
*
* optional string excl_cat = 43 [json_name = "exclCat"];
* @return The bytes for exclCat.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getExclCatBytes() {
return instance.getExclCatBytes();
}
/**
*
* Exclusion category (e.g., excl_cat=airline_excl_label)
*
*
* optional string excl_cat = 43 [json_name = "exclCat"];
* @param value The exclCat to set.
* @return This builder for chaining.
*/
public Builder setExclCat(
java.lang.String value) {
copyOnWrite();
instance.setExclCat(value);
return this;
}
/**
*
* Exclusion category (e.g., excl_cat=airline_excl_label)
*
*
* optional string excl_cat = 43 [json_name = "exclCat"];
* @return This builder for chaining.
*/
public Builder clearExclCat() {
copyOnWrite();
instance.clearExclCat();
return this;
}
/**
*
* Exclusion category (e.g., excl_cat=airline_excl_label)
*
*
* optional string excl_cat = 43 [json_name = "exclCat"];
* @param value The bytes for exclCat to set.
* @return This builder for chaining.
*/
public Builder setExclCatBytes(
com.google.protobuf.ByteString value) {
copyOnWrite();
instance.setExclCatBytes(value);
return this;
}
/**
*
* Inventory partner domain (e.g., ipd=partnerdomain.com)
*
*
* optional string ipd = 44 [json_name = "ipd"];
* @return Whether the ipd field is set.
*/
@java.lang.Override
public boolean hasIpd() {
return instance.hasIpd();
}
/**
*
* Inventory partner domain (e.g., ipd=partnerdomain.com)
*
*
* optional string ipd = 44 [json_name = "ipd"];
* @return The ipd.
*/
@java.lang.Override
public java.lang.String getIpd() {
return instance.getIpd();
}
/**
*
* Inventory partner domain (e.g., ipd=partnerdomain.com)
*
*
* optional string ipd = 44 [json_name = "ipd"];
* @return The bytes for ipd.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getIpdBytes() {
return instance.getIpdBytes();
}
/**
*
* Inventory partner domain (e.g., ipd=partnerdomain.com)
*
*
* optional string ipd = 44 [json_name = "ipd"];
* @param value The ipd to set.
* @return This builder for chaining.
*/
public Builder setIpd(
java.lang.String value) {
copyOnWrite();
instance.setIpd(value);
return this;
}
/**
*
* Inventory partner domain (e.g., ipd=partnerdomain.com)
*
*
* optional string ipd = 44 [json_name = "ipd"];
* @return This builder for chaining.
*/
public Builder clearIpd() {
copyOnWrite();
instance.clearIpd();
return this;
}
/**
*
* Inventory partner domain (e.g., ipd=partnerdomain.com)
*
*
* optional string ipd = 44 [json_name = "ipd"];
* @param value The bytes for ipd to set.
* @return This builder for chaining.
*/
public Builder setIpdBytes(
com.google.protobuf.ByteString value) {
copyOnWrite();
instance.setIpdBytes(value);
return this;
}
/**
*
* Impression pinging entity (e.g., ipe=ssb)
*
*
* optional string ipe = 45 [json_name = "ipe"];
* @return Whether the ipe field is set.
*/
@java.lang.Override
public boolean hasIpe() {
return instance.hasIpe();
}
/**
*
* Impression pinging entity (e.g., ipe=ssb)
*
*
* optional string ipe = 45 [json_name = "ipe"];
* @return The ipe.
*/
@java.lang.Override
public java.lang.String getIpe() {
return instance.getIpe();
}
/**
*
* Impression pinging entity (e.g., ipe=ssb)
*
*
* optional string ipe = 45 [json_name = "ipe"];
* @return The bytes for ipe.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getIpeBytes() {
return instance.getIpeBytes();
}
/**
*
* Impression pinging entity (e.g., ipe=ssb)
*
*
* optional string ipe = 45 [json_name = "ipe"];
* @param value The ipe to set.
* @return This builder for chaining.
*/
public Builder setIpe(
java.lang.String value) {
copyOnWrite();
instance.setIpe(value);
return this;
}
/**
*
* Impression pinging entity (e.g., ipe=ssb)
*
*
* optional string ipe = 45 [json_name = "ipe"];
* @return This builder for chaining.
*/
public Builder clearIpe() {
copyOnWrite();
instance.clearIpe();
return this;
}
/**
*
* Impression pinging entity (e.g., ipe=ssb)
*
*
* optional string ipe = 45 [json_name = "ipe"];
* @param value The bytes for ipe to set.
* @return This builder for chaining.
*/
public Builder setIpeBytes(
com.google.protobuf.ByteString value) {
copyOnWrite();
instance.setIpeBytes(value);
return this;
}
/**
*
* Maximum ad duration in milliseconds (e.g. max_ad_duration=30000)
*
*
* optional int32 max_ad_duration = 46 [json_name = "maxAdDuration"];
* @return Whether the maxAdDuration field is set.
*/
@java.lang.Override
public boolean hasMaxAdDuration() {
return instance.hasMaxAdDuration();
}
/**
*
* Maximum ad duration in milliseconds (e.g. max_ad_duration=30000)
*
*
* optional int32 max_ad_duration = 46 [json_name = "maxAdDuration"];
* @return The maxAdDuration.
*/
@java.lang.Override
public int getMaxAdDuration() {
return instance.getMaxAdDuration();
}
/**
*
* Maximum ad duration in milliseconds (e.g. max_ad_duration=30000)
*
*
* optional int32 max_ad_duration = 46 [json_name = "maxAdDuration"];
* @param value The maxAdDuration to set.
* @return This builder for chaining.
*/
public Builder setMaxAdDuration(int value) {
copyOnWrite();
instance.setMaxAdDuration(value);
return this;
}
/**
*
* Maximum ad duration in milliseconds (e.g. max_ad_duration=30000)
*
*
* optional int32 max_ad_duration = 46 [json_name = "maxAdDuration"];
* @return This builder for chaining.
*/
public Builder clearMaxAdDuration() {
copyOnWrite();
instance.clearMaxAdDuration();
return this;
}
/**
*
* Minimum ad duration in milliseconds (e.g. min_ad_duration=15000)
*
*
* optional int32 min_ad_duration = 47 [json_name = "minAdDuration"];
* @return Whether the minAdDuration field is set.
*/
@java.lang.Override
public boolean hasMinAdDuration() {
return instance.hasMinAdDuration();
}
/**
*
* Minimum ad duration in milliseconds (e.g. min_ad_duration=15000)
*
*
* optional int32 min_ad_duration = 47 [json_name = "minAdDuration"];
* @return The minAdDuration.
*/
@java.lang.Override
public int getMinAdDuration() {
return instance.getMinAdDuration();
}
/**
*
* Minimum ad duration in milliseconds (e.g. min_ad_duration=15000)
*
*
* optional int32 min_ad_duration = 47 [json_name = "minAdDuration"];
* @param value The minAdDuration to set.
* @return This builder for chaining.
*/
public Builder setMinAdDuration(int value) {
copyOnWrite();
instance.setMinAdDuration(value);
return this;
}
/**
*
* Minimum ad duration in milliseconds (e.g. min_ad_duration=15000)
*
*
* optional int32 min_ad_duration = 47 [json_name = "minAdDuration"];
* @return This builder for chaining.
*/
public Builder clearMinAdDuration() {
copyOnWrite();
instance.clearMinAdDuration();
return this;
}
/**
*
* Mid-roll number (e.g. mridx=2)
*
*
* optional int32 mridx = 48 [json_name = "mridx"];
* @return Whether the mridx field is set.
*/
@java.lang.Override
public boolean hasMridx() {
return instance.hasMridx();
}
/**
*
* Mid-roll number (e.g. mridx=2)
*
*
* optional int32 mridx = 48 [json_name = "mridx"];
* @return The mridx.
*/
@java.lang.Override
public int getMridx() {
return instance.getMridx();
}
/**
*
* Mid-roll number (e.g. mridx=2)
*
*
* optional int32 mridx = 48 [json_name = "mridx"];
* @param value The mridx to set.
* @return This builder for chaining.
*/
public Builder setMridx(int value) {
copyOnWrite();
instance.setMridx(value);
return this;
}
/**
*
* Mid-roll number (e.g. mridx=2)
*
*
* optional int32 mridx = 48 [json_name = "mridx"];
* @return This builder for chaining.
*/
public Builder clearMridx() {
copyOnWrite();
instance.clearMridx();
return this;
}
/**
*
* App ID (e.g., msid=com.package.publisher)
*
*
* optional string msid = 49 [json_name = "msid"];
* @return Whether the msid field is set.
*/
@java.lang.Override
public boolean hasMsid() {
return instance.hasMsid();
}
/**
*
* App ID (e.g., msid=com.package.publisher)
*
*
* optional string msid = 49 [json_name = "msid"];
* @return The msid.
*/
@java.lang.Override
public java.lang.String getMsid() {
return instance.getMsid();
}
/**
*
* App ID (e.g., msid=com.package.publisher)
*
*
* optional string msid = 49 [json_name = "msid"];
* @return The bytes for msid.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getMsidBytes() {
return instance.getMsidBytes();
}
/**
*
* App ID (e.g., msid=com.package.publisher)
*
*
* optional string msid = 49 [json_name = "msid"];
* @param value The msid to set.
* @return This builder for chaining.
*/
public Builder setMsid(
java.lang.String value) {
copyOnWrite();
instance.setMsid(value);
return this;
}
/**
*
* App ID (e.g., msid=com.package.publisher)
*
*
* optional string msid = 49 [json_name = "msid"];
* @return This builder for chaining.
*/
public Builder clearMsid() {
copyOnWrite();
instance.clearMsid();
return this;
}
/**
*
* App ID (e.g., msid=com.package.publisher)
*
*
* optional string msid = 49 [json_name = "msid"];
* @param value The bytes for msid to set.
* @return This builder for chaining.
*/
public Builder setMsidBytes(
com.google.protobuf.ByteString value) {
copyOnWrite();
instance.setMsidBytes(value);
return this;
}
/**
*
* App name (e.g., an=sample%20app)
*
*
* optional string an = 50 [json_name = "an"];
* @return Whether the an field is set.
*/
@java.lang.Override
public boolean hasAn() {
return instance.hasAn();
}
/**
*
* App name (e.g., an=sample%20app)
*
*
* optional string an = 50 [json_name = "an"];
* @return The an.
*/
@java.lang.Override
public java.lang.String getAn() {
return instance.getAn();
}
/**
*
* App name (e.g., an=sample%20app)
*
*
* optional string an = 50 [json_name = "an"];
* @return The bytes for an.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getAnBytes() {
return instance.getAnBytes();
}
/**
*
* App name (e.g., an=sample%20app)
*
*
* optional string an = 50 [json_name = "an"];
* @param value The an to set.
* @return This builder for chaining.
*/
public Builder setAn(
java.lang.String value) {
copyOnWrite();
instance.setAn(value);
return this;
}
/**
*
* App name (e.g., an=sample%20app)
*
*
* optional string an = 50 [json_name = "an"];
* @return This builder for chaining.
*/
public Builder clearAn() {
copyOnWrite();
instance.clearAn();
return this;
}
/**
*
* App name (e.g., an=sample%20app)
*
*
* optional string an = 50 [json_name = "an"];
* @param value The bytes for an to set.
* @return This builder for chaining.
*/
public Builder setAnBytes(
com.google.protobuf.ByteString value) {
copyOnWrite();
instance.setAnBytes(value);
return this;
}
/**
*
* Pod ad maximum (e.g., pmad=4)
*
*
* optional int32 pmad = 51 [json_name = "pmad"];
* @return Whether the pmad field is set.
*/
@java.lang.Override
public boolean hasPmad() {
return instance.hasPmad();
}
/**
*
* Pod ad maximum (e.g., pmad=4)
*
*
* optional int32 pmad = 51 [json_name = "pmad"];
* @return The pmad.
*/
@java.lang.Override
public int getPmad() {
return instance.getPmad();
}
/**
*
* Pod ad maximum (e.g., pmad=4)
*
*
* optional int32 pmad = 51 [json_name = "pmad"];
* @param value The pmad to set.
* @return This builder for chaining.
*/
public Builder setPmad(int value) {
copyOnWrite();
instance.setPmad(value);
return this;
}
/**
*
* Pod ad maximum (e.g., pmad=4)
*
*
* optional int32 pmad = 51 [json_name = "pmad"];
* @return This builder for chaining.
*/
public Builder clearPmad() {
copyOnWrite();
instance.clearPmad();
return this;
}
/**
*
* Pod minimum duration (e.g. pmnd=0)
*
*
* optional int32 pmnd = 52 [json_name = "pmnd"];
* @return Whether the pmnd field is set.
*/
@java.lang.Override
public boolean hasPmnd() {
return instance.hasPmnd();
}
/**
*
* Pod minimum duration (e.g. pmnd=0)
*
*
* optional int32 pmnd = 52 [json_name = "pmnd"];
* @return The pmnd.
*/
@java.lang.Override
public int getPmnd() {
return instance.getPmnd();
}
/**
*
* Pod minimum duration (e.g. pmnd=0)
*
*
* optional int32 pmnd = 52 [json_name = "pmnd"];
* @param value The pmnd to set.
* @return This builder for chaining.
*/
public Builder setPmnd(int value) {
copyOnWrite();
instance.setPmnd(value);
return this;
}
/**
*
* Pod minimum duration (e.g. pmnd=0)
*
*
* optional int32 pmnd = 52 [json_name = "pmnd"];
* @return This builder for chaining.
*/
public Builder clearPmnd() {
copyOnWrite();
instance.clearPmnd();
return this;
}
/**
*
* Pod maximum duration (e.g. pmxd=60000)
*
*
* optional int32 pmxd = 53 [json_name = "pmxd"];
* @return Whether the pmxd field is set.
*/
@java.lang.Override
public boolean hasPmxd() {
return instance.hasPmxd();
}
/**
*
* Pod maximum duration (e.g. pmxd=60000)
*
*
* optional int32 pmxd = 53 [json_name = "pmxd"];
* @return The pmxd.
*/
@java.lang.Override
public int getPmxd() {
return instance.getPmxd();
}
/**
*
* Pod maximum duration (e.g. pmxd=60000)
*
*
* optional int32 pmxd = 53 [json_name = "pmxd"];
* @param value The pmxd to set.
* @return This builder for chaining.
*/
public Builder setPmxd(int value) {
copyOnWrite();
instance.setPmxd(value);
return this;
}
/**
*
* Pod maximum duration (e.g. pmxd=60000)
*
*
* optional int32 pmxd = 53 [json_name = "pmxd"];
* @return This builder for chaining.
*/
public Builder clearPmxd() {
copyOnWrite();
instance.clearPmxd();
return this;
}
/**
*
* Pod number (e.g. pod=3)
*
*
* optional int32 pod = 54 [json_name = "pod"];
* @return Whether the pod field is set.
*/
@java.lang.Override
public boolean hasPod() {
return instance.hasPod();
}
/**
*
* Pod number (e.g. pod=3)
*
*
* optional int32 pod = 54 [json_name = "pod"];
* @return The pod.
*/
@java.lang.Override
public int getPod() {
return instance.getPod();
}
/**
*
* Pod number (e.g. pod=3)
*
*
* optional int32 pod = 54 [json_name = "pod"];
* @param value The pod to set.
* @return This builder for chaining.
*/
public Builder setPod(int value) {
copyOnWrite();
instance.setPod(value);
return this;
}
/**
*
* Pod number (e.g. pod=3)
*
*
* optional int32 pod = 54 [json_name = "pod"];
* @return This builder for chaining.
*/
public Builder clearPod() {
copyOnWrite();
instance.clearPod();
return this;
}
/**
*
* Creative profile (e.g., pp=creative_profile)
*
*
* optional string pp = 55 [json_name = "pp"];
* @return Whether the pp field is set.
*/
@java.lang.Override
public boolean hasPp() {
return instance.hasPp();
}
/**
*
* Creative profile (e.g., pp=creative_profile)
*
*
* optional string pp = 55 [json_name = "pp"];
* @return The pp.
*/
@java.lang.Override
public java.lang.String getPp() {
return instance.getPp();
}
/**
*
* Creative profile (e.g., pp=creative_profile)
*
*
* optional string pp = 55 [json_name = "pp"];
* @return The bytes for pp.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getPpBytes() {
return instance.getPpBytes();
}
/**
*
* Creative profile (e.g., pp=creative_profile)
*
*
* optional string pp = 55 [json_name = "pp"];
* @param value The pp to set.
* @return This builder for chaining.
*/
public Builder setPp(
java.lang.String value) {
copyOnWrite();
instance.setPp(value);
return this;
}
/**
*
* Creative profile (e.g., pp=creative_profile)
*
*
* optional string pp = 55 [json_name = "pp"];
* @return This builder for chaining.
*/
public Builder clearPp() {
copyOnWrite();
instance.clearPp();
return this;
}
/**
*
* Creative profile (e.g., pp=creative_profile)
*
*
* optional string pp = 55 [json_name = "pp"];
* @param value The bytes for pp to set.
* @return This builder for chaining.
*/
public Builder setPpBytes(
com.google.protobuf.ByteString value) {
copyOnWrite();
instance.setPpBytes(value);
return this;
}
/**
*
* Publisher provided signals JSON (Base64-encoded ASCII string from the JSON object)
*
*
* optional string ppsj = 56 [json_name = "ppsj"];
* @return Whether the ppsj field is set.
*/
@java.lang.Override
public boolean hasPpsj() {
return instance.hasPpsj();
}
/**
*
* Publisher provided signals JSON (Base64-encoded ASCII string from the JSON object)
*
*
* optional string ppsj = 56 [json_name = "ppsj"];
* @return The ppsj.
*/
@java.lang.Override
public java.lang.String getPpsj() {
return instance.getPpsj();
}
/**
*
* Publisher provided signals JSON (Base64-encoded ASCII string from the JSON object)
*
*
* optional string ppsj = 56 [json_name = "ppsj"];
* @return The bytes for ppsj.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getPpsjBytes() {
return instance.getPpsjBytes();
}
/**
*
* Publisher provided signals JSON (Base64-encoded ASCII string from the JSON object)
*
*
* optional string ppsj = 56 [json_name = "ppsj"];
* @param value The ppsj to set.
* @return This builder for chaining.
*/
public Builder setPpsj(
java.lang.String value) {
copyOnWrite();
instance.setPpsj(value);
return this;
}
/**
*
* Publisher provided signals JSON (Base64-encoded ASCII string from the JSON object)
*
*
* optional string ppsj = 56 [json_name = "ppsj"];
* @return This builder for chaining.
*/
public Builder clearPpsj() {
copyOnWrite();
instance.clearPpsj();
return this;
}
/**
*
* Publisher provided signals JSON (Base64-encoded ASCII string from the JSON object)
*
*
* optional string ppsj = 56 [json_name = "ppsj"];
* @param value The bytes for ppsj to set.
* @return This builder for chaining.
*/
public Builder setPpsjBytes(
com.google.protobuf.ByteString value) {
copyOnWrite();
instance.setPpsjBytes(value);
return this;
}
/**
*
* Ad break template ID (e.g., ptpl=template1)
*
*
* optional string ptpl = 57 [json_name = "ptpl"];
* @return Whether the ptpl field is set.
*/
@java.lang.Override
public boolean hasPtpl() {
return instance.hasPtpl();
}
/**
*
* Ad break template ID (e.g., ptpl=template1)
*
*
* optional string ptpl = 57 [json_name = "ptpl"];
* @return The ptpl.
*/
@java.lang.Override
public java.lang.String getPtpl() {
return instance.getPtpl();
}
/**
*
* Ad break template ID (e.g., ptpl=template1)
*
*
* optional string ptpl = 57 [json_name = "ptpl"];
* @return The bytes for ptpl.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getPtplBytes() {
return instance.getPtplBytes();
}
/**
*
* Ad break template ID (e.g., ptpl=template1)
*
*
* optional string ptpl = 57 [json_name = "ptpl"];
* @param value The ptpl to set.
* @return This builder for chaining.
*/
public Builder setPtpl(
java.lang.String value) {
copyOnWrite();
instance.setPtpl(value);
return this;
}
/**
*
* Ad break template ID (e.g., ptpl=template1)
*
*
* optional string ptpl = 57 [json_name = "ptpl"];
* @return This builder for chaining.
*/
public Builder clearPtpl() {
copyOnWrite();
instance.clearPtpl();
return this;
}
/**
*
* Ad break template ID (e.g., ptpl=template1)
*
*
* optional string ptpl = 57 [json_name = "ptpl"];
* @param value The bytes for ptpl to set.
* @return This builder for chaining.
*/
public Builder setPtplBytes(
com.google.protobuf.ByteString value) {
copyOnWrite();
instance.setPtplBytes(value);
return this;
}
/**
*
* Ad break template name (e.g., ptpln=templateName)
*
*
* optional string ptpln = 58 [json_name = "ptpln"];
* @return Whether the ptpln field is set.
*/
@java.lang.Override
public boolean hasPtpln() {
return instance.hasPtpln();
}
/**
*
* Ad break template name (e.g., ptpln=templateName)
*
*
* optional string ptpln = 58 [json_name = "ptpln"];
* @return The ptpln.
*/
@java.lang.Override
public java.lang.String getPtpln() {
return instance.getPtpln();
}
/**
*
* Ad break template name (e.g., ptpln=templateName)
*
*
* optional string ptpln = 58 [json_name = "ptpln"];
* @return The bytes for ptpln.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getPtplnBytes() {
return instance.getPtplnBytes();
}
/**
*
* Ad break template name (e.g., ptpln=templateName)
*
*
* optional string ptpln = 58 [json_name = "ptpln"];
* @param value The ptpln to set.
* @return This builder for chaining.
*/
public Builder setPtpln(
java.lang.String value) {
copyOnWrite();
instance.setPtpln(value);
return this;
}
/**
*
* Ad break template name (e.g., ptpln=templateName)
*
*
* optional string ptpln = 58 [json_name = "ptpln"];
* @return This builder for chaining.
*/
public Builder clearPtpln() {
copyOnWrite();
instance.clearPtpln();
return this;
}
/**
*
* Ad break template name (e.g., ptpln=templateName)
*
*
* optional string ptpln = 58 [json_name = "ptpln"];
* @param value The bytes for ptpln to set.
* @return This builder for chaining.
*/
public Builder setPtplnBytes(
com.google.protobuf.ByteString value) {
copyOnWrite();
instance.setPtplnBytes(value);
return this;
}
/**
*
* Public price floor (e.g., pubf=123)
*
*
* optional int32 pubf = 59 [json_name = "pubf"];
* @return Whether the pubf field is set.
*/
@java.lang.Override
public boolean hasPubf() {
return instance.hasPubf();
}
/**
*
* Public price floor (e.g., pubf=123)
*
*
* optional int32 pubf = 59 [json_name = "pubf"];
* @return The pubf.
*/
@java.lang.Override
public int getPubf() {
return instance.getPubf();
}
/**
*
* Public price floor (e.g., pubf=123)
*
*
* optional int32 pubf = 59 [json_name = "pubf"];
* @param value The pubf to set.
* @return This builder for chaining.
*/
public Builder setPubf(int value) {
copyOnWrite();
instance.setPubf(value);
return this;
}
/**
*
* Public price floor (e.g., pubf=123)
*
*
* optional int32 pubf = 59 [json_name = "pubf"];
* @return This builder for chaining.
*/
public Builder clearPubf() {
copyOnWrite();
instance.clearPubf();
return this;
}
/**
*
* Private price floor (e.g., pvtf=123)
*
*
* optional int32 pvtf = 60 [json_name = "pvtf"];
* @return Whether the pvtf field is set.
*/
@java.lang.Override
public boolean hasPvtf() {
return instance.hasPvtf();
}
/**
*
* Private price floor (e.g., pvtf=123)
*
*
* optional int32 pvtf = 60 [json_name = "pvtf"];
* @return The pvtf.
*/
@java.lang.Override
public int getPvtf() {
return instance.getPvtf();
}
/**
*
* Private price floor (e.g., pvtf=123)
*
*
* optional int32 pvtf = 60 [json_name = "pvtf"];
* @param value The pvtf to set.
* @return This builder for chaining.
*/
public Builder setPvtf(int value) {
copyOnWrite();
instance.setPvtf(value);
return this;
}
/**
*
* Private price floor (e.g., pvtf=123)
*
*
* optional int32 pvtf = 60 [json_name = "pvtf"];
* @return This builder for chaining.
*/
public Builder clearPvtf() {
copyOnWrite();
instance.clearPvtf();
return this;
}
/**
*
* App set ID (e.g., pvid=AppSetID_value)
*
*
* optional string pvid = 61 [json_name = "pvid"];
* @return Whether the pvid field is set.
*/
@java.lang.Override
public boolean hasPvid() {
return instance.hasPvid();
}
/**
*
* App set ID (e.g., pvid=AppSetID_value)
*
*
* optional string pvid = 61 [json_name = "pvid"];
* @return The pvid.
*/
@java.lang.Override
public java.lang.String getPvid() {
return instance.getPvid();
}
/**
*
* App set ID (e.g., pvid=AppSetID_value)
*
*
* optional string pvid = 61 [json_name = "pvid"];
* @return The bytes for pvid.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getPvidBytes() {
return instance.getPvidBytes();
}
/**
*
* App set ID (e.g., pvid=AppSetID_value)
*
*
* optional string pvid = 61 [json_name = "pvid"];
* @param value The pvid to set.
* @return This builder for chaining.
*/
public Builder setPvid(
java.lang.String value) {
copyOnWrite();
instance.setPvid(value);
return this;
}
/**
*
* App set ID (e.g., pvid=AppSetID_value)
*
*
* optional string pvid = 61 [json_name = "pvid"];
* @return This builder for chaining.
*/
public Builder clearPvid() {
copyOnWrite();
instance.clearPvid();
return this;
}
/**
*
* App set ID (e.g., pvid=AppSetID_value)
*
*
* optional string pvid = 61 [json_name = "pvid"];
* @param value The bytes for pvid to set.
* @return This builder for chaining.
*/
public Builder setPvidBytes(
com.google.protobuf.ByteString value) {
copyOnWrite();
instance.setPvidBytes(value);
return this;
}
/**
*
* App set scope (e.g., pvid_s=scope_app)
*
*
* optional string pvid_s = 62 [json_name = "pvidS"];
* @return Whether the pvidS field is set.
*/
@java.lang.Override
public boolean hasPvidS() {
return instance.hasPvidS();
}
/**
*
* App set scope (e.g., pvid_s=scope_app)
*
*
* optional string pvid_s = 62 [json_name = "pvidS"];
* @return The pvidS.
*/
@java.lang.Override
public java.lang.String getPvidS() {
return instance.getPvidS();
}
/**
*
* App set scope (e.g., pvid_s=scope_app)
*
*
* optional string pvid_s = 62 [json_name = "pvidS"];
* @return The bytes for pvidS.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getPvidSBytes() {
return instance.getPvidSBytes();
}
/**
*
* App set scope (e.g., pvid_s=scope_app)
*
*
* optional string pvid_s = 62 [json_name = "pvidS"];
* @param value The pvidS to set.
* @return This builder for chaining.
*/
public Builder setPvidS(
java.lang.String value) {
copyOnWrite();
instance.setPvidS(value);
return this;
}
/**
*
* App set scope (e.g., pvid_s=scope_app)
*
*
* optional string pvid_s = 62 [json_name = "pvidS"];
* @return This builder for chaining.
*/
public Builder clearPvidS() {
copyOnWrite();
instance.clearPvidS();
return this;
}
/**
*
* App set scope (e.g., pvid_s=scope_app)
*
*
* optional string pvid_s = 62 [json_name = "pvidS"];
* @param value The bytes for pvidS to set.
* @return This builder for chaining.
*/
public Builder setPvidSBytes(
com.google.protobuf.ByteString value) {
copyOnWrite();
instance.setPvidSBytes(value);
return this;
}
/**
*
* Resettable device identifier (e.g., rdid=ABC123)
*
*
* optional string rdid = 63 [json_name = "rdid"];
* @return Whether the rdid field is set.
*/
@java.lang.Override
public boolean hasRdid() {
return instance.hasRdid();
}
/**
*
* Resettable device identifier (e.g., rdid=ABC123)
*
*
* optional string rdid = 63 [json_name = "rdid"];
* @return The rdid.
*/
@java.lang.Override
public java.lang.String getRdid() {
return instance.getRdid();
}
/**
*
* Resettable device identifier (e.g., rdid=ABC123)
*
*
* optional string rdid = 63 [json_name = "rdid"];
* @return The bytes for rdid.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getRdidBytes() {
return instance.getRdidBytes();
}
/**
*
* Resettable device identifier (e.g., rdid=ABC123)
*
*
* optional string rdid = 63 [json_name = "rdid"];
* @param value The rdid to set.
* @return This builder for chaining.
*/
public Builder setRdid(
java.lang.String value) {
copyOnWrite();
instance.setRdid(value);
return this;
}
/**
*
* Resettable device identifier (e.g., rdid=ABC123)
*
*
* optional string rdid = 63 [json_name = "rdid"];
* @return This builder for chaining.
*/
public Builder clearRdid() {
copyOnWrite();
instance.clearRdid();
return this;
}
/**
*
* Resettable device identifier (e.g., rdid=ABC123)
*
*
* optional string rdid = 63 [json_name = "rdid"];
* @param value The bytes for rdid to set.
* @return This builder for chaining.
*/
public Builder setRdidBytes(
com.google.protobuf.ByteString value) {
copyOnWrite();
instance.setRdidBytes(value);
return this;
}
/**
*
* Identifier type (e.g., idtype=idfa)
*
*
* optional string idtype = 64 [json_name = "idtype"];
* @return Whether the idtype field is set.
*/
@java.lang.Override
public boolean hasIdtype() {
return instance.hasIdtype();
}
/**
*
* Identifier type (e.g., idtype=idfa)
*
*
* optional string idtype = 64 [json_name = "idtype"];
* @return The idtype.
*/
@java.lang.Override
public java.lang.String getIdtype() {
return instance.getIdtype();
}
/**
*
* Identifier type (e.g., idtype=idfa)
*
*
* optional string idtype = 64 [json_name = "idtype"];
* @return The bytes for idtype.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getIdtypeBytes() {
return instance.getIdtypeBytes();
}
/**
*
* Identifier type (e.g., idtype=idfa)
*
*
* optional string idtype = 64 [json_name = "idtype"];
* @param value The idtype to set.
* @return This builder for chaining.
*/
public Builder setIdtype(
java.lang.String value) {
copyOnWrite();
instance.setIdtype(value);
return this;
}
/**
*
* Identifier type (e.g., idtype=idfa)
*
*
* optional string idtype = 64 [json_name = "idtype"];
* @return This builder for chaining.
*/
public Builder clearIdtype() {
copyOnWrite();
instance.clearIdtype();
return this;
}
/**
*
* Identifier type (e.g., idtype=idfa)
*
*
* optional string idtype = 64 [json_name = "idtype"];
* @param value The bytes for idtype to set.
* @return This builder for chaining.
*/
public Builder setIdtypeBytes(
com.google.protobuf.ByteString value) {
copyOnWrite();
instance.setIdtypeBytes(value);
return this;
}
/**
*
* LAT (Limit Ad Tracking) (e.g., is_lat=1)
*
*
* optional int32 is_lat = 65 [json_name = "isLat"];
* @return Whether the isLat field is set.
*/
@java.lang.Override
public boolean hasIsLat() {
return instance.hasIsLat();
}
/**
*
* LAT (Limit Ad Tracking) (e.g., is_lat=1)
*
*
* optional int32 is_lat = 65 [json_name = "isLat"];
* @return The isLat.
*/
@java.lang.Override
public int getIsLat() {
return instance.getIsLat();
}
/**
*
* LAT (Limit Ad Tracking) (e.g., is_lat=1)
*
*
* optional int32 is_lat = 65 [json_name = "isLat"];
* @param value The isLat to set.
* @return This builder for chaining.
*/
public Builder setIsLat(int value) {
copyOnWrite();
instance.setIsLat(value);
return this;
}
/**
*
* LAT (Limit Ad Tracking) (e.g., is_lat=1)
*
*
* optional int32 is_lat = 65 [json_name = "isLat"];
* @return This builder for chaining.
*/
public Builder clearIsLat() {
copyOnWrite();
instance.clearIsLat();
return this;
}
/**
*
* Child-directed flag (e.g., tfcd=1)
*
*
* optional int32 tfcd = 66 [json_name = "tfcd"];
* @return Whether the tfcd field is set.
*/
@java.lang.Override
public boolean hasTfcd() {
return instance.hasTfcd();
}
/**
*
* Child-directed flag (e.g., tfcd=1)
*
*
* optional int32 tfcd = 66 [json_name = "tfcd"];
* @return The tfcd.
*/
@java.lang.Override
public int getTfcd() {
return instance.getTfcd();
}
/**
*
* Child-directed flag (e.g., tfcd=1)
*
*
* optional int32 tfcd = 66 [json_name = "tfcd"];
* @param value The tfcd to set.
* @return This builder for chaining.
*/
public Builder setTfcd(int value) {
copyOnWrite();
instance.setTfcd(value);
return this;
}
/**
*
* Child-directed flag (e.g., tfcd=1)
*
*
* optional int32 tfcd = 66 [json_name = "tfcd"];
* @return This builder for chaining.
*/
public Builder clearTfcd() {
copyOnWrite();
instance.clearTfcd();
return this;
}
/**
*
* Traffic type (e.g., trt=1 for purchased traffic)
*
*
* optional int32 trt = 67 [json_name = "trt"];
* @return Whether the trt field is set.
*/
@java.lang.Override
public boolean hasTrt() {
return instance.hasTrt();
}
/**
*
* Traffic type (e.g., trt=1 for purchased traffic)
*
*
* optional int32 trt = 67 [json_name = "trt"];
* @return The trt.
*/
@java.lang.Override
public int getTrt() {
return instance.getTrt();
}
/**
*
* Traffic type (e.g., trt=1 for purchased traffic)
*
*
* optional int32 trt = 67 [json_name = "trt"];
* @param value The trt to set.
* @return This builder for chaining.
*/
public Builder setTrt(int value) {
copyOnWrite();
instance.setTrt(value);
return this;
}
/**
*
* Traffic type (e.g., trt=1 for purchased traffic)
*
*
* optional int32 trt = 67 [json_name = "trt"];
* @return This builder for chaining.
*/
public Builder clearTrt() {
copyOnWrite();
instance.clearTrt();
return this;
}
/**
*
* Video ad type (e.g., vad_type=linear)
*
*
* optional string vad_type = 68 [json_name = "vadType"];
* @return Whether the vadType field is set.
*/
@java.lang.Override
public boolean hasVadType() {
return instance.hasVadType();
}
/**
*
* Video ad type (e.g., vad_type=linear)
*
*
* optional string vad_type = 68 [json_name = "vadType"];
* @return The vadType.
*/
@java.lang.Override
public java.lang.String getVadType() {
return instance.getVadType();
}
/**
*
* Video ad type (e.g., vad_type=linear)
*
*
* optional string vad_type = 68 [json_name = "vadType"];
* @return The bytes for vadType.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getVadTypeBytes() {
return instance.getVadTypeBytes();
}
/**
*
* Video ad type (e.g., vad_type=linear)
*
*
* optional string vad_type = 68 [json_name = "vadType"];
* @param value The vadType to set.
* @return This builder for chaining.
*/
public Builder setVadType(
java.lang.String value) {
copyOnWrite();
instance.setVadType(value);
return this;
}
/**
*
* Video ad type (e.g., vad_type=linear)
*
*
* optional string vad_type = 68 [json_name = "vadType"];
* @return This builder for chaining.
*/
public Builder clearVadType() {
copyOnWrite();
instance.clearVadType();
return this;
}
/**
*
* Video ad type (e.g., vad_type=linear)
*
*
* optional string vad_type = 68 [json_name = "vadType"];
* @param value The bytes for vadType to set.
* @return This builder for chaining.
*/
public Builder setVadTypeBytes(
com.google.protobuf.ByteString value) {
copyOnWrite();
instance.setVadTypeBytes(value);
return this;
}
/**
*
* Video content duration in seconds (e.g., vid_d=90000)
*
*
* optional int32 vid_d = 69 [json_name = "vidD"];
* @return Whether the vidD field is set.
*/
@java.lang.Override
public boolean hasVidD() {
return instance.hasVidD();
}
/**
*
* Video content duration in seconds (e.g., vid_d=90000)
*
*
* optional int32 vid_d = 69 [json_name = "vidD"];
* @return The vidD.
*/
@java.lang.Override
public int getVidD() {
return instance.getVidD();
}
/**
*
* Video content duration in seconds (e.g., vid_d=90000)
*
*
* optional int32 vid_d = 69 [json_name = "vidD"];
* @param value The vidD to set.
* @return This builder for chaining.
*/
public Builder setVidD(int value) {
copyOnWrite();
instance.setVidD(value);
return this;
}
/**
*
* Video content duration in seconds (e.g., vid_d=90000)
*
*
* optional int32 vid_d = 69 [json_name = "vidD"];
* @return This builder for chaining.
*/
public Builder clearVidD() {
copyOnWrite();
instance.clearVidD();
return this;
}
/**
*
* Continuous video play (e.g., vconp=2)
*
*
* optional int32 vconp = 70 [json_name = "vconp"];
* @return Whether the vconp field is set.
*/
@java.lang.Override
public boolean hasVconp() {
return instance.hasVconp();
}
/**
*
* Continuous video play (e.g., vconp=2)
*
*
* optional int32 vconp = 70 [json_name = "vconp"];
* @return The vconp.
*/
@java.lang.Override
public int getVconp() {
return instance.getVconp();
}
/**
*
* Continuous video play (e.g., vconp=2)
*
*
* optional int32 vconp = 70 [json_name = "vconp"];
* @param value The vconp to set.
* @return This builder for chaining.
*/
public Builder setVconp(int value) {
copyOnWrite();
instance.setVconp(value);
return this;
}
/**
*
* Continuous video play (e.g., vconp=2)
*
*
* optional int32 vconp = 70 [json_name = "vconp"];
* @return This builder for chaining.
*/
public Builder clearVconp() {
copyOnWrite();
instance.clearVconp();
return this;
}
/**
*
* Video playlist inline/redirect (e.g., vpi=1)
*
*
* optional int32 vpi = 71 [json_name = "vpi"];
* @return Whether the vpi field is set.
*/
@java.lang.Override
public boolean hasVpi() {
return instance.hasVpi();
}
/**
*
* Video playlist inline/redirect (e.g., vpi=1)
*
*
* optional int32 vpi = 71 [json_name = "vpi"];
* @return The vpi.
*/
@java.lang.Override
public int getVpi() {
return instance.getVpi();
}
/**
*
* Video playlist inline/redirect (e.g., vpi=1)
*
*
* optional int32 vpi = 71 [json_name = "vpi"];
* @param value The vpi to set.
* @return This builder for chaining.
*/
public Builder setVpi(int value) {
copyOnWrite();
instance.setVpi(value);
return this;
}
/**
*
* Video playlist inline/redirect (e.g., vpi=1)
*
*
* optional int32 vpi = 71 [json_name = "vpi"];
* @return This builder for chaining.
*/
public Builder clearVpi() {
copyOnWrite();
instance.clearVpi();
return this;
}
/**
*
* Video position (e.g., vpos=preroll)
*
*
* optional string vpos = 72 [json_name = "vpos"];
* @return Whether the vpos field is set.
*/
@java.lang.Override
public boolean hasVpos() {
return instance.hasVpos();
}
/**
*
* Video position (e.g., vpos=preroll)
*
*
* optional string vpos = 72 [json_name = "vpos"];
* @return The vpos.
*/
@java.lang.Override
public java.lang.String getVpos() {
return instance.getVpos();
}
/**
*
* Video position (e.g., vpos=preroll)
*
*
* optional string vpos = 72 [json_name = "vpos"];
* @return The bytes for vpos.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getVposBytes() {
return instance.getVposBytes();
}
/**
*
* Video position (e.g., vpos=preroll)
*
*
* optional string vpos = 72 [json_name = "vpos"];
* @param value The vpos to set.
* @return This builder for chaining.
*/
public Builder setVpos(
java.lang.String value) {
copyOnWrite();
instance.setVpos(value);
return this;
}
/**
*
* Video position (e.g., vpos=preroll)
*
*
* optional string vpos = 72 [json_name = "vpos"];
* @return This builder for chaining.
*/
public Builder clearVpos() {
copyOnWrite();
instance.clearVpos();
return this;
}
/**
*
* Video position (e.g., vpos=preroll)
*
*
* optional string vpos = 72 [json_name = "vpos"];
* @param value The bytes for vpos to set.
* @return This builder for chaining.
*/
public Builder setVposBytes(
com.google.protobuf.ByteString value) {
copyOnWrite();
instance.setVposBytes(value);
return this;
}
// @@protoc_insertion_point(builder_scope:streamlayer.interactive.QuestionOptions.GamOptions)
}
@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.streamlayer.interactive.common.QuestionOptions.GamOptions();
}
case NEW_BUILDER: {
return new Builder();
}
case BUILD_MESSAGE_INFO: {
java.lang.Object[] objects = new java.lang.Object[] {
"bitField0_",
"bitField1_",
"bitField2_",
"env_",
"gdfpReq_",
"iu_",
"output_",
"sz_",
"unviewedPositionStart_",
"ciuSzs_",
"url_",
"descriptionUrl_",
"correlator_",
"custParams_",
CustParamsDefaultEntryHolder.defaultEntry,
"plcmt_",
"vpa_",
"vpmute_",
"wta_",
"aconp_",
"adRule_",
"adType_",
"hl_",
"dth_",
"gdpr_",
"gdprConsent_",
"iabexcl_",
"lip_",
"ltd_",
"nofb_",
"npa_",
"omidP_",
"ppt_",
"ppos_",
"ppid_",
"scor_",
"sdkApis_",
"ssss_",
"sdmax_",
"sid_",
"rdp_",
"addtlConsent_",
"afvsz_",
"allcues_",
"cmsid_",
"vid_",
"exclCat_",
"ipd_",
"ipe_",
"maxAdDuration_",
"minAdDuration_",
"mridx_",
"msid_",
"an_",
"pmad_",
"pmnd_",
"pmxd_",
"pod_",
"pp_",
"ppsj_",
"ptpl_",
"ptpln_",
"pubf_",
"pvtf_",
"pvid_",
"pvidS_",
"rdid_",
"idtype_",
"isLat_",
"tfcd_",
"trt_",
"vadType_",
"vidD_",
"vconp_",
"vpi_",
"vpos_",
};
java.lang.String info =
"\u0000H\u0000\u0003\u0001HH\u0001\u0001\u0000\u0001\u1208\u0000\u0002\u1004\u0001" +
"\u0003\u1208\u0002\u0004\u1208\u0003\u0005\u1208\u0004\u0006\u1004\u0005\u0007\u021a" +
"\b\u1208\u0006\t\u1208\u0007\n\u1208\b\u000b2\f\u1004\t\r\u1208\n\u000e\u1004\u000b" +
"\u000f\u1004\f\u0010\u1004\r\u0011\u1004\u000e\u0012\u1208\u000f\u0013\u1208\u0010" +
"\u0014\u1004\u0011\u0015\u1004\u0012\u0016\u1208\u0013\u0017\u1208\u0014\u0018\u1007" +
"\u0015\u0019\u1004\u0016\u001a\u1004\u0017\u001b\u1004\u0018\u001c\u1208\u0019\u001d" +
"\u1004\u001a\u001e\u1004\u001b\u001f\u1208\u001c \u1004\u001d!\u1208\u001e\"\u1208" +
"\u001f#\u1208 $\u1208!%\u1004\"&\u1208#\'\u1208$(\u1208%)\u1004&*\u1004\'+\u1208" +
"(,\u1208)-\u1208*.\u1004+/\u1004,0\u1004-1\u1208.2\u1208/3\u100404\u100415\u1004" +
"26\u100437\u120848\u120859\u12086:\u12087;\u10048<\u10049=\u1208:>\u1208;?\u1208" +
"<@\u1208=A\u1004>B\u1004?C\u1004@D\u1208AE\u1004BF\u1004CG\u1004DH\u1208E";
return newMessageInfo(DEFAULT_INSTANCE, info, objects);
}
// fall through
case GET_DEFAULT_INSTANCE: {
return DEFAULT_INSTANCE;
}
case GET_PARSER: {
com.google.protobuf.Parser parser = PARSER;
if (parser == null) {
synchronized (com.streamlayer.interactive.common.QuestionOptions.GamOptions.class) {
parser = PARSER;
if (parser == null) {
parser =
new DefaultInstanceBasedParser(
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:streamlayer.interactive.QuestionOptions.GamOptions)
private static final com.streamlayer.interactive.common.QuestionOptions.GamOptions DEFAULT_INSTANCE;
static {
GamOptions defaultInstance = new GamOptions();
// New instances are implicitly immutable so no need to make
// immutable.
DEFAULT_INSTANCE = defaultInstance;
com.google.protobuf.GeneratedMessageLite.registerDefaultInstance(
GamOptions.class, defaultInstance);
}
public static com.streamlayer.interactive.common.QuestionOptions.GamOptions getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static volatile com.google.protobuf.Parser PARSER;
public static com.google.protobuf.Parser parser() {
return DEFAULT_INSTANCE.getParserForType();
}
}
public interface AdCampaignsOrBuilder extends
// @@protoc_insertion_point(interface_extends:streamlayer.interactive.QuestionOptions.AdCampaigns)
com.google.protobuf.MessageLiteOrBuilder {
/**
* optional .streamlayer.interactive.QuestionOptions.GamOptions gam_options = 1 [json_name = "gamOptions"];
* @return Whether the gamOptions field is set.
*/
boolean hasGamOptions();
/**
* optional .streamlayer.interactive.QuestionOptions.GamOptions gam_options = 1 [json_name = "gamOptions"];
* @return The gamOptions.
*/
com.streamlayer.interactive.common.QuestionOptions.GamOptions getGamOptions();
/**
*
* base gam url prefix to compose with GamOptions
*
*
* optional string gam_base_url = 2 [json_name = "gamBaseUrl"];
* @return Whether the gamBaseUrl field is set.
*/
boolean hasGamBaseUrl();
/**
*
* base gam url prefix to compose with GamOptions
*
*
* optional string gam_base_url = 2 [json_name = "gamBaseUrl"];
* @return The gamBaseUrl.
*/
java.lang.String getGamBaseUrl();
/**
*
* base gam url prefix to compose with GamOptions
*
*
* optional string gam_base_url = 2 [json_name = "gamBaseUrl"];
* @return The bytes for gamBaseUrl.
*/
com.google.protobuf.ByteString
getGamBaseUrlBytes();
/**
*
* ad loop settings, show ad by interval, loop run on the client side
*
*
* .streamlayer.interactive.AdLoop ad_loop = 3 [json_name = "adLoop"];
* @return Whether the adLoop field is set.
*/
boolean hasAdLoop();
/**
*
* ad loop settings, show ad by interval, loop run on the client side
*
*
* .streamlayer.interactive.AdLoop ad_loop = 3 [json_name = "adLoop"];
* @return The adLoop.
*/
com.streamlayer.interactive.common.AdLoop getAdLoop();
}
/**
* Protobuf type {@code streamlayer.interactive.QuestionOptions.AdCampaigns}
*/
public static final class AdCampaigns extends
com.google.protobuf.GeneratedMessageLite<
AdCampaigns, AdCampaigns.Builder> implements
// @@protoc_insertion_point(message_implements:streamlayer.interactive.QuestionOptions.AdCampaigns)
AdCampaignsOrBuilder {
private AdCampaigns() {
gamBaseUrl_ = "";
}
private int bitField0_;
public static final int GAM_OPTIONS_FIELD_NUMBER = 1;
private com.streamlayer.interactive.common.QuestionOptions.GamOptions gamOptions_;
/**
* optional .streamlayer.interactive.QuestionOptions.GamOptions gam_options = 1 [json_name = "gamOptions"];
*/
@java.lang.Override
public boolean hasGamOptions() {
return ((bitField0_ & 0x00000001) != 0);
}
/**
* optional .streamlayer.interactive.QuestionOptions.GamOptions gam_options = 1 [json_name = "gamOptions"];
*/
@java.lang.Override
public com.streamlayer.interactive.common.QuestionOptions.GamOptions getGamOptions() {
return gamOptions_ == null ? com.streamlayer.interactive.common.QuestionOptions.GamOptions.getDefaultInstance() : gamOptions_;
}
/**
* optional .streamlayer.interactive.QuestionOptions.GamOptions gam_options = 1 [json_name = "gamOptions"];
*/
private void setGamOptions(com.streamlayer.interactive.common.QuestionOptions.GamOptions value) {
value.getClass();
gamOptions_ = value;
bitField0_ |= 0x00000001;
}
/**
* optional .streamlayer.interactive.QuestionOptions.GamOptions gam_options = 1 [json_name = "gamOptions"];
*/
@java.lang.SuppressWarnings({"ReferenceEquality"})
private void mergeGamOptions(com.streamlayer.interactive.common.QuestionOptions.GamOptions value) {
value.getClass();
if (gamOptions_ != null &&
gamOptions_ != com.streamlayer.interactive.common.QuestionOptions.GamOptions.getDefaultInstance()) {
gamOptions_ =
com.streamlayer.interactive.common.QuestionOptions.GamOptions.newBuilder(gamOptions_).mergeFrom(value).buildPartial();
} else {
gamOptions_ = value;
}
bitField0_ |= 0x00000001;
}
/**
* optional .streamlayer.interactive.QuestionOptions.GamOptions gam_options = 1 [json_name = "gamOptions"];
*/
private void clearGamOptions() { gamOptions_ = null;
bitField0_ = (bitField0_ & ~0x00000001);
}
public static final int GAM_BASE_URL_FIELD_NUMBER = 2;
private java.lang.String gamBaseUrl_;
/**
*
* base gam url prefix to compose with GamOptions
*
*
* optional string gam_base_url = 2 [json_name = "gamBaseUrl"];
* @return Whether the gamBaseUrl field is set.
*/
@java.lang.Override
public boolean hasGamBaseUrl() {
return ((bitField0_ & 0x00000002) != 0);
}
/**
*
* base gam url prefix to compose with GamOptions
*
*
* optional string gam_base_url = 2 [json_name = "gamBaseUrl"];
* @return The gamBaseUrl.
*/
@java.lang.Override
public java.lang.String getGamBaseUrl() {
return gamBaseUrl_;
}
/**
*
* base gam url prefix to compose with GamOptions
*
*
* optional string gam_base_url = 2 [json_name = "gamBaseUrl"];
* @return The bytes for gamBaseUrl.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getGamBaseUrlBytes() {
return com.google.protobuf.ByteString.copyFromUtf8(gamBaseUrl_);
}
/**
*
* base gam url prefix to compose with GamOptions
*
*
* optional string gam_base_url = 2 [json_name = "gamBaseUrl"];
* @param value The gamBaseUrl to set.
*/
private void setGamBaseUrl(
java.lang.String value) {
java.lang.Class> valueClass = value.getClass();
bitField0_ |= 0x00000002;
gamBaseUrl_ = value;
}
/**
*
* base gam url prefix to compose with GamOptions
*
*
* optional string gam_base_url = 2 [json_name = "gamBaseUrl"];
*/
private void clearGamBaseUrl() {
bitField0_ = (bitField0_ & ~0x00000002);
gamBaseUrl_ = getDefaultInstance().getGamBaseUrl();
}
/**
*
* base gam url prefix to compose with GamOptions
*
*
* optional string gam_base_url = 2 [json_name = "gamBaseUrl"];
* @param value The bytes for gamBaseUrl to set.
*/
private void setGamBaseUrlBytes(
com.google.protobuf.ByteString value) {
checkByteStringIsUtf8(value);
gamBaseUrl_ = value.toStringUtf8();
bitField0_ |= 0x00000002;
}
public static final int AD_LOOP_FIELD_NUMBER = 3;
private com.streamlayer.interactive.common.AdLoop adLoop_;
/**
*
* ad loop settings, show ad by interval, loop run on the client side
*
*
* .streamlayer.interactive.AdLoop ad_loop = 3 [json_name = "adLoop"];
*/
@java.lang.Override
public boolean hasAdLoop() {
return ((bitField0_ & 0x00000004) != 0);
}
/**
*
* ad loop settings, show ad by interval, loop run on the client side
*
*
* .streamlayer.interactive.AdLoop ad_loop = 3 [json_name = "adLoop"];
*/
@java.lang.Override
public com.streamlayer.interactive.common.AdLoop getAdLoop() {
return adLoop_ == null ? com.streamlayer.interactive.common.AdLoop.getDefaultInstance() : adLoop_;
}
/**
*
* ad loop settings, show ad by interval, loop run on the client side
*
*
* .streamlayer.interactive.AdLoop ad_loop = 3 [json_name = "adLoop"];
*/
private void setAdLoop(com.streamlayer.interactive.common.AdLoop value) {
value.getClass();
adLoop_ = value;
bitField0_ |= 0x00000004;
}
/**
*
* ad loop settings, show ad by interval, loop run on the client side
*
*
* .streamlayer.interactive.AdLoop ad_loop = 3 [json_name = "adLoop"];
*/
@java.lang.SuppressWarnings({"ReferenceEquality"})
private void mergeAdLoop(com.streamlayer.interactive.common.AdLoop value) {
value.getClass();
if (adLoop_ != null &&
adLoop_ != com.streamlayer.interactive.common.AdLoop.getDefaultInstance()) {
adLoop_ =
com.streamlayer.interactive.common.AdLoop.newBuilder(adLoop_).mergeFrom(value).buildPartial();
} else {
adLoop_ = value;
}
bitField0_ |= 0x00000004;
}
/**
*
* ad loop settings, show ad by interval, loop run on the client side
*
*
* .streamlayer.interactive.AdLoop ad_loop = 3 [json_name = "adLoop"];
*/
private void clearAdLoop() { adLoop_ = null;
bitField0_ = (bitField0_ & ~0x00000004);
}
public static com.streamlayer.interactive.common.QuestionOptions.AdCampaigns parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, data);
}
public static com.streamlayer.interactive.common.QuestionOptions.AdCampaigns 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.streamlayer.interactive.common.QuestionOptions.AdCampaigns parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, data);
}
public static com.streamlayer.interactive.common.QuestionOptions.AdCampaigns 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.streamlayer.interactive.common.QuestionOptions.AdCampaigns parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, data);
}
public static com.streamlayer.interactive.common.QuestionOptions.AdCampaigns 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.streamlayer.interactive.common.QuestionOptions.AdCampaigns parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, input);
}
public static com.streamlayer.interactive.common.QuestionOptions.AdCampaigns 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.streamlayer.interactive.common.QuestionOptions.AdCampaigns parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return parseDelimitedFrom(DEFAULT_INSTANCE, input);
}
public static com.streamlayer.interactive.common.QuestionOptions.AdCampaigns parseDelimitedFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return parseDelimitedFrom(DEFAULT_INSTANCE, input, extensionRegistry);
}
public static com.streamlayer.interactive.common.QuestionOptions.AdCampaigns parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, input);
}
public static com.streamlayer.interactive.common.QuestionOptions.AdCampaigns 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.streamlayer.interactive.common.QuestionOptions.AdCampaigns prototype) {
return DEFAULT_INSTANCE.createBuilder(prototype);
}
/**
* Protobuf type {@code streamlayer.interactive.QuestionOptions.AdCampaigns}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageLite.Builder<
com.streamlayer.interactive.common.QuestionOptions.AdCampaigns, Builder> implements
// @@protoc_insertion_point(builder_implements:streamlayer.interactive.QuestionOptions.AdCampaigns)
com.streamlayer.interactive.common.QuestionOptions.AdCampaignsOrBuilder {
// Construct using com.streamlayer.interactive.common.QuestionOptions.AdCampaigns.newBuilder()
private Builder() {
super(DEFAULT_INSTANCE);
}
/**
* optional .streamlayer.interactive.QuestionOptions.GamOptions gam_options = 1 [json_name = "gamOptions"];
*/
@java.lang.Override
public boolean hasGamOptions() {
return instance.hasGamOptions();
}
/**
* optional .streamlayer.interactive.QuestionOptions.GamOptions gam_options = 1 [json_name = "gamOptions"];
*/
@java.lang.Override
public com.streamlayer.interactive.common.QuestionOptions.GamOptions getGamOptions() {
return instance.getGamOptions();
}
/**
* optional .streamlayer.interactive.QuestionOptions.GamOptions gam_options = 1 [json_name = "gamOptions"];
*/
public Builder setGamOptions(com.streamlayer.interactive.common.QuestionOptions.GamOptions value) {
copyOnWrite();
instance.setGamOptions(value);
return this;
}
/**
* optional .streamlayer.interactive.QuestionOptions.GamOptions gam_options = 1 [json_name = "gamOptions"];
*/
public Builder setGamOptions(
com.streamlayer.interactive.common.QuestionOptions.GamOptions.Builder builderForValue) {
copyOnWrite();
instance.setGamOptions(builderForValue.build());
return this;
}
/**
* optional .streamlayer.interactive.QuestionOptions.GamOptions gam_options = 1 [json_name = "gamOptions"];
*/
public Builder mergeGamOptions(com.streamlayer.interactive.common.QuestionOptions.GamOptions value) {
copyOnWrite();
instance.mergeGamOptions(value);
return this;
}
/**
* optional .streamlayer.interactive.QuestionOptions.GamOptions gam_options = 1 [json_name = "gamOptions"];
*/
public Builder clearGamOptions() { copyOnWrite();
instance.clearGamOptions();
return this;
}
/**
*
* base gam url prefix to compose with GamOptions
*
*
* optional string gam_base_url = 2 [json_name = "gamBaseUrl"];
* @return Whether the gamBaseUrl field is set.
*/
@java.lang.Override
public boolean hasGamBaseUrl() {
return instance.hasGamBaseUrl();
}
/**
*
* base gam url prefix to compose with GamOptions
*
*
* optional string gam_base_url = 2 [json_name = "gamBaseUrl"];
* @return The gamBaseUrl.
*/
@java.lang.Override
public java.lang.String getGamBaseUrl() {
return instance.getGamBaseUrl();
}
/**
*
* base gam url prefix to compose with GamOptions
*
*
* optional string gam_base_url = 2 [json_name = "gamBaseUrl"];
* @return The bytes for gamBaseUrl.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getGamBaseUrlBytes() {
return instance.getGamBaseUrlBytes();
}
/**
*
* base gam url prefix to compose with GamOptions
*
*
* optional string gam_base_url = 2 [json_name = "gamBaseUrl"];
* @param value The gamBaseUrl to set.
* @return This builder for chaining.
*/
public Builder setGamBaseUrl(
java.lang.String value) {
copyOnWrite();
instance.setGamBaseUrl(value);
return this;
}
/**
*
* base gam url prefix to compose with GamOptions
*
*
* optional string gam_base_url = 2 [json_name = "gamBaseUrl"];
* @return This builder for chaining.
*/
public Builder clearGamBaseUrl() {
copyOnWrite();
instance.clearGamBaseUrl();
return this;
}
/**
*
* base gam url prefix to compose with GamOptions
*
*
* optional string gam_base_url = 2 [json_name = "gamBaseUrl"];
* @param value The bytes for gamBaseUrl to set.
* @return This builder for chaining.
*/
public Builder setGamBaseUrlBytes(
com.google.protobuf.ByteString value) {
copyOnWrite();
instance.setGamBaseUrlBytes(value);
return this;
}
/**
*
* ad loop settings, show ad by interval, loop run on the client side
*
*
* .streamlayer.interactive.AdLoop ad_loop = 3 [json_name = "adLoop"];
*/
@java.lang.Override
public boolean hasAdLoop() {
return instance.hasAdLoop();
}
/**
*
* ad loop settings, show ad by interval, loop run on the client side
*
*
* .streamlayer.interactive.AdLoop ad_loop = 3 [json_name = "adLoop"];
*/
@java.lang.Override
public com.streamlayer.interactive.common.AdLoop getAdLoop() {
return instance.getAdLoop();
}
/**
*
* ad loop settings, show ad by interval, loop run on the client side
*
*
* .streamlayer.interactive.AdLoop ad_loop = 3 [json_name = "adLoop"];
*/
public Builder setAdLoop(com.streamlayer.interactive.common.AdLoop value) {
copyOnWrite();
instance.setAdLoop(value);
return this;
}
/**
*
* ad loop settings, show ad by interval, loop run on the client side
*
*
* .streamlayer.interactive.AdLoop ad_loop = 3 [json_name = "adLoop"];
*/
public Builder setAdLoop(
com.streamlayer.interactive.common.AdLoop.Builder builderForValue) {
copyOnWrite();
instance.setAdLoop(builderForValue.build());
return this;
}
/**
*
* ad loop settings, show ad by interval, loop run on the client side
*
*
* .streamlayer.interactive.AdLoop ad_loop = 3 [json_name = "adLoop"];
*/
public Builder mergeAdLoop(com.streamlayer.interactive.common.AdLoop value) {
copyOnWrite();
instance.mergeAdLoop(value);
return this;
}
/**
*
* ad loop settings, show ad by interval, loop run on the client side
*
*
* .streamlayer.interactive.AdLoop ad_loop = 3 [json_name = "adLoop"];
*/
public Builder clearAdLoop() { copyOnWrite();
instance.clearAdLoop();
return this;
}
// @@protoc_insertion_point(builder_scope:streamlayer.interactive.QuestionOptions.AdCampaigns)
}
@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.streamlayer.interactive.common.QuestionOptions.AdCampaigns();
}
case NEW_BUILDER: {
return new Builder();
}
case BUILD_MESSAGE_INFO: {
java.lang.Object[] objects = new java.lang.Object[] {
"bitField0_",
"gamOptions_",
"gamBaseUrl_",
"adLoop_",
};
java.lang.String info =
"\u0000\u0003\u0000\u0001\u0001\u0003\u0003\u0000\u0000\u0000\u0001\u1009\u0000\u0002" +
"\u1208\u0001\u0003\u1009\u0002";
return newMessageInfo(DEFAULT_INSTANCE, info, objects);
}
// fall through
case GET_DEFAULT_INSTANCE: {
return DEFAULT_INSTANCE;
}
case GET_PARSER: {
com.google.protobuf.Parser parser = PARSER;
if (parser == null) {
synchronized (com.streamlayer.interactive.common.QuestionOptions.AdCampaigns.class) {
parser = PARSER;
if (parser == null) {
parser =
new DefaultInstanceBasedParser(
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:streamlayer.interactive.QuestionOptions.AdCampaigns)
private static final com.streamlayer.interactive.common.QuestionOptions.AdCampaigns DEFAULT_INSTANCE;
static {
AdCampaigns defaultInstance = new AdCampaigns();
// New instances are implicitly immutable so no need to make
// immutable.
DEFAULT_INSTANCE = defaultInstance;
com.google.protobuf.GeneratedMessageLite.registerDefaultInstance(
AdCampaigns.class, defaultInstance);
}
public static com.streamlayer.interactive.common.QuestionOptions.AdCampaigns getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static volatile com.google.protobuf.Parser PARSER;
public static com.google.protobuf.Parser parser() {
return DEFAULT_INSTANCE.getParserForType();
}
}
public interface PromotionOptionsOrBuilder extends
// @@protoc_insertion_point(interface_extends:streamlayer.interactive.QuestionOptions.PromotionOptions)
com.google.protobuf.MessageLiteOrBuilder {
/**
* .streamlayer.interactive.PromotionType type = 1 [json_name = "type"];
* @return The enum numeric value on the wire for type.
*/
int getTypeValue();
/**
* .streamlayer.interactive.PromotionType type = 1 [json_name = "type"];
* @return The type.
*/
com.streamlayer.interactive.common.PromotionType getType();
/**
* .streamlayer.interactive.Sponsorship sponsor = 2 [json_name = "sponsor"];
* @return Whether the sponsor field is set.
*/
boolean hasSponsor();
/**
* .streamlayer.interactive.Sponsorship sponsor = 2 [json_name = "sponsor"];
* @return The sponsor.
*/
com.streamlayer.interactive.common.Sponsorship getSponsor();
/**
*
* main banner
*
*
* .streamlayer.interactive.Banner banner = 3 [json_name = "banner"];
* @return Whether the banner field is set.
*/
boolean hasBanner();
/**
*
* main banner
*
*
* .streamlayer.interactive.Banner banner = 3 [json_name = "banner"];
* @return The banner.
*/
com.streamlayer.interactive.common.Banner getBanner();
/**
* .streamlayer.interactive.PromotionWallet enable_wallet = 4 [json_name = "enableWallet", deprecated = true];
* @deprecated streamlayer.interactive.QuestionOptions.PromotionOptions.enable_wallet is deprecated.
* See streamlayer/interactive/interactive.common.proto;l=353
* @return The enum numeric value on the wire for enableWallet.
*/
@java.lang.Deprecated int getEnableWalletValue();
/**
* .streamlayer.interactive.PromotionWallet enable_wallet = 4 [json_name = "enableWallet", deprecated = true];
* @deprecated streamlayer.interactive.QuestionOptions.PromotionOptions.enable_wallet is deprecated.
* See streamlayer/interactive/interactive.common.proto;l=353
* @return The enableWallet.
*/
@java.lang.Deprecated com.streamlayer.interactive.common.PromotionWallet getEnableWallet();
/**
*
* use as banner6:1 in L-Bar
*
*
* .streamlayer.interactive.Banner additional_banner = 5 [json_name = "additionalBanner"];
* @return Whether the additionalBanner field is set.
*/
boolean hasAdditionalBanner();
/**
*
* use as banner6:1 in L-Bar
*
*
* .streamlayer.interactive.Banner additional_banner = 5 [json_name = "additionalBanner"];
* @return The additionalBanner.
*/
com.streamlayer.interactive.common.Banner getAdditionalBanner();
/**
* string coupon = 6 [json_name = "coupon"];
* @return The coupon.
*/
java.lang.String getCoupon();
/**
* string coupon = 6 [json_name = "coupon"];
* @return The bytes for coupon.
*/
com.google.protobuf.ByteString
getCouponBytes();
/**
* .streamlayer.interactive.PromotionLogoMode logo_mode = 7 [json_name = "logoMode"];
* @return The enum numeric value on the wire for logoMode.
*/
int getLogoModeValue();
/**
* .streamlayer.interactive.PromotionLogoMode logo_mode = 7 [json_name = "logoMode"];
* @return The logoMode.
*/
com.streamlayer.interactive.common.PromotionLogoMode getLogoMode();
/**
*
* save coupon from loaded from constructor url
*
*
* string coupon_zip = 8 [json_name = "couponZip"];
* @return The couponZip.
*/
java.lang.String getCouponZip();
/**
*
* save coupon from loaded from constructor url
*
*
* string coupon_zip = 8 [json_name = "couponZip"];
* @return The bytes for couponZip.
*/
com.google.protobuf.ByteString
getCouponZipBytes();
/**
*
* url to navigate from barcode
*
*
* string coupon_barcode_url = 9 [json_name = "couponBarcodeUrl"];
* @return The couponBarcodeUrl.
*/
java.lang.String getCouponBarcodeUrl();
/**
*
* url to navigate from barcode
*
*
* string coupon_barcode_url = 9 [json_name = "couponBarcodeUrl"];
* @return The bytes for couponBarcodeUrl.
*/
com.google.protobuf.ByteString
getCouponBarcodeUrlBytes();
/**
* optional .streamlayer.interactive.PromotionButtonType button_type = 10 [json_name = "buttonType"];
* @return Whether the buttonType field is set.
*/
boolean hasButtonType();
/**
* optional .streamlayer.interactive.PromotionButtonType button_type = 10 [json_name = "buttonType"];
* @return The enum numeric value on the wire for buttonType.
*/
int getButtonTypeValue();
/**
* optional .streamlayer.interactive.PromotionButtonType button_type = 10 [json_name = "buttonType"];
* @return The buttonType.
*/
com.streamlayer.interactive.common.PromotionButtonType getButtonType();
/**
* optional .streamlayer.interactive.QuestionOptions.AdCampaigns ad_campaigns = 11 [json_name = "adCampaigns"];
* @return Whether the adCampaigns field is set.
*/
boolean hasAdCampaigns();
/**
* optional .streamlayer.interactive.QuestionOptions.AdCampaigns ad_campaigns = 11 [json_name = "adCampaigns"];
* @return The adCampaigns.
*/
com.streamlayer.interactive.common.QuestionOptions.AdCampaigns getAdCampaigns();
}
/**
* Protobuf type {@code streamlayer.interactive.QuestionOptions.PromotionOptions}
*/
public static final class PromotionOptions extends
com.google.protobuf.GeneratedMessageLite<
PromotionOptions, PromotionOptions.Builder> implements
// @@protoc_insertion_point(message_implements:streamlayer.interactive.QuestionOptions.PromotionOptions)
PromotionOptionsOrBuilder {
private PromotionOptions() {
coupon_ = "";
couponZip_ = "";
couponBarcodeUrl_ = "";
}
private int bitField0_;
public static final int TYPE_FIELD_NUMBER = 1;
private int type_;
/**
* .streamlayer.interactive.PromotionType type = 1 [json_name = "type"];
* @return The enum numeric value on the wire for type.
*/
@java.lang.Override
public int getTypeValue() {
return type_;
}
/**
* .streamlayer.interactive.PromotionType type = 1 [json_name = "type"];
* @return The type.
*/
@java.lang.Override
public com.streamlayer.interactive.common.PromotionType getType() {
com.streamlayer.interactive.common.PromotionType result = com.streamlayer.interactive.common.PromotionType.forNumber(type_);
return result == null ? com.streamlayer.interactive.common.PromotionType.UNRECOGNIZED : result;
}
/**
* .streamlayer.interactive.PromotionType type = 1 [json_name = "type"];
* @param value The enum numeric value on the wire for type to set.
*/
private void setTypeValue(int value) {
type_ = value;
}
/**
* .streamlayer.interactive.PromotionType type = 1 [json_name = "type"];
* @param value The type to set.
*/
private void setType(com.streamlayer.interactive.common.PromotionType value) {
type_ = value.getNumber();
}
/**
* .streamlayer.interactive.PromotionType type = 1 [json_name = "type"];
*/
private void clearType() {
type_ = 0;
}
public static final int SPONSOR_FIELD_NUMBER = 2;
private com.streamlayer.interactive.common.Sponsorship sponsor_;
/**
* .streamlayer.interactive.Sponsorship sponsor = 2 [json_name = "sponsor"];
*/
@java.lang.Override
public boolean hasSponsor() {
return ((bitField0_ & 0x00000001) != 0);
}
/**
* .streamlayer.interactive.Sponsorship sponsor = 2 [json_name = "sponsor"];
*/
@java.lang.Override
public com.streamlayer.interactive.common.Sponsorship getSponsor() {
return sponsor_ == null ? com.streamlayer.interactive.common.Sponsorship.getDefaultInstance() : sponsor_;
}
/**
* .streamlayer.interactive.Sponsorship sponsor = 2 [json_name = "sponsor"];
*/
private void setSponsor(com.streamlayer.interactive.common.Sponsorship value) {
value.getClass();
sponsor_ = value;
bitField0_ |= 0x00000001;
}
/**
* .streamlayer.interactive.Sponsorship sponsor = 2 [json_name = "sponsor"];
*/
@java.lang.SuppressWarnings({"ReferenceEquality"})
private void mergeSponsor(com.streamlayer.interactive.common.Sponsorship value) {
value.getClass();
if (sponsor_ != null &&
sponsor_ != com.streamlayer.interactive.common.Sponsorship.getDefaultInstance()) {
sponsor_ =
com.streamlayer.interactive.common.Sponsorship.newBuilder(sponsor_).mergeFrom(value).buildPartial();
} else {
sponsor_ = value;
}
bitField0_ |= 0x00000001;
}
/**
* .streamlayer.interactive.Sponsorship sponsor = 2 [json_name = "sponsor"];
*/
private void clearSponsor() { sponsor_ = null;
bitField0_ = (bitField0_ & ~0x00000001);
}
public static final int BANNER_FIELD_NUMBER = 3;
private com.streamlayer.interactive.common.Banner banner_;
/**
*
* main banner
*
*
* .streamlayer.interactive.Banner banner = 3 [json_name = "banner"];
*/
@java.lang.Override
public boolean hasBanner() {
return ((bitField0_ & 0x00000002) != 0);
}
/**
*
* main banner
*
*
* .streamlayer.interactive.Banner banner = 3 [json_name = "banner"];
*/
@java.lang.Override
public com.streamlayer.interactive.common.Banner getBanner() {
return banner_ == null ? com.streamlayer.interactive.common.Banner.getDefaultInstance() : banner_;
}
/**
*
* main banner
*
*
* .streamlayer.interactive.Banner banner = 3 [json_name = "banner"];
*/
private void setBanner(com.streamlayer.interactive.common.Banner value) {
value.getClass();
banner_ = value;
bitField0_ |= 0x00000002;
}
/**
*
* main banner
*
*
* .streamlayer.interactive.Banner banner = 3 [json_name = "banner"];
*/
@java.lang.SuppressWarnings({"ReferenceEquality"})
private void mergeBanner(com.streamlayer.interactive.common.Banner value) {
value.getClass();
if (banner_ != null &&
banner_ != com.streamlayer.interactive.common.Banner.getDefaultInstance()) {
banner_ =
com.streamlayer.interactive.common.Banner.newBuilder(banner_).mergeFrom(value).buildPartial();
} else {
banner_ = value;
}
bitField0_ |= 0x00000002;
}
/**
*
* main banner
*
*
* .streamlayer.interactive.Banner banner = 3 [json_name = "banner"];
*/
private void clearBanner() { banner_ = null;
bitField0_ = (bitField0_ & ~0x00000002);
}
public static final int ENABLE_WALLET_FIELD_NUMBER = 4;
private int enableWallet_;
/**
* .streamlayer.interactive.PromotionWallet enable_wallet = 4 [json_name = "enableWallet", deprecated = true];
* @deprecated streamlayer.interactive.QuestionOptions.PromotionOptions.enable_wallet is deprecated.
* See streamlayer/interactive/interactive.common.proto;l=353
* @return The enum numeric value on the wire for enableWallet.
*/
@java.lang.Override
@java.lang.Deprecated public int getEnableWalletValue() {
return enableWallet_;
}
/**
* .streamlayer.interactive.PromotionWallet enable_wallet = 4 [json_name = "enableWallet", deprecated = true];
* @deprecated streamlayer.interactive.QuestionOptions.PromotionOptions.enable_wallet is deprecated.
* See streamlayer/interactive/interactive.common.proto;l=353
* @return The enableWallet.
*/
@java.lang.Override
@java.lang.Deprecated public com.streamlayer.interactive.common.PromotionWallet getEnableWallet() {
com.streamlayer.interactive.common.PromotionWallet result = com.streamlayer.interactive.common.PromotionWallet.forNumber(enableWallet_);
return result == null ? com.streamlayer.interactive.common.PromotionWallet.UNRECOGNIZED : result;
}
/**
* .streamlayer.interactive.PromotionWallet enable_wallet = 4 [json_name = "enableWallet", deprecated = true];
* @deprecated streamlayer.interactive.QuestionOptions.PromotionOptions.enable_wallet is deprecated.
* See streamlayer/interactive/interactive.common.proto;l=353
* @param value The enum numeric value on the wire for enableWallet to set.
*/
private void setEnableWalletValue(int value) {
enableWallet_ = value;
}
/**
* .streamlayer.interactive.PromotionWallet enable_wallet = 4 [json_name = "enableWallet", deprecated = true];
* @deprecated streamlayer.interactive.QuestionOptions.PromotionOptions.enable_wallet is deprecated.
* See streamlayer/interactive/interactive.common.proto;l=353
* @param value The enableWallet to set.
*/
private void setEnableWallet(com.streamlayer.interactive.common.PromotionWallet value) {
enableWallet_ = value.getNumber();
}
/**
* .streamlayer.interactive.PromotionWallet enable_wallet = 4 [json_name = "enableWallet", deprecated = true];
* @deprecated streamlayer.interactive.QuestionOptions.PromotionOptions.enable_wallet is deprecated.
* See streamlayer/interactive/interactive.common.proto;l=353
*/
private void clearEnableWallet() {
enableWallet_ = 0;
}
public static final int ADDITIONAL_BANNER_FIELD_NUMBER = 5;
private com.streamlayer.interactive.common.Banner additionalBanner_;
/**
*
* use as banner6:1 in L-Bar
*
*
* .streamlayer.interactive.Banner additional_banner = 5 [json_name = "additionalBanner"];
*/
@java.lang.Override
public boolean hasAdditionalBanner() {
return ((bitField0_ & 0x00000004) != 0);
}
/**
*
* use as banner6:1 in L-Bar
*
*
* .streamlayer.interactive.Banner additional_banner = 5 [json_name = "additionalBanner"];
*/
@java.lang.Override
public com.streamlayer.interactive.common.Banner getAdditionalBanner() {
return additionalBanner_ == null ? com.streamlayer.interactive.common.Banner.getDefaultInstance() : additionalBanner_;
}
/**
*
* use as banner6:1 in L-Bar
*
*
* .streamlayer.interactive.Banner additional_banner = 5 [json_name = "additionalBanner"];
*/
private void setAdditionalBanner(com.streamlayer.interactive.common.Banner value) {
value.getClass();
additionalBanner_ = value;
bitField0_ |= 0x00000004;
}
/**
*
* use as banner6:1 in L-Bar
*
*
* .streamlayer.interactive.Banner additional_banner = 5 [json_name = "additionalBanner"];
*/
@java.lang.SuppressWarnings({"ReferenceEquality"})
private void mergeAdditionalBanner(com.streamlayer.interactive.common.Banner value) {
value.getClass();
if (additionalBanner_ != null &&
additionalBanner_ != com.streamlayer.interactive.common.Banner.getDefaultInstance()) {
additionalBanner_ =
com.streamlayer.interactive.common.Banner.newBuilder(additionalBanner_).mergeFrom(value).buildPartial();
} else {
additionalBanner_ = value;
}
bitField0_ |= 0x00000004;
}
/**
*
* use as banner6:1 in L-Bar
*
*
* .streamlayer.interactive.Banner additional_banner = 5 [json_name = "additionalBanner"];
*/
private void clearAdditionalBanner() { additionalBanner_ = null;
bitField0_ = (bitField0_ & ~0x00000004);
}
public static final int COUPON_FIELD_NUMBER = 6;
private java.lang.String coupon_;
/**
* string coupon = 6 [json_name = "coupon"];
* @return The coupon.
*/
@java.lang.Override
public java.lang.String getCoupon() {
return coupon_;
}
/**
* string coupon = 6 [json_name = "coupon"];
* @return The bytes for coupon.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getCouponBytes() {
return com.google.protobuf.ByteString.copyFromUtf8(coupon_);
}
/**
* string coupon = 6 [json_name = "coupon"];
* @param value The coupon to set.
*/
private void setCoupon(
java.lang.String value) {
java.lang.Class> valueClass = value.getClass();
coupon_ = value;
}
/**
* string coupon = 6 [json_name = "coupon"];
*/
private void clearCoupon() {
coupon_ = getDefaultInstance().getCoupon();
}
/**
* string coupon = 6 [json_name = "coupon"];
* @param value The bytes for coupon to set.
*/
private void setCouponBytes(
com.google.protobuf.ByteString value) {
checkByteStringIsUtf8(value);
coupon_ = value.toStringUtf8();
}
public static final int LOGO_MODE_FIELD_NUMBER = 7;
private int logoMode_;
/**
* .streamlayer.interactive.PromotionLogoMode logo_mode = 7 [json_name = "logoMode"];
* @return The enum numeric value on the wire for logoMode.
*/
@java.lang.Override
public int getLogoModeValue() {
return logoMode_;
}
/**
* .streamlayer.interactive.PromotionLogoMode logo_mode = 7 [json_name = "logoMode"];
* @return The logoMode.
*/
@java.lang.Override
public com.streamlayer.interactive.common.PromotionLogoMode getLogoMode() {
com.streamlayer.interactive.common.PromotionLogoMode result = com.streamlayer.interactive.common.PromotionLogoMode.forNumber(logoMode_);
return result == null ? com.streamlayer.interactive.common.PromotionLogoMode.UNRECOGNIZED : result;
}
/**
* .streamlayer.interactive.PromotionLogoMode logo_mode = 7 [json_name = "logoMode"];
* @param value The enum numeric value on the wire for logoMode to set.
*/
private void setLogoModeValue(int value) {
logoMode_ = value;
}
/**
* .streamlayer.interactive.PromotionLogoMode logo_mode = 7 [json_name = "logoMode"];
* @param value The logoMode to set.
*/
private void setLogoMode(com.streamlayer.interactive.common.PromotionLogoMode value) {
logoMode_ = value.getNumber();
}
/**
* .streamlayer.interactive.PromotionLogoMode logo_mode = 7 [json_name = "logoMode"];
*/
private void clearLogoMode() {
logoMode_ = 0;
}
public static final int COUPON_ZIP_FIELD_NUMBER = 8;
private java.lang.String couponZip_;
/**
*
* save coupon from loaded from constructor url
*
*
* string coupon_zip = 8 [json_name = "couponZip"];
* @return The couponZip.
*/
@java.lang.Override
public java.lang.String getCouponZip() {
return couponZip_;
}
/**
*
* save coupon from loaded from constructor url
*
*
* string coupon_zip = 8 [json_name = "couponZip"];
* @return The bytes for couponZip.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getCouponZipBytes() {
return com.google.protobuf.ByteString.copyFromUtf8(couponZip_);
}
/**
*
* save coupon from loaded from constructor url
*
*
* string coupon_zip = 8 [json_name = "couponZip"];
* @param value The couponZip to set.
*/
private void setCouponZip(
java.lang.String value) {
java.lang.Class> valueClass = value.getClass();
couponZip_ = value;
}
/**
*
* save coupon from loaded from constructor url
*
*
* string coupon_zip = 8 [json_name = "couponZip"];
*/
private void clearCouponZip() {
couponZip_ = getDefaultInstance().getCouponZip();
}
/**
*
* save coupon from loaded from constructor url
*
*
* string coupon_zip = 8 [json_name = "couponZip"];
* @param value The bytes for couponZip to set.
*/
private void setCouponZipBytes(
com.google.protobuf.ByteString value) {
checkByteStringIsUtf8(value);
couponZip_ = value.toStringUtf8();
}
public static final int COUPON_BARCODE_URL_FIELD_NUMBER = 9;
private java.lang.String couponBarcodeUrl_;
/**
*
* url to navigate from barcode
*
*
* string coupon_barcode_url = 9 [json_name = "couponBarcodeUrl"];
* @return The couponBarcodeUrl.
*/
@java.lang.Override
public java.lang.String getCouponBarcodeUrl() {
return couponBarcodeUrl_;
}
/**
*
* url to navigate from barcode
*
*
* string coupon_barcode_url = 9 [json_name = "couponBarcodeUrl"];
* @return The bytes for couponBarcodeUrl.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getCouponBarcodeUrlBytes() {
return com.google.protobuf.ByteString.copyFromUtf8(couponBarcodeUrl_);
}
/**
*
* url to navigate from barcode
*
*
* string coupon_barcode_url = 9 [json_name = "couponBarcodeUrl"];
* @param value The couponBarcodeUrl to set.
*/
private void setCouponBarcodeUrl(
java.lang.String value) {
java.lang.Class> valueClass = value.getClass();
couponBarcodeUrl_ = value;
}
/**
*
* url to navigate from barcode
*
*
* string coupon_barcode_url = 9 [json_name = "couponBarcodeUrl"];
*/
private void clearCouponBarcodeUrl() {
couponBarcodeUrl_ = getDefaultInstance().getCouponBarcodeUrl();
}
/**
*
* url to navigate from barcode
*
*
* string coupon_barcode_url = 9 [json_name = "couponBarcodeUrl"];
* @param value The bytes for couponBarcodeUrl to set.
*/
private void setCouponBarcodeUrlBytes(
com.google.protobuf.ByteString value) {
checkByteStringIsUtf8(value);
couponBarcodeUrl_ = value.toStringUtf8();
}
public static final int BUTTON_TYPE_FIELD_NUMBER = 10;
private int buttonType_;
/**
* optional .streamlayer.interactive.PromotionButtonType button_type = 10 [json_name = "buttonType"];
* @return Whether the buttonType field is set.
*/
@java.lang.Override
public boolean hasButtonType() {
return ((bitField0_ & 0x00000008) != 0);
}
/**
* optional .streamlayer.interactive.PromotionButtonType button_type = 10 [json_name = "buttonType"];
* @return The enum numeric value on the wire for buttonType.
*/
@java.lang.Override
public int getButtonTypeValue() {
return buttonType_;
}
/**
* optional .streamlayer.interactive.PromotionButtonType button_type = 10 [json_name = "buttonType"];
* @return The buttonType.
*/
@java.lang.Override
public com.streamlayer.interactive.common.PromotionButtonType getButtonType() {
com.streamlayer.interactive.common.PromotionButtonType result = com.streamlayer.interactive.common.PromotionButtonType.forNumber(buttonType_);
return result == null ? com.streamlayer.interactive.common.PromotionButtonType.UNRECOGNIZED : result;
}
/**
* optional .streamlayer.interactive.PromotionButtonType button_type = 10 [json_name = "buttonType"];
* @param value The enum numeric value on the wire for buttonType to set.
*/
private void setButtonTypeValue(int value) {
bitField0_ |= 0x00000008; buttonType_ = value;
}
/**
* optional .streamlayer.interactive.PromotionButtonType button_type = 10 [json_name = "buttonType"];
* @param value The buttonType to set.
*/
private void setButtonType(com.streamlayer.interactive.common.PromotionButtonType value) {
buttonType_ = value.getNumber();
bitField0_ |= 0x00000008;
}
/**
* optional .streamlayer.interactive.PromotionButtonType button_type = 10 [json_name = "buttonType"];
*/
private void clearButtonType() {
bitField0_ = (bitField0_ & ~0x00000008);
buttonType_ = 0;
}
public static final int AD_CAMPAIGNS_FIELD_NUMBER = 11;
private com.streamlayer.interactive.common.QuestionOptions.AdCampaigns adCampaigns_;
/**
* optional .streamlayer.interactive.QuestionOptions.AdCampaigns ad_campaigns = 11 [json_name = "adCampaigns"];
*/
@java.lang.Override
public boolean hasAdCampaigns() {
return ((bitField0_ & 0x00000010) != 0);
}
/**
* optional .streamlayer.interactive.QuestionOptions.AdCampaigns ad_campaigns = 11 [json_name = "adCampaigns"];
*/
@java.lang.Override
public com.streamlayer.interactive.common.QuestionOptions.AdCampaigns getAdCampaigns() {
return adCampaigns_ == null ? com.streamlayer.interactive.common.QuestionOptions.AdCampaigns.getDefaultInstance() : adCampaigns_;
}
/**
* optional .streamlayer.interactive.QuestionOptions.AdCampaigns ad_campaigns = 11 [json_name = "adCampaigns"];
*/
private void setAdCampaigns(com.streamlayer.interactive.common.QuestionOptions.AdCampaigns value) {
value.getClass();
adCampaigns_ = value;
bitField0_ |= 0x00000010;
}
/**
* optional .streamlayer.interactive.QuestionOptions.AdCampaigns ad_campaigns = 11 [json_name = "adCampaigns"];
*/
@java.lang.SuppressWarnings({"ReferenceEquality"})
private void mergeAdCampaigns(com.streamlayer.interactive.common.QuestionOptions.AdCampaigns value) {
value.getClass();
if (adCampaigns_ != null &&
adCampaigns_ != com.streamlayer.interactive.common.QuestionOptions.AdCampaigns.getDefaultInstance()) {
adCampaigns_ =
com.streamlayer.interactive.common.QuestionOptions.AdCampaigns.newBuilder(adCampaigns_).mergeFrom(value).buildPartial();
} else {
adCampaigns_ = value;
}
bitField0_ |= 0x00000010;
}
/**
* optional .streamlayer.interactive.QuestionOptions.AdCampaigns ad_campaigns = 11 [json_name = "adCampaigns"];
*/
private void clearAdCampaigns() { adCampaigns_ = null;
bitField0_ = (bitField0_ & ~0x00000010);
}
public static com.streamlayer.interactive.common.QuestionOptions.PromotionOptions parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, data);
}
public static com.streamlayer.interactive.common.QuestionOptions.PromotionOptions 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.streamlayer.interactive.common.QuestionOptions.PromotionOptions parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, data);
}
public static com.streamlayer.interactive.common.QuestionOptions.PromotionOptions 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.streamlayer.interactive.common.QuestionOptions.PromotionOptions parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, data);
}
public static com.streamlayer.interactive.common.QuestionOptions.PromotionOptions 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.streamlayer.interactive.common.QuestionOptions.PromotionOptions parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, input);
}
public static com.streamlayer.interactive.common.QuestionOptions.PromotionOptions 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.streamlayer.interactive.common.QuestionOptions.PromotionOptions parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return parseDelimitedFrom(DEFAULT_INSTANCE, input);
}
public static com.streamlayer.interactive.common.QuestionOptions.PromotionOptions parseDelimitedFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return parseDelimitedFrom(DEFAULT_INSTANCE, input, extensionRegistry);
}
public static com.streamlayer.interactive.common.QuestionOptions.PromotionOptions parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, input);
}
public static com.streamlayer.interactive.common.QuestionOptions.PromotionOptions 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.streamlayer.interactive.common.QuestionOptions.PromotionOptions prototype) {
return DEFAULT_INSTANCE.createBuilder(prototype);
}
/**
* Protobuf type {@code streamlayer.interactive.QuestionOptions.PromotionOptions}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageLite.Builder<
com.streamlayer.interactive.common.QuestionOptions.PromotionOptions, Builder> implements
// @@protoc_insertion_point(builder_implements:streamlayer.interactive.QuestionOptions.PromotionOptions)
com.streamlayer.interactive.common.QuestionOptions.PromotionOptionsOrBuilder {
// Construct using com.streamlayer.interactive.common.QuestionOptions.PromotionOptions.newBuilder()
private Builder() {
super(DEFAULT_INSTANCE);
}
/**
* .streamlayer.interactive.PromotionType type = 1 [json_name = "type"];
* @return The enum numeric value on the wire for type.
*/
@java.lang.Override
public int getTypeValue() {
return instance.getTypeValue();
}
/**
* .streamlayer.interactive.PromotionType type = 1 [json_name = "type"];
* @param value The type to set.
* @return This builder for chaining.
*/
public Builder setTypeValue(int value) {
copyOnWrite();
instance.setTypeValue(value);
return this;
}
/**
* .streamlayer.interactive.PromotionType type = 1 [json_name = "type"];
* @return The type.
*/
@java.lang.Override
public com.streamlayer.interactive.common.PromotionType getType() {
return instance.getType();
}
/**
* .streamlayer.interactive.PromotionType type = 1 [json_name = "type"];
* @param value The enum numeric value on the wire for type to set.
* @return This builder for chaining.
*/
public Builder setType(com.streamlayer.interactive.common.PromotionType value) {
copyOnWrite();
instance.setType(value);
return this;
}
/**
* .streamlayer.interactive.PromotionType type = 1 [json_name = "type"];
* @return This builder for chaining.
*/
public Builder clearType() {
copyOnWrite();
instance.clearType();
return this;
}
/**
* .streamlayer.interactive.Sponsorship sponsor = 2 [json_name = "sponsor"];
*/
@java.lang.Override
public boolean hasSponsor() {
return instance.hasSponsor();
}
/**
* .streamlayer.interactive.Sponsorship sponsor = 2 [json_name = "sponsor"];
*/
@java.lang.Override
public com.streamlayer.interactive.common.Sponsorship getSponsor() {
return instance.getSponsor();
}
/**
* .streamlayer.interactive.Sponsorship sponsor = 2 [json_name = "sponsor"];
*/
public Builder setSponsor(com.streamlayer.interactive.common.Sponsorship value) {
copyOnWrite();
instance.setSponsor(value);
return this;
}
/**
* .streamlayer.interactive.Sponsorship sponsor = 2 [json_name = "sponsor"];
*/
public Builder setSponsor(
com.streamlayer.interactive.common.Sponsorship.Builder builderForValue) {
copyOnWrite();
instance.setSponsor(builderForValue.build());
return this;
}
/**
* .streamlayer.interactive.Sponsorship sponsor = 2 [json_name = "sponsor"];
*/
public Builder mergeSponsor(com.streamlayer.interactive.common.Sponsorship value) {
copyOnWrite();
instance.mergeSponsor(value);
return this;
}
/**
* .streamlayer.interactive.Sponsorship sponsor = 2 [json_name = "sponsor"];
*/
public Builder clearSponsor() { copyOnWrite();
instance.clearSponsor();
return this;
}
/**
*
* main banner
*
*
* .streamlayer.interactive.Banner banner = 3 [json_name = "banner"];
*/
@java.lang.Override
public boolean hasBanner() {
return instance.hasBanner();
}
/**
*
* main banner
*
*
* .streamlayer.interactive.Banner banner = 3 [json_name = "banner"];
*/
@java.lang.Override
public com.streamlayer.interactive.common.Banner getBanner() {
return instance.getBanner();
}
/**
*
* main banner
*
*
* .streamlayer.interactive.Banner banner = 3 [json_name = "banner"];
*/
public Builder setBanner(com.streamlayer.interactive.common.Banner value) {
copyOnWrite();
instance.setBanner(value);
return this;
}
/**
*
* main banner
*
*
* .streamlayer.interactive.Banner banner = 3 [json_name = "banner"];
*/
public Builder setBanner(
com.streamlayer.interactive.common.Banner.Builder builderForValue) {
copyOnWrite();
instance.setBanner(builderForValue.build());
return this;
}
/**
*
* main banner
*
*
* .streamlayer.interactive.Banner banner = 3 [json_name = "banner"];
*/
public Builder mergeBanner(com.streamlayer.interactive.common.Banner value) {
copyOnWrite();
instance.mergeBanner(value);
return this;
}
/**
*
* main banner
*
*
* .streamlayer.interactive.Banner banner = 3 [json_name = "banner"];
*/
public Builder clearBanner() { copyOnWrite();
instance.clearBanner();
return this;
}
/**
* .streamlayer.interactive.PromotionWallet enable_wallet = 4 [json_name = "enableWallet", deprecated = true];
* @deprecated streamlayer.interactive.QuestionOptions.PromotionOptions.enable_wallet is deprecated.
* See streamlayer/interactive/interactive.common.proto;l=353
* @return The enum numeric value on the wire for enableWallet.
*/
@java.lang.Override
@java.lang.Deprecated public int getEnableWalletValue() {
return instance.getEnableWalletValue();
}
/**
* .streamlayer.interactive.PromotionWallet enable_wallet = 4 [json_name = "enableWallet", deprecated = true];
* @deprecated streamlayer.interactive.QuestionOptions.PromotionOptions.enable_wallet is deprecated.
* See streamlayer/interactive/interactive.common.proto;l=353
* @param value The enableWallet to set.
* @return This builder for chaining.
*/
@java.lang.Deprecated public Builder setEnableWalletValue(int value) {
copyOnWrite();
instance.setEnableWalletValue(value);
return this;
}
/**
* .streamlayer.interactive.PromotionWallet enable_wallet = 4 [json_name = "enableWallet", deprecated = true];
* @deprecated streamlayer.interactive.QuestionOptions.PromotionOptions.enable_wallet is deprecated.
* See streamlayer/interactive/interactive.common.proto;l=353
* @return The enableWallet.
*/
@java.lang.Override
@java.lang.Deprecated public com.streamlayer.interactive.common.PromotionWallet getEnableWallet() {
return instance.getEnableWallet();
}
/**
* .streamlayer.interactive.PromotionWallet enable_wallet = 4 [json_name = "enableWallet", deprecated = true];
* @deprecated streamlayer.interactive.QuestionOptions.PromotionOptions.enable_wallet is deprecated.
* See streamlayer/interactive/interactive.common.proto;l=353
* @param value The enum numeric value on the wire for enableWallet to set.
* @return This builder for chaining.
*/
@java.lang.Deprecated public Builder setEnableWallet(com.streamlayer.interactive.common.PromotionWallet value) {
copyOnWrite();
instance.setEnableWallet(value);
return this;
}
/**
* .streamlayer.interactive.PromotionWallet enable_wallet = 4 [json_name = "enableWallet", deprecated = true];
* @deprecated streamlayer.interactive.QuestionOptions.PromotionOptions.enable_wallet is deprecated.
* See streamlayer/interactive/interactive.common.proto;l=353
* @return This builder for chaining.
*/
@java.lang.Deprecated public Builder clearEnableWallet() {
copyOnWrite();
instance.clearEnableWallet();
return this;
}
/**
*
* use as banner6:1 in L-Bar
*
*
* .streamlayer.interactive.Banner additional_banner = 5 [json_name = "additionalBanner"];
*/
@java.lang.Override
public boolean hasAdditionalBanner() {
return instance.hasAdditionalBanner();
}
/**
*
* use as banner6:1 in L-Bar
*
*
* .streamlayer.interactive.Banner additional_banner = 5 [json_name = "additionalBanner"];
*/
@java.lang.Override
public com.streamlayer.interactive.common.Banner getAdditionalBanner() {
return instance.getAdditionalBanner();
}
/**
*
* use as banner6:1 in L-Bar
*
*
* .streamlayer.interactive.Banner additional_banner = 5 [json_name = "additionalBanner"];
*/
public Builder setAdditionalBanner(com.streamlayer.interactive.common.Banner value) {
copyOnWrite();
instance.setAdditionalBanner(value);
return this;
}
/**
*
* use as banner6:1 in L-Bar
*
*
* .streamlayer.interactive.Banner additional_banner = 5 [json_name = "additionalBanner"];
*/
public Builder setAdditionalBanner(
com.streamlayer.interactive.common.Banner.Builder builderForValue) {
copyOnWrite();
instance.setAdditionalBanner(builderForValue.build());
return this;
}
/**
*
* use as banner6:1 in L-Bar
*
*
* .streamlayer.interactive.Banner additional_banner = 5 [json_name = "additionalBanner"];
*/
public Builder mergeAdditionalBanner(com.streamlayer.interactive.common.Banner value) {
copyOnWrite();
instance.mergeAdditionalBanner(value);
return this;
}
/**
*
* use as banner6:1 in L-Bar
*
*
* .streamlayer.interactive.Banner additional_banner = 5 [json_name = "additionalBanner"];
*/
public Builder clearAdditionalBanner() { copyOnWrite();
instance.clearAdditionalBanner();
return this;
}
/**
* string coupon = 6 [json_name = "coupon"];
* @return The coupon.
*/
@java.lang.Override
public java.lang.String getCoupon() {
return instance.getCoupon();
}
/**
* string coupon = 6 [json_name = "coupon"];
* @return The bytes for coupon.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getCouponBytes() {
return instance.getCouponBytes();
}
/**
* string coupon = 6 [json_name = "coupon"];
* @param value The coupon to set.
* @return This builder for chaining.
*/
public Builder setCoupon(
java.lang.String value) {
copyOnWrite();
instance.setCoupon(value);
return this;
}
/**
* string coupon = 6 [json_name = "coupon"];
* @return This builder for chaining.
*/
public Builder clearCoupon() {
copyOnWrite();
instance.clearCoupon();
return this;
}
/**
* string coupon = 6 [json_name = "coupon"];
* @param value The bytes for coupon to set.
* @return This builder for chaining.
*/
public Builder setCouponBytes(
com.google.protobuf.ByteString value) {
copyOnWrite();
instance.setCouponBytes(value);
return this;
}
/**
* .streamlayer.interactive.PromotionLogoMode logo_mode = 7 [json_name = "logoMode"];
* @return The enum numeric value on the wire for logoMode.
*/
@java.lang.Override
public int getLogoModeValue() {
return instance.getLogoModeValue();
}
/**
* .streamlayer.interactive.PromotionLogoMode logo_mode = 7 [json_name = "logoMode"];
* @param value The logoMode to set.
* @return This builder for chaining.
*/
public Builder setLogoModeValue(int value) {
copyOnWrite();
instance.setLogoModeValue(value);
return this;
}
/**
* .streamlayer.interactive.PromotionLogoMode logo_mode = 7 [json_name = "logoMode"];
* @return The logoMode.
*/
@java.lang.Override
public com.streamlayer.interactive.common.PromotionLogoMode getLogoMode() {
return instance.getLogoMode();
}
/**
* .streamlayer.interactive.PromotionLogoMode logo_mode = 7 [json_name = "logoMode"];
* @param value The enum numeric value on the wire for logoMode to set.
* @return This builder for chaining.
*/
public Builder setLogoMode(com.streamlayer.interactive.common.PromotionLogoMode value) {
copyOnWrite();
instance.setLogoMode(value);
return this;
}
/**
* .streamlayer.interactive.PromotionLogoMode logo_mode = 7 [json_name = "logoMode"];
* @return This builder for chaining.
*/
public Builder clearLogoMode() {
copyOnWrite();
instance.clearLogoMode();
return this;
}
/**
*
* save coupon from loaded from constructor url
*
*
* string coupon_zip = 8 [json_name = "couponZip"];
* @return The couponZip.
*/
@java.lang.Override
public java.lang.String getCouponZip() {
return instance.getCouponZip();
}
/**
*
* save coupon from loaded from constructor url
*
*
* string coupon_zip = 8 [json_name = "couponZip"];
* @return The bytes for couponZip.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getCouponZipBytes() {
return instance.getCouponZipBytes();
}
/**
*
* save coupon from loaded from constructor url
*
*
* string coupon_zip = 8 [json_name = "couponZip"];
* @param value The couponZip to set.
* @return This builder for chaining.
*/
public Builder setCouponZip(
java.lang.String value) {
copyOnWrite();
instance.setCouponZip(value);
return this;
}
/**
*
* save coupon from loaded from constructor url
*
*
* string coupon_zip = 8 [json_name = "couponZip"];
* @return This builder for chaining.
*/
public Builder clearCouponZip() {
copyOnWrite();
instance.clearCouponZip();
return this;
}
/**
*
* save coupon from loaded from constructor url
*
*
* string coupon_zip = 8 [json_name = "couponZip"];
* @param value The bytes for couponZip to set.
* @return This builder for chaining.
*/
public Builder setCouponZipBytes(
com.google.protobuf.ByteString value) {
copyOnWrite();
instance.setCouponZipBytes(value);
return this;
}
/**
*
* url to navigate from barcode
*
*
* string coupon_barcode_url = 9 [json_name = "couponBarcodeUrl"];
* @return The couponBarcodeUrl.
*/
@java.lang.Override
public java.lang.String getCouponBarcodeUrl() {
return instance.getCouponBarcodeUrl();
}
/**
*
* url to navigate from barcode
*
*
* string coupon_barcode_url = 9 [json_name = "couponBarcodeUrl"];
* @return The bytes for couponBarcodeUrl.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getCouponBarcodeUrlBytes() {
return instance.getCouponBarcodeUrlBytes();
}
/**
*
* url to navigate from barcode
*
*
* string coupon_barcode_url = 9 [json_name = "couponBarcodeUrl"];
* @param value The couponBarcodeUrl to set.
* @return This builder for chaining.
*/
public Builder setCouponBarcodeUrl(
java.lang.String value) {
copyOnWrite();
instance.setCouponBarcodeUrl(value);
return this;
}
/**
*
* url to navigate from barcode
*
*
* string coupon_barcode_url = 9 [json_name = "couponBarcodeUrl"];
* @return This builder for chaining.
*/
public Builder clearCouponBarcodeUrl() {
copyOnWrite();
instance.clearCouponBarcodeUrl();
return this;
}
/**
*
* url to navigate from barcode
*
*
* string coupon_barcode_url = 9 [json_name = "couponBarcodeUrl"];
* @param value The bytes for couponBarcodeUrl to set.
* @return This builder for chaining.
*/
public Builder setCouponBarcodeUrlBytes(
com.google.protobuf.ByteString value) {
copyOnWrite();
instance.setCouponBarcodeUrlBytes(value);
return this;
}
/**
* optional .streamlayer.interactive.PromotionButtonType button_type = 10 [json_name = "buttonType"];
* @return Whether the buttonType field is set.
*/
@java.lang.Override
public boolean hasButtonType() {
return instance.hasButtonType();
}
/**
* optional .streamlayer.interactive.PromotionButtonType button_type = 10 [json_name = "buttonType"];
* @return The enum numeric value on the wire for buttonType.
*/
@java.lang.Override
public int getButtonTypeValue() {
return instance.getButtonTypeValue();
}
/**
* optional .streamlayer.interactive.PromotionButtonType button_type = 10 [json_name = "buttonType"];
* @param value The buttonType to set.
* @return This builder for chaining.
*/
public Builder setButtonTypeValue(int value) {
copyOnWrite();
instance.setButtonTypeValue(value);
return this;
}
/**
* optional .streamlayer.interactive.PromotionButtonType button_type = 10 [json_name = "buttonType"];
* @return The buttonType.
*/
@java.lang.Override
public com.streamlayer.interactive.common.PromotionButtonType getButtonType() {
return instance.getButtonType();
}
/**
* optional .streamlayer.interactive.PromotionButtonType button_type = 10 [json_name = "buttonType"];
* @param value The enum numeric value on the wire for buttonType to set.
* @return This builder for chaining.
*/
public Builder setButtonType(com.streamlayer.interactive.common.PromotionButtonType value) {
copyOnWrite();
instance.setButtonType(value);
return this;
}
/**
* optional .streamlayer.interactive.PromotionButtonType button_type = 10 [json_name = "buttonType"];
* @return This builder for chaining.
*/
public Builder clearButtonType() {
copyOnWrite();
instance.clearButtonType();
return this;
}
/**
* optional .streamlayer.interactive.QuestionOptions.AdCampaigns ad_campaigns = 11 [json_name = "adCampaigns"];
*/
@java.lang.Override
public boolean hasAdCampaigns() {
return instance.hasAdCampaigns();
}
/**
* optional .streamlayer.interactive.QuestionOptions.AdCampaigns ad_campaigns = 11 [json_name = "adCampaigns"];
*/
@java.lang.Override
public com.streamlayer.interactive.common.QuestionOptions.AdCampaigns getAdCampaigns() {
return instance.getAdCampaigns();
}
/**
* optional .streamlayer.interactive.QuestionOptions.AdCampaigns ad_campaigns = 11 [json_name = "adCampaigns"];
*/
public Builder setAdCampaigns(com.streamlayer.interactive.common.QuestionOptions.AdCampaigns value) {
copyOnWrite();
instance.setAdCampaigns(value);
return this;
}
/**
* optional .streamlayer.interactive.QuestionOptions.AdCampaigns ad_campaigns = 11 [json_name = "adCampaigns"];
*/
public Builder setAdCampaigns(
com.streamlayer.interactive.common.QuestionOptions.AdCampaigns.Builder builderForValue) {
copyOnWrite();
instance.setAdCampaigns(builderForValue.build());
return this;
}
/**
* optional .streamlayer.interactive.QuestionOptions.AdCampaigns ad_campaigns = 11 [json_name = "adCampaigns"];
*/
public Builder mergeAdCampaigns(com.streamlayer.interactive.common.QuestionOptions.AdCampaigns value) {
copyOnWrite();
instance.mergeAdCampaigns(value);
return this;
}
/**
* optional .streamlayer.interactive.QuestionOptions.AdCampaigns ad_campaigns = 11 [json_name = "adCampaigns"];
*/
public Builder clearAdCampaigns() { copyOnWrite();
instance.clearAdCampaigns();
return this;
}
// @@protoc_insertion_point(builder_scope:streamlayer.interactive.QuestionOptions.PromotionOptions)
}
@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.streamlayer.interactive.common.QuestionOptions.PromotionOptions();
}
case NEW_BUILDER: {
return new Builder();
}
case BUILD_MESSAGE_INFO: {
java.lang.Object[] objects = new java.lang.Object[] {
"bitField0_",
"type_",
"sponsor_",
"banner_",
"enableWallet_",
"additionalBanner_",
"coupon_",
"logoMode_",
"couponZip_",
"couponBarcodeUrl_",
"buttonType_",
"adCampaigns_",
};
java.lang.String info =
"\u0000\u000b\u0000\u0001\u0001\u000b\u000b\u0000\u0000\u0000\u0001\f\u0002\u1009" +
"\u0000\u0003\u1009\u0001\u0004\f\u0005\u1009\u0002\u0006\u0208\u0007\f\b\u0208\t" +
"\u0208\n\u100c\u0003\u000b\u1009\u0004";
return newMessageInfo(DEFAULT_INSTANCE, info, objects);
}
// fall through
case GET_DEFAULT_INSTANCE: {
return DEFAULT_INSTANCE;
}
case GET_PARSER: {
com.google.protobuf.Parser parser = PARSER;
if (parser == null) {
synchronized (com.streamlayer.interactive.common.QuestionOptions.PromotionOptions.class) {
parser = PARSER;
if (parser == null) {
parser =
new DefaultInstanceBasedParser(
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:streamlayer.interactive.QuestionOptions.PromotionOptions)
private static final com.streamlayer.interactive.common.QuestionOptions.PromotionOptions DEFAULT_INSTANCE;
static {
PromotionOptions defaultInstance = new PromotionOptions();
// New instances are implicitly immutable so no need to make
// immutable.
DEFAULT_INSTANCE = defaultInstance;
com.google.protobuf.GeneratedMessageLite.registerDefaultInstance(
PromotionOptions.class, defaultInstance);
}
public static com.streamlayer.interactive.common.QuestionOptions.PromotionOptions getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static volatile com.google.protobuf.Parser PARSER;
public static com.google.protobuf.Parser parser() {
return DEFAULT_INSTANCE.getParserForType();
}
}
private int optionsCase_ = 0;
private java.lang.Object options_;
public enum OptionsCase {
POLL(1),
TRIVIA(2),
PREDICTION(3),
FACTOID(4),
TWEET(5),
PROMOTION(6),
OPTIONS_NOT_SET(0);
private final int value;
private OptionsCase(int value) {
this.value = value;
}
/**
* @deprecated Use {@link #forNumber(int)} instead.
*/
@java.lang.Deprecated
public static OptionsCase valueOf(int value) {
return forNumber(value);
}
public static OptionsCase forNumber(int value) {
switch (value) {
case 1: return POLL;
case 2: return TRIVIA;
case 3: return PREDICTION;
case 4: return FACTOID;
case 5: return TWEET;
case 6: return PROMOTION;
case 0: return OPTIONS_NOT_SET;
default: return null;
}
}
public int getNumber() {
return this.value;
}
};
@java.lang.Override
public OptionsCase
getOptionsCase() {
return OptionsCase.forNumber(
optionsCase_);
}
private void clearOptions() {
optionsCase_ = 0;
options_ = null;
}
public static final int POLL_FIELD_NUMBER = 1;
/**
* .streamlayer.interactive.QuestionOptions.PollOptions poll = 1 [json_name = "poll"];
*/
@java.lang.Override
public boolean hasPoll() {
return optionsCase_ == 1;
}
/**
* .streamlayer.interactive.QuestionOptions.PollOptions poll = 1 [json_name = "poll"];
*/
@java.lang.Override
public com.streamlayer.interactive.common.QuestionOptions.PollOptions getPoll() {
if (optionsCase_ == 1) {
return (com.streamlayer.interactive.common.QuestionOptions.PollOptions) options_;
}
return com.streamlayer.interactive.common.QuestionOptions.PollOptions.getDefaultInstance();
}
/**
* .streamlayer.interactive.QuestionOptions.PollOptions poll = 1 [json_name = "poll"];
*/
private void setPoll(com.streamlayer.interactive.common.QuestionOptions.PollOptions value) {
value.getClass();
options_ = value;
optionsCase_ = 1;
}
/**
* .streamlayer.interactive.QuestionOptions.PollOptions poll = 1 [json_name = "poll"];
*/
private void mergePoll(com.streamlayer.interactive.common.QuestionOptions.PollOptions value) {
value.getClass();
if (optionsCase_ == 1 &&
options_ != com.streamlayer.interactive.common.QuestionOptions.PollOptions.getDefaultInstance()) {
options_ = com.streamlayer.interactive.common.QuestionOptions.PollOptions.newBuilder((com.streamlayer.interactive.common.QuestionOptions.PollOptions) options_)
.mergeFrom(value).buildPartial();
} else {
options_ = value;
}
optionsCase_ = 1;
}
/**
* .streamlayer.interactive.QuestionOptions.PollOptions poll = 1 [json_name = "poll"];
*/
private void clearPoll() {
if (optionsCase_ == 1) {
optionsCase_ = 0;
options_ = null;
}
}
public static final int TRIVIA_FIELD_NUMBER = 2;
/**
* .streamlayer.interactive.QuestionOptions.TriviaOptions trivia = 2 [json_name = "trivia"];
*/
@java.lang.Override
public boolean hasTrivia() {
return optionsCase_ == 2;
}
/**
* .streamlayer.interactive.QuestionOptions.TriviaOptions trivia = 2 [json_name = "trivia"];
*/
@java.lang.Override
public com.streamlayer.interactive.common.QuestionOptions.TriviaOptions getTrivia() {
if (optionsCase_ == 2) {
return (com.streamlayer.interactive.common.QuestionOptions.TriviaOptions) options_;
}
return com.streamlayer.interactive.common.QuestionOptions.TriviaOptions.getDefaultInstance();
}
/**
* .streamlayer.interactive.QuestionOptions.TriviaOptions trivia = 2 [json_name = "trivia"];
*/
private void setTrivia(com.streamlayer.interactive.common.QuestionOptions.TriviaOptions value) {
value.getClass();
options_ = value;
optionsCase_ = 2;
}
/**
* .streamlayer.interactive.QuestionOptions.TriviaOptions trivia = 2 [json_name = "trivia"];
*/
private void mergeTrivia(com.streamlayer.interactive.common.QuestionOptions.TriviaOptions value) {
value.getClass();
if (optionsCase_ == 2 &&
options_ != com.streamlayer.interactive.common.QuestionOptions.TriviaOptions.getDefaultInstance()) {
options_ = com.streamlayer.interactive.common.QuestionOptions.TriviaOptions.newBuilder((com.streamlayer.interactive.common.QuestionOptions.TriviaOptions) options_)
.mergeFrom(value).buildPartial();
} else {
options_ = value;
}
optionsCase_ = 2;
}
/**
* .streamlayer.interactive.QuestionOptions.TriviaOptions trivia = 2 [json_name = "trivia"];
*/
private void clearTrivia() {
if (optionsCase_ == 2) {
optionsCase_ = 0;
options_ = null;
}
}
public static final int PREDICTION_FIELD_NUMBER = 3;
/**
* .streamlayer.interactive.QuestionOptions.PredictionOptions prediction = 3 [json_name = "prediction"];
*/
@java.lang.Override
public boolean hasPrediction() {
return optionsCase_ == 3;
}
/**
* .streamlayer.interactive.QuestionOptions.PredictionOptions prediction = 3 [json_name = "prediction"];
*/
@java.lang.Override
public com.streamlayer.interactive.common.QuestionOptions.PredictionOptions getPrediction() {
if (optionsCase_ == 3) {
return (com.streamlayer.interactive.common.QuestionOptions.PredictionOptions) options_;
}
return com.streamlayer.interactive.common.QuestionOptions.PredictionOptions.getDefaultInstance();
}
/**
* .streamlayer.interactive.QuestionOptions.PredictionOptions prediction = 3 [json_name = "prediction"];
*/
private void setPrediction(com.streamlayer.interactive.common.QuestionOptions.PredictionOptions value) {
value.getClass();
options_ = value;
optionsCase_ = 3;
}
/**
* .streamlayer.interactive.QuestionOptions.PredictionOptions prediction = 3 [json_name = "prediction"];
*/
private void mergePrediction(com.streamlayer.interactive.common.QuestionOptions.PredictionOptions value) {
value.getClass();
if (optionsCase_ == 3 &&
options_ != com.streamlayer.interactive.common.QuestionOptions.PredictionOptions.getDefaultInstance()) {
options_ = com.streamlayer.interactive.common.QuestionOptions.PredictionOptions.newBuilder((com.streamlayer.interactive.common.QuestionOptions.PredictionOptions) options_)
.mergeFrom(value).buildPartial();
} else {
options_ = value;
}
optionsCase_ = 3;
}
/**
* .streamlayer.interactive.QuestionOptions.PredictionOptions prediction = 3 [json_name = "prediction"];
*/
private void clearPrediction() {
if (optionsCase_ == 3) {
optionsCase_ = 0;
options_ = null;
}
}
public static final int FACTOID_FIELD_NUMBER = 4;
/**
* .streamlayer.interactive.QuestionOptions.FactoidOptions factoid = 4 [json_name = "factoid"];
*/
@java.lang.Override
public boolean hasFactoid() {
return optionsCase_ == 4;
}
/**
* .streamlayer.interactive.QuestionOptions.FactoidOptions factoid = 4 [json_name = "factoid"];
*/
@java.lang.Override
public com.streamlayer.interactive.common.QuestionOptions.FactoidOptions getFactoid() {
if (optionsCase_ == 4) {
return (com.streamlayer.interactive.common.QuestionOptions.FactoidOptions) options_;
}
return com.streamlayer.interactive.common.QuestionOptions.FactoidOptions.getDefaultInstance();
}
/**
* .streamlayer.interactive.QuestionOptions.FactoidOptions factoid = 4 [json_name = "factoid"];
*/
private void setFactoid(com.streamlayer.interactive.common.QuestionOptions.FactoidOptions value) {
value.getClass();
options_ = value;
optionsCase_ = 4;
}
/**
* .streamlayer.interactive.QuestionOptions.FactoidOptions factoid = 4 [json_name = "factoid"];
*/
private void mergeFactoid(com.streamlayer.interactive.common.QuestionOptions.FactoidOptions value) {
value.getClass();
if (optionsCase_ == 4 &&
options_ != com.streamlayer.interactive.common.QuestionOptions.FactoidOptions.getDefaultInstance()) {
options_ = com.streamlayer.interactive.common.QuestionOptions.FactoidOptions.newBuilder((com.streamlayer.interactive.common.QuestionOptions.FactoidOptions) options_)
.mergeFrom(value).buildPartial();
} else {
options_ = value;
}
optionsCase_ = 4;
}
/**
* .streamlayer.interactive.QuestionOptions.FactoidOptions factoid = 4 [json_name = "factoid"];
*/
private void clearFactoid() {
if (optionsCase_ == 4) {
optionsCase_ = 0;
options_ = null;
}
}
public static final int TWEET_FIELD_NUMBER = 5;
/**
* .streamlayer.interactive.QuestionOptions.TweetOptions tweet = 5 [json_name = "tweet"];
*/
@java.lang.Override
public boolean hasTweet() {
return optionsCase_ == 5;
}
/**
* .streamlayer.interactive.QuestionOptions.TweetOptions tweet = 5 [json_name = "tweet"];
*/
@java.lang.Override
public com.streamlayer.interactive.common.QuestionOptions.TweetOptions getTweet() {
if (optionsCase_ == 5) {
return (com.streamlayer.interactive.common.QuestionOptions.TweetOptions) options_;
}
return com.streamlayer.interactive.common.QuestionOptions.TweetOptions.getDefaultInstance();
}
/**
* .streamlayer.interactive.QuestionOptions.TweetOptions tweet = 5 [json_name = "tweet"];
*/
private void setTweet(com.streamlayer.interactive.common.QuestionOptions.TweetOptions value) {
value.getClass();
options_ = value;
optionsCase_ = 5;
}
/**
* .streamlayer.interactive.QuestionOptions.TweetOptions tweet = 5 [json_name = "tweet"];
*/
private void mergeTweet(com.streamlayer.interactive.common.QuestionOptions.TweetOptions value) {
value.getClass();
if (optionsCase_ == 5 &&
options_ != com.streamlayer.interactive.common.QuestionOptions.TweetOptions.getDefaultInstance()) {
options_ = com.streamlayer.interactive.common.QuestionOptions.TweetOptions.newBuilder((com.streamlayer.interactive.common.QuestionOptions.TweetOptions) options_)
.mergeFrom(value).buildPartial();
} else {
options_ = value;
}
optionsCase_ = 5;
}
/**
* .streamlayer.interactive.QuestionOptions.TweetOptions tweet = 5 [json_name = "tweet"];
*/
private void clearTweet() {
if (optionsCase_ == 5) {
optionsCase_ = 0;
options_ = null;
}
}
public static final int PROMOTION_FIELD_NUMBER = 6;
/**
* .streamlayer.interactive.QuestionOptions.PromotionOptions promotion = 6 [json_name = "promotion"];
*/
@java.lang.Override
public boolean hasPromotion() {
return optionsCase_ == 6;
}
/**
* .streamlayer.interactive.QuestionOptions.PromotionOptions promotion = 6 [json_name = "promotion"];
*/
@java.lang.Override
public com.streamlayer.interactive.common.QuestionOptions.PromotionOptions getPromotion() {
if (optionsCase_ == 6) {
return (com.streamlayer.interactive.common.QuestionOptions.PromotionOptions) options_;
}
return com.streamlayer.interactive.common.QuestionOptions.PromotionOptions.getDefaultInstance();
}
/**
* .streamlayer.interactive.QuestionOptions.PromotionOptions promotion = 6 [json_name = "promotion"];
*/
private void setPromotion(com.streamlayer.interactive.common.QuestionOptions.PromotionOptions value) {
value.getClass();
options_ = value;
optionsCase_ = 6;
}
/**
* .streamlayer.interactive.QuestionOptions.PromotionOptions promotion = 6 [json_name = "promotion"];
*/
private void mergePromotion(com.streamlayer.interactive.common.QuestionOptions.PromotionOptions value) {
value.getClass();
if (optionsCase_ == 6 &&
options_ != com.streamlayer.interactive.common.QuestionOptions.PromotionOptions.getDefaultInstance()) {
options_ = com.streamlayer.interactive.common.QuestionOptions.PromotionOptions.newBuilder((com.streamlayer.interactive.common.QuestionOptions.PromotionOptions) options_)
.mergeFrom(value).buildPartial();
} else {
options_ = value;
}
optionsCase_ = 6;
}
/**
* .streamlayer.interactive.QuestionOptions.PromotionOptions promotion = 6 [json_name = "promotion"];
*/
private void clearPromotion() {
if (optionsCase_ == 6) {
optionsCase_ = 0;
options_ = null;
}
}
public static com.streamlayer.interactive.common.QuestionOptions parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, data);
}
public static com.streamlayer.interactive.common.QuestionOptions 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.streamlayer.interactive.common.QuestionOptions parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, data);
}
public static com.streamlayer.interactive.common.QuestionOptions 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.streamlayer.interactive.common.QuestionOptions parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, data);
}
public static com.streamlayer.interactive.common.QuestionOptions 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.streamlayer.interactive.common.QuestionOptions parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, input);
}
public static com.streamlayer.interactive.common.QuestionOptions 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.streamlayer.interactive.common.QuestionOptions parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return parseDelimitedFrom(DEFAULT_INSTANCE, input);
}
public static com.streamlayer.interactive.common.QuestionOptions parseDelimitedFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return parseDelimitedFrom(DEFAULT_INSTANCE, input, extensionRegistry);
}
public static com.streamlayer.interactive.common.QuestionOptions parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, input);
}
public static com.streamlayer.interactive.common.QuestionOptions 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.streamlayer.interactive.common.QuestionOptions prototype) {
return DEFAULT_INSTANCE.createBuilder(prototype);
}
/**
* Protobuf type {@code streamlayer.interactive.QuestionOptions}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageLite.Builder<
com.streamlayer.interactive.common.QuestionOptions, Builder> implements
// @@protoc_insertion_point(builder_implements:streamlayer.interactive.QuestionOptions)
com.streamlayer.interactive.common.QuestionOptionsOrBuilder {
// Construct using com.streamlayer.interactive.common.QuestionOptions.newBuilder()
private Builder() {
super(DEFAULT_INSTANCE);
}
@java.lang.Override
public OptionsCase
getOptionsCase() {
return instance.getOptionsCase();
}
public Builder clearOptions() {
copyOnWrite();
instance.clearOptions();
return this;
}
/**
* .streamlayer.interactive.QuestionOptions.PollOptions poll = 1 [json_name = "poll"];
*/
@java.lang.Override
public boolean hasPoll() {
return instance.hasPoll();
}
/**
* .streamlayer.interactive.QuestionOptions.PollOptions poll = 1 [json_name = "poll"];
*/
@java.lang.Override
public com.streamlayer.interactive.common.QuestionOptions.PollOptions getPoll() {
return instance.getPoll();
}
/**
* .streamlayer.interactive.QuestionOptions.PollOptions poll = 1 [json_name = "poll"];
*/
public Builder setPoll(com.streamlayer.interactive.common.QuestionOptions.PollOptions value) {
copyOnWrite();
instance.setPoll(value);
return this;
}
/**
* .streamlayer.interactive.QuestionOptions.PollOptions poll = 1 [json_name = "poll"];
*/
public Builder setPoll(
com.streamlayer.interactive.common.QuestionOptions.PollOptions.Builder builderForValue) {
copyOnWrite();
instance.setPoll(builderForValue.build());
return this;
}
/**
* .streamlayer.interactive.QuestionOptions.PollOptions poll = 1 [json_name = "poll"];
*/
public Builder mergePoll(com.streamlayer.interactive.common.QuestionOptions.PollOptions value) {
copyOnWrite();
instance.mergePoll(value);
return this;
}
/**
* .streamlayer.interactive.QuestionOptions.PollOptions poll = 1 [json_name = "poll"];
*/
public Builder clearPoll() {
copyOnWrite();
instance.clearPoll();
return this;
}
/**
* .streamlayer.interactive.QuestionOptions.TriviaOptions trivia = 2 [json_name = "trivia"];
*/
@java.lang.Override
public boolean hasTrivia() {
return instance.hasTrivia();
}
/**
* .streamlayer.interactive.QuestionOptions.TriviaOptions trivia = 2 [json_name = "trivia"];
*/
@java.lang.Override
public com.streamlayer.interactive.common.QuestionOptions.TriviaOptions getTrivia() {
return instance.getTrivia();
}
/**
* .streamlayer.interactive.QuestionOptions.TriviaOptions trivia = 2 [json_name = "trivia"];
*/
public Builder setTrivia(com.streamlayer.interactive.common.QuestionOptions.TriviaOptions value) {
copyOnWrite();
instance.setTrivia(value);
return this;
}
/**
* .streamlayer.interactive.QuestionOptions.TriviaOptions trivia = 2 [json_name = "trivia"];
*/
public Builder setTrivia(
com.streamlayer.interactive.common.QuestionOptions.TriviaOptions.Builder builderForValue) {
copyOnWrite();
instance.setTrivia(builderForValue.build());
return this;
}
/**
* .streamlayer.interactive.QuestionOptions.TriviaOptions trivia = 2 [json_name = "trivia"];
*/
public Builder mergeTrivia(com.streamlayer.interactive.common.QuestionOptions.TriviaOptions value) {
copyOnWrite();
instance.mergeTrivia(value);
return this;
}
/**
* .streamlayer.interactive.QuestionOptions.TriviaOptions trivia = 2 [json_name = "trivia"];
*/
public Builder clearTrivia() {
copyOnWrite();
instance.clearTrivia();
return this;
}
/**
* .streamlayer.interactive.QuestionOptions.PredictionOptions prediction = 3 [json_name = "prediction"];
*/
@java.lang.Override
public boolean hasPrediction() {
return instance.hasPrediction();
}
/**
* .streamlayer.interactive.QuestionOptions.PredictionOptions prediction = 3 [json_name = "prediction"];
*/
@java.lang.Override
public com.streamlayer.interactive.common.QuestionOptions.PredictionOptions getPrediction() {
return instance.getPrediction();
}
/**
* .streamlayer.interactive.QuestionOptions.PredictionOptions prediction = 3 [json_name = "prediction"];
*/
public Builder setPrediction(com.streamlayer.interactive.common.QuestionOptions.PredictionOptions value) {
copyOnWrite();
instance.setPrediction(value);
return this;
}
/**
* .streamlayer.interactive.QuestionOptions.PredictionOptions prediction = 3 [json_name = "prediction"];
*/
public Builder setPrediction(
com.streamlayer.interactive.common.QuestionOptions.PredictionOptions.Builder builderForValue) {
copyOnWrite();
instance.setPrediction(builderForValue.build());
return this;
}
/**
* .streamlayer.interactive.QuestionOptions.PredictionOptions prediction = 3 [json_name = "prediction"];
*/
public Builder mergePrediction(com.streamlayer.interactive.common.QuestionOptions.PredictionOptions value) {
copyOnWrite();
instance.mergePrediction(value);
return this;
}
/**
* .streamlayer.interactive.QuestionOptions.PredictionOptions prediction = 3 [json_name = "prediction"];
*/
public Builder clearPrediction() {
copyOnWrite();
instance.clearPrediction();
return this;
}
/**
* .streamlayer.interactive.QuestionOptions.FactoidOptions factoid = 4 [json_name = "factoid"];
*/
@java.lang.Override
public boolean hasFactoid() {
return instance.hasFactoid();
}
/**
* .streamlayer.interactive.QuestionOptions.FactoidOptions factoid = 4 [json_name = "factoid"];
*/
@java.lang.Override
public com.streamlayer.interactive.common.QuestionOptions.FactoidOptions getFactoid() {
return instance.getFactoid();
}
/**
* .streamlayer.interactive.QuestionOptions.FactoidOptions factoid = 4 [json_name = "factoid"];
*/
public Builder setFactoid(com.streamlayer.interactive.common.QuestionOptions.FactoidOptions value) {
copyOnWrite();
instance.setFactoid(value);
return this;
}
/**
* .streamlayer.interactive.QuestionOptions.FactoidOptions factoid = 4 [json_name = "factoid"];
*/
public Builder setFactoid(
com.streamlayer.interactive.common.QuestionOptions.FactoidOptions.Builder builderForValue) {
copyOnWrite();
instance.setFactoid(builderForValue.build());
return this;
}
/**
* .streamlayer.interactive.QuestionOptions.FactoidOptions factoid = 4 [json_name = "factoid"];
*/
public Builder mergeFactoid(com.streamlayer.interactive.common.QuestionOptions.FactoidOptions value) {
copyOnWrite();
instance.mergeFactoid(value);
return this;
}
/**
* .streamlayer.interactive.QuestionOptions.FactoidOptions factoid = 4 [json_name = "factoid"];
*/
public Builder clearFactoid() {
copyOnWrite();
instance.clearFactoid();
return this;
}
/**
* .streamlayer.interactive.QuestionOptions.TweetOptions tweet = 5 [json_name = "tweet"];
*/
@java.lang.Override
public boolean hasTweet() {
return instance.hasTweet();
}
/**
* .streamlayer.interactive.QuestionOptions.TweetOptions tweet = 5 [json_name = "tweet"];
*/
@java.lang.Override
public com.streamlayer.interactive.common.QuestionOptions.TweetOptions getTweet() {
return instance.getTweet();
}
/**
* .streamlayer.interactive.QuestionOptions.TweetOptions tweet = 5 [json_name = "tweet"];
*/
public Builder setTweet(com.streamlayer.interactive.common.QuestionOptions.TweetOptions value) {
copyOnWrite();
instance.setTweet(value);
return this;
}
/**
* .streamlayer.interactive.QuestionOptions.TweetOptions tweet = 5 [json_name = "tweet"];
*/
public Builder setTweet(
com.streamlayer.interactive.common.QuestionOptions.TweetOptions.Builder builderForValue) {
copyOnWrite();
instance.setTweet(builderForValue.build());
return this;
}
/**
* .streamlayer.interactive.QuestionOptions.TweetOptions tweet = 5 [json_name = "tweet"];
*/
public Builder mergeTweet(com.streamlayer.interactive.common.QuestionOptions.TweetOptions value) {
copyOnWrite();
instance.mergeTweet(value);
return this;
}
/**
* .streamlayer.interactive.QuestionOptions.TweetOptions tweet = 5 [json_name = "tweet"];
*/
public Builder clearTweet() {
copyOnWrite();
instance.clearTweet();
return this;
}
/**
* .streamlayer.interactive.QuestionOptions.PromotionOptions promotion = 6 [json_name = "promotion"];
*/
@java.lang.Override
public boolean hasPromotion() {
return instance.hasPromotion();
}
/**
* .streamlayer.interactive.QuestionOptions.PromotionOptions promotion = 6 [json_name = "promotion"];
*/
@java.lang.Override
public com.streamlayer.interactive.common.QuestionOptions.PromotionOptions getPromotion() {
return instance.getPromotion();
}
/**
* .streamlayer.interactive.QuestionOptions.PromotionOptions promotion = 6 [json_name = "promotion"];
*/
public Builder setPromotion(com.streamlayer.interactive.common.QuestionOptions.PromotionOptions value) {
copyOnWrite();
instance.setPromotion(value);
return this;
}
/**
* .streamlayer.interactive.QuestionOptions.PromotionOptions promotion = 6 [json_name = "promotion"];
*/
public Builder setPromotion(
com.streamlayer.interactive.common.QuestionOptions.PromotionOptions.Builder builderForValue) {
copyOnWrite();
instance.setPromotion(builderForValue.build());
return this;
}
/**
* .streamlayer.interactive.QuestionOptions.PromotionOptions promotion = 6 [json_name = "promotion"];
*/
public Builder mergePromotion(com.streamlayer.interactive.common.QuestionOptions.PromotionOptions value) {
copyOnWrite();
instance.mergePromotion(value);
return this;
}
/**
* .streamlayer.interactive.QuestionOptions.PromotionOptions promotion = 6 [json_name = "promotion"];
*/
public Builder clearPromotion() {
copyOnWrite();
instance.clearPromotion();
return this;
}
// @@protoc_insertion_point(builder_scope:streamlayer.interactive.QuestionOptions)
}
@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.streamlayer.interactive.common.QuestionOptions();
}
case NEW_BUILDER: {
return new Builder();
}
case BUILD_MESSAGE_INFO: {
java.lang.Object[] objects = new java.lang.Object[] {
"options_",
"optionsCase_",
com.streamlayer.interactive.common.QuestionOptions.PollOptions.class,
com.streamlayer.interactive.common.QuestionOptions.TriviaOptions.class,
com.streamlayer.interactive.common.QuestionOptions.PredictionOptions.class,
com.streamlayer.interactive.common.QuestionOptions.FactoidOptions.class,
com.streamlayer.interactive.common.QuestionOptions.TweetOptions.class,
com.streamlayer.interactive.common.QuestionOptions.PromotionOptions.class,
};
java.lang.String info =
"\u0000\u0006\u0001\u0000\u0001\u0006\u0006\u0000\u0000\u0000\u0001<\u0000\u0002<" +
"\u0000\u0003<\u0000\u0004<\u0000\u0005<\u0000\u0006<\u0000";
return newMessageInfo(DEFAULT_INSTANCE, info, objects);
}
// fall through
case GET_DEFAULT_INSTANCE: {
return DEFAULT_INSTANCE;
}
case GET_PARSER: {
com.google.protobuf.Parser parser = PARSER;
if (parser == null) {
synchronized (com.streamlayer.interactive.common.QuestionOptions.class) {
parser = PARSER;
if (parser == null) {
parser =
new DefaultInstanceBasedParser(
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:streamlayer.interactive.QuestionOptions)
private static final com.streamlayer.interactive.common.QuestionOptions DEFAULT_INSTANCE;
static {
QuestionOptions defaultInstance = new QuestionOptions();
// New instances are implicitly immutable so no need to make
// immutable.
DEFAULT_INSTANCE = defaultInstance;
com.google.protobuf.GeneratedMessageLite.registerDefaultInstance(
QuestionOptions.class, defaultInstance);
}
public static com.streamlayer.interactive.common.QuestionOptions getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static volatile com.google.protobuf.Parser PARSER;
public static com.google.protobuf.Parser parser() {
return DEFAULT_INSTANCE.getParserForType();
}
}