Class CertificateAuthority.CertificateAuthorityPolicy.Builder (2.48.0)

public static final class CertificateAuthority.CertificateAuthorityPolicy.Builder extends GeneratedMessageV3.Builder<CertificateAuthority.CertificateAuthorityPolicy.Builder> implements CertificateAuthority.CertificateAuthorityPolicyOrBuilder

The issuing policy for a CertificateAuthority. Certificates will not be successfully issued from this CertificateAuthority if they violate the policy.

Protobuf type google.cloud.security.privateca.v1beta1.CertificateAuthority.CertificateAuthorityPolicy

Inheritance

Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > CertificateAuthority.CertificateAuthorityPolicy.Builder

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

Methods

addAllAllowedCommonNames(Iterable<String> values)

public CertificateAuthority.CertificateAuthorityPolicy.Builder addAllAllowedCommonNames(Iterable<String> values)

Optional. If any value is specified here, then all Certificates issued by the CertificateAuthority must match at least one listed value. If no value is specified, all values will be allowed for this fied. Glob patterns are also supported.

repeated string allowed_common_names = 4 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
values Iterable<String>

The allowedCommonNames to add.

Returns
Type Description
CertificateAuthority.CertificateAuthorityPolicy.Builder

This builder for chaining.

addAllAllowedLocationsAndOrganizations(Iterable<? extends Subject> values)

public CertificateAuthority.CertificateAuthorityPolicy.Builder addAllAllowedLocationsAndOrganizations(Iterable<? extends Subject> values)

Optional. If any Subject is specified here, then all Certificates issued by the CertificateAuthority must match at least one listed Subject. If a Subject has an empty field, any value will be allowed for that field.

repeated .google.cloud.security.privateca.v1beta1.Subject allowed_locations_and_organizations = 3 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
values Iterable<? extends com.google.cloud.security.privateca.v1beta1.Subject>
Returns
Type Description
CertificateAuthority.CertificateAuthorityPolicy.Builder

addAllowedCommonNames(String value)

public CertificateAuthority.CertificateAuthorityPolicy.Builder addAllowedCommonNames(String value)

Optional. If any value is specified here, then all Certificates issued by the CertificateAuthority must match at least one listed value. If no value is specified, all values will be allowed for this fied. Glob patterns are also supported.

repeated string allowed_common_names = 4 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value String

The allowedCommonNames to add.

Returns
Type Description
CertificateAuthority.CertificateAuthorityPolicy.Builder

This builder for chaining.

addAllowedCommonNamesBytes(ByteString value)

public CertificateAuthority.CertificateAuthorityPolicy.Builder addAllowedCommonNamesBytes(ByteString value)

Optional. If any value is specified here, then all Certificates issued by the CertificateAuthority must match at least one listed value. If no value is specified, all values will be allowed for this fied. Glob patterns are also supported.

repeated string allowed_common_names = 4 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value ByteString

The bytes of the allowedCommonNames to add.

Returns
Type Description
CertificateAuthority.CertificateAuthorityPolicy.Builder

This builder for chaining.

addAllowedLocationsAndOrganizations(Subject value)

public CertificateAuthority.CertificateAuthorityPolicy.Builder addAllowedLocationsAndOrganizations(Subject value)

Optional. If any Subject is specified here, then all Certificates issued by the CertificateAuthority must match at least one listed Subject. If a Subject has an empty field, any value will be allowed for that field.

repeated .google.cloud.security.privateca.v1beta1.Subject allowed_locations_and_organizations = 3 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value Subject
Returns
Type Description
CertificateAuthority.CertificateAuthorityPolicy.Builder

addAllowedLocationsAndOrganizations(Subject.Builder builderForValue)

public CertificateAuthority.CertificateAuthorityPolicy.Builder addAllowedLocationsAndOrganizations(Subject.Builder builderForValue)

Optional. If any Subject is specified here, then all Certificates issued by the CertificateAuthority must match at least one listed Subject. If a Subject has an empty field, any value will be allowed for that field.

repeated .google.cloud.security.privateca.v1beta1.Subject allowed_locations_and_organizations = 3 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
builderForValue Subject.Builder
Returns
Type Description
CertificateAuthority.CertificateAuthorityPolicy.Builder

addAllowedLocationsAndOrganizations(int index, Subject value)

public CertificateAuthority.CertificateAuthorityPolicy.Builder addAllowedLocationsAndOrganizations(int index, Subject value)

Optional. If any Subject is specified here, then all Certificates issued by the CertificateAuthority must match at least one listed Subject. If a Subject has an empty field, any value will be allowed for that field.

repeated .google.cloud.security.privateca.v1beta1.Subject allowed_locations_and_organizations = 3 [(.google.api.field_behavior) = OPTIONAL];

Parameters
Name Description
index int
value Subject
Returns
Type Description
CertificateAuthority.CertificateAuthorityPolicy.Builder

addAllowedLocationsAndOrganizations(int index, Subject.Builder builderForValue)

