public static final class UserStore.Builder extends GeneratedMessage.Builder<UserStore.Builder> implements UserStoreOrBuilderConfigures metadata that is used for End User entities.
Protobuf type google.cloud.discoveryengine.v1beta.UserStore
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > UserStore.BuilderImplements
UserStoreOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
build()
public UserStore build()| Returns | |
|---|---|
| Type | Description |
UserStore |
|
buildPartial()
public UserStore buildPartial()| Returns | |
|---|---|
| Type | Description |
UserStore |
|
clear()
public UserStore.Builder clear()| Returns | |
|---|---|
| Type | Description |
UserStore.Builder |
|
clearDefaultLicenseConfig()
public UserStore.Builder clearDefaultLicenseConfig()Optional. The default subscription LicenseConfig for the UserStore, if UserStore.enable_license_auto_register is true, new users will automatically register under the default subscription.
If default
LicenseConfig doesn't
have remaining license seats left, new users will not be assigned with
license and will be blocked for Vertex AI Search features. This is used if
license_assignment_tier_rules is not configured.
string default_license_config = 5 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... }
| Returns | |
|---|---|
| Type | Description |
UserStore.Builder |
This builder for chaining. |
clearDisplayName()
public UserStore.Builder clearDisplayName()The display name of the User Store.
string display_name = 2;
| Returns | |
|---|---|
| Type | Description |
UserStore.Builder |
This builder for chaining. |
clearEnableExpiredLicenseAutoUpdate()
public UserStore.Builder clearEnableExpiredLicenseAutoUpdate()Optional. Whether to enable license auto update for users in this User Store. If true, users with expired licenses will automatically be updated to use the default license config as long as the default license config has seats left.
bool enable_expired_license_auto_update = 7 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
UserStore.Builder |
This builder for chaining. |
clearEnableLicenseAutoRegister()
public UserStore.Builder clearEnableLicenseAutoRegister()Optional. Whether to enable license auto register for users in this User Store. If true, new users will automatically register under the default license config as long as the default license config has seats left.
bool enable_license_auto_register = 6 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
UserStore.Builder |
This builder for chaining. |
clearName()
public UserStore.Builder clearName() Immutable. The full resource name of the User Store, in the format of
projects/{project}/locations/{location}/userStores/{user_store}.
This field must be a UTF-8 encoded string with a length limit of 1024 characters.
string name = 1 [(.google.api.field_behavior) = IMMUTABLE];
| Returns | |
|---|---|
| Type | Description |
UserStore.Builder |
This builder for chaining. |
getDefaultInstanceForType()
public UserStore getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
UserStore |
|
getDefaultLicenseConfig()
public String getDefaultLicenseConfig()Optional. The default subscription LicenseConfig for the UserStore, if UserStore.enable_license_auto_register is true, new users will automatically register under the default subscription.
If default
LicenseConfig doesn't
have remaining license seats left, new users will not be assigned with
license and will be blocked for Vertex AI Search features. This is used if
license_assignment_tier_rules is not configured.
string default_license_config = 5 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... }
| Returns | |
|---|---|
| Type | Description |
String |
The defaultLicenseConfig. |
getDefaultLicenseConfigBytes()
public ByteString getDefaultLicenseConfigBytes()Optional. The default subscription LicenseConfig for the UserStore, if UserStore.enable_license_auto_register is true, new users will automatically register under the default subscription.
If default
LicenseConfig doesn't
have remaining license seats left, new users will not be assigned with
license and will be blocked for Vertex AI Search features. This is used if
license_assignment_tier_rules is not configured.
string default_license_config = 5 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... }
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for defaultLicenseConfig. |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
getDisplayName()
public String getDisplayName()The display name of the User Store.
string display_name = 2;
| Returns | |
|---|---|
| Type | Description |
String |
The displayName. |
getDisplayNameBytes()
public ByteString getDisplayNameBytes()The display name of the User Store.
string display_name = 2;
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for displayName. |
getEnableExpiredLicenseAutoUpdate()
public boolean getEnableExpiredLicenseAutoUpdate()Optional. Whether to enable license auto update for users in this User Store. If true, users with expired licenses will automatically be updated to use the default license config as long as the default license config has seats left.
bool enable_expired_license_auto_update = 7 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
boolean |
The enableExpiredLicenseAutoUpdate. |
getEnableLicenseAutoRegister()
public boolean getEnableLicenseAutoRegister()Optional. Whether to enable license auto register for users in this User Store. If true, new users will automatically register under the default license config as long as the default license config has seats left.
bool enable_license_auto_register = 6 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
boolean |
The enableLicenseAutoRegister. |
getName()
public String getName() Immutable. The full resource name of the User Store, in the format of
projects/{project}/locations/{location}/userStores/{user_store}.
This field must be a UTF-8 encoded string with a length limit of 1024 characters.
string name = 1 [(.google.api.field_behavior) = IMMUTABLE];
| Returns | |
|---|---|
| Type | Description |
String |
The name. |
getNameBytes()
public ByteString getNameBytes() Immutable. The full resource name of the User Store, in the format of
projects/{project}/locations/{location}/userStores/{user_store}.
This field must be a UTF-8 encoded string with a length limit of 1024 characters.
string name = 1 [(.google.api.field_behavior) = IMMUTABLE];
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for name. |
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
mergeFrom(UserStore other)
public UserStore.Builder mergeFrom(UserStore other)| Parameter | |
|---|---|
| Name | Description |
other |
UserStore |
| Returns | |
|---|---|
| Type | Description |
UserStore.Builder |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public UserStore.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
UserStore.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public UserStore.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
UserStore.Builder |
|
setDefaultLicenseConfig(String value)
public UserStore.Builder setDefaultLicenseConfig(String value)Optional. The default subscription LicenseConfig for the UserStore, if UserStore.enable_license_auto_register is true, new users will automatically register under the default subscription.
If default
LicenseConfig doesn't
have remaining license seats left, new users will not be assigned with
license and will be blocked for Vertex AI Search features. This is used if
license_assignment_tier_rules is not configured.
string default_license_config = 5 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... }
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe defaultLicenseConfig to set. |
| Returns | |
|---|---|
| Type | Description |
UserStore.Builder |
This builder for chaining. |
setDefaultLicenseConfigBytes(ByteString value)
public UserStore.Builder setDefaultLicenseConfigBytes(ByteString value)Optional. The default subscription LicenseConfig for the UserStore, if UserStore.enable_license_auto_register is true, new users will automatically register under the default subscription.
If default
LicenseConfig doesn't
have remaining license seats left, new users will not be assigned with
license and will be blocked for Vertex AI Search features. This is used if
license_assignment_tier_rules is not configured.
string default_license_config = 5 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... }
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for defaultLicenseConfig to set. |
| Returns | |
|---|---|
| Type | Description |
UserStore.Builder |
This builder for chaining. |
setDisplayName(String value)
public UserStore.Builder setDisplayName(String value)The display name of the User Store.
string display_name = 2;
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe displayName to set. |
| Returns | |
|---|---|
| Type | Description |
UserStore.Builder |
This builder for chaining. |
setDisplayNameBytes(ByteString value)
public UserStore.Builder setDisplayNameBytes(ByteString value)The display name of the User Store.
string display_name = 2;
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for displayName to set. |
| Returns | |
|---|---|
| Type | Description |
UserStore.Builder |
This builder for chaining. |
setEnableExpiredLicenseAutoUpdate(boolean value)
public UserStore.Builder setEnableExpiredLicenseAutoUpdate(boolean value)Optional. Whether to enable license auto update for users in this User Store. If true, users with expired licenses will automatically be updated to use the default license config as long as the default license config has seats left.
bool enable_expired_license_auto_update = 7 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
value |
booleanThe enableExpiredLicenseAutoUpdate to set. |
| Returns | |
|---|---|
| Type | Description |
UserStore.Builder |
This builder for chaining. |
setEnableLicenseAutoRegister(boolean value)
public UserStore.Builder setEnableLicenseAutoRegister(boolean value)Optional. Whether to enable license auto register for users in this User Store. If true, new users will automatically register under the default license config as long as the default license config has seats left.
bool enable_license_auto_register = 6 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
value |
booleanThe enableLicenseAutoRegister to set. |
| Returns | |
|---|---|
| Type | Description |
UserStore.Builder |
This builder for chaining. |
setName(String value)
public UserStore.Builder setName(String value) Immutable. The full resource name of the User Store, in the format of
projects/{project}/locations/{location}/userStores/{user_store}.
This field must be a UTF-8 encoded string with a length limit of 1024 characters.
string name = 1 [(.google.api.field_behavior) = IMMUTABLE];
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe name to set. |
| Returns | |
|---|---|
| Type | Description |
UserStore.Builder |
This builder for chaining. |
setNameBytes(ByteString value)
public UserStore.Builder setNameBytes(ByteString value) Immutable. The full resource name of the User Store, in the format of
projects/{project}/locations/{location}/userStores/{user_store}.
This field must be a UTF-8 encoded string with a length limit of 1024 characters.
string name = 1 [(.google.api.field_behavior) = IMMUTABLE];
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for name to set. |
| Returns | |
|---|---|
| Type | Description |
UserStore.Builder |
This builder for chaining. |