Class CertificateAuthority.CertificateAuthorityPolicy.Builder (2.60.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
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMutableMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.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>

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

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

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

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

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
Overrides

build()

public CertificateAuthority.CertificateAuthorityPolicy build()

buildPartial()

public CertificateAuthority.CertificateAuthorityPolicy buildPartial()

clear()

public CertificateAuthority.CertificateAuthorityPolicy.Builder clear()
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];

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];

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];

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];

clearConfigPolicy()

public CertificateAuthority.CertificateAuthorityPolicy.Builder clearConfigPolicy()

clearField(Descriptors.FieldDescriptor field)

public CertificateAuthority.CertificateAuthorityPolicy.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
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];

clearOneof(Descriptors.OneofDescriptor oneof)

public CertificateAuthority.CertificateAuthorityPolicy.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
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];

clone()

public CertificateAuthority.CertificateAuthorityPolicy.Builder clone()
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];

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];

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];

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];

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];

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];

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];

getConfigPolicyCase()

public CertificateAuthority.CertificateAuthorityPolicy.ConfigPolicyCase getConfigPolicyCase()

getDefaultInstanceForType()

public CertificateAuthority.CertificateAuthorityPolicy getDefaultInstanceForType()

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];

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];

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];

mergeFrom(CertificateAuthority.CertificateAuthorityPolicy other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

public CertificateAuthority.CertificateAuthorityPolicy.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
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

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

mergeUnknownFields(UnknownFieldSet unknownFields)

public final CertificateAuthority.CertificateAuthorityPolicy.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
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

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];

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];

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];

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];

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

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

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];

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];

setField(Descriptors.FieldDescriptor field, Object value)

public CertificateAuthority.CertificateAuthorityPolicy.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
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

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

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

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

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
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

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