public static final class ResultSetMetadata.Builder extends GeneratedMessageV3.Builder<ResultSetMetadata.Builder> implements ResultSetMetadataOrBuilder
Metadata about a [ResultSet][google.spanner.v1.ResultSet] or [PartialResultSet][google.spanner.v1.PartialResultSet].Protobuf type
google.spanner.v1.ResultSetMetadata
Modifier and Type | Method and Description |
---|---|
ResultSetMetadata.Builder |
addRepeatedField(Descriptors.FieldDescriptor field,
Object value) |
ResultSetMetadata |
build() |
ResultSetMetadata |
buildPartial() |
ResultSetMetadata.Builder |
clear() |
ResultSetMetadata.Builder |
clearField(Descriptors.FieldDescriptor field) |
ResultSetMetadata.Builder |
clearOneof(Descriptors.OneofDescriptor oneof) |
ResultSetMetadata.Builder |
clearRowType()
Indicates the field names and types for the rows in the result
set.
|
ResultSetMetadata.Builder |
clearTransaction()
If the read or SQL query began a transaction as a side-effect, the
information about the new transaction is yielded here.
|
ResultSetMetadata.Builder |
clone() |
ResultSetMetadata |
getDefaultInstanceForType() |
static Descriptors.Descriptor |
getDescriptor() |
Descriptors.Descriptor |
getDescriptorForType() |
StructType |
getRowType()
Indicates the field names and types for the rows in the result
set.
|
StructType.Builder |
getRowTypeBuilder()
Indicates the field names and types for the rows in the result
set.
|
StructTypeOrBuilder |
getRowTypeOrBuilder()
Indicates the field names and types for the rows in the result
set.
|
Transaction |
getTransaction()
If the read or SQL query began a transaction as a side-effect, the
information about the new transaction is yielded here.
|
Transaction.Builder |
getTransactionBuilder()
If the read or SQL query began a transaction as a side-effect, the
information about the new transaction is yielded here.
|
TransactionOrBuilder |
getTransactionOrBuilder()
If the read or SQL query began a transaction as a side-effect, the
information about the new transaction is yielded here.
|
boolean |
hasRowType()
Indicates the field names and types for the rows in the result
set.
|
boolean |
hasTransaction()
If the read or SQL query began a transaction as a side-effect, the
information about the new transaction is yielded here.
|
protected GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
ResultSetMetadata.Builder |
mergeFrom(CodedInputStream input,
ExtensionRegistryLite extensionRegistry) |
ResultSetMetadata.Builder |
mergeFrom(Message other) |
ResultSetMetadata.Builder |
mergeFrom(ResultSetMetadata other) |
ResultSetMetadata.Builder |
mergeRowType(StructType value)
Indicates the field names and types for the rows in the result
set.
|
ResultSetMetadata.Builder |
mergeTransaction(Transaction value)
If the read or SQL query began a transaction as a side-effect, the
information about the new transaction is yielded here.
|
ResultSetMetadata.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields) |
ResultSetMetadata.Builder |
setField(Descriptors.FieldDescriptor field,
Object value) |
ResultSetMetadata.Builder |
setRepeatedField(Descriptors.FieldDescriptor field,
int index,
Object value) |
ResultSetMetadata.Builder |
setRowType(StructType.Builder builderForValue)
Indicates the field names and types for the rows in the result
set.
|
ResultSetMetadata.Builder |
setRowType(StructType value)
Indicates the field names and types for the rows in the result
set.
|
ResultSetMetadata.Builder |
setTransaction(Transaction.Builder builderForValue)
If the read or SQL query began a transaction as a side-effect, the
information about the new transaction is yielded here.
|
ResultSetMetadata.Builder |
setTransaction(Transaction value)
If the read or SQL query began a transaction as a side-effect, the
information about the new transaction is yielded here.
|
ResultSetMetadata.Builder |
setUnknownFields(UnknownFieldSet unknownFields) |
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, newBuilderForField, onBuilt, onChanged, setUnknownFieldsProto3
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageException
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
mergeDelimitedFrom, mergeDelimitedFrom
mergeFrom
public static final Descriptors.Descriptor getDescriptor()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable
in class GeneratedMessageV3.Builder<ResultSetMetadata.Builder>
public ResultSetMetadata.Builder clear()
clear
in interface Message.Builder
clear
in interface MessageLite.Builder
clear
in class GeneratedMessageV3.Builder<ResultSetMetadata.Builder>
public Descriptors.Descriptor getDescriptorForType()
getDescriptorForType
in interface Message.Builder
getDescriptorForType
in interface MessageOrBuilder
getDescriptorForType
in class GeneratedMessageV3.Builder<ResultSetMetadata.Builder>
public ResultSetMetadata getDefaultInstanceForType()
getDefaultInstanceForType
in interface MessageLiteOrBuilder
getDefaultInstanceForType
in interface MessageOrBuilder
public ResultSetMetadata build()
build
in interface Message.Builder
build
in interface MessageLite.Builder
public ResultSetMetadata buildPartial()
buildPartial
in interface Message.Builder
buildPartial
in interface MessageLite.Builder
public ResultSetMetadata.Builder clone()
clone
in interface Message.Builder
clone
in interface MessageLite.Builder
clone
in class GeneratedMessageV3.Builder<ResultSetMetadata.Builder>
public ResultSetMetadata.Builder setField(Descriptors.FieldDescriptor field, Object value)
setField
in interface Message.Builder
setField
in class GeneratedMessageV3.Builder<ResultSetMetadata.Builder>
public ResultSetMetadata.Builder clearField(Descriptors.FieldDescriptor field)
clearField
in interface Message.Builder
clearField
in class GeneratedMessageV3.Builder<ResultSetMetadata.Builder>
public ResultSetMetadata.Builder clearOneof(Descriptors.OneofDescriptor oneof)
clearOneof
in interface Message.Builder
clearOneof
in class GeneratedMessageV3.Builder<ResultSetMetadata.Builder>
public ResultSetMetadata.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
setRepeatedField
in interface Message.Builder
setRepeatedField
in class GeneratedMessageV3.Builder<ResultSetMetadata.Builder>
public ResultSetMetadata.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
addRepeatedField
in interface Message.Builder
addRepeatedField
in class GeneratedMessageV3.Builder<ResultSetMetadata.Builder>
public ResultSetMetadata.Builder mergeFrom(Message other)
mergeFrom
in interface Message.Builder
mergeFrom
in class AbstractMessage.Builder<ResultSetMetadata.Builder>
public ResultSetMetadata.Builder mergeFrom(ResultSetMetadata other)
public final boolean isInitialized()
isInitialized
in interface MessageLiteOrBuilder
isInitialized
in class GeneratedMessageV3.Builder<ResultSetMetadata.Builder>
public ResultSetMetadata.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry) throws IOException
mergeFrom
in interface Message.Builder
mergeFrom
in interface MessageLite.Builder
mergeFrom
in class AbstractMessage.Builder<ResultSetMetadata.Builder>
IOException
public boolean hasRowType()
Indicates the field names and types for the rows in the result set. For example, a SQL query like `"SELECT UserId, UserName FROM Users"` could return a `row_type` value like: "fields": [ { "name": "UserId", "type": { "code": "INT64" } }, { "name": "UserName", "type": { "code": "STRING" } }, ]
.google.spanner.v1.StructType row_type = 1;
hasRowType
in interface ResultSetMetadataOrBuilder
public StructType getRowType()
Indicates the field names and types for the rows in the result set. For example, a SQL query like `"SELECT UserId, UserName FROM Users"` could return a `row_type` value like: "fields": [ { "name": "UserId", "type": { "code": "INT64" } }, { "name": "UserName", "type": { "code": "STRING" } }, ]
.google.spanner.v1.StructType row_type = 1;
getRowType
in interface ResultSetMetadataOrBuilder
public ResultSetMetadata.Builder setRowType(StructType value)
Indicates the field names and types for the rows in the result set. For example, a SQL query like `"SELECT UserId, UserName FROM Users"` could return a `row_type` value like: "fields": [ { "name": "UserId", "type": { "code": "INT64" } }, { "name": "UserName", "type": { "code": "STRING" } }, ]
.google.spanner.v1.StructType row_type = 1;
public ResultSetMetadata.Builder setRowType(StructType.Builder builderForValue)
Indicates the field names and types for the rows in the result set. For example, a SQL query like `"SELECT UserId, UserName FROM Users"` could return a `row_type` value like: "fields": [ { "name": "UserId", "type": { "code": "INT64" } }, { "name": "UserName", "type": { "code": "STRING" } }, ]
.google.spanner.v1.StructType row_type = 1;
public ResultSetMetadata.Builder mergeRowType(StructType value)
Indicates the field names and types for the rows in the result set. For example, a SQL query like `"SELECT UserId, UserName FROM Users"` could return a `row_type` value like: "fields": [ { "name": "UserId", "type": { "code": "INT64" } }, { "name": "UserName", "type": { "code": "STRING" } }, ]
.google.spanner.v1.StructType row_type = 1;
public ResultSetMetadata.Builder clearRowType()
Indicates the field names and types for the rows in the result set. For example, a SQL query like `"SELECT UserId, UserName FROM Users"` could return a `row_type` value like: "fields": [ { "name": "UserId", "type": { "code": "INT64" } }, { "name": "UserName", "type": { "code": "STRING" } }, ]
.google.spanner.v1.StructType row_type = 1;
public StructType.Builder getRowTypeBuilder()
Indicates the field names and types for the rows in the result set. For example, a SQL query like `"SELECT UserId, UserName FROM Users"` could return a `row_type` value like: "fields": [ { "name": "UserId", "type": { "code": "INT64" } }, { "name": "UserName", "type": { "code": "STRING" } }, ]
.google.spanner.v1.StructType row_type = 1;
public StructTypeOrBuilder getRowTypeOrBuilder()
Indicates the field names and types for the rows in the result set. For example, a SQL query like `"SELECT UserId, UserName FROM Users"` could return a `row_type` value like: "fields": [ { "name": "UserId", "type": { "code": "INT64" } }, { "name": "UserName", "type": { "code": "STRING" } }, ]
.google.spanner.v1.StructType row_type = 1;
getRowTypeOrBuilder
in interface ResultSetMetadataOrBuilder
public boolean hasTransaction()
If the read or SQL query began a transaction as a side-effect, the information about the new transaction is yielded here.
.google.spanner.v1.Transaction transaction = 2;
hasTransaction
in interface ResultSetMetadataOrBuilder
public Transaction getTransaction()
If the read or SQL query began a transaction as a side-effect, the information about the new transaction is yielded here.
.google.spanner.v1.Transaction transaction = 2;
getTransaction
in interface ResultSetMetadataOrBuilder
public ResultSetMetadata.Builder setTransaction(Transaction value)
If the read or SQL query began a transaction as a side-effect, the information about the new transaction is yielded here.
.google.spanner.v1.Transaction transaction = 2;
public ResultSetMetadata.Builder setTransaction(Transaction.Builder builderForValue)
If the read or SQL query began a transaction as a side-effect, the information about the new transaction is yielded here.
.google.spanner.v1.Transaction transaction = 2;
public ResultSetMetadata.Builder mergeTransaction(Transaction value)
If the read or SQL query began a transaction as a side-effect, the information about the new transaction is yielded here.
.google.spanner.v1.Transaction transaction = 2;
public ResultSetMetadata.Builder clearTransaction()
If the read or SQL query began a transaction as a side-effect, the information about the new transaction is yielded here.
.google.spanner.v1.Transaction transaction = 2;
public Transaction.Builder getTransactionBuilder()
If the read or SQL query began a transaction as a side-effect, the information about the new transaction is yielded here.
.google.spanner.v1.Transaction transaction = 2;
public TransactionOrBuilder getTransactionOrBuilder()
If the read or SQL query began a transaction as a side-effect, the information about the new transaction is yielded here.
.google.spanner.v1.Transaction transaction = 2;
getTransactionOrBuilder
in interface ResultSetMetadataOrBuilder
public final ResultSetMetadata.Builder setUnknownFields(UnknownFieldSet unknownFields)
setUnknownFields
in interface Message.Builder
setUnknownFields
in class GeneratedMessageV3.Builder<ResultSetMetadata.Builder>
public final ResultSetMetadata.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
mergeUnknownFields
in interface Message.Builder
mergeUnknownFields
in class GeneratedMessageV3.Builder<ResultSetMetadata.Builder>
Copyright © 2022 Google LLC. All rights reserved.