- 2.53.0 (latest)
- 2.51.0
- 2.50.0
- 2.49.0
- 2.48.0
- 2.47.0
- 2.46.0
- 2.45.0
- 2.44.0
- 2.43.0
- 2.42.0
- 2.41.0
- 2.39.0
- 2.38.0
- 2.37.0
- 2.36.0
- 2.35.0
- 2.34.0
- 2.33.0
- 2.32.0
- 2.31.0
- 2.30.0
- 2.29.0
- 2.26.0
- 2.25.0
- 2.24.0
- 2.23.0
- 2.22.0
- 2.21.0
- 2.20.0
- 2.19.0
- 2.18.0
- 2.17.0
- 2.16.0
- 2.15.0
- 2.14.0
- 2.13.0
- 2.11.0
- 2.10.0
- 2.9.0
- 2.8.0
- 2.7.0
- 2.6.0
- 2.5.4
- 2.4.0
- 2.3.0
- 2.2.5
public final class CertificateAuthority extends GeneratedMessageV3 implements CertificateAuthorityOrBuilder
A CertificateAuthority represents an individual Certificate Authority. A CertificateAuthority can be used to create Certificates.
Protobuf type google.cloud.security.privateca.v1.CertificateAuthority
Inheritance
Object > AbstractMessageLite<MessageType,BuilderType> > AbstractMessage > GeneratedMessageV3 > CertificateAuthorityImplements
CertificateAuthorityOrBuilderStatic Fields
ACCESS_URLS_FIELD_NUMBER
public static final int ACCESS_URLS_FIELD_NUMBER
Type | Description |
int |
CA_CERTIFICATE_DESCRIPTIONS_FIELD_NUMBER
public static final int CA_CERTIFICATE_DESCRIPTIONS_FIELD_NUMBER
Type | Description |
int |
CONFIG_FIELD_NUMBER
public static final int CONFIG_FIELD_NUMBER
Type | Description |
int |
CREATE_TIME_FIELD_NUMBER
public static final int CREATE_TIME_FIELD_NUMBER
Type | Description |
int |
DELETE_TIME_FIELD_NUMBER
public static final int DELETE_TIME_FIELD_NUMBER
Type | Description |
int |
EXPIRE_TIME_FIELD_NUMBER
public static final int EXPIRE_TIME_FIELD_NUMBER
Type | Description |
int |
GCS_BUCKET_FIELD_NUMBER
public static final int GCS_BUCKET_FIELD_NUMBER
Type | Description |
int |
KEY_SPEC_FIELD_NUMBER
public static final int KEY_SPEC_FIELD_NUMBER
Type | Description |
int |
LABELS_FIELD_NUMBER
public static final int LABELS_FIELD_NUMBER
Type | Description |
int |
LIFETIME_FIELD_NUMBER
public static final int LIFETIME_FIELD_NUMBER
Type | Description |
int |
NAME_FIELD_NUMBER
public static final int NAME_FIELD_NUMBER
Type | Description |
int |
PEM_CA_CERTIFICATES_FIELD_NUMBER
public static final int PEM_CA_CERTIFICATES_FIELD_NUMBER
Type | Description |
int |
STATE_FIELD_NUMBER
public static final int STATE_FIELD_NUMBER
Type | Description |
int |
SUBORDINATE_CONFIG_FIELD_NUMBER
public static final int SUBORDINATE_CONFIG_FIELD_NUMBER
Type | Description |
int |
TIER_FIELD_NUMBER
public static final int TIER_FIELD_NUMBER
Type | Description |
int |
TYPE_FIELD_NUMBER
public static final int TYPE_FIELD_NUMBER
Type | Description |
int |
UPDATE_TIME_FIELD_NUMBER
public static final int UPDATE_TIME_FIELD_NUMBER
Type | Description |
int |
Static Methods
getDefaultInstance()
public static CertificateAuthority getDefaultInstance()
Type | Description |
CertificateAuthority |
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Type | Description |
Descriptor |
newBuilder()
public static CertificateAuthority.Builder newBuilder()
Type | Description |
CertificateAuthority.Builder |
newBuilder(CertificateAuthority prototype)
public static CertificateAuthority.Builder newBuilder(CertificateAuthority prototype)
Name | Description |
prototype | CertificateAuthority |
Type | Description |
CertificateAuthority.Builder |
parseDelimitedFrom(InputStream input)
public static CertificateAuthority parseDelimitedFrom(InputStream input)
Name | Description |
input | InputStream |
Type | Description |
CertificateAuthority |
Type | Description |
IOException |
parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static CertificateAuthority parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Name | Description |
input | InputStream |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
CertificateAuthority |
Type | Description |
IOException |
parseFrom(byte[] data)
public static CertificateAuthority parseFrom(byte[] data)
Name | Description |
data | byte[] |
Type | Description |
CertificateAuthority |
Type | Description |
InvalidProtocolBufferException |
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static CertificateAuthority parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Name | Description |
data | byte[] |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
CertificateAuthority |
Type | Description |
InvalidProtocolBufferException |
parseFrom(ByteString data)
public static CertificateAuthority parseFrom(ByteString data)
Name | Description |
data | ByteString |
Type | Description |
CertificateAuthority |
Type | Description |
InvalidProtocolBufferException |
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static CertificateAuthority parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Name | Description |
data | ByteString |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
CertificateAuthority |
Type | Description |
InvalidProtocolBufferException |
parseFrom(CodedInputStream input)
public static CertificateAuthority parseFrom(CodedInputStream input)
Name | Description |
input | CodedInputStream |
Type | Description |
CertificateAuthority |
Type | Description |
IOException |
parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static CertificateAuthority parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Name | Description |
input | CodedInputStream |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
CertificateAuthority |
Type | Description |
IOException |
parseFrom(InputStream input)
public static CertificateAuthority parseFrom(InputStream input)
Name | Description |
input | InputStream |
Type | Description |
CertificateAuthority |
Type | Description |
IOException |
parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static CertificateAuthority parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Name | Description |
input | InputStream |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
CertificateAuthority |
Type | Description |
IOException |
parseFrom(ByteBuffer data)
public static CertificateAuthority parseFrom(ByteBuffer data)
Name | Description |
data | ByteBuffer |
Type | Description |
CertificateAuthority |
Type | Description |
InvalidProtocolBufferException |
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static CertificateAuthority parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Name | Description |
data | ByteBuffer |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
CertificateAuthority |
Type | Description |
InvalidProtocolBufferException |
parser()
public static Parser<CertificateAuthority> parser()
Type | Description |
Parser<CertificateAuthority> |
Methods
containsLabels(String key)
public boolean containsLabels(String key)
Optional. Labels with user-defined metadata.
map<string, string> labels = 17 [(.google.api.field_behavior) = OPTIONAL];
Name | Description |
key | String |
Type | Description |
boolean |
equals(Object obj)
public boolean equals(Object obj)
Name | Description |
obj | Object |
Type | Description |
boolean |
getAccessUrls()
public CertificateAuthority.AccessUrls getAccessUrls()
Output only. URLs for accessing content published by this CA, such as the CA certificate and CRLs.
.google.cloud.security.privateca.v1.CertificateAuthority.AccessUrls access_urls = 12 [(.google.api.field_behavior) = OUTPUT_ONLY];
Type | Description |
CertificateAuthority.AccessUrls | The accessUrls. |
getAccessUrlsOrBuilder()
public CertificateAuthority.AccessUrlsOrBuilder getAccessUrlsOrBuilder()
Output only. URLs for accessing content published by this CA, such as the CA certificate and CRLs.
.google.cloud.security.privateca.v1.CertificateAuthority.AccessUrls access_urls = 12 [(.google.api.field_behavior) = OUTPUT_ONLY];
Type | Description |
CertificateAuthority.AccessUrlsOrBuilder |
getCaCertificateDescriptions(int index)
public CertificateDescription getCaCertificateDescriptions(int index)
Output only. A structured description of this CertificateAuthority's CA certificate and its issuers. Ordered as self-to-root.
repeated .google.cloud.security.privateca.v1.CertificateDescription ca_certificate_descriptions = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];
Name | Description |
index | int |
Type | Description |
CertificateDescription |
getCaCertificateDescriptionsCount()
public int getCaCertificateDescriptionsCount()
Output only. A structured description of this CertificateAuthority's CA certificate and its issuers. Ordered as self-to-root.
repeated .google.cloud.security.privateca.v1.CertificateDescription ca_certificate_descriptions = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];
Type | Description |
int |
getCaCertificateDescriptionsList()
public List<CertificateDescription> getCaCertificateDescriptionsList()
Output only. A structured description of this CertificateAuthority's CA certificate and its issuers. Ordered as self-to-root.
repeated .google.cloud.security.privateca.v1.CertificateDescription ca_certificate_descriptions = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];
Type | Description |
List<CertificateDescription> |
getCaCertificateDescriptionsOrBuilder(int index)
public CertificateDescriptionOrBuilder getCaCertificateDescriptionsOrBuilder(int index)
Output only. A structured description of this CertificateAuthority's CA certificate and its issuers. Ordered as self-to-root.
repeated .google.cloud.security.privateca.v1.CertificateDescription ca_certificate_descriptions = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];
Name | Description |
index | int |
Type | Description |
CertificateDescriptionOrBuilder |
getCaCertificateDescriptionsOrBuilderList()
public List<? extends CertificateDescriptionOrBuilder> getCaCertificateDescriptionsOrBuilderList()
Output only. A structured description of this CertificateAuthority's CA certificate and its issuers. Ordered as self-to-root.
repeated .google.cloud.security.privateca.v1.CertificateDescription ca_certificate_descriptions = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];
Type | Description |
List<? extends com.google.cloud.security.privateca.v1.CertificateDescriptionOrBuilder> |
getConfig()
public CertificateConfig getConfig()
Required. Immutable. The config used to create a self-signed X.509 certificate or CSR.
.google.cloud.security.privateca.v1.CertificateConfig config = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE];
Type | Description |
CertificateConfig | The config. |
getConfigOrBuilder()
public CertificateConfigOrBuilder getConfigOrBuilder()
Required. Immutable. The config used to create a self-signed X.509 certificate or CSR.
.google.cloud.security.privateca.v1.CertificateConfig config = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE];
Type | Description |
CertificateConfigOrBuilder |
getCreateTime()
public Timestamp getCreateTime()
Output only. The time at which this CertificateAuthority was created.
.google.protobuf.Timestamp create_time = 13 [(.google.api.field_behavior) = OUTPUT_ONLY];
Type | Description |
Timestamp | The createTime. |
getCreateTimeOrBuilder()
public TimestampOrBuilder getCreateTimeOrBuilder()
Output only. The time at which this CertificateAuthority was created.
.google.protobuf.Timestamp create_time = 13 [(.google.api.field_behavior) = OUTPUT_ONLY];
Type | Description |
TimestampOrBuilder |
getDefaultInstanceForType()
public CertificateAuthority getDefaultInstanceForType()
Type | Description |
CertificateAuthority |
getDeleteTime()
public Timestamp getDeleteTime()
Output only. The time at which this CertificateAuthority was soft deleted, if it is in the DELETED state.
.google.protobuf.Timestamp delete_time = 15 [(.google.api.field_behavior) = OUTPUT_ONLY];
Type | Description |
Timestamp | The deleteTime. |
getDeleteTimeOrBuilder()
public TimestampOrBuilder getDeleteTimeOrBuilder()
Output only. The time at which this CertificateAuthority was soft deleted, if it is in the DELETED state.
.google.protobuf.Timestamp delete_time = 15 [(.google.api.field_behavior) = OUTPUT_ONLY];
Type | Description |
TimestampOrBuilder |
getExpireTime()
public Timestamp getExpireTime()
Output only. The time at which this CertificateAuthority will be permanently purged, if it is in the DELETED state.
.google.protobuf.Timestamp expire_time = 16 [(.google.api.field_behavior) = OUTPUT_ONLY];
Type | Description |
Timestamp | The expireTime. |
getExpireTimeOrBuilder()
public TimestampOrBuilder getExpireTimeOrBuilder()
Output only. The time at which this CertificateAuthority will be permanently purged, if it is in the DELETED state.
.google.protobuf.Timestamp expire_time = 16 [(.google.api.field_behavior) = OUTPUT_ONLY];
Type | Description |
TimestampOrBuilder |
getGcsBucket()
public String getGcsBucket()
Immutable. The name of a Cloud Storage bucket where this CertificateAuthority will
publish content, such as the CA certificate and CRLs. This must be a bucket
name, without any prefixes (such as gs://
) or suffixes (such as
.googleapis.com
). For example, to use a bucket named my-bucket
, you
would simply specify my-bucket
. If not specified, a managed bucket will
be created.
string gcs_bucket = 11 [(.google.api.field_behavior) = IMMUTABLE];
Type | Description |
String | The gcsBucket. |
getGcsBucketBytes()
public ByteString getGcsBucketBytes()
Immutable. The name of a Cloud Storage bucket where this CertificateAuthority will
publish content, such as the CA certificate and CRLs. This must be a bucket
name, without any prefixes (such as gs://
) or suffixes (such as
.googleapis.com
). For example, to use a bucket named my-bucket
, you
would simply specify my-bucket
. If not specified, a managed bucket will
be created.
string gcs_bucket = 11 [(.google.api.field_behavior) = IMMUTABLE];
Type | Description |
ByteString | The bytes for gcsBucket. |
getKeySpec()
public CertificateAuthority.KeyVersionSpec getKeySpec()
Required. Immutable. Used when issuing certificates for this CertificateAuthority. If this CertificateAuthority is a self-signed CertificateAuthority, this key is also used to sign the self-signed CA certificate. Otherwise, it is used to sign a CSR.
.google.cloud.security.privateca.v1.CertificateAuthority.KeyVersionSpec key_spec = 5 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE];
Type | Description |
CertificateAuthority.KeyVersionSpec | The keySpec. |
getKeySpecOrBuilder()
public CertificateAuthority.KeyVersionSpecOrBuilder getKeySpecOrBuilder()
Required. Immutable. Used when issuing certificates for this CertificateAuthority. If this CertificateAuthority is a self-signed CertificateAuthority, this key is also used to sign the self-signed CA certificate. Otherwise, it is used to sign a CSR.
.google.cloud.security.privateca.v1.CertificateAuthority.KeyVersionSpec key_spec = 5 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE];
Type | Description |
CertificateAuthority.KeyVersionSpecOrBuilder |
getLabels()
public Map<String,String> getLabels()
Use #getLabelsMap() instead.
Type | Description |
Map<String,String> |
getLabelsCount()
public int getLabelsCount()
Optional. Labels with user-defined metadata.
map<string, string> labels = 17 [(.google.api.field_behavior) = OPTIONAL];
Type | Description |
int |
getLabelsMap()
public Map<String,String> getLabelsMap()
Optional. Labels with user-defined metadata.
map<string, string> labels = 17 [(.google.api.field_behavior) = OPTIONAL];
Type | Description |
Map<String,String> |
getLabelsOrDefault(String key, String defaultValue)
public String getLabelsOrDefault(String key, String defaultValue)
Optional. Labels with user-defined metadata.
map<string, string> labels = 17 [(.google.api.field_behavior) = OPTIONAL];
Name | Description |
key | String |
defaultValue | String |
Type | Description |
String |
getLabelsOrThrow(String key)
public String getLabelsOrThrow(String key)
Optional. Labels with user-defined metadata.
map<string, string> labels = 17 [(.google.api.field_behavior) = OPTIONAL];
Name | Description |
key | String |
Type | Description |
String |
getLifetime()
public Duration getLifetime()
Required. Immutable. The desired lifetime of the CA certificate. Used to create the "not_before_time" and "not_after_time" fields inside an X.509 certificate.
.google.protobuf.Duration lifetime = 4 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE];
Type | Description |
Duration | The lifetime. |
getLifetimeOrBuilder()
public DurationOrBuilder getLifetimeOrBuilder()
Required. Immutable. The desired lifetime of the CA certificate. Used to create the "not_before_time" and "not_after_time" fields inside an X.509 certificate.
.google.protobuf.Duration lifetime = 4 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE];
Type | Description |
DurationOrBuilder |
getName()
public String getName()
Output only. The resource name for this CertificateAuthority in the
format projects/*/locations/*/caPools/*/certificateAuthorities/*
.
string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
Type | Description |
String | The name. |
getNameBytes()
public ByteString getNameBytes()
Output only. The resource name for this CertificateAuthority in the
format projects/*/locations/*/caPools/*/certificateAuthorities/*
.
string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
Type | Description |
ByteString | The bytes for name. |
getParserForType()
public Parser<CertificateAuthority> getParserForType()
Type | Description |
Parser<CertificateAuthority> |
getPemCaCertificates(int index)
public String getPemCaCertificates(int index)
Output only. This CertificateAuthority's certificate chain, including the current CertificateAuthority's certificate. Ordered such that the root issuer is the final element (consistent with RFC 5246). For a self-signed CA, this will only list the current CertificateAuthority's certificate.
repeated string pem_ca_certificates = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];
Name | Description |
index | int The index of the element to return. |
Type | Description |
String | The pemCaCertificates at the given index. |
getPemCaCertificatesBytes(int index)
public ByteString getPemCaCertificatesBytes(int index)
Output only. This CertificateAuthority's certificate chain, including the current CertificateAuthority's certificate. Ordered such that the root issuer is the final element (consistent with RFC 5246). For a self-signed CA, this will only list the current CertificateAuthority's certificate.
repeated string pem_ca_certificates = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];
Name | Description |
index | int The index of the value to return. |
Type | Description |
ByteString | The bytes of the pemCaCertificates at the given index. |
getPemCaCertificatesCount()
public int getPemCaCertificatesCount()
Output only. This CertificateAuthority's certificate chain, including the current CertificateAuthority's certificate. Ordered such that the root issuer is the final element (consistent with RFC 5246). For a self-signed CA, this will only list the current CertificateAuthority's certificate.
repeated string pem_ca_certificates = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];
Type | Description |
int | The count of pemCaCertificates. |
getPemCaCertificatesList()
public ProtocolStringList getPemCaCertificatesList()
Output only. This CertificateAuthority's certificate chain, including the current CertificateAuthority's certificate. Ordered such that the root issuer is the final element (consistent with RFC 5246). For a self-signed CA, this will only list the current CertificateAuthority's certificate.
repeated string pem_ca_certificates = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];
Type | Description |
ProtocolStringList | A list containing the pemCaCertificates. |
getSerializedSize()
public int getSerializedSize()
Type | Description |
int |
getState()
public CertificateAuthority.State getState()
Output only. The State for this CertificateAuthority.
.google.cloud.security.privateca.v1.CertificateAuthority.State state = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
Type | Description |
CertificateAuthority.State | The state. |
getStateValue()
public int getStateValue()
Output only. The State for this CertificateAuthority.
.google.cloud.security.privateca.v1.CertificateAuthority.State state = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
Type | Description |
int | The enum numeric value on the wire for state. |
getSubordinateConfig()
public SubordinateConfig getSubordinateConfig()
Optional. If this is a subordinate CertificateAuthority, this field will be set with the subordinate configuration, which describes its issuers. This may be updated, but this CertificateAuthority must continue to validate.
.google.cloud.security.privateca.v1.SubordinateConfig subordinate_config = 6 [(.google.api.field_behavior) = OPTIONAL];
Type | Description |
SubordinateConfig | The subordinateConfig. |
getSubordinateConfigOrBuilder()
public SubordinateConfigOrBuilder getSubordinateConfigOrBuilder()
Optional. If this is a subordinate CertificateAuthority, this field will be set with the subordinate configuration, which describes its issuers. This may be updated, but this CertificateAuthority must continue to validate.
.google.cloud.security.privateca.v1.SubordinateConfig subordinate_config = 6 [(.google.api.field_behavior) = OPTIONAL];
Type | Description |
SubordinateConfigOrBuilder |
getTier()
public CaPool.Tier getTier()
Output only. The CaPool.Tier of the CaPool that includes this CertificateAuthority.
.google.cloud.security.privateca.v1.CaPool.Tier tier = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
Type | Description |
CaPool.Tier | The tier. |
getTierValue()
public int getTierValue()
Output only. The CaPool.Tier of the CaPool that includes this CertificateAuthority.
.google.cloud.security.privateca.v1.CaPool.Tier tier = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
Type | Description |
int | The enum numeric value on the wire for tier. |
getType()
public CertificateAuthority.Type getType()
Required. Immutable. The Type of this CertificateAuthority.
.google.cloud.security.privateca.v1.CertificateAuthority.Type type = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE];
Type | Description |
CertificateAuthority.Type | The type. |
getTypeValue()
public int getTypeValue()
Required. Immutable. The Type of this CertificateAuthority.
.google.cloud.security.privateca.v1.CertificateAuthority.Type type = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE];
Type | Description |
int | The enum numeric value on the wire for type. |
getUnknownFields()
public final UnknownFieldSet getUnknownFields()
Type | Description |
UnknownFieldSet |
getUpdateTime()
public Timestamp getUpdateTime()
Output only. The time at which this CertificateAuthority was last updated.
.google.protobuf.Timestamp update_time = 14 [(.google.api.field_behavior) = OUTPUT_ONLY];
Type | Description |
Timestamp | The updateTime. |
getUpdateTimeOrBuilder()
public TimestampOrBuilder getUpdateTimeOrBuilder()
Output only. The time at which this CertificateAuthority was last updated.
.google.protobuf.Timestamp update_time = 14 [(.google.api.field_behavior) = OUTPUT_ONLY];
Type | Description |
TimestampOrBuilder |
hasAccessUrls()
public boolean hasAccessUrls()
Output only. URLs for accessing content published by this CA, such as the CA certificate and CRLs.
.google.cloud.security.privateca.v1.CertificateAuthority.AccessUrls access_urls = 12 [(.google.api.field_behavior) = OUTPUT_ONLY];
Type | Description |
boolean | Whether the accessUrls field is set. |
hasConfig()
public boolean hasConfig()
Required. Immutable. The config used to create a self-signed X.509 certificate or CSR.
.google.cloud.security.privateca.v1.CertificateConfig config = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE];
Type | Description |
boolean | Whether the config field is set. |
hasCreateTime()
public boolean hasCreateTime()
Output only. The time at which this CertificateAuthority was created.
.google.protobuf.Timestamp create_time = 13 [(.google.api.field_behavior) = OUTPUT_ONLY];
Type | Description |
boolean | Whether the createTime field is set. |
hasDeleteTime()
public boolean hasDeleteTime()
Output only. The time at which this CertificateAuthority was soft deleted, if it is in the DELETED state.
.google.protobuf.Timestamp delete_time = 15 [(.google.api.field_behavior) = OUTPUT_ONLY];
Type | Description |
boolean | Whether the deleteTime field is set. |
hasExpireTime()
public boolean hasExpireTime()
Output only. The time at which this CertificateAuthority will be permanently purged, if it is in the DELETED state.
.google.protobuf.Timestamp expire_time = 16 [(.google.api.field_behavior) = OUTPUT_ONLY];
Type | Description |
boolean | Whether the expireTime field is set. |
hasKeySpec()
public boolean hasKeySpec()
Required. Immutable. Used when issuing certificates for this CertificateAuthority. If this CertificateAuthority is a self-signed CertificateAuthority, this key is also used to sign the self-signed CA certificate. Otherwise, it is used to sign a CSR.
.google.cloud.security.privateca.v1.CertificateAuthority.KeyVersionSpec key_spec = 5 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE];
Type | Description |
boolean | Whether the keySpec field is set. |
hasLifetime()
public boolean hasLifetime()
Required. Immutable. The desired lifetime of the CA certificate. Used to create the "not_before_time" and "not_after_time" fields inside an X.509 certificate.
.google.protobuf.Duration lifetime = 4 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE];
Type | Description |
boolean | Whether the lifetime field is set. |
hasSubordinateConfig()
public boolean hasSubordinateConfig()
Optional. If this is a subordinate CertificateAuthority, this field will be set with the subordinate configuration, which describes its issuers. This may be updated, but this CertificateAuthority must continue to validate.
.google.cloud.security.privateca.v1.SubordinateConfig subordinate_config = 6 [(.google.api.field_behavior) = OPTIONAL];
Type | Description |
boolean | Whether the subordinateConfig field is set. |
hasUpdateTime()
public boolean hasUpdateTime()
Output only. The time at which this CertificateAuthority was last updated.
.google.protobuf.Timestamp update_time = 14 [(.google.api.field_behavior) = OUTPUT_ONLY];
Type | Description |
boolean | Whether the updateTime field is set. |
hashCode()
public int hashCode()
Type | Description |
int |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Type | Description |
FieldAccessorTable |
internalGetMapField(int number)
protected MapField internalGetMapField(int number)
Name | Description |
number | int |
Type | Description |
MapField |
isInitialized()
public final boolean isInitialized()
Type | Description |
boolean |
newBuilderForType()
public CertificateAuthority.Builder newBuilderForType()
Type | Description |
CertificateAuthority.Builder |
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected CertificateAuthority.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Name | Description |
parent | BuilderParent |
Type | Description |
CertificateAuthority.Builder |
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Name | Description |
unused | UnusedPrivateParameter |
Type | Description |
Object |
toBuilder()
public CertificateAuthority.Builder toBuilder()
Type | Description |
CertificateAuthority.Builder |
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Name | Description |
output | CodedOutputStream |
Type | Description |
IOException |