Interface SslCertificateSelfManagedSslCertificateOrBuilder (1.58.0)

public interface SslCertificateSelfManagedSslCertificateOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getCertificate()

public abstract String getCertificate()

A local certificate file. The certificate must be in PEM format. The certificate chain must be no greater than 5 certs long. The chain must include at least one intermediate cert.

optional string certificate = 341787031;

Returns
Type Description
String

The certificate.

getCertificateBytes()

public abstract ByteString getCertificateBytes()

A local certificate file. The certificate must be in PEM format. The certificate chain must be no greater than 5 certs long. The chain must include at least one intermediate cert.

optional string certificate = 341787031;

Returns
Type Description
ByteString

The bytes for certificate.

getPrivateKey()

public abstract String getPrivateKey()

A write-only private key in PEM format. Only insert requests will include this field.

optional string private_key = 361331107;

Returns
Type Description
String

The privateKey.

getPrivateKeyBytes()

public abstract ByteString getPrivateKeyBytes()

A write-only private key in PEM format. Only insert requests will include this field.

optional string private_key = 361331107;

Returns
Type Description
ByteString

The bytes for privateKey.

hasCertificate()

public abstract boolean hasCertificate()

A local certificate file. The certificate must be in PEM format. The certificate chain must be no greater than 5 certs long. The chain must include at least one intermediate cert.

optional string certificate = 341787031;

Returns
Type Description
boolean

Whether the certificate field is set.

hasPrivateKey()

public abstract boolean hasPrivateKey()

A write-only private key in PEM format. Only insert requests will include this field.

optional string private_key = 361331107;

Returns
Type Description
boolean

Whether the privateKey field is set.