function FieldDescriptorProto::getDefaultValue
For numeric types, contains the original text representation of the value. For booleans, "true" or "false". For strings, contains the default text contents (not escaped in any way). For bytes, contains the C escaped value. All bytes >= 128 are escaped.
Generated from protobuf field <code>optional string default_value = 7;</code>
Return value
string
File
-
vendor/
google/ protobuf/ src/ Google/ Protobuf/ Internal/ FieldDescriptorProto.php, line 395
Class
- FieldDescriptorProto
- Describes a field within a message.
Namespace
Google\Protobuf\InternalCode
public function getDefaultValue() {
return isset($this->default_value) ? $this->default_value : '';
}