Class ImmutableResolvedProtocPlugin
java.lang.Object
io.github.ascopes.protobufmavenplugin.plugins.ImmutableResolvedProtocPlugin
- All Implemented Interfaces:
ResolvedProtocPlugin
@Generated(from="ResolvedProtocPlugin",
generator="Immutables")
@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 classBuilds instances of typeImmutableResolvedProtocPlugin. -
Method Summary
Modifier and TypeMethodDescriptionbuilder()Creates a builder forImmutableResolvedProtocPlugin.booleanThis instance is equal to all instances ofImmutableResolvedProtocPluginthat have equal attribute values.@Nullable StringgetId()intgetOrder()@Nullable Path@Nullable PathgetPath()inthashCode()Computes a hash code from attributes:id,options,order,outputDirectory,registerAsCompilationRoot,path.toString()Prints the immutable valueResolvedProtocPluginwith attribute values.
-
Method Details
-
getId
- Specified by:
getIdin interfaceResolvedProtocPlugin- Returns:
- The value of the
idattribute
-
getOptions
- Specified by:
getOptionsin interfaceResolvedProtocPlugin- Returns:
- The value of the
optionsattribute
-
getOrder
public int getOrder()- Specified by:
getOrderin interfaceResolvedProtocPlugin- Returns:
- The value of the
orderattribute
-
getOutputDirectory
- Specified by:
getOutputDirectoryin interfaceResolvedProtocPlugin- Returns:
- The value of the
outputDirectoryattribute
-
getRegisterAsCompilationRoot
- Specified by:
getRegisterAsCompilationRootin interfaceResolvedProtocPlugin- Returns:
- The value of the
registerAsCompilationRootattribute
-
getPath
- Specified by:
getPathin interfaceResolvedProtocPlugin- Returns:
- The value of the
pathattribute
-
equals
-
hashCode
-
toString
-
builder
Creates a builder forImmutableResolvedProtocPlugin.ImmutableResolvedProtocPlugin.builder() .id(String | null) // nullable
id.options(Optional<String>) // optionaloptions.order(int) // requiredorder.outputDirectory(java.nio.file.Path | null) // nullableoutputDirectory.registerAsCompilationRoot(Optional<Boolean>) // optionalregisterAsCompilationRoot.path(java.nio.file.Path | null) // nullablepath.build();- Returns:
- A new ImmutableResolvedProtocPlugin builder
-