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 class
Certificate.Builder
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].static class
Certificate.CertificateConfigCase
static class
Certificate.RevocationDetails
Describes fields that are relavent to the revocation of a [Certificate][google.cloud.security.privateca.v1beta1.Certificate].static interface
Certificate.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 int
CERTIFICATE_DESCRIPTION_FIELD_NUMBER
static int
CONFIG_FIELD_NUMBER
static int
CREATE_TIME_FIELD_NUMBER
static int
LABELS_FIELD_NUMBER
static int
LIFETIME_FIELD_NUMBER
static int
NAME_FIELD_NUMBER
static int
PEM_CERTIFICATE_CHAIN_FIELD_NUMBER
static int
PEM_CERTIFICATE_FIELD_NUMBER
static int
PEM_CSR_FIELD_NUMBER
static int
REVOCATION_DETAILS_FIELD_NUMBER
static int
UPDATE_TIME_FIELD_NUMBER
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description boolean
containsLabels(String key)
Optional.boolean
equals(Object obj)
Certificate.CertificateConfigCase
getCertificateConfigCase()
CertificateDescription
getCertificateDescription()
Output only.CertificateDescriptionOrBuilder
getCertificateDescriptionOrBuilder()
Output only.CertificateConfig
getConfig()
Immutable.CertificateConfigOrBuilder
getConfigOrBuilder()
Immutable.com.google.protobuf.Timestamp
getCreateTime()
Output only.com.google.protobuf.TimestampOrBuilder
getCreateTimeOrBuilder()
Output only.static Certificate
getDefaultInstance()
Certificate
getDefaultInstanceForType()
static com.google.protobuf.Descriptors.Descriptor
getDescriptor()
Map<String,String>
getLabels()
Deprecated.int
getLabelsCount()
Optional.Map<String,String>
getLabelsMap()
Optional.String
getLabelsOrDefault(String key, String defaultValue)
Optional.String
getLabelsOrThrow(String key)
Optional.com.google.protobuf.Duration
getLifetime()
Required.com.google.protobuf.DurationOrBuilder
getLifetimeOrBuilder()
Required.String
getName()
Output only.com.google.protobuf.ByteString
getNameBytes()
Output only.com.google.protobuf.Parser<Certificate>
getParserForType()
String
getPemCertificate()
Output only.com.google.protobuf.ByteString
getPemCertificateBytes()
Output only.String
getPemCertificateChain(int index)
Output only.com.google.protobuf.ByteString
getPemCertificateChainBytes(int index)
Output only.int
getPemCertificateChainCount()
Output only.com.google.protobuf.ProtocolStringList
getPemCertificateChainList()
Output only.String
getPemCsr()
Immutable.com.google.protobuf.ByteString
getPemCsrBytes()
Immutable.Certificate.RevocationDetails
getRevocationDetails()
Output only.Certificate.RevocationDetailsOrBuilder
getRevocationDetailsOrBuilder()
Output only.int
getSerializedSize()
com.google.protobuf.Timestamp
getUpdateTime()
Output only.com.google.protobuf.TimestampOrBuilder
getUpdateTimeOrBuilder()
Output only.boolean
hasCertificateDescription()
Output only.boolean
hasConfig()
Immutable.boolean
hasCreateTime()
Output only.int
hashCode()
boolean
hasLifetime()
Required.boolean
hasPemCsr()
Immutable.boolean
hasRevocationDetails()
Output only.boolean
hasUpdateTime()
Output only.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable()
protected com.google.protobuf.MapField
internalGetMapField(int number)
boolean
isInitialized()
static Certificate.Builder
newBuilder()
static Certificate.Builder
newBuilder(Certificate prototype)
Certificate.Builder
newBuilderForType()
protected Certificate.Builder
newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
protected Object
newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
static Certificate
parseDelimitedFrom(InputStream input)
static Certificate
parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static Certificate
parseFrom(byte[] data)
static Certificate
parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static Certificate
parseFrom(com.google.protobuf.ByteString data)
static Certificate
parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static Certificate
parseFrom(com.google.protobuf.CodedInputStream input)
static Certificate
parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static Certificate
parseFrom(InputStream input)
static Certificate
parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static Certificate
parseFrom(ByteBuffer data)
static Certificate
parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static com.google.protobuf.Parser<Certificate>
parser()
Certificate.Builder
toBuilder()
void
writeTo(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:
newInstance
in classcom.google.protobuf.GeneratedMessageV3
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
-
internalGetMapField
protected com.google.protobuf.MapField internalGetMapField(int number)
- Overrides:
internalGetMapField
in classcom.google.protobuf.GeneratedMessageV3
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTable
in classcom.google.protobuf.GeneratedMessageV3
-
getCertificateConfigCase
public Certificate.CertificateConfigCase getCertificateConfigCase()
- Specified by:
getCertificateConfigCase
in 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:
getName
in 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:
getNameBytes
in 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:
hasPemCsr
in 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:
getPemCsr
in 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:
getPemCsrBytes
in 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:
hasConfig
in 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:
getConfig
in 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:
getConfigOrBuilder
in 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:
hasLifetime
in 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:
getLifetime
in 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:
getLifetimeOrBuilder
in 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:
hasRevocationDetails
in 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:
getRevocationDetails
in 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:
getRevocationDetailsOrBuilder
in 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:
getPemCertificate
in 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:
getPemCertificateBytes
in 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:
hasCertificateDescription
in 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:
getCertificateDescription
in 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:
getCertificateDescriptionOrBuilder
in 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:
getPemCertificateChainList
in 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:
getPemCertificateChainCount
in 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:
getPemCertificateChain
in 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:
getPemCertificateChainBytes
in 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:
hasCreateTime
in 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:
getCreateTime
in 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:
getCreateTimeOrBuilder
in 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:
hasUpdateTime
in 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:
getUpdateTime
in 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:
getUpdateTimeOrBuilder
in interfaceCertificateOrBuilder
-
getLabelsCount
public int getLabelsCount()
Description copied from interface:CertificateOrBuilder
Optional. Labels with user-defined metadata.
map<string, string> labels = 11 [(.google.api.field_behavior) = OPTIONAL];
- Specified by:
getLabelsCount
in 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:
containsLabels
in interfaceCertificateOrBuilder
-
getLabels
@Deprecated public Map<String,String> getLabels()
Deprecated.UsegetLabelsMap()
instead.- Specified by:
getLabels
in 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:
getLabelsMap
in 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:
getLabelsOrDefault
in 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:
getLabelsOrThrow
in interfaceCertificateOrBuilder
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in classcom.google.protobuf.GeneratedMessageV3
-
writeTo
public void writeTo(com.google.protobuf.CodedOutputStream output) throws IOException
- Specified by:
writeTo
in interfacecom.google.protobuf.MessageLite
- Overrides:
writeTo
in classcom.google.protobuf.GeneratedMessageV3
- Throws:
IOException
-
getSerializedSize
public int getSerializedSize()
- Specified by:
getSerializedSize
in interfacecom.google.protobuf.MessageLite
- Overrides:
getSerializedSize
in classcom.google.protobuf.GeneratedMessageV3
-
equals
public boolean equals(Object obj)
- Specified by:
equals
in interfacecom.google.protobuf.Message
- Overrides:
equals
in classcom.google.protobuf.AbstractMessage
-
hashCode
public int hashCode()
- Specified by:
hashCode
in interfacecom.google.protobuf.Message
- Overrides:
hashCode
in 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:
newBuilderForType
in interfacecom.google.protobuf.Message
- Specified by:
newBuilderForType
in 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:
toBuilder
in interfacecom.google.protobuf.Message
- Specified by:
toBuilder
in interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected Certificate.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
- Specified by:
newBuilderForType
in 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:
getParserForType
in interfacecom.google.protobuf.Message
- Specified by:
getParserForType
in interfacecom.google.protobuf.MessageLite
- Overrides:
getParserForType
in classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstanceForType
public Certificate getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-
-