> Agent-readable docs index: /llms.txt. Download /docs.zip to grep all markdown files locally.

---
title: "google_protobuf_FieldDescriptorProto"
navbar: dynamic
asidebar: hide
---
# google\_protobuf\_FieldDescriptorProto

Protobuf message in module `google_protobuf_descriptor`.

## Summary

- Kind: `message`
- Module: `google_protobuf_descriptor`
- Parent: `protobuf.MessageWrapper`
- Inherited fields: `0`
- Product: Counter-Strike 2

## Inheritance

- [protobuf.MessageWrapper](/cs2/api_reference/networking/protobuf#protobufmessagewrapper) (class)

## Own Fields

| Field | Type | Offset | Bits | Default | Metadata |
| --- | --- | --- | --- | --- | --- |
| `name` | [string](/cs2/api_reference/lua/base#string)? | - | - | - | - |
| `number` | [integer](/cs2/api_reference/lua/base#integer)? | - | - | - | - |
| `label` | [protobuf.google\_protobuf\_FieldDescriptorProto\_Label](/cs2/dumped_data/protobuf/google_protobuf_descriptor/protobuf.google_protobuf_FieldDescriptorProto_Label)? | - | - | - | - |
| `type` | [protobuf.google\_protobuf\_FieldDescriptorProto\_Type](/cs2/dumped_data/protobuf/google_protobuf_descriptor/protobuf.google_protobuf_FieldDescriptorProto_Type)? | - | - | - | - |
| `type_name` | [string](/cs2/api_reference/lua/base#string)? | - | - | - | - |
| `extendee` | [string](/cs2/api_reference/lua/base#string)? | - | - | - | - |
| `default_value` | [string](/cs2/api_reference/lua/base#string)? | - | - | - | - |
| `oneof_index` | [integer](/cs2/api_reference/lua/base#integer)? | - | - | - | - |
| `json_name` | [string](/cs2/api_reference/lua/base#string)? | - | - | - | - |
| `options` | [google\_protobuf\_FieldOptions](/cs2/dumped_data/protobuf/google_protobuf_descriptor/google_protobuf_FieldOptions)? | - | - | - | - |
| `proto3_optional` | [boolean](/cs2/api_reference/lua/base#boolean)? | - | - | - | - |

## Referenced By

| Name | Field | Module | Relation |
| --- | --- | --- | --- |
| [google\_protobuf\_DescriptorProto](/cs2/dumped_data/protobuf/google_protobuf_descriptor/google_protobuf_DescriptorProto) | `field` | google\_protobuf\_descriptor | - |
| [google\_protobuf\_DescriptorProto](/cs2/dumped_data/protobuf/google_protobuf_descriptor/google_protobuf_DescriptorProto) | `extension` | google\_protobuf\_descriptor | - |
| [google\_protobuf\_FileDescriptorProto](/cs2/dumped_data/protobuf/google_protobuf_descriptor/google_protobuf_FileDescriptorProto) | `extension` | google\_protobuf\_descriptor | - |

