Many resources are needed to download a project. Please understand that we have to compensate our server costs. Thank you in advance. Project price only 1 $
You can buy this project and download/modify it how often you want.
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: proto/clarifai/api/resources.proto
package com.clarifai.grpc.api;
/**
*
* This message holds the confidential information from the User object that we don't want to expose
* to other users. It will be accessible only from /users/{user_id}/account and with the User scopes.
*
*
* Protobuf type {@code clarifai.api.UserDetail}
*/
public final class UserDetail extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:clarifai.api.UserDetail)
UserDetailOrBuilder {
private static final long serialVersionUID = 0L;
// Use UserDetail.newBuilder() to construct.
private UserDetail(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
super(builder);
}
private UserDetail() {
primaryEmail_ = "";
billType_ = "";
emailAddresses_ = java.util.Collections.emptyList();
country_ = "";
state_ = "";
}
@java.lang.Override
@SuppressWarnings({"unused"})
protected java.lang.Object newInstance(
UnusedPrivateParameter unused) {
return new UserDetail();
}
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
private UserDetail(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
this();
if (extensionRegistry == null) {
throw new java.lang.NullPointerException();
}
int mutable_bitField0_ = 0;
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 10: {
java.lang.String s = input.readStringRequireUtf8();
primaryEmail_ = s;
break;
}
case 18: {
java.lang.String s = input.readStringRequireUtf8();
billType_ = s;
break;
}
case 26: {
com.google.protobuf.Timestamp.Builder subBuilder = null;
if (dateGdprConsent_ != null) {
subBuilder = dateGdprConsent_.toBuilder();
}
dateGdprConsent_ = input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry);
if (subBuilder != null) {
subBuilder.mergeFrom(dateGdprConsent_);
dateGdprConsent_ = subBuilder.buildPartial();
}
break;
}
case 34: {
com.google.protobuf.Timestamp.Builder subBuilder = null;
if (dateTosConsent_ != null) {
subBuilder = dateTosConsent_.toBuilder();
}
dateTosConsent_ = input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry);
if (subBuilder != null) {
subBuilder.mergeFrom(dateTosConsent_);
dateTosConsent_ = subBuilder.buildPartial();
}
break;
}
case 42: {
com.google.protobuf.Timestamp.Builder subBuilder = null;
if (dateMarketingConsent_ != null) {
subBuilder = dateMarketingConsent_.toBuilder();
}
dateMarketingConsent_ = input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry);
if (subBuilder != null) {
subBuilder.mergeFrom(dateMarketingConsent_);
dateMarketingConsent_ = subBuilder.buildPartial();
}
break;
}
case 50: {
com.google.protobuf.Struct.Builder subBuilder = null;
if (metadata_ != null) {
subBuilder = metadata_.toBuilder();
}
metadata_ = input.readMessage(com.google.protobuf.Struct.parser(), extensionRegistry);
if (subBuilder != null) {
subBuilder.mergeFrom(metadata_);
metadata_ = subBuilder.buildPartial();
}
break;
}
case 58: {
if (!((mutable_bitField0_ & 0x00000001) != 0)) {
emailAddresses_ = new java.util.ArrayList();
mutable_bitField0_ |= 0x00000001;
}
emailAddresses_.add(
input.readMessage(com.clarifai.grpc.api.EmailAddress.parser(), extensionRegistry));
break;
}
case 72: {
twoFactorAuthEnabled_ = input.readBool();
break;
}
case 80: {
teamsCount_ = input.readUInt32();
break;
}
case 90: {
java.lang.String s = input.readStringRequireUtf8();
country_ = s;
break;
}
case 98: {
java.lang.String s = input.readStringRequireUtf8();
state_ = s;
break;
}
case 106: {
com.google.protobuf.Timestamp.Builder subBuilder = null;
if (datePiiConsent_ != null) {
subBuilder = datePiiConsent_.toBuilder();
}
datePiiConsent_ = input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry);
if (subBuilder != null) {
subBuilder.mergeFrom(datePiiConsent_);
datePiiConsent_ = subBuilder.buildPartial();
}
break;
}
default: {
if (!parseUnknownField(
input, unknownFields, extensionRegistry, tag)) {
done = true;
}
break;
}
}
}
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.setUnfinishedMessage(this);
} catch (com.google.protobuf.UninitializedMessageException e) {
throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this);
} catch (java.io.IOException e) {
throw new com.google.protobuf.InvalidProtocolBufferException(
e).setUnfinishedMessage(this);
} finally {
if (((mutable_bitField0_ & 0x00000001) != 0)) {
emailAddresses_ = java.util.Collections.unmodifiableList(emailAddresses_);
}
this.unknownFields = unknownFields.build();
makeExtensionsImmutable();
}
}
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return com.clarifai.grpc.api.Resources.internal_static_clarifai_api_UserDetail_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.clarifai.grpc.api.Resources.internal_static_clarifai_api_UserDetail_fieldAccessorTable
.ensureFieldAccessorsInitialized(
com.clarifai.grpc.api.UserDetail.class, com.clarifai.grpc.api.UserDetail.Builder.class);
}
public static final int PRIMARY_EMAIL_FIELD_NUMBER = 1;
private volatile java.lang.Object primaryEmail_;
/**
* string primary_email = 1;
* @return The primaryEmail.
*/
@java.lang.Override
public java.lang.String getPrimaryEmail() {
java.lang.Object ref = primaryEmail_;
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();
primaryEmail_ = s;
return s;
}
}
/**
* string primary_email = 1;
* @return The bytes for primaryEmail.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getPrimaryEmailBytes() {
java.lang.Object ref = primaryEmail_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
primaryEmail_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int BILL_TYPE_FIELD_NUMBER = 2;
private volatile java.lang.Object billType_;
/**
* string bill_type = 2;
* @return The billType.
*/
@java.lang.Override
public java.lang.String getBillType() {
java.lang.Object ref = billType_;
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();
billType_ = s;
return s;
}
}
/**
* string bill_type = 2;
* @return The bytes for billType.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getBillTypeBytes() {
java.lang.Object ref = billType_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
billType_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int DATE_GDPR_CONSENT_FIELD_NUMBER = 3;
private com.google.protobuf.Timestamp dateGdprConsent_;
/**
* .google.protobuf.Timestamp date_gdpr_consent = 3;
* @return Whether the dateGdprConsent field is set.
*/
@java.lang.Override
public boolean hasDateGdprConsent() {
return dateGdprConsent_ != null;
}
/**
* .google.protobuf.Timestamp date_gdpr_consent = 3;
* @return The dateGdprConsent.
*/
@java.lang.Override
public com.google.protobuf.Timestamp getDateGdprConsent() {
return dateGdprConsent_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : dateGdprConsent_;
}
/**
* .google.protobuf.Timestamp date_gdpr_consent = 3;
*/
@java.lang.Override
public com.google.protobuf.TimestampOrBuilder getDateGdprConsentOrBuilder() {
return getDateGdprConsent();
}
public static final int DATE_TOS_CONSENT_FIELD_NUMBER = 4;
private com.google.protobuf.Timestamp dateTosConsent_;
/**
* .google.protobuf.Timestamp date_tos_consent = 4;
* @return Whether the dateTosConsent field is set.
*/
@java.lang.Override
public boolean hasDateTosConsent() {
return dateTosConsent_ != null;
}
/**
* .google.protobuf.Timestamp date_tos_consent = 4;
* @return The dateTosConsent.
*/
@java.lang.Override
public com.google.protobuf.Timestamp getDateTosConsent() {
return dateTosConsent_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : dateTosConsent_;
}
/**
* .google.protobuf.Timestamp date_tos_consent = 4;
*/
@java.lang.Override
public com.google.protobuf.TimestampOrBuilder getDateTosConsentOrBuilder() {
return getDateTosConsent();
}
public static final int DATE_MARKETING_CONSENT_FIELD_NUMBER = 5;
private com.google.protobuf.Timestamp dateMarketingConsent_;
/**
* .google.protobuf.Timestamp date_marketing_consent = 5;
* @return Whether the dateMarketingConsent field is set.
*/
@java.lang.Override
public boolean hasDateMarketingConsent() {
return dateMarketingConsent_ != null;
}
/**
* .google.protobuf.Timestamp date_marketing_consent = 5;
* @return The dateMarketingConsent.
*/
@java.lang.Override
public com.google.protobuf.Timestamp getDateMarketingConsent() {
return dateMarketingConsent_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : dateMarketingConsent_;
}
/**
* .google.protobuf.Timestamp date_marketing_consent = 5;
*/
@java.lang.Override
public com.google.protobuf.TimestampOrBuilder getDateMarketingConsentOrBuilder() {
return getDateMarketingConsent();
}
public static final int DATE_PII_CONSENT_FIELD_NUMBER = 13;
private com.google.protobuf.Timestamp datePiiConsent_;
/**
* .google.protobuf.Timestamp date_pii_consent = 13;
* @return Whether the datePiiConsent field is set.
*/
@java.lang.Override
public boolean hasDatePiiConsent() {
return datePiiConsent_ != null;
}
/**
* .google.protobuf.Timestamp date_pii_consent = 13;
* @return The datePiiConsent.
*/
@java.lang.Override
public com.google.protobuf.Timestamp getDatePiiConsent() {
return datePiiConsent_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : datePiiConsent_;
}
/**
* .google.protobuf.Timestamp date_pii_consent = 13;
*/
@java.lang.Override
public com.google.protobuf.TimestampOrBuilder getDatePiiConsentOrBuilder() {
return getDatePiiConsent();
}
public static final int METADATA_FIELD_NUMBER = 6;
private com.google.protobuf.Struct metadata_;
/**
*
* To handle arbitrary json metadata you can use a struct field:
* https://github.com/google/protobuf/blob/master/src/google/protobuf/struct.proto
*
*
* .google.protobuf.Struct metadata = 6;
* @return Whether the metadata field is set.
*/
@java.lang.Override
public boolean hasMetadata() {
return metadata_ != null;
}
/**
*
* To handle arbitrary json metadata you can use a struct field:
* https://github.com/google/protobuf/blob/master/src/google/protobuf/struct.proto
*
* To handle arbitrary json metadata you can use a struct field:
* https://github.com/google/protobuf/blob/master/src/google/protobuf/struct.proto
*
*
* .google.protobuf.Struct metadata = 6;
*/
@java.lang.Override
public com.google.protobuf.StructOrBuilder getMetadataOrBuilder() {
return getMetadata();
}
public static final int EMAIL_ADDRESSES_FIELD_NUMBER = 7;
private java.util.List emailAddresses_;
/**
* repeated .clarifai.api.EmailAddress email_addresses = 7;
*/
@java.lang.Override
public java.util.List getEmailAddressesList() {
return emailAddresses_;
}
/**
* repeated .clarifai.api.EmailAddress email_addresses = 7;
*/
@java.lang.Override
public java.util.List extends com.clarifai.grpc.api.EmailAddressOrBuilder>
getEmailAddressesOrBuilderList() {
return emailAddresses_;
}
/**
* repeated .clarifai.api.EmailAddress email_addresses = 7;
*/
@java.lang.Override
public int getEmailAddressesCount() {
return emailAddresses_.size();
}
/**
* repeated .clarifai.api.EmailAddress email_addresses = 7;
*/
@java.lang.Override
public com.clarifai.grpc.api.EmailAddress getEmailAddresses(int index) {
return emailAddresses_.get(index);
}
/**
* repeated .clarifai.api.EmailAddress email_addresses = 7;
*/
@java.lang.Override
public com.clarifai.grpc.api.EmailAddressOrBuilder getEmailAddressesOrBuilder(
int index) {
return emailAddresses_.get(index);
}
public static final int TWO_FACTOR_AUTH_ENABLED_FIELD_NUMBER = 9;
private boolean twoFactorAuthEnabled_;
/**
* bool two_factor_auth_enabled = 9;
* @return The twoFactorAuthEnabled.
*/
@java.lang.Override
public boolean getTwoFactorAuthEnabled() {
return twoFactorAuthEnabled_;
}
public static final int TEAMS_COUNT_FIELD_NUMBER = 10;
private int teamsCount_;
/**
* uint32 teams_count = 10;
* @return The teamsCount.
*/
@java.lang.Override
public int getTeamsCount() {
return teamsCount_;
}
public static final int COUNTRY_FIELD_NUMBER = 11;
private volatile java.lang.Object country_;
/**
* string country = 11;
* @return The country.
*/
@java.lang.Override
public java.lang.String getCountry() {
java.lang.Object ref = country_;
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();
country_ = s;
return s;
}
}
/**
* string country = 11;
* @return The bytes for country.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getCountryBytes() {
java.lang.Object ref = country_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
country_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int STATE_FIELD_NUMBER = 12;
private volatile java.lang.Object state_;
/**
* string state = 12;
* @return The state.
*/
@java.lang.Override
public java.lang.String getState() {
java.lang.Object ref = state_;
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();
state_ = s;
return s;
}
}
/**
* string state = 12;
* @return The bytes for state.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getStateBytes() {
java.lang.Object ref = state_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
state_ = 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 (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(primaryEmail_)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 1, primaryEmail_);
}
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(billType_)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 2, billType_);
}
if (dateGdprConsent_ != null) {
output.writeMessage(3, getDateGdprConsent());
}
if (dateTosConsent_ != null) {
output.writeMessage(4, getDateTosConsent());
}
if (dateMarketingConsent_ != null) {
output.writeMessage(5, getDateMarketingConsent());
}
if (metadata_ != null) {
output.writeMessage(6, getMetadata());
}
for (int i = 0; i < emailAddresses_.size(); i++) {
output.writeMessage(7, emailAddresses_.get(i));
}
if (twoFactorAuthEnabled_ != false) {
output.writeBool(9, twoFactorAuthEnabled_);
}
if (teamsCount_ != 0) {
output.writeUInt32(10, teamsCount_);
}
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(country_)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 11, country_);
}
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(state_)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 12, state_);
}
if (datePiiConsent_ != null) {
output.writeMessage(13, getDatePiiConsent());
}
unknownFields.writeTo(output);
}
@java.lang.Override
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(primaryEmail_)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, primaryEmail_);
}
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(billType_)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, billType_);
}
if (dateGdprConsent_ != null) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(3, getDateGdprConsent());
}
if (dateTosConsent_ != null) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(4, getDateTosConsent());
}
if (dateMarketingConsent_ != null) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(5, getDateMarketingConsent());
}
if (metadata_ != null) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(6, getMetadata());
}
for (int i = 0; i < emailAddresses_.size(); i++) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(7, emailAddresses_.get(i));
}
if (twoFactorAuthEnabled_ != false) {
size += com.google.protobuf.CodedOutputStream
.computeBoolSize(9, twoFactorAuthEnabled_);
}
if (teamsCount_ != 0) {
size += com.google.protobuf.CodedOutputStream
.computeUInt32Size(10, teamsCount_);
}
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(country_)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(11, country_);
}
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(state_)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(12, state_);
}
if (datePiiConsent_ != null) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(13, getDatePiiConsent());
}
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 com.clarifai.grpc.api.UserDetail)) {
return super.equals(obj);
}
com.clarifai.grpc.api.UserDetail other = (com.clarifai.grpc.api.UserDetail) obj;
if (!getPrimaryEmail()
.equals(other.getPrimaryEmail())) return false;
if (!getBillType()
.equals(other.getBillType())) return false;
if (hasDateGdprConsent() != other.hasDateGdprConsent()) return false;
if (hasDateGdprConsent()) {
if (!getDateGdprConsent()
.equals(other.getDateGdprConsent())) return false;
}
if (hasDateTosConsent() != other.hasDateTosConsent()) return false;
if (hasDateTosConsent()) {
if (!getDateTosConsent()
.equals(other.getDateTosConsent())) return false;
}
if (hasDateMarketingConsent() != other.hasDateMarketingConsent()) return false;
if (hasDateMarketingConsent()) {
if (!getDateMarketingConsent()
.equals(other.getDateMarketingConsent())) return false;
}
if (hasDatePiiConsent() != other.hasDatePiiConsent()) return false;
if (hasDatePiiConsent()) {
if (!getDatePiiConsent()
.equals(other.getDatePiiConsent())) return false;
}
if (hasMetadata() != other.hasMetadata()) return false;
if (hasMetadata()) {
if (!getMetadata()
.equals(other.getMetadata())) return false;
}
if (!getEmailAddressesList()
.equals(other.getEmailAddressesList())) return false;
if (getTwoFactorAuthEnabled()
!= other.getTwoFactorAuthEnabled()) return false;
if (getTeamsCount()
!= other.getTeamsCount()) return false;
if (!getCountry()
.equals(other.getCountry())) return false;
if (!getState()
.equals(other.getState())) 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) + PRIMARY_EMAIL_FIELD_NUMBER;
hash = (53 * hash) + getPrimaryEmail().hashCode();
hash = (37 * hash) + BILL_TYPE_FIELD_NUMBER;
hash = (53 * hash) + getBillType().hashCode();
if (hasDateGdprConsent()) {
hash = (37 * hash) + DATE_GDPR_CONSENT_FIELD_NUMBER;
hash = (53 * hash) + getDateGdprConsent().hashCode();
}
if (hasDateTosConsent()) {
hash = (37 * hash) + DATE_TOS_CONSENT_FIELD_NUMBER;
hash = (53 * hash) + getDateTosConsent().hashCode();
}
if (hasDateMarketingConsent()) {
hash = (37 * hash) + DATE_MARKETING_CONSENT_FIELD_NUMBER;
hash = (53 * hash) + getDateMarketingConsent().hashCode();
}
if (hasDatePiiConsent()) {
hash = (37 * hash) + DATE_PII_CONSENT_FIELD_NUMBER;
hash = (53 * hash) + getDatePiiConsent().hashCode();
}
if (hasMetadata()) {
hash = (37 * hash) + METADATA_FIELD_NUMBER;
hash = (53 * hash) + getMetadata().hashCode();
}
if (getEmailAddressesCount() > 0) {
hash = (37 * hash) + EMAIL_ADDRESSES_FIELD_NUMBER;
hash = (53 * hash) + getEmailAddressesList().hashCode();
}
hash = (37 * hash) + TWO_FACTOR_AUTH_ENABLED_FIELD_NUMBER;
hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(
getTwoFactorAuthEnabled());
hash = (37 * hash) + TEAMS_COUNT_FIELD_NUMBER;
hash = (53 * hash) + getTeamsCount();
hash = (37 * hash) + COUNTRY_FIELD_NUMBER;
hash = (53 * hash) + getCountry().hashCode();
hash = (37 * hash) + STATE_FIELD_NUMBER;
hash = (53 * hash) + getState().hashCode();
hash = (29 * hash) + unknownFields.hashCode();
memoizedHashCode = hash;
return hash;
}
public static com.clarifai.grpc.api.UserDetail parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.clarifai.grpc.api.UserDetail parseFrom(
java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static com.clarifai.grpc.api.UserDetail parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.clarifai.grpc.api.UserDetail parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static com.clarifai.grpc.api.UserDetail parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.clarifai.grpc.api.UserDetail parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static com.clarifai.grpc.api.UserDetail parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static com.clarifai.grpc.api.UserDetail 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 com.clarifai.grpc.api.UserDetail parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static com.clarifai.grpc.api.UserDetail 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 com.clarifai.grpc.api.UserDetail parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static com.clarifai.grpc.api.UserDetail 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(com.clarifai.grpc.api.UserDetail 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;
}
/**
*
* This message holds the confidential information from the User object that we don't want to expose
* to other users. It will be accessible only from /users/{user_id}/account and with the User scopes.
*