Interface GenerateClientCertificateResponseOrBuilder (0.33.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
Type Description
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
Type Description
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
Type Description
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
Type Description
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
Name Description
index int

The index of the element to return.

Returns
Type Description
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
Name Description
index int

The index of the value to return.

Returns
Type Description
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
Type Description
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
Type Description
List<String>

A list containing the pemCertificateChain.