public CertificateAuthority.CertificateAuthorityPolicy.Builder addAllowedLocationsAndOrganizations(int index, Subject.Builder builderForValue)

Optional. If any Subject is specified here, then all Certificates issued by the CertificateAuthority must match at least one listed Subject. If a Subject has an empty field, any value will be allowed for that field.

repeated .google.cloud.security.privateca.v1beta1.Subject allowed_locations_and_organizations = 3 [(.google.api.field_behavior) = OPTIONAL];

Parameters
Name Description
index int
builderForValue Subject.Builder
Returns
Type Description
CertificateAuthority.CertificateAuthorityPolicy.Builder

addAllowedLocationsAndOrganizationsBuilder()

public Subject.Builder addAllowedLocationsAndOrganizationsBuilder()

Optional. If any Subject is specified here, then all Certificates issued by the CertificateAuthority must match at least one listed Subject. If a Subject has an empty field, any value will be allowed for that field.

repeated .google.cloud.security.privateca.v1beta1.Subject allowed_locations_and_organizations = 3 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
Subject.Builder

addAllowedLocationsAndOrganizationsBuilder(int index)

public Subject.Builder addAllowedLocationsAndOrganizationsBuilder(int index)

Optional. If any Subject is specified here, then all Certificates issued by the CertificateAuthority must match at least one listed Subject. If a Subject has an empty field, any value will be allowed for that field.

repeated .google.cloud.security.privateca.v1beta1.Subject allowed_locations_and_organizations = 3 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
index int
Returns
Type Description
Subject.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public CertificateAuthority.CertificateAuthorityPolicy.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
CertificateAuthority.CertificateAuthorityPolicy.Builder
Overrides

build()

public CertificateAuthority.CertificateAuthorityPolicy build()
Returns
Type Description
CertificateAuthority.CertificateAuthorityPolicy

buildPartial()

public CertificateAuthority.CertificateAuthorityPolicy buildPartial()
Returns
Type Description
CertificateAuthority.CertificateAuthorityPolicy

clear()

public CertificateAuthority.CertificateAuthorityPolicy.Builder clear()
Returns
Type Description
CertificateAuthority.CertificateAuthorityPolicy.Builder
Overrides

clearAllowedCommonNames()

public CertificateAuthority.CertificateAuthorityPolicy.Builder clearAllowedCommonNames()

Optional. If any value is specified here, then all Certificates issued by the CertificateAuthority must match at least one listed value. If no value is specified, all values will be allowed for this fied. Glob patterns are also supported.

repeated string allowed_common_names = 4 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
CertificateAuthority.CertificateAuthorityPolicy.Builder

This builder for chaining.

clearAllowedConfigList()

public CertificateAuthority.CertificateAuthorityPolicy.Builder clearAllowedConfigList()

Optional. All Certificates issued by the CertificateAuthority must match at least one listed ReusableConfigWrapper in the list.

.google.cloud.security.privateca.v1beta1.CertificateAuthority.CertificateAuthorityPolicy.AllowedConfigList allowed_config_list = 1 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
CertificateAuthority.CertificateAuthorityPolicy.Builder

clearAllowedIssuanceModes()

public CertificateAuthority.CertificateAuthorityPolicy.Builder clearAllowedIssuanceModes()

Optional. If specified, then only methods allowed in the IssuanceModes may be used to issue Certificates.

.google.cloud.security.privateca.v1beta1.CertificateAuthority.CertificateAuthorityPolicy.IssuanceModes allowed_issuance_modes = 8 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
CertificateAuthority.CertificateAuthorityPolicy.Builder

clearAllowedLocationsAndOrganizations()

public CertificateAuthority.CertificateAuthorityPolicy.Builder clearAllowedLocationsAndOrganizations()

Optional. If any Subject is specified here, then all Certificates issued by the CertificateAuthority must match at least one listed Subject. If a Subject has an empty field, any value will be allowed for that field.

repeated .google.cloud.security.privateca.v1beta1.Subject allowed_locations_and_organizations = 3 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
CertificateAuthority.CertificateAuthorityPolicy.Builder

clearAllowedSans()

public CertificateAuthority.CertificateAuthorityPolicy.Builder clearAllowedSans()

Optional. If a AllowedSubjectAltNames is specified here, then all Certificates issued by the CertificateAuthority must match AllowedSubjectAltNames. If no value or an empty value is specified, any value will be allowed for the SubjectAltNames field.

.google.cloud.security.privateca.v1beta1.CertificateAuthority.CertificateAuthorityPolicy.AllowedSubjectAltNames allowed_sans = 5 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
CertificateAuthority.CertificateAuthorityPolicy.Builder

clearConfigPolicy()

public CertificateAuthority.CertificateAuthorityPolicy.Builder clearConfigPolicy()
Returns
Type Description
CertificateAuthority.CertificateAuthorityPolicy.Builder

clearField(Descriptors.FieldDescriptor field)

public CertificateAuthority.CertificateAuthorityPolicy.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
CertificateAuthority.CertificateAuthorityPolicy.Builder
Overrides

clearMaximumLifetime()

