Class V1Certificates.CertificateSigningRequestStatus

java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessageV3
io.kubernetes.client.proto.V1Certificates.CertificateSigningRequestStatus
All Implemented Interfaces:
com.google.protobuf.Message, com.google.protobuf.MessageLite, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, V1Certificates.CertificateSigningRequestStatusOrBuilder, Serializable
Enclosing class:
V1Certificates

public static final class V1Certificates.CertificateSigningRequestStatus extends com.google.protobuf.GeneratedMessageV3 implements V1Certificates.CertificateSigningRequestStatusOrBuilder
 CertificateSigningRequestStatus contains conditions used to indicate
 approved/denied/failed status of the request, and the issued certificate.
 
Protobuf type k8s.io.api.certificates.v1.CertificateSigningRequestStatus
See Also:
  • Field Details

  • Method Details

    • 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
    • getConditionsList

       conditions applied to the request. Known conditions are "Approved", "Denied", and "Failed".
       +listType=map
       +listMapKey=type
       +optional
       
      repeated .k8s.io.api.certificates.v1.CertificateSigningRequestCondition conditions = 1;
      Specified by:
      getConditionsList in interface V1Certificates.CertificateSigningRequestStatusOrBuilder
    • getConditionsOrBuilderList

      public List<? extends V1Certificates.CertificateSigningRequestConditionOrBuilder> getConditionsOrBuilderList()
       conditions applied to the request. Known conditions are "Approved", "Denied", and "Failed".
       +listType=map
       +listMapKey=type
       +optional
       
      repeated .k8s.io.api.certificates.v1.CertificateSigningRequestCondition conditions = 1;
      Specified by:
      getConditionsOrBuilderList in interface V1Certificates.CertificateSigningRequestStatusOrBuilder
    • getConditionsCount

      public int getConditionsCount()
       conditions applied to the request. Known conditions are "Approved", "Denied", and "Failed".
       +listType=map
       +listMapKey=type
       +optional
       
      repeated .k8s.io.api.certificates.v1.CertificateSigningRequestCondition conditions = 1;
      Specified by:
      getConditionsCount in interface V1Certificates.CertificateSigningRequestStatusOrBuilder
    • getConditions

      public V1Certificates.CertificateSigningRequestCondition getConditions(int index)
       conditions applied to the request. Known conditions are "Approved", "Denied", and "Failed".
       +listType=map
       +listMapKey=type
       +optional
       
      repeated .k8s.io.api.certificates.v1.CertificateSigningRequestCondition conditions = 1;
      Specified by:
      getConditions in interface V1Certificates.CertificateSigningRequestStatusOrBuilder
    • getConditionsOrBuilder

      public V1Certificates.CertificateSigningRequestConditionOrBuilder getConditionsOrBuilder(int index)
       conditions applied to the request. Known conditions are "Approved", "Denied", and "Failed".
       +listType=map
       +listMapKey=type
       +optional
       
      repeated .k8s.io.api.certificates.v1.CertificateSigningRequestCondition conditions = 1;
      Specified by:
      getConditionsOrBuilder in interface V1Certificates.CertificateSigningRequestStatusOrBuilder
    • hasCertificate

      public boolean hasCertificate()
       certificate is populated with an issued certificate by the signer after an Approved condition is present.
       This field is set via the /status subresource. Once populated, this field is immutable.
       If the certificate signing request is denied, a condition of type "Denied" is added and this field remains empty.
       If the signer cannot issue the certificate, a condition of type "Failed" is added and this field remains empty.
       Validation requirements:
        1. certificate must contain one or more PEM blocks.
        2. All PEM blocks must have the "CERTIFICATE" label, contain no headers, and the encoded data
         must be a BER-encoded ASN.1 Certificate structure as described in section 4 of RFC5280.
        3. Non-PEM content may appear before or after the "CERTIFICATE" PEM blocks and is unvalidated,
         to allow for explanatory text as described in section 5.2 of RFC7468.
       If more than one PEM block is present, and the definition of the requested spec.signerName
       does not indicate otherwise, the first block is the issued certificate,
       and subsequent blocks should be treated as intermediate certificates and presented in TLS handshakes.
       The certificate is encoded in PEM format.
       When serialized as JSON or YAML, the data is additionally base64-encoded, so it consists of:
           base64(
           -----BEGIN CERTIFICATE-----
           ...
           -----END CERTIFICATE-----
           )
       +listType=atomic
       +optional
       
      optional bytes certificate = 2;
      Specified by:
      hasCertificate in interface V1Certificates.CertificateSigningRequestStatusOrBuilder
    • getCertificate

      public com.google.protobuf.ByteString getCertificate()
       certificate is populated with an issued certificate by the signer after an Approved condition is present.
       This field is set via the /status subresource. Once populated, this field is immutable.
       If the certificate signing request is denied, a condition of type "Denied" is added and this field remains empty.
       If the signer cannot issue the certificate, a condition of type "Failed" is added and this field remains empty.
       Validation requirements:
        1. certificate must contain one or more PEM blocks.
        2. All PEM blocks must have the "CERTIFICATE" label, contain no headers, and the encoded data
         must be a BER-encoded ASN.1 Certificate structure as described in section 4 of RFC5280.
        3. Non-PEM content may appear before or after the "CERTIFICATE" PEM blocks and is unvalidated,
         to allow for explanatory text as described in section 5.2 of RFC7468.
       If more than one PEM block is present, and the definition of the requested spec.signerName
       does not indicate otherwise, the first block is the issued certificate,
       and subsequent blocks should be treated as intermediate certificates and presented in TLS handshakes.
       The certificate is encoded in PEM format.
       When serialized as JSON or YAML, the data is additionally base64-encoded, so it consists of:
           base64(
           -----BEGIN CERTIFICATE-----
           ...
           -----END CERTIFICATE-----
           )
       +listType=atomic
       +optional
       
      optional bytes certificate = 2;
      Specified by:
      getCertificate in interface V1Certificates.CertificateSigningRequestStatusOrBuilder
    • 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 V1Certificates.CertificateSigningRequestStatus parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

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

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

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

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

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

      Throws:
      IOException
    • parseFrom

      public static V1Certificates.CertificateSigningRequestStatus parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • parseDelimitedFrom

      public static V1Certificates.CertificateSigningRequestStatus parseDelimitedFrom(InputStream input) throws IOException
      Throws:
      IOException
    • parseDelimitedFrom

      public static V1Certificates.CertificateSigningRequestStatus parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • parseFrom

      public static V1Certificates.CertificateSigningRequestStatus parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
      Throws:
      IOException
    • parseFrom

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

      Specified by:
      newBuilderForType in interface com.google.protobuf.Message
      Specified by:
      newBuilderForType in interface com.google.protobuf.MessageLite
    • newBuilder

    • newBuilder

    • toBuilder

      Specified by:
      toBuilder in interface com.google.protobuf.Message
      Specified by:
      toBuilder in interface com.google.protobuf.MessageLite
    • newBuilderForType

      protected V1Certificates.CertificateSigningRequestStatus.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
      Specified by:
      newBuilderForType in class com.google.protobuf.GeneratedMessageV3
    • getDefaultInstance

      public static V1Certificates.CertificateSigningRequestStatus getDefaultInstance()
    • parser

      public static com.google.protobuf.Parser<V1Certificates.CertificateSigningRequestStatus> parser()
    • getParserForType

      public com.google.protobuf.Parser<V1Certificates.CertificateSigningRequestStatus> 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 V1Certificates.CertificateSigningRequestStatus getDefaultInstanceForType()
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder