Package com.google.protobuf
Interface SourceContextOrBuilder
- All Superinterfaces:
MessageLiteOrBuilder
,MessageOrBuilder
- 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
isInitialized
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
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.
-