Class ImmutableProtoFileListing
java.lang.Object
io.github.ascopes.protobufmavenplugin.sources.ImmutableProtoFileListing
- All Implemented Interfaces:
ProtoFileListing
@Generated("org.immutables.processor.ProxyProcessor")
public final class ImmutableProtoFileListing
extends Object
implements ProtoFileListing
Immutable implementation of
ProtoFileListing
.
Use the builder to create immutable instances:
ImmutableProtoFileListing.builder()
.
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic final class
Builds instances of typeImmutableProtoFileListing
. -
Method Summary
Modifier and TypeMethodDescriptionbuilder()
Creates a builder forImmutableProtoFileListing
.boolean
This instance is equal to all instances ofImmutableProtoFileListing
that have equal attribute values.int
hashCode()
Computes a hash code from attributes:protoFilesRoot
,protoFiles
.toString()
Prints the immutable valueProtoFileListing
with attribute values.
-
Method Details
-
getProtoFilesRoot
- Specified by:
getProtoFilesRoot
in interfaceProtoFileListing
- Returns:
- The value of the
protoFilesRoot
attribute
-
getProtoFiles
- Specified by:
getProtoFiles
in interfaceProtoFileListing
- Returns:
- The value of the
protoFiles
attribute
-
equals
-
hashCode
-
toString
-
builder
Creates a builder forImmutableProtoFileListing
.ImmutableProtoFileListing.builder() .protoFilesRoot(java.nio.file.Path | null) // nullable
protoFilesRoot
.addProtoFiles|addAllProtoFiles(java.nio.file.Path) //protoFiles
elements .build();- Returns:
- A new ImmutableProtoFileListing builder
-