Class ImmutableResolvedProtocPlugin
java.lang.Object
io.github.ascopes.protobufmavenplugin.plugins.ImmutableResolvedProtocPlugin
- All Implemented Interfaces:
ResolvedProtocPlugin
@Generated("org.immutables.processor.ProxyProcessor")
public final class ImmutableResolvedProtocPlugin
extends Object
implements ResolvedProtocPlugin
Immutable implementation of
ResolvedProtocPlugin
.
Use the builder to create immutable instances:
ImmutableResolvedProtocPlugin.builder()
.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final class
Builds instances of typeImmutableResolvedProtocPlugin
. -
Method Summary
Modifier and TypeMethodDescriptionbuilder()
Creates a builder forImmutableResolvedProtocPlugin
.boolean
This instance is equal to all instances ofImmutableResolvedProtocPlugin
that have equal attribute values.getId()
int
getOrder()
getPath()
int
hashCode()
Computes a hash code from attributes:id
,options
,order
,outputDirectory
,registerAsCompilationRoot
,path
.toString()
Prints the immutable valueResolvedProtocPlugin
with attribute values.
-
Method Details
-
getId
- Specified by:
getId
in interfaceResolvedProtocPlugin
- Returns:
- The value of the
id
attribute
-
getOptions
- Specified by:
getOptions
in interfaceResolvedProtocPlugin
- Returns:
- The value of the
options
attribute
-
getOrder
public int getOrder()- Specified by:
getOrder
in interfaceResolvedProtocPlugin
- Returns:
- The value of the
order
attribute
-
getOutputDirectory
- Specified by:
getOutputDirectory
in interfaceResolvedProtocPlugin
- Returns:
- The value of the
outputDirectory
attribute
-
getRegisterAsCompilationRoot
- Specified by:
getRegisterAsCompilationRoot
in interfaceResolvedProtocPlugin
- Returns:
- The value of the
registerAsCompilationRoot
attribute
-
getPath
- Specified by:
getPath
in interfaceResolvedProtocPlugin
- Returns:
- The value of the
path
attribute
-
equals
-
hashCode
-
toString
-
builder
Creates a builder forImmutableResolvedProtocPlugin
.ImmutableResolvedProtocPlugin.builder() .id(String | null) // nullable
id
.options(String) // optionaloptions
.order(int) // requiredorder
.outputDirectory(java.nio.file.Path | null) // nullableoutputDirectory
.registerAsCompilationRoot(Boolean) // optionalregisterAsCompilationRoot
.path(java.nio.file.Path | null) // nullablepath
.build();- Returns:
- A new ImmutableResolvedProtocPlugin builder
-