ai.promoted.proto.event.JoinedIdentifiers Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of deliveryclient Show documentation
Show all versions of deliveryclient Show documentation
A Java Client to contact the Promoted.ai Delivery API.
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: proto/event/event.proto
package ai.promoted.proto.event;
/**
* Protobuf type {@code event.JoinedIdentifiers}
*/
public final class JoinedIdentifiers extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:event.JoinedIdentifiers)
JoinedIdentifiersOrBuilder {
private static final long serialVersionUID = 0L;
// Use JoinedIdentifiers.newBuilder() to construct.
private JoinedIdentifiers(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
super(builder);
}
private JoinedIdentifiers() {
userId_ = "";
logUserId_ = "";
anonUserId_ = "";
sessionId_ = "";
viewId_ = "";
autoViewId_ = "";
requestId_ = "";
insertionId_ = "";
impressionId_ = "";
}
@java.lang.Override
@SuppressWarnings({"unused"})
protected java.lang.Object newInstance(
UnusedPrivateParameter unused) {
return new JoinedIdentifiers();
}
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
private JoinedIdentifiers(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
this();
if (extensionRegistry == null) {
throw new java.lang.NullPointerException();
}
com.google.protobuf.UnknownFieldSet.Builder unknownFields =
com.google.protobuf.UnknownFieldSet.newBuilder();
try {
boolean done = false;
while (!done) {
int tag = input.readTag();
switch (tag) {
case 0:
done = true;
break;
case 8: {
platformId_ = input.readUInt64();
break;
}
case 18: {
java.lang.String s = input.readStringRequireUtf8();
userId_ = s;
break;
}
case 26: {
java.lang.String s = input.readStringRequireUtf8();
logUserId_ = s;
break;
}
case 34: {
java.lang.String s = input.readStringRequireUtf8();
sessionId_ = s;
break;
}
case 42: {
java.lang.String s = input.readStringRequireUtf8();
viewId_ = s;
break;
}
case 50: {
java.lang.String s = input.readStringRequireUtf8();
requestId_ = s;
break;
}
case 58: {
java.lang.String s = input.readStringRequireUtf8();
insertionId_ = s;
break;
}
case 66: {
java.lang.String s = input.readStringRequireUtf8();
impressionId_ = s;
break;
}
case 74: {
java.lang.String s = input.readStringRequireUtf8();
autoViewId_ = s;
break;
}
case 82: {
java.lang.String s = input.readStringRequireUtf8();
anonUserId_ = s;
break;
}
default: {
if (!parseUnknownField(
input, unknownFields, extensionRegistry, tag)) {
done = true;
}
break;
}
}
}
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.setUnfinishedMessage(this);
} catch (java.io.IOException e) {
throw new com.google.protobuf.InvalidProtocolBufferException(
e).setUnfinishedMessage(this);
} finally {
this.unknownFields = unknownFields.build();
makeExtensionsImmutable();
}
}
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return ai.promoted.proto.event.Event.internal_static_event_JoinedIdentifiers_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return ai.promoted.proto.event.Event.internal_static_event_JoinedIdentifiers_fieldAccessorTable
.ensureFieldAccessorsInitialized(
ai.promoted.proto.event.JoinedIdentifiers.class, ai.promoted.proto.event.JoinedIdentifiers.Builder.class);
}
public static final int PLATFORM_ID_FIELD_NUMBER = 1;
private long platformId_;
/**
* uint64 platform_id = 1 [json_name = "platformId"];
* @return The platformId.
*/
@java.lang.Override
public long getPlatformId() {
return platformId_;
}
public static final int USER_ID_FIELD_NUMBER = 2;
private volatile java.lang.Object userId_;
/**
* string user_id = 2 [json_name = "userId"];
* @return The userId.
*/
@java.lang.Override
public java.lang.String getUserId() {
java.lang.Object ref = userId_;
if (ref instanceof java.lang.String) {
return (java.lang.String) ref;
} else {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
userId_ = s;
return s;
}
}
/**
* string user_id = 2 [json_name = "userId"];
* @return The bytes for userId.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getUserIdBytes() {
java.lang.Object ref = userId_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
userId_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int LOG_USER_ID_FIELD_NUMBER = 3;
private volatile java.lang.Object logUserId_;
/**
* string log_user_id = 3 [json_name = "logUserId"];
* @return The logUserId.
*/
@java.lang.Override
public java.lang.String getLogUserId() {
java.lang.Object ref = logUserId_;
if (ref instanceof java.lang.String) {
return (java.lang.String) ref;
} else {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
logUserId_ = s;
return s;
}
}
/**
* string log_user_id = 3 [json_name = "logUserId"];
* @return The bytes for logUserId.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getLogUserIdBytes() {
java.lang.Object ref = logUserId_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
logUserId_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int ANON_USER_ID_FIELD_NUMBER = 10;
private volatile java.lang.Object anonUserId_;
/**
* string anon_user_id = 10 [json_name = "anonUserId"];
* @return The anonUserId.
*/
@java.lang.Override
public java.lang.String getAnonUserId() {
java.lang.Object ref = anonUserId_;
if (ref instanceof java.lang.String) {
return (java.lang.String) ref;
} else {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
anonUserId_ = s;
return s;
}
}
/**
* string anon_user_id = 10 [json_name = "anonUserId"];
* @return The bytes for anonUserId.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getAnonUserIdBytes() {
java.lang.Object ref = anonUserId_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
anonUserId_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int SESSION_ID_FIELD_NUMBER = 4;
private volatile java.lang.Object sessionId_;
/**
* string session_id = 4 [json_name = "sessionId"];
* @return The sessionId.
*/
@java.lang.Override
public java.lang.String getSessionId() {
java.lang.Object ref = sessionId_;
if (ref instanceof java.lang.String) {
return (java.lang.String) ref;
} else {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
sessionId_ = s;
return s;
}
}
/**
* string session_id = 4 [json_name = "sessionId"];
* @return The bytes for sessionId.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getSessionIdBytes() {
java.lang.Object ref = sessionId_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
sessionId_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int VIEW_ID_FIELD_NUMBER = 5;
private volatile java.lang.Object viewId_;
/**
* string view_id = 5 [json_name = "viewId"];
* @return The viewId.
*/
@java.lang.Override
public java.lang.String getViewId() {
java.lang.Object ref = viewId_;
if (ref instanceof java.lang.String) {
return (java.lang.String) ref;
} else {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
viewId_ = s;
return s;
}
}
/**
* string view_id = 5 [json_name = "viewId"];
* @return The bytes for viewId.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getViewIdBytes() {
java.lang.Object ref = viewId_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
viewId_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int AUTO_VIEW_ID_FIELD_NUMBER = 9;
private volatile java.lang.Object autoViewId_;
/**
* string auto_view_id = 9 [json_name = "autoViewId"];
* @return The autoViewId.
*/
@java.lang.Override
public java.lang.String getAutoViewId() {
java.lang.Object ref = autoViewId_;
if (ref instanceof java.lang.String) {
return (java.lang.String) ref;
} else {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
autoViewId_ = s;
return s;
}
}
/**
* string auto_view_id = 9 [json_name = "autoViewId"];
* @return The bytes for autoViewId.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getAutoViewIdBytes() {
java.lang.Object ref = autoViewId_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
autoViewId_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int REQUEST_ID_FIELD_NUMBER = 6;
private volatile java.lang.Object requestId_;
/**
* string request_id = 6 [json_name = "requestId"];
* @return The requestId.
*/
@java.lang.Override
public java.lang.String getRequestId() {
java.lang.Object ref = requestId_;
if (ref instanceof java.lang.String) {
return (java.lang.String) ref;
} else {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
requestId_ = s;
return s;
}
}
/**
* string request_id = 6 [json_name = "requestId"];
* @return The bytes for requestId.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getRequestIdBytes() {
java.lang.Object ref = requestId_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
requestId_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int INSERTION_ID_FIELD_NUMBER = 7;
private volatile java.lang.Object insertionId_;
/**
* string insertion_id = 7 [json_name = "insertionId"];
* @return The insertionId.
*/
@java.lang.Override
public java.lang.String getInsertionId() {
java.lang.Object ref = insertionId_;
if (ref instanceof java.lang.String) {
return (java.lang.String) ref;
} else {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
insertionId_ = s;
return s;
}
}
/**
* string insertion_id = 7 [json_name = "insertionId"];
* @return The bytes for insertionId.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getInsertionIdBytes() {
java.lang.Object ref = insertionId_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
insertionId_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int IMPRESSION_ID_FIELD_NUMBER = 8;
private volatile java.lang.Object impressionId_;
/**
* string impression_id = 8 [json_name = "impressionId"];
* @return The impressionId.
*/
@java.lang.Override
public java.lang.String getImpressionId() {
java.lang.Object ref = impressionId_;
if (ref instanceof java.lang.String) {
return (java.lang.String) ref;
} else {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
impressionId_ = s;
return s;
}
}
/**
* string impression_id = 8 [json_name = "impressionId"];
* @return The bytes for impressionId.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getImpressionIdBytes() {
java.lang.Object ref = impressionId_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
impressionId_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
private byte memoizedIsInitialized = -1;
@java.lang.Override
public final boolean isInitialized() {
byte isInitialized = memoizedIsInitialized;
if (isInitialized == 1) return true;
if (isInitialized == 0) return false;
memoizedIsInitialized = 1;
return true;
}
@java.lang.Override
public void writeTo(com.google.protobuf.CodedOutputStream output)
throws java.io.IOException {
if (platformId_ != 0L) {
output.writeUInt64(1, platformId_);
}
if (!getUserIdBytes().isEmpty()) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 2, userId_);
}
if (!getLogUserIdBytes().isEmpty()) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 3, logUserId_);
}
if (!getSessionIdBytes().isEmpty()) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 4, sessionId_);
}
if (!getViewIdBytes().isEmpty()) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 5, viewId_);
}
if (!getRequestIdBytes().isEmpty()) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 6, requestId_);
}
if (!getInsertionIdBytes().isEmpty()) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 7, insertionId_);
}
if (!getImpressionIdBytes().isEmpty()) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 8, impressionId_);
}
if (!getAutoViewIdBytes().isEmpty()) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 9, autoViewId_);
}
if (!getAnonUserIdBytes().isEmpty()) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 10, anonUserId_);
}
unknownFields.writeTo(output);
}
@java.lang.Override
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
if (platformId_ != 0L) {
size += com.google.protobuf.CodedOutputStream
.computeUInt64Size(1, platformId_);
}
if (!getUserIdBytes().isEmpty()) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, userId_);
}
if (!getLogUserIdBytes().isEmpty()) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, logUserId_);
}
if (!getSessionIdBytes().isEmpty()) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(4, sessionId_);
}
if (!getViewIdBytes().isEmpty()) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(5, viewId_);
}
if (!getRequestIdBytes().isEmpty()) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(6, requestId_);
}
if (!getInsertionIdBytes().isEmpty()) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(7, insertionId_);
}
if (!getImpressionIdBytes().isEmpty()) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(8, impressionId_);
}
if (!getAutoViewIdBytes().isEmpty()) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(9, autoViewId_);
}
if (!getAnonUserIdBytes().isEmpty()) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(10, anonUserId_);
}
size += unknownFields.getSerializedSize();
memoizedSize = size;
return size;
}
@java.lang.Override
public boolean equals(final java.lang.Object obj) {
if (obj == this) {
return true;
}
if (!(obj instanceof ai.promoted.proto.event.JoinedIdentifiers)) {
return super.equals(obj);
}
ai.promoted.proto.event.JoinedIdentifiers other = (ai.promoted.proto.event.JoinedIdentifiers) obj;
if (getPlatformId()
!= other.getPlatformId()) return false;
if (!getUserId()
.equals(other.getUserId())) return false;
if (!getLogUserId()
.equals(other.getLogUserId())) return false;
if (!getAnonUserId()
.equals(other.getAnonUserId())) return false;
if (!getSessionId()
.equals(other.getSessionId())) return false;
if (!getViewId()
.equals(other.getViewId())) return false;
if (!getAutoViewId()
.equals(other.getAutoViewId())) return false;
if (!getRequestId()
.equals(other.getRequestId())) return false;
if (!getInsertionId()
.equals(other.getInsertionId())) return false;
if (!getImpressionId()
.equals(other.getImpressionId())) return false;
if (!unknownFields.equals(other.unknownFields)) return false;
return true;
}
@java.lang.Override
public int hashCode() {
if (memoizedHashCode != 0) {
return memoizedHashCode;
}
int hash = 41;
hash = (19 * hash) + getDescriptor().hashCode();
hash = (37 * hash) + PLATFORM_ID_FIELD_NUMBER;
hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
getPlatformId());
hash = (37 * hash) + USER_ID_FIELD_NUMBER;
hash = (53 * hash) + getUserId().hashCode();
hash = (37 * hash) + LOG_USER_ID_FIELD_NUMBER;
hash = (53 * hash) + getLogUserId().hashCode();
hash = (37 * hash) + ANON_USER_ID_FIELD_NUMBER;
hash = (53 * hash) + getAnonUserId().hashCode();
hash = (37 * hash) + SESSION_ID_FIELD_NUMBER;
hash = (53 * hash) + getSessionId().hashCode();
hash = (37 * hash) + VIEW_ID_FIELD_NUMBER;
hash = (53 * hash) + getViewId().hashCode();
hash = (37 * hash) + AUTO_VIEW_ID_FIELD_NUMBER;
hash = (53 * hash) + getAutoViewId().hashCode();
hash = (37 * hash) + REQUEST_ID_FIELD_NUMBER;
hash = (53 * hash) + getRequestId().hashCode();
hash = (37 * hash) + INSERTION_ID_FIELD_NUMBER;
hash = (53 * hash) + getInsertionId().hashCode();
hash = (37 * hash) + IMPRESSION_ID_FIELD_NUMBER;
hash = (53 * hash) + getImpressionId().hashCode();
hash = (29 * hash) + unknownFields.hashCode();
memoizedHashCode = hash;
return hash;
}
public static ai.promoted.proto.event.JoinedIdentifiers parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static ai.promoted.proto.event.JoinedIdentifiers parseFrom(
java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static ai.promoted.proto.event.JoinedIdentifiers parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static ai.promoted.proto.event.JoinedIdentifiers parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static ai.promoted.proto.event.JoinedIdentifiers parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static ai.promoted.proto.event.JoinedIdentifiers parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static ai.promoted.proto.event.JoinedIdentifiers parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static ai.promoted.proto.event.JoinedIdentifiers parseFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
public static ai.promoted.proto.event.JoinedIdentifiers parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static ai.promoted.proto.event.JoinedIdentifiers parseDelimitedFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input, extensionRegistry);
}
public static ai.promoted.proto.event.JoinedIdentifiers parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static ai.promoted.proto.event.JoinedIdentifiers parseFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
@java.lang.Override
public Builder newBuilderForType() { return newBuilder(); }
public static Builder newBuilder() {
return DEFAULT_INSTANCE.toBuilder();
}
public static Builder newBuilder(ai.promoted.proto.event.JoinedIdentifiers prototype) {
return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
}
@java.lang.Override
public Builder toBuilder() {
return this == DEFAULT_INSTANCE
? new Builder() : new Builder().mergeFrom(this);
}
@java.lang.Override
protected Builder newBuilderForType(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
Builder builder = new Builder(parent);
return builder;
}
/**
* Protobuf type {@code event.JoinedIdentifiers}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder implements
// @@protoc_insertion_point(builder_implements:event.JoinedIdentifiers)
ai.promoted.proto.event.JoinedIdentifiersOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return ai.promoted.proto.event.Event.internal_static_event_JoinedIdentifiers_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return ai.promoted.proto.event.Event.internal_static_event_JoinedIdentifiers_fieldAccessorTable
.ensureFieldAccessorsInitialized(
ai.promoted.proto.event.JoinedIdentifiers.class, ai.promoted.proto.event.JoinedIdentifiers.Builder.class);
}
// Construct using ai.promoted.proto.event.JoinedIdentifiers.newBuilder()
private Builder() {
maybeForceBuilderInitialization();
}
private Builder(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
super(parent);
maybeForceBuilderInitialization();
}
private void maybeForceBuilderInitialization() {
if (com.google.protobuf.GeneratedMessageV3
.alwaysUseFieldBuilders) {
}
}
@java.lang.Override
public Builder clear() {
super.clear();
platformId_ = 0L;
userId_ = "";
logUserId_ = "";
anonUserId_ = "";
sessionId_ = "";
viewId_ = "";
autoViewId_ = "";
requestId_ = "";
insertionId_ = "";
impressionId_ = "";
return this;
}
@java.lang.Override
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return ai.promoted.proto.event.Event.internal_static_event_JoinedIdentifiers_descriptor;
}
@java.lang.Override
public ai.promoted.proto.event.JoinedIdentifiers getDefaultInstanceForType() {
return ai.promoted.proto.event.JoinedIdentifiers.getDefaultInstance();
}
@java.lang.Override
public ai.promoted.proto.event.JoinedIdentifiers build() {
ai.promoted.proto.event.JoinedIdentifiers result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public ai.promoted.proto.event.JoinedIdentifiers buildPartial() {
ai.promoted.proto.event.JoinedIdentifiers result = new ai.promoted.proto.event.JoinedIdentifiers(this);
result.platformId_ = platformId_;
result.userId_ = userId_;
result.logUserId_ = logUserId_;
result.anonUserId_ = anonUserId_;
result.sessionId_ = sessionId_;
result.viewId_ = viewId_;
result.autoViewId_ = autoViewId_;
result.requestId_ = requestId_;
result.insertionId_ = insertionId_;
result.impressionId_ = impressionId_;
onBuilt();
return result;
}
@java.lang.Override
public Builder clone() {
return super.clone();
}
@java.lang.Override
public Builder setField(
com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return super.setField(field, value);
}
@java.lang.Override
public Builder clearField(
com.google.protobuf.Descriptors.FieldDescriptor field) {
return super.clearField(field);
}
@java.lang.Override
public Builder clearOneof(
com.google.protobuf.Descriptors.OneofDescriptor oneof) {
return super.clearOneof(oneof);
}
@java.lang.Override
public Builder setRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
int index, java.lang.Object value) {
return super.setRepeatedField(field, index, value);
}
@java.lang.Override
public Builder addRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return super.addRepeatedField(field, value);
}
@java.lang.Override
public Builder mergeFrom(com.google.protobuf.Message other) {
if (other instanceof ai.promoted.proto.event.JoinedIdentifiers) {
return mergeFrom((ai.promoted.proto.event.JoinedIdentifiers)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(ai.promoted.proto.event.JoinedIdentifiers other) {
if (other == ai.promoted.proto.event.JoinedIdentifiers.getDefaultInstance()) return this;
if (other.getPlatformId() != 0L) {
setPlatformId(other.getPlatformId());
}
if (!other.getUserId().isEmpty()) {
userId_ = other.userId_;
onChanged();
}
if (!other.getLogUserId().isEmpty()) {
logUserId_ = other.logUserId_;
onChanged();
}
if (!other.getAnonUserId().isEmpty()) {
anonUserId_ = other.anonUserId_;
onChanged();
}
if (!other.getSessionId().isEmpty()) {
sessionId_ = other.sessionId_;
onChanged();
}
if (!other.getViewId().isEmpty()) {
viewId_ = other.viewId_;
onChanged();
}
if (!other.getAutoViewId().isEmpty()) {
autoViewId_ = other.autoViewId_;
onChanged();
}
if (!other.getRequestId().isEmpty()) {
requestId_ = other.requestId_;
onChanged();
}
if (!other.getInsertionId().isEmpty()) {
insertionId_ = other.insertionId_;
onChanged();
}
if (!other.getImpressionId().isEmpty()) {
impressionId_ = other.impressionId_;
onChanged();
}
this.mergeUnknownFields(other.unknownFields);
onChanged();
return this;
}
@java.lang.Override
public final boolean isInitialized() {
return true;
}
@java.lang.Override
public Builder mergeFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
ai.promoted.proto.event.JoinedIdentifiers parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (ai.promoted.proto.event.JoinedIdentifiers) e.getUnfinishedMessage();
throw e.unwrapIOException();
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
return this;
}
private long platformId_ ;
/**
* uint64 platform_id = 1 [json_name = "platformId"];
* @return The platformId.
*/
@java.lang.Override
public long getPlatformId() {
return platformId_;
}
/**
* uint64 platform_id = 1 [json_name = "platformId"];
* @param value The platformId to set.
* @return This builder for chaining.
*/
public Builder setPlatformId(long value) {
platformId_ = value;
onChanged();
return this;
}
/**
* uint64 platform_id = 1 [json_name = "platformId"];
* @return This builder for chaining.
*/
public Builder clearPlatformId() {
platformId_ = 0L;
onChanged();
return this;
}
private java.lang.Object userId_ = "";
/**
* string user_id = 2 [json_name = "userId"];
* @return The userId.
*/
public java.lang.String getUserId() {
java.lang.Object ref = userId_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
userId_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* string user_id = 2 [json_name = "userId"];
* @return The bytes for userId.
*/
public com.google.protobuf.ByteString
getUserIdBytes() {
java.lang.Object ref = userId_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
userId_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
* string user_id = 2 [json_name = "userId"];
* @param value The userId to set.
* @return This builder for chaining.
*/
public Builder setUserId(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
userId_ = value;
onChanged();
return this;
}
/**
* string user_id = 2 [json_name = "userId"];
* @return This builder for chaining.
*/
public Builder clearUserId() {
userId_ = getDefaultInstance().getUserId();
onChanged();
return this;
}
/**
* string user_id = 2 [json_name = "userId"];
* @param value The bytes for userId to set.
* @return This builder for chaining.
*/
public Builder setUserIdBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
checkByteStringIsUtf8(value);
userId_ = value;
onChanged();
return this;
}
private java.lang.Object logUserId_ = "";
/**
* string log_user_id = 3 [json_name = "logUserId"];
* @return The logUserId.
*/
public java.lang.String getLogUserId() {
java.lang.Object ref = logUserId_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
logUserId_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* string log_user_id = 3 [json_name = "logUserId"];
* @return The bytes for logUserId.
*/
public com.google.protobuf.ByteString
getLogUserIdBytes() {
java.lang.Object ref = logUserId_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
logUserId_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
* string log_user_id = 3 [json_name = "logUserId"];
* @param value The logUserId to set.
* @return This builder for chaining.
*/
public Builder setLogUserId(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
logUserId_ = value;
onChanged();
return this;
}
/**
* string log_user_id = 3 [json_name = "logUserId"];
* @return This builder for chaining.
*/
public Builder clearLogUserId() {
logUserId_ = getDefaultInstance().getLogUserId();
onChanged();
return this;
}
/**
* string log_user_id = 3 [json_name = "logUserId"];
* @param value The bytes for logUserId to set.
* @return This builder for chaining.
*/
public Builder setLogUserIdBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
checkByteStringIsUtf8(value);
logUserId_ = value;
onChanged();
return this;
}
private java.lang.Object anonUserId_ = "";
/**
* string anon_user_id = 10 [json_name = "anonUserId"];
* @return The anonUserId.
*/
public java.lang.String getAnonUserId() {
java.lang.Object ref = anonUserId_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
anonUserId_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* string anon_user_id = 10 [json_name = "anonUserId"];
* @return The bytes for anonUserId.
*/
public com.google.protobuf.ByteString
getAnonUserIdBytes() {
java.lang.Object ref = anonUserId_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
anonUserId_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
* string anon_user_id = 10 [json_name = "anonUserId"];
* @param value The anonUserId to set.
* @return This builder for chaining.
*/
public Builder setAnonUserId(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
anonUserId_ = value;
onChanged();
return this;
}
/**
* string anon_user_id = 10 [json_name = "anonUserId"];
* @return This builder for chaining.
*/
public Builder clearAnonUserId() {
anonUserId_ = getDefaultInstance().getAnonUserId();
onChanged();
return this;
}
/**
* string anon_user_id = 10 [json_name = "anonUserId"];
* @param value The bytes for anonUserId to set.
* @return This builder for chaining.
*/
public Builder setAnonUserIdBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
checkByteStringIsUtf8(value);
anonUserId_ = value;
onChanged();
return this;
}
private java.lang.Object sessionId_ = "";
/**
* string session_id = 4 [json_name = "sessionId"];
* @return The sessionId.
*/
public java.lang.String getSessionId() {
java.lang.Object ref = sessionId_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
sessionId_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* string session_id = 4 [json_name = "sessionId"];
* @return The bytes for sessionId.
*/
public com.google.protobuf.ByteString
getSessionIdBytes() {
java.lang.Object ref = sessionId_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
sessionId_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
* string session_id = 4 [json_name = "sessionId"];
* @param value The sessionId to set.
* @return This builder for chaining.
*/
public Builder setSessionId(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
sessionId_ = value;
onChanged();
return this;
}
/**
* string session_id = 4 [json_name = "sessionId"];
* @return This builder for chaining.
*/
public Builder clearSessionId() {
sessionId_ = getDefaultInstance().getSessionId();
onChanged();
return this;
}
/**
* string session_id = 4 [json_name = "sessionId"];
* @param value The bytes for sessionId to set.
* @return This builder for chaining.
*/
public Builder setSessionIdBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
checkByteStringIsUtf8(value);
sessionId_ = value;
onChanged();
return this;
}
private java.lang.Object viewId_ = "";
/**
* string view_id = 5 [json_name = "viewId"];
* @return The viewId.
*/
public java.lang.String getViewId() {
java.lang.Object ref = viewId_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
viewId_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* string view_id = 5 [json_name = "viewId"];
* @return The bytes for viewId.
*/
public com.google.protobuf.ByteString
getViewIdBytes() {
java.lang.Object ref = viewId_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
viewId_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
* string view_id = 5 [json_name = "viewId"];
* @param value The viewId to set.
* @return This builder for chaining.
*/
public Builder setViewId(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
viewId_ = value;
onChanged();
return this;
}
/**
* string view_id = 5 [json_name = "viewId"];
* @return This builder for chaining.
*/
public Builder clearViewId() {
viewId_ = getDefaultInstance().getViewId();
onChanged();
return this;
}
/**
* string view_id = 5 [json_name = "viewId"];
* @param value The bytes for viewId to set.
* @return This builder for chaining.
*/
public Builder setViewIdBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
checkByteStringIsUtf8(value);
viewId_ = value;
onChanged();
return this;
}
private java.lang.Object autoViewId_ = "";
/**
* string auto_view_id = 9 [json_name = "autoViewId"];
* @return The autoViewId.
*/
public java.lang.String getAutoViewId() {
java.lang.Object ref = autoViewId_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
autoViewId_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* string auto_view_id = 9 [json_name = "autoViewId"];
* @return The bytes for autoViewId.
*/
public com.google.protobuf.ByteString
getAutoViewIdBytes() {
java.lang.Object ref = autoViewId_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
autoViewId_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
* string auto_view_id = 9 [json_name = "autoViewId"];
* @param value The autoViewId to set.
* @return This builder for chaining.
*/
public Builder setAutoViewId(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
autoViewId_ = value;
onChanged();
return this;
}
/**
* string auto_view_id = 9 [json_name = "autoViewId"];
* @return This builder for chaining.
*/
public Builder clearAutoViewId() {
autoViewId_ = getDefaultInstance().getAutoViewId();
onChanged();
return this;
}
/**
* string auto_view_id = 9 [json_name = "autoViewId"];
* @param value The bytes for autoViewId to set.
* @return This builder for chaining.
*/
public Builder setAutoViewIdBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
checkByteStringIsUtf8(value);
autoViewId_ = value;
onChanged();
return this;
}
private java.lang.Object requestId_ = "";
/**
* string request_id = 6 [json_name = "requestId"];
* @return The requestId.
*/
public java.lang.String getRequestId() {
java.lang.Object ref = requestId_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
requestId_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* string request_id = 6 [json_name = "requestId"];
* @return The bytes for requestId.
*/
public com.google.protobuf.ByteString
getRequestIdBytes() {
java.lang.Object ref = requestId_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
requestId_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
* string request_id = 6 [json_name = "requestId"];
* @param value The requestId to set.
* @return This builder for chaining.
*/
public Builder setRequestId(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
requestId_ = value;
onChanged();
return this;
}
/**
* string request_id = 6 [json_name = "requestId"];
* @return This builder for chaining.
*/
public Builder clearRequestId() {
requestId_ = getDefaultInstance().getRequestId();
onChanged();
return this;
}
/**
* string request_id = 6 [json_name = "requestId"];
* @param value The bytes for requestId to set.
* @return This builder for chaining.
*/
public Builder setRequestIdBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
checkByteStringIsUtf8(value);
requestId_ = value;
onChanged();
return this;
}
private java.lang.Object insertionId_ = "";
/**
* string insertion_id = 7 [json_name = "insertionId"];
* @return The insertionId.
*/
public java.lang.String getInsertionId() {
java.lang.Object ref = insertionId_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
insertionId_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* string insertion_id = 7 [json_name = "insertionId"];
* @return The bytes for insertionId.
*/
public com.google.protobuf.ByteString
getInsertionIdBytes() {
java.lang.Object ref = insertionId_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
insertionId_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
* string insertion_id = 7 [json_name = "insertionId"];
* @param value The insertionId to set.
* @return This builder for chaining.
*/
public Builder setInsertionId(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
insertionId_ = value;
onChanged();
return this;
}
/**
* string insertion_id = 7 [json_name = "insertionId"];
* @return This builder for chaining.
*/
public Builder clearInsertionId() {
insertionId_ = getDefaultInstance().getInsertionId();
onChanged();
return this;
}
/**
* string insertion_id = 7 [json_name = "insertionId"];
* @param value The bytes for insertionId to set.
* @return This builder for chaining.
*/
public Builder setInsertionIdBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
checkByteStringIsUtf8(value);
insertionId_ = value;
onChanged();
return this;
}
private java.lang.Object impressionId_ = "";
/**
* string impression_id = 8 [json_name = "impressionId"];
* @return The impressionId.
*/
public java.lang.String getImpressionId() {
java.lang.Object ref = impressionId_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
impressionId_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* string impression_id = 8 [json_name = "impressionId"];
* @return The bytes for impressionId.
*/
public com.google.protobuf.ByteString
getImpressionIdBytes() {
java.lang.Object ref = impressionId_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
impressionId_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
* string impression_id = 8 [json_name = "impressionId"];
* @param value The impressionId to set.
* @return This builder for chaining.
*/
public Builder setImpressionId(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
impressionId_ = value;
onChanged();
return this;
}
/**
* string impression_id = 8 [json_name = "impressionId"];
* @return This builder for chaining.
*/
public Builder clearImpressionId() {
impressionId_ = getDefaultInstance().getImpressionId();
onChanged();
return this;
}
/**
* string impression_id = 8 [json_name = "impressionId"];
* @param value The bytes for impressionId to set.
* @return This builder for chaining.
*/
public Builder setImpressionIdBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
checkByteStringIsUtf8(value);
impressionId_ = value;
onChanged();
return this;
}
@java.lang.Override
public final Builder setUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.setUnknownFields(unknownFields);
}
@java.lang.Override
public final Builder mergeUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.mergeUnknownFields(unknownFields);
}
// @@protoc_insertion_point(builder_scope:event.JoinedIdentifiers)
}
// @@protoc_insertion_point(class_scope:event.JoinedIdentifiers)
private static final ai.promoted.proto.event.JoinedIdentifiers DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new ai.promoted.proto.event.JoinedIdentifiers();
}
public static ai.promoted.proto.event.JoinedIdentifiers getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static final com.google.protobuf.Parser
PARSER = new com.google.protobuf.AbstractParser() {
@java.lang.Override
public JoinedIdentifiers parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return new JoinedIdentifiers(input, extensionRegistry);
}
};
public static com.google.protobuf.Parser parser() {
return PARSER;
}
@java.lang.Override
public com.google.protobuf.Parser getParserForType() {
return PARSER;
}
@java.lang.Override
public ai.promoted.proto.event.JoinedIdentifiers getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy