public abstract static class Type.SchemalessEnum extends Object implements SqlType.Enum
Any attempts to call getForNumber() will throw an exception.
SqlType.Array<Elem>, SqlType.Code, SqlType.Enum<T extends com.google.protobuf.ProtocolMessageEnum>, SqlType.Map<K,V>, SqlType.Proto<T extends com.google.protobuf.AbstractMessage>, SqlType.Struct| Constructor and Description |
|---|
SchemalessEnum() |
| Modifier and Type | Method and Description |
|---|---|
static Type.SchemalessEnum |
create(String enumName,
String schemaBundleId) |
static Type.SchemalessEnum |
fromProto(Type.Enum proto) |
SqlType.Code |
getCode() |
abstract String |
getEnumName() |
Function<Integer,com.google.protobuf.ProtocolMessageEnum> |
getForNumber() |
abstract String |
schemaBundleId() |
String |
toString() |
public static Type.SchemalessEnum fromProto(Type.Enum proto)
public static Type.SchemalessEnum create(String enumName, String schemaBundleId)
public abstract String getEnumName()
getEnumName in interface SqlType.Enumpublic abstract String schemaBundleId()
public Function<Integer,com.google.protobuf.ProtocolMessageEnum> getForNumber()
getForNumber in interface SqlType.Enumpublic SqlType.Code getCode()
getCode in interface SqlTypeSqlType.Code enum for this typeCopyright © 2026 Google LLC. All rights reserved.