public final class RepeatedFieldType extends java.lang.Object implements FieldType
Modifier and Type | Method and Description |
---|---|
com.google.common.collect.ImmutableSet<AccessorTemplate> |
generatedAccessorTemplates()
Obtains the templates of the generated Java accessors for a field of this type.
|
com.squareup.javapoet.TypeName |
getTypeName()
Obtains the
TypeName for the field. |
AccessorTemplate |
primarySetterTemplate()
Returns "addAll" setter prefix, used to initialize a repeated field using with a call to
Protobuf message builder.
|
java.lang.String |
toString() |
public com.squareup.javapoet.TypeName getTypeName()
FieldType
TypeName
for the field.getTypeName
in interface FieldType
public com.google.common.collect.ImmutableSet<AccessorTemplate> generatedAccessorTemplates()
FieldType
generatedAccessorTemplates
in interface FieldType
public AccessorTemplate primarySetterTemplate()
primarySetterTemplate
in interface FieldType
public java.lang.String toString()
toString
in class java.lang.Object