Class CertificateDetails

  • All Implemented Interfaces:
    com.google.protobuf.Message, com.google.protobuf.MessageLite, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, CertificateDetailsOrBuilder, Serializable

    public final class CertificateDetails
    extends com.google.protobuf.GeneratedMessageV3
    implements CertificateDetailsOrBuilder
     [#next-free-field: 7]
     
    Protobuf type envoy.admin.v2alpha.CertificateDetails
    See Also:
    Serialized Form
    • Field Detail

      • SERIAL_NUMBER_FIELD_NUMBER

        public static final int SERIAL_NUMBER_FIELD_NUMBER
        See Also:
        Constant Field Values
      • SUBJECT_ALT_NAMES_FIELD_NUMBER

        public static final int SUBJECT_ALT_NAMES_FIELD_NUMBER
        See Also:
        Constant Field Values
      • DAYS_UNTIL_EXPIRATION_FIELD_NUMBER

        public static final int DAYS_UNTIL_EXPIRATION_FIELD_NUMBER
        See Also:
        Constant Field Values
      • VALID_FROM_FIELD_NUMBER

        public static final int VALID_FROM_FIELD_NUMBER
        See Also:
        Constant Field Values
      • EXPIRATION_TIME_FIELD_NUMBER

        public static final int EXPIRATION_TIME_FIELD_NUMBER
        See Also:
        Constant Field Values
    • Method Detail

      • newInstance

        protected Object newInstance​(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
        Overrides:
        newInstance in class com.google.protobuf.GeneratedMessageV3
      • getUnknownFields

        public final com.google.protobuf.UnknownFieldSet getUnknownFields()
        Specified by:
        getUnknownFields in interface com.google.protobuf.MessageOrBuilder
        Overrides:
        getUnknownFields in class com.google.protobuf.GeneratedMessageV3
      • getDescriptor

        public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
      • internalGetFieldAccessorTable

        protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
        Specified by:
        internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3
      • getPathBytes

        public com.google.protobuf.ByteString getPathBytes()
         Path of the certificate.
         
        string path = 1;
        Specified by:
        getPathBytes in interface CertificateDetailsOrBuilder
        Returns:
        The bytes for path.
      • getSerialNumberBytes

        public com.google.protobuf.ByteString getSerialNumberBytes()
         Certificate Serial Number.
         
        string serial_number = 2;
        Specified by:
        getSerialNumberBytes in interface CertificateDetailsOrBuilder
        Returns:
        The bytes for serialNumber.
      • getSubjectAltNamesCount

        public int getSubjectAltNamesCount()
         List of Subject Alternate names.
         
        repeated .envoy.admin.v2alpha.SubjectAlternateName subject_alt_names = 3;
        Specified by:
        getSubjectAltNamesCount in interface CertificateDetailsOrBuilder
      • getDaysUntilExpiration

        public long getDaysUntilExpiration()
         Minimum of days until expiration of certificate and it's chain.
         
        uint64 days_until_expiration = 4;
        Specified by:
        getDaysUntilExpiration in interface CertificateDetailsOrBuilder
        Returns:
        The daysUntilExpiration.
      • hasValidFrom

        public boolean hasValidFrom()
         Indicates the time from which the certificate is valid.
         
        .google.protobuf.Timestamp valid_from = 5;
        Specified by:
        hasValidFrom in interface CertificateDetailsOrBuilder
        Returns:
        Whether the validFrom field is set.
      • getValidFrom

        public com.google.protobuf.Timestamp getValidFrom()
         Indicates the time from which the certificate is valid.
         
        .google.protobuf.Timestamp valid_from = 5;
        Specified by:
        getValidFrom in interface CertificateDetailsOrBuilder
        Returns:
        The validFrom.
      • getValidFromOrBuilder

        public com.google.protobuf.TimestampOrBuilder getValidFromOrBuilder()
         Indicates the time from which the certificate is valid.
         
        .google.protobuf.Timestamp valid_from = 5;
        Specified by:
        getValidFromOrBuilder in interface CertificateDetailsOrBuilder
      • hasExpirationTime

        public boolean hasExpirationTime()
         Indicates the time at which the certificate expires.
         
        .google.protobuf.Timestamp expiration_time = 6;
        Specified by:
        hasExpirationTime in interface CertificateDetailsOrBuilder
        Returns:
        Whether the expirationTime field is set.
      • getExpirationTime

        public com.google.protobuf.Timestamp getExpirationTime()
         Indicates the time at which the certificate expires.
         
        .google.protobuf.Timestamp expiration_time = 6;
        Specified by:
        getExpirationTime in interface CertificateDetailsOrBuilder
        Returns:
        The expirationTime.
      • getExpirationTimeOrBuilder

        public com.google.protobuf.TimestampOrBuilder getExpirationTimeOrBuilder()
         Indicates the time at which the certificate expires.
         
        .google.protobuf.Timestamp expiration_time = 6;
        Specified by:
        getExpirationTimeOrBuilder in interface CertificateDetailsOrBuilder
      • isInitialized

        public final boolean isInitialized()
        Specified by:
        isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
        Overrides:
        isInitialized in class com.google.protobuf.GeneratedMessageV3
      • writeTo

        public void writeTo​(com.google.protobuf.CodedOutputStream output)
                     throws IOException
        Specified by:
        writeTo in interface com.google.protobuf.MessageLite
        Overrides:
        writeTo in class com.google.protobuf.GeneratedMessageV3
        Throws:
        IOException
      • getSerializedSize

        public int getSerializedSize()
        Specified by:
        getSerializedSize in interface com.google.protobuf.MessageLite
        Overrides:
        getSerializedSize in class com.google.protobuf.GeneratedMessageV3
      • equals

        public boolean equals​(Object obj)
        Specified by:
        equals in interface com.google.protobuf.Message
        Overrides:
        equals in class com.google.protobuf.AbstractMessage
      • hashCode

        public int hashCode()
        Specified by:
        hashCode in interface com.google.protobuf.Message
        Overrides:
        hashCode in class com.google.protobuf.AbstractMessage
      • parseFrom

        public static CertificateDetails parseFrom​(ByteBuffer data)
                                            throws com.google.protobuf.InvalidProtocolBufferException
        Throws:
        com.google.protobuf.InvalidProtocolBufferException
      • parseFrom

        public static CertificateDetails parseFrom​(ByteBuffer data,
                                                   com.google.protobuf.ExtensionRegistryLite extensionRegistry)
                                            throws com.google.protobuf.InvalidProtocolBufferException
        Throws:
        com.google.protobuf.InvalidProtocolBufferException
      • parseFrom

        public static CertificateDetails parseFrom​(com.google.protobuf.ByteString data)
                                            throws com.google.protobuf.InvalidProtocolBufferException
        Throws:
        com.google.protobuf.InvalidProtocolBufferException
      • parseFrom

        public static CertificateDetails parseFrom​(com.google.protobuf.ByteString data,
                                                   com.google.protobuf.ExtensionRegistryLite extensionRegistry)
                                            throws com.google.protobuf.InvalidProtocolBufferException
        Throws:
        com.google.protobuf.InvalidProtocolBufferException
      • parseFrom

        public static CertificateDetails parseFrom​(byte[] data)
                                            throws com.google.protobuf.InvalidProtocolBufferException
        Throws:
        com.google.protobuf.InvalidProtocolBufferException
      • parseFrom

        public static CertificateDetails parseFrom​(byte[] data,
                                                   com.google.protobuf.ExtensionRegistryLite extensionRegistry)
                                            throws com.google.protobuf.InvalidProtocolBufferException
        Throws:
        com.google.protobuf.InvalidProtocolBufferException
      • parseFrom

        public static CertificateDetails parseFrom​(com.google.protobuf.CodedInputStream input,
                                                   com.google.protobuf.ExtensionRegistryLite extensionRegistry)
                                            throws IOException
        Throws:
        IOException
      • newBuilderForType

        public CertificateDetails.Builder newBuilderForType()
        Specified by:
        newBuilderForType in interface com.google.protobuf.Message
        Specified by:
        newBuilderForType in interface com.google.protobuf.MessageLite
      • toBuilder

        public CertificateDetails.Builder toBuilder()
        Specified by:
        toBuilder in interface com.google.protobuf.Message
        Specified by:
        toBuilder in interface com.google.protobuf.MessageLite
      • newBuilderForType

        protected CertificateDetails.Builder newBuilderForType​(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
        Specified by:
        newBuilderForType in class com.google.protobuf.GeneratedMessageV3
      • getParserForType

        public com.google.protobuf.Parser<CertificateDetails> getParserForType()
        Specified by:
        getParserForType in interface com.google.protobuf.Message
        Specified by:
        getParserForType in interface com.google.protobuf.MessageLite
        Overrides:
        getParserForType in class com.google.protobuf.GeneratedMessageV3
      • getDefaultInstanceForType

        public CertificateDetails getDefaultInstanceForType()
        Specified by:
        getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
        Specified by:
        getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder