Class CertificateAuthority.CertificateAuthorityPolicy
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite
-
- com.google.protobuf.AbstractMessage
-
- com.google.protobuf.GeneratedMessageV3
-
- com.google.cloud.security.privateca.v1beta1.CertificateAuthority.CertificateAuthorityPolicy
-
- All Implemented Interfaces:
CertificateAuthority.CertificateAuthorityPolicyOrBuilder,com.google.protobuf.Message,com.google.protobuf.MessageLite,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Serializable
- Enclosing class:
- CertificateAuthority
public static final class CertificateAuthority.CertificateAuthorityPolicy extends com.google.protobuf.GeneratedMessageV3 implements CertificateAuthority.CertificateAuthorityPolicyOrBuilder
The issuing policy for a [CertificateAuthority][google.cloud.security.privateca.v1beta1.CertificateAuthority]. [Certificates][google.cloud.security.privateca.v1beta1.Certificate] will not be successfully issued from this [CertificateAuthority][google.cloud.security.privateca.v1beta1.CertificateAuthority] if they violate the policy.
Protobuf typegoogle.cloud.security.privateca.v1beta1.CertificateAuthority.CertificateAuthorityPolicy- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classCertificateAuthority.CertificateAuthorityPolicy.AllowedConfigListProtobuf typegoogle.cloud.security.privateca.v1beta1.CertificateAuthority.CertificateAuthorityPolicy.AllowedConfigListstatic interfaceCertificateAuthority.CertificateAuthorityPolicy.AllowedConfigListOrBuilderstatic classCertificateAuthority.CertificateAuthorityPolicy.AllowedSubjectAltNames[AllowedSubjectAltNames][google.cloud.security.privateca.v1beta1.CertificateAuthority.CertificateAuthorityPolicy.AllowedSubjectAltNames] specifies the allowed values for [SubjectAltNames][google.cloud.security.privateca.v1beta1.SubjectAltNames] by the [CertificateAuthority][google.cloud.security.privateca.v1beta1.CertificateAuthority] when issuing [Certificates][google.cloud.security.privateca.v1beta1.Certificate].static interfaceCertificateAuthority.CertificateAuthorityPolicy.AllowedSubjectAltNamesOrBuilderstatic classCertificateAuthority.CertificateAuthorityPolicy.BuilderThe issuing policy for a [CertificateAuthority][google.cloud.security.privateca.v1beta1.CertificateAuthority].static classCertificateAuthority.CertificateAuthorityPolicy.ConfigPolicyCasestatic classCertificateAuthority.CertificateAuthorityPolicy.IssuanceModes[IssuanceModes][google.cloud.security.privateca.v1beta1.CertificateAuthority.CertificateAuthorityPolicy.IssuanceModes] specifies the allowed ways in which [Certificates][google.cloud.security.privateca.v1beta1.Certificate] may be requested from this [CertificateAuthority][google.cloud.security.privateca.v1beta1.CertificateAuthority].static interfaceCertificateAuthority.CertificateAuthorityPolicy.IssuanceModesOrBuilder-
Nested classes/interfaces inherited from class com.google.protobuf.GeneratedMessageV3
com.google.protobuf.GeneratedMessageV3.BuilderParent, com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>,BuilderT extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT,BuilderT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.FieldAccessorTable, com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter
-
-
Field Summary
Fields Modifier and Type Field Description static intALLOWED_COMMON_NAMES_FIELD_NUMBERstatic intALLOWED_CONFIG_LIST_FIELD_NUMBERstatic intALLOWED_ISSUANCE_MODES_FIELD_NUMBERstatic intALLOWED_LOCATIONS_AND_ORGANIZATIONS_FIELD_NUMBERstatic intALLOWED_SANS_FIELD_NUMBERstatic intMAXIMUM_LIFETIME_FIELD_NUMBERstatic intOVERWRITE_CONFIG_VALUES_FIELD_NUMBER
-
Method Summary
-
Methods inherited from class com.google.protobuf.GeneratedMessageV3
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, isStringEmpty, makeExtensionsImmutable, makeMutableCopy, mergeFromAndMakeImmutableInternal, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, newBooleanList, newBuilderForType, newDoubleList, newFloatList, newIntList, newLongList, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTag
-
Methods inherited from class com.google.protobuf.AbstractMessage
findInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toString
-
Methods inherited from class com.google.protobuf.AbstractMessageLite
addAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeTo
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
-
-
-
Field Detail
-
ALLOWED_CONFIG_LIST_FIELD_NUMBER
public static final int ALLOWED_CONFIG_LIST_FIELD_NUMBER
- See Also:
- Constant Field Values
-
OVERWRITE_CONFIG_VALUES_FIELD_NUMBER
public static final int OVERWRITE_CONFIG_VALUES_FIELD_NUMBER
- See Also:
- Constant Field Values
-
ALLOWED_LOCATIONS_AND_ORGANIZATIONS_FIELD_NUMBER
public static final int ALLOWED_LOCATIONS_AND_ORGANIZATIONS_FIELD_NUMBER
- See Also:
- Constant Field Values
-
ALLOWED_COMMON_NAMES_FIELD_NUMBER
public static final int ALLOWED_COMMON_NAMES_FIELD_NUMBER
- See Also:
- Constant Field Values
-
ALLOWED_SANS_FIELD_NUMBER
public static final int ALLOWED_SANS_FIELD_NUMBER
- See Also:
- Constant Field Values
-
MAXIMUM_LIFETIME_FIELD_NUMBER
public static final int MAXIMUM_LIFETIME_FIELD_NUMBER
- See Also:
- Constant Field Values
-
ALLOWED_ISSUANCE_MODES_FIELD_NUMBER
public static final int ALLOWED_ISSUANCE_MODES_FIELD_NUMBER
- See Also:
- Constant Field Values
-
-
Method Detail
-
newInstance
protected Object newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
- Overrides:
newInstancein classcom.google.protobuf.GeneratedMessageV3
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessageV3
-
getConfigPolicyCase
public CertificateAuthority.CertificateAuthorityPolicy.ConfigPolicyCase getConfigPolicyCase()
- Specified by:
getConfigPolicyCasein interfaceCertificateAuthority.CertificateAuthorityPolicyOrBuilder
-
hasAllowedConfigList
public boolean hasAllowedConfigList()
Optional. All [Certificates][google.cloud.security.privateca.v1beta1.Certificate] issued by the [CertificateAuthority][google.cloud.security.privateca.v1beta1.CertificateAuthority] must match at least one listed [ReusableConfigWrapper][google.cloud.security.privateca.v1beta1.ReusableConfigWrapper] in the list.
.google.cloud.security.privateca.v1beta1.CertificateAuthority.CertificateAuthorityPolicy.AllowedConfigList allowed_config_list = 1 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
hasAllowedConfigListin interfaceCertificateAuthority.CertificateAuthorityPolicyOrBuilder- Returns:
- Whether the allowedConfigList field is set.
-
getAllowedConfigList
public CertificateAuthority.CertificateAuthorityPolicy.AllowedConfigList getAllowedConfigList()
Optional. All [Certificates][google.cloud.security.privateca.v1beta1.Certificate] issued by the [CertificateAuthority][google.cloud.security.privateca.v1beta1.CertificateAuthority] must match at least one listed [ReusableConfigWrapper][google.cloud.security.privateca.v1beta1.ReusableConfigWrapper] in the list.
.google.cloud.security.privateca.v1beta1.CertificateAuthority.CertificateAuthorityPolicy.AllowedConfigList allowed_config_list = 1 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getAllowedConfigListin interfaceCertificateAuthority.CertificateAuthorityPolicyOrBuilder- Returns:
- The allowedConfigList.
-
getAllowedConfigListOrBuilder
public CertificateAuthority.CertificateAuthorityPolicy.AllowedConfigListOrBuilder getAllowedConfigListOrBuilder()
Optional. All [Certificates][google.cloud.security.privateca.v1beta1.Certificate] issued by the [CertificateAuthority][google.cloud.security.privateca.v1beta1.CertificateAuthority] must match at least one listed [ReusableConfigWrapper][google.cloud.security.privateca.v1beta1.ReusableConfigWrapper] in the list.
.google.cloud.security.privateca.v1beta1.CertificateAuthority.CertificateAuthorityPolicy.AllowedConfigList allowed_config_list = 1 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getAllowedConfigListOrBuilderin interfaceCertificateAuthority.CertificateAuthorityPolicyOrBuilder
-
hasOverwriteConfigValues
public boolean hasOverwriteConfigValues()
Optional. All [Certificates][google.cloud.security.privateca.v1beta1.Certificate] issued by the [CertificateAuthority][google.cloud.security.privateca.v1beta1.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];- Specified by:
hasOverwriteConfigValuesin interfaceCertificateAuthority.CertificateAuthorityPolicyOrBuilder- Returns:
- Whether the overwriteConfigValues field is set.
-
getOverwriteConfigValues
public ReusableConfigWrapper getOverwriteConfigValues()
Optional. All [Certificates][google.cloud.security.privateca.v1beta1.Certificate] issued by the [CertificateAuthority][google.cloud.security.privateca.v1beta1.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];- Specified by:
getOverwriteConfigValuesin interfaceCertificateAuthority.CertificateAuthorityPolicyOrBuilder- Returns:
- The overwriteConfigValues.
-
getOverwriteConfigValuesOrBuilder
public ReusableConfigWrapperOrBuilder getOverwriteConfigValuesOrBuilder()
Optional. All [Certificates][google.cloud.security.privateca.v1beta1.Certificate] issued by the [CertificateAuthority][google.cloud.security.privateca.v1beta1.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];- Specified by:
getOverwriteConfigValuesOrBuilderin interfaceCertificateAuthority.CertificateAuthorityPolicyOrBuilder
-
getAllowedLocationsAndOrganizationsList
public List<Subject> getAllowedLocationsAndOrganizationsList()
Optional. If any [Subject][google.cloud.security.privateca.v1beta1.Subject] is specified here, then all [Certificates][google.cloud.security.privateca.v1beta1.Certificate] issued by the [CertificateAuthority][google.cloud.security.privateca.v1beta1.CertificateAuthority] must match at least one listed [Subject][google.cloud.security.privateca.v1beta1.Subject]. If a [Subject][google.cloud.security.privateca.v1beta1.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];- Specified by:
getAllowedLocationsAndOrganizationsListin interfaceCertificateAuthority.CertificateAuthorityPolicyOrBuilder
-
getAllowedLocationsAndOrganizationsOrBuilderList
public List<? extends SubjectOrBuilder> getAllowedLocationsAndOrganizationsOrBuilderList()
Optional. If any [Subject][google.cloud.security.privateca.v1beta1.Subject] is specified here, then all [Certificates][google.cloud.security.privateca.v1beta1.Certificate] issued by the [CertificateAuthority][google.cloud.security.privateca.v1beta1.CertificateAuthority] must match at least one listed [Subject][google.cloud.security.privateca.v1beta1.Subject]. If a [Subject][google.cloud.security.privateca.v1beta1.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];- Specified by:
getAllowedLocationsAndOrganizationsOrBuilderListin interfaceCertificateAuthority.CertificateAuthorityPolicyOrBuilder
-
getAllowedLocationsAndOrganizationsCount
public int getAllowedLocationsAndOrganizationsCount()
Optional. If any [Subject][google.cloud.security.privateca.v1beta1.Subject] is specified here, then all [Certificates][google.cloud.security.privateca.v1beta1.Certificate] issued by the [CertificateAuthority][google.cloud.security.privateca.v1beta1.CertificateAuthority] must match at least one listed [Subject][google.cloud.security.privateca.v1beta1.Subject]. If a [Subject][google.cloud.security.privateca.v1beta1.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];- Specified by:
getAllowedLocationsAndOrganizationsCountin interfaceCertificateAuthority.CertificateAuthorityPolicyOrBuilder
-
getAllowedLocationsAndOrganizations
public Subject getAllowedLocationsAndOrganizations(int index)
Optional. If any [Subject][google.cloud.security.privateca.v1beta1.Subject] is specified here, then all [Certificates][google.cloud.security.privateca.v1beta1.Certificate] issued by the [CertificateAuthority][google.cloud.security.privateca.v1beta1.CertificateAuthority] must match at least one listed [Subject][google.cloud.security.privateca.v1beta1.Subject]. If a [Subject][google.cloud.security.privateca.v1beta1.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];- Specified by:
getAllowedLocationsAndOrganizationsin interfaceCertificateAuthority.CertificateAuthorityPolicyOrBuilder
-
getAllowedLocationsAndOrganizationsOrBuilder
public SubjectOrBuilder getAllowedLocationsAndOrganizationsOrBuilder(int index)
Optional. If any [Subject][google.cloud.security.privateca.v1beta1.Subject] is specified here, then all [Certificates][google.cloud.security.privateca.v1beta1.Certificate] issued by the [CertificateAuthority][google.cloud.security.privateca.v1beta1.CertificateAuthority] must match at least one listed [Subject][google.cloud.security.privateca.v1beta1.Subject]. If a [Subject][google.cloud.security.privateca.v1beta1.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];- Specified by:
getAllowedLocationsAndOrganizationsOrBuilderin interfaceCertificateAuthority.CertificateAuthorityPolicyOrBuilder
-
getAllowedCommonNamesList
public com.google.protobuf.ProtocolStringList getAllowedCommonNamesList()
Optional. If any value is specified here, then all [Certificates][google.cloud.security.privateca.v1beta1.Certificate] issued by the [CertificateAuthority][google.cloud.security.privateca.v1beta1.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];- Specified by:
getAllowedCommonNamesListin interfaceCertificateAuthority.CertificateAuthorityPolicyOrBuilder- Returns:
- A list containing the allowedCommonNames.
-
getAllowedCommonNamesCount
public int getAllowedCommonNamesCount()
Optional. If any value is specified here, then all [Certificates][google.cloud.security.privateca.v1beta1.Certificate] issued by the [CertificateAuthority][google.cloud.security.privateca.v1beta1.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];- Specified by:
getAllowedCommonNamesCountin interfaceCertificateAuthority.CertificateAuthorityPolicyOrBuilder- Returns:
- The count of allowedCommonNames.
-
getAllowedCommonNames
public String getAllowedCommonNames(int index)
Optional. If any value is specified here, then all [Certificates][google.cloud.security.privateca.v1beta1.Certificate] issued by the [CertificateAuthority][google.cloud.security.privateca.v1beta1.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];- Specified by:
getAllowedCommonNamesin interfaceCertificateAuthority.CertificateAuthorityPolicyOrBuilder- Parameters:
index- The index of the element to return.- Returns:
- The allowedCommonNames at the given index.
-
getAllowedCommonNamesBytes
public com.google.protobuf.ByteString getAllowedCommonNamesBytes(int index)
Optional. If any value is specified here, then all [Certificates][google.cloud.security.privateca.v1beta1.Certificate] issued by the [CertificateAuthority][google.cloud.security.privateca.v1beta1.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];- Specified by:
getAllowedCommonNamesBytesin interfaceCertificateAuthority.CertificateAuthorityPolicyOrBuilder- Parameters:
index- The index of the value to return.- Returns:
- The bytes of the allowedCommonNames at the given index.
-
hasAllowedSans
public boolean hasAllowedSans()
Optional. If a [AllowedSubjectAltNames][google.cloud.security.privateca.v1beta1.CertificateAuthority.CertificateAuthorityPolicy.AllowedSubjectAltNames] is specified here, then all [Certificates][google.cloud.security.privateca.v1beta1.Certificate] issued by the [CertificateAuthority][google.cloud.security.privateca.v1beta1.CertificateAuthority] must match [AllowedSubjectAltNames][google.cloud.security.privateca.v1beta1.CertificateAuthority.CertificateAuthorityPolicy.AllowedSubjectAltNames]. If no value or an empty value is specified, any value will be allowed for the [SubjectAltNames][google.cloud.security.privateca.v1beta1.SubjectAltNames] field.
.google.cloud.security.privateca.v1beta1.CertificateAuthority.CertificateAuthorityPolicy.AllowedSubjectAltNames allowed_sans = 5 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
hasAllowedSansin interfaceCertificateAuthority.CertificateAuthorityPolicyOrBuilder- Returns:
- Whether the allowedSans field is set.
-
getAllowedSans
public CertificateAuthority.CertificateAuthorityPolicy.AllowedSubjectAltNames getAllowedSans()
Optional. If a [AllowedSubjectAltNames][google.cloud.security.privateca.v1beta1.CertificateAuthority.CertificateAuthorityPolicy.AllowedSubjectAltNames] is specified here, then all [Certificates][google.cloud.security.privateca.v1beta1.Certificate] issued by the [CertificateAuthority][google.cloud.security.privateca.v1beta1.CertificateAuthority] must match [AllowedSubjectAltNames][google.cloud.security.privateca.v1beta1.CertificateAuthority.CertificateAuthorityPolicy.AllowedSubjectAltNames]. If no value or an empty value is specified, any value will be allowed for the [SubjectAltNames][google.cloud.security.privateca.v1beta1.SubjectAltNames] field.
.google.cloud.security.privateca.v1beta1.CertificateAuthority.CertificateAuthorityPolicy.AllowedSubjectAltNames allowed_sans = 5 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getAllowedSansin interfaceCertificateAuthority.CertificateAuthorityPolicyOrBuilder- Returns:
- The allowedSans.
-
getAllowedSansOrBuilder
public CertificateAuthority.CertificateAuthorityPolicy.AllowedSubjectAltNamesOrBuilder getAllowedSansOrBuilder()
Optional. If a [AllowedSubjectAltNames][google.cloud.security.privateca.v1beta1.CertificateAuthority.CertificateAuthorityPolicy.AllowedSubjectAltNames] is specified here, then all [Certificates][google.cloud.security.privateca.v1beta1.Certificate] issued by the [CertificateAuthority][google.cloud.security.privateca.v1beta1.CertificateAuthority] must match [AllowedSubjectAltNames][google.cloud.security.privateca.v1beta1.CertificateAuthority.CertificateAuthorityPolicy.AllowedSubjectAltNames]. If no value or an empty value is specified, any value will be allowed for the [SubjectAltNames][google.cloud.security.privateca.v1beta1.SubjectAltNames] field.
.google.cloud.security.privateca.v1beta1.CertificateAuthority.CertificateAuthorityPolicy.AllowedSubjectAltNames allowed_sans = 5 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getAllowedSansOrBuilderin interfaceCertificateAuthority.CertificateAuthorityPolicyOrBuilder
-
hasMaximumLifetime
public boolean hasMaximumLifetime()
Optional. The maximum lifetime allowed by the [CertificateAuthority][google.cloud.security.privateca.v1beta1.CertificateAuthority]. Note that if the any part if the issuing chain expires before a [Certificate][google.cloud.security.privateca.v1beta1.Certificate]'s requested maximum_lifetime, the effective lifetime will be explicitly truncated.
.google.protobuf.Duration maximum_lifetime = 6 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
hasMaximumLifetimein interfaceCertificateAuthority.CertificateAuthorityPolicyOrBuilder- Returns:
- Whether the maximumLifetime field is set.
-
getMaximumLifetime
public com.google.protobuf.Duration getMaximumLifetime()
Optional. The maximum lifetime allowed by the [CertificateAuthority][google.cloud.security.privateca.v1beta1.CertificateAuthority]. Note that if the any part if the issuing chain expires before a [Certificate][google.cloud.security.privateca.v1beta1.Certificate]'s requested maximum_lifetime, the effective lifetime will be explicitly truncated.
.google.protobuf.Duration maximum_lifetime = 6 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getMaximumLifetimein interfaceCertificateAuthority.CertificateAuthorityPolicyOrBuilder- Returns:
- The maximumLifetime.
-
getMaximumLifetimeOrBuilder
public com.google.protobuf.DurationOrBuilder getMaximumLifetimeOrBuilder()
Optional. The maximum lifetime allowed by the [CertificateAuthority][google.cloud.security.privateca.v1beta1.CertificateAuthority]. Note that if the any part if the issuing chain expires before a [Certificate][google.cloud.security.privateca.v1beta1.Certificate]'s requested maximum_lifetime, the effective lifetime will be explicitly truncated.
.google.protobuf.Duration maximum_lifetime = 6 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getMaximumLifetimeOrBuilderin interfaceCertificateAuthority.CertificateAuthorityPolicyOrBuilder
-
hasAllowedIssuanceModes
public boolean hasAllowedIssuanceModes()
Optional. If specified, then only methods allowed in the [IssuanceModes][google.cloud.security.privateca.v1beta1.CertificateAuthority.CertificateAuthorityPolicy.IssuanceModes] may be used to issue [Certificates][google.cloud.security.privateca.v1beta1.Certificate].
.google.cloud.security.privateca.v1beta1.CertificateAuthority.CertificateAuthorityPolicy.IssuanceModes allowed_issuance_modes = 8 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
hasAllowedIssuanceModesin interfaceCertificateAuthority.CertificateAuthorityPolicyOrBuilder- Returns:
- Whether the allowedIssuanceModes field is set.
-
getAllowedIssuanceModes
public CertificateAuthority.CertificateAuthorityPolicy.IssuanceModes getAllowedIssuanceModes()
Optional. If specified, then only methods allowed in the [IssuanceModes][google.cloud.security.privateca.v1beta1.CertificateAuthority.CertificateAuthorityPolicy.IssuanceModes] may be used to issue [Certificates][google.cloud.security.privateca.v1beta1.Certificate].
.google.cloud.security.privateca.v1beta1.CertificateAuthority.CertificateAuthorityPolicy.IssuanceModes allowed_issuance_modes = 8 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getAllowedIssuanceModesin interfaceCertificateAuthority.CertificateAuthorityPolicyOrBuilder- Returns:
- The allowedIssuanceModes.
-
getAllowedIssuanceModesOrBuilder
public CertificateAuthority.CertificateAuthorityPolicy.IssuanceModesOrBuilder getAllowedIssuanceModesOrBuilder()
Optional. If specified, then only methods allowed in the [IssuanceModes][google.cloud.security.privateca.v1beta1.CertificateAuthority.CertificateAuthorityPolicy.IssuanceModes] may be used to issue [Certificates][google.cloud.security.privateca.v1beta1.Certificate].
.google.cloud.security.privateca.v1beta1.CertificateAuthority.CertificateAuthorityPolicy.IssuanceModes allowed_issuance_modes = 8 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getAllowedIssuanceModesOrBuilderin interfaceCertificateAuthority.CertificateAuthorityPolicyOrBuilder
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3
-
writeTo
public void writeTo(com.google.protobuf.CodedOutputStream output) throws IOException- Specified by:
writeToin interfacecom.google.protobuf.MessageLite- Overrides:
writeToin classcom.google.protobuf.GeneratedMessageV3- Throws:
IOException
-
getSerializedSize
public int getSerializedSize()
- Specified by:
getSerializedSizein interfacecom.google.protobuf.MessageLite- Overrides:
getSerializedSizein classcom.google.protobuf.GeneratedMessageV3
-
equals
public boolean equals(Object obj)
- Specified by:
equalsin interfacecom.google.protobuf.Message- Overrides:
equalsin classcom.google.protobuf.AbstractMessage
-
hashCode
public int hashCode()
- Specified by:
hashCodein interfacecom.google.protobuf.Message- Overrides:
hashCodein classcom.google.protobuf.AbstractMessage
-
parseFrom
public static CertificateAuthority.CertificateAuthorityPolicy parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static CertificateAuthority.CertificateAuthorityPolicy parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static CertificateAuthority.CertificateAuthorityPolicy parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static CertificateAuthority.CertificateAuthorityPolicy parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static CertificateAuthority.CertificateAuthorityPolicy parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static CertificateAuthority.CertificateAuthorityPolicy parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static CertificateAuthority.CertificateAuthorityPolicy parseFrom(InputStream input) throws IOException
- Throws:
IOException
-
parseFrom
public static CertificateAuthority.CertificateAuthorityPolicy parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
parseDelimitedFrom
public static CertificateAuthority.CertificateAuthorityPolicy parseDelimitedFrom(InputStream input) throws IOException
- Throws:
IOException
-
parseDelimitedFrom
public static CertificateAuthority.CertificateAuthorityPolicy parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
parseFrom
public static CertificateAuthority.CertificateAuthorityPolicy parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
- Throws:
IOException
-
parseFrom
public static CertificateAuthority.CertificateAuthorityPolicy parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
newBuilderForType
public CertificateAuthority.CertificateAuthorityPolicy.Builder newBuilderForType()
- Specified by:
newBuilderForTypein interfacecom.google.protobuf.Message- Specified by:
newBuilderForTypein interfacecom.google.protobuf.MessageLite
-
newBuilder
public static CertificateAuthority.CertificateAuthorityPolicy.Builder newBuilder()
-
newBuilder
public static CertificateAuthority.CertificateAuthorityPolicy.Builder newBuilder(CertificateAuthority.CertificateAuthorityPolicy prototype)
-
toBuilder
public CertificateAuthority.CertificateAuthorityPolicy.Builder toBuilder()
- Specified by:
toBuilderin interfacecom.google.protobuf.Message- Specified by:
toBuilderin interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected CertificateAuthority.CertificateAuthorityPolicy.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
- Specified by:
newBuilderForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstance
public static CertificateAuthority.CertificateAuthorityPolicy getDefaultInstance()
-
parser
public static com.google.protobuf.Parser<CertificateAuthority.CertificateAuthorityPolicy> parser()
-
getParserForType
public com.google.protobuf.Parser<CertificateAuthority.CertificateAuthorityPolicy> getParserForType()
- Specified by:
getParserForTypein interfacecom.google.protobuf.Message- Specified by:
getParserForTypein interfacecom.google.protobuf.MessageLite- Overrides:
getParserForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstanceForType
public CertificateAuthority.CertificateAuthorityPolicy getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
-