Class CloudSqlBigQueryConnectionSpec.Builder (1.39.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
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public CloudSqlBigQueryConnectionSpec.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
CloudSqlBigQueryConnectionSpec.Builder
Overrides

build()

public CloudSqlBigQueryConnectionSpec build()
Returns
TypeDescription
CloudSqlBigQueryConnectionSpec

buildPartial()

public CloudSqlBigQueryConnectionSpec buildPartial()
Returns
TypeDescription
CloudSqlBigQueryConnectionSpec

clear()

public CloudSqlBigQueryConnectionSpec.Builder clear()
Returns
TypeDescription
CloudSqlBigQueryConnectionSpec.Builder
Overrides

clearDatabase()

public CloudSqlBigQueryConnectionSpec.Builder clearDatabase()

Database name.

string database = 2;

Returns
TypeDescription
CloudSqlBigQueryConnectionSpec.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

public CloudSqlBigQueryConnectionSpec.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
CloudSqlBigQueryConnectionSpec.Builder
Overrides

clearInstanceId()

public CloudSqlBigQueryConnectionSpec.Builder clearInstanceId()

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

string instance_id = 1;

Returns
TypeDescription
CloudSqlBigQueryConnectionSpec.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

public CloudSqlBigQueryConnectionSpec.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
CloudSqlBigQueryConnectionSpec.Builder
Overrides

clearType()

public CloudSqlBigQueryConnectionSpec.Builder clearType()

Type of the Cloud SQL database.

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

Returns
TypeDescription
CloudSqlBigQueryConnectionSpec.Builder

This builder for chaining.

clone()

public CloudSqlBigQueryConnectionSpec.Builder clone()
Returns
TypeDescription
CloudSqlBigQueryConnectionSpec.Builder
Overrides

getDatabase()

public String getDatabase()

Database name.

string database = 2;

Returns
TypeDescription
String

The database.

getDatabaseBytes()

public ByteString getDatabaseBytes()

Database name.

string database = 2;

Returns
TypeDescription
ByteString

The bytes for database.

getDefaultInstanceForType()

public CloudSqlBigQueryConnectionSpec getDefaultInstanceForType()
Returns
TypeDescription
CloudSqlBigQueryConnectionSpec

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getInstanceId()

public String getInstanceId()

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

string instance_id = 1;

Returns
TypeDescription
String

The instanceId.

getInstanceIdBytes()

public ByteString getInstanceIdBytes()

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

string instance_id = 1;

Returns
TypeDescription
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
TypeDescription
CloudSqlBigQueryConnectionSpec.DatabaseType

The type.

getTypeValue()

public int getTypeValue()

Type of the Cloud SQL database.

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

Returns
TypeDescription
int

The enum numeric value on the wire for type.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(CloudSqlBigQueryConnectionSpec other)

public CloudSqlBigQueryConnectionSpec.Builder mergeFrom(CloudSqlBigQueryConnectionSpec other)
Parameter
NameDescription
otherCloudSqlBigQueryConnectionSpec
Returns
TypeDescription
CloudSqlBigQueryConnectionSpec.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public CloudSqlBigQueryConnectionSpec.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
CloudSqlBigQueryConnectionSpec.Builder
Overrides
Exceptions
TypeDescription
IOException

mergeFrom(Message other)

public CloudSqlBigQueryConnectionSpec.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
CloudSqlBigQueryConnectionSpec.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final CloudSqlBigQueryConnectionSpec.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
CloudSqlBigQueryConnectionSpec.Builder
Overrides

setDatabase(String value)

public CloudSqlBigQueryConnectionSpec.Builder setDatabase(String value)

Database name.

string database = 2;

Parameter
NameDescription
valueString

The database to set.

Returns
TypeDescription
CloudSqlBigQueryConnectionSpec.Builder

This builder for chaining.

setDatabaseBytes(ByteString value)

public CloudSqlBigQueryConnectionSpec.Builder setDatabaseBytes(ByteString value)

Database name.

string database = 2;

Parameter
NameDescription
valueByteString

The bytes for database to set.

Returns
TypeDescription
CloudSqlBigQueryConnectionSpec.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

public CloudSqlBigQueryConnectionSpec.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
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
NameDescription
valueString

The instanceId to set.

Returns
TypeDescription
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
NameDescription
valueByteString

The bytes for instanceId to set.

Returns
TypeDescription
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
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
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
NameDescription
valueCloudSqlBigQueryConnectionSpec.DatabaseType

The type to set.

Returns
TypeDescription
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
NameDescription
valueint

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

Returns
TypeDescription
CloudSqlBigQueryConnectionSpec.Builder

This builder for chaining.

setUnknownFields(UnknownFieldSet unknownFields)

public final CloudSqlBigQueryConnectionSpec.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
CloudSqlBigQueryConnectionSpec.Builder
Overrides