Class ConnectionProto.ConnectionCredential.Builder (2.46.0)

public static final class ConnectionProto.ConnectionCredential.Builder extends GeneratedMessageV3.Builder<ConnectionProto.ConnectionCredential.Builder> implements ConnectionProto.ConnectionCredentialOrBuilder

Credential to use with a connection.

Protobuf type google.cloud.bigquery.connection.v1beta1.ConnectionCredential

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public ConnectionProto.ConnectionCredential build()
Returns
Type Description
ConnectionProto.ConnectionCredential

buildPartial()

public ConnectionProto.ConnectionCredential buildPartial()
Returns
Type Description
ConnectionProto.ConnectionCredential

clear()

public ConnectionProto.ConnectionCredential.Builder clear()
Returns
Type Description
ConnectionProto.ConnectionCredential.Builder
Overrides

clearCloudSql()

public ConnectionProto.ConnectionCredential.Builder clearCloudSql()

Credential for Cloud SQL database.

.google.cloud.bigquery.connection.v1beta1.CloudSqlCredential cloud_sql = 1;

Returns
Type Description
ConnectionProto.ConnectionCredential.Builder

clearCredential()

public ConnectionProto.ConnectionCredential.Builder clearCredential()
Returns
Type Description
ConnectionProto.ConnectionCredential.Builder

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

public ConnectionProto.ConnectionCredential.Builder clone()
Returns
Type Description
ConnectionProto.ConnectionCredential.Builder
Overrides

getCloudSql()

public ConnectionProto.CloudSqlCredential getCloudSql()

Credential for Cloud SQL database.

.google.cloud.bigquery.connection.v1beta1.CloudSqlCredential cloud_sql = 1;

Returns
Type Description
ConnectionProto.CloudSqlCredential

The cloudSql.

getCloudSqlBuilder()

public ConnectionProto.CloudSqlCredential.Builder getCloudSqlBuilder()

Credential for Cloud SQL database.

.google.cloud.bigquery.connection.v1beta1.CloudSqlCredential cloud_sql = 1;

Returns
Type Description
ConnectionProto.CloudSqlCredential.Builder

getCloudSqlOrBuilder()

public ConnectionProto.CloudSqlCredentialOrBuilder getCloudSqlOrBuilder()

Credential for Cloud SQL database.

.google.cloud.bigquery.connection.v1beta1.CloudSqlCredential cloud_sql = 1;

Returns
Type Description
ConnectionProto.CloudSqlCredentialOrBuilder

getCredentialCase()

public ConnectionProto.ConnectionCredential.CredentialCase getCredentialCase()
Returns
Type Description
ConnectionProto.ConnectionCredential.CredentialCase

getDefaultInstanceForType()

public ConnectionProto.ConnectionCredential getDefaultInstanceForType()
Returns
Type Description
ConnectionProto.ConnectionCredential

getDescriptorForType()

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

hasCloudSql()

public boolean hasCloudSql()

Credential for Cloud SQL database.

.google.cloud.bigquery.connection.v1beta1.CloudSqlCredential cloud_sql = 1;

Returns
Type Description
boolean

Whether the cloudSql field is set.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeCloudSql(ConnectionProto.CloudSqlCredential value)

public ConnectionProto.ConnectionCredential.Builder mergeCloudSql(ConnectionProto.CloudSqlCredential value)

Credential for Cloud SQL database.

.google.cloud.bigquery.connection.v1beta1.CloudSqlCredential cloud_sql = 1;

Parameter
Name Description
value ConnectionProto.CloudSqlCredential
Returns
Type Description
ConnectionProto.ConnectionCredential.Builder

mergeFrom(ConnectionProto.ConnectionCredential other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setCloudSql(ConnectionProto.CloudSqlCredential value)

public ConnectionProto.ConnectionCredential.Builder setCloudSql(ConnectionProto.CloudSqlCredential value)

Credential for Cloud SQL database.

.google.cloud.bigquery.connection.v1beta1.CloudSqlCredential cloud_sql = 1;

Parameter
Name Description
value ConnectionProto.CloudSqlCredential
Returns
Type Description
ConnectionProto.ConnectionCredential.Builder

setCloudSql(ConnectionProto.CloudSqlCredential.Builder builderForValue)

public ConnectionProto.ConnectionCredential.Builder setCloudSql(ConnectionProto.CloudSqlCredential.Builder builderForValue)

Credential for Cloud SQL database.

.google.cloud.bigquery.connection.v1beta1.CloudSqlCredential cloud_sql = 1;

Parameter
Name Description
builderForValue ConnectionProto.CloudSqlCredential.Builder
Returns
Type Description
ConnectionProto.ConnectionCredential.Builder

setField(Descriptors.FieldDescriptor field, Object value)

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

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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