public abstract static class Type.Enum<T extends com.google.protobuf.ProtocolMessageEnum> extends Object implements Type, SqlType.Enum<T>
Type.Array<Elem>, Type.Bool, Type.Bytes, Type.Date, Type.DefaultInstances, Type.Enum<T extends com.google.protobuf.ProtocolMessageEnum>, Type.Float32, Type.Float64, Type.Int64, Type.Map<K,V>, Type.Proto<T extends com.google.protobuf.AbstractMessage>, Type.SchemalessEnum, Type.SchemalessProto, Type.SchemalessStruct, Type.String, Type.StructWithSchema, Type.TimestampSqlType.Code, SqlType.Struct| Constructor and Description |
|---|
Enum() |
| Modifier and Type | Method and Description |
|---|---|
static <T extends com.google.protobuf.ProtocolMessageEnum> |
create(Function<Integer,T> forNumber) |
boolean |
equals(Object o) |
SqlType.Code |
getCode() |
String |
getEnumName() |
abstract Function<Integer,T> |
getForNumber() |
int |
hashCode() |
String |
toString() |
public static <T extends com.google.protobuf.ProtocolMessageEnum> SqlType.Enum<T> create(Function<Integer,T> forNumber)
@Nonnull public abstract Function<Integer,T> getForNumber()
getForNumber in interface SqlType.Enum<T extends com.google.protobuf.ProtocolMessageEnum>public String getEnumName()
getEnumName in interface SqlType.Enum<T extends com.google.protobuf.ProtocolMessageEnum>public SqlType.Code getCode()
getCode in interface SqlType<T extends com.google.protobuf.ProtocolMessageEnum>SqlType.Code enum for this typeCopyright © 2026 Google LLC. All rights reserved.