Package org.openrewrite.protobuf.tree
Class Proto.EnumField
java.lang.Object
org.openrewrite.protobuf.tree.Proto.EnumField
- All Implemented Interfaces:
Proto,org.openrewrite.Tree
- Enclosing interface:
- Proto
-
Nested Class Summary
Nested ClassesNested classes/interfaces inherited from interface org.openrewrite.protobuf.tree.Proto
Proto.Block, Proto.Constant, Proto.Document, Proto.Empty, Proto.Enum, Proto.EnumField, Proto.Extend, Proto.ExtensionName, Proto.Field, Proto.FullIdentifier, Proto.Identifier, Proto.Import, Proto.Keyword, Proto.MapField, Proto.Message, Proto.OneOf, Proto.Option, Proto.OptionDeclaration, Proto.Package, Proto.Primitive, Proto.Range, Proto.Reserved, Proto.Rpc, Proto.RpcInOut, Proto.Service, Proto.StringLiteral, Proto.Syntax -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescription<P> ProtoacceptProto(ProtoVisitor<P> v, P p) getName()@Nullable List<Proto.Option>withName(Proto.Identifier fieldName) withOptions(List<Proto.Option> fieldOptions) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.openrewrite.protobuf.tree.Proto
accept, getPrefix, isAcceptable, withPrefixMethods inherited from interface org.openrewrite.Tree
cast, getId, getJacksonPolymorphicTypeTag, getMarkers, isScope, print, print, print, printer, printTrimmed, printTrimmed, printTrimmed, safeCast, withId, withMarkers
-
Constructor Details
-
EnumField
public EnumField()
-
-
Method Details
-
getName
-
withName
-
getOptions
-
withOptions
-
acceptProto
- Specified by:
acceptProtoin interfaceProto
-
getPadding
-