Class ImmutableDescriptorListing
java.lang.Object
io.github.ascopes.protobufmavenplugin.sources.ImmutableDescriptorListing
- All Implemented Interfaces:
DescriptorListing
@Generated(from="DescriptorListing",
generator="Immutables")
@Generated("org.immutables.processor.ProxyProcessor")
public final class ImmutableDescriptorListing
extends Object
implements DescriptorListing
Immutable implementation of
DescriptorListing.
Use the builder to create immutable instances:
ImmutableDescriptorListing.builder().
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classBuilds instances of typeImmutableDescriptorListing. -
Method Summary
Modifier and TypeMethodDescriptionbuilder()Creates a builder forImmutableDescriptorListing.booleanThis instance is equal to all instances ofImmutableDescriptorListingthat have equal attribute values.@Nullable PathinthashCode()Computes a hash code from attributes:descriptorFilePath,sourceFiles.toString()Prints the immutable valueDescriptorListingwith attribute values.
-
Method Details
-
getDescriptorFilePath
- Specified by:
getDescriptorFilePathin interfaceDescriptorListing- Returns:
- The value of the
descriptorFilePathattribute
-
getSourceFiles
- Specified by:
getSourceFilesin interfaceDescriptorListing- Returns:
- The value of the
sourceFilesattribute
-
equals
-
hashCode
-
toString
-
builder
Creates a builder forImmutableDescriptorListing.ImmutableDescriptorListing.builder() .descriptorFilePath(java.nio.file.Path | null) // nullable
descriptorFilePath.addSourceFiles|addAllSourceFiles(String) //sourceFileselements .build();- Returns:
- A new ImmutableDescriptorListing builder
-