SoyType.Kind| Constructor and Description |
|---|
SoyProtoEnumType(com.google.protobuf.Descriptors.EnumDescriptor descriptor) |
| Modifier and Type | Method and Description |
|---|---|
String |
getDescriptorExpression() |
SoyType.Kind |
getKind()
Returns what kind of type this is.
|
String |
getName() |
String |
getNameForBackend(SoyBackendKind backend) |
Integer |
getValue(String memberName) |
boolean |
isAssignableFrom(SoyType fromType)
Returns true if a parameter or field of this type can be assigned from a value of
srcType. |
String |
toString() |
public SoyProtoEnumType(com.google.protobuf.Descriptors.EnumDescriptor descriptor)
public SoyType.Kind getKind()
SoyTypepublic boolean isAssignableFrom(SoyType fromType)
SoyTypesrcType.isAssignableFrom in interface SoyTypefromType - The type of the incoming value.public String getName()
public String getNameForBackend(SoyBackendKind backend)
public String getDescriptorExpression()