Class ImmutableProjectInputListing

java.lang.Object
io.github.ascopes.protobufmavenplugin.sources.ImmutableProjectInputListing
All Implemented Interfaces:
ProjectInputListing

@Generated("org.immutables.processor.ProxyProcessor") public final class ImmutableProjectInputListing extends Object implements ProjectInputListing
Immutable implementation of ProjectInputListing.

Use the builder to create immutable instances: ImmutableProjectInputListing.builder().

  • Method Details

    • getCompilableProtoSources

      public Collection<SourceListing> getCompilableProtoSources()
      Specified by:
      getCompilableProtoSources in interface ProjectInputListing
      Returns:
      The value of the compilableProtoSources attribute
    • getDependencyProtoSources

      public Collection<SourceListing> getDependencyProtoSources()
      Specified by:
      getDependencyProtoSources in interface ProjectInputListing
      Returns:
      The value of the dependencyProtoSources attribute
    • getCompilableDescriptorFiles

      public Collection<DescriptorListing> getCompilableDescriptorFiles()
      Specified by:
      getCompilableDescriptorFiles in interface ProjectInputListing
      Returns:
      The value of the compilableDescriptorFiles attribute
    • equals

      public boolean equals(Object another)
      This instance is equal to all instances of ImmutableProjectInputListing that have equal attribute values.
      Overrides:
      equals in class Object
      Returns:
      true if this is equal to another instance
    • hashCode

      public int hashCode()
      Computes a hash code from attributes: compilableProtoSources, dependencyProtoSources, compilableDescriptorFiles.
      Overrides:
      hashCode in class Object
      Returns:
      hashCode value
    • toString

      public String toString()
      Prints the immutable value ProjectInputListing with attribute values.
      Overrides:
      toString in class Object
      Returns:
      A string representation of the value
    • builder

      public static ImmutableProjectInputListing.Builder builder()
      Creates a builder for ImmutableProjectInputListing.
       ImmutableProjectInputListing.builder()
          .compilableProtoSources(Collection&lt;io.github.ascopes.protobufmavenplugin.sources.SourceListing&gt; | null) // nullable compilableProtoSources
          .dependencyProtoSources(Collection&lt;io.github.ascopes.protobufmavenplugin.sources.SourceListing&gt; | null) // nullable dependencyProtoSources
          .compilableDescriptorFiles(Collection&lt;io.github.ascopes.protobufmavenplugin.sources.DescriptorListing&gt; | null) // nullable compilableDescriptorFiles
          .build();
       
      Returns:
      A new ImmutableProjectInputListing builder