Class ConnectionProto.ConnectionCredential.Builder (2.35.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
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public ConnectionProto.ConnectionCredential build()
Returns
TypeDescription
ConnectionProto.ConnectionCredential

buildPartial()

public ConnectionProto.ConnectionCredential buildPartial()
Returns
TypeDescription
ConnectionProto.ConnectionCredential

clear()

public ConnectionProto.ConnectionCredential.Builder clear()
Returns
TypeDescription
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
TypeDescription
ConnectionProto.ConnectionCredential.Builder

clearCredential()

public ConnectionProto.ConnectionCredential.Builder clearCredential()
Returns
TypeDescription
ConnectionProto.ConnectionCredential.Builder

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

public ConnectionProto.ConnectionCredential.Builder clone()
Returns
TypeDescription
ConnectionProto.ConnectionCredential.Builder
Overrides

getCloudSql()

public ConnectionProto.CloudSqlCredential getCloudSql()

Credential for Cloud SQL database.

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

Returns
TypeDescription
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
TypeDescription
ConnectionProto.CloudSqlCredential.Builder

getCloudSqlOrBuilder()

public ConnectionProto.CloudSqlCredentialOrBuilder getCloudSqlOrBuilder()

Credential for Cloud SQL database.

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

Returns
TypeDescription
ConnectionProto.CloudSqlCredentialOrBuilder

getCredentialCase()

public ConnectionProto.ConnectionCredential.CredentialCase getCredentialCase()
Returns
TypeDescription
ConnectionProto.ConnectionCredential.CredentialCase

getDefaultInstanceForType()

public ConnectionProto.ConnectionCredential getDefaultInstanceForType()
Returns
TypeDescription
ConnectionProto.ConnectionCredential

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

hasCloudSql()

public boolean hasCloudSql()

Credential for Cloud SQL database.

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

Returns
TypeDescription
boolean

Whether the cloudSql field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
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
NameDescription
valueConnectionProto.CloudSqlCredential
Returns
TypeDescription
ConnectionProto.ConnectionCredential.Builder

mergeFrom(ConnectionProto.ConnectionCredential other)

public ConnectionProto.ConnectionCredential.Builder mergeFrom(ConnectionProto.ConnectionCredential other)
Parameter
NameDescription
otherConnectionProto.ConnectionCredential
Returns
TypeDescription
ConnectionProto.ConnectionCredential.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

public final ConnectionProto.ConnectionCredential.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
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
NameDescription
valueConnectionProto.CloudSqlCredential
Returns
TypeDescription
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
NameDescription
builderForValueConnectionProto.CloudSqlCredential.Builder
Returns
TypeDescription
ConnectionProto.ConnectionCredential.Builder

setField(Descriptors.FieldDescriptor field, Object value)

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

setUnknownFields(UnknownFieldSet unknownFields)

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