Skip to main content
Drupal API
User account menu
  • Log in

Breadcrumb

  1. Drupal Core 11.1.x
  2. MethodOptions.php

function MethodOptions::setIdempotencyLevel

Generated from protobuf field <code>optional .google.protobuf.MethodOptions.IdempotencyLevel idempotency_level = 34 [default = IDEMPOTENCY_UNKNOWN];</code>

Parameters

int $var:

Return value

$this

File

vendor/google/protobuf/src/Google/Protobuf/Internal/MethodOptions.php, line 125

Class

MethodOptions
Generated from protobuf message <code>google.protobuf.MethodOptions</code>

Namespace

Google\Protobuf\Internal

Code

public function setIdempotencyLevel($var) {
    GPBUtil::checkEnum($var, \Google\Protobuf\Internal\MethodOptions\IdempotencyLevel::class);
    $this->idempotency_level = $var;
    return $this;
}

API Navigation

  • Drupal Core 11.1.x
  • Topics
  • Classes
  • Functions
  • Constants
  • Globals
  • Files
  • Namespaces
  • Deprecated
  • Services
RSS feed
Powered by Drupal