Gets the metadata for the current request

@return the request metadata
12750
public static RequestMetadata getRequestMetadata() {
        RequestMetadata metadata = threadLocal.get();
        if (metadata == null)
            metadata = getNoMetadata();
        return metadata;
    }
80715
public function getMetadata(): Data
    {
        if ($this->_metadata === null) {
            $this->_metadata = new Data();

            $this->setMetadata([]);
        }

        return $this->_metadata;
    }
181205
public function getCurrentRequestContent()
    {
        if ($this->requestStack->getCurrentRequest() instanceof Request) {
            return $this->requestStack->getCurrentRequest()->getContent();
        }
        return null;
    }
803128
public Map<String, String> toMetaData() {
        Map<String, String> metaData = new HashMap<String, String>();
        metaData.put(META_KEY_ID, id);
        return metaData;
    }
414239
public static JaxWsClientMetaData getJaxWsClientMetaData() {
        ModuleMetaData mmd = getModuleMetaData();
        //146981
        if (TraceComponent.isAnyTracingEnabled() && tc.isDebugEnabled())
            Tr.debug(tc, "mmd: " + mmd);
        return getJaxWsClientMetaData(mmd);

    }
550372
public Map<String, Object> getFileMetaData() {
    if (file == null) {
      file = new HashMap<String, Object>();
    }
    Map<String, Object> meta;
    if (!file.containsKey(FILE_META)) {
      meta = new HashMap<String, Object>();
      meta.put(FILE_SIZE, actualFile.getSize());
    } else {
      meta = (Map<String, Object>) file.get(FILE_META);
    }
    return meta;
  }
236447
public com.google.cloud.audit.RequestMetadata getRequestMetadata() {
    return requestMetadata_ == null ? com.google.cloud.audit.RequestMetadata.getDefaultInstance() : requestMetadata_;
  }
142630
@SuppressWarnings("unchecked")
    public HashMap<String, String> getFlattenedMetaData() {
        HashMap<String, String> result = new HashMap<String, String>();
        for (MetaRecord mr : meta) {
            result.putAll((Map<String, String>) mr
                    .get(FieldName.META_PROPERTIES));
        }
        return result;
    }
1061655
def get_metadata(self, dataset_identifier, content_type="json"):
        '''
        
        '''
        resource = _format_old_api_request(dataid=dataset_identifier, content_type=content_type)
        return self._perform_request("get", resource)
160063
public function getTabRequestMeta() {
    if ($this->context === 'new') {
      return $this->entityMeta->getNewFormRequestMeta();
    } elseif ($this->context === 'grid') {
      return $this->entityMeta->getGridRequestMeta();
    } elseif ($this->context === self::CONTEXT_SEARCHPANEL) {
      return $this->entityMeta->getSearchPanelRequestMeta();
    } elseif ($this->context === self::CONTEXT_DEFAULT || $this->context === self::CONTEXT_ASSOC_LIST) {
      return $this->entityMeta->getDefaultRequestMeta();
    } else {
      throw new \InvalidArgumentException(sprintf("Context '%s' ist unbekannt",$this->context));
    }
  }
482242
def metadata(self):
    
    if self._info is None:
      try:
        self._info = self._api.buckets_get(self._name)
      except Exception as e:
        raise e

    return BucketMetadata(self._info) if self._info else None
343471
public function getMetadata()
    {
        if (isset($this->raw->metadata)) {
            if (is_object($this->raw->metadata)) {
                return (array) $this->raw->metadata;
            }

            return $this->raw->metadata;
        }

        return null;
    }
80515
def get_metadata(self, queue):
        
        uri = "/%s/%s/metadata" % (self.uri_base, utils.get_id(queue))
        resp, resp_body = self.api.method_get(uri)
        return resp_body
963181
public com.google.api.ads.admanager.axis.v201902.VideoMetadata getMetadata() {
        return metadata;
    }
246974
public function getMetadata()
    {
        if ($this->metadata !== null) {
            /* We have already downloaded the metdata. */
            return $this->metadata;
        }

        if (!$this->aggregator->isCacheValid($this->cacheId, $this->cacheTag)) {
            $this->updateCache();
            /** @psalm-suppress TypeDoesNotContainType */
            if ($this->metadata !== null) {
                return $this->metadata;
            }
            /* We were unable to update the cache - use cached metadata. */
        }

        $cacheFile = $this->aggregator->getCacheFile($this->cacheId);

        if (is_null($cacheFile) || !file_exists($cacheFile)) {
            Logger::error($this->logLoc . 'No cached metadata available.');
            return null;
        }

        Logger::debug($this->logLoc.'Using cached metadata from '.var_export($cacheFile, true));

        $metadata = file_get_contents($cacheFile);
        if ($metadata !== false) {
            $this->metadata = unserialize($metadata);
            return $this->metadata;
        }

        return null;
    }
584478
public function getMetaData()
    {
        $metaData = parent::getMetaData();
        if ($metaData)
            return $metaData;
        $className = get_class($this);
        if (empty(self::$_md[$className])) { // override this from the parent to force it to get the new MetaData
            self::$_md[$className] = null;
            self::$_md[$className] = new CActiveRecordMetaData($this);
        }
        return self::$_md[$className];
    }
1283488
public Map<String, Object> getRawMetadata() {
        Map<String,Object> copy = new TreeMap<String,Object>(String.CASE_INSENSITIVE_ORDER);
        copy.putAll(metadata);
        return Collections.unmodifiableMap(copy);
    }