Class CreateIdentityMappingStoreRequest.Builder (0.60.0)

public static final class CreateIdentityMappingStoreRequest.Builder extends GeneratedMessageV3.Builder<CreateIdentityMappingStoreRequest.Builder> implements CreateIdentityMappingStoreRequestOrBuilder

Request message for IdentityMappingStoreService.CreateIdentityMappingStore

Protobuf type google.cloud.discoveryengine.v1.CreateIdentityMappingStoreRequest

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public CreateIdentityMappingStoreRequest build()
Returns
Type Description
CreateIdentityMappingStoreRequest

buildPartial()

public CreateIdentityMappingStoreRequest buildPartial()
Returns
Type Description
CreateIdentityMappingStoreRequest

clear()

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

clearCmekConfigName()

public CreateIdentityMappingStoreRequest.Builder clearCmekConfigName()

Resource name of the CmekConfig to use for protecting this Identity Mapping Store.

string cmek_config_name = 5 [(.google.api.resource_reference) = { ... }

Returns
Type Description
CreateIdentityMappingStoreRequest.Builder

This builder for chaining.

clearCmekOptions()

public CreateIdentityMappingStoreRequest.Builder clearCmekOptions()
Returns
Type Description
CreateIdentityMappingStoreRequest.Builder

clearDisableCmek()

public CreateIdentityMappingStoreRequest.Builder clearDisableCmek()

Identity Mapping Store without CMEK protections. If a default CmekConfig is set for the project, setting this field will override the default CmekConfig as well.

bool disable_cmek = 6;

Returns
Type Description
CreateIdentityMappingStoreRequest.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

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

clearIdentityMappingStore()

public CreateIdentityMappingStoreRequest.Builder clearIdentityMappingStore()

Required. The Identity Mapping Store to create.

.google.cloud.discoveryengine.v1.IdentityMappingStore identity_mapping_store = 3 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
CreateIdentityMappingStoreRequest.Builder

clearIdentityMappingStoreId()

public CreateIdentityMappingStoreRequest.Builder clearIdentityMappingStoreId()

Required. The ID of the Identity Mapping Store to create.

The ID must contain only letters (a-z, A-Z), numbers (0-9), underscores (_), and hyphens (-). The maximum length is 63 characters.

string identity_mapping_store_id = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
CreateIdentityMappingStoreRequest.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearParent()

public CreateIdentityMappingStoreRequest.Builder clearParent()

Required. The parent collection resource name, such as projects/{project}/locations/{location}.

string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
Type Description
CreateIdentityMappingStoreRequest.Builder

This builder for chaining.

clone()

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

getCmekConfigName()

public String getCmekConfigName()

Resource name of the CmekConfig to use for protecting this Identity Mapping Store.

string cmek_config_name = 5 [(.google.api.resource_reference) = { ... }

Returns
Type Description
String

The cmekConfigName.

getCmekConfigNameBytes()

public ByteString getCmekConfigNameBytes()

Resource name of the CmekConfig to use for protecting this Identity Mapping Store.

string cmek_config_name = 5 [(.google.api.resource_reference) = { ... }

Returns
Type Description
ByteString

The bytes for cmekConfigName.

getCmekOptionsCase()

public CreateIdentityMappingStoreRequest.CmekOptionsCase getCmekOptionsCase()
Returns
Type Description
CreateIdentityMappingStoreRequest.CmekOptionsCase

getDefaultInstanceForType()

public CreateIdentityMappingStoreRequest getDefaultInstanceForType()
Returns
Type Description
CreateIdentityMappingStoreRequest

getDescriptorForType()

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

getDisableCmek()

public boolean getDisableCmek()

Identity Mapping Store without CMEK protections. If a default CmekConfig is set for the project, setting this field will override the default CmekConfig as well.

bool disable_cmek = 6;

Returns
Type Description
boolean

The disableCmek.

getIdentityMappingStore()

public IdentityMappingStore getIdentityMappingStore()

Required. The Identity Mapping Store to create.

.google.cloud.discoveryengine.v1.IdentityMappingStore identity_mapping_store = 3 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
IdentityMappingStore

The identityMappingStore.

getIdentityMappingStoreBuilder()

public IdentityMappingStore.Builder getIdentityMappingStoreBuilder()

Required. The Identity Mapping Store to create.

.google.cloud.discoveryengine.v1.IdentityMappingStore identity_mapping_store = 3 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
IdentityMappingStore.Builder

getIdentityMappingStoreId()

public String getIdentityMappingStoreId()

Required. The ID of the Identity Mapping Store to create.

The ID must contain only letters (a-z, A-Z), numbers (0-9), underscores (_), and hyphens (-). The maximum length is 63 characters.

string identity_mapping_store_id = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
String

The identityMappingStoreId.

getIdentityMappingStoreIdBytes()

public ByteString getIdentityMappingStoreIdBytes()

Required. The ID of the Identity Mapping Store to create.

The ID must contain only letters (a-z, A-Z), numbers (0-9), underscores (_), and hyphens (-). The maximum length is 63 characters.

string identity_mapping_store_id = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
ByteString

The bytes for identityMappingStoreId.

getIdentityMappingStoreOrBuilder()

public IdentityMappingStoreOrBuilder getIdentityMappingStoreOrBuilder()

Required. The Identity Mapping Store to create.

.google.cloud.discoveryengine.v1.IdentityMappingStore identity_mapping_store = 3 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
IdentityMappingStoreOrBuilder

getParent()

public String getParent()

Required. The parent collection resource name, such as projects/{project}/locations/{location}.

string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
Type Description
String

The parent.

getParentBytes()

public ByteString getParentBytes()

Required. The parent collection resource name, such as projects/{project}/locations/{location}.

string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
Type Description
ByteString

The bytes for parent.

hasCmekConfigName()

public boolean hasCmekConfigName()

Resource name of the CmekConfig to use for protecting this Identity Mapping Store.

string cmek_config_name = 5 [(.google.api.resource_reference) = { ... }

Returns
Type Description
boolean

Whether the cmekConfigName field is set.

hasDisableCmek()

public boolean hasDisableCmek()

Identity Mapping Store without CMEK protections. If a default CmekConfig is set for the project, setting this field will override the default CmekConfig as well.

bool disable_cmek = 6;

Returns
Type Description
boolean

Whether the disableCmek field is set.

hasIdentityMappingStore()

public boolean hasIdentityMappingStore()

Required. The Identity Mapping Store to create.

.google.cloud.discoveryengine.v1.IdentityMappingStore identity_mapping_store = 3 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
boolean

Whether the identityMappingStore field is set.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(CreateIdentityMappingStoreRequest other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeIdentityMappingStore(IdentityMappingStore value)

public CreateIdentityMappingStoreRequest.Builder mergeIdentityMappingStore(IdentityMappingStore value)

Required. The Identity Mapping Store to create.

.google.cloud.discoveryengine.v1.IdentityMappingStore identity_mapping_store = 3 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value IdentityMappingStore
Returns
Type Description
CreateIdentityMappingStoreRequest.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setCmekConfigName(String value)

public CreateIdentityMappingStoreRequest.Builder setCmekConfigName(String value)

Resource name of the CmekConfig to use for protecting this Identity Mapping Store.

string cmek_config_name = 5 [(.google.api.resource_reference) = { ... }

Parameter
Name Description
value String

The cmekConfigName to set.

Returns
Type Description
CreateIdentityMappingStoreRequest.Builder

This builder for chaining.

setCmekConfigNameBytes(ByteString value)

public CreateIdentityMappingStoreRequest.Builder setCmekConfigNameBytes(ByteString value)

Resource name of the CmekConfig to use for protecting this Identity Mapping Store.

string cmek_config_name = 5 [(.google.api.resource_reference) = { ... }

Parameter
Name Description
value ByteString

The bytes for cmekConfigName to set.

Returns
Type Description
CreateIdentityMappingStoreRequest.Builder

This builder for chaining.

setDisableCmek(boolean value)

public CreateIdentityMappingStoreRequest.Builder setDisableCmek(boolean value)

Identity Mapping Store without CMEK protections. If a default CmekConfig is set for the project, setting this field will override the default CmekConfig as well.

bool disable_cmek = 6;

Parameter
Name Description
value boolean

The disableCmek to set.

Returns
Type Description
CreateIdentityMappingStoreRequest.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

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

setIdentityMappingStore(IdentityMappingStore value)

public CreateIdentityMappingStoreRequest.Builder setIdentityMappingStore(IdentityMappingStore value)

Required. The Identity Mapping Store to create.

.google.cloud.discoveryengine.v1.IdentityMappingStore identity_mapping_store = 3 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value IdentityMappingStore
Returns
Type Description
CreateIdentityMappingStoreRequest.Builder

setIdentityMappingStore(IdentityMappingStore.Builder builderForValue)

public CreateIdentityMappingStoreRequest.Builder setIdentityMappingStore(IdentityMappingStore.Builder builderForValue)

Required. The Identity Mapping Store to create.

.google.cloud.discoveryengine.v1.IdentityMappingStore identity_mapping_store = 3 [(.google.api.field_behavior) = REQUIRED];

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

setIdentityMappingStoreId(String value)

public CreateIdentityMappingStoreRequest.Builder setIdentityMappingStoreId(String value)

Required. The ID of the Identity Mapping Store to create.

The ID must contain only letters (a-z, A-Z), numbers (0-9), underscores (_), and hyphens (-). The maximum length is 63 characters.

string identity_mapping_store_id = 2 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value String

The identityMappingStoreId to set.

Returns
Type Description
CreateIdentityMappingStoreRequest.Builder

This builder for chaining.

setIdentityMappingStoreIdBytes(ByteString value)

public CreateIdentityMappingStoreRequest.Builder setIdentityMappingStoreIdBytes(ByteString value)

Required. The ID of the Identity Mapping Store to create.

The ID must contain only letters (a-z, A-Z), numbers (0-9), underscores (_), and hyphens (-). The maximum length is 63 characters.

string identity_mapping_store_id = 2 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value ByteString

The bytes for identityMappingStoreId to set.

Returns
Type Description
CreateIdentityMappingStoreRequest.Builder

This builder for chaining.

setParent(String value)

public CreateIdentityMappingStoreRequest.Builder setParent(String value)

Required. The parent collection resource name, such as projects/{project}/locations/{location}.

string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Parameter
Name Description
value String

The parent to set.

Returns
Type Description
CreateIdentityMappingStoreRequest.Builder

This builder for chaining.

setParentBytes(ByteString value)

public CreateIdentityMappingStoreRequest.Builder setParentBytes(ByteString value)

Required. The parent collection resource name, such as projects/{project}/locations/{location}.

string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Parameter
Name Description
value ByteString

The bytes for parent to set.

Returns
Type Description
CreateIdentityMappingStoreRequest.Builder

This builder for chaining.

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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