com.clarifai.grpc.api.UserOrBuilder Maven / Gradle / Ivy
The newest version!
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: proto/clarifai/api/resources.proto
package com.clarifai.grpc.api;
public interface UserOrBuilder extends
// @@protoc_insertion_point(interface_extends:clarifai.api.User)
com.google.protobuf.MessageOrBuilder {
/**
* string id = 1;
* @return The id.
*/
java.lang.String getId();
/**
* string id = 1;
* @return The bytes for id.
*/
com.google.protobuf.ByteString
getIdBytes();
/**
* string primary_email = 2 [deprecated = true];
* @deprecated clarifai.api.User.primary_email is deprecated.
* See proto/clarifai/api/resources.proto;l=2573
* @return The primaryEmail.
*/
@java.lang.Deprecated java.lang.String getPrimaryEmail();
/**
* string primary_email = 2 [deprecated = true];
* @deprecated clarifai.api.User.primary_email is deprecated.
* See proto/clarifai/api/resources.proto;l=2573
* @return The bytes for primaryEmail.
*/
@java.lang.Deprecated com.google.protobuf.ByteString
getPrimaryEmailBytes();
/**
* string first_name = 3;
* @return The firstName.
*/
java.lang.String getFirstName();
/**
* string first_name = 3;
* @return The bytes for firstName.
*/
com.google.protobuf.ByteString
getFirstNameBytes();
/**
* string last_name = 4;
* @return The lastName.
*/
java.lang.String getLastName();
/**
* string last_name = 4;
* @return The bytes for lastName.
*/
com.google.protobuf.ByteString
getLastNameBytes();
/**
* string company_name = 5;
* @return The companyName.
*/
java.lang.String getCompanyName();
/**
* string company_name = 5;
* @return The bytes for companyName.
*/
com.google.protobuf.ByteString
getCompanyNameBytes();
/**
* string job_title = 19;
* @return The jobTitle.
*/
java.lang.String getJobTitle();
/**
* string job_title = 19;
* @return The bytes for jobTitle.
*/
com.google.protobuf.ByteString
getJobTitleBytes();
/**
* string job_role = 20;
* @return The jobRole.
*/
java.lang.String getJobRole();
/**
* string job_role = 20;
* @return The bytes for jobRole.
*/
com.google.protobuf.ByteString
getJobRoleBytes();
/**
*
* This specifies user intent when registering on clarifai
*
*
* string intention = 24;
* @return The intention.
*/
java.lang.String getIntention();
/**
*
* This specifies user intent when registering on clarifai
*
*
* string intention = 24;
* @return The bytes for intention.
*/
com.google.protobuf.ByteString
getIntentionBytes();
/**
*
* This specifies how one got to know about clarifai
*
*
* string referral_source = 25;
* @return The referralSource.
*/
java.lang.String getReferralSource();
/**
*
* This specifies how one got to know about clarifai
*
*
* string referral_source = 25;
* @return The bytes for referralSource.
*/
com.google.protobuf.ByteString
getReferralSourceBytes();
/**
* string bill_type = 7 [deprecated = true];
* @deprecated clarifai.api.User.bill_type is deprecated.
* See proto/clarifai/api/resources.proto;l=2583
* @return The billType.
*/
@java.lang.Deprecated java.lang.String getBillType();
/**
* string bill_type = 7 [deprecated = true];
* @deprecated clarifai.api.User.bill_type is deprecated.
* See proto/clarifai/api/resources.proto;l=2583
* @return The bytes for billType.
*/
@java.lang.Deprecated com.google.protobuf.ByteString
getBillTypeBytes();
/**
*
* When the user was created. We follow the XXXX timestamp
* format. We use https://www.ietf.org/rfc/rfc3339.txt format:
* "2006-01-02T15:04:05.999999Z" so you can expect results like
* the following from the API:
* "2017-04-11T21:50:50.223962Z"
*
*
* .google.protobuf.Timestamp created_at = 6;
* @return Whether the createdAt field is set.
*/
boolean hasCreatedAt();
/**
*
* When the user was created. We follow the XXXX timestamp
* format. We use https://www.ietf.org/rfc/rfc3339.txt format:
* "2006-01-02T15:04:05.999999Z" so you can expect results like
* the following from the API:
* "2017-04-11T21:50:50.223962Z"
*
*
* .google.protobuf.Timestamp created_at = 6;
* @return The createdAt.
*/
com.google.protobuf.Timestamp getCreatedAt();
/**
*
* When the user was created. We follow the XXXX timestamp
* format. We use https://www.ietf.org/rfc/rfc3339.txt format:
* "2006-01-02T15:04:05.999999Z" so you can expect results like
* the following from the API:
* "2017-04-11T21:50:50.223962Z"
*
*
* .google.protobuf.Timestamp created_at = 6;
*/
com.google.protobuf.TimestampOrBuilder getCreatedAtOrBuilder();
/**
* .google.protobuf.Timestamp date_gdpr_consent = 8 [deprecated = true];
* @deprecated clarifai.api.User.date_gdpr_consent is deprecated.
* See proto/clarifai/api/resources.proto;l=2591
* @return Whether the dateGdprConsent field is set.
*/
@java.lang.Deprecated boolean hasDateGdprConsent();
/**
* .google.protobuf.Timestamp date_gdpr_consent = 8 [deprecated = true];
* @deprecated clarifai.api.User.date_gdpr_consent is deprecated.
* See proto/clarifai/api/resources.proto;l=2591
* @return The dateGdprConsent.
*/
@java.lang.Deprecated com.google.protobuf.Timestamp getDateGdprConsent();
/**
* .google.protobuf.Timestamp date_gdpr_consent = 8 [deprecated = true];
*/
@java.lang.Deprecated com.google.protobuf.TimestampOrBuilder getDateGdprConsentOrBuilder();
/**
* .google.protobuf.Timestamp date_tos_consent = 9 [deprecated = true];
* @deprecated clarifai.api.User.date_tos_consent is deprecated.
* See proto/clarifai/api/resources.proto;l=2592
* @return Whether the dateTosConsent field is set.
*/
@java.lang.Deprecated boolean hasDateTosConsent();
/**
* .google.protobuf.Timestamp date_tos_consent = 9 [deprecated = true];
* @deprecated clarifai.api.User.date_tos_consent is deprecated.
* See proto/clarifai/api/resources.proto;l=2592
* @return The dateTosConsent.
*/
@java.lang.Deprecated com.google.protobuf.Timestamp getDateTosConsent();
/**
* .google.protobuf.Timestamp date_tos_consent = 9 [deprecated = true];
*/
@java.lang.Deprecated com.google.protobuf.TimestampOrBuilder getDateTosConsentOrBuilder();
/**
* .google.protobuf.Timestamp date_marketing_consent = 10 [deprecated = true];
* @deprecated clarifai.api.User.date_marketing_consent is deprecated.
* See proto/clarifai/api/resources.proto;l=2593
* @return Whether the dateMarketingConsent field is set.
*/
@java.lang.Deprecated boolean hasDateMarketingConsent();
/**
* .google.protobuf.Timestamp date_marketing_consent = 10 [deprecated = true];
* @deprecated clarifai.api.User.date_marketing_consent is deprecated.
* See proto/clarifai/api/resources.proto;l=2593
* @return The dateMarketingConsent.
*/
@java.lang.Deprecated com.google.protobuf.Timestamp getDateMarketingConsent();
/**
* .google.protobuf.Timestamp date_marketing_consent = 10 [deprecated = true];
*/
@java.lang.Deprecated com.google.protobuf.TimestampOrBuilder getDateMarketingConsentOrBuilder();
/**
* .google.protobuf.Timestamp date_pii_consent = 23 [deprecated = true];
* @deprecated clarifai.api.User.date_pii_consent is deprecated.
* See proto/clarifai/api/resources.proto;l=2594
* @return Whether the datePiiConsent field is set.
*/
@java.lang.Deprecated boolean hasDatePiiConsent();
/**
* .google.protobuf.Timestamp date_pii_consent = 23 [deprecated = true];
* @deprecated clarifai.api.User.date_pii_consent is deprecated.
* See proto/clarifai/api/resources.proto;l=2594
* @return The datePiiConsent.
*/
@java.lang.Deprecated com.google.protobuf.Timestamp getDatePiiConsent();
/**
* .google.protobuf.Timestamp date_pii_consent = 23 [deprecated = true];
*/
@java.lang.Deprecated com.google.protobuf.TimestampOrBuilder getDatePiiConsentOrBuilder();
/**
*
* 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 = 11 [deprecated = true];
* @deprecated clarifai.api.User.metadata is deprecated.
* See proto/clarifai/api/resources.proto;l=2598
* @return Whether the metadata field is set.
*/
@java.lang.Deprecated boolean hasMetadata();
/**
*
* 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 = 11 [deprecated = true];
* @deprecated clarifai.api.User.metadata is deprecated.
* See proto/clarifai/api/resources.proto;l=2598
* @return The metadata.
*/
@java.lang.Deprecated com.google.protobuf.Struct getMetadata();
/**
*
* 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 = 11 [deprecated = true];
*/
@java.lang.Deprecated com.google.protobuf.StructOrBuilder getMetadataOrBuilder();
/**
* repeated .clarifai.api.EmailAddress email_addresses = 12 [deprecated = true];
*/
@java.lang.Deprecated java.util.List
getEmailAddressesList();
/**
* repeated .clarifai.api.EmailAddress email_addresses = 12 [deprecated = true];
*/
@java.lang.Deprecated com.clarifai.grpc.api.EmailAddress getEmailAddresses(int index);
/**
* repeated .clarifai.api.EmailAddress email_addresses = 12 [deprecated = true];
*/
@java.lang.Deprecated int getEmailAddressesCount();
/**
* repeated .clarifai.api.EmailAddress email_addresses = 12 [deprecated = true];
*/
@java.lang.Deprecated java.util.List extends com.clarifai.grpc.api.EmailAddressOrBuilder>
getEmailAddressesOrBuilderList();
/**
* repeated .clarifai.api.EmailAddress email_addresses = 12 [deprecated = true];
*/
@java.lang.Deprecated com.clarifai.grpc.api.EmailAddressOrBuilder getEmailAddressesOrBuilder(
int index);
/**
* bool two_factor_auth_enabled = 15 [deprecated = true];
* @deprecated clarifai.api.User.two_factor_auth_enabled is deprecated.
* See proto/clarifai/api/resources.proto;l=2601
* @return The twoFactorAuthEnabled.
*/
@java.lang.Deprecated boolean getTwoFactorAuthEnabled();
/**
* uint32 teams_count = 16 [deprecated = true];
* @deprecated clarifai.api.User.teams_count is deprecated.
* See proto/clarifai/api/resources.proto;l=2602
* @return The teamsCount.
*/
@java.lang.Deprecated int getTeamsCount();
/**
*
* Is starred by the requesting user (only showed on get/list requests)
* Please use PostUserStars/DeleteUserStars endpoints to star/unstar an user
*
*
* bool is_starred = 21;
* @return The isStarred.
*/
boolean getIsStarred();
/**
*
* How many users have starred the user (only showed on get/list requests)
* Computed value, not editable
*
*
* int32 star_count = 22;
* @return The starCount.
*/
int getStarCount();
/**
*
* The visibility field represents whether this message is privately/publicly visible.
* To be visible to the public the App that contains it AND the User that contains the App must
* also be publicly visible.
*
*
* .clarifai.api.Visibility visibility = 17;
* @return Whether the visibility field is set.
*/
boolean hasVisibility();
/**
*
* The visibility field represents whether this message is privately/publicly visible.
* To be visible to the public the App that contains it AND the User that contains the App must
* also be publicly visible.
*
*
* .clarifai.api.Visibility visibility = 17;
* @return The visibility.
*/
com.clarifai.grpc.api.Visibility getVisibility();
/**
*
* The visibility field represents whether this message is privately/publicly visible.
* To be visible to the public the App that contains it AND the User that contains the App must
* also be publicly visible.
*
*
* .clarifai.api.Visibility visibility = 17;
*/
com.clarifai.grpc.api.VisibilityOrBuilder getVisibilityOrBuilder();
/**
*
* This is all the personal information of a user. GetUser/ListUsers will not return this
* information unless the caller has the UserAccounts_Get scope on their key or is the user
* themselves.
*
*
* .clarifai.api.UserDetail user_detail = 18;
* @return Whether the userDetail field is set.
*/
boolean hasUserDetail();
/**
*
* This is all the personal information of a user. GetUser/ListUsers will not return this
* information unless the caller has the UserAccounts_Get scope on their key or is the user
* themselves.
*
*
* .clarifai.api.UserDetail user_detail = 18;
* @return The userDetail.
*/
com.clarifai.grpc.api.UserDetail getUserDetail();
/**
*
* This is all the personal information of a user. GetUser/ListUsers will not return this
* information unless the caller has the UserAccounts_Get scope on their key or is the user
* themselves.
*
*
* .clarifai.api.UserDetail user_detail = 18;
*/
com.clarifai.grpc.api.UserDetailOrBuilder getUserDetailOrBuilder();
}