Class UserStore.Builder (0.90.0)

public static final class UserStore.Builder extends GeneratedMessage.Builder<UserStore.Builder> implements UserStoreOrBuilder

Configures metadata that is used for End User entities.

Protobuf type google.cloud.discoveryengine.v1beta.UserStore

Implements

UserStoreOrBuilder

Static 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
Overrides

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
Overrides

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
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

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
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public UserStore.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
UserStore.Builder
Overrides

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 String

The 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 ByteString

The 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 String

The 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 ByteString

The 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 boolean

The 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 boolean

The 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 String

The 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 ByteString

The bytes for name to set.

Returns
Type Description
UserStore.Builder

This builder for chaining.