Class CertificateAuthority.CertificateAuthorityPolicy.Builder (2.5.1)

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
TypeDescription
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
NameDescription
valuesIterable<String>

The allowedCommonNames to add.

Returns
TypeDescription
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
NameDescription
valuesIterable<? extends com.google.cloud.security.privateca.v1beta1.Subject>
Returns
TypeDescription
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
NameDescription
valueString

The allowedCommonNames to add.

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

The bytes of the allowedCommonNames to add.

Returns
TypeDescription
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
NameDescription
valueSubject
Returns
TypeDescription
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
NameDescription
builderForValueSubject.Builder
Returns
TypeDescription
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
NameDescription
indexint
valueSubject
Returns
TypeDescription
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
NameDescription
indexint
builderForValueSubject.Builder
Returns
TypeDescription
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
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
Subject.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public CertificateAuthority.CertificateAuthorityPolicy build()
Returns
TypeDescription
CertificateAuthority.CertificateAuthorityPolicy

buildPartial()

public CertificateAuthority.CertificateAuthorityPolicy buildPartial()
Returns
TypeDescription
CertificateAuthority.CertificateAuthorityPolicy

clear()

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

clearConfigPolicy()

public CertificateAuthority.CertificateAuthorityPolicy.Builder clearConfigPolicy()
Returns
TypeDescription
CertificateAuthority.CertificateAuthorityPolicy.Builder

clearField(Descriptors.FieldDescriptor field)

public CertificateAuthority.CertificateAuthorityPolicy.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
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
TypeDescription
CertificateAuthority.CertificateAuthorityPolicy.Builder

clearOneof(Descriptors.OneofDescriptor oneof)

public CertificateAuthority.CertificateAuthorityPolicy.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
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
TypeDescription
CertificateAuthority.CertificateAuthorityPolicy.Builder

clone()

public CertificateAuthority.CertificateAuthorityPolicy.Builder clone()
Returns
TypeDescription
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
NameDescription
indexint

The index of the element to return.

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

The index of the value to return.

Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
CertificateAuthority.CertificateAuthorityPolicy.AllowedSubjectAltNamesOrBuilder

getConfigPolicyCase()

public CertificateAuthority.CertificateAuthorityPolicy.ConfigPolicyCase getConfigPolicyCase()
Returns
TypeDescription
CertificateAuthority.CertificateAuthorityPolicy.ConfigPolicyCase

getDefaultInstanceForType()

public CertificateAuthority.CertificateAuthorityPolicy getDefaultInstanceForType()
Returns
TypeDescription
CertificateAuthority.CertificateAuthorityPolicy

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
boolean

Whether the overwriteConfigValues field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
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
NameDescription
valueCertificateAuthority.CertificateAuthorityPolicy.AllowedConfigList
Returns
TypeDescription
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
NameDescription
valueCertificateAuthority.CertificateAuthorityPolicy.IssuanceModes
Returns
TypeDescription
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
NameDescription
valueCertificateAuthority.CertificateAuthorityPolicy.AllowedSubjectAltNames
Returns
TypeDescription
CertificateAuthority.CertificateAuthorityPolicy.Builder

mergeFrom(CertificateAuthority.CertificateAuthorityPolicy other)

public CertificateAuthority.CertificateAuthorityPolicy.Builder mergeFrom(CertificateAuthority.CertificateAuthorityPolicy other)
Parameter
NameDescription
otherCertificateAuthority.CertificateAuthorityPolicy
Returns
TypeDescription
CertificateAuthority.CertificateAuthorityPolicy.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

public CertificateAuthority.CertificateAuthorityPolicy.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
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
NameDescription
valueDuration
Returns
TypeDescription
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
NameDescription
valueReusableConfigWrapper
Returns
TypeDescription
CertificateAuthority.CertificateAuthorityPolicy.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

public final CertificateAuthority.CertificateAuthorityPolicy.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
NameDescription
indexint

The index to set the value at.

valueString

The allowedCommonNames to set.

Returns
TypeDescription
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
NameDescription
valueCertificateAuthority.CertificateAuthorityPolicy.AllowedConfigList
Returns
TypeDescription
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
NameDescription
builderForValueCertificateAuthority.CertificateAuthorityPolicy.AllowedConfigList.Builder
Returns
TypeDescription
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
NameDescription
valueCertificateAuthority.CertificateAuthorityPolicy.IssuanceModes
Returns
TypeDescription
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
NameDescription
builderForValueCertificateAuthority.CertificateAuthorityPolicy.IssuanceModes.Builder
Returns
TypeDescription
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
NameDescription
indexint
valueSubject
Returns
TypeDescription
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
NameDescription
indexint
builderForValueSubject.Builder
Returns
TypeDescription
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
NameDescription
valueCertificateAuthority.CertificateAuthorityPolicy.AllowedSubjectAltNames
Returns
TypeDescription
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
NameDescription
builderForValueCertificateAuthority.CertificateAuthorityPolicy.AllowedSubjectAltNames.Builder
Returns
TypeDescription
CertificateAuthority.CertificateAuthorityPolicy.Builder

setField(Descriptors.FieldDescriptor field, Object value)

public CertificateAuthority.CertificateAuthorityPolicy.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
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
NameDescription
valueDuration
Returns
TypeDescription
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
NameDescription
builderForValueBuilder
Returns
TypeDescription
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
NameDescription
valueReusableConfigWrapper
Returns
TypeDescription
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
NameDescription
builderForValueReusableConfigWrapper.Builder
Returns
TypeDescription
CertificateAuthority.CertificateAuthorityPolicy.Builder

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

public CertificateAuthority.CertificateAuthorityPolicy.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
CertificateAuthority.CertificateAuthorityPolicy.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

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