Class ImmutablePathProtocDistribution
java.lang.Object
io.github.ascopes.protobufmavenplugin.protoc.distributions.PathProtocDistribution
io.github.ascopes.protobufmavenplugin.protoc.distributions.ImmutablePathProtocDistribution
- All Implemented Interfaces:
ProtocDistribution
@Generated(from="PathProtocDistribution",
generator="Immutables")
@Generated("org.immutables.processor.ProxyProcessor")
public final class ImmutablePathProtocDistribution
extends PathProtocDistribution
Immutable implementation of
PathProtocDistribution.
Use the builder to create immutable instances:
ImmutablePathProtocDistribution.builder().
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classBuilds instances of typeImmutablePathProtocDistribution. -
Method Summary
Modifier and TypeMethodDescriptionbuilder()Creates a builder forImmutablePathProtocDistribution.booleanThis instance is equal to all instances ofImmutablePathProtocDistributionthat have equal attribute values.getName()Get the name.inthashCode()Computes a hash code from attributes:name.toString()Prints the immutable valuePathProtocDistributionwith attribute values.
-
Method Details
-
getName
Get the name.Defaults to
"protoc"if unset.- Overrides:
getNamein classPathProtocDistribution- Returns:
- the name.
-
equals
-
hashCode
-
toString
-
builder
Creates a builder forImmutablePathProtocDistribution.ImmutablePathProtocDistribution.builder() .name(String) // optional
name.build();- Returns:
- A new ImmutablePathProtocDistribution builder
-