public CertificateAuthority.CertificateAuthorityPolicy.Builder clearMaximumLifetime()

Optional. The maximum lifetime allowed by the CertificateAuthority. Note that if the any part if the issuing chain expires before a Certificate's requested maximum_lifetime, the effective lifetime will be explicitly truncated.

.google.protobuf.Duration maximum_lifetime = 6 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
CertificateAuthority.CertificateAuthorityPolicy.Builder

clearOneof(Descriptors.OneofDescriptor oneof)

public CertificateAuthority.CertificateAuthorityPolicy.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
CertificateAuthority.CertificateAuthorityPolicy.Builder
Overrides

clearOverwriteConfigValues()

public CertificateAuthority.CertificateAuthorityPolicy.Builder clearOverwriteConfigValues()

Optional. All Certificates issued by the CertificateAuthority will use the provided configuration values, overwriting any requested configuration values.

.google.cloud.security.privateca.v1beta1.ReusableConfigWrapper overwrite_config_values = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
CertificateAuthority.CertificateAuthorityPolicy.Builder

clone()

public CertificateAuthority.CertificateAuthorityPolicy.Builder clone()
Returns
Type Description
CertificateAuthority.CertificateAuthorityPolicy.Builder
Overrides

getAllowedCommonNames(int index)

public String getAllowedCommonNames(int index)

Optional. If any value is specified here, then all Certificates issued by the CertificateAuthority must match at least one listed value. If no value is specified, all values will be allowed for this fied. Glob patterns are also supported.

repeated string allowed_common_names = 4 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
index int

The index of the element to return.

Returns
Type Description
String

The allowedCommonNames at the given index.

getAllowedCommonNamesBytes(int index)

public ByteString getAllowedCommonNamesBytes(int index)

Optional. If any value is specified here, then all Certificates issued by the CertificateAuthority must match at least one listed value. If no value is specified, all values will be allowed for this fied. Glob patterns are also supported.

repeated string allowed_common_names = 4 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
index int

The index of the value to return.

Returns
Type Description
ByteString

The bytes of the allowedCommonNames at the given index.

getAllowedCommonNamesCount()

public int getAllowedCommonNamesCount()

Optional. If any value is specified here, then all Certificates issued by the CertificateAuthority must match at least one listed value. If no value is specified, all values will be allowed for this fied. Glob patterns are also supported.

repeated string allowed_common_names = 4 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
int

The count of allowedCommonNames.

getAllowedCommonNamesList()

public ProtocolStringList getAllowedCommonNamesList()

Optional. If any value is specified here, then all Certificates issued by the CertificateAuthority must match at least one listed value. If no value is specified, all values will be allowed for this fied. Glob patterns are also supported.

repeated string allowed_common_names = 4 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
ProtocolStringList

A list containing the allowedCommonNames.

getAllowedConfigList()

public CertificateAuthority.CertificateAuthorityPolicy.AllowedConfigList getAllowedConfigList()

Optional. All Certificates issued by the CertificateAuthority must match at least one listed ReusableConfigWrapper in the list.

.google.cloud.security.privateca.v1beta1.CertificateAuthority.CertificateAuthorityPolicy.AllowedConfigList allowed_config_list = 1 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
CertificateAuthority.CertificateAuthorityPolicy.AllowedConfigList

The allowedConfigList.

getAllowedConfigListBuilder()

public CertificateAuthority.CertificateAuthorityPolicy.AllowedConfigList.Builder getAllowedConfigListBuilder()

Optional. All Certificates issued by the CertificateAuthority must match at least one listed ReusableConfigWrapper in the list.

.google.cloud.security.privateca.v1beta1.CertificateAuthority.CertificateAuthorityPolicy.AllowedConfigList allowed_config_list = 1 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
CertificateAuthority.CertificateAuthorityPolicy.AllowedConfigList.Builder

getAllowedConfigListOrBuilder()

public CertificateAuthority.CertificateAuthorityPolicy.AllowedConfigListOrBuilder getAllowedConfigListOrBuilder()

Optional. All Certificates issued by the CertificateAuthority must match at least one listed ReusableConfigWrapper in the list.

.google.cloud.security.privateca.v1beta1.CertificateAuthority.CertificateAuthorityPolicy.AllowedConfigList allowed_config_list = 1 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
CertificateAuthority.CertificateAuthorityPolicy.AllowedConfigListOrBuilder

getAllowedIssuanceModes()

public CertificateAuthority.CertificateAuthorityPolicy.IssuanceModes getAllowedIssuanceModes()

Optional. If specified, then only methods allowed in the IssuanceModes may be used to issue Certificates.

.google.cloud.security.privateca.v1beta1.CertificateAuthority.CertificateAuthorityPolicy.IssuanceModes allowed_issuance_modes = 8 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
CertificateAuthority.CertificateAuthorityPolicy.IssuanceModes

The allowedIssuanceModes.

getAllowedIssuanceModesBuilder()

public CertificateAuthority.CertificateAuthorityPolicy.IssuanceModes.Builder getAllowedIssuanceModesBuilder()

