docstr: Validate that the build context store is a valid container registry URI.
docstr_tok: ["Validate","that","the","build","context","store","is","a","valid","container","registry","URI","."]
code: def validate_build_context_store(
      cls, build_context_store: Optional[str]
  ) -> Optional[str]:
      """Validate that the build context store is a valid container registry URI."""
      if build_context_store is None:
          return None
      for regex in [
          S3_URI_RE,
          GCS_URI_RE,
          AZURE_BLOB_REGEX,
      ]:
          if regex.match(build_context_store):
              return build_context_store
      raise ValueError(
          "Invalid build context store. Build context store must be a URI for an "
          "S3 bucket, GCS bucket, or Azure blob."
      )
  
imports: from enum import Enum
  from typing import List, Optional
  from pydantic import BaseModel, Field, ValidationError, root_validator, validator
  import wandb
  from wandb.sdk.launch.utils import AZURE_BLOB_REGEX, AZURE_CONTAINER_REGISTRY_URI_REGEX, ELASTIC_CONTAINER_REGISTRY_URI_REGEX, GCP_ARTIFACT_REGISTRY_URI_REGEX, GCS_URI_RE, S3_URI_RE
label_desc: Use image node_id 2 for calling the BuilderConfig obj's underlying member method code with example usage: obj.validate_build_context_store(cls, build_context_store) and returns: None, build_context_store