- 0.60.0 (latest)
- 0.59.0
- 0.58.0
- 0.56.0
- 0.55.0
- 0.54.0
- 0.53.0
- 0.52.0
- 0.51.0
- 0.50.0
- 0.49.0
- 0.48.0
- 0.47.0
- 0.45.0
- 0.44.0
- 0.43.0
- 0.42.0
- 0.41.0
- 0.40.0
- 0.39.0
- 0.38.0
- 0.37.0
- 0.36.0
- 0.35.0
- 0.33.0
- 0.32.0
- 0.31.0
- 0.30.0
- 0.29.0
- 0.28.0
- 0.27.0
- 0.26.0
- 0.25.0
- 0.24.0
- 0.23.0
- 0.20.0
- 0.19.0
- 0.18.0
- 0.17.0
- 0.16.0
- 0.15.0
- 0.14.0
- 0.13.0
- 0.12.0
- 0.11.0
- 0.10.0
- 0.9.0
- 0.8.0
- 0.7.0
- 0.5.0
- 0.4.0
- 0.3.0
- 0.2.0
- 0.1.0
public static final class UserLicense.Builder extends GeneratedMessageV3.Builder<UserLicense.Builder> implements UserLicenseOrBuilder
User License information assigned by the admin.
Protobuf type google.cloud.discoveryengine.v1.UserLicense
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > UserLicense.BuilderImplements
UserLicenseOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns | |
---|---|
Type | Description |
Descriptor |
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public UserLicense.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
value |
Object |
Returns | |
---|---|
Type | Description |
UserLicense.Builder |
build()
public UserLicense build()
Returns | |
---|---|
Type | Description |
UserLicense |
buildPartial()
public UserLicense buildPartial()
Returns | |
---|---|
Type | Description |
UserLicense |
clear()
public UserLicense.Builder clear()
Returns | |
---|---|
Type | Description |
UserLicense.Builder |
clearCreateTime()
public UserLicense.Builder clearCreateTime()
Output only. User created timestamp.
.google.protobuf.Timestamp create_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns | |
---|---|
Type | Description |
UserLicense.Builder |
clearField(Descriptors.FieldDescriptor field)
public UserLicense.Builder clearField(Descriptors.FieldDescriptor field)
Parameter | |
---|---|
Name | Description |
field |
FieldDescriptor |
Returns | |
---|---|
Type | Description |
UserLicense.Builder |
clearLastLoginTime()
public UserLicense.Builder clearLastLoginTime()
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 |
UserLicense.Builder |
clearLicenseAssignmentState()
public UserLicense.Builder clearLicenseAssignmentState()
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.Builder |
This builder for chaining. |
clearLicenseConfig()
public UserLicense.Builder clearLicenseConfig()
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 |
UserLicense.Builder |
This builder for chaining. |
clearOneof(Descriptors.OneofDescriptor oneof)
public UserLicense.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter | |
---|---|
Name | Description |
oneof |
OneofDescriptor |
Returns | |
---|---|
Type | Description |
UserLicense.Builder |
clearUpdateTime()
public UserLicense.Builder clearUpdateTime()
Output only. User update timestamp.
.google.protobuf.Timestamp update_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns | |
---|---|
Type | Description |
UserLicense.Builder |
clearUserPrincipal()
public UserLicense.Builder clearUserPrincipal()
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 |
UserLicense.Builder |
This builder for chaining. |
clearUserProfile()
public UserLicense.Builder clearUserProfile()
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 |
UserLicense.Builder |
This builder for chaining. |
clone()
public UserLicense.Builder clone()
Returns | |
---|---|
Type | Description |
UserLicense.Builder |
getCreateTime()
public 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. |
getCreateTimeBuilder()
public Timestamp.Builder getCreateTimeBuilder()
Output only. User created timestamp.
.google.protobuf.Timestamp create_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns | |
---|---|
Type | Description |
Builder |
getCreateTimeOrBuilder()
public TimestampOrBuilder getCreateTimeOrBuilder()
Output only. User created timestamp.
.google.protobuf.Timestamp create_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns | |
---|---|
Type | Description |
TimestampOrBuilder |
getDefaultInstanceForType()
public UserLicense getDefaultInstanceForType()
Returns | |
---|---|
Type | Description |
UserLicense |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns | |
---|---|
Type | Description |
Descriptor |
getLastLoginTime()
public 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. |
getLastLoginTimeBuilder()
public Timestamp.Builder getLastLoginTimeBuilder()
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 |
Builder |
getLastLoginTimeOrBuilder()
public 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 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 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 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 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 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. |
getUpdateTimeBuilder()
public Timestamp.Builder getUpdateTimeBuilder()
Output only. User update timestamp.
.google.protobuf.Timestamp update_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns | |
---|---|
Type | Description |
Builder |
getUpdateTimeOrBuilder()
public 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 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 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 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 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 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 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 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. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns | |
---|---|
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
Returns | |
---|---|
Type | Description |
boolean |
mergeCreateTime(Timestamp value)
public UserLicense.Builder mergeCreateTime(Timestamp value)
Output only. User created timestamp.
.google.protobuf.Timestamp create_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
Parameter | |
---|---|
Name | Description |
value |
Timestamp |
Returns | |
---|---|
Type | Description |
UserLicense.Builder |
mergeFrom(UserLicense other)
public UserLicense.Builder mergeFrom(UserLicense other)
Parameter | |
---|---|
Name | Description |
other |
UserLicense |
Returns | |
---|---|
Type | Description |
UserLicense.Builder |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public UserLicense.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
UserLicense.Builder |
Exceptions | |
---|---|
Type | Description |
IOException |
mergeFrom(Message other)
public UserLicense.Builder mergeFrom(Message other)
Parameter | |
---|---|
Name | Description |
other |
Message |
Returns | |
---|---|
Type | Description |
UserLicense.Builder |
mergeLastLoginTime(Timestamp value)
public UserLicense.Builder mergeLastLoginTime(Timestamp value)
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];
Parameter | |
---|---|
Name | Description |
value |
Timestamp |
Returns | |
---|---|
Type | Description |
UserLicense.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final UserLicense.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields |
UnknownFieldSet |
Returns | |
---|---|
Type | Description |
UserLicense.Builder |
mergeUpdateTime(Timestamp value)
public UserLicense.Builder mergeUpdateTime(Timestamp value)
Output only. User update timestamp.
.google.protobuf.Timestamp update_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
Parameter | |
---|---|
Name | Description |
value |
Timestamp |
Returns | |
---|---|
Type | Description |
UserLicense.Builder |
setCreateTime(Timestamp value)
public UserLicense.Builder setCreateTime(Timestamp value)
Output only. User created timestamp.
.google.protobuf.Timestamp create_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
Parameter | |
---|---|
Name | Description |
value |
Timestamp |
Returns | |
---|---|
Type | Description |
UserLicense.Builder |
setCreateTime(Timestamp.Builder builderForValue)
public UserLicense.Builder setCreateTime(Timestamp.Builder builderForValue)
Output only. User created timestamp.
.google.protobuf.Timestamp create_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
Parameter | |
---|---|
Name | Description |
builderForValue |
Builder |
Returns | |
---|---|
Type | Description |
UserLicense.Builder |
setField(Descriptors.FieldDescriptor field, Object value)
public UserLicense.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
value |
Object |
Returns | |
---|---|
Type | Description |
UserLicense.Builder |
setLastLoginTime(Timestamp value)
public UserLicense.Builder setLastLoginTime(Timestamp value)
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];
Parameter | |
---|---|
Name | Description |
value |
Timestamp |
Returns | |
---|---|
Type | Description |
UserLicense.Builder |
setLastLoginTime(Timestamp.Builder builderForValue)
public UserLicense.Builder setLastLoginTime(Timestamp.Builder builderForValue)
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];
Parameter | |
---|---|
Name | Description |
builderForValue |
Builder |
Returns | |
---|---|
Type | Description |
UserLicense.Builder |
setLicenseAssignmentState(UserLicense.LicenseAssignmentState value)
public UserLicense.Builder setLicenseAssignmentState(UserLicense.LicenseAssignmentState value)
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];
Parameter | |
---|---|
Name | Description |
value |
UserLicense.LicenseAssignmentState The licenseAssignmentState to set. |
Returns | |
---|---|
Type | Description |
UserLicense.Builder |
This builder for chaining. |
setLicenseAssignmentStateValue(int value)
public UserLicense.Builder setLicenseAssignmentStateValue(int value)
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];
Parameter | |
---|---|
Name | Description |
value |
int The enum numeric value on the wire for licenseAssignmentState to set. |
Returns | |
---|---|
Type | Description |
UserLicense.Builder |
This builder for chaining. |
setLicenseConfig(String value)
public UserLicense.Builder setLicenseConfig(String value)
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) = { ... }
Parameter | |
---|---|
Name | Description |
value |
String The licenseConfig to set. |
Returns | |
---|---|
Type | Description |
UserLicense.Builder |
This builder for chaining. |
setLicenseConfigBytes(ByteString value)
public UserLicense.Builder setLicenseConfigBytes(ByteString value)
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) = { ... }
Parameter | |
---|---|
Name | Description |
value |
ByteString The bytes for licenseConfig to set. |
Returns | |
---|---|
Type | Description |
UserLicense.Builder |
This builder for chaining. |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public UserLicense.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
index |
int |
value |
Object |
Returns | |
---|---|
Type | Description |
UserLicense.Builder |
setUnknownFields(UnknownFieldSet unknownFields)
public final UserLicense.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields |
UnknownFieldSet |
Returns | |
---|---|
Type | Description |
UserLicense.Builder |
setUpdateTime(Timestamp value)
public UserLicense.Builder setUpdateTime(Timestamp value)
Output only. User update timestamp.
.google.protobuf.Timestamp update_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
Parameter | |
---|---|
Name | Description |
value |
Timestamp |
Returns | |
---|---|
Type | Description |
UserLicense.Builder |
setUpdateTime(Timestamp.Builder builderForValue)
public UserLicense.Builder setUpdateTime(Timestamp.Builder builderForValue)
Output only. User update timestamp.
.google.protobuf.Timestamp update_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
Parameter | |
---|---|
Name | Description |
builderForValue |
Builder |
Returns | |
---|---|
Type | Description |
UserLicense.Builder |
setUserPrincipal(String value)
public UserLicense.Builder setUserPrincipal(String value)
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];
Parameter | |
---|---|
Name | Description |
value |
String The userPrincipal to set. |
Returns | |
---|---|
Type | Description |
UserLicense.Builder |
This builder for chaining. |
setUserPrincipalBytes(ByteString value)
public UserLicense.Builder setUserPrincipalBytes(ByteString value)
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];
Parameter | |
---|---|
Name | Description |
value |
ByteString The bytes for userPrincipal to set. |
Returns | |
---|---|
Type | Description |
UserLicense.Builder |
This builder for chaining. |
setUserProfile(String value)
public UserLicense.Builder setUserProfile(String value)
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];
Parameter | |
---|---|
Name | Description |
value |
String The userProfile to set. |
Returns | |
---|---|
Type | Description |
UserLicense.Builder |
This builder for chaining. |
setUserProfileBytes(ByteString value)
public UserLicense.Builder setUserProfileBytes(ByteString value)
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];
Parameter | |
---|---|
Name | Description |
value |
ByteString The bytes for userProfile to set. |
Returns | |
---|---|
Type | Description |
UserLicense.Builder |
This builder for chaining. |