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

Breadcrumb

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

function FieldDescriptorProto::setLabel

Generated from protobuf field <code>optional .google.protobuf.FieldDescriptorProto.Label label = 4;</code>

Parameters

int $var:

Return value

$this

File

vendor/google/protobuf/src/Google/Protobuf/Internal/FieldDescriptorProto.php, line 258

Class

FieldDescriptorProto
Describes a field within a message.

Namespace

Google\Protobuf\Internal

Code

public function setLabel($var) {
    GPBUtil::checkEnum($var, \Google\Protobuf\Internal\FieldDescriptorProto\Label::class);
    $this->label = $var;
    return $this;
}
RSS feed
Powered by Drupal