Describes a complete .proto file.
Generated from protobuf message google.protobuf.FileDescriptorProto
| Methods |
| public __construct( $data = NULL) Constructor.
|
| public clearEdition() |
| public clearName() |
| public clearOptions() |
| public clearPackage() |
| public clearSourceCodeInfo() |
| public clearSyntax() |
| public getDependency() Names of files imported by this file. Generated from protobuf field repeated string dependency = 3;
|
| public getEdition() The edition of the proto file. WARNING: This field should only be used by protobuf plugins or special cases like the proto compiler. Other uses are discouraged and developers should rely on the protoreflect APIs for their client language. Generated from protobuf field optional .google.protobuf.Edition edition = 14;
|
| public getEnumType() Generated from protobuf field repeated .google.protobuf.EnumDescriptorProto enum_type = 5;
|
| public getExtension() Generated from protobuf field repeated .google.protobuf.FieldDescriptorProto extension = 7;
|
| public getMessageType() All top-level definitions in this file. Generated from protobuf field repeated .google.protobuf.DescriptorProto message_type = 4;
|
| public getName() file name, relative to root of source tree Generated from protobuf field optional string name = 1;
|
| public getOptionDependency() Names of files imported by this file purely for the purpose of providing option extensions. These are excluded from the dependency list above. Generated from protobuf field repeated string option_dependency = 15;
|
| public getOptions() Generated from protobuf field optional .google.protobuf.FileOptions options = 8;
|
| public getPackage() e.g. "foo", "foo.bar", etc. Generated from protobuf field optional string package = 2;
|
| public getPublicDependency() Indexes of the public imported files in the dependency list above. Generated from protobuf field repeated int32 public_dependency = 10;
|
| public getService() Generated from protobuf field repeated .google.protobuf.ServiceDescriptorProto service = 6;
|
| public getSourceCodeInfo() This field contains optional information about the original source code. You may safely remove this entire field without harming runtime functionality of the descriptors -- the information is needed only by development tools. Generated from protobuf field optional .google.protobuf.SourceCodeInfo source_code_info = 9;
|
| public getSyntax() The syntax of the proto file. The supported values are "proto2", "proto3", and "editions".
If Generated from protobuf field optional string syntax = 12;
|
| public getWeakDependency() Indexes of the weak imported files in the dependency list. For Google-internal migration only. Do not use. Generated from protobuf field repeated int32 weak_dependency = 11;
|
| public hasEdition() |
| public hasName() |
| public hasOptions() |
| public hasPackage() |
| public hasSourceCodeInfo() |
| public hasSyntax() |
| public setDependency(Google Names of files imported by this file. Generated from protobuf field repeated string dependency = 3;
|
| public setEdition(int $var) The edition of the proto file. WARNING: This field should only be used by protobuf plugins or special cases like the proto compiler. Other uses are discouraged and developers should rely on the protoreflect APIs for their client language. Generated from protobuf field optional .google.protobuf.Edition edition = 14;
|
| public setEnumType(Google Generated from protobuf field repeated .google.protobuf.EnumDescriptorProto enum_type = 5;
|
| public setExtension(Google Generated from protobuf field repeated .google.protobuf.FieldDescriptorProto extension = 7;
|
| public setMessageType(Google All top-level definitions in this file. Generated from protobuf field repeated .google.protobuf.DescriptorProto message_type = 4;
|
| public setName(string $var) file name, relative to root of source tree Generated from protobuf field optional string name = 1;
|
| public setOptionDependency(Google Names of files imported by this file purely for the purpose of providing option extensions. These are excluded from the dependency list above. Generated from protobuf field repeated string option_dependency = 15;
|
| public setOptions(?Google Generated from protobuf field optional .google.protobuf.FileOptions options = 8;
|
| public setPackage(string $var) e.g. "foo", "foo.bar", etc. Generated from protobuf field optional string package = 2;
|
| public setPublicDependency(Google Indexes of the public imported files in the dependency list above. Generated from protobuf field repeated int32 public_dependency = 10;
|
| public setService(Google Generated from protobuf field repeated .google.protobuf.ServiceDescriptorProto service = 6;
|
| public setSourceCodeInfo(?Google This field contains optional information about the original source code. You may safely remove this entire field without harming runtime functionality of the descriptors -- the information is needed only by development tools. Generated from protobuf field optional .google.protobuf.SourceCodeInfo source_code_info = 9;
|
| public setSyntax(string $var) The syntax of the proto file. The supported values are "proto2", "proto3", and "editions".
If Generated from protobuf field optional string syntax = 12;
|
| public setWeakDependency(Google Indexes of the weak imported files in the dependency list. For Google-internal migration only. Do not use. Generated from protobuf field repeated int32 weak_dependency = 11;
|
| Properties |
| protected $edition = NULL The edition of the proto file. WARNING: This field should only be used by protobuf plugins or special cases like the proto compiler. Other uses are discouraged and developers should rely on the protoreflect APIs for their client language. Generated from protobuf field optional .google.protobuf.Edition edition = 14; |
| protected $name = NULL file name, relative to root of source tree Generated from protobuf field optional string name = 1; |
| protected $options = NULL Generated from protobuf field optional .google.protobuf.FileOptions options = 8; |
| protected $package = NULL e.g. "foo", "foo.bar", etc. Generated from protobuf field optional string package = 2; |
| protected $source_code_info = NULL This field contains optional information about the original source code. You may safely remove this entire field without harming runtime functionality of the descriptors -- the information is needed only by development tools. Generated from protobuf field optional .google.protobuf.SourceCodeInfo source_code_info = 9; |
| protected $syntax = NULL The syntax of the proto file. The supported values are "proto2", "proto3", and "editions".
If Generated from protobuf field optional string syntax = 12; |
| Methods |
| Properties |
| private $dependency = NULL Names of files imported by this file. Generated from protobuf field repeated string dependency = 3; |
| private $enum_type = NULL Generated from protobuf field repeated .google.protobuf.EnumDescriptorProto enum_type = 5; |
| private $extension = NULL Generated from protobuf field repeated .google.protobuf.FieldDescriptorProto extension = 7; |
| private $message_type = NULL All top-level definitions in this file. Generated from protobuf field repeated .google.protobuf.DescriptorProto message_type = 4; |
| private $option_dependency = NULL Names of files imported by this file purely for the purpose of providing option extensions. These are excluded from the dependency list above. Generated from protobuf field repeated string option_dependency = 15; |
| private $public_dependency = NULL Indexes of the public imported files in the dependency list above. Generated from protobuf field repeated int32 public_dependency = 10; |
| private $service = NULL Generated from protobuf field repeated .google.protobuf.ServiceDescriptorProto service = 6; |
| private $weak_dependency = NULL Indexes of the weak imported files in the dependency list. For Google-internal migration only. Do not use. Generated from protobuf field repeated int32 weak_dependency = 11; |