Class X509CertificateDetails (2.33.0)

public final class X509CertificateDetails extends GeneratedMessageV3 implements X509CertificateDetailsOrBuilder

Details of an X.509 certificate. For informational purposes only.

Protobuf type google.cloud.iot.v1.X509CertificateDetails

Static Fields

EXPIRY_TIME_FIELD_NUMBER

public static final int EXPIRY_TIME_FIELD_NUMBER
Field Value
TypeDescription
int

ISSUER_FIELD_NUMBER

public static final int ISSUER_FIELD_NUMBER
Field Value
TypeDescription
int

PUBLIC_KEY_TYPE_FIELD_NUMBER

public static final int PUBLIC_KEY_TYPE_FIELD_NUMBER
Field Value
TypeDescription
int

SIGNATURE_ALGORITHM_FIELD_NUMBER

public static final int SIGNATURE_ALGORITHM_FIELD_NUMBER
Field Value
TypeDescription
int

START_TIME_FIELD_NUMBER

public static final int START_TIME_FIELD_NUMBER
Field Value
TypeDescription
int

SUBJECT_FIELD_NUMBER

public static final int SUBJECT_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static X509CertificateDetails getDefaultInstance()
Returns
TypeDescription
X509CertificateDetails

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

newBuilder()

public static X509CertificateDetails.Builder newBuilder()
Returns
TypeDescription
X509CertificateDetails.Builder

newBuilder(X509CertificateDetails prototype)

public static X509CertificateDetails.Builder newBuilder(X509CertificateDetails prototype)
Parameter
NameDescription
prototypeX509CertificateDetails
Returns
TypeDescription
X509CertificateDetails.Builder

parseDelimitedFrom(InputStream input)

public static X509CertificateDetails parseDelimitedFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
X509CertificateDetails
Exceptions
TypeDescription
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static X509CertificateDetails parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
X509CertificateDetails
Exceptions
TypeDescription
IOException

parseFrom(byte[] data)

public static X509CertificateDetails parseFrom(byte[] data)
Parameter
NameDescription
databyte[]
Returns
TypeDescription
X509CertificateDetails
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static X509CertificateDetails parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
databyte[]
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
X509CertificateDetails
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data)

public static X509CertificateDetails parseFrom(ByteString data)
Parameter
NameDescription
dataByteString
Returns
TypeDescription
X509CertificateDetails
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static X509CertificateDetails parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteString
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
X509CertificateDetails
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static X509CertificateDetails parseFrom(CodedInputStream input)
Parameter
NameDescription
inputCodedInputStream
Returns
TypeDescription
X509CertificateDetails
Exceptions
TypeDescription
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static X509CertificateDetails parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
X509CertificateDetails
Exceptions
TypeDescription
IOException

parseFrom(InputStream input)

public static X509CertificateDetails parseFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
X509CertificateDetails
Exceptions
TypeDescription
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static X509CertificateDetails parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
X509CertificateDetails
Exceptions
TypeDescription
IOException

parseFrom(ByteBuffer data)

public static X509CertificateDetails parseFrom(ByteBuffer data)
Parameter
NameDescription
dataByteBuffer
Returns
TypeDescription
X509CertificateDetails
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static X509CertificateDetails parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteBuffer
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
X509CertificateDetails
Exceptions
TypeDescription
InvalidProtocolBufferException

parser()

public static Parser<X509CertificateDetails> parser()
Returns
TypeDescription
Parser<X509CertificateDetails>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
NameDescription
objObject
Returns
TypeDescription
boolean
Overrides

getDefaultInstanceForType()

public X509CertificateDetails getDefaultInstanceForType()
Returns
TypeDescription
X509CertificateDetails

getExpiryTime()

public Timestamp getExpiryTime()

The time the certificate becomes invalid.

.google.protobuf.Timestamp expiry_time = 4;

Returns
TypeDescription
Timestamp

The expiryTime.

getExpiryTimeOrBuilder()

public TimestampOrBuilder getExpiryTimeOrBuilder()

The time the certificate becomes invalid.

.google.protobuf.Timestamp expiry_time = 4;

Returns
TypeDescription
TimestampOrBuilder

getIssuer()

public String getIssuer()

The entity that signed the certificate.

string issuer = 1;

Returns
TypeDescription
String

The issuer.

getIssuerBytes()

public ByteString getIssuerBytes()

The entity that signed the certificate.

string issuer = 1;

Returns
TypeDescription
ByteString

The bytes for issuer.

getParserForType()

public Parser<X509CertificateDetails> getParserForType()
Returns
TypeDescription
Parser<X509CertificateDetails>
Overrides

getPublicKeyType()

public String getPublicKeyType()

The type of public key in the certificate.

string public_key_type = 6;

Returns
TypeDescription
String

The publicKeyType.

getPublicKeyTypeBytes()

public ByteString getPublicKeyTypeBytes()

The type of public key in the certificate.

string public_key_type = 6;

Returns
TypeDescription
ByteString

The bytes for publicKeyType.

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

getSignatureAlgorithm()

public String getSignatureAlgorithm()

The algorithm used to sign the certificate.

string signature_algorithm = 5;

Returns
TypeDescription
String

The signatureAlgorithm.

getSignatureAlgorithmBytes()

public ByteString getSignatureAlgorithmBytes()

The algorithm used to sign the certificate.

string signature_algorithm = 5;

Returns
TypeDescription
ByteString

The bytes for signatureAlgorithm.

getStartTime()

public Timestamp getStartTime()

The time the certificate becomes valid.

.google.protobuf.Timestamp start_time = 3;

Returns
TypeDescription
Timestamp

The startTime.

getStartTimeOrBuilder()

public TimestampOrBuilder getStartTimeOrBuilder()

The time the certificate becomes valid.

.google.protobuf.Timestamp start_time = 3;

Returns
TypeDescription
TimestampOrBuilder

getSubject()

public String getSubject()

The entity the certificate and public key belong to.

string subject = 2;

Returns
TypeDescription
String

The subject.

getSubjectBytes()

public ByteString getSubjectBytes()

The entity the certificate and public key belong to.

string subject = 2;

Returns
TypeDescription
ByteString

The bytes for subject.

hasExpiryTime()

public boolean hasExpiryTime()

The time the certificate becomes invalid.

.google.protobuf.Timestamp expiry_time = 4;

Returns
TypeDescription
boolean

Whether the expiryTime field is set.

hasStartTime()

public boolean hasStartTime()

The time the certificate becomes valid.

.google.protobuf.Timestamp start_time = 3;

Returns
TypeDescription
boolean

Whether the startTime field is set.

hashCode()

public int hashCode()
Returns
TypeDescription
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

newBuilderForType()

public X509CertificateDetails.Builder newBuilderForType()
Returns
TypeDescription
X509CertificateDetails.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected X509CertificateDetails.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
NameDescription
parentBuilderParent
Returns
TypeDescription
X509CertificateDetails.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
NameDescription
unusedUnusedPrivateParameter
Returns
TypeDescription
Object
Overrides

toBuilder()

public X509CertificateDetails.Builder toBuilder()
Returns
TypeDescription
X509CertificateDetails.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
NameDescription
outputCodedOutputStream
Overrides
Exceptions
TypeDescription
IOException