public static interface StructType.FieldOrBuilder
extends com.google.protobuf.MessageOrBuilder
| Modifier and Type | Method and Description |
|---|---|
String |
getName()
The name of the field.
|
com.google.protobuf.ByteString |
getNameBytes()
The name of the field.
|
Type |
getType()
The type of the field.
|
TypeOrBuilder |
getTypeOrBuilder()
The type of the field.
|
boolean |
hasType()
The type of the field.
|
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneofString getName()
The name of the field. For reads, this is the column name. For SQL queries, it is the column alias (e.g., `"Word"` in the query `"SELECT 'hello' AS Word"`), or the column name (e.g., `"ColName"` in the query `"SELECT ColName FROM Table"`). Some columns might have an empty name (e.g., !"SELECT UPPER(ColName)"`). Note that a query result can contain multiple fields with the same name.
string name = 1;com.google.protobuf.ByteString getNameBytes()
The name of the field. For reads, this is the column name. For SQL queries, it is the column alias (e.g., `"Word"` in the query `"SELECT 'hello' AS Word"`), or the column name (e.g., `"ColName"` in the query `"SELECT ColName FROM Table"`). Some columns might have an empty name (e.g., !"SELECT UPPER(ColName)"`). Note that a query result can contain multiple fields with the same name.
string name = 1;boolean hasType()
The type of the field.
.google.spanner.v1.Type type = 2;Type getType()
The type of the field.
.google.spanner.v1.Type type = 2;TypeOrBuilder getTypeOrBuilder()
The type of the field.
.google.spanner.v1.Type type = 2;Copyright © 2019 Google LLC. All rights reserved.