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()
.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final class
Builds instances of typeImmutableProjectInputListing
. -
Method Summary
Modifier and TypeMethodDescriptionbuilder()
Creates a builder forImmutableProjectInputListing
.boolean
This instance is equal to all instances ofImmutableProjectInputListing
that have equal attribute values.int
hashCode()
Computes a hash code from attributes:compilableProtoSources
,dependencyProtoSources
,compilableDescriptorFiles
.toString()
Prints the immutable valueProjectInputListing
with attribute values.
-
Method Details
-
getCompilableProtoSources
- Specified by:
getCompilableProtoSources
in interfaceProjectInputListing
- Returns:
- The value of the
compilableProtoSources
attribute
-
getDependencyProtoSources
- Specified by:
getDependencyProtoSources
in interfaceProjectInputListing
- Returns:
- The value of the
dependencyProtoSources
attribute
-
getCompilableDescriptorFiles
- Specified by:
getCompilableDescriptorFiles
in interfaceProjectInputListing
- Returns:
- The value of the
compilableDescriptorFiles
attribute
-
equals
-
hashCode
-
toString
-
builder
Creates a builder forImmutableProjectInputListing
.ImmutableProjectInputListing.builder() .compilableProtoSources(Collection<io.github.ascopes.protobufmavenplugin.sources.SourceListing> | null) // nullable
compilableProtoSources
.dependencyProtoSources(Collection<io.github.ascopes.protobufmavenplugin.sources.SourceListing> | null) // nullabledependencyProtoSources
.compilableDescriptorFiles(Collection<io.github.ascopes.protobufmavenplugin.sources.DescriptorListing> | null) // nullablecompilableDescriptorFiles
.build();- Returns:
- A new ImmutableProjectInputListing builder
-