@Generated public final class UserLicense extends com.google.protobuf.GeneratedMessage implements UserLicenseOrBuilder
User License information assigned by the admin.Protobuf type
google.cloud.discoveryengine.v1.UserLicense| Modifier and Type | Class and Description |
|---|---|
static class |
UserLicense.Builder
User License information assigned by the admin.
|
static class |
UserLicense.LicenseAssignmentState
License assignment state enumeration.
|
com.google.protobuf.GeneratedMessage.ExtendableBuilder<MessageT extends com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT>,BuilderT extends com.google.protobuf.GeneratedMessage.ExtendableBuilder<MessageT,BuilderT>>, com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT extends com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessage.ExtendableMessageOrBuilder<MessageT extends com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessage.FieldAccessorTable, com.google.protobuf.GeneratedMessage.GeneratedExtension<ContainingT extends com.google.protobuf.Message,T>, com.google.protobuf.GeneratedMessage.UnusedPrivateParameter| Modifier and Type | Field and Description |
|---|---|
static int |
CREATE_TIME_FIELD_NUMBER |
static int |
LAST_LOGIN_TIME_FIELD_NUMBER |
static int |
LICENSE_ASSIGNMENT_STATE_FIELD_NUMBER |
static int |
LICENSE_CONFIG_FIELD_NUMBER |
static int |
UPDATE_TIME_FIELD_NUMBER |
static int |
USER_PRINCIPAL_FIELD_NUMBER |
static int |
USER_PROFILE_FIELD_NUMBER |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
com.google.protobuf.Timestamp |
getCreateTime()
Output only.
|
com.google.protobuf.TimestampOrBuilder |
getCreateTimeOrBuilder()
Output only.
|
static UserLicense |
getDefaultInstance() |
UserLicense |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Timestamp |
getLastLoginTime()
Output only.
|
com.google.protobuf.TimestampOrBuilder |
getLastLoginTimeOrBuilder()
Output only.
|
UserLicense.LicenseAssignmentState |
getLicenseAssignmentState()
Output only.
|
int |
getLicenseAssignmentStateValue()
Output only.
|
String |
getLicenseConfig()
Optional.
|
com.google.protobuf.ByteString |
getLicenseConfigBytes()
Optional.
|
com.google.protobuf.Parser<UserLicense> |
getParserForType() |
int |
getSerializedSize() |
com.google.protobuf.Timestamp |
getUpdateTime()
Output only.
|
com.google.protobuf.TimestampOrBuilder |
getUpdateTimeOrBuilder()
Output only.
|
String |
getUserPrincipal()
Required.
|
com.google.protobuf.ByteString |
getUserPrincipalBytes()
Required.
|
String |
getUserProfile()
Optional.
|
com.google.protobuf.ByteString |
getUserProfileBytes()
Optional.
|
boolean |
hasCreateTime()
Output only.
|
int |
hashCode() |
boolean |
hasLastLoginTime()
Output only.
|
boolean |
hasUpdateTime()
Output only.
|
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
static UserLicense.Builder |
newBuilder() |
static UserLicense.Builder |
newBuilder(UserLicense prototype) |
UserLicense.Builder |
newBuilderForType() |
protected UserLicense.Builder |
newBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent) |
static UserLicense |
parseDelimitedFrom(InputStream input) |
static UserLicense |
parseDelimitedFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static UserLicense |
parseFrom(byte[] data) |
static UserLicense |
parseFrom(byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static UserLicense |
parseFrom(ByteBuffer data) |
static UserLicense |
parseFrom(ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static UserLicense |
parseFrom(com.google.protobuf.ByteString data) |
static UserLicense |
parseFrom(com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static UserLicense |
parseFrom(com.google.protobuf.CodedInputStream input) |
static UserLicense |
parseFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static UserLicense |
parseFrom(InputStream input) |
static UserLicense |
parseFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static com.google.protobuf.Parser<UserLicense> |
parser() |
UserLicense.Builder |
toBuilder() |
void |
writeTo(com.google.protobuf.CodedOutputStream output) |
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, isStringEmpty, makeExtensionsImmutable, makeMutableCopy, makeMutableCopy, mergeFromAndMakeImmutableInternal, newFileScopedGeneratedExtension, newInstance, newMessageScopedGeneratedExtension, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTagfindInitializationErrors, getInitializationErrorString, hashFields, toStringaddAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToclone, finalize, getClass, notify, notifyAll, wait, wait, waitpublic static final int USER_PRINCIPAL_FIELD_NUMBER
public static final int USER_PROFILE_FIELD_NUMBER
public static final int LICENSE_ASSIGNMENT_STATE_FIELD_NUMBER
public static final int LICENSE_CONFIG_FIELD_NUMBER
public static final int CREATE_TIME_FIELD_NUMBER
public static final int UPDATE_TIME_FIELD_NUMBER
public static final int LAST_LOGIN_TIME_FIELD_NUMBER
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessagepublic String getUserPrincipal()
Required. Immutable. The user principal of the User, could be email address or other prinical identifier. This field is immutable. Admin assign licenses based on the user principal.
string user_principal = 1 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.field_behavior) = REQUIRED];
getUserPrincipal in interface UserLicenseOrBuilderpublic com.google.protobuf.ByteString getUserPrincipalBytes()
Required. Immutable. The user principal of the User, could be email address or other prinical identifier. This field is immutable. Admin assign licenses based on the user principal.
string user_principal = 1 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.field_behavior) = REQUIRED];
getUserPrincipalBytes in interface UserLicenseOrBuilderpublic String getUserProfile()
Optional. The user profile. We user user full name(First name + Last name) as user profile.
string user_profile = 3 [(.google.api.field_behavior) = OPTIONAL];getUserProfile in interface UserLicenseOrBuilderpublic com.google.protobuf.ByteString getUserProfileBytes()
Optional. The user profile. We user user full name(First name + Last name) as user profile.
string user_profile = 3 [(.google.api.field_behavior) = OPTIONAL];getUserProfileBytes in interface UserLicenseOrBuilderpublic int getLicenseAssignmentStateValue()
Output only. License assignment state of the user. If the user is assigned with a license config, the user loggin will be assigned with the license; If the user's license assignment state is unassigned or unspecified, no license config will be associated to the user;
.google.cloud.discoveryengine.v1.UserLicense.LicenseAssignmentState license_assignment_state = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
getLicenseAssignmentStateValue in interface UserLicenseOrBuilderpublic UserLicense.LicenseAssignmentState getLicenseAssignmentState()
Output only. License assignment state of the user. If the user is assigned with a license config, the user loggin will be assigned with the license; If the user's license assignment state is unassigned or unspecified, no license config will be associated to the user;
.google.cloud.discoveryengine.v1.UserLicense.LicenseAssignmentState license_assignment_state = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
getLicenseAssignmentState in interface UserLicenseOrBuilderpublic String getLicenseConfig()
Optional. The full resource name of the Subscription(LicenseConfig) assigned to the user.
string license_config = 5 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... }
getLicenseConfig in interface UserLicenseOrBuilderpublic com.google.protobuf.ByteString getLicenseConfigBytes()
Optional. The full resource name of the Subscription(LicenseConfig) assigned to the user.
string license_config = 5 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... }
getLicenseConfigBytes in interface UserLicenseOrBuilderpublic boolean hasCreateTime()
Output only. User created timestamp.
.google.protobuf.Timestamp create_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
hasCreateTime in interface UserLicenseOrBuilderpublic com.google.protobuf.Timestamp getCreateTime()
Output only. User created timestamp.
.google.protobuf.Timestamp create_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
getCreateTime in interface UserLicenseOrBuilderpublic com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder()
Output only. User created timestamp.
.google.protobuf.Timestamp create_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
getCreateTimeOrBuilder in interface UserLicenseOrBuilderpublic boolean hasUpdateTime()
Output only. User update timestamp.
.google.protobuf.Timestamp update_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
hasUpdateTime in interface UserLicenseOrBuilderpublic com.google.protobuf.Timestamp getUpdateTime()
Output only. User update timestamp.
.google.protobuf.Timestamp update_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
getUpdateTime in interface UserLicenseOrBuilderpublic com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder()
Output only. User update timestamp.
.google.protobuf.Timestamp update_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
getUpdateTimeOrBuilder in interface UserLicenseOrBuilderpublic boolean hasLastLoginTime()
Output only. User last logged in time. If the user has not logged in yet, this field will be empty.
.google.protobuf.Timestamp last_login_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
hasLastLoginTime in interface UserLicenseOrBuilderpublic com.google.protobuf.Timestamp getLastLoginTime()
Output only. User last logged in time. If the user has not logged in yet, this field will be empty.
.google.protobuf.Timestamp last_login_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
getLastLoginTime in interface UserLicenseOrBuilderpublic com.google.protobuf.TimestampOrBuilder getLastLoginTimeOrBuilder()
Output only. User last logged in time. If the user has not logged in yet, this field will be empty.
.google.protobuf.Timestamp last_login_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
getLastLoginTimeOrBuilder in interface UserLicenseOrBuilderpublic final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessagepublic void writeTo(com.google.protobuf.CodedOutputStream output)
throws IOException
writeTo in interface com.google.protobuf.MessageLitewriteTo in class com.google.protobuf.GeneratedMessageIOExceptionpublic int getSerializedSize()
getSerializedSize in interface com.google.protobuf.MessageLitegetSerializedSize in class com.google.protobuf.GeneratedMessagepublic boolean equals(Object obj)
equals in interface com.google.protobuf.Messageequals in class com.google.protobuf.AbstractMessagepublic int hashCode()
hashCode in interface com.google.protobuf.MessagehashCode in class com.google.protobuf.AbstractMessagepublic static UserLicense parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static UserLicense parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static UserLicense parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static UserLicense parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static UserLicense parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static UserLicense parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static UserLicense parseFrom(InputStream input) throws IOException
IOExceptionpublic static UserLicense parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static UserLicense parseDelimitedFrom(InputStream input) throws IOException
IOExceptionpublic static UserLicense parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static UserLicense parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
IOExceptionpublic static UserLicense parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic UserLicense.Builder newBuilderForType()
newBuilderForType in interface com.google.protobuf.MessagenewBuilderForType in interface com.google.protobuf.MessageLitepublic static UserLicense.Builder newBuilder()
public static UserLicense.Builder newBuilder(UserLicense prototype)
public UserLicense.Builder toBuilder()
toBuilder in interface com.google.protobuf.MessagetoBuilder in interface com.google.protobuf.MessageLiteprotected UserLicense.Builder newBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent)
newBuilderForType in class com.google.protobuf.AbstractMessagepublic static UserLicense getDefaultInstance()
public static com.google.protobuf.Parser<UserLicense> parser()
public com.google.protobuf.Parser<UserLicense> getParserForType()
getParserForType in interface com.google.protobuf.MessagegetParserForType in interface com.google.protobuf.MessageLitegetParserForType in class com.google.protobuf.GeneratedMessagepublic UserLicense getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderCopyright © 2026 Google LLC. All rights reserved.