name property

String name
final

Name of this field as the json_name reported by protoc.

Example:

message Msg {
  int32 foo_name = 1 [json_name = "barName"];
}

Here name of the field is barName. When json_name is not specified in the proto definition, this is the camelCase version of the field name. In the example above, without the json_name field option, name would be "fooName".

Implementation

final String name;