Optional. If specified, then only methods allowed in the IssuanceModes may be used to issue Certificates.

.google.cloud.security.privateca.v1beta1.CertificateAuthority.CertificateAuthorityPolicy.IssuanceModes allowed_issuance_modes = 8 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
CertificateAuthority.CertificateAuthorityPolicy.IssuanceModes.Builder

getAllowedIssuanceModesOrBuilder()

public CertificateAuthority.CertificateAuthorityPolicy.IssuanceModesOrBuilder getAllowedIssuanceModesOrBuilder()

Optional. If specified, then only methods allowed in the IssuanceModes may be used to issue Certificates.

.google.cloud.security.privateca.v1beta1.CertificateAuthority.CertificateAuthorityPolicy.IssuanceModes allowed_issuance_modes = 8 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
CertificateAuthority.CertificateAuthorityPolicy.IssuanceModesOrBuilder

getAllowedLocationsAndOrganizations(int index)

public Subject getAllowedLocationsAndOrganizations(int index)

Optional. If any Subject is specified here, then all Certificates issued by the CertificateAuthority must match at least one listed Subject. If a Subject has an empty field, any value will be allowed for that field.

repeated .google.cloud.security.privateca.v1beta1.Subject allowed_locations_and_organizations = 3 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
index int
Returns
Type Description
Subject

getAllowedLocationsAndOrganizationsBuilder(int index)

public Subject.Builder getAllowedLocationsAndOrganizationsBuilder(int index)

Optional. If any Subject is specified here, then all Certificates issued by the CertificateAuthority must match at least one listed Subject. If a Subject has an empty field, any value will be allowed for that field.

repeated .google.cloud.security.privateca.v1beta1.Subject allowed_locations_and_organizations = 3 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
index int
Returns
Type Description
Subject.Builder

getAllowedLocationsAndOrganizationsBuilderList()

public List<Subject.Builder> getAllowedLocationsAndOrganizationsBuilderList()

Optional. If any Subject is specified here, then all Certificates issued by the CertificateAuthority must match at least one listed Subject. If a Subject has an empty field, any value will be allowed for that field.

repeated .google.cloud.security.privateca.v1beta1.Subject allowed_locations_and_organizations = 3 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
List<Builder>

getAllowedLocationsAndOrganizationsCount()

public int getAllowedLocationsAndOrganizationsCount()

Optional. If any Subject is specified here, then all Certificates issued by the CertificateAuthority must match at least one listed Subject. If a Subject has an empty field, any value will be allowed for that field.

repeated .google.cloud.security.privateca.v1beta1.Subject allowed_locations_and_organizations = 3 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
int

getAllowedLocationsAndOrganizationsList()

public List<Subject> getAllowedLocationsAndOrganizationsList()

Optional. If any Subject is specified here, then all Certificates issued by the CertificateAuthority must match at least one listed Subject. If a Subject has an empty field, any value will be allowed for that field.

repeated .google.cloud.security.privateca.v1beta1.Subject allowed_locations_and_organizations = 3 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
List<Subject>

getAllowedLocationsAndOrganizationsOrBuilder(int index)

public SubjectOrBuilder getAllowedLocationsAndOrganizationsOrBuilder(int index)

Optional. If any Subject is specified here, then all Certificates issued by the CertificateAuthority must match at least one listed Subject. If a Subject has an empty field, any value will be allowed for that field.

repeated .google.cloud.security.privateca.v1beta1.Subject allowed_locations_and_organizations = 3 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
index int
Returns
Type Description
SubjectOrBuilder

getAllowedLocationsAndOrganizationsOrBuilderList()

public List<? extends SubjectOrBuilder> getAllowedLocationsAndOrganizationsOrBuilderList()

Optional. If any Subject is specified here, then all Certificates issued by the CertificateAuthority must match at least one listed Subject. If a Subject has an empty field, any value will be allowed for that field.

repeated .google.cloud.security.privateca.v1beta1.Subject allowed_locations_and_organizations = 3 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
List<? extends com.google.cloud.security.privateca.v1beta1.SubjectOrBuilder>

getAllowedSans()

public CertificateAuthority.CertificateAuthorityPolicy.AllowedSubjectAltNames getAllowedSans()

Optional. If a AllowedSubjectAltNames is specified here, then all Certificates issued by the CertificateAuthority must match AllowedSubjectAltNames. If no value or an empty value is specified, any value will be allowed for the SubjectAltNames field.

.google.cloud.security.privateca.v1beta1.CertificateAuthority.CertificateAuthorityPolicy.AllowedSubjectAltNames allowed_sans = 5 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
CertificateAuthority.CertificateAuthorityPolicy.AllowedSubjectAltNames

The allowedSans.

getAllowedSansBuilder()

public CertificateAuthority.CertificateAuthorityPolicy.AllowedSubjectAltNames.Builder getAllowedSansBuilder()

Optional. If a AllowedSubjectAltNames is specified here, then all Certificates issued by the CertificateAuthority must match AllowedSubjectAltNames. If no value or an empty value is specified, any value will be allowed for the SubjectAltNames field.

