- 2.56.0 (latest)
- 2.55.0
- 2.54.0
- 2.53.0
- 2.51.0
- 2.50.0
- 2.49.0
- 2.48.0
- 2.47.0
- 2.46.0
- 2.45.0
- 2.44.0
- 2.43.0
- 2.42.0
- 2.41.0
- 2.39.0
- 2.38.0
- 2.37.0
- 2.36.0
- 2.35.0
- 2.34.0
- 2.33.0
- 2.32.0
- 2.31.0
- 2.30.0
- 2.29.0
- 2.26.0
- 2.25.0
- 2.24.0
- 2.23.0
- 2.22.0
- 2.21.0
- 2.20.0
- 2.19.0
- 2.18.0
- 2.17.0
- 2.16.0
- 2.15.0
- 2.14.0
- 2.13.0
- 2.12.0
- 2.11.0
- 2.10.0
- 2.9.0
- 2.8.0
- 2.7.0
- 2.6.0
- 2.5.6
- 2.4.0
- 2.2.4
- 2.1.11
public static final class CloudSqlProperties.Builder extends GeneratedMessageV3.Builder<CloudSqlProperties.Builder> implements CloudSqlPropertiesOrBuilder
Connection properties specific to the Cloud SQL.
Protobuf type google.cloud.bigquery.connection.v1.CloudSqlProperties
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > CloudSqlProperties.BuilderImplements
CloudSqlPropertiesOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns | |
---|---|
Type | Description |
Descriptor |
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public CloudSqlProperties.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
value |
Object |
Returns | |
---|---|
Type | Description |
CloudSqlProperties.Builder |
build()
public CloudSqlProperties build()
Returns | |
---|---|
Type | Description |
CloudSqlProperties |
buildPartial()
public CloudSqlProperties buildPartial()
Returns | |
---|---|
Type | Description |
CloudSqlProperties |
clear()
public CloudSqlProperties.Builder clear()
Returns | |
---|---|
Type | Description |
CloudSqlProperties.Builder |
clearCredential()
public CloudSqlProperties.Builder clearCredential()
Input only. Cloud SQL credential.
.google.cloud.bigquery.connection.v1.CloudSqlCredential credential = 4 [(.google.api.field_behavior) = INPUT_ONLY];
Returns | |
---|---|
Type | Description |
CloudSqlProperties.Builder |
clearDatabase()
public CloudSqlProperties.Builder clearDatabase()
Database name.
string database = 2;
Returns | |
---|---|
Type | Description |
CloudSqlProperties.Builder |
This builder for chaining. |
clearField(Descriptors.FieldDescriptor field)
public CloudSqlProperties.Builder clearField(Descriptors.FieldDescriptor field)
Parameter | |
---|---|
Name | Description |
field |
FieldDescriptor |
Returns | |
---|---|
Type | Description |
CloudSqlProperties.Builder |
clearInstanceId()
public CloudSqlProperties.Builder clearInstanceId()
Cloud SQL instance ID in the form project:location:instance
.
string instance_id = 1;
Returns | |
---|---|
Type | Description |
CloudSqlProperties.Builder |
This builder for chaining. |
clearOneof(Descriptors.OneofDescriptor oneof)
public CloudSqlProperties.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter | |
---|---|
Name | Description |
oneof |
OneofDescriptor |
Returns | |
---|---|
Type | Description |
CloudSqlProperties.Builder |
clearServiceAccountId()
public CloudSqlProperties.Builder clearServiceAccountId()
Output only. The account ID of the service used for the purpose of this connection.
When the connection is used in the context of an operation in BigQuery, this service account will serve as the identity being used for connecting to the CloudSQL instance specified in this connection.
string service_account_id = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns | |
---|---|
Type | Description |
CloudSqlProperties.Builder |
This builder for chaining. |
clearType()
public CloudSqlProperties.Builder clearType()
Type of the Cloud SQL database.
.google.cloud.bigquery.connection.v1.CloudSqlProperties.DatabaseType type = 3;
Returns | |
---|---|
Type | Description |
CloudSqlProperties.Builder |
This builder for chaining. |
clone()
public CloudSqlProperties.Builder clone()
Returns | |
---|---|
Type | Description |
CloudSqlProperties.Builder |
getCredential()
public CloudSqlCredential getCredential()
Input only. Cloud SQL credential.
.google.cloud.bigquery.connection.v1.CloudSqlCredential credential = 4 [(.google.api.field_behavior) = INPUT_ONLY];
Returns | |
---|---|
Type | Description |
CloudSqlCredential |
The credential. |
getCredentialBuilder()
public CloudSqlCredential.Builder getCredentialBuilder()
Input only. Cloud SQL credential.
.google.cloud.bigquery.connection.v1.CloudSqlCredential credential = 4 [(.google.api.field_behavior) = INPUT_ONLY];
Returns | |
---|---|
Type | Description |
CloudSqlCredential.Builder |
getCredentialOrBuilder()
public CloudSqlCredentialOrBuilder getCredentialOrBuilder()
Input only. Cloud SQL credential.
.google.cloud.bigquery.connection.v1.CloudSqlCredential credential = 4 [(.google.api.field_behavior) = INPUT_ONLY];
Returns | |
---|---|
Type | Description |
CloudSqlCredentialOrBuilder |
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 CloudSqlProperties getDefaultInstanceForType()
Returns | |
---|---|
Type | Description |
CloudSqlProperties |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns | |
---|---|
Type | Description |
Descriptor |
getInstanceId()
public String getInstanceId()
Cloud SQL instance ID in the form project:location:instance
.
string instance_id = 1;
Returns | |
---|---|
Type | Description |
String |
The instanceId. |
getInstanceIdBytes()
public ByteString getInstanceIdBytes()
Cloud SQL instance ID in the form project:location:instance
.
string instance_id = 1;
Returns | |
---|---|
Type | Description |
ByteString |
The bytes for instanceId. |
getServiceAccountId()
public String getServiceAccountId()
Output only. The account ID of the service used for the purpose of this connection.
When the connection is used in the context of an operation in BigQuery, this service account will serve as the identity being used for connecting to the CloudSQL instance specified in this connection.
string service_account_id = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns | |
---|---|
Type | Description |
String |
The serviceAccountId. |
getServiceAccountIdBytes()
public ByteString getServiceAccountIdBytes()
Output only. The account ID of the service used for the purpose of this connection.
When the connection is used in the context of an operation in BigQuery, this service account will serve as the identity being used for connecting to the CloudSQL instance specified in this connection.
string service_account_id = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns | |
---|---|
Type | Description |
ByteString |
The bytes for serviceAccountId. |
getType()
public CloudSqlProperties.DatabaseType getType()
Type of the Cloud SQL database.
.google.cloud.bigquery.connection.v1.CloudSqlProperties.DatabaseType type = 3;
Returns | |
---|---|
Type | Description |
CloudSqlProperties.DatabaseType |
The type. |
getTypeValue()
public int getTypeValue()
Type of the Cloud SQL database.
.google.cloud.bigquery.connection.v1.CloudSqlProperties.DatabaseType type = 3;
Returns | |
---|---|
Type | Description |
int |
The enum numeric value on the wire for type. |
hasCredential()
public boolean hasCredential()
Input only. Cloud SQL credential.
.google.cloud.bigquery.connection.v1.CloudSqlCredential credential = 4 [(.google.api.field_behavior) = INPUT_ONLY];
Returns | |
---|---|
Type | Description |
boolean |
Whether the credential field is set. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns | |
---|---|
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
Returns | |
---|---|
Type | Description |
boolean |
mergeCredential(CloudSqlCredential value)
public CloudSqlProperties.Builder mergeCredential(CloudSqlCredential value)
Input only. Cloud SQL credential.
.google.cloud.bigquery.connection.v1.CloudSqlCredential credential = 4 [(.google.api.field_behavior) = INPUT_ONLY];
Parameter | |
---|---|
Name | Description |
value |
CloudSqlCredential |
Returns | |
---|---|
Type | Description |
CloudSqlProperties.Builder |
mergeFrom(CloudSqlProperties other)
public CloudSqlProperties.Builder mergeFrom(CloudSqlProperties other)
Parameter | |
---|---|
Name | Description |
other |
CloudSqlProperties |
Returns | |
---|---|
Type | Description |
CloudSqlProperties.Builder |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public CloudSqlProperties.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
CloudSqlProperties.Builder |
Exceptions | |
---|---|
Type | Description |
IOException |
mergeFrom(Message other)
public CloudSqlProperties.Builder mergeFrom(Message other)
Parameter | |
---|---|
Name | Description |
other |
Message |
Returns | |
---|---|
Type | Description |
CloudSqlProperties.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final CloudSqlProperties.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields |
UnknownFieldSet |
Returns | |
---|---|
Type | Description |
CloudSqlProperties.Builder |
setCredential(CloudSqlCredential value)
public CloudSqlProperties.Builder setCredential(CloudSqlCredential value)
Input only. Cloud SQL credential.
.google.cloud.bigquery.connection.v1.CloudSqlCredential credential = 4 [(.google.api.field_behavior) = INPUT_ONLY];
Parameter | |
---|---|
Name | Description |
value |
CloudSqlCredential |
Returns | |
---|---|
Type | Description |
CloudSqlProperties.Builder |
setCredential(CloudSqlCredential.Builder builderForValue)
public CloudSqlProperties.Builder setCredential(CloudSqlCredential.Builder builderForValue)
Input only. Cloud SQL credential.
.google.cloud.bigquery.connection.v1.CloudSqlCredential credential = 4 [(.google.api.field_behavior) = INPUT_ONLY];
Parameter | |
---|---|
Name | Description |
builderForValue |
CloudSqlCredential.Builder |
Returns | |
---|---|
Type | Description |
CloudSqlProperties.Builder |
setDatabase(String value)
public CloudSqlProperties.Builder setDatabase(String value)
Database name.
string database = 2;
Parameter | |
---|---|
Name | Description |
value |
String The database to set. |
Returns | |
---|---|
Type | Description |
CloudSqlProperties.Builder |
This builder for chaining. |
setDatabaseBytes(ByteString value)
public CloudSqlProperties.Builder setDatabaseBytes(ByteString value)
Database name.
string database = 2;
Parameter | |
---|---|
Name | Description |
value |
ByteString The bytes for database to set. |
Returns | |
---|---|
Type | Description |
CloudSqlProperties.Builder |
This builder for chaining. |
setField(Descriptors.FieldDescriptor field, Object value)
public CloudSqlProperties.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
value |
Object |
Returns | |
---|---|
Type | Description |
CloudSqlProperties.Builder |
setInstanceId(String value)
public CloudSqlProperties.Builder setInstanceId(String value)
Cloud SQL instance ID in the form project:location:instance
.
string instance_id = 1;
Parameter | |
---|---|
Name | Description |
value |
String The instanceId to set. |
Returns | |
---|---|
Type | Description |
CloudSqlProperties.Builder |
This builder for chaining. |
setInstanceIdBytes(ByteString value)
public CloudSqlProperties.Builder setInstanceIdBytes(ByteString value)
Cloud SQL instance ID in the form project:location:instance
.
string instance_id = 1;
Parameter | |
---|---|
Name | Description |
value |
ByteString The bytes for instanceId to set. |
Returns | |
---|---|
Type | Description |
CloudSqlProperties.Builder |
This builder for chaining. |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public CloudSqlProperties.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
index |
int |
value |
Object |
Returns | |
---|---|
Type | Description |
CloudSqlProperties.Builder |
setServiceAccountId(String value)
public CloudSqlProperties.Builder setServiceAccountId(String value)
Output only. The account ID of the service used for the purpose of this connection.
When the connection is used in the context of an operation in BigQuery, this service account will serve as the identity being used for connecting to the CloudSQL instance specified in this connection.
string service_account_id = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
Parameter | |
---|---|
Name | Description |
value |
String The serviceAccountId to set. |
Returns | |
---|---|
Type | Description |
CloudSqlProperties.Builder |
This builder for chaining. |
setServiceAccountIdBytes(ByteString value)
public CloudSqlProperties.Builder setServiceAccountIdBytes(ByteString value)
Output only. The account ID of the service used for the purpose of this connection.
When the connection is used in the context of an operation in BigQuery, this service account will serve as the identity being used for connecting to the CloudSQL instance specified in this connection.
string service_account_id = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
Parameter | |
---|---|
Name | Description |
value |
ByteString The bytes for serviceAccountId to set. |
Returns | |
---|---|
Type | Description |
CloudSqlProperties.Builder |
This builder for chaining. |
setType(CloudSqlProperties.DatabaseType value)
public CloudSqlProperties.Builder setType(CloudSqlProperties.DatabaseType value)
Type of the Cloud SQL database.
.google.cloud.bigquery.connection.v1.CloudSqlProperties.DatabaseType type = 3;
Parameter | |
---|---|
Name | Description |
value |
CloudSqlProperties.DatabaseType The type to set. |
Returns | |
---|---|
Type | Description |
CloudSqlProperties.Builder |
This builder for chaining. |
setTypeValue(int value)
public CloudSqlProperties.Builder setTypeValue(int value)
Type of the Cloud SQL database.
.google.cloud.bigquery.connection.v1.CloudSqlProperties.DatabaseType type = 3;
Parameter | |
---|---|
Name | Description |
value |
int The enum numeric value on the wire for type to set. |
Returns | |
---|---|
Type | Description |
CloudSqlProperties.Builder |
This builder for chaining. |
setUnknownFields(UnknownFieldSet unknownFields)
public final CloudSqlProperties.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields |
UnknownFieldSet |
Returns | |
---|---|
Type | Description |
CloudSqlProperties.Builder |