Class CreateIdentityMappingStoreRequest.Builder

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

public static final class CreateIdentityMappingStoreRequest.Builder extends com.google.protobuf.GeneratedMessage.Builder<CreateIdentityMappingStoreRequest.Builder> implements CreateIdentityMappingStoreRequestOrBuilder
 Request message for
 [IdentityMappingStoreService.CreateIdentityMappingStore][google.cloud.discoveryengine.v1.IdentityMappingStoreService.CreateIdentityMappingStore]
 
Protobuf type google.cloud.discoveryengine.v1.CreateIdentityMappingStoreRequest
  • 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<CreateIdentityMappingStoreRequest.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<CreateIdentityMappingStoreRequest.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<CreateIdentityMappingStoreRequest.Builder>
    • getDefaultInstanceForType

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

      Specified by:
      build in interface com.google.protobuf.Message.Builder
      Specified by:
      build in interface com.google.protobuf.MessageLite.Builder
    • buildPartial

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

      public CreateIdentityMappingStoreRequest.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<CreateIdentityMappingStoreRequest.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<CreateIdentityMappingStoreRequest.Builder>
    • mergeFrom

      public CreateIdentityMappingStoreRequest.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<CreateIdentityMappingStoreRequest.Builder>
      Throws:
      IOException
    • getCmekOptionsCase

      Specified by:
      getCmekOptionsCase in interface CreateIdentityMappingStoreRequestOrBuilder
    • clearCmekOptions

      public CreateIdentityMappingStoreRequest.Builder clearCmekOptions()
    • 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) = { ... }
      Specified by:
      hasCmekConfigName in interface CreateIdentityMappingStoreRequestOrBuilder
      Returns:
      Whether the cmekConfigName field is set.
    • 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) = { ... }
      Specified by:
      getCmekConfigName in interface CreateIdentityMappingStoreRequestOrBuilder
      Returns:
      The cmekConfigName.
    • getCmekConfigNameBytes

      public com.google.protobuf.ByteString getCmekConfigNameBytes()
       Resource name of the CmekConfig to use for protecting this Identity
       Mapping Store.
       
      string cmek_config_name = 5 [(.google.api.resource_reference) = { ... }
      Specified by:
      getCmekConfigNameBytes in interface CreateIdentityMappingStoreRequestOrBuilder
      Returns:
      The bytes for cmekConfigName.
    • setCmekConfigName

      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) = { ... }
      Parameters:
      value - The cmekConfigName to set.
      Returns:
      This builder for chaining.
    • 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:
      This builder for chaining.
    • setCmekConfigNameBytes

      public CreateIdentityMappingStoreRequest.Builder setCmekConfigNameBytes(com.google.protobuf.ByteString value)
       Resource name of the CmekConfig to use for protecting this Identity
       Mapping Store.
       
      string cmek_config_name = 5 [(.google.api.resource_reference) = { ... }
      Parameters:
      value - The bytes for cmekConfigName to set.
      Returns:
      This builder for chaining.
    • 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;
      Specified by:
      hasDisableCmek in interface CreateIdentityMappingStoreRequestOrBuilder
      Returns:
      Whether the disableCmek field is set.
    • 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;
      Specified by:
      getDisableCmek in interface CreateIdentityMappingStoreRequestOrBuilder
      Returns:
      The disableCmek.
    • setDisableCmek

      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;
      Parameters:
      value - The disableCmek to set.
      Returns:
      This builder for chaining.
    • 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:
      This builder for chaining.
    • 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) = { ... }
      Specified by:
      getParent in interface CreateIdentityMappingStoreRequestOrBuilder
      Returns:
      The parent.
    • getParentBytes

      public com.google.protobuf.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) = { ... }
      Specified by:
      getParentBytes in interface CreateIdentityMappingStoreRequestOrBuilder
      Returns:
      The bytes for parent.
    • setParent

       Required. The parent collection resource name, such as
       `projects/{project}/locations/{location}`.
       
      string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
      Parameters:
      value - The parent to set.
      Returns:
      This builder for chaining.
    • 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:
      This builder for chaining.
    • setParentBytes

      public CreateIdentityMappingStoreRequest.Builder setParentBytes(com.google.protobuf.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) = { ... }
      Parameters:
      value - The bytes for parent to set.
      Returns:
      This builder for chaining.
    • 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];
      Specified by:
      getIdentityMappingStoreId in interface CreateIdentityMappingStoreRequestOrBuilder
      Returns:
      The identityMappingStoreId.
    • getIdentityMappingStoreIdBytes

      public com.google.protobuf.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];
      Specified by:
      getIdentityMappingStoreIdBytes in interface CreateIdentityMappingStoreRequestOrBuilder
      Returns:
      The bytes for identityMappingStoreId.
    • setIdentityMappingStoreId

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

      public CreateIdentityMappingStoreRequest.Builder setIdentityMappingStoreIdBytes(com.google.protobuf.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];
      Parameters:
      value - The bytes for identityMappingStoreId to set.
      Returns:
      This builder for chaining.
    • 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];
      Specified by:
      hasIdentityMappingStore in interface CreateIdentityMappingStoreRequestOrBuilder
      Returns:
      Whether the identityMappingStore field is set.
    • 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];
      Specified by:
      getIdentityMappingStore in interface CreateIdentityMappingStoreRequestOrBuilder
      Returns:
      The identityMappingStore.
    • setIdentityMappingStore

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

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

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