- 2.50.0 (latest)
- 2.49.0
- 2.48.0
- 2.47.0
- 2.46.0
- 2.45.0
- 2.44.0
- 2.43.0
- 2.42.0
- 2.41.0
- 2.39.0
- 2.38.0
- 2.37.0
- 2.36.0
- 2.35.0
- 2.34.0
- 2.33.0
- 2.32.0
- 2.31.0
- 2.30.0
- 2.29.0
- 2.26.0
- 2.25.0
- 2.24.0
- 2.23.0
- 2.22.0
- 2.21.0
- 2.20.0
- 2.19.0
- 2.18.0
- 2.17.0
- 2.16.0
- 2.15.0
- 2.14.0
- 2.13.0
- 2.11.0
- 2.10.0
- 2.9.0
- 2.8.0
- 2.7.0
- 2.6.0
- 2.5.4
- 2.4.0
- 2.3.0
- 2.2.5
public static final class CertificateExtensionConstraints.Builder extends GeneratedMessageV3.Builder<CertificateExtensionConstraints.Builder> implements CertificateExtensionConstraintsOrBuilder
Describes a set of X.509 extensions that may be part of some certificate issuance controls.
Protobuf type google.cloud.security.privateca.v1.CertificateExtensionConstraints
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > CertificateExtensionConstraints.BuilderImplements
CertificateExtensionConstraintsOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Type | Description |
Descriptor |
Methods
addAdditionalExtensions(ObjectId value)
public CertificateExtensionConstraints.Builder addAdditionalExtensions(ObjectId value)
Optional. A set of ObjectIds identifying custom X.509 extensions. Will be combined with known_extensions to determine the full set of X.509 extensions.
repeated .google.cloud.security.privateca.v1.ObjectId additional_extensions = 2 [(.google.api.field_behavior) = OPTIONAL];
Name | Description |
value | ObjectId |
Type | Description |
CertificateExtensionConstraints.Builder |
addAdditionalExtensions(ObjectId.Builder builderForValue)
public CertificateExtensionConstraints.Builder addAdditionalExtensions(ObjectId.Builder builderForValue)
Optional. A set of ObjectIds identifying custom X.509 extensions. Will be combined with known_extensions to determine the full set of X.509 extensions.
repeated .google.cloud.security.privateca.v1.ObjectId additional_extensions = 2 [(.google.api.field_behavior) = OPTIONAL];
Name | Description |
builderForValue | ObjectId.Builder |
Type | Description |
CertificateExtensionConstraints.Builder |
addAdditionalExtensions(int index, ObjectId value)
public CertificateExtensionConstraints.Builder addAdditionalExtensions(int index, ObjectId value)
Optional. A set of ObjectIds identifying custom X.509 extensions. Will be combined with known_extensions to determine the full set of X.509 extensions.
repeated .google.cloud.security.privateca.v1.ObjectId additional_extensions = 2 [(.google.api.field_behavior) = OPTIONAL];
Name | Description |
index | int |
value | ObjectId |
Type | Description |
CertificateExtensionConstraints.Builder |
addAdditionalExtensions(int index, ObjectId.Builder builderForValue)
public CertificateExtensionConstraints.Builder addAdditionalExtensions(int index, ObjectId.Builder builderForValue)
Optional. A set of ObjectIds identifying custom X.509 extensions. Will be combined with known_extensions to determine the full set of X.509 extensions.
repeated .google.cloud.security.privateca.v1.ObjectId additional_extensions = 2 [(.google.api.field_behavior) = OPTIONAL];
Name | Description |
index | int |
builderForValue | ObjectId.Builder |
Type | Description |
CertificateExtensionConstraints.Builder |
addAdditionalExtensionsBuilder()
public ObjectId.Builder addAdditionalExtensionsBuilder()
Optional. A set of ObjectIds identifying custom X.509 extensions. Will be combined with known_extensions to determine the full set of X.509 extensions.
repeated .google.cloud.security.privateca.v1.ObjectId additional_extensions = 2 [(.google.api.field_behavior) = OPTIONAL];
Type | Description |
ObjectId.Builder |
addAdditionalExtensionsBuilder(int index)
public ObjectId.Builder addAdditionalExtensionsBuilder(int index)
Optional. A set of ObjectIds identifying custom X.509 extensions. Will be combined with known_extensions to determine the full set of X.509 extensions.
repeated .google.cloud.security.privateca.v1.ObjectId additional_extensions = 2 [(.google.api.field_behavior) = OPTIONAL];
Name | Description |
index | int |
Type | Description |
ObjectId.Builder |
addAllAdditionalExtensions(Iterable<? extends ObjectId> values)
public CertificateExtensionConstraints.Builder addAllAdditionalExtensions(Iterable<? extends ObjectId> values)
Optional. A set of ObjectIds identifying custom X.509 extensions. Will be combined with known_extensions to determine the full set of X.509 extensions.
repeated .google.cloud.security.privateca.v1.ObjectId additional_extensions = 2 [(.google.api.field_behavior) = OPTIONAL];
Name | Description |
values | Iterable<? extends com.google.cloud.security.privateca.v1.ObjectId> |
Type | Description |
CertificateExtensionConstraints.Builder |
addAllKnownExtensions(Iterable<? extends CertificateExtensionConstraints.KnownCertificateExtension> values)
public CertificateExtensionConstraints.Builder addAllKnownExtensions(Iterable<? extends CertificateExtensionConstraints.KnownCertificateExtension> values)
Optional. A set of named X.509 extensions. Will be combined with additional_extensions to determine the full set of X.509 extensions.
repeated .google.cloud.security.privateca.v1.CertificateExtensionConstraints.KnownCertificateExtension known_extensions = 1 [(.google.api.field_behavior) = OPTIONAL];
Name | Description |
values | Iterable<? extends com.google.cloud.security.privateca.v1.CertificateExtensionConstraints.KnownCertificateExtension> The knownExtensions to add. |
Type | Description |
CertificateExtensionConstraints.Builder | This builder for chaining. |
addAllKnownExtensionsValue(Iterable<Integer> values)
public CertificateExtensionConstraints.Builder addAllKnownExtensionsValue(Iterable<Integer> values)
Optional. A set of named X.509 extensions. Will be combined with additional_extensions to determine the full set of X.509 extensions.
repeated .google.cloud.security.privateca.v1.CertificateExtensionConstraints.KnownCertificateExtension known_extensions = 1 [(.google.api.field_behavior) = OPTIONAL];
Name | Description |
values | Iterable<Integer> The enum numeric values on the wire for knownExtensions to add. |
Type | Description |
CertificateExtensionConstraints.Builder | This builder for chaining. |
addKnownExtensions(CertificateExtensionConstraints.KnownCertificateExtension value)
public CertificateExtensionConstraints.Builder addKnownExtensions(CertificateExtensionConstraints.KnownCertificateExtension value)
Optional. A set of named X.509 extensions. Will be combined with additional_extensions to determine the full set of X.509 extensions.
repeated .google.cloud.security.privateca.v1.CertificateExtensionConstraints.KnownCertificateExtension known_extensions = 1 [(.google.api.field_behavior) = OPTIONAL];
Name | Description |
value | CertificateExtensionConstraints.KnownCertificateExtension The knownExtensions to add. |
Type | Description |
CertificateExtensionConstraints.Builder | This builder for chaining. |
addKnownExtensionsValue(int value)
public CertificateExtensionConstraints.Builder addKnownExtensionsValue(int value)
Optional. A set of named X.509 extensions. Will be combined with additional_extensions to determine the full set of X.509 extensions.
repeated .google.cloud.security.privateca.v1.CertificateExtensionConstraints.KnownCertificateExtension known_extensions = 1 [(.google.api.field_behavior) = OPTIONAL];
Name | Description |
value | int The enum numeric value on the wire for knownExtensions to add. |
Type | Description |
CertificateExtensionConstraints.Builder | This builder for chaining. |
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public CertificateExtensionConstraints.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Name | Description |
field | FieldDescriptor |
value | Object |
Type | Description |
CertificateExtensionConstraints.Builder |
build()
public CertificateExtensionConstraints build()
Type | Description |
CertificateExtensionConstraints |
buildPartial()
public CertificateExtensionConstraints buildPartial()
Type | Description |
CertificateExtensionConstraints |
clear()
public CertificateExtensionConstraints.Builder clear()
Type | Description |
CertificateExtensionConstraints.Builder |
clearAdditionalExtensions()
public CertificateExtensionConstraints.Builder clearAdditionalExtensions()
Optional. A set of ObjectIds identifying custom X.509 extensions. Will be combined with known_extensions to determine the full set of X.509 extensions.
repeated .google.cloud.security.privateca.v1.ObjectId additional_extensions = 2 [(.google.api.field_behavior) = OPTIONAL];
Type | Description |
CertificateExtensionConstraints.Builder |
clearField(Descriptors.FieldDescriptor field)
public CertificateExtensionConstraints.Builder clearField(Descriptors.FieldDescriptor field)
Name | Description |
field | FieldDescriptor |
Type | Description |
CertificateExtensionConstraints.Builder |
clearKnownExtensions()
public CertificateExtensionConstraints.Builder clearKnownExtensions()
Optional. A set of named X.509 extensions. Will be combined with additional_extensions to determine the full set of X.509 extensions.
repeated .google.cloud.security.privateca.v1.CertificateExtensionConstraints.KnownCertificateExtension known_extensions = 1 [(.google.api.field_behavior) = OPTIONAL];
Type | Description |
CertificateExtensionConstraints.Builder | This builder for chaining. |
clearOneof(Descriptors.OneofDescriptor oneof)
public CertificateExtensionConstraints.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Name | Description |
oneof | OneofDescriptor |
Type | Description |
CertificateExtensionConstraints.Builder |
clone()
public CertificateExtensionConstraints.Builder clone()
Type | Description |
CertificateExtensionConstraints.Builder |
getAdditionalExtensions(int index)
public ObjectId getAdditionalExtensions(int index)
Optional. A set of ObjectIds identifying custom X.509 extensions. Will be combined with known_extensions to determine the full set of X.509 extensions.
repeated .google.cloud.security.privateca.v1.ObjectId additional_extensions = 2 [(.google.api.field_behavior) = OPTIONAL];
Name | Description |
index | int |
Type | Description |
ObjectId |
getAdditionalExtensionsBuilder(int index)
public ObjectId.Builder getAdditionalExtensionsBuilder(int index)
Optional. A set of ObjectIds identifying custom X.509 extensions. Will be combined with known_extensions to determine the full set of X.509 extensions.
repeated .google.cloud.security.privateca.v1.ObjectId additional_extensions = 2 [(.google.api.field_behavior) = OPTIONAL];
Name | Description |
index | int |
Type | Description |
ObjectId.Builder |
getAdditionalExtensionsBuilderList()
public List<ObjectId.Builder> getAdditionalExtensionsBuilderList()
Optional. A set of ObjectIds identifying custom X.509 extensions. Will be combined with known_extensions to determine the full set of X.509 extensions.
repeated .google.cloud.security.privateca.v1.ObjectId additional_extensions = 2 [(.google.api.field_behavior) = OPTIONAL];
Type | Description |
List<Builder> |
getAdditionalExtensionsCount()
public int getAdditionalExtensionsCount()
Optional. A set of ObjectIds identifying custom X.509 extensions. Will be combined with known_extensions to determine the full set of X.509 extensions.
repeated .google.cloud.security.privateca.v1.ObjectId additional_extensions = 2 [(.google.api.field_behavior) = OPTIONAL];
Type | Description |
int |
getAdditionalExtensionsList()
public List<ObjectId> getAdditionalExtensionsList()
Optional. A set of ObjectIds identifying custom X.509 extensions. Will be combined with known_extensions to determine the full set of X.509 extensions.
repeated .google.cloud.security.privateca.v1.ObjectId additional_extensions = 2 [(.google.api.field_behavior) = OPTIONAL];
Type | Description |
List<ObjectId> |
getAdditionalExtensionsOrBuilder(int index)
public ObjectIdOrBuilder getAdditionalExtensionsOrBuilder(int index)
Optional. A set of ObjectIds identifying custom X.509 extensions. Will be combined with known_extensions to determine the full set of X.509 extensions.
repeated .google.cloud.security.privateca.v1.ObjectId additional_extensions = 2 [(.google.api.field_behavior) = OPTIONAL];
Name | Description |
index | int |
Type | Description |
ObjectIdOrBuilder |
getAdditionalExtensionsOrBuilderList()
public List<? extends ObjectIdOrBuilder> getAdditionalExtensionsOrBuilderList()
Optional. A set of ObjectIds identifying custom X.509 extensions. Will be combined with known_extensions to determine the full set of X.509 extensions.
repeated .google.cloud.security.privateca.v1.ObjectId additional_extensions = 2 [(.google.api.field_behavior) = OPTIONAL];
Type | Description |
List<? extends com.google.cloud.security.privateca.v1.ObjectIdOrBuilder> |
getDefaultInstanceForType()
public CertificateExtensionConstraints getDefaultInstanceForType()
Type | Description |
CertificateExtensionConstraints |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Type | Description |
Descriptor |
getKnownExtensions(int index)
public CertificateExtensionConstraints.KnownCertificateExtension getKnownExtensions(int index)
Optional. A set of named X.509 extensions. Will be combined with additional_extensions to determine the full set of X.509 extensions.
repeated .google.cloud.security.privateca.v1.CertificateExtensionConstraints.KnownCertificateExtension known_extensions = 1 [(.google.api.field_behavior) = OPTIONAL];
Name | Description |
index | int The index of the element to return. |
Type | Description |
CertificateExtensionConstraints.KnownCertificateExtension | The knownExtensions at the given index. |
getKnownExtensionsCount()
public int getKnownExtensionsCount()
Optional. A set of named X.509 extensions. Will be combined with additional_extensions to determine the full set of X.509 extensions.
repeated .google.cloud.security.privateca.v1.CertificateExtensionConstraints.KnownCertificateExtension known_extensions = 1 [(.google.api.field_behavior) = OPTIONAL];
Type | Description |
int | The count of knownExtensions. |
getKnownExtensionsList()
public List<CertificateExtensionConstraints.KnownCertificateExtension> getKnownExtensionsList()
Optional. A set of named X.509 extensions. Will be combined with additional_extensions to determine the full set of X.509 extensions.
repeated .google.cloud.security.privateca.v1.CertificateExtensionConstraints.KnownCertificateExtension known_extensions = 1 [(.google.api.field_behavior) = OPTIONAL];
Type | Description |
List<KnownCertificateExtension> | A list containing the knownExtensions. |
getKnownExtensionsValue(int index)
public int getKnownExtensionsValue(int index)
Optional. A set of named X.509 extensions. Will be combined with additional_extensions to determine the full set of X.509 extensions.
repeated .google.cloud.security.privateca.v1.CertificateExtensionConstraints.KnownCertificateExtension known_extensions = 1 [(.google.api.field_behavior) = OPTIONAL];
Name | Description |
index | int The index of the value to return. |
Type | Description |
int | The enum numeric value on the wire of knownExtensions at the given index. |
getKnownExtensionsValueList()
public List<Integer> getKnownExtensionsValueList()
Optional. A set of named X.509 extensions. Will be combined with additional_extensions to determine the full set of X.509 extensions.
repeated .google.cloud.security.privateca.v1.CertificateExtensionConstraints.KnownCertificateExtension known_extensions = 1 [(.google.api.field_behavior) = OPTIONAL];
Type | Description |
List<Integer> | A list containing the enum numeric values on the wire for knownExtensions. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
Type | Description |
boolean |
mergeFrom(CertificateExtensionConstraints other)
public CertificateExtensionConstraints.Builder mergeFrom(CertificateExtensionConstraints other)
Name | Description |
other | CertificateExtensionConstraints |
Type | Description |
CertificateExtensionConstraints.Builder |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public CertificateExtensionConstraints.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Name | Description |
input | CodedInputStream |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
CertificateExtensionConstraints.Builder |
Type | Description |
IOException |
mergeFrom(Message other)
public CertificateExtensionConstraints.Builder mergeFrom(Message other)
Name | Description |
other | Message |
Type | Description |
CertificateExtensionConstraints.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final CertificateExtensionConstraints.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Name | Description |
unknownFields | UnknownFieldSet |
Type | Description |
CertificateExtensionConstraints.Builder |
removeAdditionalExtensions(int index)
public CertificateExtensionConstraints.Builder removeAdditionalExtensions(int index)
Optional. A set of ObjectIds identifying custom X.509 extensions. Will be combined with known_extensions to determine the full set of X.509 extensions.
repeated .google.cloud.security.privateca.v1.ObjectId additional_extensions = 2 [(.google.api.field_behavior) = OPTIONAL];
Name | Description |
index | int |
Type | Description |
CertificateExtensionConstraints.Builder |
setAdditionalExtensions(int index, ObjectId value)
public CertificateExtensionConstraints.Builder setAdditionalExtensions(int index, ObjectId value)
Optional. A set of ObjectIds identifying custom X.509 extensions. Will be combined with known_extensions to determine the full set of X.509 extensions.
repeated .google.cloud.security.privateca.v1.ObjectId additional_extensions = 2 [(.google.api.field_behavior) = OPTIONAL];
Name | Description |
index | int |
value | ObjectId |
Type | Description |
CertificateExtensionConstraints.Builder |
setAdditionalExtensions(int index, ObjectId.Builder builderForValue)
public CertificateExtensionConstraints.Builder setAdditionalExtensions(int index, ObjectId.Builder builderForValue)
Optional. A set of ObjectIds identifying custom X.509 extensions. Will be combined with known_extensions to determine the full set of X.509 extensions.
repeated .google.cloud.security.privateca.v1.ObjectId additional_extensions = 2 [(.google.api.field_behavior) = OPTIONAL];
Name | Description |
index | int |
builderForValue | ObjectId.Builder |
Type | Description |
CertificateExtensionConstraints.Builder |
setField(Descriptors.FieldDescriptor field, Object value)
public CertificateExtensionConstraints.Builder setField(Descriptors.FieldDescriptor field, Object value)
Name | Description |
field | FieldDescriptor |
value | Object |
Type | Description |
CertificateExtensionConstraints.Builder |
setKnownExtensions(int index, CertificateExtensionConstraints.KnownCertificateExtension value)
public CertificateExtensionConstraints.Builder setKnownExtensions(int index, CertificateExtensionConstraints.KnownCertificateExtension value)
Optional. A set of named X.509 extensions. Will be combined with additional_extensions to determine the full set of X.509 extensions.
repeated .google.cloud.security.privateca.v1.CertificateExtensionConstraints.KnownCertificateExtension known_extensions = 1 [(.google.api.field_behavior) = OPTIONAL];
Name | Description |
index | int The index to set the value at. |
value | CertificateExtensionConstraints.KnownCertificateExtension The knownExtensions to set. |
Type | Description |
CertificateExtensionConstraints.Builder | This builder for chaining. |
setKnownExtensionsValue(int index, int value)
public CertificateExtensionConstraints.Builder setKnownExtensionsValue(int index, int value)
Optional. A set of named X.509 extensions. Will be combined with additional_extensions to determine the full set of X.509 extensions.
repeated .google.cloud.security.privateca.v1.CertificateExtensionConstraints.KnownCertificateExtension known_extensions = 1 [(.google.api.field_behavior) = OPTIONAL];
Name | Description |
index | int The index to set the value at. |
value | int The enum numeric value on the wire for knownExtensions to set. |
Type | Description |
CertificateExtensionConstraints.Builder | This builder for chaining. |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public CertificateExtensionConstraints.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Name | Description |
field | FieldDescriptor |
index | int |
value | Object |
Type | Description |
CertificateExtensionConstraints.Builder |
setUnknownFields(UnknownFieldSet unknownFields)
public final CertificateExtensionConstraints.Builder setUnknownFields(UnknownFieldSet unknownFields)
Name | Description |
unknownFields | UnknownFieldSet |
Type | Description |
CertificateExtensionConstraints.Builder |