Generated from protobuf message google.protobuf.EnumOptions
Methods |
public __construct( $data = NULL) Constructor.
|
public clearAllowAlias() |
public clearDeprecated() |
public clearDeprecatedLegacyJsonFieldConflicts() |
public clearFeatures() |
public getAllowAlias() Set this option to true to allow mapping different tag names to the same value. Generated from protobuf field optional bool allow_alias = 2;
|
public getDeprecated() Is this enum deprecated? Depending on the target platform, this can emit Deprecated annotations for the enum, or it will be completely ignored; in the very least, this is a formalization for deprecating enums. Generated from protobuf field optional bool deprecated = 3 [default = false];
|
public getDeprecatedLegacyJsonFieldConflicts() Enable the legacy handling of JSON field name conflicts. This lowercases and strips underscored from the fields before comparison in proto3 only. The new behavior takes Generated from protobuf field optional bool deprecated_legacy_json_field_conflicts = 6 [deprecated = true];
|
public getFeatures() Any features defined in the specific edition. 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.FeatureSet features = 7;
|
public getUninterpretedOption() The parser stores options it doesn't recognize here. See above. Generated from protobuf field repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999;
|
public hasAllowAlias() |
public hasDeprecated() |
public hasDeprecatedLegacyJsonFieldConflicts() |
public hasFeatures() |
public setAllowAlias( $var) Set this option to true to allow mapping different tag names to the same value. Generated from protobuf field optional bool allow_alias = 2;
|
public setDeprecated( $var) Is this enum deprecated? Depending on the target platform, this can emit Deprecated annotations for the enum, or it will be completely ignored; in the very least, this is a formalization for deprecating enums. Generated from protobuf field optional bool deprecated = 3 [default = false];
|
public setDeprecatedLegacyJsonFieldConflicts( $var) Enable the legacy handling of JSON field name conflicts. This lowercases and strips underscored from the fields before comparison in proto3 only. The new behavior takes Generated from protobuf field optional bool deprecated_legacy_json_field_conflicts = 6 [deprecated = true];
|
public setFeatures( $var) Any features defined in the specific edition. 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.FeatureSet features = 7;
|
public setUninterpretedOption( $var) The parser stores options it doesn't recognize here. See above. Generated from protobuf field repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999;
|
Properties |
protected $allow_alias = NULL Set this option to true to allow mapping different tag names to the same value. Generated from protobuf field optional bool allow_alias = 2; |
protected $deprecated = NULL Is this enum deprecated? Depending on the target platform, this can emit Deprecated annotations for the enum, or it will be completely ignored; in the very least, this is a formalization for deprecating enums. Generated from protobuf field optional bool deprecated = 3 [default = false]; |
protected $deprecated_legacy_json_field_conflicts = NULL Enable the legacy handling of JSON field name conflicts. This lowercases and strips underscored from the fields before comparison in proto3 only. The new behavior takes Generated from protobuf field optional bool deprecated_legacy_json_field_conflicts = 6 [deprecated = true];
|
protected $features = NULL Any features defined in the specific edition. 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.FeatureSet features = 7; |
Methods |
Properties |
private $uninterpreted_option = NULL The parser stores options it doesn't recognize here. See above. Generated from protobuf field repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999; |