Interface Agent.ClientCertificateSettingsOrBuilder (0.65.0)

public static interface Agent.ClientCertificateSettingsOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getPassphrase()

public abstract String getPassphrase()

Optional. The name of the SecretManager secret version resource storing the passphrase. 'passphrase' should be left unset if the private key is not encrypted. Format: projects/{project}/secrets/{secret}/versions/{version}

string passphrase = 3 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... }

Returns
Type Description
String

The passphrase.

getPassphraseBytes()

public abstract ByteString getPassphraseBytes()

Optional. The name of the SecretManager secret version resource storing the passphrase. 'passphrase' should be left unset if the private key is not encrypted. Format: projects/{project}/secrets/{secret}/versions/{version}

string passphrase = 3 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... }

Returns
Type Description
ByteString

The bytes for passphrase.

getPrivateKey()

public abstract String getPrivateKey()

Required. The name of the SecretManager secret version resource storing the private key encoded in PEM format. Format: projects/{project}/secrets/{secret}/versions/{version}

string private_key = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
Type Description
String

The privateKey.

getPrivateKeyBytes()

public abstract ByteString getPrivateKeyBytes()

Required. The name of the SecretManager secret version resource storing the private key encoded in PEM format. Format: projects/{project}/secrets/{secret}/versions/{version}

string private_key = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
Type Description
ByteString

The bytes for privateKey.

getSslCertificate()

public abstract String getSslCertificate()

Required. The ssl certificate encoded in PEM format. This string must include the begin header and end footer lines.

string ssl_certificate = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
String

The sslCertificate.

getSslCertificateBytes()

public abstract ByteString getSslCertificateBytes()

Required. The ssl certificate encoded in PEM format. This string must include the begin header and end footer lines.

string ssl_certificate = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
ByteString

The bytes for sslCertificate.