Package org.openrewrite.protobuf.tree
Class Proto.MapField
java.lang.Object
org.openrewrite.protobuf.tree.Proto.MapField
- 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>withKeyType(Proto.Keyword keyType) withName(Proto.Identifier name) withOptions(@Nullable List<Proto.Option> options) withValueType(TypeTree valueType) 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
-
MapField
public MapField()
-
-
Method Details
-
getKeyType
-
withKeyType
-
getValueType
-
withValueType
-
getName
-
withName
-
getOptions
-
withOptions
-
acceptProto
- Specified by:
acceptProtoin interfaceProto
-
getPadding
-