public static final class ConnectionProto.CloudSqlProperties.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<ConnectionProto.CloudSqlProperties.Builder> implements ConnectionProto.CloudSqlPropertiesOrBuilder
Connection properties specific to the Cloud SQL.Protobuf type
google.cloud.bigquery.connection.v1beta1.CloudSqlPropertiesgetAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringaddAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, newUninitializedMessageExceptionequals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitpublic static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.Builder<ConnectionProto.CloudSqlProperties.Builder>public ConnectionProto.CloudSqlProperties.Builder clear()
clear in interface com.google.protobuf.Message.Builderclear in interface com.google.protobuf.MessageLite.Builderclear in class com.google.protobuf.GeneratedMessageV3.Builder<ConnectionProto.CloudSqlProperties.Builder>public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
getDescriptorForType in interface com.google.protobuf.Message.BuildergetDescriptorForType in interface com.google.protobuf.MessageOrBuildergetDescriptorForType in class com.google.protobuf.GeneratedMessageV3.Builder<ConnectionProto.CloudSqlProperties.Builder>public ConnectionProto.CloudSqlProperties getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic ConnectionProto.CloudSqlProperties build()
build in interface com.google.protobuf.Message.Builderbuild in interface com.google.protobuf.MessageLite.Builderpublic ConnectionProto.CloudSqlProperties buildPartial()
buildPartial in interface com.google.protobuf.Message.BuilderbuildPartial in interface com.google.protobuf.MessageLite.Builderpublic ConnectionProto.CloudSqlProperties.Builder clone()
clone in interface com.google.protobuf.Message.Builderclone in interface com.google.protobuf.MessageLite.Builderclone in class com.google.protobuf.GeneratedMessageV3.Builder<ConnectionProto.CloudSqlProperties.Builder>public ConnectionProto.CloudSqlProperties.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
setField in interface com.google.protobuf.Message.BuildersetField in class com.google.protobuf.GeneratedMessageV3.Builder<ConnectionProto.CloudSqlProperties.Builder>public ConnectionProto.CloudSqlProperties.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
clearField in interface com.google.protobuf.Message.BuilderclearField in class com.google.protobuf.GeneratedMessageV3.Builder<ConnectionProto.CloudSqlProperties.Builder>public ConnectionProto.CloudSqlProperties.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof in interface com.google.protobuf.Message.BuilderclearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<ConnectionProto.CloudSqlProperties.Builder>public ConnectionProto.CloudSqlProperties.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
setRepeatedField in interface com.google.protobuf.Message.BuildersetRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<ConnectionProto.CloudSqlProperties.Builder>public ConnectionProto.CloudSqlProperties.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
addRepeatedField in interface com.google.protobuf.Message.BuilderaddRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<ConnectionProto.CloudSqlProperties.Builder>public ConnectionProto.CloudSqlProperties.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<ConnectionProto.CloudSqlProperties.Builder>public ConnectionProto.CloudSqlProperties.Builder mergeFrom(ConnectionProto.CloudSqlProperties other)
public final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<ConnectionProto.CloudSqlProperties.Builder>public ConnectionProto.CloudSqlProperties.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in interface com.google.protobuf.MessageLite.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<ConnectionProto.CloudSqlProperties.Builder>IOExceptionpublic String getInstanceId()
Cloud SQL instance ID in the form `project:location:instance`.
string instance_id = 1;getInstanceId in interface ConnectionProto.CloudSqlPropertiesOrBuilderpublic com.google.protobuf.ByteString getInstanceIdBytes()
Cloud SQL instance ID in the form `project:location:instance`.
string instance_id = 1;getInstanceIdBytes in interface ConnectionProto.CloudSqlPropertiesOrBuilderpublic ConnectionProto.CloudSqlProperties.Builder setInstanceId(String value)
Cloud SQL instance ID in the form `project:location:instance`.
string instance_id = 1;value - The instanceId to set.public ConnectionProto.CloudSqlProperties.Builder clearInstanceId()
Cloud SQL instance ID in the form `project:location:instance`.
string instance_id = 1;public ConnectionProto.CloudSqlProperties.Builder setInstanceIdBytes(com.google.protobuf.ByteString value)
Cloud SQL instance ID in the form `project:location:instance`.
string instance_id = 1;value - The bytes for instanceId to set.public String getDatabase()
Database name.
string database = 2;getDatabase in interface ConnectionProto.CloudSqlPropertiesOrBuilderpublic com.google.protobuf.ByteString getDatabaseBytes()
Database name.
string database = 2;getDatabaseBytes in interface ConnectionProto.CloudSqlPropertiesOrBuilderpublic ConnectionProto.CloudSqlProperties.Builder setDatabase(String value)
Database name.
string database = 2;value - The database to set.public ConnectionProto.CloudSqlProperties.Builder clearDatabase()
Database name.
string database = 2;public ConnectionProto.CloudSqlProperties.Builder setDatabaseBytes(com.google.protobuf.ByteString value)
Database name.
string database = 2;value - The bytes for database to set.public int getTypeValue()
Type of the Cloud SQL database.
.google.cloud.bigquery.connection.v1beta1.CloudSqlProperties.DatabaseType type = 3;
getTypeValue in interface ConnectionProto.CloudSqlPropertiesOrBuilderpublic ConnectionProto.CloudSqlProperties.Builder setTypeValue(int value)
Type of the Cloud SQL database.
.google.cloud.bigquery.connection.v1beta1.CloudSqlProperties.DatabaseType type = 3;
value - The enum numeric value on the wire for type to set.public ConnectionProto.CloudSqlProperties.DatabaseType getType()
Type of the Cloud SQL database.
.google.cloud.bigquery.connection.v1beta1.CloudSqlProperties.DatabaseType type = 3;
getType in interface ConnectionProto.CloudSqlPropertiesOrBuilderpublic ConnectionProto.CloudSqlProperties.Builder setType(ConnectionProto.CloudSqlProperties.DatabaseType value)
Type of the Cloud SQL database.
.google.cloud.bigquery.connection.v1beta1.CloudSqlProperties.DatabaseType type = 3;
value - The type to set.public ConnectionProto.CloudSqlProperties.Builder clearType()
Type of the Cloud SQL database.
.google.cloud.bigquery.connection.v1beta1.CloudSqlProperties.DatabaseType type = 3;
public boolean hasCredential()
Input only. Cloud SQL credential.
.google.cloud.bigquery.connection.v1beta1.CloudSqlCredential credential = 4 [(.google.api.field_behavior) = INPUT_ONLY];
hasCredential in interface ConnectionProto.CloudSqlPropertiesOrBuilderpublic ConnectionProto.CloudSqlCredential getCredential()
Input only. Cloud SQL credential.
.google.cloud.bigquery.connection.v1beta1.CloudSqlCredential credential = 4 [(.google.api.field_behavior) = INPUT_ONLY];
getCredential in interface ConnectionProto.CloudSqlPropertiesOrBuilderpublic ConnectionProto.CloudSqlProperties.Builder setCredential(ConnectionProto.CloudSqlCredential value)
Input only. Cloud SQL credential.
.google.cloud.bigquery.connection.v1beta1.CloudSqlCredential credential = 4 [(.google.api.field_behavior) = INPUT_ONLY];
public ConnectionProto.CloudSqlProperties.Builder setCredential(ConnectionProto.CloudSqlCredential.Builder builderForValue)
Input only. Cloud SQL credential.
.google.cloud.bigquery.connection.v1beta1.CloudSqlCredential credential = 4 [(.google.api.field_behavior) = INPUT_ONLY];
public ConnectionProto.CloudSqlProperties.Builder mergeCredential(ConnectionProto.CloudSqlCredential value)
Input only. Cloud SQL credential.
.google.cloud.bigquery.connection.v1beta1.CloudSqlCredential credential = 4 [(.google.api.field_behavior) = INPUT_ONLY];
public ConnectionProto.CloudSqlProperties.Builder clearCredential()
Input only. Cloud SQL credential.
.google.cloud.bigquery.connection.v1beta1.CloudSqlCredential credential = 4 [(.google.api.field_behavior) = INPUT_ONLY];
public ConnectionProto.CloudSqlCredential.Builder getCredentialBuilder()
Input only. Cloud SQL credential.
.google.cloud.bigquery.connection.v1beta1.CloudSqlCredential credential = 4 [(.google.api.field_behavior) = INPUT_ONLY];
public ConnectionProto.CloudSqlCredentialOrBuilder getCredentialOrBuilder()
Input only. Cloud SQL credential.
.google.cloud.bigquery.connection.v1beta1.CloudSqlCredential credential = 4 [(.google.api.field_behavior) = INPUT_ONLY];
getCredentialOrBuilder in interface ConnectionProto.CloudSqlPropertiesOrBuilderpublic 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];getServiceAccountId in interface ConnectionProto.CloudSqlPropertiesOrBuilderpublic com.google.protobuf.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];getServiceAccountIdBytes in interface ConnectionProto.CloudSqlPropertiesOrBuilderpublic ConnectionProto.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];value - The serviceAccountId to set.public ConnectionProto.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];public ConnectionProto.CloudSqlProperties.Builder setServiceAccountIdBytes(com.google.protobuf.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];value - The bytes for serviceAccountId to set.public final ConnectionProto.CloudSqlProperties.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields in interface com.google.protobuf.Message.BuildersetUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<ConnectionProto.CloudSqlProperties.Builder>public final ConnectionProto.CloudSqlProperties.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields in interface com.google.protobuf.Message.BuildermergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<ConnectionProto.CloudSqlProperties.Builder>Copyright © 2025 Google LLC. All rights reserved.