Package com.google.protobuf
Interface SourceContextOrBuilder
-
- All Superinterfaces:
MessageLiteOrBuilder
,MessageOrBuilder
- All Known Implementing Classes:
SourceContext
,SourceContext.Builder
public interface SourceContextOrBuilder extends MessageOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.lang.String
getFileName()
The path-qualified name of the .proto file that contained the associated protobuf element.ByteString
getFileNameBytes()
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 Detail
-
getFileName
java.lang.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.
-
-