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 class
CertificateAuthority.CertificateAuthorityPolicy.AllowedConfigList
Protobuf typegoogle.cloud.security.privateca.v1beta1.CertificateAuthority.CertificateAuthorityPolicy.AllowedConfigList
static interface
CertificateAuthority.CertificateAuthorityPolicy.AllowedConfigListOrBuilder
static class
CertificateAuthority.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 interface
CertificateAuthority.CertificateAuthorityPolicy.AllowedSubjectAltNamesOrBuilder
static class
CertificateAuthority.CertificateAuthorityPolicy.Builder
The issuing policy for a [CertificateAuthority][google.cloud.security.privateca.v1beta1.CertificateAuthority].static class
CertificateAuthority.CertificateAuthorityPolicy.ConfigPolicyCase
static class
CertificateAuthority.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 interface
CertificateAuthority.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 int
ALLOWED_COMMON_NAMES_FIELD_NUMBER
static int
ALLOWED_CONFIG_LIST_FIELD_NUMBER
static int
ALLOWED_ISSUANCE_MODES_FIELD_NUMBER
static int
ALLOWED_LOCATIONS_AND_ORGANIZATIONS_FIELD_NUMBER
static int
ALLOWED_SANS_FIELD_NUMBER
static int
MAXIMUM_LIFETIME_FIELD_NUMBER
static int
OVERWRITE_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:
newInstance
in classcom.google.protobuf.GeneratedMessageV3
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTable
in classcom.google.protobuf.GeneratedMessageV3
-
getConfigPolicyCase
public CertificateAuthority.CertificateAuthorityPolicy.ConfigPolicyCase getConfigPolicyCase()
- Specified by:
getConfigPolicyCase
in 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:
hasAllowedConfigList
in 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:
getAllowedConfigList
in 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:
getAllowedConfigListOrBuilder
in 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:
hasOverwriteConfigValues
in 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:
getOverwriteConfigValues
in 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:
getOverwriteConfigValuesOrBuilder
in 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:
getAllowedLocationsAndOrganizationsList
in 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:
getAllowedLocationsAndOrganizationsOrBuilderList
in 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:
getAllowedLocationsAndOrganizationsCount
in 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:
getAllowedLocationsAndOrganizations
in 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:
getAllowedLocationsAndOrganizationsOrBuilder
in 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:
getAllowedCommonNamesList
in 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:
getAllowedCommonNamesCount
in 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:
getAllowedCommonNames
in 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:
getAllowedCommonNamesBytes
in 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:
hasAllowedSans
in 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:
getAllowedSans
in 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:
getAllowedSansOrBuilder
in 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:
hasMaximumLifetime
in 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:
getMaximumLifetime
in 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:
getMaximumLifetimeOrBuilder
in 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:
hasAllowedIssuanceModes
in 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:
getAllowedIssuanceModes
in 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:
getAllowedIssuanceModesOrBuilder
in interfaceCertificateAuthority.CertificateAuthorityPolicyOrBuilder
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in classcom.google.protobuf.GeneratedMessageV3
-
writeTo
public void writeTo(com.google.protobuf.CodedOutputStream output) throws IOException
- Specified by:
writeTo
in interfacecom.google.protobuf.MessageLite
- Overrides:
writeTo
in classcom.google.protobuf.GeneratedMessageV3
- Throws:
IOException
-
getSerializedSize
public int getSerializedSize()
- Specified by:
getSerializedSize
in interfacecom.google.protobuf.MessageLite
- Overrides:
getSerializedSize
in classcom.google.protobuf.GeneratedMessageV3
-
equals
public boolean equals(Object obj)
- Specified by:
equals
in interfacecom.google.protobuf.Message
- Overrides:
equals
in classcom.google.protobuf.AbstractMessage
-
hashCode
public int hashCode()
- Specified by:
hashCode
in interfacecom.google.protobuf.Message
- Overrides:
hashCode
in 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:
newBuilderForType
in interfacecom.google.protobuf.Message
- Specified by:
newBuilderForType
in 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:
toBuilder
in interfacecom.google.protobuf.Message
- Specified by:
toBuilder
in interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected CertificateAuthority.CertificateAuthorityPolicy.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
- Specified by:
newBuilderForType
in 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:
getParserForType
in interfacecom.google.protobuf.Message
- Specified by:
getParserForType
in interfacecom.google.protobuf.MessageLite
- Overrides:
getParserForType
in classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstanceForType
public CertificateAuthority.CertificateAuthorityPolicy getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-
-