Class IdentityMappingStore.Builder (0.60.0)

public static final class IdentityMappingStore.Builder extends GeneratedMessageV3.Builder<IdentityMappingStore.Builder> implements IdentityMappingStoreOrBuilder

Identity Mapping Store which contains Identity Mapping Entries.

Protobuf type google.cloud.discoveryengine.v1.IdentityMappingStore

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public IdentityMappingStore.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
IdentityMappingStore.Builder
Overrides

build()

public IdentityMappingStore build()
Returns
Type Description
IdentityMappingStore

buildPartial()

public IdentityMappingStore buildPartial()
Returns
Type Description
IdentityMappingStore

clear()

public IdentityMappingStore.Builder clear()
Returns
Type Description
IdentityMappingStore.Builder
Overrides

clearCmekConfig()

public IdentityMappingStore.Builder clearCmekConfig()

Output only. CMEK-related information for the Identity Mapping Store.

.google.cloud.discoveryengine.v1.CmekConfig cmek_config = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
IdentityMappingStore.Builder

clearField(Descriptors.FieldDescriptor field)

public IdentityMappingStore.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
IdentityMappingStore.Builder
Overrides

clearKmsKeyName()

public IdentityMappingStore.Builder clearKmsKeyName()

Input only. The KMS key to be used to protect this Identity Mapping Store at creation time.

Must be set for requests that need to comply with CMEK Org Policy protections.

If this field is set and processed successfully, the Identity Mapping Store will be protected by the KMS key, as indicated in the cmek_config field.

string kms_key_name = 3 [(.google.api.field_behavior) = INPUT_ONLY];

Returns
Type Description
IdentityMappingStore.Builder

This builder for chaining.

clearName()

public IdentityMappingStore.Builder clearName()

