returns the name of this proto file , like simple_message for squareup/protos/person / simple_message . proto . concode_field_sep ImmutableList<String> publicImports concode_elem_sep ImmutableList<Type> types concode_elem_sep ImmutableList<String> imports concode_elem_sep Object javaPackage concode_elem_sep String string concode_elem_sep Options options concode_elem_sep ProtoMember JAVA_PACKAGE concode_elem_sep Syntax syntax concode_elem_sep Location location concode_elem_sep String packageName concode_elem_sep ImmutableList<Service> services concode_elem_sep ImmutableList<Extend> extendList concode_field_sep ProtoFileElement toElement concode_elem_sep ImmutableList<Type> types concode_elem_sep ImmutableList<String> imports concode_elem_sep String javaPackage concode_elem_sep ImmutableList<Service> services concode_elem_sep ImmutableList<String> publicImports concode_elem_sep ProtoFile get concode_elem_sep Syntax get concode_elem_sep Options options concode_elem_sep Location location concode_elem_sep String toString concode_elem_sep String toString concode_elem_sep String packageName concode_elem_sep void linkOptions concode_elem_sep ImmutableList<Extend> extendList concode_elem_sep ProtoFile retainAll
String function ( ) { String loc0 = location ( ) . path ( ) ; int loc1 = loc0 . lastIndexOf ( '/' ) ; if ( loc1 != - 1 ) { loc0 = loc0 . substring ( loc1 + 1 ) ; } if ( loc0 . endsWith ( "srini_string" ) ) { loc0 = loc0 . substring ( 0 , loc0 . length ( ) - "srini_string" . length ( ) ) ; } return loc0 ; }