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

Breadcrumb

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

function FieldDescriptorProto::setNumber

Generated from protobuf field <code>optional int32 number = 3;</code>

Parameters

int $var:

Return value

$this

File

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

Class

FieldDescriptorProto
Describes a field within a message.

Namespace

Google\Protobuf\Internal

Code

public function setNumber($var) {
    GPBUtil::checkInt32($var);
    $this->number = $var;
    return $this;
}
RSS feed
Powered by Drupal