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
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public ConnectionProto.ConnectionCredential.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
build()
public ConnectionProto.ConnectionCredential build()
Returns
buildPartial()
public ConnectionProto.ConnectionCredential buildPartial()
Returns
clear()
public ConnectionProto.ConnectionCredential.Builder clear()
Returns
Overrides
clearCloudSql()
public ConnectionProto.ConnectionCredential.Builder clearCloudSql()
Credential for Cloud SQL database.
.google.cloud.bigquery.connection.v1beta1.CloudSqlCredential cloud_sql = 1;
Returns
clearCredential()
public ConnectionProto.ConnectionCredential.Builder clearCredential()
Returns
clearField(Descriptors.FieldDescriptor field)
public ConnectionProto.ConnectionCredential.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Returns
Overrides
clearOneof(Descriptors.OneofDescriptor oneof)
public ConnectionProto.ConnectionCredential.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Returns
Overrides
clone()
public ConnectionProto.ConnectionCredential.Builder clone()
Returns
Overrides
getCloudSql()
public ConnectionProto.CloudSqlCredential getCloudSql()
Credential for Cloud SQL database.
.google.cloud.bigquery.connection.v1beta1.CloudSqlCredential cloud_sql = 1;
Returns
getCloudSqlBuilder()
public ConnectionProto.CloudSqlCredential.Builder getCloudSqlBuilder()
Credential for Cloud SQL database.
.google.cloud.bigquery.connection.v1beta1.CloudSqlCredential cloud_sql = 1;
Returns
getCloudSqlOrBuilder()
public ConnectionProto.CloudSqlCredentialOrBuilder getCloudSqlOrBuilder()
Credential for Cloud SQL database.
.google.cloud.bigquery.connection.v1beta1.CloudSqlCredential cloud_sql = 1;
Returns
getCredentialCase()
public ConnectionProto.ConnectionCredential.CredentialCase getCredentialCase()
Returns
getDefaultInstanceForType()
public ConnectionProto.ConnectionCredential getDefaultInstanceForType()
Returns
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns
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
Overrides
isInitialized()
public final boolean isInitialized()
Returns
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
Returns
mergeFrom(ConnectionProto.ConnectionCredential other)
public ConnectionProto.ConnectionCredential.Builder mergeFrom(ConnectionProto.ConnectionCredential other)
Parameter
Returns
public ConnectionProto.ConnectionCredential.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Overrides
Exceptions
mergeFrom(Message other)
public ConnectionProto.ConnectionCredential.Builder mergeFrom(Message other)
Parameter
Returns
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final ConnectionProto.ConnectionCredential.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
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
Returns
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
Returns
setField(Descriptors.FieldDescriptor field, Object value)
public ConnectionProto.ConnectionCredential.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public ConnectionProto.ConnectionCredential.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Returns
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final ConnectionProto.ConnectionCredential.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides