- 6.108.0 (latest)
- 6.107.0
- 6.103.0
- 6.102.1
- 6.101.1
- 6.100.0
- 6.99.0
- 6.98.1
- 6.97.1
- 6.96.1
- 6.95.1
- 6.94.0
- 6.93.0
- 6.89.0
- 6.88.0
- 6.87.0
- 6.86.0
- 6.85.0
- 6.83.0
- 6.82.0
- 6.80.1
- 6.79.0
- 6.77.0
- 6.74.1
- 6.72.0
- 6.71.0
- 6.69.0
- 6.68.0
- 6.66.0
- 6.65.1
- 6.62.0
- 6.60.0
- 6.58.0
- 6.57.0
- 6.56.0
- 6.55.0
- 6.54.0
- 6.53.0
- 6.52.1
- 6.51.0
- 6.50.1
- 6.49.0
- 6.25.1
- 6.24.0
- 6.23.4
- 6.22.0
- 6.21.2
- 6.20.0
- 6.19.1
- 6.18.0
- 6.17.4
- 6.14.1
public static final class StructType.Field.Builder extends GeneratedMessage.Builder<StructType.Field.Builder> implements StructType.FieldOrBuilderMessage representing a single field of a struct.
Protobuf type google.spanner.v1.StructType.Field
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > StructType.Field.BuilderImplements
StructType.FieldOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
build()
public StructType.Field build()| Returns | |
|---|---|
| Type | Description |
StructType.Field |
|
buildPartial()
public StructType.Field buildPartial()| Returns | |
|---|---|
| Type | Description |
StructType.Field |
|
clear()
public StructType.Field.Builder clear()| Returns | |
|---|---|
| Type | Description |
StructType.Field.Builder |
|
clearName()
public StructType.Field.Builder clearName() 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;
| Returns | |
|---|---|
| Type | Description |
StructType.Field.Builder |
This builder for chaining. |
clearType()
public StructType.Field.Builder clearType()The type of the field.
.google.spanner.v1.Type type = 2;
| Returns | |
|---|---|
| Type | Description |
StructType.Field.Builder |
|
getDefaultInstanceForType()
public StructType.Field getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
StructType.Field |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
getName()
public String 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;
| Returns | |
|---|---|
| Type | Description |
String |
The name. |
getNameBytes()
public 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;
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for name. |
getType()
public Type getType()The type of the field.
.google.spanner.v1.Type type = 2;
| Returns | |
|---|---|
| Type | Description |
Type |
The type. |
getTypeBuilder()
public Type.Builder getTypeBuilder()The type of the field.
.google.spanner.v1.Type type = 2;
| Returns | |
|---|---|
| Type | Description |
Type.Builder |
|
getTypeOrBuilder()
public TypeOrBuilder getTypeOrBuilder()The type of the field.
.google.spanner.v1.Type type = 2;
| Returns | |
|---|---|
| Type | Description |
TypeOrBuilder |
|
hasType()
public boolean hasType()The type of the field.
.google.spanner.v1.Type type = 2;
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the type field is set. |
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public StructType.Field.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
StructType.Field.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public StructType.Field.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
StructType.Field.Builder |
|
mergeFrom(StructType.Field other)
public StructType.Field.Builder mergeFrom(StructType.Field other)| Parameter | |
|---|---|
| Name | Description |
other |
StructType.Field |
| Returns | |
|---|---|
| Type | Description |
StructType.Field.Builder |
|
mergeType(Type value)
public StructType.Field.Builder mergeType(Type value)The type of the field.
.google.spanner.v1.Type type = 2;
| Parameter | |
|---|---|
| Name | Description |
value |
Type |
| Returns | |
|---|---|
| Type | Description |
StructType.Field.Builder |
|
setName(String value)
public StructType.Field.Builder setName(String value) 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;
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe name to set. |
| Returns | |
|---|---|
| Type | Description |
StructType.Field.Builder |
This builder for chaining. |
setNameBytes(ByteString value)
public StructType.Field.Builder setNameBytes(ByteString value) 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;
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for name to set. |
| Returns | |
|---|---|
| Type | Description |
StructType.Field.Builder |
This builder for chaining. |
setType(Type value)
public StructType.Field.Builder setType(Type value)The type of the field.
.google.spanner.v1.Type type = 2;
| Parameter | |
|---|---|
| Name | Description |
value |
Type |
| Returns | |
|---|---|
| Type | Description |
StructType.Field.Builder |
|
setType(Type.Builder builderForValue)
public StructType.Field.Builder setType(Type.Builder builderForValue)The type of the field.
.google.spanner.v1.Type type = 2;
| Parameter | |
|---|---|
| Name | Description |
builderForValue |
Type.Builder |
| Returns | |
|---|---|
| Type | Description |
StructType.Field.Builder |
|