Package com.buildless.accounts
Class UserReference
java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessageV3
com.buildless.accounts.UserReference
- All Implemented Interfaces:
UserReferenceOrBuilder,com.google.protobuf.Message,com.google.protobuf.MessageLite,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Serializable
public final class UserReference
extends com.google.protobuf.GeneratedMessageV3
implements UserReferenceOrBuilder
## User Reference Wraps a `UserID` along with details provided to display a given user account. This always includes a `uid` value, and a `display_name` value, along with any other attributes which are available (org, avatar, etc).Protobuf type
buildless.accounts.UserReference- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final class## User Reference Wraps a `UserID` along with details provided to display a given user account.Nested classes/interfaces inherited from class com.google.protobuf.GeneratedMessageV3
com.google.protobuf.GeneratedMessageV3.BuilderParent, com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>,BuilderT extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT, BuilderT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.FieldAccessorTable, com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter Nested classes/interfaces inherited from class com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessageLite.InternalOneOfEnum -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intFields inherited from class com.google.protobuf.GeneratedMessageV3
alwaysUseFieldBuilders, unknownFieldsFields inherited from class com.google.protobuf.AbstractMessage
memoizedSizeFields inherited from class com.google.protobuf.AbstractMessageLite
memoizedHashCode -
Method Summary
Modifier and TypeMethodDescriptionbooleanstatic UserReferencestatic final com.google.protobuf.Descriptors.DescriptorSpecifies a display name for a given user.com.google.protobuf.ByteStringSpecifies a display name for a given user.Key fingerprint for the user (for example, SSH or GPG key).com.google.protobuf.ByteStringKey fingerprint for the user (for example, SSH or GPG key).getOrg()Specifies an organization name for a given user.com.google.protobuf.ByteStringSpecifies an organization name for a given user.com.google.protobuf.Parser<UserReference>Specifies a picture for a given user.com.google.protobuf.ByteStringSpecifies a picture for a given user.intgetUid()Specifies the ID value for this user, also known as the "UID."Specifies the ID value for this user, also known as the "UID."Specifies a username for a given user.com.google.protobuf.ByteStringSpecifies a username for a given user.inthashCode()booleanhasUid()Specifies the ID value for this user, also known as the "UID."protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTablefinal booleanstatic UserReference.Builderstatic UserReference.BuildernewBuilder(UserReference prototype) protected UserReference.BuildernewBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) protected ObjectnewInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused) static UserReferenceparseDelimitedFrom(InputStream input) static UserReferenceparseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static UserReferenceparseFrom(byte[] data) static UserReferenceparseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static UserReferenceparseFrom(com.google.protobuf.ByteString data) static UserReferenceparseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static UserReferenceparseFrom(com.google.protobuf.CodedInputStream input) static UserReferenceparseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static UserReferenceparseFrom(InputStream input) static UserReferenceparseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static UserReferenceparseFrom(ByteBuffer data) static UserReferenceparseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static com.google.protobuf.Parser<UserReference>parser()voidwriteTo(com.google.protobuf.CodedOutputStream output) Methods inherited from class com.google.protobuf.GeneratedMessageV3
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, isStringEmpty, makeExtensionsImmutable, makeMutableCopy, makeMutableCopy, mergeFromAndMakeImmutableInternal, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, newBooleanList, newBuilderForType, newDoubleList, newFloatList, newIntList, newLongList, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTagMethods inherited from class com.google.protobuf.AbstractMessage
findInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite
addAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.MessageLite
toByteArray, toByteString, writeDelimitedTo, writeToMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Field Details
-
UID_FIELD_NUMBER
public static final int UID_FIELD_NUMBER- See Also:
-
DISPLAY_NAME_FIELD_NUMBER
public static final int DISPLAY_NAME_FIELD_NUMBER- See Also:
-
PICTURE_FIELD_NUMBER
public static final int PICTURE_FIELD_NUMBER- See Also:
-
USERNAME_FIELD_NUMBER
public static final int USERNAME_FIELD_NUMBER- See Also:
-
ORG_FIELD_NUMBER
public static final int ORG_FIELD_NUMBER- See Also:
-
FINGERPRINT_FIELD_NUMBER
public static final int FINGERPRINT_FIELD_NUMBER- See Also:
-
-
Method Details
-
newInstance
- Overrides:
newInstancein classcom.google.protobuf.GeneratedMessageV3
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessageV3
-
hasUid
public boolean hasUid()Specifies the ID value for this user, also known as the "UID."
.buildless.accounts.UserID uid = 1 [json_name = "uid"];- Specified by:
hasUidin interfaceUserReferenceOrBuilder- Returns:
- Whether the uid field is set.
-
getUid
Specifies the ID value for this user, also known as the "UID."
.buildless.accounts.UserID uid = 1 [json_name = "uid"];- Specified by:
getUidin interfaceUserReferenceOrBuilder- Returns:
- The uid.
-
getUidOrBuilder
Specifies the ID value for this user, also known as the "UID."
.buildless.accounts.UserID uid = 1 [json_name = "uid"];- Specified by:
getUidOrBuilderin interfaceUserReferenceOrBuilder
-
getDisplayName
Specifies a display name for a given user.
string display_name = 2 [json_name = "displayName"];- Specified by:
getDisplayNamein interfaceUserReferenceOrBuilder- Returns:
- The displayName.
-
getDisplayNameBytes
public com.google.protobuf.ByteString getDisplayNameBytes()Specifies a display name for a given user.
string display_name = 2 [json_name = "displayName"];- Specified by:
getDisplayNameBytesin interfaceUserReferenceOrBuilder- Returns:
- The bytes for displayName.
-
getPicture
Specifies a picture for a given user.
string picture = 3 [json_name = "picture"];- Specified by:
getPicturein interfaceUserReferenceOrBuilder- Returns:
- The picture.
-
getPictureBytes
public com.google.protobuf.ByteString getPictureBytes()Specifies a picture for a given user.
string picture = 3 [json_name = "picture"];- Specified by:
getPictureBytesin interfaceUserReferenceOrBuilder- Returns:
- The bytes for picture.
-
getUsername
Specifies a username for a given user.
string username = 4 [json_name = "username"];- Specified by:
getUsernamein interfaceUserReferenceOrBuilder- Returns:
- The username.
-
getUsernameBytes
public com.google.protobuf.ByteString getUsernameBytes()Specifies a username for a given user.
string username = 4 [json_name = "username"];- Specified by:
getUsernameBytesin interfaceUserReferenceOrBuilder- Returns:
- The bytes for username.
-
getOrg
Specifies an organization name for a given user.
string org = 5 [json_name = "org"];- Specified by:
getOrgin interfaceUserReferenceOrBuilder- Returns:
- The org.
-
getOrgBytes
public com.google.protobuf.ByteString getOrgBytes()Specifies an organization name for a given user.
string org = 5 [json_name = "org"];- Specified by:
getOrgBytesin interfaceUserReferenceOrBuilder- Returns:
- The bytes for org.
-
getFingerprint
Key fingerprint for the user (for example, SSH or GPG key).
string fingerprint = 6 [json_name = "fingerprint"];- Specified by:
getFingerprintin interfaceUserReferenceOrBuilder- Returns:
- The fingerprint.
-
getFingerprintBytes
public com.google.protobuf.ByteString getFingerprintBytes()Key fingerprint for the user (for example, SSH or GPG key).
string fingerprint = 6 [json_name = "fingerprint"];- Specified by:
getFingerprintBytesin interfaceUserReferenceOrBuilder- Returns:
- The bytes for fingerprint.
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3
-
writeTo
- Specified by:
writeToin interfacecom.google.protobuf.MessageLite- Overrides:
writeToin classcom.google.protobuf.GeneratedMessageV3- Throws:
IOException
-
getSerializedSize
public int getSerializedSize()- Specified by:
getSerializedSizein interfacecom.google.protobuf.MessageLite- Overrides:
getSerializedSizein classcom.google.protobuf.GeneratedMessageV3
-
equals
- Specified by:
equalsin interfacecom.google.protobuf.Message- Overrides:
equalsin classcom.google.protobuf.AbstractMessage
-
hashCode
public int hashCode()- Specified by:
hashCodein interfacecom.google.protobuf.Message- Overrides:
hashCodein classcom.google.protobuf.AbstractMessage
-
parseFrom
public static UserReference parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static UserReference parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static UserReference parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static UserReference parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static UserReference parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static UserReference parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
- Throws:
IOException
-
parseFrom
public static UserReference parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseDelimitedFrom
- Throws:
IOException
-
parseDelimitedFrom
public static UserReference parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseFrom
public static UserReference parseFrom(com.google.protobuf.CodedInputStream input) throws IOException - Throws:
IOException
-
parseFrom
public static UserReference parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
newBuilderForType
- Specified by:
newBuilderForTypein interfacecom.google.protobuf.Message- Specified by:
newBuilderForTypein interfacecom.google.protobuf.MessageLite
-
newBuilder
-
newBuilder
-
toBuilder
- Specified by:
toBuilderin interfacecom.google.protobuf.Message- Specified by:
toBuilderin interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected UserReference.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) - Specified by:
newBuilderForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstance
-
parser
-
getParserForType
- Specified by:
getParserForTypein interfacecom.google.protobuf.Message- Specified by:
getParserForTypein interfacecom.google.protobuf.MessageLite- Overrides:
getParserForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-