Interface PublicKeyCertificateOrBuilder (2.54.0)

public interface PublicKeyCertificateOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getCertificate()

public abstract String getCertificate()

The certificate data.

string certificate = 2;

Returns
Type Description
String

The certificate.

getCertificateBytes()

public abstract ByteString getCertificateBytes()

The certificate data.

string certificate = 2;

Returns
Type Description
ByteString

The bytes for certificate.

getFormat()

public abstract PublicKeyCertificateFormat getFormat()

The certificate format.

.google.cloud.iot.v1.PublicKeyCertificateFormat format = 1;

Returns
Type Description
PublicKeyCertificateFormat

The format.

getFormatValue()

public abstract int getFormatValue()

The certificate format.

.google.cloud.iot.v1.PublicKeyCertificateFormat format = 1;

Returns
Type Description
int

The enum numeric value on the wire for format.

getX509Details()

public abstract X509CertificateDetails getX509Details()

[Output only] The certificate details. Used only for X.509 certificates.

.google.cloud.iot.v1.X509CertificateDetails x509_details = 3;

Returns
Type Description
X509CertificateDetails

The x509Details.

getX509DetailsOrBuilder()

public abstract X509CertificateDetailsOrBuilder getX509DetailsOrBuilder()

[Output only] The certificate details. Used only for X.509 certificates.

.google.cloud.iot.v1.X509CertificateDetails x509_details = 3;

Returns
Type Description
X509CertificateDetailsOrBuilder

hasX509Details()

public abstract boolean hasX509Details()

[Output only] The certificate details. Used only for X.509 certificates.

.google.cloud.iot.v1.X509CertificateDetails x509_details = 3;

Returns
Type Description
boolean

Whether the x509Details field is set.