\hypertarget{struct_protobuf_c_field_descriptor}{}\section{Protobuf\+C\+Field\+Descriptor Struct Reference}
\label{struct_protobuf_c_field_descriptor}\index{Protobuf\+C\+Field\+Descriptor@{Protobuf\+C\+Field\+Descriptor}}


{\ttfamily \#include $<$protobuf-\/c.\+h$>$}

\subsection*{Data Fields}
\begin{DoxyCompactItemize}
\item 
const char $\ast$ \hyperlink{struct_protobuf_c_field_descriptor_a8f8f80d37794cde9472343e4487ba3eb}{name}
\item 
\hyperlink{uthash_8h_a435d1572bf3f880d55459d9805097f62}{uint32\+\_\+t} \hyperlink{struct_protobuf_c_field_descriptor_abaabdc509cdaba7df9f56c6c76f3ae19}{id}
\item 
\hyperlink{group__api_ga5ec2e3fd5bbe4c5f6a64b06b7425d0e5}{Protobuf\+C\+Label} \hyperlink{struct_protobuf_c_field_descriptor_a7f030035f97051d8f431b0b875dadabd}{label}
\item 
\hyperlink{group__api_ga784625188e935a74bc4577297b8c6802}{Protobuf\+C\+Type} \hyperlink{struct_protobuf_c_field_descriptor_a29b18c5ece894a8f88d7a4cf20667ae4}{type}
\item 
unsigned \hyperlink{struct_protobuf_c_field_descriptor_a6b6d27305935223a6d18518cee83b446}{quantifier\+\_\+offset}
\item 
unsigned \hyperlink{struct_protobuf_c_field_descriptor_a168f35d517cfce69f73ba48cfb43dbe4}{offset}
\item 
const void $\ast$ \hyperlink{struct_protobuf_c_field_descriptor_ace2f441883709532c8ce720cc36617d4}{descriptor}
\item 
const void $\ast$ \hyperlink{struct_protobuf_c_field_descriptor_a7386e22242194ce0dc4ba34660a4330c}{default\+\_\+value}
\item 
\hyperlink{uthash_8h_a435d1572bf3f880d55459d9805097f62}{uint32\+\_\+t} \hyperlink{struct_protobuf_c_field_descriptor_a773b39d480759f67926cb18ae2219281}{flags}
\item 
unsigned \hyperlink{struct_protobuf_c_field_descriptor_aaec360128ca842f6419ee6915667f2f7}{reserved\+\_\+flags}
\item 
void $\ast$ \hyperlink{struct_protobuf_c_field_descriptor_a500f748997956fcb15a4740664b3688c}{reserved2}
\item 
void $\ast$ \hyperlink{struct_protobuf_c_field_descriptor_a83dd70a7026a828a69e0f31a3422cced}{reserved3}
\end{DoxyCompactItemize}


\subsection{Detailed Description}
Describes a single field in a message. 

Definition at line 551 of file protobuf-\/c.\+h.



\subsection{Field Documentation}
\mbox{\Hypertarget{struct_protobuf_c_field_descriptor_a7386e22242194ce0dc4ba34660a4330c}\label{struct_protobuf_c_field_descriptor_a7386e22242194ce0dc4ba34660a4330c}} 
\index{Protobuf\+C\+Field\+Descriptor@{Protobuf\+C\+Field\+Descriptor}!default\+\_\+value@{default\+\_\+value}}
\index{default\+\_\+value@{default\+\_\+value}!Protobuf\+C\+Field\+Descriptor@{Protobuf\+C\+Field\+Descriptor}}
\subsubsection{\texorpdfstring{default\+\_\+value}{default\_value}}
{\footnotesize\ttfamily const void$\ast$ default\+\_\+value}

The default value for this field, if defined. May be N\+U\+LL. 

Definition at line 591 of file protobuf-\/c.\+h.

\mbox{\Hypertarget{struct_protobuf_c_field_descriptor_ace2f441883709532c8ce720cc36617d4}\label{struct_protobuf_c_field_descriptor_ace2f441883709532c8ce720cc36617d4}} 
\index{Protobuf\+C\+Field\+Descriptor@{Protobuf\+C\+Field\+Descriptor}!descriptor@{descriptor}}
\index{descriptor@{descriptor}!Protobuf\+C\+Field\+Descriptor@{Protobuf\+C\+Field\+Descriptor}}
\subsubsection{\texorpdfstring{descriptor}{descriptor}}
{\footnotesize\ttfamily const void$\ast$ descriptor}

A type-\/specific descriptor.

If {\ttfamily type} is {\ttfamily P\+R\+O\+T\+O\+B\+U\+F\+\_\+\+C\+\_\+\+T\+Y\+P\+E\+\_\+\+E\+N\+UM}, then {\ttfamily descriptor} points to the corresponding {\ttfamily \hyperlink{struct_protobuf_c_enum_descriptor}{Protobuf\+C\+Enum\+Descriptor}}.

If {\ttfamily type} is {\ttfamily P\+R\+O\+T\+O\+B\+U\+F\+\_\+\+C\+\_\+\+T\+Y\+P\+E\+\_\+\+M\+E\+S\+S\+A\+GE}, then {\ttfamily descriptor} points to the corresponding {\ttfamily \hyperlink{struct_protobuf_c_message_descriptor}{Protobuf\+C\+Message\+Descriptor}}.

Otherwise this field is N\+U\+LL. 

Definition at line 588 of file protobuf-\/c.\+h.

\mbox{\Hypertarget{struct_protobuf_c_field_descriptor_a773b39d480759f67926cb18ae2219281}\label{struct_protobuf_c_field_descriptor_a773b39d480759f67926cb18ae2219281}} 
\index{Protobuf\+C\+Field\+Descriptor@{Protobuf\+C\+Field\+Descriptor}!flags@{flags}}
\index{flags@{flags}!Protobuf\+C\+Field\+Descriptor@{Protobuf\+C\+Field\+Descriptor}}
\subsubsection{\texorpdfstring{flags}{flags}}
{\footnotesize\ttfamily \hyperlink{uthash_8h_a435d1572bf3f880d55459d9805097f62}{uint32\+\_\+t} flags}

A flag word. Zero or more of the bits defined in the {\ttfamily Protobuf\+C\+Field\+Flag} enum may be set. 

Definition at line 597 of file protobuf-\/c.\+h.

\mbox{\Hypertarget{struct_protobuf_c_field_descriptor_abaabdc509cdaba7df9f56c6c76f3ae19}\label{struct_protobuf_c_field_descriptor_abaabdc509cdaba7df9f56c6c76f3ae19}} 
\index{Protobuf\+C\+Field\+Descriptor@{Protobuf\+C\+Field\+Descriptor}!id@{id}}
\index{id@{id}!Protobuf\+C\+Field\+Descriptor@{Protobuf\+C\+Field\+Descriptor}}
\subsubsection{\texorpdfstring{id}{id}}
{\footnotesize\ttfamily \hyperlink{uthash_8h_a435d1572bf3f880d55459d9805097f62}{uint32\+\_\+t} id}

Tag value of the field as given in the .proto file. 

Definition at line 556 of file protobuf-\/c.\+h.

\mbox{\Hypertarget{struct_protobuf_c_field_descriptor_a7f030035f97051d8f431b0b875dadabd}\label{struct_protobuf_c_field_descriptor_a7f030035f97051d8f431b0b875dadabd}} 
\index{Protobuf\+C\+Field\+Descriptor@{Protobuf\+C\+Field\+Descriptor}!label@{label}}
\index{label@{label}!Protobuf\+C\+Field\+Descriptor@{Protobuf\+C\+Field\+Descriptor}}
\subsubsection{\texorpdfstring{label}{label}}
{\footnotesize\ttfamily \hyperlink{group__api_ga5ec2e3fd5bbe4c5f6a64b06b7425d0e5}{Protobuf\+C\+Label} label}

Whether the field is {\ttfamily R\+E\+Q\+U\+I\+R\+ED}, {\ttfamily O\+P\+T\+I\+O\+N\+AL}, or {\ttfamily R\+E\+P\+E\+A\+T\+ED}. 

Definition at line 559 of file protobuf-\/c.\+h.

\mbox{\Hypertarget{struct_protobuf_c_field_descriptor_a8f8f80d37794cde9472343e4487ba3eb}\label{struct_protobuf_c_field_descriptor_a8f8f80d37794cde9472343e4487ba3eb}} 
\index{Protobuf\+C\+Field\+Descriptor@{Protobuf\+C\+Field\+Descriptor}!name@{name}}
\index{name@{name}!Protobuf\+C\+Field\+Descriptor@{Protobuf\+C\+Field\+Descriptor}}
\subsubsection{\texorpdfstring{name}{name}}
{\footnotesize\ttfamily const char$\ast$ name}

Name of the field as given in the .proto file. 

Definition at line 553 of file protobuf-\/c.\+h.

\mbox{\Hypertarget{struct_protobuf_c_field_descriptor_a168f35d517cfce69f73ba48cfb43dbe4}\label{struct_protobuf_c_field_descriptor_a168f35d517cfce69f73ba48cfb43dbe4}} 
\index{Protobuf\+C\+Field\+Descriptor@{Protobuf\+C\+Field\+Descriptor}!offset@{offset}}
\index{offset@{offset}!Protobuf\+C\+Field\+Descriptor@{Protobuf\+C\+Field\+Descriptor}}
\subsubsection{\texorpdfstring{offset}{offset}}
{\footnotesize\ttfamily unsigned offset}

The offset in bytes into the message\textquotesingle{}s C structure for the member itself. 

Definition at line 575 of file protobuf-\/c.\+h.

\mbox{\Hypertarget{struct_protobuf_c_field_descriptor_a6b6d27305935223a6d18518cee83b446}\label{struct_protobuf_c_field_descriptor_a6b6d27305935223a6d18518cee83b446}} 
\index{Protobuf\+C\+Field\+Descriptor@{Protobuf\+C\+Field\+Descriptor}!quantifier\+\_\+offset@{quantifier\+\_\+offset}}
\index{quantifier\+\_\+offset@{quantifier\+\_\+offset}!Protobuf\+C\+Field\+Descriptor@{Protobuf\+C\+Field\+Descriptor}}
\subsubsection{\texorpdfstring{quantifier\+\_\+offset}{quantifier\_offset}}
{\footnotesize\ttfamily unsigned quantifier\+\_\+offset}

The offset in bytes of the message\textquotesingle{}s C structure\textquotesingle{}s quantifier field (the {\ttfamily has\+\_\+\+M\+E\+M\+B\+ER} field for optional members or the {\ttfamily n\+\_\+\+M\+E\+M\+B\+ER} field for repeated members or the case enum for oneofs). 

Definition at line 569 of file protobuf-\/c.\+h.

\mbox{\Hypertarget{struct_protobuf_c_field_descriptor_a500f748997956fcb15a4740664b3688c}\label{struct_protobuf_c_field_descriptor_a500f748997956fcb15a4740664b3688c}} 
\index{Protobuf\+C\+Field\+Descriptor@{Protobuf\+C\+Field\+Descriptor}!reserved2@{reserved2}}
\index{reserved2@{reserved2}!Protobuf\+C\+Field\+Descriptor@{Protobuf\+C\+Field\+Descriptor}}
\subsubsection{\texorpdfstring{reserved2}{reserved2}}
{\footnotesize\ttfamily void$\ast$ reserved2}

Reserved for future use. 

Definition at line 602 of file protobuf-\/c.\+h.

\mbox{\Hypertarget{struct_protobuf_c_field_descriptor_a83dd70a7026a828a69e0f31a3422cced}\label{struct_protobuf_c_field_descriptor_a83dd70a7026a828a69e0f31a3422cced}} 
\index{Protobuf\+C\+Field\+Descriptor@{Protobuf\+C\+Field\+Descriptor}!reserved3@{reserved3}}
\index{reserved3@{reserved3}!Protobuf\+C\+Field\+Descriptor@{Protobuf\+C\+Field\+Descriptor}}
\subsubsection{\texorpdfstring{reserved3}{reserved3}}
{\footnotesize\ttfamily void$\ast$ reserved3}

Reserved for future use. 

Definition at line 604 of file protobuf-\/c.\+h.

\mbox{\Hypertarget{struct_protobuf_c_field_descriptor_aaec360128ca842f6419ee6915667f2f7}\label{struct_protobuf_c_field_descriptor_aaec360128ca842f6419ee6915667f2f7}} 
\index{Protobuf\+C\+Field\+Descriptor@{Protobuf\+C\+Field\+Descriptor}!reserved\+\_\+flags@{reserved\+\_\+flags}}
\index{reserved\+\_\+flags@{reserved\+\_\+flags}!Protobuf\+C\+Field\+Descriptor@{Protobuf\+C\+Field\+Descriptor}}
\subsubsection{\texorpdfstring{reserved\+\_\+flags}{reserved\_flags}}
{\footnotesize\ttfamily unsigned reserved\+\_\+flags}

Reserved for future use. 

Definition at line 600 of file protobuf-\/c.\+h.

\mbox{\Hypertarget{struct_protobuf_c_field_descriptor_a29b18c5ece894a8f88d7a4cf20667ae4}\label{struct_protobuf_c_field_descriptor_a29b18c5ece894a8f88d7a4cf20667ae4}} 
\index{Protobuf\+C\+Field\+Descriptor@{Protobuf\+C\+Field\+Descriptor}!type@{type}}
\index{type@{type}!Protobuf\+C\+Field\+Descriptor@{Protobuf\+C\+Field\+Descriptor}}
\subsubsection{\texorpdfstring{type}{type}}
{\footnotesize\ttfamily \hyperlink{group__api_ga784625188e935a74bc4577297b8c6802}{Protobuf\+C\+Type} type}

The type of the field. 

Definition at line 562 of file protobuf-\/c.\+h.



The documentation for this struct was generated from the following file\+:\begin{DoxyCompactItemize}
\item 
src/protobuf-\/c/\hyperlink{protobuf-c_8h}{protobuf-\/c.\+h}\end{DoxyCompactItemize}
