ai.promoted.proto.event.IdentifierProvenances 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.IdentifierProvenances}
*/
public final class IdentifierProvenances extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:event.IdentifierProvenances)
IdentifierProvenancesOrBuilder {
private static final long serialVersionUID = 0L;
// Use IdentifierProvenances.newBuilder() to construct.
private IdentifierProvenances(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
super(builder);
}
private IdentifierProvenances() {
userIdProvenance_ = 0;
logUserIdProvenance_ = 0;
sessionIdProvenance_ = 0;
viewIdProvenance_ = 0;
autoViewIdProvenance_ = 0;
insertionIdProvenance_ = 0;
impressionIdProvenance_ = 0;
actionIdProvenance_ = 0;
contentIdProvenance_ = 0;
requestIdProvenance_ = 0;
}
@java.lang.Override
@SuppressWarnings({"unused"})
protected java.lang.Object newInstance(
UnusedPrivateParameter unused) {
return new IdentifierProvenances();
}
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
private IdentifierProvenances(
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: {
int rawValue = input.readEnum();
userIdProvenance_ = rawValue;
break;
}
case 16: {
int rawValue = input.readEnum();
sessionIdProvenance_ = rawValue;
break;
}
case 24: {
int rawValue = input.readEnum();
viewIdProvenance_ = rawValue;
break;
}
case 32: {
int rawValue = input.readEnum();
impressionIdProvenance_ = rawValue;
break;
}
case 40: {
int rawValue = input.readEnum();
actionIdProvenance_ = rawValue;
break;
}
case 48: {
int rawValue = input.readEnum();
contentIdProvenance_ = rawValue;
break;
}
case 56: {
int rawValue = input.readEnum();
requestIdProvenance_ = rawValue;
break;
}
case 64: {
int rawValue = input.readEnum();
autoViewIdProvenance_ = rawValue;
break;
}
case 72: {
int rawValue = input.readEnum();
logUserIdProvenance_ = rawValue;
break;
}
case 80: {
int rawValue = input.readEnum();
insertionIdProvenance_ = rawValue;
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_IdentifierProvenances_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return ai.promoted.proto.event.Event.internal_static_event_IdentifierProvenances_fieldAccessorTable
.ensureFieldAccessorsInitialized(
ai.promoted.proto.event.IdentifierProvenances.class, ai.promoted.proto.event.IdentifierProvenances.Builder.class);
}
public static final int USER_ID_PROVENANCE_FIELD_NUMBER = 1;
private int userIdProvenance_;
/**
* .event.IdentifierProvenance user_id_provenance = 1 [json_name = "userIdProvenance"];
* @return The enum numeric value on the wire for userIdProvenance.
*/
@java.lang.Override public int getUserIdProvenanceValue() {
return userIdProvenance_;
}
/**
* .event.IdentifierProvenance user_id_provenance = 1 [json_name = "userIdProvenance"];
* @return The userIdProvenance.
*/
@java.lang.Override public ai.promoted.proto.event.IdentifierProvenance getUserIdProvenance() {
@SuppressWarnings("deprecation")
ai.promoted.proto.event.IdentifierProvenance result = ai.promoted.proto.event.IdentifierProvenance.valueOf(userIdProvenance_);
return result == null ? ai.promoted.proto.event.IdentifierProvenance.UNRECOGNIZED : result;
}
public static final int LOG_USER_ID_PROVENANCE_FIELD_NUMBER = 9;
private int logUserIdProvenance_;
/**
* .event.IdentifierProvenance log_user_id_provenance = 9 [json_name = "logUserIdProvenance"];
* @return The enum numeric value on the wire for logUserIdProvenance.
*/
@java.lang.Override public int getLogUserIdProvenanceValue() {
return logUserIdProvenance_;
}
/**
* .event.IdentifierProvenance log_user_id_provenance = 9 [json_name = "logUserIdProvenance"];
* @return The logUserIdProvenance.
*/
@java.lang.Override public ai.promoted.proto.event.IdentifierProvenance getLogUserIdProvenance() {
@SuppressWarnings("deprecation")
ai.promoted.proto.event.IdentifierProvenance result = ai.promoted.proto.event.IdentifierProvenance.valueOf(logUserIdProvenance_);
return result == null ? ai.promoted.proto.event.IdentifierProvenance.UNRECOGNIZED : result;
}
public static final int SESSION_ID_PROVENANCE_FIELD_NUMBER = 2;
private int sessionIdProvenance_;
/**
* .event.IdentifierProvenance session_id_provenance = 2 [json_name = "sessionIdProvenance"];
* @return The enum numeric value on the wire for sessionIdProvenance.
*/
@java.lang.Override public int getSessionIdProvenanceValue() {
return sessionIdProvenance_;
}
/**
* .event.IdentifierProvenance session_id_provenance = 2 [json_name = "sessionIdProvenance"];
* @return The sessionIdProvenance.
*/
@java.lang.Override public ai.promoted.proto.event.IdentifierProvenance getSessionIdProvenance() {
@SuppressWarnings("deprecation")
ai.promoted.proto.event.IdentifierProvenance result = ai.promoted.proto.event.IdentifierProvenance.valueOf(sessionIdProvenance_);
return result == null ? ai.promoted.proto.event.IdentifierProvenance.UNRECOGNIZED : result;
}
public static final int VIEW_ID_PROVENANCE_FIELD_NUMBER = 3;
private int viewIdProvenance_;
/**
* .event.IdentifierProvenance view_id_provenance = 3 [json_name = "viewIdProvenance"];
* @return The enum numeric value on the wire for viewIdProvenance.
*/
@java.lang.Override public int getViewIdProvenanceValue() {
return viewIdProvenance_;
}
/**
* .event.IdentifierProvenance view_id_provenance = 3 [json_name = "viewIdProvenance"];
* @return The viewIdProvenance.
*/
@java.lang.Override public ai.promoted.proto.event.IdentifierProvenance getViewIdProvenance() {
@SuppressWarnings("deprecation")
ai.promoted.proto.event.IdentifierProvenance result = ai.promoted.proto.event.IdentifierProvenance.valueOf(viewIdProvenance_);
return result == null ? ai.promoted.proto.event.IdentifierProvenance.UNRECOGNIZED : result;
}
public static final int AUTO_VIEW_ID_PROVENANCE_FIELD_NUMBER = 8;
private int autoViewIdProvenance_;
/**
* .event.IdentifierProvenance auto_view_id_provenance = 8 [json_name = "autoViewIdProvenance"];
* @return The enum numeric value on the wire for autoViewIdProvenance.
*/
@java.lang.Override public int getAutoViewIdProvenanceValue() {
return autoViewIdProvenance_;
}
/**
* .event.IdentifierProvenance auto_view_id_provenance = 8 [json_name = "autoViewIdProvenance"];
* @return The autoViewIdProvenance.
*/
@java.lang.Override public ai.promoted.proto.event.IdentifierProvenance getAutoViewIdProvenance() {
@SuppressWarnings("deprecation")
ai.promoted.proto.event.IdentifierProvenance result = ai.promoted.proto.event.IdentifierProvenance.valueOf(autoViewIdProvenance_);
return result == null ? ai.promoted.proto.event.IdentifierProvenance.UNRECOGNIZED : result;
}
public static final int INSERTION_ID_PROVENANCE_FIELD_NUMBER = 10;
private int insertionIdProvenance_;
/**
* .event.IdentifierProvenance insertion_id_provenance = 10 [json_name = "insertionIdProvenance"];
* @return The enum numeric value on the wire for insertionIdProvenance.
*/
@java.lang.Override public int getInsertionIdProvenanceValue() {
return insertionIdProvenance_;
}
/**
* .event.IdentifierProvenance insertion_id_provenance = 10 [json_name = "insertionIdProvenance"];
* @return The insertionIdProvenance.
*/
@java.lang.Override public ai.promoted.proto.event.IdentifierProvenance getInsertionIdProvenance() {
@SuppressWarnings("deprecation")
ai.promoted.proto.event.IdentifierProvenance result = ai.promoted.proto.event.IdentifierProvenance.valueOf(insertionIdProvenance_);
return result == null ? ai.promoted.proto.event.IdentifierProvenance.UNRECOGNIZED : result;
}
public static final int IMPRESSION_ID_PROVENANCE_FIELD_NUMBER = 4;
private int impressionIdProvenance_;
/**
* .event.IdentifierProvenance impression_id_provenance = 4 [json_name = "impressionIdProvenance"];
* @return The enum numeric value on the wire for impressionIdProvenance.
*/
@java.lang.Override public int getImpressionIdProvenanceValue() {
return impressionIdProvenance_;
}
/**
* .event.IdentifierProvenance impression_id_provenance = 4 [json_name = "impressionIdProvenance"];
* @return The impressionIdProvenance.
*/
@java.lang.Override public ai.promoted.proto.event.IdentifierProvenance getImpressionIdProvenance() {
@SuppressWarnings("deprecation")
ai.promoted.proto.event.IdentifierProvenance result = ai.promoted.proto.event.IdentifierProvenance.valueOf(impressionIdProvenance_);
return result == null ? ai.promoted.proto.event.IdentifierProvenance.UNRECOGNIZED : result;
}
public static final int ACTION_ID_PROVENANCE_FIELD_NUMBER = 5;
private int actionIdProvenance_;
/**
* .event.IdentifierProvenance action_id_provenance = 5 [json_name = "actionIdProvenance"];
* @return The enum numeric value on the wire for actionIdProvenance.
*/
@java.lang.Override public int getActionIdProvenanceValue() {
return actionIdProvenance_;
}
/**
* .event.IdentifierProvenance action_id_provenance = 5 [json_name = "actionIdProvenance"];
* @return The actionIdProvenance.
*/
@java.lang.Override public ai.promoted.proto.event.IdentifierProvenance getActionIdProvenance() {
@SuppressWarnings("deprecation")
ai.promoted.proto.event.IdentifierProvenance result = ai.promoted.proto.event.IdentifierProvenance.valueOf(actionIdProvenance_);
return result == null ? ai.promoted.proto.event.IdentifierProvenance.UNRECOGNIZED : result;
}
public static final int CONTENT_ID_PROVENANCE_FIELD_NUMBER = 6;
private int contentIdProvenance_;
/**
* .event.IdentifierProvenance content_id_provenance = 6 [json_name = "contentIdProvenance"];
* @return The enum numeric value on the wire for contentIdProvenance.
*/
@java.lang.Override public int getContentIdProvenanceValue() {
return contentIdProvenance_;
}
/**
* .event.IdentifierProvenance content_id_provenance = 6 [json_name = "contentIdProvenance"];
* @return The contentIdProvenance.
*/
@java.lang.Override public ai.promoted.proto.event.IdentifierProvenance getContentIdProvenance() {
@SuppressWarnings("deprecation")
ai.promoted.proto.event.IdentifierProvenance result = ai.promoted.proto.event.IdentifierProvenance.valueOf(contentIdProvenance_);
return result == null ? ai.promoted.proto.event.IdentifierProvenance.UNRECOGNIZED : result;
}
public static final int REQUEST_ID_PROVENANCE_FIELD_NUMBER = 7;
private int requestIdProvenance_;
/**
* .event.IdentifierProvenance request_id_provenance = 7 [json_name = "requestIdProvenance"];
* @return The enum numeric value on the wire for requestIdProvenance.
*/
@java.lang.Override public int getRequestIdProvenanceValue() {
return requestIdProvenance_;
}
/**
* .event.IdentifierProvenance request_id_provenance = 7 [json_name = "requestIdProvenance"];
* @return The requestIdProvenance.
*/
@java.lang.Override public ai.promoted.proto.event.IdentifierProvenance getRequestIdProvenance() {
@SuppressWarnings("deprecation")
ai.promoted.proto.event.IdentifierProvenance result = ai.promoted.proto.event.IdentifierProvenance.valueOf(requestIdProvenance_);
return result == null ? ai.promoted.proto.event.IdentifierProvenance.UNRECOGNIZED : result;
}
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 (userIdProvenance_ != ai.promoted.proto.event.IdentifierProvenance.UNKNOWN.getNumber()) {
output.writeEnum(1, userIdProvenance_);
}
if (sessionIdProvenance_ != ai.promoted.proto.event.IdentifierProvenance.UNKNOWN.getNumber()) {
output.writeEnum(2, sessionIdProvenance_);
}
if (viewIdProvenance_ != ai.promoted.proto.event.IdentifierProvenance.UNKNOWN.getNumber()) {
output.writeEnum(3, viewIdProvenance_);
}
if (impressionIdProvenance_ != ai.promoted.proto.event.IdentifierProvenance.UNKNOWN.getNumber()) {
output.writeEnum(4, impressionIdProvenance_);
}
if (actionIdProvenance_ != ai.promoted.proto.event.IdentifierProvenance.UNKNOWN.getNumber()) {
output.writeEnum(5, actionIdProvenance_);
}
if (contentIdProvenance_ != ai.promoted.proto.event.IdentifierProvenance.UNKNOWN.getNumber()) {
output.writeEnum(6, contentIdProvenance_);
}
if (requestIdProvenance_ != ai.promoted.proto.event.IdentifierProvenance.UNKNOWN.getNumber()) {
output.writeEnum(7, requestIdProvenance_);
}
if (autoViewIdProvenance_ != ai.promoted.proto.event.IdentifierProvenance.UNKNOWN.getNumber()) {
output.writeEnum(8, autoViewIdProvenance_);
}
if (logUserIdProvenance_ != ai.promoted.proto.event.IdentifierProvenance.UNKNOWN.getNumber()) {
output.writeEnum(9, logUserIdProvenance_);
}
if (insertionIdProvenance_ != ai.promoted.proto.event.IdentifierProvenance.UNKNOWN.getNumber()) {
output.writeEnum(10, insertionIdProvenance_);
}
unknownFields.writeTo(output);
}
@java.lang.Override
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
if (userIdProvenance_ != ai.promoted.proto.event.IdentifierProvenance.UNKNOWN.getNumber()) {
size += com.google.protobuf.CodedOutputStream
.computeEnumSize(1, userIdProvenance_);
}
if (sessionIdProvenance_ != ai.promoted.proto.event.IdentifierProvenance.UNKNOWN.getNumber()) {
size += com.google.protobuf.CodedOutputStream
.computeEnumSize(2, sessionIdProvenance_);
}
if (viewIdProvenance_ != ai.promoted.proto.event.IdentifierProvenance.UNKNOWN.getNumber()) {
size += com.google.protobuf.CodedOutputStream
.computeEnumSize(3, viewIdProvenance_);
}
if (impressionIdProvenance_ != ai.promoted.proto.event.IdentifierProvenance.UNKNOWN.getNumber()) {
size += com.google.protobuf.CodedOutputStream
.computeEnumSize(4, impressionIdProvenance_);
}
if (actionIdProvenance_ != ai.promoted.proto.event.IdentifierProvenance.UNKNOWN.getNumber()) {
size += com.google.protobuf.CodedOutputStream
.computeEnumSize(5, actionIdProvenance_);
}
if (contentIdProvenance_ != ai.promoted.proto.event.IdentifierProvenance.UNKNOWN.getNumber()) {
size += com.google.protobuf.CodedOutputStream
.computeEnumSize(6, contentIdProvenance_);
}
if (requestIdProvenance_ != ai.promoted.proto.event.IdentifierProvenance.UNKNOWN.getNumber()) {
size += com.google.protobuf.CodedOutputStream
.computeEnumSize(7, requestIdProvenance_);
}
if (autoViewIdProvenance_ != ai.promoted.proto.event.IdentifierProvenance.UNKNOWN.getNumber()) {
size += com.google.protobuf.CodedOutputStream
.computeEnumSize(8, autoViewIdProvenance_);
}
if (logUserIdProvenance_ != ai.promoted.proto.event.IdentifierProvenance.UNKNOWN.getNumber()) {
size += com.google.protobuf.CodedOutputStream
.computeEnumSize(9, logUserIdProvenance_);
}
if (insertionIdProvenance_ != ai.promoted.proto.event.IdentifierProvenance.UNKNOWN.getNumber()) {
size += com.google.protobuf.CodedOutputStream
.computeEnumSize(10, insertionIdProvenance_);
}
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.IdentifierProvenances)) {
return super.equals(obj);
}
ai.promoted.proto.event.IdentifierProvenances other = (ai.promoted.proto.event.IdentifierProvenances) obj;
if (userIdProvenance_ != other.userIdProvenance_) return false;
if (logUserIdProvenance_ != other.logUserIdProvenance_) return false;
if (sessionIdProvenance_ != other.sessionIdProvenance_) return false;
if (viewIdProvenance_ != other.viewIdProvenance_) return false;
if (autoViewIdProvenance_ != other.autoViewIdProvenance_) return false;
if (insertionIdProvenance_ != other.insertionIdProvenance_) return false;
if (impressionIdProvenance_ != other.impressionIdProvenance_) return false;
if (actionIdProvenance_ != other.actionIdProvenance_) return false;
if (contentIdProvenance_ != other.contentIdProvenance_) return false;
if (requestIdProvenance_ != other.requestIdProvenance_) 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) + USER_ID_PROVENANCE_FIELD_NUMBER;
hash = (53 * hash) + userIdProvenance_;
hash = (37 * hash) + LOG_USER_ID_PROVENANCE_FIELD_NUMBER;
hash = (53 * hash) + logUserIdProvenance_;
hash = (37 * hash) + SESSION_ID_PROVENANCE_FIELD_NUMBER;
hash = (53 * hash) + sessionIdProvenance_;
hash = (37 * hash) + VIEW_ID_PROVENANCE_FIELD_NUMBER;
hash = (53 * hash) + viewIdProvenance_;
hash = (37 * hash) + AUTO_VIEW_ID_PROVENANCE_FIELD_NUMBER;
hash = (53 * hash) + autoViewIdProvenance_;
hash = (37 * hash) + INSERTION_ID_PROVENANCE_FIELD_NUMBER;
hash = (53 * hash) + insertionIdProvenance_;
hash = (37 * hash) + IMPRESSION_ID_PROVENANCE_FIELD_NUMBER;
hash = (53 * hash) + impressionIdProvenance_;
hash = (37 * hash) + ACTION_ID_PROVENANCE_FIELD_NUMBER;
hash = (53 * hash) + actionIdProvenance_;
hash = (37 * hash) + CONTENT_ID_PROVENANCE_FIELD_NUMBER;
hash = (53 * hash) + contentIdProvenance_;
hash = (37 * hash) + REQUEST_ID_PROVENANCE_FIELD_NUMBER;
hash = (53 * hash) + requestIdProvenance_;
hash = (29 * hash) + unknownFields.hashCode();
memoizedHashCode = hash;
return hash;
}
public static ai.promoted.proto.event.IdentifierProvenances parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static ai.promoted.proto.event.IdentifierProvenances 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.IdentifierProvenances parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static ai.promoted.proto.event.IdentifierProvenances 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.IdentifierProvenances parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static ai.promoted.proto.event.IdentifierProvenances parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static ai.promoted.proto.event.IdentifierProvenances parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static ai.promoted.proto.event.IdentifierProvenances 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.IdentifierProvenances parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static ai.promoted.proto.event.IdentifierProvenances 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.IdentifierProvenances parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static ai.promoted.proto.event.IdentifierProvenances 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.IdentifierProvenances 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.IdentifierProvenances}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder implements
// @@protoc_insertion_point(builder_implements:event.IdentifierProvenances)
ai.promoted.proto.event.IdentifierProvenancesOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return ai.promoted.proto.event.Event.internal_static_event_IdentifierProvenances_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return ai.promoted.proto.event.Event.internal_static_event_IdentifierProvenances_fieldAccessorTable
.ensureFieldAccessorsInitialized(
ai.promoted.proto.event.IdentifierProvenances.class, ai.promoted.proto.event.IdentifierProvenances.Builder.class);
}
// Construct using ai.promoted.proto.event.IdentifierProvenances.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();
userIdProvenance_ = 0;
logUserIdProvenance_ = 0;
sessionIdProvenance_ = 0;
viewIdProvenance_ = 0;
autoViewIdProvenance_ = 0;
insertionIdProvenance_ = 0;
impressionIdProvenance_ = 0;
actionIdProvenance_ = 0;
contentIdProvenance_ = 0;
requestIdProvenance_ = 0;
return this;
}
@java.lang.Override
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return ai.promoted.proto.event.Event.internal_static_event_IdentifierProvenances_descriptor;
}
@java.lang.Override
public ai.promoted.proto.event.IdentifierProvenances getDefaultInstanceForType() {
return ai.promoted.proto.event.IdentifierProvenances.getDefaultInstance();
}
@java.lang.Override
public ai.promoted.proto.event.IdentifierProvenances build() {
ai.promoted.proto.event.IdentifierProvenances result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public ai.promoted.proto.event.IdentifierProvenances buildPartial() {
ai.promoted.proto.event.IdentifierProvenances result = new ai.promoted.proto.event.IdentifierProvenances(this);
result.userIdProvenance_ = userIdProvenance_;
result.logUserIdProvenance_ = logUserIdProvenance_;
result.sessionIdProvenance_ = sessionIdProvenance_;
result.viewIdProvenance_ = viewIdProvenance_;
result.autoViewIdProvenance_ = autoViewIdProvenance_;
result.insertionIdProvenance_ = insertionIdProvenance_;
result.impressionIdProvenance_ = impressionIdProvenance_;
result.actionIdProvenance_ = actionIdProvenance_;
result.contentIdProvenance_ = contentIdProvenance_;
result.requestIdProvenance_ = requestIdProvenance_;
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.IdentifierProvenances) {
return mergeFrom((ai.promoted.proto.event.IdentifierProvenances)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(ai.promoted.proto.event.IdentifierProvenances other) {
if (other == ai.promoted.proto.event.IdentifierProvenances.getDefaultInstance()) return this;
if (other.userIdProvenance_ != 0) {
setUserIdProvenanceValue(other.getUserIdProvenanceValue());
}
if (other.logUserIdProvenance_ != 0) {
setLogUserIdProvenanceValue(other.getLogUserIdProvenanceValue());
}
if (other.sessionIdProvenance_ != 0) {
setSessionIdProvenanceValue(other.getSessionIdProvenanceValue());
}
if (other.viewIdProvenance_ != 0) {
setViewIdProvenanceValue(other.getViewIdProvenanceValue());
}
if (other.autoViewIdProvenance_ != 0) {
setAutoViewIdProvenanceValue(other.getAutoViewIdProvenanceValue());
}
if (other.insertionIdProvenance_ != 0) {
setInsertionIdProvenanceValue(other.getInsertionIdProvenanceValue());
}
if (other.impressionIdProvenance_ != 0) {
setImpressionIdProvenanceValue(other.getImpressionIdProvenanceValue());
}
if (other.actionIdProvenance_ != 0) {
setActionIdProvenanceValue(other.getActionIdProvenanceValue());
}
if (other.contentIdProvenance_ != 0) {
setContentIdProvenanceValue(other.getContentIdProvenanceValue());
}
if (other.requestIdProvenance_ != 0) {
setRequestIdProvenanceValue(other.getRequestIdProvenanceValue());
}
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.IdentifierProvenances parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (ai.promoted.proto.event.IdentifierProvenances) e.getUnfinishedMessage();
throw e.unwrapIOException();
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
return this;
}
private int userIdProvenance_ = 0;
/**
* .event.IdentifierProvenance user_id_provenance = 1 [json_name = "userIdProvenance"];
* @return The enum numeric value on the wire for userIdProvenance.
*/
@java.lang.Override public int getUserIdProvenanceValue() {
return userIdProvenance_;
}
/**
* .event.IdentifierProvenance user_id_provenance = 1 [json_name = "userIdProvenance"];
* @param value The enum numeric value on the wire for userIdProvenance to set.
* @return This builder for chaining.
*/
public Builder setUserIdProvenanceValue(int value) {
userIdProvenance_ = value;
onChanged();
return this;
}
/**
* .event.IdentifierProvenance user_id_provenance = 1 [json_name = "userIdProvenance"];
* @return The userIdProvenance.
*/
@java.lang.Override
public ai.promoted.proto.event.IdentifierProvenance getUserIdProvenance() {
@SuppressWarnings("deprecation")
ai.promoted.proto.event.IdentifierProvenance result = ai.promoted.proto.event.IdentifierProvenance.valueOf(userIdProvenance_);
return result == null ? ai.promoted.proto.event.IdentifierProvenance.UNRECOGNIZED : result;
}
/**
* .event.IdentifierProvenance user_id_provenance = 1 [json_name = "userIdProvenance"];
* @param value The userIdProvenance to set.
* @return This builder for chaining.
*/
public Builder setUserIdProvenance(ai.promoted.proto.event.IdentifierProvenance value) {
if (value == null) {
throw new NullPointerException();
}
userIdProvenance_ = value.getNumber();
onChanged();
return this;
}
/**
* .event.IdentifierProvenance user_id_provenance = 1 [json_name = "userIdProvenance"];
* @return This builder for chaining.
*/
public Builder clearUserIdProvenance() {
userIdProvenance_ = 0;
onChanged();
return this;
}
private int logUserIdProvenance_ = 0;
/**
* .event.IdentifierProvenance log_user_id_provenance = 9 [json_name = "logUserIdProvenance"];
* @return The enum numeric value on the wire for logUserIdProvenance.
*/
@java.lang.Override public int getLogUserIdProvenanceValue() {
return logUserIdProvenance_;
}
/**
* .event.IdentifierProvenance log_user_id_provenance = 9 [json_name = "logUserIdProvenance"];
* @param value The enum numeric value on the wire for logUserIdProvenance to set.
* @return This builder for chaining.
*/
public Builder setLogUserIdProvenanceValue(int value) {
logUserIdProvenance_ = value;
onChanged();
return this;
}
/**
* .event.IdentifierProvenance log_user_id_provenance = 9 [json_name = "logUserIdProvenance"];
* @return The logUserIdProvenance.
*/
@java.lang.Override
public ai.promoted.proto.event.IdentifierProvenance getLogUserIdProvenance() {
@SuppressWarnings("deprecation")
ai.promoted.proto.event.IdentifierProvenance result = ai.promoted.proto.event.IdentifierProvenance.valueOf(logUserIdProvenance_);
return result == null ? ai.promoted.proto.event.IdentifierProvenance.UNRECOGNIZED : result;
}
/**
* .event.IdentifierProvenance log_user_id_provenance = 9 [json_name = "logUserIdProvenance"];
* @param value The logUserIdProvenance to set.
* @return This builder for chaining.
*/
public Builder setLogUserIdProvenance(ai.promoted.proto.event.IdentifierProvenance value) {
if (value == null) {
throw new NullPointerException();
}
logUserIdProvenance_ = value.getNumber();
onChanged();
return this;
}
/**
* .event.IdentifierProvenance log_user_id_provenance = 9 [json_name = "logUserIdProvenance"];
* @return This builder for chaining.
*/
public Builder clearLogUserIdProvenance() {
logUserIdProvenance_ = 0;
onChanged();
return this;
}
private int sessionIdProvenance_ = 0;
/**
* .event.IdentifierProvenance session_id_provenance = 2 [json_name = "sessionIdProvenance"];
* @return The enum numeric value on the wire for sessionIdProvenance.
*/
@java.lang.Override public int getSessionIdProvenanceValue() {
return sessionIdProvenance_;
}
/**
* .event.IdentifierProvenance session_id_provenance = 2 [json_name = "sessionIdProvenance"];
* @param value The enum numeric value on the wire for sessionIdProvenance to set.
* @return This builder for chaining.
*/
public Builder setSessionIdProvenanceValue(int value) {
sessionIdProvenance_ = value;
onChanged();
return this;
}
/**
* .event.IdentifierProvenance session_id_provenance = 2 [json_name = "sessionIdProvenance"];
* @return The sessionIdProvenance.
*/
@java.lang.Override
public ai.promoted.proto.event.IdentifierProvenance getSessionIdProvenance() {
@SuppressWarnings("deprecation")
ai.promoted.proto.event.IdentifierProvenance result = ai.promoted.proto.event.IdentifierProvenance.valueOf(sessionIdProvenance_);
return result == null ? ai.promoted.proto.event.IdentifierProvenance.UNRECOGNIZED : result;
}
/**
* .event.IdentifierProvenance session_id_provenance = 2 [json_name = "sessionIdProvenance"];
* @param value The sessionIdProvenance to set.
* @return This builder for chaining.
*/
public Builder setSessionIdProvenance(ai.promoted.proto.event.IdentifierProvenance value) {
if (value == null) {
throw new NullPointerException();
}
sessionIdProvenance_ = value.getNumber();
onChanged();
return this;
}
/**
* .event.IdentifierProvenance session_id_provenance = 2 [json_name = "sessionIdProvenance"];
* @return This builder for chaining.
*/
public Builder clearSessionIdProvenance() {
sessionIdProvenance_ = 0;
onChanged();
return this;
}
private int viewIdProvenance_ = 0;
/**
* .event.IdentifierProvenance view_id_provenance = 3 [json_name = "viewIdProvenance"];
* @return The enum numeric value on the wire for viewIdProvenance.
*/
@java.lang.Override public int getViewIdProvenanceValue() {
return viewIdProvenance_;
}
/**
* .event.IdentifierProvenance view_id_provenance = 3 [json_name = "viewIdProvenance"];
* @param value The enum numeric value on the wire for viewIdProvenance to set.
* @return This builder for chaining.
*/
public Builder setViewIdProvenanceValue(int value) {
viewIdProvenance_ = value;
onChanged();
return this;
}
/**
* .event.IdentifierProvenance view_id_provenance = 3 [json_name = "viewIdProvenance"];
* @return The viewIdProvenance.
*/
@java.lang.Override
public ai.promoted.proto.event.IdentifierProvenance getViewIdProvenance() {
@SuppressWarnings("deprecation")
ai.promoted.proto.event.IdentifierProvenance result = ai.promoted.proto.event.IdentifierProvenance.valueOf(viewIdProvenance_);
return result == null ? ai.promoted.proto.event.IdentifierProvenance.UNRECOGNIZED : result;
}
/**
* .event.IdentifierProvenance view_id_provenance = 3 [json_name = "viewIdProvenance"];
* @param value The viewIdProvenance to set.
* @return This builder for chaining.
*/
public Builder setViewIdProvenance(ai.promoted.proto.event.IdentifierProvenance value) {
if (value == null) {
throw new NullPointerException();
}
viewIdProvenance_ = value.getNumber();
onChanged();
return this;
}
/**
* .event.IdentifierProvenance view_id_provenance = 3 [json_name = "viewIdProvenance"];
* @return This builder for chaining.
*/
public Builder clearViewIdProvenance() {
viewIdProvenance_ = 0;
onChanged();
return this;
}
private int autoViewIdProvenance_ = 0;
/**
* .event.IdentifierProvenance auto_view_id_provenance = 8 [json_name = "autoViewIdProvenance"];
* @return The enum numeric value on the wire for autoViewIdProvenance.
*/
@java.lang.Override public int getAutoViewIdProvenanceValue() {
return autoViewIdProvenance_;
}
/**
* .event.IdentifierProvenance auto_view_id_provenance = 8 [json_name = "autoViewIdProvenance"];
* @param value The enum numeric value on the wire for autoViewIdProvenance to set.
* @return This builder for chaining.
*/
public Builder setAutoViewIdProvenanceValue(int value) {
autoViewIdProvenance_ = value;
onChanged();
return this;
}
/**
* .event.IdentifierProvenance auto_view_id_provenance = 8 [json_name = "autoViewIdProvenance"];
* @return The autoViewIdProvenance.
*/
@java.lang.Override
public ai.promoted.proto.event.IdentifierProvenance getAutoViewIdProvenance() {
@SuppressWarnings("deprecation")
ai.promoted.proto.event.IdentifierProvenance result = ai.promoted.proto.event.IdentifierProvenance.valueOf(autoViewIdProvenance_);
return result == null ? ai.promoted.proto.event.IdentifierProvenance.UNRECOGNIZED : result;
}
/**
* .event.IdentifierProvenance auto_view_id_provenance = 8 [json_name = "autoViewIdProvenance"];
* @param value The autoViewIdProvenance to set.
* @return This builder for chaining.
*/
public Builder setAutoViewIdProvenance(ai.promoted.proto.event.IdentifierProvenance value) {
if (value == null) {
throw new NullPointerException();
}
autoViewIdProvenance_ = value.getNumber();
onChanged();
return this;
}
/**
* .event.IdentifierProvenance auto_view_id_provenance = 8 [json_name = "autoViewIdProvenance"];
* @return This builder for chaining.
*/
public Builder clearAutoViewIdProvenance() {
autoViewIdProvenance_ = 0;
onChanged();
return this;
}
private int insertionIdProvenance_ = 0;
/**
* .event.IdentifierProvenance insertion_id_provenance = 10 [json_name = "insertionIdProvenance"];
* @return The enum numeric value on the wire for insertionIdProvenance.
*/
@java.lang.Override public int getInsertionIdProvenanceValue() {
return insertionIdProvenance_;
}
/**
* .event.IdentifierProvenance insertion_id_provenance = 10 [json_name = "insertionIdProvenance"];
* @param value The enum numeric value on the wire for insertionIdProvenance to set.
* @return This builder for chaining.
*/
public Builder setInsertionIdProvenanceValue(int value) {
insertionIdProvenance_ = value;
onChanged();
return this;
}
/**
* .event.IdentifierProvenance insertion_id_provenance = 10 [json_name = "insertionIdProvenance"];
* @return The insertionIdProvenance.
*/
@java.lang.Override
public ai.promoted.proto.event.IdentifierProvenance getInsertionIdProvenance() {
@SuppressWarnings("deprecation")
ai.promoted.proto.event.IdentifierProvenance result = ai.promoted.proto.event.IdentifierProvenance.valueOf(insertionIdProvenance_);
return result == null ? ai.promoted.proto.event.IdentifierProvenance.UNRECOGNIZED : result;
}
/**
* .event.IdentifierProvenance insertion_id_provenance = 10 [json_name = "insertionIdProvenance"];
* @param value The insertionIdProvenance to set.
* @return This builder for chaining.
*/
public Builder setInsertionIdProvenance(ai.promoted.proto.event.IdentifierProvenance value) {
if (value == null) {
throw new NullPointerException();
}
insertionIdProvenance_ = value.getNumber();
onChanged();
return this;
}
/**
* .event.IdentifierProvenance insertion_id_provenance = 10 [json_name = "insertionIdProvenance"];
* @return This builder for chaining.
*/
public Builder clearInsertionIdProvenance() {
insertionIdProvenance_ = 0;
onChanged();
return this;
}
private int impressionIdProvenance_ = 0;
/**
* .event.IdentifierProvenance impression_id_provenance = 4 [json_name = "impressionIdProvenance"];
* @return The enum numeric value on the wire for impressionIdProvenance.
*/
@java.lang.Override public int getImpressionIdProvenanceValue() {
return impressionIdProvenance_;
}
/**
* .event.IdentifierProvenance impression_id_provenance = 4 [json_name = "impressionIdProvenance"];
* @param value The enum numeric value on the wire for impressionIdProvenance to set.
* @return This builder for chaining.
*/
public Builder setImpressionIdProvenanceValue(int value) {
impressionIdProvenance_ = value;
onChanged();
return this;
}
/**
* .event.IdentifierProvenance impression_id_provenance = 4 [json_name = "impressionIdProvenance"];
* @return The impressionIdProvenance.
*/
@java.lang.Override
public ai.promoted.proto.event.IdentifierProvenance getImpressionIdProvenance() {
@SuppressWarnings("deprecation")
ai.promoted.proto.event.IdentifierProvenance result = ai.promoted.proto.event.IdentifierProvenance.valueOf(impressionIdProvenance_);
return result == null ? ai.promoted.proto.event.IdentifierProvenance.UNRECOGNIZED : result;
}
/**
* .event.IdentifierProvenance impression_id_provenance = 4 [json_name = "impressionIdProvenance"];
* @param value The impressionIdProvenance to set.
* @return This builder for chaining.
*/
public Builder setImpressionIdProvenance(ai.promoted.proto.event.IdentifierProvenance value) {
if (value == null) {
throw new NullPointerException();
}
impressionIdProvenance_ = value.getNumber();
onChanged();
return this;
}
/**
* .event.IdentifierProvenance impression_id_provenance = 4 [json_name = "impressionIdProvenance"];
* @return This builder for chaining.
*/
public Builder clearImpressionIdProvenance() {
impressionIdProvenance_ = 0;
onChanged();
return this;
}
private int actionIdProvenance_ = 0;
/**
* .event.IdentifierProvenance action_id_provenance = 5 [json_name = "actionIdProvenance"];
* @return The enum numeric value on the wire for actionIdProvenance.
*/
@java.lang.Override public int getActionIdProvenanceValue() {
return actionIdProvenance_;
}
/**
* .event.IdentifierProvenance action_id_provenance = 5 [json_name = "actionIdProvenance"];
* @param value The enum numeric value on the wire for actionIdProvenance to set.
* @return This builder for chaining.
*/
public Builder setActionIdProvenanceValue(int value) {
actionIdProvenance_ = value;
onChanged();
return this;
}
/**
* .event.IdentifierProvenance action_id_provenance = 5 [json_name = "actionIdProvenance"];
* @return The actionIdProvenance.
*/
@java.lang.Override
public ai.promoted.proto.event.IdentifierProvenance getActionIdProvenance() {
@SuppressWarnings("deprecation")
ai.promoted.proto.event.IdentifierProvenance result = ai.promoted.proto.event.IdentifierProvenance.valueOf(actionIdProvenance_);
return result == null ? ai.promoted.proto.event.IdentifierProvenance.UNRECOGNIZED : result;
}
/**
* .event.IdentifierProvenance action_id_provenance = 5 [json_name = "actionIdProvenance"];
* @param value The actionIdProvenance to set.
* @return This builder for chaining.
*/
public Builder setActionIdProvenance(ai.promoted.proto.event.IdentifierProvenance value) {
if (value == null) {
throw new NullPointerException();
}
actionIdProvenance_ = value.getNumber();
onChanged();
return this;
}
/**
* .event.IdentifierProvenance action_id_provenance = 5 [json_name = "actionIdProvenance"];
* @return This builder for chaining.
*/
public Builder clearActionIdProvenance() {
actionIdProvenance_ = 0;
onChanged();
return this;
}
private int contentIdProvenance_ = 0;
/**
* .event.IdentifierProvenance content_id_provenance = 6 [json_name = "contentIdProvenance"];
* @return The enum numeric value on the wire for contentIdProvenance.
*/
@java.lang.Override public int getContentIdProvenanceValue() {
return contentIdProvenance_;
}
/**
* .event.IdentifierProvenance content_id_provenance = 6 [json_name = "contentIdProvenance"];
* @param value The enum numeric value on the wire for contentIdProvenance to set.
* @return This builder for chaining.
*/
public Builder setContentIdProvenanceValue(int value) {
contentIdProvenance_ = value;
onChanged();
return this;
}
/**
* .event.IdentifierProvenance content_id_provenance = 6 [json_name = "contentIdProvenance"];
* @return The contentIdProvenance.
*/
@java.lang.Override
public ai.promoted.proto.event.IdentifierProvenance getContentIdProvenance() {
@SuppressWarnings("deprecation")
ai.promoted.proto.event.IdentifierProvenance result = ai.promoted.proto.event.IdentifierProvenance.valueOf(contentIdProvenance_);
return result == null ? ai.promoted.proto.event.IdentifierProvenance.UNRECOGNIZED : result;
}
/**
* .event.IdentifierProvenance content_id_provenance = 6 [json_name = "contentIdProvenance"];
* @param value The contentIdProvenance to set.
* @return This builder for chaining.
*/
public Builder setContentIdProvenance(ai.promoted.proto.event.IdentifierProvenance value) {
if (value == null) {
throw new NullPointerException();
}
contentIdProvenance_ = value.getNumber();
onChanged();
return this;
}
/**
* .event.IdentifierProvenance content_id_provenance = 6 [json_name = "contentIdProvenance"];
* @return This builder for chaining.
*/
public Builder clearContentIdProvenance() {
contentIdProvenance_ = 0;
onChanged();
return this;
}
private int requestIdProvenance_ = 0;
/**
* .event.IdentifierProvenance request_id_provenance = 7 [json_name = "requestIdProvenance"];
* @return The enum numeric value on the wire for requestIdProvenance.
*/
@java.lang.Override public int getRequestIdProvenanceValue() {
return requestIdProvenance_;
}
/**
* .event.IdentifierProvenance request_id_provenance = 7 [json_name = "requestIdProvenance"];
* @param value The enum numeric value on the wire for requestIdProvenance to set.
* @return This builder for chaining.
*/
public Builder setRequestIdProvenanceValue(int value) {
requestIdProvenance_ = value;
onChanged();
return this;
}
/**
* .event.IdentifierProvenance request_id_provenance = 7 [json_name = "requestIdProvenance"];
* @return The requestIdProvenance.
*/
@java.lang.Override
public ai.promoted.proto.event.IdentifierProvenance getRequestIdProvenance() {
@SuppressWarnings("deprecation")
ai.promoted.proto.event.IdentifierProvenance result = ai.promoted.proto.event.IdentifierProvenance.valueOf(requestIdProvenance_);
return result == null ? ai.promoted.proto.event.IdentifierProvenance.UNRECOGNIZED : result;
}
/**
* .event.IdentifierProvenance request_id_provenance = 7 [json_name = "requestIdProvenance"];
* @param value The requestIdProvenance to set.
* @return This builder for chaining.
*/
public Builder setRequestIdProvenance(ai.promoted.proto.event.IdentifierProvenance value) {
if (value == null) {
throw new NullPointerException();
}
requestIdProvenance_ = value.getNumber();
onChanged();
return this;
}
/**
* .event.IdentifierProvenance request_id_provenance = 7 [json_name = "requestIdProvenance"];
* @return This builder for chaining.
*/
public Builder clearRequestIdProvenance() {
requestIdProvenance_ = 0;
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.IdentifierProvenances)
}
// @@protoc_insertion_point(class_scope:event.IdentifierProvenances)
private static final ai.promoted.proto.event.IdentifierProvenances DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new ai.promoted.proto.event.IdentifierProvenances();
}
public static ai.promoted.proto.event.IdentifierProvenances getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static final com.google.protobuf.Parser
PARSER = new com.google.protobuf.AbstractParser() {
@java.lang.Override
public IdentifierProvenances parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return new IdentifierProvenances(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.IdentifierProvenances getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy