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

Breadcrumb

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

function FieldDescriptorProto::getNumber

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

Return value

int

File

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

Class

FieldDescriptorProto
Describes a field within a message.

Namespace

Google\Protobuf\Internal

Code

public function getNumber() {
    return isset($this->number) ? $this->number : 0;
}
RSS feed
Powered by Drupal