Package com.google.protobuf
Interface SourceContextOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
SourceContext
,SourceContext.Builder
public interface SourceContextOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptionThe path-qualified name of the .proto file that contained the associated protobuf element.com.google.protobuf.ByteString
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
com.google.protobuf.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.
-