public final class CertificateIssuanceConfig extends com.google.protobuf.GeneratedMessageV3 implements CertificateIssuanceConfigOrBuilder
CertificateIssuanceConfig specifies how to issue and manage a certificate.Protobuf type
google.cloud.certificatemanager.v1.CertificateIssuanceConfig| Modifier and Type | Class and Description |
|---|---|
static class |
CertificateIssuanceConfig.Builder
CertificateIssuanceConfig specifies how to issue and manage a certificate.
|
static class |
CertificateIssuanceConfig.CertificateAuthorityConfig
The CA that issues the workload certificate.
|
static interface |
CertificateIssuanceConfig.CertificateAuthorityConfigOrBuilder |
static class |
CertificateIssuanceConfig.KeyAlgorithm
The type of keypair to generate.
|
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 |
CERTIFICATE_AUTHORITY_CONFIG_FIELD_NUMBER |
static int |
CREATE_TIME_FIELD_NUMBER |
static int |
DESCRIPTION_FIELD_NUMBER |
static int |
KEY_ALGORITHM_FIELD_NUMBER |
static int |
LABELS_FIELD_NUMBER |
static int |
LIFETIME_FIELD_NUMBER |
static int |
NAME_FIELD_NUMBER |
static int |
ROTATION_WINDOW_PERCENTAGE_FIELD_NUMBER |
static int |
UPDATE_TIME_FIELD_NUMBER |
| Modifier and Type | Method and Description |
|---|---|
boolean |
containsLabels(String key)
Set of labels associated with a CertificateIssuanceConfig.
|
boolean |
equals(Object obj) |
CertificateIssuanceConfig.CertificateAuthorityConfig |
getCertificateAuthorityConfig()
Required.
|
CertificateIssuanceConfig.CertificateAuthorityConfigOrBuilder |
getCertificateAuthorityConfigOrBuilder()
Required.
|
com.google.protobuf.Timestamp |
getCreateTime()
Output only.
|
com.google.protobuf.TimestampOrBuilder |
getCreateTimeOrBuilder()
Output only.
|
static CertificateIssuanceConfig |
getDefaultInstance() |
CertificateIssuanceConfig |
getDefaultInstanceForType() |
String |
getDescription()
One or more paragraphs of text description of a CertificateIssuanceConfig.
|
com.google.protobuf.ByteString |
getDescriptionBytes()
One or more paragraphs of text description of a CertificateIssuanceConfig.
|
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
CertificateIssuanceConfig.KeyAlgorithm |
getKeyAlgorithm()
Required.
|
int |
getKeyAlgorithmValue()
Required.
|
Map<String,String> |
getLabels()
Deprecated.
|
int |
getLabelsCount()
Set of labels associated with a CertificateIssuanceConfig.
|
Map<String,String> |
getLabelsMap()
Set of labels associated with a CertificateIssuanceConfig.
|
String |
getLabelsOrDefault(String key,
String defaultValue)
Set of labels associated with a CertificateIssuanceConfig.
|
String |
getLabelsOrThrow(String key)
Set of labels associated with a CertificateIssuanceConfig.
|
com.google.protobuf.Duration |
getLifetime()
Required.
|
com.google.protobuf.DurationOrBuilder |
getLifetimeOrBuilder()
Required.
|
String |
getName()
A user-defined name of the certificate issuance config.
|
com.google.protobuf.ByteString |
getNameBytes()
A user-defined name of the certificate issuance config.
|
com.google.protobuf.Parser<CertificateIssuanceConfig> |
getParserForType() |
int |
getRotationWindowPercentage()
Required.
|
int |
getSerializedSize() |
com.google.protobuf.Timestamp |
getUpdateTime()
Output only.
|
com.google.protobuf.TimestampOrBuilder |
getUpdateTimeOrBuilder()
Output only.
|
boolean |
hasCertificateAuthorityConfig()
Required.
|
boolean |
hasCreateTime()
Output only.
|
int |
hashCode() |
boolean |
hasLifetime()
Required.
|
boolean |
hasUpdateTime()
Output only.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
protected com.google.protobuf.MapField |
internalGetMapField(int number) |
boolean |
isInitialized() |
static CertificateIssuanceConfig.Builder |
newBuilder() |
static CertificateIssuanceConfig.Builder |
newBuilder(CertificateIssuanceConfig prototype) |
CertificateIssuanceConfig.Builder |
newBuilderForType() |
protected CertificateIssuanceConfig.Builder |
newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) |
protected Object |
newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused) |
static CertificateIssuanceConfig |
parseDelimitedFrom(InputStream input) |
static CertificateIssuanceConfig |
parseDelimitedFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static CertificateIssuanceConfig |
parseFrom(byte[] data) |
static CertificateIssuanceConfig |
parseFrom(byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static CertificateIssuanceConfig |
parseFrom(ByteBuffer data) |
static CertificateIssuanceConfig |
parseFrom(ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static CertificateIssuanceConfig |
parseFrom(com.google.protobuf.ByteString data) |
static CertificateIssuanceConfig |
parseFrom(com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static CertificateIssuanceConfig |
parseFrom(com.google.protobuf.CodedInputStream input) |
static CertificateIssuanceConfig |
parseFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static CertificateIssuanceConfig |
parseFrom(InputStream input) |
static CertificateIssuanceConfig |
parseFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static com.google.protobuf.Parser<CertificateIssuanceConfig> |
parser() |
CertificateIssuanceConfig.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 CREATE_TIME_FIELD_NUMBER
public static final int UPDATE_TIME_FIELD_NUMBER
public static final int LABELS_FIELD_NUMBER
public static final int DESCRIPTION_FIELD_NUMBER
public static final int CERTIFICATE_AUTHORITY_CONFIG_FIELD_NUMBER
public static final int LIFETIME_FIELD_NUMBER
public static final int ROTATION_WINDOW_PERCENTAGE_FIELD_NUMBER
public static final int KEY_ALGORITHM_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 String getName()
A user-defined name of the certificate issuance config. CertificateIssuanceConfig names must be unique globally and match pattern `projects/*/locations/*/certificateIssuanceConfigs/*`.
string name = 1;getName in interface CertificateIssuanceConfigOrBuilderpublic com.google.protobuf.ByteString getNameBytes()
A user-defined name of the certificate issuance config. CertificateIssuanceConfig names must be unique globally and match pattern `projects/*/locations/*/certificateIssuanceConfigs/*`.
string name = 1;getNameBytes in interface CertificateIssuanceConfigOrBuilderpublic boolean hasCreateTime()
Output only. The creation timestamp of a CertificateIssuanceConfig.
.google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
hasCreateTime in interface CertificateIssuanceConfigOrBuilderpublic com.google.protobuf.Timestamp getCreateTime()
Output only. The creation timestamp of a CertificateIssuanceConfig.
.google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
getCreateTime in interface CertificateIssuanceConfigOrBuilderpublic com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder()
Output only. The creation timestamp of a CertificateIssuanceConfig.
.google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
getCreateTimeOrBuilder in interface CertificateIssuanceConfigOrBuilderpublic boolean hasUpdateTime()
Output only. The last update timestamp of a CertificateIssuanceConfig.
.google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
hasUpdateTime in interface CertificateIssuanceConfigOrBuilderpublic com.google.protobuf.Timestamp getUpdateTime()
Output only. The last update timestamp of a CertificateIssuanceConfig.
.google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
getUpdateTime in interface CertificateIssuanceConfigOrBuilderpublic com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder()
Output only. The last update timestamp of a CertificateIssuanceConfig.
.google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
getUpdateTimeOrBuilder in interface CertificateIssuanceConfigOrBuilderpublic int getLabelsCount()
CertificateIssuanceConfigOrBuilderSet of labels associated with a CertificateIssuanceConfig.
map<string, string> labels = 4;getLabelsCount in interface CertificateIssuanceConfigOrBuilderpublic boolean containsLabels(String key)
Set of labels associated with a CertificateIssuanceConfig.
map<string, string> labels = 4;containsLabels in interface CertificateIssuanceConfigOrBuilder@Deprecated public Map<String,String> getLabels()
getLabelsMap() instead.getLabels in interface CertificateIssuanceConfigOrBuilderpublic Map<String,String> getLabelsMap()
Set of labels associated with a CertificateIssuanceConfig.
map<string, string> labels = 4;getLabelsMap in interface CertificateIssuanceConfigOrBuilderpublic String getLabelsOrDefault(String key, String defaultValue)
Set of labels associated with a CertificateIssuanceConfig.
map<string, string> labels = 4;getLabelsOrDefault in interface CertificateIssuanceConfigOrBuilderpublic String getLabelsOrThrow(String key)
Set of labels associated with a CertificateIssuanceConfig.
map<string, string> labels = 4;getLabelsOrThrow in interface CertificateIssuanceConfigOrBuilderpublic String getDescription()
One or more paragraphs of text description of a CertificateIssuanceConfig.
string description = 5;getDescription in interface CertificateIssuanceConfigOrBuilderpublic com.google.protobuf.ByteString getDescriptionBytes()
One or more paragraphs of text description of a CertificateIssuanceConfig.
string description = 5;getDescriptionBytes in interface CertificateIssuanceConfigOrBuilderpublic boolean hasCertificateAuthorityConfig()
Required. The CA that issues the workload certificate. It includes the CA address, type, authentication to CA service, etc.
.google.cloud.certificatemanager.v1.CertificateIssuanceConfig.CertificateAuthorityConfig certificate_authority_config = 6 [(.google.api.field_behavior) = REQUIRED];
hasCertificateAuthorityConfig in interface CertificateIssuanceConfigOrBuilderpublic CertificateIssuanceConfig.CertificateAuthorityConfig getCertificateAuthorityConfig()
Required. The CA that issues the workload certificate. It includes the CA address, type, authentication to CA service, etc.
.google.cloud.certificatemanager.v1.CertificateIssuanceConfig.CertificateAuthorityConfig certificate_authority_config = 6 [(.google.api.field_behavior) = REQUIRED];
getCertificateAuthorityConfig in interface CertificateIssuanceConfigOrBuilderpublic CertificateIssuanceConfig.CertificateAuthorityConfigOrBuilder getCertificateAuthorityConfigOrBuilder()
Required. The CA that issues the workload certificate. It includes the CA address, type, authentication to CA service, etc.
.google.cloud.certificatemanager.v1.CertificateIssuanceConfig.CertificateAuthorityConfig certificate_authority_config = 6 [(.google.api.field_behavior) = REQUIRED];
getCertificateAuthorityConfigOrBuilder in interface CertificateIssuanceConfigOrBuilderpublic boolean hasLifetime()
Required. Workload certificate lifetime requested.
.google.protobuf.Duration lifetime = 7 [(.google.api.field_behavior) = REQUIRED];hasLifetime in interface CertificateIssuanceConfigOrBuilderpublic com.google.protobuf.Duration getLifetime()
Required. Workload certificate lifetime requested.
.google.protobuf.Duration lifetime = 7 [(.google.api.field_behavior) = REQUIRED];getLifetime in interface CertificateIssuanceConfigOrBuilderpublic com.google.protobuf.DurationOrBuilder getLifetimeOrBuilder()
Required. Workload certificate lifetime requested.
.google.protobuf.Duration lifetime = 7 [(.google.api.field_behavior) = REQUIRED];getLifetimeOrBuilder in interface CertificateIssuanceConfigOrBuilderpublic int getRotationWindowPercentage()
Required. Specifies the percentage of elapsed time of the certificate lifetime to wait before renewing the certificate. Must be a number between 1-99, inclusive.
int32 rotation_window_percentage = 8 [(.google.api.field_behavior) = REQUIRED];getRotationWindowPercentage in interface CertificateIssuanceConfigOrBuilderpublic int getKeyAlgorithmValue()
Required. The key algorithm to use when generating the private key.
.google.cloud.certificatemanager.v1.CertificateIssuanceConfig.KeyAlgorithm key_algorithm = 9 [(.google.api.field_behavior) = REQUIRED];
getKeyAlgorithmValue in interface CertificateIssuanceConfigOrBuilderpublic CertificateIssuanceConfig.KeyAlgorithm getKeyAlgorithm()
Required. The key algorithm to use when generating the private key.
.google.cloud.certificatemanager.v1.CertificateIssuanceConfig.KeyAlgorithm key_algorithm = 9 [(.google.api.field_behavior) = REQUIRED];
getKeyAlgorithm in interface CertificateIssuanceConfigOrBuilderpublic 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 CertificateIssuanceConfig parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static CertificateIssuanceConfig parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static CertificateIssuanceConfig parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static CertificateIssuanceConfig parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static CertificateIssuanceConfig parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static CertificateIssuanceConfig parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static CertificateIssuanceConfig parseFrom(InputStream input) throws IOException
IOExceptionpublic static CertificateIssuanceConfig parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static CertificateIssuanceConfig parseDelimitedFrom(InputStream input) throws IOException
IOExceptionpublic static CertificateIssuanceConfig parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static CertificateIssuanceConfig parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
IOExceptionpublic static CertificateIssuanceConfig parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic CertificateIssuanceConfig.Builder newBuilderForType()
newBuilderForType in interface com.google.protobuf.MessagenewBuilderForType in interface com.google.protobuf.MessageLitepublic static CertificateIssuanceConfig.Builder newBuilder()
public static CertificateIssuanceConfig.Builder newBuilder(CertificateIssuanceConfig prototype)
public CertificateIssuanceConfig.Builder toBuilder()
toBuilder in interface com.google.protobuf.MessagetoBuilder in interface com.google.protobuf.MessageLiteprotected CertificateIssuanceConfig.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
newBuilderForType in class com.google.protobuf.GeneratedMessageV3public static CertificateIssuanceConfig getDefaultInstance()
public static com.google.protobuf.Parser<CertificateIssuanceConfig> parser()
public com.google.protobuf.Parser<CertificateIssuanceConfig> getParserForType()
getParserForType in interface com.google.protobuf.MessagegetParserForType in interface com.google.protobuf.MessageLitegetParserForType in class com.google.protobuf.GeneratedMessageV3public CertificateIssuanceConfig getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderCopyright © 2024 Google LLC. All rights reserved.