public static final class CloudSpannerProperties.Builder extends GeneratedMessageV3.Builder<CloudSpannerProperties.Builder> implements CloudSpannerPropertiesOrBuilder
Connection properties specific to Cloud Spanner.
Protobuf type google.cloud.bigquery.connection.v1.CloudSpannerProperties
Static Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public CloudSpannerProperties.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
build()
public CloudSpannerProperties build()
Returns
buildPartial()
public CloudSpannerProperties buildPartial()
Returns
clear()
public CloudSpannerProperties.Builder clear()
Returns
Overrides
clearDatabase()
public CloudSpannerProperties.Builder clearDatabase()
Cloud Spanner database in the form `project/instance/database'
string database = 1;
Returns
clearField(Descriptors.FieldDescriptor field)
public CloudSpannerProperties.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Returns
Overrides
clearOneof(Descriptors.OneofDescriptor oneof)
public CloudSpannerProperties.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Returns
Overrides
clearUseParallelism()
public CloudSpannerProperties.Builder clearUseParallelism()
If parallelism should be used when reading from Cloud Spanner
bool use_parallelism = 2;
Returns
clone()
public CloudSpannerProperties.Builder clone()
Returns
Overrides
getDatabase()
public String getDatabase()
Cloud Spanner database in the form `project/instance/database'
string database = 1;
Returns
Type | Description |
String | The database.
|
getDatabaseBytes()
public ByteString getDatabaseBytes()
Cloud Spanner database in the form `project/instance/database'
string database = 1;
Returns
getDefaultInstanceForType()
public CloudSpannerProperties getDefaultInstanceForType()
Returns
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns
Overrides
getUseParallelism()
public boolean getUseParallelism()
If parallelism should be used when reading from Cloud Spanner
bool use_parallelism = 2;
Returns
Type | Description |
boolean | The useParallelism.
|
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
mergeFrom(CloudSpannerProperties other)
public CloudSpannerProperties.Builder mergeFrom(CloudSpannerProperties other)
Parameter
Returns
public CloudSpannerProperties.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Overrides
Exceptions
mergeFrom(Message other)
public CloudSpannerProperties.Builder mergeFrom(Message other)
Parameter
Returns
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final CloudSpannerProperties.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides
setDatabase(String value)
public CloudSpannerProperties.Builder setDatabase(String value)
Cloud Spanner database in the form `project/instance/database'
string database = 1;
Parameter
Name | Description |
value | String
The database to set.
|
Returns
setDatabaseBytes(ByteString value)
public CloudSpannerProperties.Builder setDatabaseBytes(ByteString value)
Cloud Spanner database in the form `project/instance/database'
string database = 1;
Parameter
Name | Description |
value | ByteString
The bytes for database to set.
|
Returns
setField(Descriptors.FieldDescriptor field, Object value)
public CloudSpannerProperties.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public CloudSpannerProperties.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Returns
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final CloudSpannerProperties.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides
setUseParallelism(boolean value)
public CloudSpannerProperties.Builder setUseParallelism(boolean value)
If parallelism should be used when reading from Cloud Spanner
bool use_parallelism = 2;
Parameter
Name | Description |
value | boolean
The useParallelism to set.
|
Returns