.google.cloud.security.privateca.v1beta1.CertificateAuthority.CertificateAuthorityPolicy.AllowedSubjectAltNames allowed_sans = 5 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
CertificateAuthority.CertificateAuthorityPolicy.AllowedSubjectAltNames.Builder

getAllowedSansOrBuilder()

public CertificateAuthority.CertificateAuthorityPolicy.AllowedSubjectAltNamesOrBuilder getAllowedSansOrBuilder()

Optional. If a AllowedSubjectAltNames is specified here, then all Certificates issued by the CertificateAuthority must match AllowedSubjectAltNames. If no value or an empty value is specified, any value will be allowed for the SubjectAltNames field.

.google.cloud.security.privateca.v1beta1.CertificateAuthority.CertificateAuthorityPolicy.AllowedSubjectAltNames allowed_sans = 5 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
CertificateAuthority.CertificateAuthorityPolicy.AllowedSubjectAltNamesOrBuilder

getConfigPolicyCase()

public CertificateAuthority.CertificateAuthorityPolicy.ConfigPolicyCase getConfigPolicyCase()
Returns
Type Description
CertificateAuthority.CertificateAuthorityPolicy.ConfigPolicyCase

getDefaultInstanceForType()

public CertificateAuthority.CertificateAuthorityPolicy getDefaultInstanceForType()
Returns
Type Description
CertificateAuthority.CertificateAuthorityPolicy

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

getMaximumLifetime()

public Duration getMaximumLifetime()

Optional. The maximum lifetime allowed by the CertificateAuthority. Note that if the any part if the issuing chain expires before a Certificate's requested maximum_lifetime, the effective lifetime will be explicitly truncated.

.google.protobuf.Duration maximum_lifetime = 6 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
Duration

The maximumLifetime.

getMaximumLifetimeBuilder()

public Duration.Builder getMaximumLifetimeBuilder()

Optional. The maximum lifetime allowed by the CertificateAuthority. Note that if the any part if the issuing chain expires before a Certificate's requested maximum_lifetime, the effective lifetime will be explicitly truncated.

.google.protobuf.Duration maximum_lifetime = 6 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
Builder

getMaximumLifetimeOrBuilder()

public DurationOrBuilder getMaximumLifetimeOrBuilder()

Optional. The maximum lifetime allowed by the CertificateAuthority. Note that if the any part if the issuing chain expires before a Certificate's requested maximum_lifetime, the effective lifetime will be explicitly truncated.

.google.protobuf.Duration maximum_lifetime = 6 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
DurationOrBuilder

getOverwriteConfigValues()

public ReusableConfigWrapper getOverwriteConfigValues()

Optional. All Certificates issued by the CertificateAuthority will use the provided configuration values, overwriting any requested configuration values.

.google.cloud.security.privateca.v1beta1.ReusableConfigWrapper overwrite_config_values = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
ReusableConfigWrapper

The overwriteConfigValues.

getOverwriteConfigValuesBuilder()

public ReusableConfigWrapper.Builder getOverwriteConfigValuesBuilder()

Optional. All Certificates issued by the CertificateAuthority will use the provided configuration values, overwriting any requested configuration values.

.google.cloud.security.privateca.v1beta1.ReusableConfigWrapper overwrite_config_values = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
ReusableConfigWrapper.Builder

getOverwriteConfigValuesOrBuilder()

public ReusableConfigWrapperOrBuilder getOverwriteConfigValuesOrBuilder()

Optional. All Certificates issued by the CertificateAuthority will use the provided configuration values, overwriting any requested configuration values.

.google.cloud.security.privateca.v1beta1.ReusableConfigWrapper overwrite_config_values = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
ReusableConfigWrapperOrBuilder

hasAllowedConfigList()

public boolean hasAllowedConfigList()

Optional. All Certificates issued by the CertificateAuthority must match at least one listed ReusableConfigWrapper in the list.

.google.cloud.security.privateca.v1beta1.CertificateAuthority.CertificateAuthorityPolicy.AllowedConfigList allowed_config_list = 1 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
boolean

Whether the allowedConfigList field is set.

hasAllowedIssuanceModes()

public boolean hasAllowedIssuanceModes()

Optional. If specified, then only methods allowed in the IssuanceModes may be used to issue Certificates.

.google.cloud.security.privateca.v1beta1.CertificateAuthority.CertificateAuthorityPolicy.IssuanceModes allowed_issuance_modes = 8 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
boolean

Whether the allowedIssuanceModes field is set.

hasAllowedSans()

public boolean hasAllowedSans()

Optional. If a AllowedSubjectAltNames is specified here, then all Certificates issued by the CertificateAuthority must match AllowedSubjectAltNames. If no value or an empty value is specified, any value will be allowed for the SubjectAltNames field.

.google.cloud.security.privateca.v1beta1.CertificateAuthority.CertificateAuthorityPolicy.AllowedSubjectAltNames allowed_sans = 5 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
boolean

