Class CertificateIssuanceConfig.Builder (0.44.0)

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

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public CertificateIssuanceConfig.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
CertificateIssuanceConfig.Builder
Overrides

build()

public CertificateIssuanceConfig build()
Returns
TypeDescription
CertificateIssuanceConfig

buildPartial()

public CertificateIssuanceConfig buildPartial()
Returns
TypeDescription
CertificateIssuanceConfig

clear()

public CertificateIssuanceConfig.Builder clear()
Returns
TypeDescription
CertificateIssuanceConfig.Builder
Overrides

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
TypeDescription
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
TypeDescription
CertificateIssuanceConfig.Builder

clearDescription()

public CertificateIssuanceConfig.Builder clearDescription()

One or more paragraphs of text description of a CertificateIssuanceConfig.

string description = 5;

Returns
TypeDescription
CertificateIssuanceConfig.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

public CertificateIssuanceConfig.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
CertificateIssuanceConfig.Builder
Overrides

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
TypeDescription
CertificateIssuanceConfig.Builder

This builder for chaining.

clearLabels()

public CertificateIssuanceConfig.Builder clearLabels()
Returns
TypeDescription
CertificateIssuanceConfig.Builder

clearLifetime()

public CertificateIssuanceConfig.Builder clearLifetime()

Required. Workload certificate lifetime requested.

.google.protobuf.Duration lifetime = 7 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
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
TypeDescription
CertificateIssuanceConfig.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

public CertificateIssuanceConfig.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
CertificateIssuanceConfig.Builder
Overrides

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
TypeDescription
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
TypeDescription
CertificateIssuanceConfig.Builder

clone()

public CertificateIssuanceConfig.Builder clone()
Returns
TypeDescription
CertificateIssuanceConfig.Builder
Overrides

containsLabels(String key)

public boolean containsLabels(String key)

Set of labels associated with a CertificateIssuanceConfig.

map<string, string> labels = 4;

Parameter
NameDescription
keyString
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
TimestampOrBuilder

getDefaultInstanceForType()

public CertificateIssuanceConfig getDefaultInstanceForType()
Returns
TypeDescription
CertificateIssuanceConfig

getDescription()

public String getDescription()

One or more paragraphs of text description of a CertificateIssuanceConfig.

string description = 5;

Returns
TypeDescription
String

The description.

getDescriptionBytes()

public ByteString getDescriptionBytes()

One or more paragraphs of text description of a CertificateIssuanceConfig.

string description = 5;

Returns
TypeDescription
ByteString

The bytes for description.

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

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
TypeDescription
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
TypeDescription
int

The enum numeric value on the wire for keyAlgorithm.

getLabels() (deprecated)

public Map<String,String> getLabels()

Use #getLabelsMap() instead.

Returns
TypeDescription
Map<String,String>

getLabelsCount()

public int getLabelsCount()

Set of labels associated with a CertificateIssuanceConfig.

map<string, string> labels = 4;

Returns
TypeDescription
int

getLabelsMap()

public Map<String,String> getLabelsMap()

Set of labels associated with a CertificateIssuanceConfig.

map<string, string> labels = 4;

Returns
TypeDescription
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
NameDescription
keyString
defaultValueString
Returns
TypeDescription
String

getLabelsOrThrow(String key)

public String getLabelsOrThrow(String key)

Set of labels associated with a CertificateIssuanceConfig.

map<string, string> labels = 4;

Parameter
NameDescription
keyString
Returns
TypeDescription
String

getLifetime()

public Duration getLifetime()

Required. Workload certificate lifetime requested.

.google.protobuf.Duration lifetime = 7 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
Duration

The lifetime.

getLifetimeBuilder()

public Duration.Builder getLifetimeBuilder()

Required. Workload certificate lifetime requested.

.google.protobuf.Duration lifetime = 7 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
Builder

getLifetimeOrBuilder()

public DurationOrBuilder getLifetimeOrBuilder()

Required. Workload certificate lifetime requested.

.google.protobuf.Duration lifetime = 7 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
DurationOrBuilder

