main.java.com.streamlayer.analytics.studio.v2.AdConversionRequest 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.AdConversionRequest}
*/
public final class AdConversionRequest extends
com.google.protobuf.GeneratedMessageLite<
AdConversionRequest, AdConversionRequest.Builder> implements
// @@protoc_insertion_point(message_implements:streamlayer.analytics.v2.studio.AdConversionRequest)
AdConversionRequestOrBuilder {
private AdConversionRequest() {
}
public interface AdConversionRequestFilterOrBuilder extends
// @@protoc_insertion_point(interface_extends:streamlayer.analytics.v2.studio.AdConversionRequest.AdConversionRequestFilter)
com.google.protobuf.MessageLiteOrBuilder {
/**
* string organization_id = 1 [json_name = "organizationId"];
* @return The organizationId.
*/
java.lang.String getOrganizationId();
/**
* string organization_id = 1 [json_name = "organizationId"];
* @return The bytes for organizationId.
*/
com.google.protobuf.ByteString
getOrganizationIdBytes();
/**
* repeated uint64 event_ids = 2 [json_name = "eventIds"];
* @return A list containing the eventIds.
*/
java.util.List getEventIdsList();
/**
* repeated uint64 event_ids = 2 [json_name = "eventIds"];
* @return The count of eventIds.
*/
int getEventIdsCount();
/**
* repeated uint64 event_ids = 2 [json_name = "eventIds"];
* @param index The index of the element to return.
* @return The eventIds at the given index.
*/
long getEventIds(int index);
/**
* repeated string countries = 3 [json_name = "countries"];
* @return A list containing the countries.
*/
java.util.List
getCountriesList();
/**
* repeated string countries = 3 [json_name = "countries"];
* @return The count of countries.
*/
int getCountriesCount();
/**
* repeated string countries = 3 [json_name = "countries"];
* @param index The index of the element to return.
* @return The countries at the given index.
*/
java.lang.String getCountries(int index);
/**
* repeated string countries = 3 [json_name = "countries"];
* @param index The index of the element to return.
* @return The countries at the given index.
*/
com.google.protobuf.ByteString
getCountriesBytes(int index);
/**
* .streamlayer.analytics.v1.common.Period period = 4 [json_name = "period"];
* @return Whether the period field is set.
*/
boolean hasPeriod();
/**
* .streamlayer.analytics.v1.common.Period period = 4 [json_name = "period"];
* @return The period.
*/
com.streamlayer.analytics.common.v1.Period getPeriod();
/**
* optional bool live_metrics = 5 [json_name = "liveMetrics"];
* @return Whether the liveMetrics field is set.
*/
boolean hasLiveMetrics();
/**
* optional bool live_metrics = 5 [json_name = "liveMetrics"];
* @return The liveMetrics.
*/
boolean getLiveMetrics();
/**
*
* 'America/New_York'
*
*
* optional string tz = 6 [json_name = "tz"];
* @return Whether the tz field is set.
*/
boolean hasTz();
/**
*
* 'America/New_York'
*
*
* optional string tz = 6 [json_name = "tz"];
* @return The tz.
*/
java.lang.String getTz();
/**
*
* 'America/New_York'
*
*
* optional string tz = 6 [json_name = "tz"];
* @return The bytes for tz.
*/
com.google.protobuf.ByteString
getTzBytes();
}
/**
* Protobuf type {@code streamlayer.analytics.v2.studio.AdConversionRequest.AdConversionRequestFilter}
*/
public static final class AdConversionRequestFilter extends
com.google.protobuf.GeneratedMessageLite<
AdConversionRequestFilter, AdConversionRequestFilter.Builder> implements
// @@protoc_insertion_point(message_implements:streamlayer.analytics.v2.studio.AdConversionRequest.AdConversionRequestFilter)
AdConversionRequestFilterOrBuilder {
private AdConversionRequestFilter() {
organizationId_ = "";
eventIds_ = emptyLongList();
countries_ = com.google.protobuf.GeneratedMessageLite.emptyProtobufList();
tz_ = "";
}
private int bitField0_;
public static final int ORGANIZATION_ID_FIELD_NUMBER = 1;
private java.lang.String organizationId_;
/**
* string organization_id = 1 [json_name = "organizationId"];
* @return The organizationId.
*/
@java.lang.Override
public java.lang.String getOrganizationId() {
return organizationId_;
}
/**
* string organization_id = 1 [json_name = "organizationId"];
* @return The bytes for organizationId.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getOrganizationIdBytes() {
return com.google.protobuf.ByteString.copyFromUtf8(organizationId_);
}
/**
* string organization_id = 1 [json_name = "organizationId"];
* @param value The organizationId to set.
*/
private void setOrganizationId(
java.lang.String value) {
java.lang.Class> valueClass = value.getClass();
organizationId_ = value;
}
/**
* string organization_id = 1 [json_name = "organizationId"];
*/
private void clearOrganizationId() {
organizationId_ = getDefaultInstance().getOrganizationId();
}
/**
* string organization_id = 1 [json_name = "organizationId"];
* @param value The bytes for organizationId to set.
*/
private void setOrganizationIdBytes(
com.google.protobuf.ByteString value) {
checkByteStringIsUtf8(value);
organizationId_ = value.toStringUtf8();
}
public static final int EVENT_IDS_FIELD_NUMBER = 2;
private com.google.protobuf.Internal.LongList eventIds_;
/**
* repeated uint64 event_ids = 2 [json_name = "eventIds"];
* @return A list containing the eventIds.
*/
@java.lang.Override
public java.util.List
getEventIdsList() {
return eventIds_;
}
/**
* repeated uint64 event_ids = 2 [json_name = "eventIds"];
* @return The count of eventIds.
*/
@java.lang.Override
public int getEventIdsCount() {
return eventIds_.size();
}
/**
* repeated uint64 event_ids = 2 [json_name = "eventIds"];
* @param index The index of the element to return.
* @return The eventIds at the given index.
*/
@java.lang.Override
public long getEventIds(int index) {
return eventIds_.getLong(index);
}
private int eventIdsMemoizedSerializedSize = -1;
private void ensureEventIdsIsMutable() {
com.google.protobuf.Internal.LongList tmp = eventIds_;
if (!tmp.isModifiable()) {
eventIds_ =
com.google.protobuf.GeneratedMessageLite.mutableCopy(tmp);
}
}
/**
* repeated uint64 event_ids = 2 [json_name = "eventIds"];
* @param index The index to set the value at.
* @param value The eventIds to set.
*/
private void setEventIds(
int index, long value) {
ensureEventIdsIsMutable();
eventIds_.setLong(index, value);
}
/**
* repeated uint64 event_ids = 2 [json_name = "eventIds"];
* @param value The eventIds to add.
*/
private void addEventIds(long value) {
ensureEventIdsIsMutable();
eventIds_.addLong(value);
}
/**
* repeated uint64 event_ids = 2 [json_name = "eventIds"];
* @param values The eventIds to add.
*/
private void addAllEventIds(
java.lang.Iterable extends java.lang.Long> values) {
ensureEventIdsIsMutable();
com.google.protobuf.AbstractMessageLite.addAll(
values, eventIds_);
}
/**
* repeated uint64 event_ids = 2 [json_name = "eventIds"];
*/
private void clearEventIds() {
eventIds_ = emptyLongList();
}
public static final int COUNTRIES_FIELD_NUMBER = 3;
private com.google.protobuf.Internal.ProtobufList countries_;
/**
* repeated string countries = 3 [json_name = "countries"];
* @return A list containing the countries.
*/
@java.lang.Override
public java.util.List getCountriesList() {
return countries_;
}
/**
* repeated string countries = 3 [json_name = "countries"];
* @return The count of countries.
*/
@java.lang.Override
public int getCountriesCount() {
return countries_.size();
}
/**
* repeated string countries = 3 [json_name = "countries"];
* @param index The index of the element to return.
* @return The countries at the given index.
*/
@java.lang.Override
public java.lang.String getCountries(int index) {
return countries_.get(index);
}
/**
* repeated string countries = 3 [json_name = "countries"];
* @param index The index of the value to return.
* @return The bytes of the countries at the given index.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getCountriesBytes(int index) {
return com.google.protobuf.ByteString.copyFromUtf8(
countries_.get(index));
}
private void ensureCountriesIsMutable() {
com.google.protobuf.Internal.ProtobufList tmp =
countries_; if (!tmp.isModifiable()) {
countries_ =
com.google.protobuf.GeneratedMessageLite.mutableCopy(tmp);
}
}
/**
* repeated string countries = 3 [json_name = "countries"];
* @param index The index to set the value at.
* @param value The countries to set.
*/
private void setCountries(
int index, java.lang.String value) {
java.lang.Class> valueClass = value.getClass();
ensureCountriesIsMutable();
countries_.set(index, value);
}
/**
* repeated string countries = 3 [json_name = "countries"];
* @param value The countries to add.
*/
private void addCountries(
java.lang.String value) {
java.lang.Class> valueClass = value.getClass();
ensureCountriesIsMutable();
countries_.add(value);
}
/**
* repeated string countries = 3 [json_name = "countries"];
* @param values The countries to add.
*/
private void addAllCountries(
java.lang.Iterable values) {
ensureCountriesIsMutable();
com.google.protobuf.AbstractMessageLite.addAll(
values, countries_);
}
/**
* repeated string countries = 3 [json_name = "countries"];
*/
private void clearCountries() {
countries_ = com.google.protobuf.GeneratedMessageLite.emptyProtobufList();
}
/**
* repeated string countries = 3 [json_name = "countries"];
* @param value The bytes of the countries to add.
*/
private void addCountriesBytes(
com.google.protobuf.ByteString value) {
checkByteStringIsUtf8(value);
ensureCountriesIsMutable();
countries_.add(value.toStringUtf8());
}
public static final int PERIOD_FIELD_NUMBER = 4;
private com.streamlayer.analytics.common.v1.Period period_;
/**
* .streamlayer.analytics.v1.common.Period period = 4 [json_name = "period"];
*/
@java.lang.Override
public boolean hasPeriod() {
return ((bitField0_ & 0x00000001) != 0);
}
/**
* .streamlayer.analytics.v1.common.Period period = 4 [json_name = "period"];
*/
@java.lang.Override
public com.streamlayer.analytics.common.v1.Period getPeriod() {
return period_ == null ? com.streamlayer.analytics.common.v1.Period.getDefaultInstance() : period_;
}
/**
* .streamlayer.analytics.v1.common.Period period = 4 [json_name = "period"];
*/
private void setPeriod(com.streamlayer.analytics.common.v1.Period value) {
value.getClass();
period_ = value;
bitField0_ |= 0x00000001;
}
/**
* .streamlayer.analytics.v1.common.Period period = 4 [json_name = "period"];
*/
@java.lang.SuppressWarnings({"ReferenceEquality"})
private void mergePeriod(com.streamlayer.analytics.common.v1.Period value) {
value.getClass();
if (period_ != null &&
period_ != com.streamlayer.analytics.common.v1.Period.getDefaultInstance()) {
period_ =
com.streamlayer.analytics.common.v1.Period.newBuilder(period_).mergeFrom(value).buildPartial();
} else {
period_ = value;
}
bitField0_ |= 0x00000001;
}
/**
* .streamlayer.analytics.v1.common.Period period = 4 [json_name = "period"];
*/
private void clearPeriod() { period_ = null;
bitField0_ = (bitField0_ & ~0x00000001);
}
public static final int LIVE_METRICS_FIELD_NUMBER = 5;
private boolean liveMetrics_;
/**
* optional bool live_metrics = 5 [json_name = "liveMetrics"];
* @return Whether the liveMetrics field is set.
*/
@java.lang.Override
public boolean hasLiveMetrics() {
return ((bitField0_ & 0x00000002) != 0);
}
/**
* optional bool live_metrics = 5 [json_name = "liveMetrics"];
* @return The liveMetrics.
*/
@java.lang.Override
public boolean getLiveMetrics() {
return liveMetrics_;
}
/**
* optional bool live_metrics = 5 [json_name = "liveMetrics"];
* @param value The liveMetrics to set.
*/
private void setLiveMetrics(boolean value) {
bitField0_ |= 0x00000002;
liveMetrics_ = value;
}
/**
* optional bool live_metrics = 5 [json_name = "liveMetrics"];
*/
private void clearLiveMetrics() {
bitField0_ = (bitField0_ & ~0x00000002);
liveMetrics_ = false;
}
public static final int TZ_FIELD_NUMBER = 6;
private java.lang.String tz_;
/**
*
* 'America/New_York'
*
*
* optional string tz = 6 [json_name = "tz"];
* @return Whether the tz field is set.
*/
@java.lang.Override
public boolean hasTz() {
return ((bitField0_ & 0x00000004) != 0);
}
/**
*
* 'America/New_York'
*
*
* optional string tz = 6 [json_name = "tz"];
* @return The tz.
*/
@java.lang.Override
public java.lang.String getTz() {
return tz_;
}
/**
*
* 'America/New_York'
*
*
* optional string tz = 6 [json_name = "tz"];
* @return The bytes for tz.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getTzBytes() {
return com.google.protobuf.ByteString.copyFromUtf8(tz_);
}
/**
*
* 'America/New_York'
*
*
* optional string tz = 6 [json_name = "tz"];
* @param value The tz to set.
*/
private void setTz(
java.lang.String value) {
java.lang.Class> valueClass = value.getClass();
bitField0_ |= 0x00000004;
tz_ = value;
}
/**
*
* 'America/New_York'
*
*
* optional string tz = 6 [json_name = "tz"];
*/
private void clearTz() {
bitField0_ = (bitField0_ & ~0x00000004);
tz_ = getDefaultInstance().getTz();
}
/**
*
* 'America/New_York'
*
*
* optional string tz = 6 [json_name = "tz"];
* @param value The bytes for tz to set.
*/
private void setTzBytes(
com.google.protobuf.ByteString value) {
checkByteStringIsUtf8(value);
tz_ = value.toStringUtf8();
bitField0_ |= 0x00000004;
}
public static com.streamlayer.analytics.studio.v2.AdConversionRequest.AdConversionRequestFilter 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.AdConversionRequest.AdConversionRequestFilter 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.AdConversionRequest.AdConversionRequestFilter 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.AdConversionRequest.AdConversionRequestFilter 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.AdConversionRequest.AdConversionRequestFilter parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, data);
}
public static com.streamlayer.analytics.studio.v2.AdConversionRequest.AdConversionRequestFilter 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.AdConversionRequest.AdConversionRequestFilter 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.AdConversionRequest.AdConversionRequestFilter 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.AdConversionRequest.AdConversionRequestFilter parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return parseDelimitedFrom(DEFAULT_INSTANCE, input);
}
public static com.streamlayer.analytics.studio.v2.AdConversionRequest.AdConversionRequestFilter 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.AdConversionRequest.AdConversionRequestFilter 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.AdConversionRequest.AdConversionRequestFilter 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.AdConversionRequest.AdConversionRequestFilter prototype) {
return DEFAULT_INSTANCE.createBuilder(prototype);
}
/**
* Protobuf type {@code streamlayer.analytics.v2.studio.AdConversionRequest.AdConversionRequestFilter}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageLite.Builder<
com.streamlayer.analytics.studio.v2.AdConversionRequest.AdConversionRequestFilter, Builder> implements
// @@protoc_insertion_point(builder_implements:streamlayer.analytics.v2.studio.AdConversionRequest.AdConversionRequestFilter)
com.streamlayer.analytics.studio.v2.AdConversionRequest.AdConversionRequestFilterOrBuilder {
// Construct using com.streamlayer.analytics.studio.v2.AdConversionRequest.AdConversionRequestFilter.newBuilder()
private Builder() {
super(DEFAULT_INSTANCE);
}
/**
* string organization_id = 1 [json_name = "organizationId"];
* @return The organizationId.
*/
@java.lang.Override
public java.lang.String getOrganizationId() {
return instance.getOrganizationId();
}
/**
* string organization_id = 1 [json_name = "organizationId"];
* @return The bytes for organizationId.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getOrganizationIdBytes() {
return instance.getOrganizationIdBytes();
}
/**
* string organization_id = 1 [json_name = "organizationId"];
* @param value The organizationId to set.
* @return This builder for chaining.
*/
public Builder setOrganizationId(
java.lang.String value) {
copyOnWrite();
instance.setOrganizationId(value);
return this;
}
/**
* string organization_id = 1 [json_name = "organizationId"];
* @return This builder for chaining.
*/
public Builder clearOrganizationId() {
copyOnWrite();
instance.clearOrganizationId();
return this;
}
/**
* string organization_id = 1 [json_name = "organizationId"];
* @param value The bytes for organizationId to set.
* @return This builder for chaining.
*/
public Builder setOrganizationIdBytes(
com.google.protobuf.ByteString value) {
copyOnWrite();
instance.setOrganizationIdBytes(value);
return this;
}
/**
* repeated uint64 event_ids = 2 [json_name = "eventIds"];
* @return A list containing the eventIds.
*/
@java.lang.Override
public java.util.List
getEventIdsList() {
return java.util.Collections.unmodifiableList(
instance.getEventIdsList());
}
/**
* repeated uint64 event_ids = 2 [json_name = "eventIds"];
* @return The count of eventIds.
*/
@java.lang.Override
public int getEventIdsCount() {
return instance.getEventIdsCount();
}
/**
* repeated uint64 event_ids = 2 [json_name = "eventIds"];
* @param index The index of the element to return.
* @return The eventIds at the given index.
*/
@java.lang.Override
public long getEventIds(int index) {
return instance.getEventIds(index);
}
/**
* repeated uint64 event_ids = 2 [json_name = "eventIds"];
* @param value The eventIds to set.
* @return This builder for chaining.
*/
public Builder setEventIds(
int index, long value) {
copyOnWrite();
instance.setEventIds(index, value);
return this;
}
/**
* repeated uint64 event_ids = 2 [json_name = "eventIds"];
* @param value The eventIds to add.
* @return This builder for chaining.
*/
public Builder addEventIds(long value) {
copyOnWrite();
instance.addEventIds(value);
return this;
}
/**
* repeated uint64 event_ids = 2 [json_name = "eventIds"];
* @param values The eventIds to add.
* @return This builder for chaining.
*/
public Builder addAllEventIds(
java.lang.Iterable extends java.lang.Long> values) {
copyOnWrite();
instance.addAllEventIds(values);
return this;
}
/**
* repeated uint64 event_ids = 2 [json_name = "eventIds"];
* @return This builder for chaining.
*/
public Builder clearEventIds() {
copyOnWrite();
instance.clearEventIds();
return this;
}
/**
* repeated string countries = 3 [json_name = "countries"];
* @return A list containing the countries.
*/
@java.lang.Override
public java.util.List
getCountriesList() {
return java.util.Collections.unmodifiableList(
instance.getCountriesList());
}
/**
* repeated string countries = 3 [json_name = "countries"];
* @return The count of countries.
*/
@java.lang.Override
public int getCountriesCount() {
return instance.getCountriesCount();
}
/**
* repeated string countries = 3 [json_name = "countries"];
* @param index The index of the element to return.
* @return The countries at the given index.
*/
@java.lang.Override
public java.lang.String getCountries(int index) {
return instance.getCountries(index);
}
/**
* repeated string countries = 3 [json_name = "countries"];
* @param index The index of the value to return.
* @return The bytes of the countries at the given index.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getCountriesBytes(int index) {
return instance.getCountriesBytes(index);
}
/**
* repeated string countries = 3 [json_name = "countries"];
* @param index The index to set the value at.
* @param value The countries to set.
* @return This builder for chaining.
*/
public Builder setCountries(
int index, java.lang.String value) {
copyOnWrite();
instance.setCountries(index, value);
return this;
}
/**
* repeated string countries = 3 [json_name = "countries"];
* @param value The countries to add.
* @return This builder for chaining.
*/
public Builder addCountries(
java.lang.String value) {
copyOnWrite();
instance.addCountries(value);
return this;
}
/**
* repeated string countries = 3 [json_name = "countries"];
* @param values The countries to add.
* @return This builder for chaining.
*/
public Builder addAllCountries(
java.lang.Iterable values) {
copyOnWrite();
instance.addAllCountries(values);
return this;
}
/**
* repeated string countries = 3 [json_name = "countries"];
* @return This builder for chaining.
*/
public Builder clearCountries() {
copyOnWrite();
instance.clearCountries();
return this;
}
/**
* repeated string countries = 3 [json_name = "countries"];
* @param value The bytes of the countries to add.
* @return This builder for chaining.
*/
public Builder addCountriesBytes(
com.google.protobuf.ByteString value) {
copyOnWrite();
instance.addCountriesBytes(value);
return this;
}
/**
* .streamlayer.analytics.v1.common.Period period = 4 [json_name = "period"];
*/
@java.lang.Override
public boolean hasPeriod() {
return instance.hasPeriod();
}
/**
* .streamlayer.analytics.v1.common.Period period = 4 [json_name = "period"];
*/
@java.lang.Override
public com.streamlayer.analytics.common.v1.Period getPeriod() {
return instance.getPeriod();
}
/**
* .streamlayer.analytics.v1.common.Period period = 4 [json_name = "period"];
*/
public Builder setPeriod(com.streamlayer.analytics.common.v1.Period value) {
copyOnWrite();
instance.setPeriod(value);
return this;
}
/**
* .streamlayer.analytics.v1.common.Period period = 4 [json_name = "period"];
*/
public Builder setPeriod(
com.streamlayer.analytics.common.v1.Period.Builder builderForValue) {
copyOnWrite();
instance.setPeriod(builderForValue.build());
return this;
}
/**
* .streamlayer.analytics.v1.common.Period period = 4 [json_name = "period"];
*/
public Builder mergePeriod(com.streamlayer.analytics.common.v1.Period value) {
copyOnWrite();
instance.mergePeriod(value);
return this;
}
/**
* .streamlayer.analytics.v1.common.Period period = 4 [json_name = "period"];
*/
public Builder clearPeriod() { copyOnWrite();
instance.clearPeriod();
return this;
}
/**
* optional bool live_metrics = 5 [json_name = "liveMetrics"];
* @return Whether the liveMetrics field is set.
*/
@java.lang.Override
public boolean hasLiveMetrics() {
return instance.hasLiveMetrics();
}
/**
* optional bool live_metrics = 5 [json_name = "liveMetrics"];
* @return The liveMetrics.
*/
@java.lang.Override
public boolean getLiveMetrics() {
return instance.getLiveMetrics();
}
/**
* optional bool live_metrics = 5 [json_name = "liveMetrics"];
* @param value The liveMetrics to set.
* @return This builder for chaining.
*/
public Builder setLiveMetrics(boolean value) {
copyOnWrite();
instance.setLiveMetrics(value);
return this;
}
/**
* optional bool live_metrics = 5 [json_name = "liveMetrics"];
* @return This builder for chaining.
*/
public Builder clearLiveMetrics() {
copyOnWrite();
instance.clearLiveMetrics();
return this;
}
/**
*
* 'America/New_York'
*
*
* optional string tz = 6 [json_name = "tz"];
* @return Whether the tz field is set.
*/
@java.lang.Override
public boolean hasTz() {
return instance.hasTz();
}
/**
*
* 'America/New_York'
*
*
* optional string tz = 6 [json_name = "tz"];
* @return The tz.
*/
@java.lang.Override
public java.lang.String getTz() {
return instance.getTz();
}
/**
*
* 'America/New_York'
*
*
* optional string tz = 6 [json_name = "tz"];
* @return The bytes for tz.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getTzBytes() {
return instance.getTzBytes();
}
/**
*
* 'America/New_York'
*
*
* optional string tz = 6 [json_name = "tz"];
* @param value The tz to set.
* @return This builder for chaining.
*/
public Builder setTz(
java.lang.String value) {
copyOnWrite();
instance.setTz(value);
return this;
}
/**
*
* 'America/New_York'
*
*
* optional string tz = 6 [json_name = "tz"];
* @return This builder for chaining.
*/
public Builder clearTz() {
copyOnWrite();
instance.clearTz();
return this;
}
/**
*
* 'America/New_York'
*
*
* optional string tz = 6 [json_name = "tz"];
* @param value The bytes for tz to set.
* @return This builder for chaining.
*/
public Builder setTzBytes(
com.google.protobuf.ByteString value) {
copyOnWrite();
instance.setTzBytes(value);
return this;
}
// @@protoc_insertion_point(builder_scope:streamlayer.analytics.v2.studio.AdConversionRequest.AdConversionRequestFilter)
}
@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.AdConversionRequest.AdConversionRequestFilter();
}
case NEW_BUILDER: {
return new Builder();
}
case BUILD_MESSAGE_INFO: {
java.lang.Object[] objects = new java.lang.Object[] {
"bitField0_",
"organizationId_",
"eventIds_",
"countries_",
"period_",
"liveMetrics_",
"tz_",
};
java.lang.String info =
"\u0000\u0006\u0000\u0001\u0001\u0006\u0006\u0000\u0002\u0000\u0001\u0208\u0002&\u0003" +
"\u021a\u0004\u1009\u0000\u0005\u1007\u0001\u0006\u1208\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.analytics.studio.v2.AdConversionRequest.AdConversionRequestFilter.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.AdConversionRequest.AdConversionRequestFilter)
private static final com.streamlayer.analytics.studio.v2.AdConversionRequest.AdConversionRequestFilter DEFAULT_INSTANCE;
static {
AdConversionRequestFilter defaultInstance = new AdConversionRequestFilter();
// New instances are implicitly immutable so no need to make
// immutable.
DEFAULT_INSTANCE = defaultInstance;
com.google.protobuf.GeneratedMessageLite.registerDefaultInstance(
AdConversionRequestFilter.class, defaultInstance);
}
public static com.streamlayer.analytics.studio.v2.AdConversionRequest.AdConversionRequestFilter 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 FILTER_FIELD_NUMBER = 1;
private com.streamlayer.analytics.studio.v2.AdConversionRequest.AdConversionRequestFilter filter_;
/**
* .streamlayer.analytics.v2.studio.AdConversionRequest.AdConversionRequestFilter filter = 1 [json_name = "filter"];
*/
@java.lang.Override
public boolean hasFilter() {
return ((bitField0_ & 0x00000001) != 0);
}
/**
* .streamlayer.analytics.v2.studio.AdConversionRequest.AdConversionRequestFilter filter = 1 [json_name = "filter"];
*/
@java.lang.Override
public com.streamlayer.analytics.studio.v2.AdConversionRequest.AdConversionRequestFilter getFilter() {
return filter_ == null ? com.streamlayer.analytics.studio.v2.AdConversionRequest.AdConversionRequestFilter.getDefaultInstance() : filter_;
}
/**
* .streamlayer.analytics.v2.studio.AdConversionRequest.AdConversionRequestFilter filter = 1 [json_name = "filter"];
*/
private void setFilter(com.streamlayer.analytics.studio.v2.AdConversionRequest.AdConversionRequestFilter value) {
value.getClass();
filter_ = value;
bitField0_ |= 0x00000001;
}
/**
* .streamlayer.analytics.v2.studio.AdConversionRequest.AdConversionRequestFilter filter = 1 [json_name = "filter"];
*/
@java.lang.SuppressWarnings({"ReferenceEquality"})
private void mergeFilter(com.streamlayer.analytics.studio.v2.AdConversionRequest.AdConversionRequestFilter value) {
value.getClass();
if (filter_ != null &&
filter_ != com.streamlayer.analytics.studio.v2.AdConversionRequest.AdConversionRequestFilter.getDefaultInstance()) {
filter_ =
com.streamlayer.analytics.studio.v2.AdConversionRequest.AdConversionRequestFilter.newBuilder(filter_).mergeFrom(value).buildPartial();
} else {
filter_ = value;
}
bitField0_ |= 0x00000001;
}
/**
* .streamlayer.analytics.v2.studio.AdConversionRequest.AdConversionRequestFilter filter = 1 [json_name = "filter"];
*/
private void clearFilter() { filter_ = null;
bitField0_ = (bitField0_ & ~0x00000001);
}
public static com.streamlayer.analytics.studio.v2.AdConversionRequest 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.AdConversionRequest 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.AdConversionRequest 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.AdConversionRequest 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.AdConversionRequest parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, data);
}
public static com.streamlayer.analytics.studio.v2.AdConversionRequest 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.AdConversionRequest 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.AdConversionRequest 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.AdConversionRequest parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return parseDelimitedFrom(DEFAULT_INSTANCE, input);
}
public static com.streamlayer.analytics.studio.v2.AdConversionRequest 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.AdConversionRequest 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.AdConversionRequest 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.AdConversionRequest prototype) {
return DEFAULT_INSTANCE.createBuilder(prototype);
}
/**
* Protobuf type {@code streamlayer.analytics.v2.studio.AdConversionRequest}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageLite.Builder<
com.streamlayer.analytics.studio.v2.AdConversionRequest, Builder> implements
// @@protoc_insertion_point(builder_implements:streamlayer.analytics.v2.studio.AdConversionRequest)
com.streamlayer.analytics.studio.v2.AdConversionRequestOrBuilder {
// Construct using com.streamlayer.analytics.studio.v2.AdConversionRequest.newBuilder()
private Builder() {
super(DEFAULT_INSTANCE);
}
/**
* .streamlayer.analytics.v2.studio.AdConversionRequest.AdConversionRequestFilter filter = 1 [json_name = "filter"];
*/
@java.lang.Override
public boolean hasFilter() {
return instance.hasFilter();
}
/**
* .streamlayer.analytics.v2.studio.AdConversionRequest.AdConversionRequestFilter filter = 1 [json_name = "filter"];
*/
@java.lang.Override
public com.streamlayer.analytics.studio.v2.AdConversionRequest.AdConversionRequestFilter getFilter() {
return instance.getFilter();
}
/**
* .streamlayer.analytics.v2.studio.AdConversionRequest.AdConversionRequestFilter filter = 1 [json_name = "filter"];
*/
public Builder setFilter(com.streamlayer.analytics.studio.v2.AdConversionRequest.AdConversionRequestFilter value) {
copyOnWrite();
instance.setFilter(value);
return this;
}
/**
* .streamlayer.analytics.v2.studio.AdConversionRequest.AdConversionRequestFilter filter = 1 [json_name = "filter"];
*/
public Builder setFilter(
com.streamlayer.analytics.studio.v2.AdConversionRequest.AdConversionRequestFilter.Builder builderForValue) {
copyOnWrite();
instance.setFilter(builderForValue.build());
return this;
}
/**
* .streamlayer.analytics.v2.studio.AdConversionRequest.AdConversionRequestFilter filter = 1 [json_name = "filter"];
*/
public Builder mergeFilter(com.streamlayer.analytics.studio.v2.AdConversionRequest.AdConversionRequestFilter value) {
copyOnWrite();
instance.mergeFilter(value);
return this;
}
/**
* .streamlayer.analytics.v2.studio.AdConversionRequest.AdConversionRequestFilter filter = 1 [json_name = "filter"];
*/
public Builder clearFilter() { copyOnWrite();
instance.clearFilter();
return this;
}
// @@protoc_insertion_point(builder_scope:streamlayer.analytics.v2.studio.AdConversionRequest)
}
@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.AdConversionRequest();
}
case NEW_BUILDER: {
return new Builder();
}
case BUILD_MESSAGE_INFO: {
java.lang.Object[] objects = new java.lang.Object[] {
"bitField0_",
"filter_",
};
java.lang.String info =
"\u0000\u0001\u0000\u0001\u0001\u0001\u0001\u0000\u0000\u0000\u0001\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.analytics.studio.v2.AdConversionRequest.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.AdConversionRequest)
private static final com.streamlayer.analytics.studio.v2.AdConversionRequest DEFAULT_INSTANCE;
static {
AdConversionRequest defaultInstance = new AdConversionRequest();
// New instances are implicitly immutable so no need to make
// immutable.
DEFAULT_INSTANCE = defaultInstance;
com.google.protobuf.GeneratedMessageLite.registerDefaultInstance(
AdConversionRequest.class, defaultInstance);
}
public static com.streamlayer.analytics.studio.v2.AdConversionRequest getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static volatile com.google.protobuf.Parser PARSER;
public static com.google.protobuf.Parser parser() {
return DEFAULT_INSTANCE.getParserForType();
}
}