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| Modifier and Type | Class and Description |
|---|---|
static class |
V1Certificates.CertificateSigningRequestStatus.Builder
CertificateSigningRequestStatus contains conditions used to indicate
approved/denied/failed status of the request, and the issued certificate.
|
com.google.protobuf.GeneratedMessageV3.BuilderParent, com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage,BuilderType extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageType,BuilderType>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage>, com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage>, com.google.protobuf.GeneratedMessageV3.FieldAccessorTable, com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter| Modifier and Type | Field and Description |
|---|---|
static int |
CERTIFICATE_FIELD_NUMBER |
static int |
CONDITIONS_FIELD_NUMBER |
static com.google.protobuf.Parser<V1Certificates.CertificateSigningRequestStatus> |
PARSER
Deprecated.
|
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, hasField, hasOneof, internalGetMapField, isStringEmpty, makeExtensionsImmutable, mergeFromAndMakeImmutableInternal, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, newBooleanList, newBuilderForType, newDoubleList, newFloatList, newInstance, newIntList, newLongList, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTagfindInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toStringaddAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToclone, finalize, getClass, notify, notifyAll, wait, wait, waitpublic static final int CONDITIONS_FIELD_NUMBER
public static final int CERTIFICATE_FIELD_NUMBER
@Deprecated public static final com.google.protobuf.Parser<V1Certificates.CertificateSigningRequestStatus> PARSER
public final com.google.protobuf.UnknownFieldSet getUnknownFields()
getUnknownFields in interface com.google.protobuf.MessageOrBuildergetUnknownFields in class com.google.protobuf.GeneratedMessageV3public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3public List<V1Certificates.CertificateSigningRequestCondition> 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;
getConditionsList in interface V1Certificates.CertificateSigningRequestStatusOrBuilderpublic 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;
getConditionsOrBuilderList in interface V1Certificates.CertificateSigningRequestStatusOrBuilderpublic 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;
getConditionsCount in interface V1Certificates.CertificateSigningRequestStatusOrBuilderpublic 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;
getConditions in interface V1Certificates.CertificateSigningRequestStatusOrBuilderpublic 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;
getConditionsOrBuilder in interface V1Certificates.CertificateSigningRequestStatusOrBuilderpublic 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;hasCertificate in interface V1Certificates.CertificateSigningRequestStatusOrBuilderpublic 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;getCertificate in interface V1Certificates.CertificateSigningRequestStatusOrBuilderpublic final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3public void writeTo(com.google.protobuf.CodedOutputStream output)
throws IOException
writeTo in interface com.google.protobuf.MessageLitewriteTo in class com.google.protobuf.GeneratedMessageV3IOExceptionpublic int getSerializedSize()
getSerializedSize in interface com.google.protobuf.MessageLitegetSerializedSize in class com.google.protobuf.GeneratedMessageV3public boolean equals(Object obj)
equals in interface com.google.protobuf.Messageequals in class com.google.protobuf.AbstractMessagepublic int hashCode()
hashCode in interface com.google.protobuf.MessagehashCode in class com.google.protobuf.AbstractMessagepublic static V1Certificates.CertificateSigningRequestStatus parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static V1Certificates.CertificateSigningRequestStatus parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static V1Certificates.CertificateSigningRequestStatus parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static V1Certificates.CertificateSigningRequestStatus parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static V1Certificates.CertificateSigningRequestStatus parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static V1Certificates.CertificateSigningRequestStatus parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static V1Certificates.CertificateSigningRequestStatus parseFrom(InputStream input) throws IOException
IOExceptionpublic static V1Certificates.CertificateSigningRequestStatus parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static V1Certificates.CertificateSigningRequestStatus parseDelimitedFrom(InputStream input) throws IOException
IOExceptionpublic static V1Certificates.CertificateSigningRequestStatus parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static V1Certificates.CertificateSigningRequestStatus parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
IOExceptionpublic static V1Certificates.CertificateSigningRequestStatus parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic V1Certificates.CertificateSigningRequestStatus.Builder newBuilderForType()
newBuilderForType in interface com.google.protobuf.MessagenewBuilderForType in interface com.google.protobuf.MessageLitepublic static V1Certificates.CertificateSigningRequestStatus.Builder newBuilder()
public static V1Certificates.CertificateSigningRequestStatus.Builder newBuilder(V1Certificates.CertificateSigningRequestStatus prototype)
public V1Certificates.CertificateSigningRequestStatus.Builder toBuilder()
toBuilder in interface com.google.protobuf.MessagetoBuilder in interface com.google.protobuf.MessageLiteprotected V1Certificates.CertificateSigningRequestStatus.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
newBuilderForType in class com.google.protobuf.GeneratedMessageV3public static V1Certificates.CertificateSigningRequestStatus getDefaultInstance()
public static com.google.protobuf.Parser<V1Certificates.CertificateSigningRequestStatus> parser()
public com.google.protobuf.Parser<V1Certificates.CertificateSigningRequestStatus> getParserForType()
getParserForType in interface com.google.protobuf.MessagegetParserForType in interface com.google.protobuf.MessageLitegetParserForType in class com.google.protobuf.GeneratedMessageV3public V1Certificates.CertificateSigningRequestStatus getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderCopyright © 2023. All rights reserved.