public final class Certificate extends com.google.protobuf.GeneratedMessageV3 implements CertificateOrBuilder
Defines TLS certificate.Protobuf type
google.cloud.certificatemanager.v1.Certificate| Modifier and Type | Class and Description |
|---|---|
static class |
Certificate.Builder
Defines TLS certificate.
|
static class |
Certificate.ManagedCertificate
Configuration and state of a Managed Certificate.
|
static interface |
Certificate.ManagedCertificateOrBuilder |
static class |
Certificate.Scope
Certificate scope.
|
static class |
Certificate.SelfManagedCertificate
Certificate data for a SelfManaged Certificate.
|
static interface |
Certificate.SelfManagedCertificateOrBuilder |
static class |
Certificate.TypeCase |
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| Modifier and Type | Field and Description |
|---|---|
static int |
CREATE_TIME_FIELD_NUMBER |
static int |
DESCRIPTION_FIELD_NUMBER |
static int |
EXPIRE_TIME_FIELD_NUMBER |
static int |
LABELS_FIELD_NUMBER |
static int |
MANAGED_FIELD_NUMBER |
static int |
NAME_FIELD_NUMBER |
static int |
PEM_CERTIFICATE_FIELD_NUMBER |
static int |
SAN_DNSNAMES_FIELD_NUMBER |
static int |
SCOPE_FIELD_NUMBER |
static int |
SELF_MANAGED_FIELD_NUMBER |
static int |
UPDATE_TIME_FIELD_NUMBER |
| Modifier and Type | Method and Description |
|---|---|
boolean |
containsLabels(String key)
Set of labels associated with a Certificate.
|
boolean |
equals(Object obj) |
com.google.protobuf.Timestamp |
getCreateTime()
Output only.
|
com.google.protobuf.TimestampOrBuilder |
getCreateTimeOrBuilder()
Output only.
|
static Certificate |
getDefaultInstance() |
Certificate |
getDefaultInstanceForType() |
String |
getDescription()
One or more paragraphs of text description of a certificate.
|
com.google.protobuf.ByteString |
getDescriptionBytes()
One or more paragraphs of text description of a certificate.
|
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Timestamp |
getExpireTime()
Output only.
|
com.google.protobuf.TimestampOrBuilder |
getExpireTimeOrBuilder()
Output only.
|
Map<String,String> |
getLabels()
Deprecated.
|
int |
getLabelsCount()
Set of labels associated with a Certificate.
|
Map<String,String> |
getLabelsMap()
Set of labels associated with a Certificate.
|
String |
getLabelsOrDefault(String key,
String defaultValue)
Set of labels associated with a Certificate.
|
String |
getLabelsOrThrow(String key)
Set of labels associated with a Certificate.
|
Certificate.ManagedCertificate |
getManaged()
If set, contains configuration and state of a managed certificate.
|
Certificate.ManagedCertificateOrBuilder |
getManagedOrBuilder()
If set, contains configuration and state of a managed certificate.
|
String |
getName()
A user-defined name of the certificate.
|
com.google.protobuf.ByteString |
getNameBytes()
A user-defined name of the certificate.
|
com.google.protobuf.Parser<Certificate> |
getParserForType() |
String |
getPemCertificate()
Output only.
|
com.google.protobuf.ByteString |
getPemCertificateBytes()
Output only.
|
String |
getSanDnsnames(int index)
Output only.
|
com.google.protobuf.ByteString |
getSanDnsnamesBytes(int index)
Output only.
|
int |
getSanDnsnamesCount()
Output only.
|
com.google.protobuf.ProtocolStringList |
getSanDnsnamesList()
Output only.
|
Certificate.Scope |
getScope()
Immutable.
|
int |
getScopeValue()
Immutable.
|
Certificate.SelfManagedCertificate |
getSelfManaged()
If set, defines data of a self-managed certificate.
|
Certificate.SelfManagedCertificateOrBuilder |
getSelfManagedOrBuilder()
If set, defines data of a self-managed certificate.
|
int |
getSerializedSize() |
Certificate.TypeCase |
getTypeCase() |
com.google.protobuf.Timestamp |
getUpdateTime()
Output only.
|
com.google.protobuf.TimestampOrBuilder |
getUpdateTimeOrBuilder()
Output only.
|
boolean |
hasCreateTime()
Output only.
|
boolean |
hasExpireTime()
Output only.
|
int |
hashCode() |
boolean |
hasManaged()
If set, contains configuration and state of a managed certificate.
|
boolean |
hasSelfManaged()
If set, defines data of a self-managed certificate.
|
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(ByteBuffer data) |
static Certificate |
parseFrom(ByteBuffer 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 com.google.protobuf.Parser<Certificate> |
parser() |
Certificate.Builder |
toBuilder() |
void |
writeTo(com.google.protobuf.CodedOutputStream output) |
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapFieldReflection, isStringEmpty, makeExtensionsImmutable, makeMutableCopy, 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, writeStringNoTagfindInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toStringaddAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToclone, finalize, getClass, notify, notifyAll, wait, wait, waitpublic static final int NAME_FIELD_NUMBER
public static final int DESCRIPTION_FIELD_NUMBER
public static final int CREATE_TIME_FIELD_NUMBER
public static final int UPDATE_TIME_FIELD_NUMBER
public static final int LABELS_FIELD_NUMBER
public static final int SELF_MANAGED_FIELD_NUMBER
public static final int MANAGED_FIELD_NUMBER
public static final int SAN_DNSNAMES_FIELD_NUMBER
public static final int PEM_CERTIFICATE_FIELD_NUMBER
public static final int EXPIRE_TIME_FIELD_NUMBER
public static final int SCOPE_FIELD_NUMBER
protected Object newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
newInstance in class com.google.protobuf.GeneratedMessageV3public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.MapField internalGetMapField(int number)
internalGetMapField in class com.google.protobuf.GeneratedMessageV3protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3public Certificate.TypeCase getTypeCase()
getTypeCase in interface CertificateOrBuilderpublic String getName()
A user-defined name of the certificate. Certificate names must be unique globally and match pattern `projects/*/locations/*/certificates/*`.
string name = 1;getName in interface CertificateOrBuilderpublic com.google.protobuf.ByteString getNameBytes()
A user-defined name of the certificate. Certificate names must be unique globally and match pattern `projects/*/locations/*/certificates/*`.
string name = 1;getNameBytes in interface CertificateOrBuilderpublic String getDescription()
One or more paragraphs of text description of a certificate.
string description = 8;getDescription in interface CertificateOrBuilderpublic com.google.protobuf.ByteString getDescriptionBytes()
One or more paragraphs of text description of a certificate.
string description = 8;getDescriptionBytes in interface CertificateOrBuilderpublic boolean hasCreateTime()
Output only. The creation timestamp of a Certificate.
.google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
hasCreateTime in interface CertificateOrBuilderpublic com.google.protobuf.Timestamp getCreateTime()
Output only. The creation timestamp of a Certificate.
.google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
getCreateTime in interface CertificateOrBuilderpublic com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder()
Output only. The creation timestamp of a Certificate.
.google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
getCreateTimeOrBuilder in interface CertificateOrBuilderpublic boolean hasUpdateTime()
Output only. The last update timestamp of a Certificate.
.google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
hasUpdateTime in interface CertificateOrBuilderpublic com.google.protobuf.Timestamp getUpdateTime()
Output only. The last update timestamp of a Certificate.
.google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
getUpdateTime in interface CertificateOrBuilderpublic com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder()
Output only. The last update timestamp of a Certificate.
.google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
getUpdateTimeOrBuilder in interface CertificateOrBuilderpublic int getLabelsCount()
CertificateOrBuilderSet of labels associated with a Certificate.
map<string, string> labels = 4;getLabelsCount in interface CertificateOrBuilderpublic boolean containsLabels(String key)
Set of labels associated with a Certificate.
map<string, string> labels = 4;containsLabels in interface CertificateOrBuilder@Deprecated public Map<String,String> getLabels()
getLabelsMap() instead.getLabels in interface CertificateOrBuilderpublic Map<String,String> getLabelsMap()
Set of labels associated with a Certificate.
map<string, string> labels = 4;getLabelsMap in interface CertificateOrBuilderpublic String getLabelsOrDefault(String key, String defaultValue)
Set of labels associated with a Certificate.
map<string, string> labels = 4;getLabelsOrDefault in interface CertificateOrBuilderpublic String getLabelsOrThrow(String key)
Set of labels associated with a Certificate.
map<string, string> labels = 4;getLabelsOrThrow in interface CertificateOrBuilderpublic boolean hasSelfManaged()
If set, defines data of a self-managed certificate.
.google.cloud.certificatemanager.v1.Certificate.SelfManagedCertificate self_managed = 5;
hasSelfManaged in interface CertificateOrBuilderpublic Certificate.SelfManagedCertificate getSelfManaged()
If set, defines data of a self-managed certificate.
.google.cloud.certificatemanager.v1.Certificate.SelfManagedCertificate self_managed = 5;
getSelfManaged in interface CertificateOrBuilderpublic Certificate.SelfManagedCertificateOrBuilder getSelfManagedOrBuilder()
If set, defines data of a self-managed certificate.
.google.cloud.certificatemanager.v1.Certificate.SelfManagedCertificate self_managed = 5;
getSelfManagedOrBuilder in interface CertificateOrBuilderpublic boolean hasManaged()
If set, contains configuration and state of a managed certificate.
.google.cloud.certificatemanager.v1.Certificate.ManagedCertificate managed = 11;hasManaged in interface CertificateOrBuilderpublic Certificate.ManagedCertificate getManaged()
If set, contains configuration and state of a managed certificate.
.google.cloud.certificatemanager.v1.Certificate.ManagedCertificate managed = 11;getManaged in interface CertificateOrBuilderpublic Certificate.ManagedCertificateOrBuilder getManagedOrBuilder()
If set, contains configuration and state of a managed certificate.
.google.cloud.certificatemanager.v1.Certificate.ManagedCertificate managed = 11;getManagedOrBuilder in interface CertificateOrBuilderpublic com.google.protobuf.ProtocolStringList getSanDnsnamesList()
Output only. The list of Subject Alternative Names of dnsName type defined in the certificate (see RFC 5280 4.2.1.6). Managed certificates that haven't been provisioned yet have this field populated with a value of the managed.domains field.
repeated string san_dnsnames = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];getSanDnsnamesList in interface CertificateOrBuilderpublic int getSanDnsnamesCount()
Output only. The list of Subject Alternative Names of dnsName type defined in the certificate (see RFC 5280 4.2.1.6). Managed certificates that haven't been provisioned yet have this field populated with a value of the managed.domains field.
repeated string san_dnsnames = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];getSanDnsnamesCount in interface CertificateOrBuilderpublic String getSanDnsnames(int index)
Output only. The list of Subject Alternative Names of dnsName type defined in the certificate (see RFC 5280 4.2.1.6). Managed certificates that haven't been provisioned yet have this field populated with a value of the managed.domains field.
repeated string san_dnsnames = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];getSanDnsnames in interface CertificateOrBuilderindex - The index of the element to return.public com.google.protobuf.ByteString getSanDnsnamesBytes(int index)
Output only. The list of Subject Alternative Names of dnsName type defined in the certificate (see RFC 5280 4.2.1.6). Managed certificates that haven't been provisioned yet have this field populated with a value of the managed.domains field.
repeated string san_dnsnames = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];getSanDnsnamesBytes in interface CertificateOrBuilderindex - The index of the value to return.public String getPemCertificate()
Output only. The PEM-encoded certificate chain.
string pem_certificate = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];getPemCertificate in interface CertificateOrBuilderpublic com.google.protobuf.ByteString getPemCertificateBytes()
Output only. The PEM-encoded certificate chain.
string pem_certificate = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];getPemCertificateBytes in interface CertificateOrBuilderpublic boolean hasExpireTime()
Output only. The expiry timestamp of a Certificate.
.google.protobuf.Timestamp expire_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
hasExpireTime in interface CertificateOrBuilderpublic com.google.protobuf.Timestamp getExpireTime()
Output only. The expiry timestamp of a Certificate.
.google.protobuf.Timestamp expire_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
getExpireTime in interface CertificateOrBuilderpublic com.google.protobuf.TimestampOrBuilder getExpireTimeOrBuilder()
Output only. The expiry timestamp of a Certificate.
.google.protobuf.Timestamp expire_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
getExpireTimeOrBuilder in interface CertificateOrBuilderpublic int getScopeValue()
Immutable. The scope of the certificate.
.google.cloud.certificatemanager.v1.Certificate.Scope scope = 12 [(.google.api.field_behavior) = IMMUTABLE];
getScopeValue in interface CertificateOrBuilderpublic Certificate.Scope getScope()
Immutable. The scope of the certificate.
.google.cloud.certificatemanager.v1.Certificate.Scope scope = 12 [(.google.api.field_behavior) = IMMUTABLE];
getScope in interface CertificateOrBuilderpublic final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3public void writeTo(com.google.protobuf.CodedOutputStream output)
throws IOException
writeTo in interface com.google.protobuf.MessageLitewriteTo in class com.google.protobuf.GeneratedMessageV3IOExceptionpublic int getSerializedSize()
getSerializedSize in interface com.google.protobuf.MessageLitegetSerializedSize in class com.google.protobuf.GeneratedMessageV3public boolean equals(Object obj)
equals in interface com.google.protobuf.Messageequals in class com.google.protobuf.AbstractMessagepublic int hashCode()
hashCode in interface com.google.protobuf.MessagehashCode in class com.google.protobuf.AbstractMessagepublic static Certificate parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Certificate parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Certificate parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Certificate parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Certificate parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Certificate parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Certificate parseFrom(InputStream input) throws IOException
IOExceptionpublic static Certificate parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static Certificate parseDelimitedFrom(InputStream input) throws IOException
IOExceptionpublic static Certificate parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static Certificate parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
IOExceptionpublic static Certificate parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic Certificate.Builder newBuilderForType()
newBuilderForType in interface com.google.protobuf.MessagenewBuilderForType in interface com.google.protobuf.MessageLitepublic static Certificate.Builder newBuilder()
public static Certificate.Builder newBuilder(Certificate prototype)
public Certificate.Builder toBuilder()
toBuilder in interface com.google.protobuf.MessagetoBuilder in interface com.google.protobuf.MessageLiteprotected Certificate.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
newBuilderForType in class com.google.protobuf.GeneratedMessageV3public static Certificate getDefaultInstance()
public static com.google.protobuf.Parser<Certificate> parser()
public com.google.protobuf.Parser<Certificate> getParserForType()
getParserForType in interface com.google.protobuf.MessagegetParserForType in interface com.google.protobuf.MessageLitegetParserForType in class com.google.protobuf.GeneratedMessageV3public Certificate getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderCopyright © 2024 Google LLC. All rights reserved.