getMutableLabels() (deprecated)

public Map<String,String> getMutableLabels()

Use alternate mutation accessors instead.

Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
boolean

Whether the updateTime field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

internalGetMapFieldReflection(int number)

protected MapFieldReflectionAccessor internalGetMapFieldReflection(int number)
Parameter
NameDescription
numberint
Returns
TypeDescription
com.google.protobuf.MapFieldReflectionAccessor
Overrides
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMapFieldReflection(int)

internalGetMutableMapFieldReflection(int number)

protected MapFieldReflectionAccessor internalGetMutableMapFieldReflection(int number)
Parameter
NameDescription
numberint
Returns
TypeDescription
com.google.protobuf.MapFieldReflectionAccessor
Overrides
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMutableMapFieldReflection(int)

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

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
NameDescription
valueCertificateIssuanceConfig.CertificateAuthorityConfig
Returns
TypeDescription
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
NameDescription
valueTimestamp
Returns
TypeDescription
CertificateIssuanceConfig.Builder

mergeFrom(CertificateIssuanceConfig other)

public CertificateIssuanceConfig.Builder mergeFrom(CertificateIssuanceConfig other)
Parameter
NameDescription
otherCertificateIssuanceConfig
Returns
TypeDescription
CertificateIssuanceConfig.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public CertificateIssuanceConfig.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
CertificateIssuanceConfig.Builder
Overrides
Exceptions
TypeDescription
IOException

mergeFrom(Message other)

public CertificateIssuanceConfig.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
CertificateIssuanceConfig.Builder
Overrides

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
NameDescription
valueDuration
Returns
TypeDescription
CertificateIssuanceConfig.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

public final CertificateIssuanceConfig.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
CertificateIssuanceConfig.Builder
Overrides

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
NameDescription
valueTimestamp
Returns
TypeDescription
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
NameDescription
valuesMap<String,String>
Returns
TypeDescription
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
NameDescription
keyString
valueString
Returns
TypeDescription
CertificateIssuanceConfig.Builder

removeLabels(String key)

public CertificateIssuanceConfig.Builder removeLabels(String key)

Set of labels associated with a CertificateIssuanceConfig.

map<string, string> labels = 4;

Parameter
NameDescription
keyString
Returns
TypeDescription
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
NameDescription
valueCertificateIssuanceConfig.CertificateAuthorityConfig
Returns
TypeDescription
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
NameDescription
builderForValueCertificateIssuanceConfig.CertificateAuthorityConfig.Builder
Returns
TypeDescription
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
NameDescription
valueTimestamp
Returns
TypeDescription
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
NameDescription
builderForValueBuilder
Returns
TypeDescription
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
NameDescription
valueString

The description to set.

Returns
TypeDescription
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
NameDescription
valueByteString

The bytes for description to set.

Returns
TypeDescription
CertificateIssuanceConfig.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

public CertificateIssuanceConfig.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
CertificateIssuanceConfig.Builder
Overrides

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
NameDescription
valueCertificateIssuanceConfig.KeyAlgorithm

The keyAlgorithm to set.

Returns
TypeDescription
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
NameDescription
valueint

The enum numeric value on the wire for keyAlgorithm to set.

Returns
TypeDescription
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
NameDescription
valueDuration
Returns
TypeDescription
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
NameDescription
builderForValueBuilder
Returns
TypeDescription
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
NameDescription
valueString

The name to set.

Returns
TypeDescription
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
NameDescription
valueByteString

The bytes for name to set.

Returns
TypeDescription
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
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
CertificateIssuanceConfig.Builder
Overrides

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
NameDescription
valueint

The rotationWindowPercentage to set.

Returns
TypeDescription
CertificateIssuanceConfig.Builder

This builder for chaining.

setUnknownFields(UnknownFieldSet unknownFields)

public final CertificateIssuanceConfig.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
CertificateIssuanceConfig.Builder
Overrides

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
NameDescription
valueTimestamp
Returns
TypeDescription
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
NameDescription
builderForValueBuilder
Returns
TypeDescription
CertificateIssuanceConfig.Builder