Interface PublicKeyCertificateOrBuilder (2.19.0)

public interface PublicKeyCertificateOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getCertificate()

public abstract String getCertificate()

The certificate data.

string certificate = 2;

Returns
TypeDescription
String

The certificate.

getCertificateBytes()

public abstract ByteString getCertificateBytes()

The certificate data.

string certificate = 2;

Returns
TypeDescription
ByteString

The bytes for certificate.

getFormat()

public abstract PublicKeyCertificateFormat getFormat()

The certificate format.

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

Returns
TypeDescription
PublicKeyCertificateFormat

The format.

getFormatValue()

public abstract int getFormatValue()

The certificate format.

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

Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
boolean

Whether the x509Details field is set.