- 0.56.0 (latest)
- 0.55.0
- 0.54.0
- 0.52.0
- 0.51.0
- 0.50.0
- 0.49.0
- 0.48.0
- 0.47.0
- 0.46.0
- 0.45.0
- 0.44.0
- 0.43.0
- 0.42.0
- 0.40.0
- 0.39.0
- 0.38.0
- 0.37.0
- 0.36.0
- 0.35.0
- 0.34.0
- 0.33.0
- 0.32.0
- 0.31.0
- 0.30.0
- 0.27.0
- 0.26.0
- 0.25.0
- 0.24.0
- 0.23.0
- 0.22.0
- 0.21.0
- 0.20.0
- 0.19.0
- 0.18.0
- 0.17.0
- 0.16.0
- 0.15.0
- 0.14.0
- 0.13.0
- 0.12.0
- 0.11.0
- 0.10.0
- 0.9.0
- 0.8.0
- 0.7.0
- 0.6.0
- 0.5.2
- 0.4.0
- 0.3.1
- 0.2.0
- 0.1.1
public static final class CertificateIssuanceConfig.Builder extends GeneratedMessageV3.Builder<CertificateIssuanceConfig.Builder> implements CertificateIssuanceConfigOrBuilder
CertificateIssuanceConfig specifies how to issue and manage a certificate.
Protobuf type google.cloud.certificatemanager.v1.CertificateIssuanceConfig
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > CertificateIssuanceConfig.BuilderImplements
CertificateIssuanceConfigOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns | |
---|---|
Type | Description |
Descriptor |
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public CertificateIssuanceConfig.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field | FieldDescriptor |
value | Object |
Returns | |
---|---|
Type | Description |
CertificateIssuanceConfig.Builder |
build()
public CertificateIssuanceConfig build()
Returns | |
---|---|
Type | Description |
CertificateIssuanceConfig |
buildPartial()
public CertificateIssuanceConfig buildPartial()
Returns | |
---|---|
Type | Description |
CertificateIssuanceConfig |
clear()
public CertificateIssuanceConfig.Builder clear()
Returns | |
---|---|
Type | Description |
CertificateIssuanceConfig.Builder |
clearCertificateAuthorityConfig()
public CertificateIssuanceConfig.Builder clearCertificateAuthorityConfig()
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];
Returns | |
---|---|
Type | Description |
CertificateIssuanceConfig.Builder |
clearCreateTime()
public CertificateIssuanceConfig.Builder clearCreateTime()
Output only. The creation timestamp of a CertificateIssuanceConfig.
.google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns | |
---|---|
Type | Description |
CertificateIssuanceConfig.Builder |
clearDescription()
public CertificateIssuanceConfig.Builder clearDescription()
One or more paragraphs of text description of a CertificateIssuanceConfig.
string description = 5;
Returns | |
---|---|
Type | Description |
CertificateIssuanceConfig.Builder | This builder for chaining. |
clearField(Descriptors.FieldDescriptor field)
public CertificateIssuanceConfig.Builder clearField(Descriptors.FieldDescriptor field)
Parameter | |
---|---|
Name | Description |
field | FieldDescriptor |
Returns | |
---|---|
Type | Description |
CertificateIssuanceConfig.Builder |
clearKeyAlgorithm()
public CertificateIssuanceConfig.Builder clearKeyAlgorithm()
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];
Returns | |
---|---|
Type | Description |
CertificateIssuanceConfig.Builder | This builder for chaining. |
clearLabels()
public CertificateIssuanceConfig.Builder clearLabels()
Returns | |
---|---|
Type | Description |
CertificateIssuanceConfig.Builder |
clearLifetime()
public CertificateIssuanceConfig.Builder clearLifetime()
Required. Workload certificate lifetime requested.
.google.protobuf.Duration lifetime = 7 [(.google.api.field_behavior) = REQUIRED];
Returns | |
---|---|
Type | Description |
CertificateIssuanceConfig.Builder |
clearName()
public CertificateIssuanceConfig.Builder clearName()
A user-defined name of the certificate issuance config.
CertificateIssuanceConfig names must be unique globally and match pattern
projects/*/locations/*/certificateIssuanceConfigs/*
.
string name = 1;
Returns | |
---|---|
Type | Description |
CertificateIssuanceConfig.Builder | This builder for chaining. |
clearOneof(Descriptors.OneofDescriptor oneof)
public CertificateIssuanceConfig.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter | |
---|---|
Name | Description |
oneof | OneofDescriptor |
Returns | |
---|---|
Type | Description |
CertificateIssuanceConfig.Builder |
clearRotationWindowPercentage()
public CertificateIssuanceConfig.Builder clearRotationWindowPercentage()
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];
Returns | |
---|---|
Type | Description |
CertificateIssuanceConfig.Builder | This builder for chaining. |
clearUpdateTime()
public CertificateIssuanceConfig.Builder clearUpdateTime()
Output only. The last update timestamp of a CertificateIssuanceConfig.
.google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns | |
---|---|
Type | Description |
CertificateIssuanceConfig.Builder |
clone()
public CertificateIssuanceConfig.Builder clone()
Returns | |
---|---|
Type | Description |
CertificateIssuanceConfig.Builder |
containsLabels(String key)
public boolean containsLabels(String key)
Set of labels associated with a CertificateIssuanceConfig.
map<string, string> labels = 4;
Parameter | |
---|---|
Name | Description |
key | String |
Returns | |
---|---|
Type | Description |
boolean |
getCertificateAuthorityConfig()
public 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];
Returns | |
---|---|
Type | Description |
CertificateIssuanceConfig.CertificateAuthorityConfig | The certificateAuthorityConfig. |
getCertificateAuthorityConfigBuilder()
public CertificateIssuanceConfig.CertificateAuthorityConfig.Builder getCertificateAuthorityConfigBuilder()
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];
Returns | |
---|---|
Type | Description |
CertificateIssuanceConfig.CertificateAuthorityConfig.Builder |
getCertificateAuthorityConfigOrBuilder()
public 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];
Returns | |
---|---|
Type | Description |
CertificateIssuanceConfig.CertificateAuthorityConfigOrBuilder |
getCreateTime()
public Timestamp getCreateTime()
Output only. The creation timestamp of a CertificateIssuanceConfig.
.google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns | |
---|---|
Type | Description |
Timestamp | The createTime. |
getCreateTimeBuilder()
public Timestamp.Builder getCreateTimeBuilder()
Output only. The creation timestamp of a CertificateIssuanceConfig.
.google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns | |
---|---|
Type | Description |
Builder |
getCreateTimeOrBuilder()
public TimestampOrBuilder getCreateTimeOrBuilder()
Output only. The creation timestamp of a CertificateIssuanceConfig.
.google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns | |
---|---|
Type | Description |
TimestampOrBuilder |
getDefaultInstanceForType()
public CertificateIssuanceConfig getDefaultInstanceForType()
Returns | |
---|---|
Type | Description |
CertificateIssuanceConfig |
getDescription()
public String getDescription()
One or more paragraphs of text description of a CertificateIssuanceConfig.
string description = 5;
Returns | |
---|---|
Type | Description |
String | The description. |
getDescriptionBytes()
public ByteString getDescriptionBytes()
One or more paragraphs of text description of a CertificateIssuanceConfig.
string description = 5;
Returns | |
---|---|
Type | Description |
ByteString | The bytes for description. |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns | |
---|---|
Type | Description |
Descriptor |
getKeyAlgorithm()
public 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];
Returns | |
---|---|
Type | Description |
CertificateIssuanceConfig.KeyAlgorithm | The keyAlgorithm. |
getKeyAlgorithmValue()
public 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];
Returns | |
---|---|
Type | Description |
int | The enum numeric value on the wire for keyAlgorithm. |
getLabels()
public Map<String,String> getLabels()
Use #getLabelsMap() instead.
Returns | |
---|---|
Type | Description |
Map<String,String> |
getLabelsCount()
public int getLabelsCount()
Set of labels associated with a CertificateIssuanceConfig.
map<string, string> labels = 4;
Returns | |
---|---|
Type | Description |
int |
getLabelsMap()
public Map<String,String> getLabelsMap()
Set of labels associated with a CertificateIssuanceConfig.
map<string, string> labels = 4;
Returns | |
---|---|
Type | Description |
Map<String,String> |
getLabelsOrDefault(String key, String defaultValue)
public String getLabelsOrDefault(String key, String defaultValue)
Set of labels associated with a CertificateIssuanceConfig.
map<string, string> labels = 4;
Parameters | |
---|---|
Name | Description |
key | String |
defaultValue | String |
Returns | |
---|---|
Type | Description |
String |
getLabelsOrThrow(String key)
public String getLabelsOrThrow(String key)
Set of labels associated with a CertificateIssuanceConfig.
map<string, string> labels = 4;
Parameter | |
---|---|
Name | Description |
key | String |
Returns | |
---|---|
Type | Description |
String |
getLifetime()
public Duration getLifetime()
Required. Workload certificate lifetime requested.
.google.protobuf.Duration lifetime = 7 [(.google.api.field_behavior) = REQUIRED];
Returns | |
---|---|
Type | Description |
Duration | The lifetime. |
getLifetimeBuilder()
public Duration.Builder getLifetimeBuilder()
Required. Workload certificate lifetime requested.
.google.protobuf.Duration lifetime = 7 [(.google.api.field_behavior) = REQUIRED];
Returns | |
---|---|
Type | Description |
Builder |
getLifetimeOrBuilder()
public DurationOrBuilder getLifetimeOrBuilder()
Required. Workload certificate lifetime requested.
.google.protobuf.Duration lifetime = 7 [(.google.api.field_behavior) = REQUIRED];
Returns | |
---|---|
Type | Description |
DurationOrBuilder |
getMutableLabels()
public Map<String,String> getMutableLabels()
Use alternate mutation accessors instead.
Returns | |
---|---|
Type | Description |
Map<String,String> |
getName()
public 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;
Returns | |
---|---|
Type | Description |
String | The name. |
getNameBytes()
public 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;
Returns | |
---|---|
Type | Description |
ByteString | The bytes for name. |
getRotationWindowPercentage()
public 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];
Returns | |
---|---|
Type | Description |
int | The rotationWindowPercentage. |
getUpdateTime()
public Timestamp getUpdateTime()
Output only. The last update timestamp of a CertificateIssuanceConfig.
.google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns | |
---|---|
Type | Description |
Timestamp | The updateTime. |
getUpdateTimeBuilder()
public Timestamp.Builder getUpdateTimeBuilder()
Output only. The last update timestamp of a CertificateIssuanceConfig.
.google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns | |
---|---|
Type | Description |
Builder |
getUpdateTimeOrBuilder()
public TimestampOrBuilder getUpdateTimeOrBuilder()
Output only. The last update timestamp of a CertificateIssuanceConfig.
.google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns | |
---|---|
Type | Description |
TimestampOrBuilder |
hasCertificateAuthorityConfig()
public 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];
Returns | |
---|---|
Type | Description |
boolean | Whether the certificateAuthorityConfig field is set. |
hasCreateTime()
public boolean hasCreateTime()
Output only. The creation timestamp of a CertificateIssuanceConfig.
.google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns | |
---|---|
Type | Description |
boolean | Whether the createTime field is set. |
hasLifetime()
public boolean hasLifetime()
Required. Workload certificate lifetime requested.
.google.protobuf.Duration lifetime = 7 [(.google.api.field_behavior) = REQUIRED];
Returns | |
---|---|
Type | Description |
boolean | Whether the lifetime field is set. |
hasUpdateTime()
public boolean hasUpdateTime()
Output only. The last update timestamp of a CertificateIssuanceConfig.
.google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns | |
---|---|
Type | Description |
boolean | Whether the updateTime field is set. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns | |
---|---|
Type | Description |
FieldAccessorTable |
internalGetMapField(int number)
protected MapField internalGetMapField(int number)
Parameter | |
---|---|
Name | Description |
number | int |
Returns | |
---|---|
Type | Description |
MapField |
internalGetMutableMapField(int number)
protected MapField internalGetMutableMapField(int number)
Parameter | |
---|---|
Name | Description |
number | int |
Returns | |
---|---|
Type | Description |
MapField |
isInitialized()
public final boolean isInitialized()
Returns | |
---|---|
Type | Description |
boolean |
mergeCertificateAuthorityConfig(CertificateIssuanceConfig.CertificateAuthorityConfig value)
public CertificateIssuanceConfig.Builder mergeCertificateAuthorityConfig(CertificateIssuanceConfig.CertificateAuthorityConfig value)
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];
Parameter | |
---|---|
Name | Description |
value | CertificateIssuanceConfig.CertificateAuthorityConfig |
Returns | |
---|---|
Type | Description |
CertificateIssuanceConfig.Builder |
mergeCreateTime(Timestamp value)
public CertificateIssuanceConfig.Builder mergeCreateTime(Timestamp value)
Output only. The creation timestamp of a CertificateIssuanceConfig.
.google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
Parameter | |
---|---|
Name | Description |
value | Timestamp |
Returns | |
---|---|
Type | Description |
CertificateIssuanceConfig.Builder |
mergeFrom(CertificateIssuanceConfig other)
public CertificateIssuanceConfig.Builder mergeFrom(CertificateIssuanceConfig other)
Parameter | |
---|---|
Name | Description |
other | CertificateIssuanceConfig |
Returns | |
---|---|
Type | Description |
CertificateIssuanceConfig.Builder |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public CertificateIssuanceConfig.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
input | CodedInputStream |
extensionRegistry | ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
CertificateIssuanceConfig.Builder |
Exceptions | |
---|---|
Type | Description |
IOException |
mergeFrom(Message other)
public CertificateIssuanceConfig.Builder mergeFrom(Message other)
Parameter | |
---|---|
Name | Description |
other | Message |
Returns | |
---|---|
Type | Description |
CertificateIssuanceConfig.Builder |
mergeLifetime(Duration value)
public CertificateIssuanceConfig.Builder mergeLifetime(Duration value)
Required. Workload certificate lifetime requested.
.google.protobuf.Duration lifetime = 7 [(.google.api.field_behavior) = REQUIRED];
Parameter | |
---|---|
Name | Description |
value | Duration |
Returns | |
---|---|
Type | Description |
CertificateIssuanceConfig.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final CertificateIssuanceConfig.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields | UnknownFieldSet |
Returns | |
---|---|
Type | Description |
CertificateIssuanceConfig.Builder |
mergeUpdateTime(Timestamp value)
public CertificateIssuanceConfig.Builder mergeUpdateTime(Timestamp value)
Output only. The last update timestamp of a CertificateIssuanceConfig.
.google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
Parameter | |
---|---|
Name | Description |
value | Timestamp |
Returns | |
---|---|
Type | Description |
CertificateIssuanceConfig.Builder |
putAllLabels(Map<String,String> values)
public CertificateIssuanceConfig.Builder putAllLabels(Map<String,String> values)
Set of labels associated with a CertificateIssuanceConfig.
map<string, string> labels = 4;
Parameter | |
---|---|
Name | Description |
values | Map<String,String> |
Returns | |
---|---|
Type | Description |
CertificateIssuanceConfig.Builder |
putLabels(String key, String value)
public CertificateIssuanceConfig.Builder putLabels(String key, String value)
Set of labels associated with a CertificateIssuanceConfig.
map<string, string> labels = 4;
Parameters | |
---|---|
Name | Description |
key | String |
value | String |
Returns | |
---|---|
Type | Description |
CertificateIssuanceConfig.Builder |
removeLabels(String key)
public CertificateIssuanceConfig.Builder removeLabels(String key)
Set of labels associated with a CertificateIssuanceConfig.
map<string, string> labels = 4;
Parameter | |
---|---|
Name | Description |
key | String |
Returns | |
---|---|
Type | Description |
CertificateIssuanceConfig.Builder |
setCertificateAuthorityConfig(CertificateIssuanceConfig.CertificateAuthorityConfig value)
public CertificateIssuanceConfig.Builder setCertificateAuthorityConfig(CertificateIssuanceConfig.CertificateAuthorityConfig value)
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];
Parameter | |
---|---|
Name | Description |
value | CertificateIssuanceConfig.CertificateAuthorityConfig |
Returns | |
---|---|
Type | Description |
CertificateIssuanceConfig.Builder |
setCertificateAuthorityConfig(CertificateIssuanceConfig.CertificateAuthorityConfig.Builder builderForValue)
public CertificateIssuanceConfig.Builder setCertificateAuthorityConfig(CertificateIssuanceConfig.CertificateAuthorityConfig.Builder builderForValue)
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];
Parameter | |
---|---|
Name | Description |
builderForValue | CertificateIssuanceConfig.CertificateAuthorityConfig.Builder |
Returns | |
---|---|
Type | Description |
CertificateIssuanceConfig.Builder |
setCreateTime(Timestamp value)
public CertificateIssuanceConfig.Builder setCreateTime(Timestamp value)
Output only. The creation timestamp of a CertificateIssuanceConfig.
.google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
Parameter | |
---|---|
Name | Description |
value | Timestamp |
Returns | |
---|---|
Type | Description |
CertificateIssuanceConfig.Builder |
setCreateTime(Timestamp.Builder builderForValue)
public CertificateIssuanceConfig.Builder setCreateTime(Timestamp.Builder builderForValue)
Output only. The creation timestamp of a CertificateIssuanceConfig.
.google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
Parameter | |
---|---|
Name | Description |
builderForValue | Builder |
Returns | |
---|---|
Type | Description |
CertificateIssuanceConfig.Builder |
setDescription(String value)
public CertificateIssuanceConfig.Builder setDescription(String value)
One or more paragraphs of text description of a CertificateIssuanceConfig.
string description = 5;
Parameter | |
---|---|
Name | Description |
value | String The description to set. |
Returns | |
---|---|
Type | Description |
CertificateIssuanceConfig.Builder | This builder for chaining. |
setDescriptionBytes(ByteString value)
public CertificateIssuanceConfig.Builder setDescriptionBytes(ByteString value)
One or more paragraphs of text description of a CertificateIssuanceConfig.
string description = 5;
Parameter | |
---|---|
Name | Description |
value | ByteString The bytes for description to set. |
Returns | |
---|---|
Type | Description |
CertificateIssuanceConfig.Builder | This builder for chaining. |
setField(Descriptors.FieldDescriptor field, Object value)
public CertificateIssuanceConfig.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field | FieldDescriptor |
value | Object |
Returns | |
---|---|
Type | Description |
CertificateIssuanceConfig.Builder |
setKeyAlgorithm(CertificateIssuanceConfig.KeyAlgorithm value)
public CertificateIssuanceConfig.Builder setKeyAlgorithm(CertificateIssuanceConfig.KeyAlgorithm value)
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];
Parameter | |
---|---|
Name | Description |
value | CertificateIssuanceConfig.KeyAlgorithm The keyAlgorithm to set. |
Returns | |
---|---|
Type | Description |
CertificateIssuanceConfig.Builder | This builder for chaining. |
setKeyAlgorithmValue(int value)
public CertificateIssuanceConfig.Builder setKeyAlgorithmValue(int value)
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];
Parameter | |
---|---|
Name | Description |
value | int The enum numeric value on the wire for keyAlgorithm to set. |
Returns | |
---|---|
Type | Description |
CertificateIssuanceConfig.Builder | This builder for chaining. |
setLifetime(Duration value)
public CertificateIssuanceConfig.Builder setLifetime(Duration value)
Required. Workload certificate lifetime requested.
.google.protobuf.Duration lifetime = 7 [(.google.api.field_behavior) = REQUIRED];
Parameter | |
---|---|
Name | Description |
value | Duration |
Returns | |
---|---|
Type | Description |
CertificateIssuanceConfig.Builder |
setLifetime(Duration.Builder builderForValue)
public CertificateIssuanceConfig.Builder setLifetime(Duration.Builder builderForValue)
Required. Workload certificate lifetime requested.
.google.protobuf.Duration lifetime = 7 [(.google.api.field_behavior) = REQUIRED];
Parameter | |
---|---|
Name | Description |
builderForValue | Builder |
Returns | |
---|---|
Type | Description |
CertificateIssuanceConfig.Builder |
setName(String value)
public CertificateIssuanceConfig.Builder setName(String value)
A user-defined name of the certificate issuance config.
CertificateIssuanceConfig names must be unique globally and match pattern
projects/*/locations/*/certificateIssuanceConfigs/*
.
string name = 1;
Parameter | |
---|---|
Name | Description |
value | String The name to set. |
Returns | |
---|---|
Type | Description |
CertificateIssuanceConfig.Builder | This builder for chaining. |
setNameBytes(ByteString value)
public CertificateIssuanceConfig.Builder setNameBytes(ByteString value)
A user-defined name of the certificate issuance config.
CertificateIssuanceConfig names must be unique globally and match pattern
projects/*/locations/*/certificateIssuanceConfigs/*
.
string name = 1;
Parameter | |
---|---|
Name | Description |
value | ByteString The bytes for name to set. |
Returns | |
---|---|
Type | Description |
CertificateIssuanceConfig.Builder | This builder for chaining. |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public CertificateIssuanceConfig.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters | |
---|---|
Name | Description |
field | FieldDescriptor |
index | int |
value | Object |
Returns | |
---|---|
Type | Description |
CertificateIssuanceConfig.Builder |
setRotationWindowPercentage(int value)
public CertificateIssuanceConfig.Builder setRotationWindowPercentage(int value)
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];
Parameter | |
---|---|
Name | Description |
value | int The rotationWindowPercentage to set. |
Returns | |
---|---|
Type | Description |
CertificateIssuanceConfig.Builder | This builder for chaining. |
setUnknownFields(UnknownFieldSet unknownFields)
public final CertificateIssuanceConfig.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields | UnknownFieldSet |
Returns | |
---|---|
Type | Description |
CertificateIssuanceConfig.Builder |
setUpdateTime(Timestamp value)
public CertificateIssuanceConfig.Builder setUpdateTime(Timestamp value)
Output only. The last update timestamp of a CertificateIssuanceConfig.
.google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
Parameter | |
---|---|
Name | Description |
value | Timestamp |
Returns | |
---|---|
Type | Description |
CertificateIssuanceConfig.Builder |
setUpdateTime(Timestamp.Builder builderForValue)
public CertificateIssuanceConfig.Builder setUpdateTime(Timestamp.Builder builderForValue)
Output only. The last update timestamp of a CertificateIssuanceConfig.
.google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
Parameter | |
---|---|
Name | Description |
builderForValue | Builder |
Returns | |
---|---|
Type | Description |
CertificateIssuanceConfig.Builder |