Class UserStore (0.90.0)

public final class UserStore extends GeneratedMessage implements UserStoreOrBuilder

Configures metadata that is used for End User entities.

Protobuf type google.cloud.discoveryengine.v1beta.UserStore

Implements

UserStoreOrBuilder

Static Fields

DEFAULT_LICENSE_CONFIG_FIELD_NUMBER

public static final int DEFAULT_LICENSE_CONFIG_FIELD_NUMBER
Field Value
Type Description
int

DISPLAY_NAME_FIELD_NUMBER

public static final int DISPLAY_NAME_FIELD_NUMBER
Field Value
Type Description
int

ENABLE_EXPIRED_LICENSE_AUTO_UPDATE_FIELD_NUMBER

public static final int ENABLE_EXPIRED_LICENSE_AUTO_UPDATE_FIELD_NUMBER
Field Value
Type Description
int

ENABLE_LICENSE_AUTO_REGISTER_FIELD_NUMBER

public static final int ENABLE_LICENSE_AUTO_REGISTER_FIELD_NUMBER
Field Value
Type Description
int

NAME_FIELD_NUMBER

public static final int NAME_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static UserStore getDefaultInstance()
Returns
Type Description
UserStore

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

newBuilder()

public static UserStore.Builder newBuilder()
Returns
Type Description
UserStore.Builder

newBuilder(UserStore prototype)

public static UserStore.Builder newBuilder(UserStore prototype)
Parameter
Name Description
prototype UserStore
Returns
Type Description
UserStore.Builder

parseDelimitedFrom(InputStream input)

public static UserStore parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
UserStore
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static UserStore parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
UserStore
Exceptions
Type Description
IOException

parseFrom(byte[] data)

public static UserStore parseFrom(byte[] data)
Parameter
Name Description
data byte[]
Returns
Type Description
UserStore
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static UserStore parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data byte[]
extensionRegistry ExtensionRegistryLite
Returns
Type Description
UserStore
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data)

public static UserStore parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
UserStore
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static UserStore parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteString
extensionRegistry ExtensionRegistryLite
Returns
Type Description
UserStore
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static UserStore parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
UserStore
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static UserStore parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
UserStore
Exceptions
Type Description
IOException

parseFrom(InputStream input)

public static UserStore parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
UserStore
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static UserStore parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
UserStore
Exceptions
Type Description
IOException

parseFrom(ByteBuffer data)

public static UserStore parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
UserStore
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static UserStore parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteBuffer
extensionRegistry ExtensionRegistryLite
Returns
Type Description
UserStore
Exceptions
Type Description
InvalidProtocolBufferException

parser()

public static Parser<UserStore> parser()
Returns
Type Description
Parser<UserStore>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
Overrides

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.

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.

getParserForType()

public Parser<UserStore> getParserForType()
Returns
Type Description
Parser<UserStore>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

public UserStore.Builder newBuilderForType()
Returns
Type Description
UserStore.Builder

newBuilderForType(AbstractMessage.BuilderParent parent)

protected UserStore.Builder newBuilderForType(AbstractMessage.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
UserStore.Builder
Overrides

toBuilder()

public UserStore.Builder toBuilder()
Returns
Type Description
UserStore.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
Name Description
output CodedOutputStream
Overrides
Exceptions
Type Description
IOException