Class X509CertificateDetails (2.3.6) 
  
      
     
  
  
  
   
  
    
  
  
    
    
    
  Version 2.3.6keyboard_arrow_down  
  
 
    
    
     
    
    
    
    
    
      
  
  
  
    
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 
  
  ISSUER_FIELD_NUMBER 
  
    
public   static   final   int   ISSUER_FIELD_NUMBER  
   
  Field Value 
  
  PUBLIC_KEY_TYPE_FIELD_NUMBER 
  
    
public   static   final   int   PUBLIC_KEY_TYPE_FIELD_NUMBER  
   
  Field Value 
  
  SIGNATURE_ALGORITHM_FIELD_NUMBER 
  
    
public   static   final   int   SIGNATURE_ALGORITHM_FIELD_NUMBER  
   
  Field Value 
  
  START_TIME_FIELD_NUMBER 
  
    
public   static   final   int   START_TIME_FIELD_NUMBER  
   
  Field Value 
  
  SUBJECT_FIELD_NUMBER 
  
    
public   static   final   int   SUBJECT_FIELD_NUMBER  
   
  Field Value 
  
  Static Methods
   
   
  getDefaultInstance() 
  
    
public   static   X509CertificateDetails   getDefaultInstance ()  
   
  Returns 
  
   
  getDescriptor() 
  
    
public   static   final   Descriptors . Descriptor   getDescriptor ()  
   
  Returns 
  
   
  newBuilder() 
  
    
public   static   X509CertificateDetails . Builder   newBuilder ()  
   
  Returns 
  
   
  newBuilder(X509CertificateDetails prototype) 
  
    
public   static   X509CertificateDetails . Builder   newBuilder ( X509CertificateDetails   prototype )  
   
  Parameter 
  
  Returns 
  
   
  
  
    
public   static   X509CertificateDetails   parseDelimitedFrom ( InputStream   input )  
   
  Parameter 
  
  Returns 
  
  Exceptions 
  
   
  
  
    
public   static   X509CertificateDetails   parseDelimitedFrom ( InputStream   input ,   ExtensionRegistryLite   extensionRegistry )  
   
  Parameters 
  
  Returns 
  
  Exceptions 
  
   
  parseFrom(byte[] data) 
  
    
public   static   X509CertificateDetails   parseFrom ( byte []   data )  
   
  Parameter 
  
    
      
        Name  
        Description  
       
      
        data  
        byte [] 
       
     
  
  Returns 
  
  Exceptions 
  
   
  parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry) 
  
    
public   static   X509CertificateDetails   parseFrom ( byte []   data ,   ExtensionRegistryLite   extensionRegistry )  
   
  Parameters 
  
  Returns 
  
  Exceptions 
  
   
  parseFrom(ByteString data) 
  
    
public   static   X509CertificateDetails   parseFrom ( ByteString   data )  
   
  Parameter 
  
  Returns 
  
  Exceptions 
  
   
  parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry) 
  
    
public   static   X509CertificateDetails   parseFrom ( ByteString   data ,   ExtensionRegistryLite   extensionRegistry )  
   
  Parameters 
  
  Returns 
  
  Exceptions 
  
   
  
  
    
public   static   X509CertificateDetails   parseFrom ( CodedInputStream   input )  
   
  Parameter 
  
  Returns 
  
  Exceptions 
  
   
  
  
    
public   static   X509CertificateDetails   parseFrom ( CodedInputStream   input ,   ExtensionRegistryLite   extensionRegistry )  
   
  Parameters 
  
  Returns 
  
  Exceptions 
  
   
  
  
    
public   static   X509CertificateDetails   parseFrom ( InputStream   input )  
   
  Parameter 
  
  Returns 
  
  Exceptions 
  
   
  
  
    
public   static   X509CertificateDetails   parseFrom ( InputStream   input ,   ExtensionRegistryLite   extensionRegistry )  
   
  Parameters 
  
  Returns 
  
  Exceptions 
  
   
  parseFrom(ByteBuffer data) 
  
    
public   static   X509CertificateDetails   parseFrom ( ByteBuffer   data )  
   
  Parameter 
  
  Returns 
  
  Exceptions 
  
   
  parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry) 
  
    
public   static   X509CertificateDetails   parseFrom ( ByteBuffer   data ,   ExtensionRegistryLite   extensionRegistry )  
   
  Parameters 
  
  Returns 
  
  Exceptions 
  
   
  parser() 
  
    
public   static   Parser<X509CertificateDetails>   parser ()  
   
  Returns 
  
  Methods
   
   
  equals(Object obj) 
  
    
public   boolean   equals ( Object   obj )  
   
  Parameter 
  
  Returns 
  
  Overrides 
  
   
  getDefaultInstanceForType() 
  
    
public   X509CertificateDetails   getDefaultInstanceForType ()  
   
  Returns 
  
   
  getExpiryTime() 
  
    
public   Timestamp   getExpiryTime ()  
   
   The time the certificate becomes invalid.
 .google.protobuf.Timestamp expiry_time = 4;
 
  Returns 
  
   
  getExpiryTimeOrBuilder() 
  
    
public   TimestampOrBuilder   getExpiryTimeOrBuilder ()  
   
   The time the certificate becomes invalid.
 .google.protobuf.Timestamp expiry_time = 4;
 
  Returns 
  
   
  getIssuer() 
  
    
