Package com.google.protobuf
Interface SourceContextOrBuilder
- All Superinterfaces:
MessageLiteOrBuilder
- All Known Implementing Classes:
SourceContext
,SourceContext.Builder
-
Method Summary
Modifier and TypeMethodDescriptionThe path-qualified name of the .proto file that contained the associated protobuf element.The path-qualified name of the .proto file that contained the associated protobuf element.Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
getDefaultInstanceForType, isInitialized
-
Method Details
-
getFileName
String getFileName()The path-qualified name of the .proto file that contained the associated protobuf element. For example: `"google/protobuf/source_context.proto"`.
string file_name = 1;
- Returns:
- The fileName.
-
getFileNameBytes
ByteString getFileNameBytes()The path-qualified name of the .proto file that contained the associated protobuf element. For example: `"google/protobuf/source_context.proto"`.
string file_name = 1;
- Returns:
- The bytes for fileName.
-