public abstract static class Type.Proto<T extends com.google.protobuf.AbstractMessage> extends Object implements Type, SqlType.Proto<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 |
|---|
Proto() |
| Modifier and Type | Method and Description |
|---|---|
static <T extends com.google.protobuf.AbstractMessage> |
create(T message) |
SqlType.Code |
getCode() |
String |
getMessageName() |
com.google.protobuf.Parser<T> |
getParserForType() |
String |
toString() |
public static <T extends com.google.protobuf.AbstractMessage> SqlType.Proto<T> create(T message)
public SqlType.Code getCode()
getCode in interface SqlType<T extends com.google.protobuf.AbstractMessage>SqlType.Code enum for this type@Nonnull public com.google.protobuf.Parser<T> getParserForType()
getParserForType in interface SqlType.Proto<T extends com.google.protobuf.AbstractMessage>public String getMessageName()
getMessageName in interface SqlType.Proto<T extends com.google.protobuf.AbstractMessage>Copyright © 2026 Google LLC. All rights reserved.