Immutable. The full resource name of the identity mapping store. Format: projects/{project}/locations/{location}/identityMappingStores/{identity_mapping_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
IdentityMappingStore.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

public IdentityMappingStore.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
IdentityMappingStore.Builder
Overrides

clone()

public IdentityMappingStore.Builder clone()
Returns
Type Description
IdentityMappingStore.Builder
Overrides

getCmekConfig()

public CmekConfig getCmekConfig()

Output only. CMEK-related information for the Identity Mapping Store.

.google.cloud.discoveryengine.v1.CmekConfig cmek_config = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
CmekConfig

The cmekConfig.

getCmekConfigBuilder()

public CmekConfig.Builder getCmekConfigBuilder()

Output only. CMEK-related information for the Identity Mapping Store.

.google.cloud.discoveryengine.v1.CmekConfig cmek_config = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
CmekConfig.Builder

getCmekConfigOrBuilder()

public CmekConfigOrBuilder getCmekConfigOrBuilder()

Output only. CMEK-related information for the Identity Mapping Store.

.google.cloud.discoveryengine.v1.CmekConfig cmek_config = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
CmekConfigOrBuilder

getDefaultInstanceForType()

public IdentityMappingStore getDefaultInstanceForType()
Returns
Type Description
IdentityMappingStore

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

getKmsKeyName()

public String getKmsKeyName()

Input only. The KMS key to be used to protect this Identity Mapping Store at creation time.

Must be set for requests that need to comply with CMEK Org Policy protections.

If this field is set and processed successfully, the Identity Mapping Store will be protected by the KMS key, as indicated in the cmek_config field.

string kms_key_name = 3 [(.google.api.field_behavior) = INPUT_ONLY];

Returns
Type Description
String

The kmsKeyName.

getKmsKeyNameBytes()

public ByteString getKmsKeyNameBytes()

Input only. The KMS key to be used to protect this Identity Mapping Store at creation time.

Must be set for requests that need to comply with CMEK Org Policy protections.

If this field is set and processed successfully, the Identity Mapping Store will be protected by the KMS key, as indicated in the cmek_config field.

string kms_key_name = 3 [(.google.api.field_behavior) = INPUT_ONLY];

Returns
Type Description
ByteString

The bytes for kmsKeyName.

getName()

public String getName()

Immutable. The full resource name of the identity mapping store. Format: projects/{project}/locations/{location}/identityMappingStores/{identity_mapping_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 identity mapping store. Format: projects/{project}/locations/{location}/identityMappingStores/{identity_mapping_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.

hasCmekConfig()

public boolean hasCmekConfig()

Output only. CMEK-related information for the Identity Mapping Store.

.google.cloud.discoveryengine.v1.CmekConfig cmek_config = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
boolean

Whether the cmekConfig field is set.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeCmekConfig(CmekConfig value)

public IdentityMappingStore.Builder mergeCmekConfig(CmekConfig value)

Output only. CMEK-related information for the Identity Mapping Store.

.google.cloud.discoveryengine.v1.CmekConfig cmek_config = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value CmekConfig
Returns
Type Description
IdentityMappingStore.Builder

mergeFrom(IdentityMappingStore other)

public IdentityMappingStore.Builder mergeFrom(IdentityMappingStore other)
Parameter
Name Description
other IdentityMappingStore
Returns
Type Description
IdentityMappingStore.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public IdentityMappingStore.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
IdentityMappingStore.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

public final IdentityMappingStore.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
IdentityMappingStore.Builder
Overrides

setCmekConfig(CmekConfig value)

public IdentityMappingStore.Builder setCmekConfig(CmekConfig value)

Output only. CMEK-related information for the Identity Mapping Store.

.google.cloud.discoveryengine.v1.CmekConfig cmek_config = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value CmekConfig
Returns
Type Description
IdentityMappingStore.Builder

setCmekConfig(CmekConfig.Builder builderForValue)

public IdentityMappingStore.Builder setCmekConfig(CmekConfig.Builder builderForValue)

Output only. CMEK-related information for the Identity Mapping Store.

.google.cloud.discoveryengine.v1.CmekConfig cmek_config = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
builderForValue CmekConfig.Builder
Returns
Type Description
IdentityMappingStore.Builder

setField(Descriptors.FieldDescriptor field, Object value)

public IdentityMappingStore.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
IdentityMappingStore.Builder
Overrides

setKmsKeyName(String value)

public IdentityMappingStore.Builder setKmsKeyName(String value)

Input only. The KMS key to be used to protect this Identity Mapping Store at creation time.

Must be set for requests that need to comply with CMEK Org Policy protections.

If this field is set and processed successfully, the Identity Mapping Store will be protected by the KMS key, as indicated in the cmek_config field.

string kms_key_name = 3 [(.google.api.field_behavior) = INPUT_ONLY];

Parameter
Name Description
value String

The kmsKeyName to set.

Returns
Type Description
IdentityMappingStore.Builder

This builder for chaining.

setKmsKeyNameBytes(ByteString value)

public IdentityMappingStore.Builder setKmsKeyNameBytes(ByteString value)

Input only. The KMS key to be used to protect this Identity Mapping Store at creation time.

Must be set for requests that need to comply with CMEK Org Policy protections.

If this field is set and processed successfully, the Identity Mapping Store will be protected by the KMS key, as indicated in the cmek_config field.

string kms_key_name = 3 [(.google.api.field_behavior) = INPUT_ONLY];

Parameter
Name Description
value ByteString

The bytes for kmsKeyName to set.

Returns
Type Description
IdentityMappingStore.Builder

This builder for chaining.

setName(String value)

public IdentityMappingStore.Builder setName(String value)

Immutable. The full resource name of the identity mapping store. Format: projects/{project}/locations/{location}/identityMappingStores/{identity_mapping_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
IdentityMappingStore.Builder

This builder for chaining.

setNameBytes(ByteString value)

public IdentityMappingStore.Builder setNameBytes(ByteString value)

Immutable. The full resource name of the identity mapping store. Format: projects/{project}/locations/{location}/identityMappingStores/{identity_mapping_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
IdentityMappingStore.Builder

This builder for chaining.

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public IdentityMappingStore.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
IdentityMappingStore.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final IdentityMappingStore.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
IdentityMappingStore.Builder
Overrides