Class Certificate
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite
-
- com.google.protobuf.AbstractMessage
-
- com.google.protobuf.GeneratedMessageV3
-
- com.google.cloud.security.privateca.v1beta1.Certificate
-
- All Implemented Interfaces:
CertificateOrBuilder,com.google.protobuf.Message,com.google.protobuf.MessageLite,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Serializable
public final class Certificate extends com.google.protobuf.GeneratedMessageV3 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- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classCertificate.BuilderA [Certificate][google.cloud.security.privateca.v1beta1.Certificate] corresponds to a signed X.509 certificate issued by a [CertificateAuthority][google.cloud.security.privateca.v1beta1.CertificateAuthority].static classCertificate.CertificateConfigCasestatic classCertificate.RevocationDetailsDescribes fields that are relavent to the revocation of a [Certificate][google.cloud.security.privateca.v1beta1.Certificate].static interfaceCertificate.RevocationDetailsOrBuilder-
Nested classes/interfaces inherited from class com.google.protobuf.GeneratedMessageV3
com.google.protobuf.GeneratedMessageV3.BuilderParent, com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>,BuilderT extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT,BuilderT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.FieldAccessorTable, com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter
-
-
Field Summary
Fields Modifier and Type Field Description static intCERTIFICATE_DESCRIPTION_FIELD_NUMBERstatic intCONFIG_FIELD_NUMBERstatic intCREATE_TIME_FIELD_NUMBERstatic intLABELS_FIELD_NUMBERstatic intLIFETIME_FIELD_NUMBERstatic intNAME_FIELD_NUMBERstatic intPEM_CERTIFICATE_CHAIN_FIELD_NUMBERstatic intPEM_CERTIFICATE_FIELD_NUMBERstatic intPEM_CSR_FIELD_NUMBERstatic intREVOCATION_DETAILS_FIELD_NUMBERstatic intUPDATE_TIME_FIELD_NUMBER
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description booleancontainsLabels(String key)Optional.booleanequals(Object obj)Certificate.CertificateConfigCasegetCertificateConfigCase()CertificateDescriptiongetCertificateDescription()Output only.CertificateDescriptionOrBuildergetCertificateDescriptionOrBuilder()Output only.CertificateConfiggetConfig()Immutable.CertificateConfigOrBuildergetConfigOrBuilder()Immutable.com.google.protobuf.TimestampgetCreateTime()Output only.com.google.protobuf.TimestampOrBuildergetCreateTimeOrBuilder()Output only.static CertificategetDefaultInstance()CertificategetDefaultInstanceForType()static com.google.protobuf.Descriptors.DescriptorgetDescriptor()Map<String,String>getLabels()Deprecated.intgetLabelsCount()Optional.Map<String,String>getLabelsMap()Optional.StringgetLabelsOrDefault(String key, String defaultValue)Optional.StringgetLabelsOrThrow(String key)Optional.com.google.protobuf.DurationgetLifetime()Required.com.google.protobuf.DurationOrBuildergetLifetimeOrBuilder()Required.StringgetName()Output only.com.google.protobuf.ByteStringgetNameBytes()Output only.com.google.protobuf.Parser<Certificate>getParserForType()StringgetPemCertificate()Output only.com.google.protobuf.ByteStringgetPemCertificateBytes()Output only.StringgetPemCertificateChain(int index)Output only.com.google.protobuf.ByteStringgetPemCertificateChainBytes(int index)Output only.intgetPemCertificateChainCount()Output only.com.google.protobuf.ProtocolStringListgetPemCertificateChainList()Output only.StringgetPemCsr()Immutable.com.google.protobuf.ByteStringgetPemCsrBytes()Immutable.Certificate.RevocationDetailsgetRevocationDetails()Output only.Certificate.RevocationDetailsOrBuildergetRevocationDetailsOrBuilder()Output only.intgetSerializedSize()com.google.protobuf.TimestampgetUpdateTime()Output only.com.google.protobuf.TimestampOrBuildergetUpdateTimeOrBuilder()Output only.booleanhasCertificateDescription()Output only.booleanhasConfig()Immutable.booleanhasCreateTime()Output only.inthashCode()booleanhasLifetime()Required.booleanhasPemCsr()Immutable.booleanhasRevocationDetails()Output only.booleanhasUpdateTime()Output only.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()protected com.google.protobuf.MapFieldinternalGetMapField(int number)booleanisInitialized()static Certificate.BuildernewBuilder()static Certificate.BuildernewBuilder(Certificate prototype)Certificate.BuildernewBuilderForType()protected Certificate.BuildernewBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)protected ObjectnewInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)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()Certificate.BuildertoBuilder()voidwriteTo(com.google.protobuf.CodedOutputStream output)-
Methods inherited from class com.google.protobuf.GeneratedMessageV3
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, isStringEmpty, makeExtensionsImmutable, makeMutableCopy, mergeFromAndMakeImmutableInternal, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, newBooleanList, newBuilderForType, newDoubleList, newFloatList, newIntList, newLongList, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTag
-
Methods inherited from class com.google.protobuf.AbstractMessage
findInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toString
-
Methods inherited from class com.google.protobuf.AbstractMessageLite
addAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeTo
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
-
-
-
Field Detail
-
NAME_FIELD_NUMBER
public static final int NAME_FIELD_NUMBER
- See Also:
- Constant Field Values
-
PEM_CSR_FIELD_NUMBER
public static final int PEM_CSR_FIELD_NUMBER
- See Also:
- Constant Field Values
-
CONFIG_FIELD_NUMBER
public static final int CONFIG_FIELD_NUMBER
- See Also:
- Constant Field Values
-
LIFETIME_FIELD_NUMBER
public static final int LIFETIME_FIELD_NUMBER
- See Also:
- Constant Field Values
-
REVOCATION_DETAILS_FIELD_NUMBER
public static final int REVOCATION_DETAILS_FIELD_NUMBER
- See Also:
- Constant Field Values
-
PEM_CERTIFICATE_FIELD_NUMBER
public static final int PEM_CERTIFICATE_FIELD_NUMBER
- See Also:
- Constant Field Values
-
CERTIFICATE_DESCRIPTION_FIELD_NUMBER
public static final int CERTIFICATE_DESCRIPTION_FIELD_NUMBER
- See Also:
- Constant Field Values
-
PEM_CERTIFICATE_CHAIN_FIELD_NUMBER
public static final int PEM_CERTIFICATE_CHAIN_FIELD_NUMBER
- See Also:
- Constant Field Values
-
CREATE_TIME_FIELD_NUMBER
public static final int CREATE_TIME_FIELD_NUMBER
- See Also:
- Constant Field Values
-
UPDATE_TIME_FIELD_NUMBER
public static final int UPDATE_TIME_FIELD_NUMBER
- See Also:
- Constant Field Values
-
LABELS_FIELD_NUMBER
public static final int LABELS_FIELD_NUMBER
- See Also:
- Constant Field Values
-
-
Method Detail
-
newInstance
protected Object newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
- Overrides:
newInstancein classcom.google.protobuf.GeneratedMessageV3
-
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
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessageV3
-
getCertificateConfigCase
public Certificate.CertificateConfigCase getCertificateConfigCase()
- Specified by:
getCertificateConfigCasein interfaceCertificateOrBuilder
-
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.
-
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.
-
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.
-
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.
-
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.
-
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.
-
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.
-
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.
-
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.
-
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.
-
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
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3
-
writeTo
public void writeTo(com.google.protobuf.CodedOutputStream output) throws IOException- Specified by:
writeToin interfacecom.google.protobuf.MessageLite- Overrides:
writeToin classcom.google.protobuf.GeneratedMessageV3- Throws:
IOException
-
getSerializedSize
public int getSerializedSize()
- Specified by:
getSerializedSizein interfacecom.google.protobuf.MessageLite- Overrides:
getSerializedSizein classcom.google.protobuf.GeneratedMessageV3
-
equals
public boolean equals(Object obj)
- 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
public static Certificate parseFrom(InputStream input) throws IOException
- Throws:
IOException
-
parseFrom
public static Certificate parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
parseDelimitedFrom
public static Certificate parseDelimitedFrom(InputStream input) throws IOException
- Throws:
IOException
-
parseDelimitedFrom
public static Certificate parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
parseFrom
public static Certificate parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
- Throws:
IOException
-
parseFrom
public static Certificate parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
newBuilderForType
public Certificate.Builder newBuilderForType()
- Specified by:
newBuilderForTypein interfacecom.google.protobuf.Message- Specified by:
newBuilderForTypein interfacecom.google.protobuf.MessageLite
-
newBuilder
public static Certificate.Builder newBuilder()
-
newBuilder
public static Certificate.Builder newBuilder(Certificate prototype)
-
toBuilder
public Certificate.Builder toBuilder()
- Specified by:
toBuilderin interfacecom.google.protobuf.Message- Specified by:
toBuilderin interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected Certificate.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
- Specified by:
newBuilderForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstance
public static Certificate getDefaultInstance()
-
parser
public static com.google.protobuf.Parser<Certificate> parser()
-
getParserForType
public com.google.protobuf.Parser<Certificate> getParserForType()
- Specified by:
getParserForTypein interfacecom.google.protobuf.Message- Specified by:
getParserForTypein interfacecom.google.protobuf.MessageLite- Overrides:
getParserForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstanceForType
public Certificate getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
-