Whether the allowedSans field is set.

hasMaximumLifetime()

public boolean hasMaximumLifetime()

Optional. The maximum lifetime allowed by the CertificateAuthority. Note that if the any part if the issuing chain expires before a Certificate's requested maximum_lifetime, the effective lifetime will be explicitly truncated.

.google.protobuf.Duration maximum_lifetime = 6 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
boolean

Whether the maximumLifetime field is set.

hasOverwriteConfigValues()

public boolean hasOverwriteConfigValues()

Optional. All Certificates issued by the CertificateAuthority will use the provided configuration values, overwriting any requested configuration values.

.google.cloud.security.privateca.v1beta1.ReusableConfigWrapper overwrite_config_values = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
boolean

Whether the overwriteConfigValues field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeAllowedConfigList(CertificateAuthority.CertificateAuthorityPolicy.AllowedConfigList value)

public CertificateAuthority.CertificateAuthorityPolicy.Builder mergeAllowedConfigList(CertificateAuthority.CertificateAuthorityPolicy.AllowedConfigList value)

Optional. All Certificates issued by the CertificateAuthority must match at least one listed ReusableConfigWrapper in the list.

.google.cloud.security.privateca.v1beta1.CertificateAuthority.CertificateAuthorityPolicy.AllowedConfigList allowed_config_list = 1 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value CertificateAuthority.CertificateAuthorityPolicy.AllowedConfigList
Returns
Type Description
CertificateAuthority.CertificateAuthorityPolicy.Builder

mergeAllowedIssuanceModes(CertificateAuthority.CertificateAuthorityPolicy.IssuanceModes value)

public CertificateAuthority.CertificateAuthorityPolicy.Builder mergeAllowedIssuanceModes(CertificateAuthority.CertificateAuthorityPolicy.IssuanceModes value)

Optional. If specified, then only methods allowed in the IssuanceModes may be used to issue Certificates.

.google.cloud.security.privateca.v1beta1.CertificateAuthority.CertificateAuthorityPolicy.IssuanceModes allowed_issuance_modes = 8 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value CertificateAuthority.CertificateAuthorityPolicy.IssuanceModes
Returns
Type Description
CertificateAuthority.CertificateAuthorityPolicy.Builder

mergeAllowedSans(CertificateAuthority.CertificateAuthorityPolicy.AllowedSubjectAltNames value)

public CertificateAuthority.CertificateAuthorityPolicy.Builder mergeAllowedSans(CertificateAuthority.CertificateAuthorityPolicy.AllowedSubjectAltNames value)

Optional. If a AllowedSubjectAltNames is specified here, then all Certificates issued by the CertificateAuthority must match AllowedSubjectAltNames. If no value or an empty value is specified, any value will be allowed for the SubjectAltNames field.

.google.cloud.security.privateca.v1beta1.CertificateAuthority.CertificateAuthorityPolicy.AllowedSubjectAltNames allowed_sans = 5 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value CertificateAuthority.CertificateAuthorityPolicy.AllowedSubjectAltNames
Returns
Type Description
CertificateAuthority.CertificateAuthorityPolicy.Builder

mergeFrom(CertificateAuthority.CertificateAuthorityPolicy other)

public CertificateAuthority.CertificateAuthorityPolicy.Builder mergeFrom(CertificateAuthority.CertificateAuthorityPolicy other)
Parameter
Name Description
other CertificateAuthority.CertificateAuthorityPolicy
Returns
Type Description
CertificateAuthority.CertificateAuthorityPolicy.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public CertificateAuthority.CertificateAuthorityPolicy.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
CertificateAuthority.CertificateAuthorityPolicy.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public CertificateAuthority.CertificateAuthorityPolicy.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
CertificateAuthority.CertificateAuthorityPolicy.Builder
Overrides

mergeMaximumLifetime(Duration value)

public CertificateAuthority.CertificateAuthorityPolicy.Builder mergeMaximumLifetime(Duration value)

Optional. The maximum lifetime allowed by the CertificateAuthority. Note that if the any part if the issuing chain expires before a Certificate's requested maximum_lifetime, the effective lifetime will be explicitly truncated.

.google.protobuf.Duration maximum_lifetime = 6 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value Duration
Returns
Type Description
CertificateAuthority.CertificateAuthorityPolicy.Builder

mergeOverwriteConfigValues(ReusableConfigWrapper value)

public CertificateAuthority.CertificateAuthorityPolicy.Builder mergeOverwriteConfigValues(ReusableConfigWrapper value)

Optional. All Certificates issued by the CertificateAuthority will use the provided configuration values, overwriting any requested configuration values.

.google.cloud.security.privateca.v1beta1.ReusableConfigWrapper overwrite_config_values = 2 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value ReusableConfigWrapper
Returns
Type Description
CertificateAuthority.CertificateAuthorityPolicy.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

public final CertificateAuthority.CertificateAuthorityPolicy.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
CertificateAuthority.CertificateAuthorityPolicy.Builder
Overrides

removeAllowedLocationsAndOrganizations(int index)

