Class CloudSqlBigQueryConnectionSpec.Builder (1.50.0)

public static final class CloudSqlBigQueryConnectionSpec.Builder extends GeneratedMessageV3.Builder<CloudSqlBigQueryConnectionSpec.Builder> implements CloudSqlBigQueryConnectionSpecOrBuilder

Specification for the BigQuery connection to a Cloud SQL instance.

Protobuf type google.cloud.datacatalog.v1.CloudSqlBigQueryConnectionSpec

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public CloudSqlBigQueryConnectionSpec.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
CloudSqlBigQueryConnectionSpec.Builder
Overrides

build()

public CloudSqlBigQueryConnectionSpec build()
Returns
Type Description
CloudSqlBigQueryConnectionSpec

buildPartial()

public CloudSqlBigQueryConnectionSpec buildPartial()
Returns
Type Description
CloudSqlBigQueryConnectionSpec

clear()

public CloudSqlBigQueryConnectionSpec.Builder clear()
Returns
Type Description
CloudSqlBigQueryConnectionSpec.Builder
Overrides

clearDatabase()

public CloudSqlBigQueryConnectionSpec.Builder clearDatabase()

Database name.

string database = 2;

Returns
Type Description
CloudSqlBigQueryConnectionSpec.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

public CloudSqlBigQueryConnectionSpec.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
CloudSqlBigQueryConnectionSpec.Builder
Overrides

clearInstanceId()

public CloudSqlBigQueryConnectionSpec.Builder clearInstanceId()

Cloud SQL instance ID in the format of project:location:instance.

string instance_id = 1;

Returns
Type Description
CloudSqlBigQueryConnectionSpec.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

public CloudSqlBigQueryConnectionSpec.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
CloudSqlBigQueryConnectionSpec.Builder
Overrides

clearType()

public CloudSqlBigQueryConnectionSpec.Builder clearType()

Type of the Cloud SQL database.

.google.cloud.datacatalog.v1.CloudSqlBigQueryConnectionSpec.DatabaseType type = 3;

Returns
Type Description
CloudSqlBigQueryConnectionSpec.Builder

This builder for chaining.

clone()

public CloudSqlBigQueryConnectionSpec.Builder clone()
Returns
Type Description
CloudSqlBigQueryConnectionSpec.Builder
Overrides

getDatabase()

public String getDatabase()

Database name.

string database = 2;

Returns
Type Description
String

The database.

getDatabaseBytes()

public ByteString getDatabaseBytes()

Database name.

string database = 2;

Returns
Type Description
ByteString

The bytes for database.

getDefaultInstanceForType()

public CloudSqlBigQueryConnectionSpec getDefaultInstanceForType()
Returns
Type Description
CloudSqlBigQueryConnectionSpec

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

getInstanceId()

public String getInstanceId()

Cloud SQL instance ID in the format of project:location:instance.

string instance_id = 1;

Returns
Type Description
String

The instanceId.

getInstanceIdBytes()

public ByteString getInstanceIdBytes()

Cloud SQL instance ID in the format of project:location:instance.

string instance_id = 1;

Returns
Type Description
ByteString

The bytes for instanceId.

getType()

public CloudSqlBigQueryConnectionSpec.DatabaseType getType()

Type of the Cloud SQL database.

.google.cloud.datacatalog.v1.CloudSqlBigQueryConnectionSpec.DatabaseType type = 3;

Returns
Type Description
CloudSqlBigQueryConnectionSpec.DatabaseType

The type.

getTypeValue()

public int getTypeValue()

Type of the Cloud SQL database.

.google.cloud.datacatalog.v1.CloudSqlBigQueryConnectionSpec.DatabaseType type = 3;

Returns
Type Description
int

The enum numeric value on the wire for type.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(CloudSqlBigQueryConnectionSpec other)

public CloudSqlBigQueryConnectionSpec.Builder mergeFrom(CloudSqlBigQueryConnectionSpec other)
Parameter
Name Description
other CloudSqlBigQueryConnectionSpec
Returns
Type Description
CloudSqlBigQueryConnectionSpec.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public CloudSqlBigQueryConnectionSpec.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
CloudSqlBigQueryConnectionSpec.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public CloudSqlBigQueryConnectionSpec.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
CloudSqlBigQueryConnectionSpec.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final CloudSqlBigQueryConnectionSpec.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
CloudSqlBigQueryConnectionSpec.Builder
Overrides

setDatabase(String value)

public CloudSqlBigQueryConnectionSpec.Builder setDatabase(String value)

Database name.

string database = 2;

Parameter
Name Description
value String

The database to set.

Returns
Type Description
CloudSqlBigQueryConnectionSpec.Builder

This builder for chaining.

setDatabaseBytes(ByteString value)

public CloudSqlBigQueryConnectionSpec.Builder setDatabaseBytes(ByteString value)

Database name.

string database = 2;

Parameter
Name Description
value ByteString

The bytes for database to set.

Returns
Type Description
CloudSqlBigQueryConnectionSpec.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

public CloudSqlBigQueryConnectionSpec.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
CloudSqlBigQueryConnectionSpec.Builder
Overrides

setInstanceId(String value)

public CloudSqlBigQueryConnectionSpec.Builder setInstanceId(String value)

Cloud SQL instance ID in the format of project:location:instance.

string instance_id = 1;

Parameter
Name Description
value String

The instanceId to set.

Returns
Type Description
CloudSqlBigQueryConnectionSpec.Builder

This builder for chaining.

setInstanceIdBytes(ByteString value)

public CloudSqlBigQueryConnectionSpec.Builder setInstanceIdBytes(ByteString value)

Cloud SQL instance ID in the format of project:location:instance.

string instance_id = 1;

Parameter
Name Description
value ByteString

The bytes for instanceId to set.

Returns
Type Description
CloudSqlBigQueryConnectionSpec.Builder

This builder for chaining.

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public CloudSqlBigQueryConnectionSpec.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
CloudSqlBigQueryConnectionSpec.Builder
Overrides

setType(CloudSqlBigQueryConnectionSpec.DatabaseType value)

public CloudSqlBigQueryConnectionSpec.Builder setType(CloudSqlBigQueryConnectionSpec.DatabaseType value)

Type of the Cloud SQL database.

.google.cloud.datacatalog.v1.CloudSqlBigQueryConnectionSpec.DatabaseType type = 3;

Parameter
Name Description
value CloudSqlBigQueryConnectionSpec.DatabaseType

The type to set.

Returns
Type Description
CloudSqlBigQueryConnectionSpec.Builder

This builder for chaining.

setTypeValue(int value)

public CloudSqlBigQueryConnectionSpec.Builder setTypeValue(int value)

Type of the Cloud SQL database.

.google.cloud.datacatalog.v1.CloudSqlBigQueryConnectionSpec.DatabaseType type = 3;

Parameter
Name Description
value int

The enum numeric value on the wire for type to set.

Returns
Type Description
CloudSqlBigQueryConnectionSpec.Builder

This builder for chaining.

setUnknownFields(UnknownFieldSet unknownFields)

public final CloudSqlBigQueryConnectionSpec.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
CloudSqlBigQueryConnectionSpec.Builder
Overrides