Interface UserLicenseOrBuilder (0.60.0)

public interface UserLicenseOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getCreateTime()

public abstract Timestamp getCreateTime()

Output only. User created timestamp.

.google.protobuf.Timestamp create_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
Timestamp

The createTime.

getCreateTimeOrBuilder()

public abstract TimestampOrBuilder getCreateTimeOrBuilder()

Output only. User created timestamp.

.google.protobuf.Timestamp create_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
TimestampOrBuilder

getLastLoginTime()

public abstract 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];

Returns
Type Description
Timestamp

The lastLoginTime.

getLastLoginTimeOrBuilder()

public abstract 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];

Returns
Type Description
TimestampOrBuilder

getLicenseAssignmentState()

public abstract 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];

Returns
Type Description
UserLicense.LicenseAssignmentState

The licenseAssignmentState.

getLicenseAssignmentStateValue()

public abstract 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];

Returns
Type Description
int

The enum numeric value on the wire for licenseAssignmentState.

getLicenseConfig()

public abstract 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) = { ... }

Returns
Type Description
String

The licenseConfig.

getLicenseConfigBytes()

public abstract 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) = { ... }

Returns
Type Description
ByteString

The bytes for licenseConfig.

getUpdateTime()

public abstract Timestamp getUpdateTime()

Output only. User update timestamp.

.google.protobuf.Timestamp update_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
Timestamp

The updateTime.

getUpdateTimeOrBuilder()

public abstract TimestampOrBuilder getUpdateTimeOrBuilder()

Output only. User update timestamp.

.google.protobuf.Timestamp update_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
TimestampOrBuilder

getUserPrincipal()

public abstract 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];

Returns
Type Description
String

The userPrincipal.

getUserPrincipalBytes()

public abstract 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];

Returns
Type Description
ByteString

The bytes for userPrincipal.

getUserProfile()

public abstract 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];

Returns
Type Description
String

The userProfile.

getUserProfileBytes()

public abstract 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];

Returns
Type Description
ByteString

The bytes for userProfile.

hasCreateTime()

public abstract boolean hasCreateTime()

Output only. User created timestamp.

.google.protobuf.Timestamp create_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
boolean

Whether the createTime field is set.

hasLastLoginTime()

public abstract 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];

Returns
Type Description
boolean

Whether the lastLoginTime field is set.

hasUpdateTime()

public abstract boolean hasUpdateTime()

Output only. User update timestamp.

.google.protobuf.Timestamp update_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
boolean

Whether the updateTime field is set.