public CertificateAuthority.CertificateAuthorityPolicy.Builder removeAllowedLocationsAndOrganizations(int index)

Optional. If any Subject is specified here, then all Certificates issued by the CertificateAuthority must match at least one listed Subject. If a Subject has an empty field, any value will be allowed for that field.

repeated .google.cloud.security.privateca.v1beta1.Subject allowed_locations_and_organizations = 3 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
index int
Returns
Type Description
CertificateAuthority.CertificateAuthorityPolicy.Builder

setAllowedCommonNames(int index, String value)

public CertificateAuthority.CertificateAuthorityPolicy.Builder setAllowedCommonNames(int index, String value)

Optional. If any value is specified here, then all Certificates issued by the CertificateAuthority must match at least one listed value. If no value is specified, all values will be allowed for this fied. Glob patterns are also supported.

repeated string allowed_common_names = 4 [(.google.api.field_behavior) = OPTIONAL];

Parameters
Name Description
index int

The index to set the value at.

value String

The allowedCommonNames to set.

Returns
Type Description
CertificateAuthority.CertificateAuthorityPolicy.Builder

This builder for chaining.

setAllowedConfigList(CertificateAuthority.CertificateAuthorityPolicy.AllowedConfigList value)

public CertificateAuthority.CertificateAuthorityPolicy.Builder setAllowedConfigList(CertificateAuthority.CertificateAuthorityPolicy.AllowedConfigList value)

Optional. All Certificates issued by the CertificateAuthority must match at least one listed ReusableConfigWrapper in the list.

.google.cloud.security.privateca.v1beta1.CertificateAuthority.CertificateAuthorityPolicy.AllowedConfigList allowed_config_list = 1 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value CertificateAuthority.CertificateAuthorityPolicy.AllowedConfigList
Returns
Type Description
CertificateAuthority.CertificateAuthorityPolicy.Builder

setAllowedConfigList(CertificateAuthority.CertificateAuthorityPolicy.AllowedConfigList.Builder builderForValue)

public CertificateAuthority.CertificateAuthorityPolicy.Builder setAllowedConfigList(CertificateAuthority.CertificateAuthorityPolicy.AllowedConfigList.Builder builderForValue)

Optional. All Certificates issued by the CertificateAuthority must match at least one listed ReusableConfigWrapper in the list.

.google.cloud.security.privateca.v1beta1.CertificateAuthority.CertificateAuthorityPolicy.AllowedConfigList allowed_config_list = 1 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
builderForValue CertificateAuthority.CertificateAuthorityPolicy.AllowedConfigList.Builder
Returns
Type Description
CertificateAuthority.CertificateAuthorityPolicy.Builder

setAllowedIssuanceModes(CertificateAuthority.CertificateAuthorityPolicy.IssuanceModes value)

public CertificateAuthority.CertificateAuthorityPolicy.Builder setAllowedIssuanceModes(CertificateAuthority.CertificateAuthorityPolicy.IssuanceModes value)

Optional. If specified, then only methods allowed in the IssuanceModes may be used to issue Certificates.

.google.cloud.security.privateca.v1beta1.CertificateAuthority.CertificateAuthorityPolicy.IssuanceModes allowed_issuance_modes = 8 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value CertificateAuthority.CertificateAuthorityPolicy.IssuanceModes
Returns
Type Description
CertificateAuthority.CertificateAuthorityPolicy.Builder

setAllowedIssuanceModes(CertificateAuthority.CertificateAuthorityPolicy.IssuanceModes.Builder builderForValue)

public CertificateAuthority.CertificateAuthorityPolicy.Builder setAllowedIssuanceModes(CertificateAuthority.CertificateAuthorityPolicy.IssuanceModes.Builder builderForValue)

Optional. If specified, then only methods allowed in the IssuanceModes may be used to issue Certificates.

.google.cloud.security.privateca.v1beta1.CertificateAuthority.CertificateAuthorityPolicy.IssuanceModes allowed_issuance_modes = 8 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
builderForValue CertificateAuthority.CertificateAuthorityPolicy.IssuanceModes.Builder
Returns
Type Description
CertificateAuthority.CertificateAuthorityPolicy.Builder

setAllowedLocationsAndOrganizations(int index, Subject value)

public CertificateAuthority.CertificateAuthorityPolicy.Builder setAllowedLocationsAndOrganizations(int index, Subject value)

Optional. If any Subject is specified here, then all Certificates issued by the CertificateAuthority must match at least one listed Subject. If a Subject has an empty field, any value will be allowed for that field.

repeated .google.cloud.security.privateca.v1beta1.Subject allowed_locations_and_organizations = 3 [(.google.api.field_behavior) = OPTIONAL];

Parameters
Name Description
index int
value Subject
Returns
Type Description
CertificateAuthority.CertificateAuthorityPolicy.Builder

setAllowedLocationsAndOrganizations(int index, Subject.Builder builderForValue)

public CertificateAuthority.CertificateAuthorityPolicy.Builder setAllowedLocationsAndOrganizations(int index, Subject.Builder builderForValue)

