Copied!
CloneableInstantiable
Methods
public __construct( $internal_desc)
 
  • internal
public getContainingOneof()
 
  • return \OneofDescriptor
public getEnumType()
 
  • return \EnumDescriptor Returns an enum descriptor if the field type is an enum, otherwise throws \Exception
  • throws \Exception
public getLabel()
 
  • deprecated Use isRepeated() or isRequired() instead.
  • return int
public getMessageType()
 
  • return \Descriptor Returns a descriptor for the field type if the field type is a message, otherwise throws \Exception
  • throws \Exception
public getName()
 
  • return string Field name
public getNumber()
 
  • return int Protobuf field number
public getRealContainingOneof()
 

Gets the field's containing oneof, only if non-synthetic.

  • return null|\OneofDescriptor
public getType()
 
  • return int
public hasOptionalKeyword()
 
  • return bool
public isMap()
 
  • return bool
public isRepeated()
 
  • return bool
public isRequired()
 
  • return bool
Properties
private $internal_desc = NULL
 
  • var \Google\Protobuf\Internal\FieldDescriptor $internal_desc
Methods
private getPublicDescriptor( $desc)
© 2025 Bruce Wells
Search Namespaces \ Classes
Configuration