Class Certificate
java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessage
com.google.cloud.security.privateca.v1.Certificate
- All Implemented Interfaces:
CertificateOrBuilder,com.google.protobuf.Message,com.google.protobuf.MessageLite,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Serializable
@Generated
public final class Certificate
extends com.google.protobuf.GeneratedMessage
implements CertificateOrBuilder
A [Certificate][google.cloud.security.privateca.v1.Certificate] corresponds to a signed X.509 certificate issued by a [CertificateAuthority][google.cloud.security.privateca.v1.CertificateAuthority].Protobuf type
google.cloud.security.privateca.v1.Certificate- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classA [Certificate][google.cloud.security.privateca.v1.Certificate] corresponds to a signed X.509 certificate issued by a [CertificateAuthority][google.cloud.security.privateca.v1.CertificateAuthority].static enumstatic final classDescribes fields that are relavent to the revocation of a [Certificate][google.cloud.security.privateca.v1.Certificate].static interfaceNested classes/interfaces inherited from class com.google.protobuf.GeneratedMessage
com.google.protobuf.GeneratedMessage.ExtendableBuilder<MessageT extends com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT>,BuilderT extends com.google.protobuf.GeneratedMessage.ExtendableBuilder<MessageT, BuilderT>>, com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT extends com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessage.ExtendableMessageOrBuilder<MessageT extends com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessage.FieldAccessorTable, com.google.protobuf.GeneratedMessage.GeneratedExtension<ContainingT extends com.google.protobuf.Message, T extends Object>, com.google.protobuf.GeneratedMessage.UnusedPrivateParameter Nested classes/interfaces inherited from class com.google.protobuf.AbstractMessage
com.google.protobuf.AbstractMessage.BuilderParentNested classes/interfaces inherited from class com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessageLite.InternalOneOfEnum -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intFields inherited from class com.google.protobuf.GeneratedMessage
alwaysUseFieldBuilders, loggedPre22TypeNames, unknownFieldsFields inherited from class com.google.protobuf.AbstractMessage
memoizedSizeFields inherited from class com.google.protobuf.AbstractMessageLite
memoizedHashCode -
Method Summary
Modifier and TypeMethodDescriptionbooleancontainsLabels(String key) Optional.booleanOutput only.Output only.Immutable.com.google.protobuf.ByteStringImmutable.Immutable.Immutable.com.google.protobuf.TimestampOutput only.com.google.protobuf.TimestampOrBuilderOutput only.static Certificatestatic final com.google.protobuf.Descriptors.DescriptorOutput only.com.google.protobuf.ByteStringOutput only.Deprecated.intOptional.Optional.getLabelsOrDefault(String key, String defaultValue) Optional.getLabelsOrThrow(String key) Optional.com.google.protobuf.DurationRequired.com.google.protobuf.DurationOrBuilderRequired.getName()Identifier.com.google.protobuf.ByteStringIdentifier.com.google.protobuf.Parser<Certificate>Output only.com.google.protobuf.ByteStringOutput only.getPemCertificateChain(int index) Output only.com.google.protobuf.ByteStringgetPemCertificateChainBytes(int index) Output only.intOutput only.com.google.protobuf.ProtocolStringListOutput only.Immutable.com.google.protobuf.ByteStringImmutable.Output only.Output only.intImmutable.intImmutable.com.google.protobuf.TimestampOutput only.com.google.protobuf.TimestampOrBuilderOutput only.booleanOutput only.booleanImmutable.booleanOutput only.inthashCode()booleanRequired.booleanImmutable.booleanOutput only.booleanOutput only.protected com.google.protobuf.GeneratedMessage.FieldAccessorTableprotected com.google.protobuf.MapFieldReflectionAccessorinternalGetMapFieldReflection(int number) final booleanstatic Certificate.Builderstatic Certificate.BuildernewBuilder(Certificate prototype) protected Certificate.BuildernewBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent) static CertificateparseDelimitedFrom(InputStream input) static CertificateparseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static CertificateparseFrom(byte[] data) static CertificateparseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static CertificateparseFrom(com.google.protobuf.ByteString data) static CertificateparseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static CertificateparseFrom(com.google.protobuf.CodedInputStream input) static CertificateparseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static CertificateparseFrom(InputStream input) static CertificateparseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static CertificateparseFrom(ByteBuffer data) static CertificateparseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static com.google.protobuf.Parser<Certificate>parser()voidwriteTo(com.google.protobuf.CodedOutputStream output) Methods inherited from class com.google.protobuf.GeneratedMessage
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, isStringEmpty, makeExtensionsImmutable, makeMutableCopy, makeMutableCopy, mergeFromAndMakeImmutableInternal, newFileScopedGeneratedExtension, newInstance, newMessageScopedGeneratedExtension, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTagMethods inherited from class com.google.protobuf.AbstractMessage
findInitializationErrors, getInitializationErrorString, hashFields, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite
addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.MessageLite
toByteArray, toByteString, writeDelimitedTo, writeToMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Field Details
-
NAME_FIELD_NUMBER
public static final int NAME_FIELD_NUMBER- See Also:
-
PEM_CSR_FIELD_NUMBER
public static final int PEM_CSR_FIELD_NUMBER- See Also:
-
CONFIG_FIELD_NUMBER
public static final int CONFIG_FIELD_NUMBER- See Also:
-
ISSUER_CERTIFICATE_AUTHORITY_FIELD_NUMBER
public static final int ISSUER_CERTIFICATE_AUTHORITY_FIELD_NUMBER- See Also:
-
LIFETIME_FIELD_NUMBER
public static final int LIFETIME_FIELD_NUMBER- See Also:
-
CERTIFICATE_TEMPLATE_FIELD_NUMBER
public static final int CERTIFICATE_TEMPLATE_FIELD_NUMBER- See Also:
-
SUBJECT_MODE_FIELD_NUMBER
public static final int SUBJECT_MODE_FIELD_NUMBER- See Also:
-
REVOCATION_DETAILS_FIELD_NUMBER
public static final int REVOCATION_DETAILS_FIELD_NUMBER- See Also:
-
PEM_CERTIFICATE_FIELD_NUMBER
public static final int PEM_CERTIFICATE_FIELD_NUMBER- See Also:
-
CERTIFICATE_DESCRIPTION_FIELD_NUMBER
public static final int CERTIFICATE_DESCRIPTION_FIELD_NUMBER- See Also:
-
PEM_CERTIFICATE_CHAIN_FIELD_NUMBER
public static final int PEM_CERTIFICATE_CHAIN_FIELD_NUMBER- See Also:
-
CREATE_TIME_FIELD_NUMBER
public static final int CREATE_TIME_FIELD_NUMBER- See Also:
-
UPDATE_TIME_FIELD_NUMBER
public static final int UPDATE_TIME_FIELD_NUMBER- See Also:
-
LABELS_FIELD_NUMBER
public static final int LABELS_FIELD_NUMBER- See Also:
-
-
Method Details
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetMapFieldReflection
protected com.google.protobuf.MapFieldReflectionAccessor internalGetMapFieldReflection(int number) - Overrides:
internalGetMapFieldReflectionin classcom.google.protobuf.GeneratedMessage
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessage
-
getCertificateConfigCase
- Specified by:
getCertificateConfigCasein interfaceCertificateOrBuilder
-
getName
Identifier. The resource name for this [Certificate][google.cloud.security.privateca.v1.Certificate] in the format `projects/*/locations/*/caPools/*/certificates/*`.
string name = 1 [(.google.api.field_behavior) = IDENTIFIER];- Specified by:
getNamein interfaceCertificateOrBuilder- Returns:
- The name.
-
getNameBytes
public com.google.protobuf.ByteString getNameBytes()Identifier. The resource name for this [Certificate][google.cloud.security.privateca.v1.Certificate] in the format `projects/*/locations/*/caPools/*/certificates/*`.
string name = 1 [(.google.api.field_behavior) = IDENTIFIER];- Specified by:
getNameBytesin interfaceCertificateOrBuilder- Returns:
- The bytes for name.
-
hasPemCsr
public boolean hasPemCsr()Immutable. A pem-encoded X.509 certificate signing request (CSR).
string pem_csr = 2 [(.google.api.field_behavior) = IMMUTABLE];- Specified by:
hasPemCsrin interfaceCertificateOrBuilder- Returns:
- Whether the pemCsr field is set.
-
getPemCsr
Immutable. A pem-encoded X.509 certificate signing request (CSR).
string pem_csr = 2 [(.google.api.field_behavior) = IMMUTABLE];- Specified by:
getPemCsrin interfaceCertificateOrBuilder- Returns:
- The pemCsr.
-
getPemCsrBytes
public com.google.protobuf.ByteString getPemCsrBytes()Immutable. A pem-encoded X.509 certificate signing request (CSR).
string pem_csr = 2 [(.google.api.field_behavior) = IMMUTABLE];- Specified by:
getPemCsrBytesin interfaceCertificateOrBuilder- Returns:
- The bytes for pemCsr.
-
hasConfig
public boolean hasConfig()Immutable. A description of the certificate and key that does not require X.509 or ASN.1.
.google.cloud.security.privateca.v1.CertificateConfig config = 3 [(.google.api.field_behavior) = IMMUTABLE];- Specified by:
hasConfigin interfaceCertificateOrBuilder- Returns:
- Whether the config field is set.
-
getConfig
Immutable. A description of the certificate and key that does not require X.509 or ASN.1.
.google.cloud.security.privateca.v1.CertificateConfig config = 3 [(.google.api.field_behavior) = IMMUTABLE];- Specified by:
getConfigin interfaceCertificateOrBuilder- Returns:
- The config.
-
getConfigOrBuilder
Immutable. A description of the certificate and key that does not require X.509 or ASN.1.
.google.cloud.security.privateca.v1.CertificateConfig config = 3 [(.google.api.field_behavior) = IMMUTABLE];- Specified by:
getConfigOrBuilderin interfaceCertificateOrBuilder
-
getIssuerCertificateAuthority
Output only. The resource name of the issuing [CertificateAuthority][google.cloud.security.privateca.v1.CertificateAuthority] in the format `projects/*/locations/*/caPools/*/certificateAuthorities/*`.
string issuer_certificate_authority = 4 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }- Specified by:
getIssuerCertificateAuthorityin interfaceCertificateOrBuilder- Returns:
- The issuerCertificateAuthority.
-
getIssuerCertificateAuthorityBytes
public com.google.protobuf.ByteString getIssuerCertificateAuthorityBytes()Output only. The resource name of the issuing [CertificateAuthority][google.cloud.security.privateca.v1.CertificateAuthority] in the format `projects/*/locations/*/caPools/*/certificateAuthorities/*`.
string issuer_certificate_authority = 4 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }- Specified by:
getIssuerCertificateAuthorityBytesin interfaceCertificateOrBuilder- Returns:
- The bytes for issuerCertificateAuthority.
-
hasLifetime
public boolean hasLifetime()Required. Immutable. The desired lifetime of a certificate. Used to create the "not_before_time" and "not_after_time" fields inside an X.509 certificate. Note that the lifetime may be truncated if it would extend past the life of any certificate authority in the issuing chain.
.google.protobuf.Duration lifetime = 5 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE];- Specified by:
hasLifetimein interfaceCertificateOrBuilder- Returns:
- Whether the lifetime field is set.
-
getLifetime
public com.google.protobuf.Duration getLifetime()Required. Immutable. The desired lifetime of a certificate. Used to create the "not_before_time" and "not_after_time" fields inside an X.509 certificate. Note that the lifetime may be truncated if it would extend past the life of any certificate authority in the issuing chain.
.google.protobuf.Duration lifetime = 5 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE];- Specified by:
getLifetimein interfaceCertificateOrBuilder- Returns:
- The lifetime.
-
getLifetimeOrBuilder
public com.google.protobuf.DurationOrBuilder getLifetimeOrBuilder()Required. Immutable. The desired lifetime of a certificate. Used to create the "not_before_time" and "not_after_time" fields inside an X.509 certificate. Note that the lifetime may be truncated if it would extend past the life of any certificate authority in the issuing chain.
.google.protobuf.Duration lifetime = 5 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE];- Specified by:
getLifetimeOrBuilderin interfaceCertificateOrBuilder
-
getCertificateTemplate
Immutable. The resource name for a [CertificateTemplate][google.cloud.security.privateca.v1.CertificateTemplate] used to issue this certificate, in the format `projects/*/locations/*/certificateTemplates/*`. If this is specified, the caller must have the necessary permission to use this template. If this is omitted, no template will be used. This template must be in the same location as the [Certificate][google.cloud.security.privateca.v1.Certificate].
string certificate_template = 6 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { ... }- Specified by:
getCertificateTemplatein interfaceCertificateOrBuilder- Returns:
- The certificateTemplate.
-
getCertificateTemplateBytes
public com.google.protobuf.ByteString getCertificateTemplateBytes()Immutable. The resource name for a [CertificateTemplate][google.cloud.security.privateca.v1.CertificateTemplate] used to issue this certificate, in the format `projects/*/locations/*/certificateTemplates/*`. If this is specified, the caller must have the necessary permission to use this template. If this is omitted, no template will be used. This template must be in the same location as the [Certificate][google.cloud.security.privateca.v1.Certificate].
string certificate_template = 6 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { ... }- Specified by:
getCertificateTemplateBytesin interfaceCertificateOrBuilder- Returns:
- The bytes for certificateTemplate.
-
getSubjectModeValue
public int getSubjectModeValue()Immutable. Specifies how the [Certificate][google.cloud.security.privateca.v1.Certificate]'s identity fields are to be decided. If this is omitted, the `DEFAULT` subject mode will be used.
.google.cloud.security.privateca.v1.SubjectRequestMode subject_mode = 7 [(.google.api.field_behavior) = IMMUTABLE];- Specified by:
getSubjectModeValuein interfaceCertificateOrBuilder- Returns:
- The enum numeric value on the wire for subjectMode.
-
getSubjectMode
Immutable. Specifies how the [Certificate][google.cloud.security.privateca.v1.Certificate]'s identity fields are to be decided. If this is omitted, the `DEFAULT` subject mode will be used.
.google.cloud.security.privateca.v1.SubjectRequestMode subject_mode = 7 [(.google.api.field_behavior) = IMMUTABLE];- Specified by:
getSubjectModein interfaceCertificateOrBuilder- Returns:
- The subjectMode.
-
hasRevocationDetails
public boolean hasRevocationDetails()Output only. Details regarding the revocation of this [Certificate][google.cloud.security.privateca.v1.Certificate]. This [Certificate][google.cloud.security.privateca.v1.Certificate] is considered revoked if and only if this field is present.
.google.cloud.security.privateca.v1.Certificate.RevocationDetails revocation_details = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
hasRevocationDetailsin interfaceCertificateOrBuilder- Returns:
- Whether the revocationDetails field is set.
-
getRevocationDetails
Output only. Details regarding the revocation of this [Certificate][google.cloud.security.privateca.v1.Certificate]. This [Certificate][google.cloud.security.privateca.v1.Certificate] is considered revoked if and only if this field is present.
.google.cloud.security.privateca.v1.Certificate.RevocationDetails revocation_details = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getRevocationDetailsin interfaceCertificateOrBuilder- Returns:
- The revocationDetails.
-
getRevocationDetailsOrBuilder
Output only. Details regarding the revocation of this [Certificate][google.cloud.security.privateca.v1.Certificate]. This [Certificate][google.cloud.security.privateca.v1.Certificate] is considered revoked if and only if this field is present.
.google.cloud.security.privateca.v1.Certificate.RevocationDetails revocation_details = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getRevocationDetailsOrBuilderin interfaceCertificateOrBuilder
-
getPemCertificate
Output only. The pem-encoded, signed X.509 certificate.
string pem_certificate = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getPemCertificatein interfaceCertificateOrBuilder- Returns:
- The pemCertificate.
-
getPemCertificateBytes
public com.google.protobuf.ByteString getPemCertificateBytes()Output only. The pem-encoded, signed X.509 certificate.
string pem_certificate = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getPemCertificateBytesin interfaceCertificateOrBuilder- Returns:
- The bytes for pemCertificate.
-
hasCertificateDescription
public boolean hasCertificateDescription()Output only. A structured description of the issued X.509 certificate.
.google.cloud.security.privateca.v1.CertificateDescription certificate_description = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
hasCertificateDescriptionin interfaceCertificateOrBuilder- Returns:
- Whether the certificateDescription field is set.
-
getCertificateDescription
Output only. A structured description of the issued X.509 certificate.
.google.cloud.security.privateca.v1.CertificateDescription certificate_description = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getCertificateDescriptionin interfaceCertificateOrBuilder- Returns:
- The certificateDescription.
-
getCertificateDescriptionOrBuilder
Output only. A structured description of the issued X.509 certificate.
.google.cloud.security.privateca.v1.CertificateDescription certificate_description = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getCertificateDescriptionOrBuilderin interfaceCertificateOrBuilder
-
getPemCertificateChainList
public com.google.protobuf.ProtocolStringList getPemCertificateChainList()Output only. The chain that may be used to verify the X.509 certificate. Expected to be in issuer-to-root order according to RFC 5246.
repeated string pem_certificate_chain = 11 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getPemCertificateChainListin interfaceCertificateOrBuilder- Returns:
- A list containing the pemCertificateChain.
-
getPemCertificateChainCount
public int getPemCertificateChainCount()Output only. The chain that may be used to verify the X.509 certificate. Expected to be in issuer-to-root order according to RFC 5246.
repeated string pem_certificate_chain = 11 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getPemCertificateChainCountin interfaceCertificateOrBuilder- Returns:
- The count of pemCertificateChain.
-
getPemCertificateChain
Output only. The chain that may be used to verify the X.509 certificate. Expected to be in issuer-to-root order according to RFC 5246.
repeated string pem_certificate_chain = 11 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getPemCertificateChainin interfaceCertificateOrBuilder- Parameters:
index- The index of the element to return.- Returns:
- The pemCertificateChain at the given index.
-
getPemCertificateChainBytes
public com.google.protobuf.ByteString getPemCertificateChainBytes(int index) Output only. The chain that may be used to verify the X.509 certificate. Expected to be in issuer-to-root order according to RFC 5246.
repeated string pem_certificate_chain = 11 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getPemCertificateChainBytesin interfaceCertificateOrBuilder- Parameters:
index- The index of the value to return.- Returns:
- The bytes of the pemCertificateChain at the given index.
-
hasCreateTime
public boolean hasCreateTime()Output only. The time at which this [Certificate][google.cloud.security.privateca.v1.Certificate] was created.
.google.protobuf.Timestamp create_time = 12 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
hasCreateTimein interfaceCertificateOrBuilder- Returns:
- Whether the createTime field is set.
-
getCreateTime
public com.google.protobuf.Timestamp getCreateTime()Output only. The time at which this [Certificate][google.cloud.security.privateca.v1.Certificate] was created.
.google.protobuf.Timestamp create_time = 12 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getCreateTimein interfaceCertificateOrBuilder- Returns:
- The createTime.
-
getCreateTimeOrBuilder
public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder()Output only. The time at which this [Certificate][google.cloud.security.privateca.v1.Certificate] was created.
.google.protobuf.Timestamp create_time = 12 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getCreateTimeOrBuilderin interfaceCertificateOrBuilder
-
hasUpdateTime
public boolean hasUpdateTime()Output only. The time at which this [Certificate][google.cloud.security.privateca.v1.Certificate] was updated.
.google.protobuf.Timestamp update_time = 13 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
hasUpdateTimein interfaceCertificateOrBuilder- Returns:
- Whether the updateTime field is set.
-
getUpdateTime
public com.google.protobuf.Timestamp getUpdateTime()Output only. The time at which this [Certificate][google.cloud.security.privateca.v1.Certificate] was updated.
.google.protobuf.Timestamp update_time = 13 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getUpdateTimein interfaceCertificateOrBuilder- Returns:
- The updateTime.
-
getUpdateTimeOrBuilder
public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder()Output only. The time at which this [Certificate][google.cloud.security.privateca.v1.Certificate] was updated.
.google.protobuf.Timestamp update_time = 13 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getUpdateTimeOrBuilderin interfaceCertificateOrBuilder
-
getLabelsCount
public int getLabelsCount()Description copied from interface:CertificateOrBuilderOptional. Labels with user-defined metadata.
map<string, string> labels = 14 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getLabelsCountin interfaceCertificateOrBuilder
-
containsLabels
Optional. Labels with user-defined metadata.
map<string, string> labels = 14 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
containsLabelsin interfaceCertificateOrBuilder
-
getLabels
Deprecated.UsegetLabelsMap()instead.- Specified by:
getLabelsin interfaceCertificateOrBuilder
-
getLabelsMap
Optional. Labels with user-defined metadata.
map<string, string> labels = 14 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getLabelsMapin interfaceCertificateOrBuilder
-
getLabelsOrDefault
Optional. Labels with user-defined metadata.
map<string, string> labels = 14 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getLabelsOrDefaultin interfaceCertificateOrBuilder
-
getLabelsOrThrow
Optional. Labels with user-defined metadata.
map<string, string> labels = 14 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getLabelsOrThrowin interfaceCertificateOrBuilder
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage
-
writeTo
- Specified by:
writeToin interfacecom.google.protobuf.MessageLite- Overrides:
writeToin classcom.google.protobuf.GeneratedMessage- Throws:
IOException
-
getSerializedSize
public int getSerializedSize()- Specified by:
getSerializedSizein interfacecom.google.protobuf.MessageLite- Overrides:
getSerializedSizein classcom.google.protobuf.GeneratedMessage
-
equals
- Specified by:
equalsin interfacecom.google.protobuf.Message- Overrides:
equalsin classcom.google.protobuf.AbstractMessage
-
hashCode
public int hashCode()- Specified by:
hashCodein interfacecom.google.protobuf.Message- Overrides:
hashCodein classcom.google.protobuf.AbstractMessage
-
parseFrom
public static Certificate parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Certificate parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Certificate parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Certificate parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Certificate parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Certificate parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
- Throws:
IOException
-
parseFrom
public static Certificate parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseDelimitedFrom
- Throws:
IOException
-
parseDelimitedFrom
public static Certificate parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseFrom
- Throws:
IOException
-
parseFrom
public static Certificate parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
newBuilderForType
- Specified by:
newBuilderForTypein interfacecom.google.protobuf.Message- Specified by:
newBuilderForTypein interfacecom.google.protobuf.MessageLite
-
newBuilder
-
newBuilder
-
toBuilder
- Specified by:
toBuilderin interfacecom.google.protobuf.Message- Specified by:
toBuilderin interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected Certificate.Builder newBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent) - Overrides:
newBuilderForTypein classcom.google.protobuf.AbstractMessage
-
getDefaultInstance
-
parser
-
getParserForType
- Specified by:
getParserForTypein interfacecom.google.protobuf.Message- Specified by:
getParserForTypein interfacecom.google.protobuf.MessageLite- Overrides:
getParserForTypein classcom.google.protobuf.GeneratedMessage
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-