Interface GenerateClientCertificateResponseOrBuilder (0.30.0)

public interface GenerateClientCertificateResponseOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getCaCert()

public abstract String getCaCert()

Optional. The pem-encoded cluster ca X.509 certificate.

string ca_cert = 3 [(.google.api.field_behavior) = OPTIONAL];

Returns
TypeDescription
String

The caCert.

getCaCertBytes()

public abstract ByteString getCaCertBytes()

Optional. The pem-encoded cluster ca X.509 certificate.

string ca_cert = 3 [(.google.api.field_behavior) = OPTIONAL];

Returns
TypeDescription
ByteString

The bytes for caCert.

getPemCertificate() (deprecated)

public abstract String getPemCertificate()

Deprecated. google.cloud.alloydb.v1alpha.GenerateClientCertificateResponse.pem_certificate is deprecated. See google/cloud/alloydb/v1alpha/service.proto;l=1383

Output only. The pem-encoded, signed X.509 certificate.

string pem_certificate = 1 [deprecated = true, (.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
String

The pemCertificate.

getPemCertificateBytes() (deprecated)

public abstract ByteString getPemCertificateBytes()

Deprecated. google.cloud.alloydb.v1alpha.GenerateClientCertificateResponse.pem_certificate is deprecated. See google/cloud/alloydb/v1alpha/service.proto;l=1383

Output only. The pem-encoded, signed X.509 certificate.

string pem_certificate = 1 [deprecated = true, (.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
ByteString

The bytes for pemCertificate.

getPemCertificateChain(int index)

public abstract String getPemCertificateChain(int index)

Output only. The pem-encoded chain that may be used to verify the X.509 certificate. Expected to be in issuer-to-root order according to RFC 5246.

repeated string pem_certificate_chain = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
NameDescription
indexint

The index of the element to return.

Returns
TypeDescription
String

The pemCertificateChain at the given index.

getPemCertificateChainBytes(int index)

public abstract ByteString getPemCertificateChainBytes(int index)

Output only. The pem-encoded chain that may be used to verify the X.509 certificate. Expected to be in issuer-to-root order according to RFC 5246.

repeated string pem_certificate_chain = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
NameDescription
indexint

The index of the value to return.

Returns
TypeDescription
ByteString

The bytes of the pemCertificateChain at the given index.

getPemCertificateChainCount()

public abstract int getPemCertificateChainCount()

Output only. The pem-encoded chain that may be used to verify the X.509 certificate. Expected to be in issuer-to-root order according to RFC 5246.

repeated string pem_certificate_chain = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
int

The count of pemCertificateChain.

getPemCertificateChainList()

public abstract List<String> getPemCertificateChainList()

Output only. The pem-encoded chain that may be used to verify the X.509 certificate. Expected to be in issuer-to-root order according to RFC 5246.

repeated string pem_certificate_chain = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
List<String>

A list containing the pemCertificateChain.