Class Certificate.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder
-
- com.google.protobuf.AbstractMessage.Builder<BuilderT>
-
- com.google.protobuf.GeneratedMessageV3.Builder<Certificate.Builder>
-
- com.google.cloud.security.privateca.v1beta1.Certificate.Builder
-
- All Implemented Interfaces:
CertificateOrBuilder,com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable
- Enclosing class:
- Certificate
public static final class Certificate.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<Certificate.Builder> implements CertificateOrBuilder
A [Certificate][google.cloud.security.privateca.v1beta1.Certificate] corresponds to a signed X.509 certificate issued by a [CertificateAuthority][google.cloud.security.privateca.v1beta1.CertificateAuthority].
Protobuf typegoogle.cloud.security.privateca.v1beta1.Certificate
-
-
Method Summary
-
Methods inherited from class com.google.protobuf.GeneratedMessageV3.Builder
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3
-
Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
-
Methods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageException
-
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
-
-
-
Method Detail
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
-
internalGetMapField
protected com.google.protobuf.MapField internalGetMapField(int number)
- Overrides:
internalGetMapFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<Certificate.Builder>
-
internalGetMutableMapField
protected com.google.protobuf.MapField internalGetMutableMapField(int number)
- Overrides:
internalGetMutableMapFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<Certificate.Builder>
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessageV3.Builder<Certificate.Builder>
-
clear
public Certificate.Builder clear()
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessageV3.Builder<Certificate.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessageV3.Builder<Certificate.Builder>
-
getDefaultInstanceForType
public Certificate getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
public Certificate build()
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public Certificate buildPartial()
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
clone
public Certificate.Builder clone()
- Specified by:
clonein interfacecom.google.protobuf.Message.Builder- Specified by:
clonein interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clonein classcom.google.protobuf.GeneratedMessageV3.Builder<Certificate.Builder>
-
setField
public Certificate.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
setFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<Certificate.Builder>
-
clearField
public Certificate.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
- Specified by:
clearFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
clearFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<Certificate.Builder>
-
clearOneof
public Certificate.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
- Specified by:
clearOneofin interfacecom.google.protobuf.Message.Builder- Overrides:
clearOneofin classcom.google.protobuf.GeneratedMessageV3.Builder<Certificate.Builder>
-
setRepeatedField
public Certificate.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
- Specified by:
setRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<Certificate.Builder>
-
addRepeatedField
public Certificate.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
addRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
addRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<Certificate.Builder>
-
mergeFrom
public Certificate.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<Certificate.Builder>
-
mergeFrom
public Certificate.Builder mergeFrom(Certificate other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3.Builder<Certificate.Builder>
-
mergeFrom
public Certificate.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<Certificate.Builder>- Throws:
IOException
-
getCertificateConfigCase
public Certificate.CertificateConfigCase getCertificateConfigCase()
- Specified by:
getCertificateConfigCasein interfaceCertificateOrBuilder
-
clearCertificateConfig
public Certificate.Builder clearCertificateConfig()
-
getName
public String getName()
Output only. The resource path for this [Certificate][google.cloud.security.privateca.v1beta1.Certificate] in the format `projects/*/locations/*/certificateAuthorities/*/certificates/*`.
string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getNamein interfaceCertificateOrBuilder- Returns:
- The name.
-
getNameBytes
public com.google.protobuf.ByteString getNameBytes()
Output only. The resource path for this [Certificate][google.cloud.security.privateca.v1beta1.Certificate] in the format `projects/*/locations/*/certificateAuthorities/*/certificates/*`.
string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getNameBytesin interfaceCertificateOrBuilder- Returns:
- The bytes for name.
-
setName
public Certificate.Builder setName(String value)
Output only. The resource path for this [Certificate][google.cloud.security.privateca.v1beta1.Certificate] in the format `projects/*/locations/*/certificateAuthorities/*/certificates/*`.
string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];- Parameters:
value- The name to set.- Returns:
- This builder for chaining.
-
clearName
public Certificate.Builder clearName()
Output only. The resource path for this [Certificate][google.cloud.security.privateca.v1beta1.Certificate] in the format `projects/*/locations/*/certificateAuthorities/*/certificates/*`.
string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- This builder for chaining.
-
setNameBytes
public Certificate.Builder setNameBytes(com.google.protobuf.ByteString value)
Output only. The resource path for this [Certificate][google.cloud.security.privateca.v1beta1.Certificate] in the format `projects/*/locations/*/certificateAuthorities/*/certificates/*`.
string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];- Parameters:
value- The bytes for name to set.- Returns:
- This builder for chaining.
-
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
public String 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.
-
setPemCsr
public Certificate.Builder setPemCsr(String value)
Immutable. A pem-encoded X.509 certificate signing request (CSR).
string pem_csr = 2 [(.google.api.field_behavior) = IMMUTABLE];- Parameters:
value- The pemCsr to set.- Returns:
- This builder for chaining.
-
clearPemCsr
public Certificate.Builder clearPemCsr()
Immutable. A pem-encoded X.509 certificate signing request (CSR).
string pem_csr = 2 [(.google.api.field_behavior) = IMMUTABLE];- Returns:
- This builder for chaining.
-
setPemCsrBytes
public Certificate.Builder setPemCsrBytes(com.google.protobuf.ByteString value)
Immutable. A pem-encoded X.509 certificate signing request (CSR).
string pem_csr = 2 [(.google.api.field_behavior) = IMMUTABLE];- Parameters:
value- The bytes for pemCsr to set.- Returns:
- This builder for chaining.
-
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.v1beta1.CertificateConfig config = 3 [(.google.api.field_behavior) = IMMUTABLE];- Specified by:
hasConfigin interfaceCertificateOrBuilder- Returns:
- Whether the config field is set.
-
getConfig
public CertificateConfig getConfig()
Immutable. A description of the certificate and key that does not require X.509 or ASN.1.
.google.cloud.security.privateca.v1beta1.CertificateConfig config = 3 [(.google.api.field_behavior) = IMMUTABLE];- Specified by:
getConfigin interfaceCertificateOrBuilder- Returns:
- The config.
-
setConfig
public Certificate.Builder setConfig(CertificateConfig value)
Immutable. A description of the certificate and key that does not require X.509 or ASN.1.
.google.cloud.security.privateca.v1beta1.CertificateConfig config = 3 [(.google.api.field_behavior) = IMMUTABLE];
-
setConfig
public Certificate.Builder setConfig(CertificateConfig.Builder builderForValue)
Immutable. A description of the certificate and key that does not require X.509 or ASN.1.
.google.cloud.security.privateca.v1beta1.CertificateConfig config = 3 [(.google.api.field_behavior) = IMMUTABLE];
-
mergeConfig
public Certificate.Builder mergeConfig(CertificateConfig value)
Immutable. A description of the certificate and key that does not require X.509 or ASN.1.
.google.cloud.security.privateca.v1beta1.CertificateConfig config = 3 [(.google.api.field_behavior) = IMMUTABLE];
-
clearConfig
public Certificate.Builder clearConfig()
Immutable. A description of the certificate and key that does not require X.509 or ASN.1.
.google.cloud.security.privateca.v1beta1.CertificateConfig config = 3 [(.google.api.field_behavior) = IMMUTABLE];
-
getConfigBuilder
public CertificateConfig.Builder getConfigBuilder()
Immutable. A description of the certificate and key that does not require X.509 or ASN.1.
.google.cloud.security.privateca.v1beta1.CertificateConfig config = 3 [(.google.api.field_behavior) = IMMUTABLE];
-
getConfigOrBuilder
public CertificateConfigOrBuilder getConfigOrBuilder()
Immutable. A description of the certificate and key that does not require X.509 or ASN.1.
.google.cloud.security.privateca.v1beta1.CertificateConfig config = 3 [(.google.api.field_behavior) = IMMUTABLE];- Specified by:
getConfigOrBuilderin interfaceCertificateOrBuilder
-
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 = 4 [(.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 = 4 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE];- Specified by:
getLifetimein interfaceCertificateOrBuilder- Returns:
- The lifetime.
-
setLifetime
public Certificate.Builder setLifetime(com.google.protobuf.Duration value)
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 = 4 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE];
-
setLifetime
public Certificate.Builder setLifetime(com.google.protobuf.Duration.Builder builderForValue)
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 = 4 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE];
-
mergeLifetime
public Certificate.Builder mergeLifetime(com.google.protobuf.Duration value)
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 = 4 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE];
-
clearLifetime
public Certificate.Builder clearLifetime()
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 = 4 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE];
-
getLifetimeBuilder
public com.google.protobuf.Duration.Builder getLifetimeBuilder()
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 = 4 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE];
-
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 = 4 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE];- Specified by:
getLifetimeOrBuilderin interfaceCertificateOrBuilder
-
hasRevocationDetails
public boolean hasRevocationDetails()
Output only. Details regarding the revocation of this [Certificate][google.cloud.security.privateca.v1beta1.Certificate]. This [Certificate][google.cloud.security.privateca.v1beta1.Certificate] is considered revoked if and only if this field is present.
.google.cloud.security.privateca.v1beta1.Certificate.RevocationDetails revocation_details = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
hasRevocationDetailsin interfaceCertificateOrBuilder- Returns:
- Whether the revocationDetails field is set.
-
getRevocationDetails
public Certificate.RevocationDetails getRevocationDetails()
Output only. Details regarding the revocation of this [Certificate][google.cloud.security.privateca.v1beta1.Certificate]. This [Certificate][google.cloud.security.privateca.v1beta1.Certificate] is considered revoked if and only if this field is present.
.google.cloud.security.privateca.v1beta1.Certificate.RevocationDetails revocation_details = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getRevocationDetailsin interfaceCertificateOrBuilder- Returns:
- The revocationDetails.
-
setRevocationDetails
public Certificate.Builder setRevocationDetails(Certificate.RevocationDetails value)
Output only. Details regarding the revocation of this [Certificate][google.cloud.security.privateca.v1beta1.Certificate]. This [Certificate][google.cloud.security.privateca.v1beta1.Certificate] is considered revoked if and only if this field is present.
.google.cloud.security.privateca.v1beta1.Certificate.RevocationDetails revocation_details = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
-
setRevocationDetails
public Certificate.Builder setRevocationDetails(Certificate.RevocationDetails.Builder builderForValue)
Output only. Details regarding the revocation of this [Certificate][google.cloud.security.privateca.v1beta1.Certificate]. This [Certificate][google.cloud.security.privateca.v1beta1.Certificate] is considered revoked if and only if this field is present.
.google.cloud.security.privateca.v1beta1.Certificate.RevocationDetails revocation_details = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
-
mergeRevocationDetails
public Certificate.Builder mergeRevocationDetails(Certificate.RevocationDetails value)
Output only. Details regarding the revocation of this [Certificate][google.cloud.security.privateca.v1beta1.Certificate]. This [Certificate][google.cloud.security.privateca.v1beta1.Certificate] is considered revoked if and only if this field is present.
.google.cloud.security.privateca.v1beta1.Certificate.RevocationDetails revocation_details = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
-
clearRevocationDetails
public Certificate.Builder clearRevocationDetails()
Output only. Details regarding the revocation of this [Certificate][google.cloud.security.privateca.v1beta1.Certificate]. This [Certificate][google.cloud.security.privateca.v1beta1.Certificate] is considered revoked if and only if this field is present.
.google.cloud.security.privateca.v1beta1.Certificate.RevocationDetails revocation_details = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
-
getRevocationDetailsBuilder
public Certificate.RevocationDetails.Builder getRevocationDetailsBuilder()
Output only. Details regarding the revocation of this [Certificate][google.cloud.security.privateca.v1beta1.Certificate]. This [Certificate][google.cloud.security.privateca.v1beta1.Certificate] is considered revoked if and only if this field is present.
.google.cloud.security.privateca.v1beta1.Certificate.RevocationDetails revocation_details = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
-
getRevocationDetailsOrBuilder
public Certificate.RevocationDetailsOrBuilder getRevocationDetailsOrBuilder()
Output only. Details regarding the revocation of this [Certificate][google.cloud.security.privateca.v1beta1.Certificate]. This [Certificate][google.cloud.security.privateca.v1beta1.Certificate] is considered revoked if and only if this field is present.
.google.cloud.security.privateca.v1beta1.Certificate.RevocationDetails revocation_details = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getRevocationDetailsOrBuilderin interfaceCertificateOrBuilder
-
getPemCertificate
public String getPemCertificate()
Output only. The pem-encoded, signed X.509 certificate.
string pem_certificate = 6 [(.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 = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getPemCertificateBytesin interfaceCertificateOrBuilder- Returns:
- The bytes for pemCertificate.
-
setPemCertificate
public Certificate.Builder setPemCertificate(String value)
Output only. The pem-encoded, signed X.509 certificate.
string pem_certificate = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];- Parameters:
value- The pemCertificate to set.- Returns:
- This builder for chaining.
-
clearPemCertificate
public Certificate.Builder clearPemCertificate()
Output only. The pem-encoded, signed X.509 certificate.
string pem_certificate = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- This builder for chaining.
-
setPemCertificateBytes
public Certificate.Builder setPemCertificateBytes(com.google.protobuf.ByteString value)
Output only. The pem-encoded, signed X.509 certificate.
string pem_certificate = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];- Parameters:
value- The bytes for pemCertificate to set.- Returns:
- This builder for chaining.
-
hasCertificateDescription
public boolean hasCertificateDescription()
Output only. A structured description of the issued X.509 certificate.
.google.cloud.security.privateca.v1beta1.CertificateDescription certificate_description = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
hasCertificateDescriptionin interfaceCertificateOrBuilder- Returns:
- Whether the certificateDescription field is set.
-
getCertificateDescription
public CertificateDescription getCertificateDescription()
Output only. A structured description of the issued X.509 certificate.
.google.cloud.security.privateca.v1beta1.CertificateDescription certificate_description = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getCertificateDescriptionin interfaceCertificateOrBuilder- Returns:
- The certificateDescription.
-
setCertificateDescription
public Certificate.Builder setCertificateDescription(CertificateDescription value)
Output only. A structured description of the issued X.509 certificate.
.google.cloud.security.privateca.v1beta1.CertificateDescription certificate_description = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
-
setCertificateDescription
public Certificate.Builder setCertificateDescription(CertificateDescription.Builder builderForValue)
Output only. A structured description of the issued X.509 certificate.
.google.cloud.security.privateca.v1beta1.CertificateDescription certificate_description = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
-
mergeCertificateDescription
public Certificate.Builder mergeCertificateDescription(CertificateDescription value)
Output only. A structured description of the issued X.509 certificate.
.google.cloud.security.privateca.v1beta1.CertificateDescription certificate_description = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
-
clearCertificateDescription
public Certificate.Builder clearCertificateDescription()
Output only. A structured description of the issued X.509 certificate.
.google.cloud.security.privateca.v1beta1.CertificateDescription certificate_description = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
-
getCertificateDescriptionBuilder
public CertificateDescription.Builder getCertificateDescriptionBuilder()
Output only. A structured description of the issued X.509 certificate.
.google.cloud.security.privateca.v1beta1.CertificateDescription certificate_description = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
-
getCertificateDescriptionOrBuilder
public CertificateDescriptionOrBuilder getCertificateDescriptionOrBuilder()
Output only. A structured description of the issued X.509 certificate.
.google.cloud.security.privateca.v1beta1.CertificateDescription certificate_description = 7 [(.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 = 8 [(.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 = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getPemCertificateChainCountin interfaceCertificateOrBuilder- Returns:
- The count of pemCertificateChain.
-
getPemCertificateChain
public String getPemCertificateChain(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 = 8 [(.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 = 8 [(.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.
-
setPemCertificateChain
public Certificate.Builder setPemCertificateChain(int index, String value)
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 = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];- Parameters:
index- The index to set the value at.value- The pemCertificateChain to set.- Returns:
- This builder for chaining.
-
addPemCertificateChain
public Certificate.Builder addPemCertificateChain(String value)
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 = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];- Parameters:
value- The pemCertificateChain to add.- Returns:
- This builder for chaining.
-
addAllPemCertificateChain
public Certificate.Builder addAllPemCertificateChain(Iterable<String> values)
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 = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];- Parameters:
values- The pemCertificateChain to add.- Returns:
- This builder for chaining.
-
clearPemCertificateChain
public Certificate.Builder clearPemCertificateChain()
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 = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- This builder for chaining.
-
addPemCertificateChainBytes
public Certificate.Builder addPemCertificateChainBytes(com.google.protobuf.ByteString value)
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 = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];- Parameters:
value- The bytes of the pemCertificateChain to add.- Returns:
- This builder for chaining.
-
hasCreateTime
public boolean hasCreateTime()
Output only. The time at which this [Certificate][google.cloud.security.privateca.v1beta1.Certificate] was created.
.google.protobuf.Timestamp create_time = 9 [(.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.v1beta1.Certificate] was created.
.google.protobuf.Timestamp create_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getCreateTimein interfaceCertificateOrBuilder- Returns:
- The createTime.
-
setCreateTime
public Certificate.Builder setCreateTime(com.google.protobuf.Timestamp value)
Output only. The time at which this [Certificate][google.cloud.security.privateca.v1beta1.Certificate] was created.
.google.protobuf.Timestamp create_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];
-
setCreateTime
public Certificate.Builder setCreateTime(com.google.protobuf.Timestamp.Builder builderForValue)
Output only. The time at which this [Certificate][google.cloud.security.privateca.v1beta1.Certificate] was created.
.google.protobuf.Timestamp create_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];
-
mergeCreateTime
public Certificate.Builder mergeCreateTime(com.google.protobuf.Timestamp value)
Output only. The time at which this [Certificate][google.cloud.security.privateca.v1beta1.Certificate] was created.
.google.protobuf.Timestamp create_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];
-
clearCreateTime
public Certificate.Builder clearCreateTime()
Output only. The time at which this [Certificate][google.cloud.security.privateca.v1beta1.Certificate] was created.
.google.protobuf.Timestamp create_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];
-
getCreateTimeBuilder
public com.google.protobuf.Timestamp.Builder getCreateTimeBuilder()
Output only. The time at which this [Certificate][google.cloud.security.privateca.v1beta1.Certificate] was created.
.google.protobuf.Timestamp create_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];
-
getCreateTimeOrBuilder
public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder()
Output only. The time at which this [Certificate][google.cloud.security.privateca.v1beta1.Certificate] was created.
.google.protobuf.Timestamp create_time = 9 [(.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.v1beta1.Certificate] was updated.
.google.protobuf.Timestamp update_time = 10 [(.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.v1beta1.Certificate] was updated.
.google.protobuf.Timestamp update_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getUpdateTimein interfaceCertificateOrBuilder- Returns:
- The updateTime.
-
setUpdateTime
public Certificate.Builder setUpdateTime(com.google.protobuf.Timestamp value)
Output only. The time at which this [Certificate][google.cloud.security.privateca.v1beta1.Certificate] was updated.
.google.protobuf.Timestamp update_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];
-
setUpdateTime
public Certificate.Builder setUpdateTime(com.google.protobuf.Timestamp.Builder builderForValue)
Output only. The time at which this [Certificate][google.cloud.security.privateca.v1beta1.Certificate] was updated.
.google.protobuf.Timestamp update_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];
-
mergeUpdateTime
public Certificate.Builder mergeUpdateTime(com.google.protobuf.Timestamp value)
Output only. The time at which this [Certificate][google.cloud.security.privateca.v1beta1.Certificate] was updated.
.google.protobuf.Timestamp update_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];
-
clearUpdateTime
public Certificate.Builder clearUpdateTime()
Output only. The time at which this [Certificate][google.cloud.security.privateca.v1beta1.Certificate] was updated.
.google.protobuf.Timestamp update_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];
-
getUpdateTimeBuilder
public com.google.protobuf.Timestamp.Builder getUpdateTimeBuilder()
Output only. The time at which this [Certificate][google.cloud.security.privateca.v1beta1.Certificate] was updated.
.google.protobuf.Timestamp update_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];
-
getUpdateTimeOrBuilder
public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder()
Output only. The time at which this [Certificate][google.cloud.security.privateca.v1beta1.Certificate] was updated.
.google.protobuf.Timestamp update_time = 10 [(.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 = 11 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getLabelsCountin interfaceCertificateOrBuilder
-
containsLabels
public boolean containsLabels(String key)
Optional. Labels with user-defined metadata.
map<string, string> labels = 11 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
containsLabelsin interfaceCertificateOrBuilder
-
getLabels
@Deprecated public Map<String,String> getLabels()
Deprecated.UsegetLabelsMap()instead.- Specified by:
getLabelsin interfaceCertificateOrBuilder
-
getLabelsMap
public Map<String,String> getLabelsMap()
Optional. Labels with user-defined metadata.
map<string, string> labels = 11 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getLabelsMapin interfaceCertificateOrBuilder
-
getLabelsOrDefault
public String getLabelsOrDefault(String key, String defaultValue)
Optional. Labels with user-defined metadata.
map<string, string> labels = 11 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getLabelsOrDefaultin interfaceCertificateOrBuilder
-
getLabelsOrThrow
public String getLabelsOrThrow(String key)
Optional. Labels with user-defined metadata.
map<string, string> labels = 11 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getLabelsOrThrowin interfaceCertificateOrBuilder
-
clearLabels
public Certificate.Builder clearLabels()
-
removeLabels
public Certificate.Builder removeLabels(String key)
Optional. Labels with user-defined metadata.
map<string, string> labels = 11 [(.google.api.field_behavior) = OPTIONAL];
-
getMutableLabels
@Deprecated public Map<String,String> getMutableLabels()
Deprecated.Use alternate mutation accessors instead.
-
putLabels
public Certificate.Builder putLabels(String key, String value)
Optional. Labels with user-defined metadata.
map<string, string> labels = 11 [(.google.api.field_behavior) = OPTIONAL];
-
putAllLabels
public Certificate.Builder putAllLabels(Map<String,String> values)
Optional. Labels with user-defined metadata.
map<string, string> labels = 11 [(.google.api.field_behavior) = OPTIONAL];
-
setUnknownFields
public final Certificate.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
setUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
setUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<Certificate.Builder>
-
mergeUnknownFields
public final Certificate.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<Certificate.Builder>
-
-