Optional. If any Subject is specified here, then all Certificates issued by the CertificateAuthority must match at least one listed Subject. If a Subject has an empty field, any value will be allowed for that field.

repeated .google.cloud.security.privateca.v1beta1.Subject allowed_locations_and_organizations = 3 [(.google.api.field_behavior) = OPTIONAL];

Parameters
Name Description
index int
builderForValue Subject.Builder
Returns
Type Description
CertificateAuthority.CertificateAuthorityPolicy.Builder

setAllowedSans(CertificateAuthority.CertificateAuthorityPolicy.AllowedSubjectAltNames value)

public CertificateAuthority.CertificateAuthorityPolicy.Builder setAllowedSans(CertificateAuthority.CertificateAuthorityPolicy.AllowedSubjectAltNames value)

Optional. If a AllowedSubjectAltNames is specified here, then all Certificates issued by the CertificateAuthority must match AllowedSubjectAltNames. If no value or an empty value is specified, any value will be allowed for the SubjectAltNames field.

.google.cloud.security.privateca.v1beta1.CertificateAuthority.CertificateAuthorityPolicy.AllowedSubjectAltNames allowed_sans = 5 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value CertificateAuthority.CertificateAuthorityPolicy.AllowedSubjectAltNames
Returns
Type Description
CertificateAuthority.CertificateAuthorityPolicy.Builder

setAllowedSans(CertificateAuthority.CertificateAuthorityPolicy.AllowedSubjectAltNames.Builder builderForValue)

public CertificateAuthority.CertificateAuthorityPolicy.Builder setAllowedSans(CertificateAuthority.CertificateAuthorityPolicy.AllowedSubjectAltNames.Builder builderForValue)

Optional. If a AllowedSubjectAltNames is specified here, then all Certificates issued by the CertificateAuthority must match AllowedSubjectAltNames. If no value or an empty value is specified, any value will be allowed for the SubjectAltNames field.

.google.cloud.security.privateca.v1beta1.CertificateAuthority.CertificateAuthorityPolicy.AllowedSubjectAltNames allowed_sans = 5 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
builderForValue CertificateAuthority.CertificateAuthorityPolicy.AllowedSubjectAltNames.Builder
Returns
Type Description
CertificateAuthority.CertificateAuthorityPolicy.Builder

setField(Descriptors.FieldDescriptor field, Object value)

public CertificateAuthority.CertificateAuthorityPolicy.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
CertificateAuthority.CertificateAuthorityPolicy.Builder
Overrides

setMaximumLifetime(Duration value)

public CertificateAuthority.CertificateAuthorityPolicy.Builder setMaximumLifetime(Duration value)

Optional. The maximum lifetime allowed by the CertificateAuthority. Note that if the any part if the issuing chain expires before a Certificate's requested maximum_lifetime, the effective lifetime will be explicitly truncated.

.google.protobuf.Duration maximum_lifetime = 6 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value Duration
Returns
Type Description
CertificateAuthority.CertificateAuthorityPolicy.Builder

setMaximumLifetime(Duration.Builder builderForValue)

public CertificateAuthority.CertificateAuthorityPolicy.Builder setMaximumLifetime(Duration.Builder builderForValue)

Optional. The maximum lifetime allowed by the CertificateAuthority. Note that if the any part if the issuing chain expires before a Certificate's requested maximum_lifetime, the effective lifetime will be explicitly truncated.

.google.protobuf.Duration maximum_lifetime = 6 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
builderForValue Builder
Returns
Type Description
CertificateAuthority.CertificateAuthorityPolicy.Builder

setOverwriteConfigValues(ReusableConfigWrapper value)

public CertificateAuthority.CertificateAuthorityPolicy.Builder setOverwriteConfigValues(ReusableConfigWrapper value)

Optional. All Certificates issued by the CertificateAuthority will use the provided configuration values, overwriting any requested configuration values.

.google.cloud.security.privateca.v1beta1.ReusableConfigWrapper overwrite_config_values = 2 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value ReusableConfigWrapper
Returns
Type Description
CertificateAuthority.CertificateAuthorityPolicy.Builder

setOverwriteConfigValues(ReusableConfigWrapper.Builder builderForValue)

public CertificateAuthority.CertificateAuthorityPolicy.Builder setOverwriteConfigValues(ReusableConfigWrapper.Builder builderForValue)

Optional. All Certificates issued by the CertificateAuthority will use the provided configuration values, overwriting any requested configuration values.

.google.cloud.security.privateca.v1beta1.ReusableConfigWrapper overwrite_config_values = 2 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
builderForValue ReusableConfigWrapper.Builder
Returns
Type Description
CertificateAuthority.CertificateAuthorityPolicy.Builder

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public CertificateAuthority.CertificateAuthorityPolicy.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
CertificateAuthority.CertificateAuthorityPolicy.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final CertificateAuthority.CertificateAuthorityPolicy.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
CertificateAuthority.CertificateAuthorityPolicy.Builder
Overrides