main.java.com.streamlayer.analytics.studio.v2.AdConversionResponseData 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/analytics/v2/studio/dashboard.proto
// Protobuf Java Version: 3.25.3
package com.streamlayer.analytics.studio.v2;
/**
* Protobuf type {@code streamlayer.analytics.v2.studio.AdConversionResponseData}
*/
public final class AdConversionResponseData extends
com.google.protobuf.GeneratedMessageLite<
AdConversionResponseData, AdConversionResponseData.Builder> implements
// @@protoc_insertion_point(message_implements:streamlayer.analytics.v2.studio.AdConversionResponseData)
AdConversionResponseDataOrBuilder {
private AdConversionResponseData() {
}
public static final int TOTAL_VIEWERS_FIELD_NUMBER = 1;
private int totalViewers_;
/**
* int32 total_viewers = 1 [json_name = "totalViewers"];
* @return The totalViewers.
*/
@java.lang.Override
public int getTotalViewers() {
return totalViewers_;
}
/**
* int32 total_viewers = 1 [json_name = "totalViewers"];
* @param value The totalViewers to set.
*/
private void setTotalViewers(int value) {
totalViewers_ = value;
}
/**
* int32 total_viewers = 1 [json_name = "totalViewers"];
*/
private void clearTotalViewers() {
totalViewers_ = 0;
}
public static final int UNIQ_AD_BANNER_NAVIGATED_FIELD_NUMBER = 2;
private int uniqAdBannerNavigated_;
/**
* int32 uniq_ad_banner_navigated = 2 [json_name = "uniqAdBannerNavigated"];
* @return The uniqAdBannerNavigated.
*/
@java.lang.Override
public int getUniqAdBannerNavigated() {
return uniqAdBannerNavigated_;
}
/**
* int32 uniq_ad_banner_navigated = 2 [json_name = "uniqAdBannerNavigated"];
* @param value The uniqAdBannerNavigated to set.
*/
private void setUniqAdBannerNavigated(int value) {
uniqAdBannerNavigated_ = value;
}
/**
* int32 uniq_ad_banner_navigated = 2 [json_name = "uniqAdBannerNavigated"];
*/
private void clearUniqAdBannerNavigated() {
uniqAdBannerNavigated_ = 0;
}
public static final int UNIQ_AD_BUTTON_NAVIGATED_FIELD_NUMBER = 3;
private int uniqAdButtonNavigated_;
/**
* int32 uniq_ad_button_navigated = 3 [json_name = "uniqAdButtonNavigated"];
* @return The uniqAdButtonNavigated.
*/
@java.lang.Override
public int getUniqAdButtonNavigated() {
return uniqAdButtonNavigated_;
}
/**
* int32 uniq_ad_button_navigated = 3 [json_name = "uniqAdButtonNavigated"];
* @param value The uniqAdButtonNavigated to set.
*/
private void setUniqAdButtonNavigated(int value) {
uniqAdButtonNavigated_ = value;
}
/**
* int32 uniq_ad_button_navigated = 3 [json_name = "uniqAdButtonNavigated"];
*/
private void clearUniqAdButtonNavigated() {
uniqAdButtonNavigated_ = 0;
}
public static final int UNIQ_AD_VIDEO_PLAYED_FIELD_NUMBER = 4;
private int uniqAdVideoPlayed_;
/**
* int32 uniq_ad_video_played = 4 [json_name = "uniqAdVideoPlayed"];
* @return The uniqAdVideoPlayed.
*/
@java.lang.Override
public int getUniqAdVideoPlayed() {
return uniqAdVideoPlayed_;
}
/**
* int32 uniq_ad_video_played = 4 [json_name = "uniqAdVideoPlayed"];
* @param value The uniqAdVideoPlayed to set.
*/
private void setUniqAdVideoPlayed(int value) {
uniqAdVideoPlayed_ = value;
}
/**
* int32 uniq_ad_video_played = 4 [json_name = "uniqAdVideoPlayed"];
*/
private void clearUniqAdVideoPlayed() {
uniqAdVideoPlayed_ = 0;
}
public static final int AD_BANNER_NAVIGATED_FIELD_NUMBER = 5;
private int adBannerNavigated_;
/**
* int32 ad_banner_navigated = 5 [json_name = "adBannerNavigated"];
* @return The adBannerNavigated.
*/
@java.lang.Override
public int getAdBannerNavigated() {
return adBannerNavigated_;
}
/**
* int32 ad_banner_navigated = 5 [json_name = "adBannerNavigated"];
* @param value The adBannerNavigated to set.
*/
private void setAdBannerNavigated(int value) {
adBannerNavigated_ = value;
}
/**
* int32 ad_banner_navigated = 5 [json_name = "adBannerNavigated"];
*/
private void clearAdBannerNavigated() {
adBannerNavigated_ = 0;
}
public static final int AD_BUTTON_NAVIGATED_FIELD_NUMBER = 6;
private int adButtonNavigated_;
/**
* int32 ad_button_navigated = 6 [json_name = "adButtonNavigated"];
* @return The adButtonNavigated.
*/
@java.lang.Override
public int getAdButtonNavigated() {
return adButtonNavigated_;
}
/**
* int32 ad_button_navigated = 6 [json_name = "adButtonNavigated"];
* @param value The adButtonNavigated to set.
*/
private void setAdButtonNavigated(int value) {
adButtonNavigated_ = value;
}
/**
* int32 ad_button_navigated = 6 [json_name = "adButtonNavigated"];
*/
private void clearAdButtonNavigated() {
adButtonNavigated_ = 0;
}
public static final int AD_VIDEO_PLAYED_FIELD_NUMBER = 7;
private int adVideoPlayed_;
/**
* int32 ad_video_played = 7 [json_name = "adVideoPlayed"];
* @return The adVideoPlayed.
*/
@java.lang.Override
public int getAdVideoPlayed() {
return adVideoPlayed_;
}
/**
* int32 ad_video_played = 7 [json_name = "adVideoPlayed"];
* @param value The adVideoPlayed to set.
*/
private void setAdVideoPlayed(int value) {
adVideoPlayed_ = value;
}
/**
* int32 ad_video_played = 7 [json_name = "adVideoPlayed"];
*/
private void clearAdVideoPlayed() {
adVideoPlayed_ = 0;
}
public static com.streamlayer.analytics.studio.v2.AdConversionResponseData parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, data);
}
public static com.streamlayer.analytics.studio.v2.AdConversionResponseData 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.analytics.studio.v2.AdConversionResponseData parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, data);
}
public static com.streamlayer.analytics.studio.v2.AdConversionResponseData 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.analytics.studio.v2.AdConversionResponseData parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, data);
}
public static com.streamlayer.analytics.studio.v2.AdConversionResponseData 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.analytics.studio.v2.AdConversionResponseData parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, input);
}
public static com.streamlayer.analytics.studio.v2.AdConversionResponseData 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.analytics.studio.v2.AdConversionResponseData parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return parseDelimitedFrom(DEFAULT_INSTANCE, input);
}
public static com.streamlayer.analytics.studio.v2.AdConversionResponseData parseDelimitedFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return parseDelimitedFrom(DEFAULT_INSTANCE, input, extensionRegistry);
}
public static com.streamlayer.analytics.studio.v2.AdConversionResponseData parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, input);
}
public static com.streamlayer.analytics.studio.v2.AdConversionResponseData 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.analytics.studio.v2.AdConversionResponseData prototype) {
return DEFAULT_INSTANCE.createBuilder(prototype);
}
/**
* Protobuf type {@code streamlayer.analytics.v2.studio.AdConversionResponseData}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageLite.Builder<
com.streamlayer.analytics.studio.v2.AdConversionResponseData, Builder> implements
// @@protoc_insertion_point(builder_implements:streamlayer.analytics.v2.studio.AdConversionResponseData)
com.streamlayer.analytics.studio.v2.AdConversionResponseDataOrBuilder {
// Construct using com.streamlayer.analytics.studio.v2.AdConversionResponseData.newBuilder()
private Builder() {
super(DEFAULT_INSTANCE);
}
/**
* int32 total_viewers = 1 [json_name = "totalViewers"];
* @return The totalViewers.
*/
@java.lang.Override
public int getTotalViewers() {
return instance.getTotalViewers();
}
/**
* int32 total_viewers = 1 [json_name = "totalViewers"];
* @param value The totalViewers to set.
* @return This builder for chaining.
*/
public Builder setTotalViewers(int value) {
copyOnWrite();
instance.setTotalViewers(value);
return this;
}
/**
* int32 total_viewers = 1 [json_name = "totalViewers"];
* @return This builder for chaining.
*/
public Builder clearTotalViewers() {
copyOnWrite();
instance.clearTotalViewers();
return this;
}
/**
* int32 uniq_ad_banner_navigated = 2 [json_name = "uniqAdBannerNavigated"];
* @return The uniqAdBannerNavigated.
*/
@java.lang.Override
public int getUniqAdBannerNavigated() {
return instance.getUniqAdBannerNavigated();
}
/**
* int32 uniq_ad_banner_navigated = 2 [json_name = "uniqAdBannerNavigated"];
* @param value The uniqAdBannerNavigated to set.
* @return This builder for chaining.
*/
public Builder setUniqAdBannerNavigated(int value) {
copyOnWrite();
instance.setUniqAdBannerNavigated(value);
return this;
}
/**
* int32 uniq_ad_banner_navigated = 2 [json_name = "uniqAdBannerNavigated"];
* @return This builder for chaining.
*/
public Builder clearUniqAdBannerNavigated() {
copyOnWrite();
instance.clearUniqAdBannerNavigated();
return this;
}
/**
* int32 uniq_ad_button_navigated = 3 [json_name = "uniqAdButtonNavigated"];
* @return The uniqAdButtonNavigated.
*/
@java.lang.Override
public int getUniqAdButtonNavigated() {
return instance.getUniqAdButtonNavigated();
}
/**
* int32 uniq_ad_button_navigated = 3 [json_name = "uniqAdButtonNavigated"];
* @param value The uniqAdButtonNavigated to set.
* @return This builder for chaining.
*/
public Builder setUniqAdButtonNavigated(int value) {
copyOnWrite();
instance.setUniqAdButtonNavigated(value);
return this;
}
/**
* int32 uniq_ad_button_navigated = 3 [json_name = "uniqAdButtonNavigated"];
* @return This builder for chaining.
*/
public Builder clearUniqAdButtonNavigated() {
copyOnWrite();
instance.clearUniqAdButtonNavigated();
return this;
}
/**
* int32 uniq_ad_video_played = 4 [json_name = "uniqAdVideoPlayed"];
* @return The uniqAdVideoPlayed.
*/
@java.lang.Override
public int getUniqAdVideoPlayed() {
return instance.getUniqAdVideoPlayed();
}
/**
* int32 uniq_ad_video_played = 4 [json_name = "uniqAdVideoPlayed"];
* @param value The uniqAdVideoPlayed to set.
* @return This builder for chaining.
*/
public Builder setUniqAdVideoPlayed(int value) {
copyOnWrite();
instance.setUniqAdVideoPlayed(value);
return this;
}
/**
* int32 uniq_ad_video_played = 4 [json_name = "uniqAdVideoPlayed"];
* @return This builder for chaining.
*/
public Builder clearUniqAdVideoPlayed() {
copyOnWrite();
instance.clearUniqAdVideoPlayed();
return this;
}
/**
* int32 ad_banner_navigated = 5 [json_name = "adBannerNavigated"];
* @return The adBannerNavigated.
*/
@java.lang.Override
public int getAdBannerNavigated() {
return instance.getAdBannerNavigated();
}
/**
* int32 ad_banner_navigated = 5 [json_name = "adBannerNavigated"];
* @param value The adBannerNavigated to set.
* @return This builder for chaining.
*/
public Builder setAdBannerNavigated(int value) {
copyOnWrite();
instance.setAdBannerNavigated(value);
return this;
}
/**
* int32 ad_banner_navigated = 5 [json_name = "adBannerNavigated"];
* @return This builder for chaining.
*/
public Builder clearAdBannerNavigated() {
copyOnWrite();
instance.clearAdBannerNavigated();
return this;
}
/**
* int32 ad_button_navigated = 6 [json_name = "adButtonNavigated"];
* @return The adButtonNavigated.
*/
@java.lang.Override
public int getAdButtonNavigated() {
return instance.getAdButtonNavigated();
}
/**
* int32 ad_button_navigated = 6 [json_name = "adButtonNavigated"];
* @param value The adButtonNavigated to set.
* @return This builder for chaining.
*/
public Builder setAdButtonNavigated(int value) {
copyOnWrite();
instance.setAdButtonNavigated(value);
return this;
}
/**
* int32 ad_button_navigated = 6 [json_name = "adButtonNavigated"];
* @return This builder for chaining.
*/
public Builder clearAdButtonNavigated() {
copyOnWrite();
instance.clearAdButtonNavigated();
return this;
}
/**
* int32 ad_video_played = 7 [json_name = "adVideoPlayed"];
* @return The adVideoPlayed.
*/
@java.lang.Override
public int getAdVideoPlayed() {
return instance.getAdVideoPlayed();
}
/**
* int32 ad_video_played = 7 [json_name = "adVideoPlayed"];
* @param value The adVideoPlayed to set.
* @return This builder for chaining.
*/
public Builder setAdVideoPlayed(int value) {
copyOnWrite();
instance.setAdVideoPlayed(value);
return this;
}
/**
* int32 ad_video_played = 7 [json_name = "adVideoPlayed"];
* @return This builder for chaining.
*/
public Builder clearAdVideoPlayed() {
copyOnWrite();
instance.clearAdVideoPlayed();
return this;
}
// @@protoc_insertion_point(builder_scope:streamlayer.analytics.v2.studio.AdConversionResponseData)
}
@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.analytics.studio.v2.AdConversionResponseData();
}
case NEW_BUILDER: {
return new Builder();
}
case BUILD_MESSAGE_INFO: {
java.lang.Object[] objects = new java.lang.Object[] {
"totalViewers_",
"uniqAdBannerNavigated_",
"uniqAdButtonNavigated_",
"uniqAdVideoPlayed_",
"adBannerNavigated_",
"adButtonNavigated_",
"adVideoPlayed_",
};
java.lang.String info =
"\u0000\u0007\u0000\u0000\u0001\u0007\u0007\u0000\u0000\u0000\u0001\u0004\u0002\u0004" +
"\u0003\u0004\u0004\u0004\u0005\u0004\u0006\u0004\u0007\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.analytics.studio.v2.AdConversionResponseData.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.analytics.v2.studio.AdConversionResponseData)
private static final com.streamlayer.analytics.studio.v2.AdConversionResponseData DEFAULT_INSTANCE;
static {
AdConversionResponseData defaultInstance = new AdConversionResponseData();
// New instances are implicitly immutable so no need to make
// immutable.
DEFAULT_INSTANCE = defaultInstance;
com.google.protobuf.GeneratedMessageLite.registerDefaultInstance(
AdConversionResponseData.class, defaultInstance);
}
public static com.streamlayer.analytics.studio.v2.AdConversionResponseData getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static volatile com.google.protobuf.Parser PARSER;
public static com.google.protobuf.Parser parser() {
return DEFAULT_INSTANCE.getParserForType();
}
}