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
Modifier 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:path
,id
,options
,order
.toString()
Prints the immutable valueResolvedProtocPlugin
with attribute values.
-
Method Details
-
getPath
- Specified by:
getPath
in interfaceResolvedProtocPlugin
- Returns:
- The value of the
path
attribute
-
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
-
equals
-
hashCode
-
toString
-
builder
Creates a builder forImmutableResolvedProtocPlugin
.ImmutableResolvedProtocPlugin.builder() .path(java.nio.file.Path | null) // nullable
path
.id(String | null) // nullableid
.options(String) // optionaloptions
.order(int) // requiredorder
.build();- Returns:
- A new ImmutableResolvedProtocPlugin builder
-