Class SecretManagerCredential.Builder (3.49.0)

public static final class SecretManagerCredential.Builder extends GeneratedMessageV3.Builder<SecretManagerCredential.Builder> implements SecretManagerCredentialOrBuilder

A credential consisting of a username and password, where the password is stored in a Secret Manager resource. Note: Secret Manager charges apply.

Protobuf type google.privacy.dlp.v2.SecretManagerCredential

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public SecretManagerCredential build()
Returns
Type Description
SecretManagerCredential

buildPartial()

public SecretManagerCredential buildPartial()
Returns
Type Description
SecretManagerCredential

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

public SecretManagerCredential.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
<
Returns