public   String   getIssuer ()  
   
   The entity that signed the certificate.
 string issuer = 1;
 
  Returns 
  
    
      
        Type  
        Description  
       
      
        String  
        The issuer.
 
       
     
  
   
  getIssuerBytes() 
  
    
public   ByteString   getIssuerBytes ()  
   
   The entity that signed the certificate.
 string issuer = 1;
 
  Returns 
  
   
  getParserForType() 
  
    
public   Parser<X509CertificateDetails>   getParserForType ()  
   
  Returns 
  
  Overrides 
  
   
  getPublicKeyType() 
  
    
public   String   getPublicKeyType ()  
   
   The type of public key in the certificate.
 string public_key_type = 6;
 
  Returns 
  
    
      
        Type  
        Description  
       
      
        String  
        The publicKeyType.
 
       
     
  
   
  getPublicKeyTypeBytes() 
  
    
public   ByteString   getPublicKeyTypeBytes ()  
   
   The type of public key in the certificate.
 string public_key_type = 6;
 
  Returns 
  
    
      
        Type  
        Description  
       
      
        ByteString  
        The bytes for publicKeyType.
 
       
     
  
   
  getSerializedSize() 
  
    
public   int   getSerializedSize ()  
   
  Returns 
  
  Overrides 
  
   
  getSignatureAlgorithm() 
  
    
public   String   getSignatureAlgorithm ()  
   
   The algorithm used to sign the certificate.
 string signature_algorithm = 5;
 
  Returns 
  
    
      
        Type  
        Description  
       
      
        String  
        The signatureAlgorithm.
 
       
     
  
   
  getSignatureAlgorithmBytes() 
  
    
public   ByteString   getSignatureAlgorithmBytes ()  
   
   The algorithm used to sign the certificate.
 string signature_algorithm = 5;
 
  Returns 
  
    
      
        Type  
        Description  
       
      
        ByteString  
        The bytes for signatureAlgorithm.
 
       
     
  
   
  getStartTime() 
  
    
public   Timestamp   getStartTime ()  
   
   The time the certificate becomes valid.
 .google.protobuf.Timestamp start_time = 3;
 
  Returns 
  
   
  getStartTimeOrBuilder() 
  
    
public   TimestampOrBuilder   getStartTimeOrBuilder ()  
   
   The time the certificate becomes valid.
 .google.protobuf.Timestamp start_time = 3;
 
  Returns 
  
   
  getSubject() 
  
    
public   String   getSubject ()  
   
   The entity the certificate and public key belong to.
 string subject = 2;
 
  Returns 
  
    
      
        Type  
        Description  
       
      
        String  
        The subject.
 
       
     
  
   
  getSubjectBytes() 
  
    
public   ByteString   getSubjectBytes ()  
   
   The entity the certificate and public key belong to.
 string subject = 2;
 
  Returns 
  
    
      
        Type  
        Description  
       
      
        ByteString  
        The bytes for subject.
 
       
     
  
   
  getUnknownFields() 
  
    
public   final   UnknownFieldSet   getUnknownFields ()  
   
  Returns 
  
  Overrides 
  
   
  hasExpiryTime() 
  
    
public   boolean   hasExpiryTime ()  
   
   The time the certificate becomes invalid.
 .google.protobuf.Timestamp expiry_time = 4;
 
  Returns 
  
    
      
        Type  
        Description  
       
      
        boolean  
        Whether the expiryTime field is set.
 
       
     
  
   
  hasStartTime() 
  
    
public   boolean   hasStartTime ()  
   
   The time the certificate becomes valid.
 .google.protobuf.Timestamp start_time = 3;
 
  Returns 
  
    
      
        Type  
        Description  
       
      
        boolean  
        Whether the startTime field is set.
 
       
     
  
   
  hashCode() 
  
  Returns 
  
  Overrides 
  
   
  internalGetFieldAccessorTable() 
  
    
protected   GeneratedMessageV3 . FieldAccessorTable   internalGetFieldAccessorTable ()  
   
  Returns 
  
  Overrides 
  
   
  isInitialized() 
  
    
public   final   boolean   isInitialized ()  
   
  Returns 
  
  Overrides 
  
   
  newBuilderForType() 
  
    
public   X509CertificateDetails . Builder   newBuilderForType ()  
   
  Returns 
  
   
  newBuilderForType(GeneratedMessageV3.BuilderParent parent) 
  
    
protected   X509CertificateDetails . Builder   newBuilderForType ( GeneratedMessageV3 . BuilderParent   parent )  
   
  Parameter 
  
  Returns 
  
  Overrides 
  
   
  newInstance(GeneratedMessageV3.UnusedPrivateParameter unused) 
  
    
protected   Object   newInstance ( GeneratedMessageV3 . UnusedPrivateParameter   unused )  
   
  Parameter 
  
  Returns 
  
  Overrides 
  
   
  toBuilder() 
  
    
public   X509CertificateDetails . Builder   toBuilder ()  
   
  Returns 
  
   
  writeTo(CodedOutputStream output) 
  
    
public   void   writeTo ( CodedOutputStream   output )  
   
  Parameter 
  
  Overrides 
  
  Exceptions 
  
 
     
    
  
  
  
     
  
 
  
    
    
      
       
    
    
  
  
 
  Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License , and code samples are licensed under the Apache 2.0 License . For details, see the Google Developers Site Policies . Java is a registered trademark of Oracle and/or its affiliates.
  Last updated 2025-10-30 UTC.
 
 
  
  
  
    
      [[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-10-30 UTC."],[],[]]