Class CloudSqlIamCredential.Builder (3.56.0)

public static final class CloudSqlIamCredential.Builder extends GeneratedMessageV3.Builder<CloudSqlIamCredential.Builder> implements CloudSqlIamCredentialOrBuilder

Use IAM authentication to connect. This requires the Cloud SQL IAM feature to be enabled on the instance, which is not the default for Cloud SQL. See https://cloud.google.com/sql/docs/postgres/authentication and https://cloud.google.com/sql/docs/mysql/authentication.

Protobuf type google.privacy.dlp.v2.CloudSqlIamCredential

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public CloudSqlIamCredential build()
Returns
Type Description
CloudSqlIamCredential

buildPartial()

public CloudSqlIamCredential buildPartial()
Returns
Type Description
CloudSqlIamCredential

clear()

public CloudSqlIamCredential.Builder clear()
Returns
Type Description
CloudSqlIamCredential.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

public CloudSqlIamCredential.Builder clone()
Returns
Type Description
CloudSqlIamCredential.Builder
Overrides

getDefaultInstanceForType()

public CloudSqlIamCredential getDefaultInstanceForType()
Returns
Type Description
CloudSqlIamCredential

getDescriptorForType()

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

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(CloudSqlIamCredential other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

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

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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