Class IdentityMappingStore.Builder

java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<IdentityMappingStore.Builder>
com.google.cloud.discoveryengine.v1.IdentityMappingStore.Builder
All Implemented Interfaces:
IdentityMappingStoreOrBuilder, com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Cloneable
Enclosing class:
IdentityMappingStore

public static final class IdentityMappingStore.Builder extends com.google.protobuf.GeneratedMessage.Builder<IdentityMappingStore.Builder> implements IdentityMappingStoreOrBuilder
 Identity Mapping Store which contains Identity Mapping Entries.
 
Protobuf type google.cloud.discoveryengine.v1.IdentityMappingStore
  • Method Details

    • getDescriptor

      public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
    • internalGetFieldAccessorTable

      protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
      Specified by:
      internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessage.Builder<IdentityMappingStore.Builder>
    • clear

      Specified by:
      clear in interface com.google.protobuf.Message.Builder
      Specified by:
      clear in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      clear in class com.google.protobuf.GeneratedMessage.Builder<IdentityMappingStore.Builder>
    • getDescriptorForType

      public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
      Specified by:
      getDescriptorForType in interface com.google.protobuf.Message.Builder
      Specified by:
      getDescriptorForType in interface com.google.protobuf.MessageOrBuilder
      Overrides:
      getDescriptorForType in class com.google.protobuf.GeneratedMessage.Builder<IdentityMappingStore.Builder>
    • getDefaultInstanceForType

      public IdentityMappingStore getDefaultInstanceForType()
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder
    • build

      public IdentityMappingStore build()
      Specified by:
      build in interface com.google.protobuf.Message.Builder
      Specified by:
      build in interface com.google.protobuf.MessageLite.Builder
    • buildPartial

      public IdentityMappingStore buildPartial()
      Specified by:
      buildPartial in interface com.google.protobuf.Message.Builder
      Specified by:
      buildPartial in interface com.google.protobuf.MessageLite.Builder
    • mergeFrom

      public IdentityMappingStore.Builder mergeFrom(com.google.protobuf.Message other)
      Specified by:
      mergeFrom in interface com.google.protobuf.Message.Builder
      Overrides:
      mergeFrom in class com.google.protobuf.AbstractMessage.Builder<IdentityMappingStore.Builder>
    • mergeFrom

    • isInitialized

      public final boolean isInitialized()
      Specified by:
      isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
      Overrides:
      isInitialized in class com.google.protobuf.GeneratedMessage.Builder<IdentityMappingStore.Builder>
    • mergeFrom

      public IdentityMappingStore.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Specified by:
      mergeFrom in interface com.google.protobuf.Message.Builder
      Specified by:
      mergeFrom in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      mergeFrom in class com.google.protobuf.AbstractMessage.Builder<IdentityMappingStore.Builder>
      Throws:
      IOException
    • 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];
      Specified by:
      getName in interface IdentityMappingStoreOrBuilder
      Returns:
      The name.
    • getNameBytes

      public com.google.protobuf.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];
      Specified by:
      getNameBytes in interface IdentityMappingStoreOrBuilder
      Returns:
      The bytes for name.
    • setName

      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];
      Parameters:
      value - The name to set.
      Returns:
      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:
      This builder for chaining.
    • setNameBytes

      public IdentityMappingStore.Builder setNameBytes(com.google.protobuf.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];
      Parameters:
      value - The bytes for name to set.
      Returns:
      This builder for chaining.
    • 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];
      Specified by:
      getKmsKeyName in interface IdentityMappingStoreOrBuilder
      Returns:
      The kmsKeyName.
    • getKmsKeyNameBytes

      public com.google.protobuf.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];
      Specified by:
      getKmsKeyNameBytes in interface IdentityMappingStoreOrBuilder
      Returns:
      The bytes for kmsKeyName.
    • setKmsKeyName

      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];
      Parameters:
      value - The kmsKeyName to set.
      Returns:
      This builder for chaining.
    • 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:
      This builder for chaining.
    • setKmsKeyNameBytes

      public IdentityMappingStore.Builder setKmsKeyNameBytes(com.google.protobuf.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];
      Parameters:
      value - The bytes for kmsKeyName to set.
      Returns:
      This builder for chaining.
    • 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];
      Specified by:
      hasCmekConfig in interface IdentityMappingStoreOrBuilder
      Returns:
      Whether the cmekConfig field is set.
    • 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];
      Specified by:
      getCmekConfig in interface IdentityMappingStoreOrBuilder
      Returns:
      The cmekConfig.
    • setCmekConfig

      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];
    • setCmekConfig

      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];
    • mergeCmekConfig

      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];
    • 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];
    • 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];
    • 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];
      Specified by:
      getCmekConfigOrBuilder in interface IdentityMappingStoreOrBuilder