Package com.google.turbine.proto
Interface ManifestProto.CompilationUnitOrBuilder
-
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
ManifestProto.CompilationUnit,ManifestProto.CompilationUnit.Builder
- Enclosing class:
- ManifestProto
public static interface ManifestProto.CompilationUnitOrBuilder extends com.google.protobuf.MessageOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description booleangetGeneratedByAnnotationProcessor()Whether the source was generated by an annotation processorjava.lang.StringgetPath()The path to the compilation unitcom.google.protobuf.ByteStringgetPathBytes()The path to the compilation unitjava.lang.StringgetPkg()The package of the source filecom.google.protobuf.ByteStringgetPkgBytes()The package of the source filejava.lang.StringgetTopLevel(int index)The list of top-level types in the compilation unitcom.google.protobuf.ByteStringgetTopLevelBytes(int index)The list of top-level types in the compilation unitintgetTopLevelCount()The list of top-level types in the compilation unitjava.util.List<java.lang.String>getTopLevelList()The list of top-level types in the compilation unitbooleanhasGeneratedByAnnotationProcessor()Whether the source was generated by an annotation processorbooleanhasPath()The path to the compilation unitbooleanhasPkg()The package of the source file-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
hasPath
boolean hasPath()
The path to the compilation unit
optional string path = 1;- Returns:
- Whether the path field is set.
-
getPath
java.lang.String getPath()
The path to the compilation unit
optional string path = 1;- Returns:
- The path.
-
getPathBytes
com.google.protobuf.ByteString getPathBytes()
The path to the compilation unit
optional string path = 1;- Returns:
- The bytes for path.
-
hasPkg
boolean hasPkg()
The package of the source file
optional string pkg = 2;- Returns:
- Whether the pkg field is set.
-
getPkg
java.lang.String getPkg()
The package of the source file
optional string pkg = 2;- Returns:
- The pkg.
-
getPkgBytes
com.google.protobuf.ByteString getPkgBytes()
The package of the source file
optional string pkg = 2;- Returns:
- The bytes for pkg.
-
hasGeneratedByAnnotationProcessor
boolean hasGeneratedByAnnotationProcessor()
Whether the source was generated by an annotation processor
optional bool generated_by_annotation_processor = 3;- Returns:
- Whether the generatedByAnnotationProcessor field is set.
-
getGeneratedByAnnotationProcessor
boolean getGeneratedByAnnotationProcessor()
Whether the source was generated by an annotation processor
optional bool generated_by_annotation_processor = 3;- Returns:
- The generatedByAnnotationProcessor.
-
getTopLevelList
java.util.List<java.lang.String> getTopLevelList()
The list of top-level types in the compilation unit
repeated string top_level = 4;- Returns:
- A list containing the topLevel.
-
getTopLevelCount
int getTopLevelCount()
The list of top-level types in the compilation unit
repeated string top_level = 4;- Returns:
- The count of topLevel.
-
getTopLevel
java.lang.String getTopLevel(int index)
The list of top-level types in the compilation unit
repeated string top_level = 4;- Parameters:
index- The index of the element to return.- Returns:
- The topLevel at the given index.
-
getTopLevelBytes
com.google.protobuf.ByteString getTopLevelBytes(int index)
The list of top-level types in the compilation unit
repeated string top_level = 4;- Parameters:
index- The index of the value to return.- Returns:
- The bytes of the topLevel at the given index.
-
-