Class CertificateAuthority.CertificateAuthorityPolicy.AllowedSubjectAltNames.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder
-
- com.google.protobuf.AbstractMessage.Builder<BuilderT>
-
- com.google.protobuf.GeneratedMessageV3.Builder<CertificateAuthority.CertificateAuthorityPolicy.AllowedSubjectAltNames.Builder>
-
- com.google.cloud.security.privateca.v1beta1.CertificateAuthority.CertificateAuthorityPolicy.AllowedSubjectAltNames.Builder
-
- All Implemented Interfaces:
CertificateAuthority.CertificateAuthorityPolicy.AllowedSubjectAltNamesOrBuilder
,com.google.protobuf.Message.Builder
,com.google.protobuf.MessageLite.Builder
,com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
,Cloneable
public static final class CertificateAuthority.CertificateAuthorityPolicy.AllowedSubjectAltNames.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<CertificateAuthority.CertificateAuthorityPolicy.AllowedSubjectAltNames.Builder> implements CertificateAuthority.CertificateAuthorityPolicy.AllowedSubjectAltNamesOrBuilder
[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].
Protobuf typegoogle.cloud.security.privateca.v1beta1.CertificateAuthority.CertificateAuthorityPolicy.AllowedSubjectAltNames
-
-
Method Summary
-
Methods inherited from class com.google.protobuf.GeneratedMessageV3.Builder
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3
-
Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
-
Methods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageException
-
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
-
-
-
Method Detail
-
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.Builder<CertificateAuthority.CertificateAuthorityPolicy.AllowedSubjectAltNames.Builder>
-
clear
public CertificateAuthority.CertificateAuthorityPolicy.AllowedSubjectAltNames.Builder clear()
- Specified by:
clear
in interfacecom.google.protobuf.Message.Builder
- Specified by:
clear
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
clear
in classcom.google.protobuf.GeneratedMessageV3.Builder<CertificateAuthority.CertificateAuthorityPolicy.AllowedSubjectAltNames.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.Message.Builder
- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.MessageOrBuilder
- Overrides:
getDescriptorForType
in classcom.google.protobuf.GeneratedMessageV3.Builder<CertificateAuthority.CertificateAuthorityPolicy.AllowedSubjectAltNames.Builder>
-
getDefaultInstanceForType
public CertificateAuthority.CertificateAuthorityPolicy.AllowedSubjectAltNames getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-
build
public CertificateAuthority.CertificateAuthorityPolicy.AllowedSubjectAltNames build()
- Specified by:
build
in interfacecom.google.protobuf.Message.Builder
- Specified by:
build
in interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public CertificateAuthority.CertificateAuthorityPolicy.AllowedSubjectAltNames buildPartial()
- Specified by:
buildPartial
in interfacecom.google.protobuf.Message.Builder
- Specified by:
buildPartial
in interfacecom.google.protobuf.MessageLite.Builder
-
clone
public CertificateAuthority.CertificateAuthorityPolicy.AllowedSubjectAltNames.Builder clone()
- Specified by:
clone
in interfacecom.google.protobuf.Message.Builder
- Specified by:
clone
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
clone
in classcom.google.protobuf.GeneratedMessageV3.Builder<CertificateAuthority.CertificateAuthorityPolicy.AllowedSubjectAltNames.Builder>
-
setField
public CertificateAuthority.CertificateAuthorityPolicy.AllowedSubjectAltNames.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
setField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setField
in classcom.google.protobuf.GeneratedMessageV3.Builder<CertificateAuthority.CertificateAuthorityPolicy.AllowedSubjectAltNames.Builder>
-
clearField
public CertificateAuthority.CertificateAuthorityPolicy.AllowedSubjectAltNames.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
- Specified by:
clearField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
clearField
in classcom.google.protobuf.GeneratedMessageV3.Builder<CertificateAuthority.CertificateAuthorityPolicy.AllowedSubjectAltNames.Builder>
-
clearOneof
public CertificateAuthority.CertificateAuthorityPolicy.AllowedSubjectAltNames.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
- Specified by:
clearOneof
in interfacecom.google.protobuf.Message.Builder
- Overrides:
clearOneof
in classcom.google.protobuf.GeneratedMessageV3.Builder<CertificateAuthority.CertificateAuthorityPolicy.AllowedSubjectAltNames.Builder>
-
setRepeatedField
public CertificateAuthority.CertificateAuthorityPolicy.AllowedSubjectAltNames.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
- Specified by:
setRepeatedField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setRepeatedField
in classcom.google.protobuf.GeneratedMessageV3.Builder<CertificateAuthority.CertificateAuthorityPolicy.AllowedSubjectAltNames.Builder>
-
addRepeatedField
public CertificateAuthority.CertificateAuthorityPolicy.AllowedSubjectAltNames.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
addRepeatedField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
addRepeatedField
in classcom.google.protobuf.GeneratedMessageV3.Builder<CertificateAuthority.CertificateAuthorityPolicy.AllowedSubjectAltNames.Builder>
-
mergeFrom
public CertificateAuthority.CertificateAuthorityPolicy.AllowedSubjectAltNames.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<CertificateAuthority.CertificateAuthorityPolicy.AllowedSubjectAltNames.Builder>
-
mergeFrom
public CertificateAuthority.CertificateAuthorityPolicy.AllowedSubjectAltNames.Builder mergeFrom(CertificateAuthority.CertificateAuthorityPolicy.AllowedSubjectAltNames other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in classcom.google.protobuf.GeneratedMessageV3.Builder<CertificateAuthority.CertificateAuthorityPolicy.AllowedSubjectAltNames.Builder>
-
mergeFrom
public CertificateAuthority.CertificateAuthorityPolicy.AllowedSubjectAltNames.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Specified by:
mergeFrom
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<CertificateAuthority.CertificateAuthorityPolicy.AllowedSubjectAltNames.Builder>
- Throws:
IOException
-
getAllowedDnsNamesList
public com.google.protobuf.ProtocolStringList getAllowedDnsNamesList()
Optional. Contains valid, fully-qualified host names. Glob patterns are also supported. To allow an explicit wildcard certificate, escape with backlash (i.e. `\*`). E.g. for globbed entries: `*bar.com` will allow `foo.bar.com`, but not `*.bar.com`, unless the [allow_globbing_dns_wildcards][google.cloud.security.privateca.v1beta1.CertificateAuthority.CertificateAuthorityPolicy.AllowedSubjectAltNames.allow_globbing_dns_wildcards] field is set. E.g. for wildcard entries: `\*.bar.com` will allow `*.bar.com`, but not `foo.bar.com`.
repeated string allowed_dns_names = 1 [(.google.api.field_behavior) = OPTIONAL];
- Specified by:
getAllowedDnsNamesList
in interfaceCertificateAuthority.CertificateAuthorityPolicy.AllowedSubjectAltNamesOrBuilder
- Returns:
- A list containing the allowedDnsNames.
-
getAllowedDnsNamesCount
public int getAllowedDnsNamesCount()
Optional. Contains valid, fully-qualified host names. Glob patterns are also supported. To allow an explicit wildcard certificate, escape with backlash (i.e. `\*`). E.g. for globbed entries: `*bar.com` will allow `foo.bar.com`, but not `*.bar.com`, unless the [allow_globbing_dns_wildcards][google.cloud.security.privateca.v1beta1.CertificateAuthority.CertificateAuthorityPolicy.AllowedSubjectAltNames.allow_globbing_dns_wildcards] field is set. E.g. for wildcard entries: `\*.bar.com` will allow `*.bar.com`, but not `foo.bar.com`.
repeated string allowed_dns_names = 1 [(.google.api.field_behavior) = OPTIONAL];
- Specified by:
getAllowedDnsNamesCount
in interfaceCertificateAuthority.CertificateAuthorityPolicy.AllowedSubjectAltNamesOrBuilder
- Returns:
- The count of allowedDnsNames.
-
getAllowedDnsNames
public String getAllowedDnsNames(int index)
Optional. Contains valid, fully-qualified host names. Glob patterns are also supported. To allow an explicit wildcard certificate, escape with backlash (i.e. `\*`). E.g. for globbed entries: `*bar.com` will allow `foo.bar.com`, but not `*.bar.com`, unless the [allow_globbing_dns_wildcards][google.cloud.security.privateca.v1beta1.CertificateAuthority.CertificateAuthorityPolicy.AllowedSubjectAltNames.allow_globbing_dns_wildcards] field is set. E.g. for wildcard entries: `\*.bar.com` will allow `*.bar.com`, but not `foo.bar.com`.
repeated string allowed_dns_names = 1 [(.google.api.field_behavior) = OPTIONAL];
- Specified by:
getAllowedDnsNames
in interfaceCertificateAuthority.CertificateAuthorityPolicy.AllowedSubjectAltNamesOrBuilder
- Parameters:
index
- The index of the element to return.- Returns:
- The allowedDnsNames at the given index.
-
getAllowedDnsNamesBytes
public com.google.protobuf.ByteString getAllowedDnsNamesBytes(int index)
Optional. Contains valid, fully-qualified host names. Glob patterns are also supported. To allow an explicit wildcard certificate, escape with backlash (i.e. `\*`). E.g. for globbed entries: `*bar.com` will allow `foo.bar.com`, but not `*.bar.com`, unless the [allow_globbing_dns_wildcards][google.cloud.security.privateca.v1beta1.CertificateAuthority.CertificateAuthorityPolicy.AllowedSubjectAltNames.allow_globbing_dns_wildcards] field is set. E.g. for wildcard entries: `\*.bar.com` will allow `*.bar.com`, but not `foo.bar.com`.
repeated string allowed_dns_names = 1 [(.google.api.field_behavior) = OPTIONAL];
- Specified by:
getAllowedDnsNamesBytes
in interfaceCertificateAuthority.CertificateAuthorityPolicy.AllowedSubjectAltNamesOrBuilder
- Parameters:
index
- The index of the value to return.- Returns:
- The bytes of the allowedDnsNames at the given index.
-
setAllowedDnsNames
public CertificateAuthority.CertificateAuthorityPolicy.AllowedSubjectAltNames.Builder setAllowedDnsNames(int index, String value)
Optional. Contains valid, fully-qualified host names. Glob patterns are also supported. To allow an explicit wildcard certificate, escape with backlash (i.e. `\*`). E.g. for globbed entries: `*bar.com` will allow `foo.bar.com`, but not `*.bar.com`, unless the [allow_globbing_dns_wildcards][google.cloud.security.privateca.v1beta1.CertificateAuthority.CertificateAuthorityPolicy.AllowedSubjectAltNames.allow_globbing_dns_wildcards] field is set. E.g. for wildcard entries: `\*.bar.com` will allow `*.bar.com`, but not `foo.bar.com`.
repeated string allowed_dns_names = 1 [(.google.api.field_behavior) = OPTIONAL];
- Parameters:
index
- The index to set the value at.value
- The allowedDnsNames to set.- Returns:
- This builder for chaining.
-
addAllowedDnsNames
public CertificateAuthority.CertificateAuthorityPolicy.AllowedSubjectAltNames.Builder addAllowedDnsNames(String value)
Optional. Contains valid, fully-qualified host names. Glob patterns are also supported. To allow an explicit wildcard certificate, escape with backlash (i.e. `\*`). E.g. for globbed entries: `*bar.com` will allow `foo.bar.com`, but not `*.bar.com`, unless the [allow_globbing_dns_wildcards][google.cloud.security.privateca.v1beta1.CertificateAuthority.CertificateAuthorityPolicy.AllowedSubjectAltNames.allow_globbing_dns_wildcards] field is set. E.g. for wildcard entries: `\*.bar.com` will allow `*.bar.com`, but not `foo.bar.com`.
repeated string allowed_dns_names = 1 [(.google.api.field_behavior) = OPTIONAL];
- Parameters:
value
- The allowedDnsNames to add.- Returns:
- This builder for chaining.
-
addAllAllowedDnsNames
public CertificateAuthority.CertificateAuthorityPolicy.AllowedSubjectAltNames.Builder addAllAllowedDnsNames(Iterable<String> values)
Optional. Contains valid, fully-qualified host names. Glob patterns are also supported. To allow an explicit wildcard certificate, escape with backlash (i.e. `\*`). E.g. for globbed entries: `*bar.com` will allow `foo.bar.com`, but not `*.bar.com`, unless the [allow_globbing_dns_wildcards][google.cloud.security.privateca.v1beta1.CertificateAuthority.CertificateAuthorityPolicy.AllowedSubjectAltNames.allow_globbing_dns_wildcards] field is set. E.g. for wildcard entries: `\*.bar.com` will allow `*.bar.com`, but not `foo.bar.com`.
repeated string allowed_dns_names = 1 [(.google.api.field_behavior) = OPTIONAL];
- Parameters:
values
- The allowedDnsNames to add.- Returns:
- This builder for chaining.
-
clearAllowedDnsNames
public CertificateAuthority.CertificateAuthorityPolicy.AllowedSubjectAltNames.Builder clearAllowedDnsNames()
Optional. Contains valid, fully-qualified host names. Glob patterns are also supported. To allow an explicit wildcard certificate, escape with backlash (i.e. `\*`). E.g. for globbed entries: `*bar.com` will allow `foo.bar.com`, but not `*.bar.com`, unless the [allow_globbing_dns_wildcards][google.cloud.security.privateca.v1beta1.CertificateAuthority.CertificateAuthorityPolicy.AllowedSubjectAltNames.allow_globbing_dns_wildcards] field is set. E.g. for wildcard entries: `\*.bar.com` will allow `*.bar.com`, but not `foo.bar.com`.
repeated string allowed_dns_names = 1 [(.google.api.field_behavior) = OPTIONAL];
- Returns:
- This builder for chaining.
-
addAllowedDnsNamesBytes
public CertificateAuthority.CertificateAuthorityPolicy.AllowedSubjectAltNames.Builder addAllowedDnsNamesBytes(com.google.protobuf.ByteString value)
Optional. Contains valid, fully-qualified host names. Glob patterns are also supported. To allow an explicit wildcard certificate, escape with backlash (i.e. `\*`). E.g. for globbed entries: `*bar.com` will allow `foo.bar.com`, but not `*.bar.com`, unless the [allow_globbing_dns_wildcards][google.cloud.security.privateca.v1beta1.CertificateAuthority.CertificateAuthorityPolicy.AllowedSubjectAltNames.allow_globbing_dns_wildcards] field is set. E.g. for wildcard entries: `\*.bar.com` will allow `*.bar.com`, but not `foo.bar.com`.
repeated string allowed_dns_names = 1 [(.google.api.field_behavior) = OPTIONAL];
- Parameters:
value
- The bytes of the allowedDnsNames to add.- Returns:
- This builder for chaining.
-
getAllowedUrisList
public com.google.protobuf.ProtocolStringList getAllowedUrisList()
Optional. Contains valid RFC 3986 URIs. Glob patterns are also supported. To match across path seperators (i.e. '/') use the double star glob pattern (i.e. '**').
repeated string allowed_uris = 2 [(.google.api.field_behavior) = OPTIONAL];
- Specified by:
getAllowedUrisList
in interfaceCertificateAuthority.CertificateAuthorityPolicy.AllowedSubjectAltNamesOrBuilder
- Returns:
- A list containing the allowedUris.
-
getAllowedUrisCount
public int getAllowedUrisCount()
Optional. Contains valid RFC 3986 URIs. Glob patterns are also supported. To match across path seperators (i.e. '/') use the double star glob pattern (i.e. '**').
repeated string allowed_uris = 2 [(.google.api.field_behavior) = OPTIONAL];
- Specified by:
getAllowedUrisCount
in interfaceCertificateAuthority.CertificateAuthorityPolicy.AllowedSubjectAltNamesOrBuilder
- Returns:
- The count of allowedUris.
-
getAllowedUris
public String getAllowedUris(int index)
Optional. Contains valid RFC 3986 URIs. Glob patterns are also supported. To match across path seperators (i.e. '/') use the double star glob pattern (i.e. '**').
repeated string allowed_uris = 2 [(.google.api.field_behavior) = OPTIONAL];
- Specified by:
getAllowedUris
in interfaceCertificateAuthority.CertificateAuthorityPolicy.AllowedSubjectAltNamesOrBuilder
- Parameters:
index
- The index of the element to return.- Returns:
- The allowedUris at the given index.
-
getAllowedUrisBytes
public com.google.protobuf.ByteString getAllowedUrisBytes(int index)
Optional. Contains valid RFC 3986 URIs. Glob patterns are also supported. To match across path seperators (i.e. '/') use the double star glob pattern (i.e. '**').
repeated string allowed_uris = 2 [(.google.api.field_behavior) = OPTIONAL];
- Specified by:
getAllowedUrisBytes
in interfaceCertificateAuthority.CertificateAuthorityPolicy.AllowedSubjectAltNamesOrBuilder
- Parameters:
index
- The index of the value to return.- Returns:
- The bytes of the allowedUris at the given index.
-
setAllowedUris
public CertificateAuthority.CertificateAuthorityPolicy.AllowedSubjectAltNames.Builder setAllowedUris(int index, String value)
Optional. Contains valid RFC 3986 URIs. Glob patterns are also supported. To match across path seperators (i.e. '/') use the double star glob pattern (i.e. '**').
repeated string allowed_uris = 2 [(.google.api.field_behavior) = OPTIONAL];
- Parameters:
index
- The index to set the value at.value
- The allowedUris to set.- Returns:
- This builder for chaining.
-
addAllowedUris
public CertificateAuthority.CertificateAuthorityPolicy.AllowedSubjectAltNames.Builder addAllowedUris(String value)
Optional. Contains valid RFC 3986 URIs. Glob patterns are also supported. To match across path seperators (i.e. '/') use the double star glob pattern (i.e. '**').
repeated string allowed_uris = 2 [(.google.api.field_behavior) = OPTIONAL];
- Parameters:
value
- The allowedUris to add.- Returns:
- This builder for chaining.
-
addAllAllowedUris
public CertificateAuthority.CertificateAuthorityPolicy.AllowedSubjectAltNames.Builder addAllAllowedUris(Iterable<String> values)
Optional. Contains valid RFC 3986 URIs. Glob patterns are also supported. To match across path seperators (i.e. '/') use the double star glob pattern (i.e. '**').
repeated string allowed_uris = 2 [(.google.api.field_behavior) = OPTIONAL];
- Parameters:
values
- The allowedUris to add.- Returns:
- This builder for chaining.
-
clearAllowedUris
public CertificateAuthority.CertificateAuthorityPolicy.AllowedSubjectAltNames.Builder clearAllowedUris()
Optional. Contains valid RFC 3986 URIs. Glob patterns are also supported. To match across path seperators (i.e. '/') use the double star glob pattern (i.e. '**').
repeated string allowed_uris = 2 [(.google.api.field_behavior) = OPTIONAL];
- Returns:
- This builder for chaining.
-
addAllowedUrisBytes
public CertificateAuthority.CertificateAuthorityPolicy.AllowedSubjectAltNames.Builder addAllowedUrisBytes(com.google.protobuf.ByteString value)
Optional. Contains valid RFC 3986 URIs. Glob patterns are also supported. To match across path seperators (i.e. '/') use the double star glob pattern (i.e. '**').
repeated string allowed_uris = 2 [(.google.api.field_behavior) = OPTIONAL];
- Parameters:
value
- The bytes of the allowedUris to add.- Returns:
- This builder for chaining.
-
getAllowedEmailAddressesList
public com.google.protobuf.ProtocolStringList getAllowedEmailAddressesList()
Optional. Contains valid RFC 2822 E-mail addresses. Glob patterns are also supported.
repeated string allowed_email_addresses = 3 [(.google.api.field_behavior) = OPTIONAL];
- Specified by:
getAllowedEmailAddressesList
in interfaceCertificateAuthority.CertificateAuthorityPolicy.AllowedSubjectAltNamesOrBuilder
- Returns:
- A list containing the allowedEmailAddresses.
-
getAllowedEmailAddressesCount
public int getAllowedEmailAddressesCount()
Optional. Contains valid RFC 2822 E-mail addresses. Glob patterns are also supported.
repeated string allowed_email_addresses = 3 [(.google.api.field_behavior) = OPTIONAL];
- Specified by:
getAllowedEmailAddressesCount
in interfaceCertificateAuthority.CertificateAuthorityPolicy.AllowedSubjectAltNamesOrBuilder
- Returns:
- The count of allowedEmailAddresses.
-
getAllowedEmailAddresses
public String getAllowedEmailAddresses(int index)
Optional. Contains valid RFC 2822 E-mail addresses. Glob patterns are also supported.
repeated string allowed_email_addresses = 3 [(.google.api.field_behavior) = OPTIONAL];
- Specified by:
getAllowedEmailAddresses
in interfaceCertificateAuthority.CertificateAuthorityPolicy.AllowedSubjectAltNamesOrBuilder
- Parameters:
index
- The index of the element to return.- Returns:
- The allowedEmailAddresses at the given index.
-
getAllowedEmailAddressesBytes
public com.google.protobuf.ByteString getAllowedEmailAddressesBytes(int index)
Optional. Contains valid RFC 2822 E-mail addresses. Glob patterns are also supported.
repeated string allowed_email_addresses = 3 [(.google.api.field_behavior) = OPTIONAL];
- Specified by:
getAllowedEmailAddressesBytes
in interfaceCertificateAuthority.CertificateAuthorityPolicy.AllowedSubjectAltNamesOrBuilder
- Parameters:
index
- The index of the value to return.- Returns:
- The bytes of the allowedEmailAddresses at the given index.
-
setAllowedEmailAddresses
public CertificateAuthority.CertificateAuthorityPolicy.AllowedSubjectAltNames.Builder setAllowedEmailAddresses(int index, String value)
Optional. Contains valid RFC 2822 E-mail addresses. Glob patterns are also supported.
repeated string allowed_email_addresses = 3 [(.google.api.field_behavior) = OPTIONAL];
- Parameters:
index
- The index to set the value at.value
- The allowedEmailAddresses to set.- Returns:
- This builder for chaining.
-
addAllowedEmailAddresses
public CertificateAuthority.CertificateAuthorityPolicy.AllowedSubjectAltNames.Builder addAllowedEmailAddresses(String value)
Optional. Contains valid RFC 2822 E-mail addresses. Glob patterns are also supported.
repeated string allowed_email_addresses = 3 [(.google.api.field_behavior) = OPTIONAL];
- Parameters:
value
- The allowedEmailAddresses to add.- Returns:
- This builder for chaining.
-
addAllAllowedEmailAddresses
public CertificateAuthority.CertificateAuthorityPolicy.AllowedSubjectAltNames.Builder addAllAllowedEmailAddresses(Iterable<String> values)
Optional. Contains valid RFC 2822 E-mail addresses. Glob patterns are also supported.
repeated string allowed_email_addresses = 3 [(.google.api.field_behavior) = OPTIONAL];
- Parameters:
values
- The allowedEmailAddresses to add.- Returns:
- This builder for chaining.
-
clearAllowedEmailAddresses
public CertificateAuthority.CertificateAuthorityPolicy.AllowedSubjectAltNames.Builder clearAllowedEmailAddresses()
Optional. Contains valid RFC 2822 E-mail addresses. Glob patterns are also supported.
repeated string allowed_email_addresses = 3 [(.google.api.field_behavior) = OPTIONAL];
- Returns:
- This builder for chaining.
-
addAllowedEmailAddressesBytes
public CertificateAuthority.CertificateAuthorityPolicy.AllowedSubjectAltNames.Builder addAllowedEmailAddressesBytes(com.google.protobuf.ByteString value)
Optional. Contains valid RFC 2822 E-mail addresses. Glob patterns are also supported.
repeated string allowed_email_addresses = 3 [(.google.api.field_behavior) = OPTIONAL];
- Parameters:
value
- The bytes of the allowedEmailAddresses to add.- Returns:
- This builder for chaining.
-
getAllowedIpsList
public com.google.protobuf.ProtocolStringList getAllowedIpsList()
Optional. Contains valid 32-bit IPv4 addresses and subnet ranges or RFC 4291 IPv6 addresses and subnet ranges. Subnet ranges are specified using the '/' notation (e.g. 10.0.0.0/8, 2001:700:300:1800::/64). Glob patterns are supported only for ip address entries (i.e. not for subnet ranges).
repeated string allowed_ips = 4 [(.google.api.field_behavior) = OPTIONAL];
- Specified by:
getAllowedIpsList
in interfaceCertificateAuthority.CertificateAuthorityPolicy.AllowedSubjectAltNamesOrBuilder
- Returns:
- A list containing the allowedIps.
-
getAllowedIpsCount
public int getAllowedIpsCount()
Optional. Contains valid 32-bit IPv4 addresses and subnet ranges or RFC 4291 IPv6 addresses and subnet ranges. Subnet ranges are specified using the '/' notation (e.g. 10.0.0.0/8, 2001:700:300:1800::/64). Glob patterns are supported only for ip address entries (i.e. not for subnet ranges).
repeated string allowed_ips = 4 [(.google.api.field_behavior) = OPTIONAL];
- Specified by:
getAllowedIpsCount
in interfaceCertificateAuthority.CertificateAuthorityPolicy.AllowedSubjectAltNamesOrBuilder
- Returns:
- The count of allowedIps.
-
getAllowedIps
public String getAllowedIps(int index)
Optional. Contains valid 32-bit IPv4 addresses and subnet ranges or RFC 4291 IPv6 addresses and subnet ranges. Subnet ranges are specified using the '/' notation (e.g. 10.0.0.0/8, 2001:700:300:1800::/64). Glob patterns are supported only for ip address entries (i.e. not for subnet ranges).
repeated string allowed_ips = 4 [(.google.api.field_behavior) = OPTIONAL];
- Specified by:
getAllowedIps
in interfaceCertificateAuthority.CertificateAuthorityPolicy.AllowedSubjectAltNamesOrBuilder
- Parameters:
index
- The index of the element to return.- Returns:
- The allowedIps at the given index.
-
getAllowedIpsBytes
public com.google.protobuf.ByteString getAllowedIpsBytes(int index)
Optional. Contains valid 32-bit IPv4 addresses and subnet ranges or RFC 4291 IPv6 addresses and subnet ranges. Subnet ranges are specified using the '/' notation (e.g. 10.0.0.0/8, 2001:700:300:1800::/64). Glob patterns are supported only for ip address entries (i.e. not for subnet ranges).
repeated string allowed_ips = 4 [(.google.api.field_behavior) = OPTIONAL];
- Specified by:
getAllowedIpsBytes
in interfaceCertificateAuthority.CertificateAuthorityPolicy.AllowedSubjectAltNamesOrBuilder
- Parameters:
index
- The index of the value to return.- Returns:
- The bytes of the allowedIps at the given index.
-
setAllowedIps
public CertificateAuthority.CertificateAuthorityPolicy.AllowedSubjectAltNames.Builder setAllowedIps(int index, String value)
Optional. Contains valid 32-bit IPv4 addresses and subnet ranges or RFC 4291 IPv6 addresses and subnet ranges. Subnet ranges are specified using the '/' notation (e.g. 10.0.0.0/8, 2001:700:300:1800::/64). Glob patterns are supported only for ip address entries (i.e. not for subnet ranges).
repeated string allowed_ips = 4 [(.google.api.field_behavior) = OPTIONAL];
- Parameters:
index
- The index to set the value at.value
- The allowedIps to set.- Returns:
- This builder for chaining.
-
addAllowedIps
public CertificateAuthority.CertificateAuthorityPolicy.AllowedSubjectAltNames.Builder addAllowedIps(String value)
Optional. Contains valid 32-bit IPv4 addresses and subnet ranges or RFC 4291 IPv6 addresses and subnet ranges. Subnet ranges are specified using the '/' notation (e.g. 10.0.0.0/8, 2001:700:300:1800::/64). Glob patterns are supported only for ip address entries (i.e. not for subnet ranges).
repeated string allowed_ips = 4 [(.google.api.field_behavior) = OPTIONAL];
- Parameters:
value
- The allowedIps to add.- Returns:
- This builder for chaining.
-
addAllAllowedIps
public CertificateAuthority.CertificateAuthorityPolicy.AllowedSubjectAltNames.Builder addAllAllowedIps(Iterable<String> values)
Optional. Contains valid 32-bit IPv4 addresses and subnet ranges or RFC 4291 IPv6 addresses and subnet ranges. Subnet ranges are specified using the '/' notation (e.g. 10.0.0.0/8, 2001:700:300:1800::/64). Glob patterns are supported only for ip address entries (i.e. not for subnet ranges).
repeated string allowed_ips = 4 [(.google.api.field_behavior) = OPTIONAL];
- Parameters:
values
- The allowedIps to add.- Returns:
- This builder for chaining.
-
clearAllowedIps
public CertificateAuthority.CertificateAuthorityPolicy.AllowedSubjectAltNames.Builder clearAllowedIps()
Optional. Contains valid 32-bit IPv4 addresses and subnet ranges or RFC 4291 IPv6 addresses and subnet ranges. Subnet ranges are specified using the '/' notation (e.g. 10.0.0.0/8, 2001:700:300:1800::/64). Glob patterns are supported only for ip address entries (i.e. not for subnet ranges).
repeated string allowed_ips = 4 [(.google.api.field_behavior) = OPTIONAL];
- Returns:
- This builder for chaining.
-
addAllowedIpsBytes
public CertificateAuthority.CertificateAuthorityPolicy.AllowedSubjectAltNames.Builder addAllowedIpsBytes(com.google.protobuf.ByteString value)
Optional. Contains valid 32-bit IPv4 addresses and subnet ranges or RFC 4291 IPv6 addresses and subnet ranges. Subnet ranges are specified using the '/' notation (e.g. 10.0.0.0/8, 2001:700:300:1800::/64). Glob patterns are supported only for ip address entries (i.e. not for subnet ranges).
repeated string allowed_ips = 4 [(.google.api.field_behavior) = OPTIONAL];
- Parameters:
value
- The bytes of the allowedIps to add.- Returns:
- This builder for chaining.
-
getAllowGlobbingDnsWildcards
public boolean getAllowGlobbingDnsWildcards()
Optional. Specifies if glob patterns used for [allowed_dns_names][google.cloud.security.privateca.v1beta1.CertificateAuthority.CertificateAuthorityPolicy.AllowedSubjectAltNames.allowed_dns_names] allows wildcard certificates.
bool allow_globbing_dns_wildcards = 5 [(.google.api.field_behavior) = OPTIONAL];
- Specified by:
getAllowGlobbingDnsWildcards
in interfaceCertificateAuthority.CertificateAuthorityPolicy.AllowedSubjectAltNamesOrBuilder
- Returns:
- The allowGlobbingDnsWildcards.
-
setAllowGlobbingDnsWildcards
public CertificateAuthority.CertificateAuthorityPolicy.AllowedSubjectAltNames.Builder setAllowGlobbingDnsWildcards(boolean value)
Optional. Specifies if glob patterns used for [allowed_dns_names][google.cloud.security.privateca.v1beta1.CertificateAuthority.CertificateAuthorityPolicy.AllowedSubjectAltNames.allowed_dns_names] allows wildcard certificates.
bool allow_globbing_dns_wildcards = 5 [(.google.api.field_behavior) = OPTIONAL];
- Parameters:
value
- The allowGlobbingDnsWildcards to set.- Returns:
- This builder for chaining.
-
clearAllowGlobbingDnsWildcards
public CertificateAuthority.CertificateAuthorityPolicy.AllowedSubjectAltNames.Builder clearAllowGlobbingDnsWildcards()
Optional. Specifies if glob patterns used for [allowed_dns_names][google.cloud.security.privateca.v1beta1.CertificateAuthority.CertificateAuthorityPolicy.AllowedSubjectAltNames.allowed_dns_names] allows wildcard certificates.
bool allow_globbing_dns_wildcards = 5 [(.google.api.field_behavior) = OPTIONAL];
- Returns:
- This builder for chaining.
-
getAllowCustomSans
public boolean getAllowCustomSans()
Optional. Specifies if to allow custom X509Extension values.
bool allow_custom_sans = 6 [(.google.api.field_behavior) = OPTIONAL];
- Specified by:
getAllowCustomSans
in interfaceCertificateAuthority.CertificateAuthorityPolicy.AllowedSubjectAltNamesOrBuilder
- Returns:
- The allowCustomSans.
-
setAllowCustomSans
public CertificateAuthority.CertificateAuthorityPolicy.AllowedSubjectAltNames.Builder setAllowCustomSans(boolean value)
Optional. Specifies if to allow custom X509Extension values.
bool allow_custom_sans = 6 [(.google.api.field_behavior) = OPTIONAL];
- Parameters:
value
- The allowCustomSans to set.- Returns:
- This builder for chaining.
-
clearAllowCustomSans
public CertificateAuthority.CertificateAuthorityPolicy.AllowedSubjectAltNames.Builder clearAllowCustomSans()
Optional. Specifies if to allow custom X509Extension values.
bool allow_custom_sans = 6 [(.google.api.field_behavior) = OPTIONAL];
- Returns:
- This builder for chaining.
-
setUnknownFields
public final CertificateAuthority.CertificateAuthorityPolicy.AllowedSubjectAltNames.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
setUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<CertificateAuthority.CertificateAuthorityPolicy.AllowedSubjectAltNames.Builder>
-
mergeUnknownFields
public final CertificateAuthority.CertificateAuthorityPolicy.AllowedSubjectAltNames.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<CertificateAuthority.CertificateAuthorityPolicy.AllowedSubjectAltNames.Builder>
-
-