- 2.56.0 (latest)
- 2.55.0
- 2.54.0
- 2.53.0
- 2.51.0
- 2.50.0
- 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()
Returns | |
---|---|
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];
Parameter | |
---|---|
Name | Description |
value |
ObjectId |
Returns | |
---|---|
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];
Parameter | |
---|---|
Name | Description |
builderForValue |
ObjectId.Builder |
Returns | |
---|---|
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];
Parameters | |
---|---|
Name | Description |
index |
int |
value |
ObjectId |
Returns | |
---|---|
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];
Parameters | |
---|---|
Name | Description |
index |
int |
builderForValue |
ObjectId.Builder |
Returns | |
---|---|
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];
Returns | |
---|---|
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];
Parameter | |
---|---|
Name | Description |
index |
int |
Returns | |
---|---|
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];
Parameter | |
---|---|
Name | Description |
values |
Iterable<? extends com.google.cloud.security.privateca.v1.ObjectId> |
Returns | |
---|---|
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];
Parameter | |
---|---|
Name | Description |
values |
Iterable<? extends com.google.cloud.security.privateca.v1.CertificateExtensionConstraints.KnownCertificateExtension> The knownExtensions to add. |
Returns | |
---|---|
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];
Parameter | |
---|---|
Name | Description |
values |
Iterable<Integer> The enum numeric values on the wire for knownExtensions to add. |
Returns | |
---|---|
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];
Parameter | |
---|---|
Name | Description |
value |
CertificateExtensionConstraints.KnownCertificateExtension The knownExtensions to add. |
Returns | |
---|---|
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];
Parameter | |
---|---|
Name | Description |
value |
int The enum numeric value on the wire for knownExtensions to add. |
Returns | |
---|---|
Type | Description |
CertificateExtensionConstraints.Builder |
This builder for chaining. |
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public CertificateExtensionConstraints.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
value |
Object |
Returns | |
---|---|
Type | Description |
CertificateExtensionConstraints.Builder |
build()
public CertificateExtensionConstraints build()
Returns | |
---|---|
Type | Description |
CertificateExtensionConstraints |
buildPartial()
public CertificateExtensionConstraints buildPartial()
Returns | |
---|---|
Type | Description |
CertificateExtensionConstraints |
clear()
public CertificateExtensionConstraints.Builder clear()
Returns | |
---|---|
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];
Returns | |
---|---|
Type | Description |
CertificateExtensionConstraints.Builder |
clearField(Descriptors.FieldDescriptor field)
public CertificateExtensionConstraints.Builder clearField(Descriptors.FieldDescriptor field)
Parameter | |
---|---|
Name | Description |
field |
FieldDescriptor |
Returns | |
---|---|
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];
Returns | |
---|---|
Type | Description |
CertificateExtensionConstraints.Builder |
This builder for chaining. |
clearOneof(Descriptors.OneofDescriptor oneof)
public CertificateExtensionConstraints.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter | |
---|---|
Name | Description |
oneof |
OneofDescriptor |
Returns | |
---|---|
Type | Description |
CertificateExtensionConstraints.Builder |
clone()
public CertificateExtensionConstraints.Builder clone()
Returns | |
---|---|
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];
Parameter | |
---|---|
Name | Description |
index |
int |
Returns | |
---|---|
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];
Parameter | |
---|---|
Name | Description |
index |
int |
Returns | |
---|---|
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];
Returns | |
---|---|
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];
Returns | |
---|---|
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];
Returns | |
---|---|
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];
Parameter | |
---|---|
Name | Description |
index |
int |
Returns | |
---|---|
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];
Returns | |
---|---|
Type | Description |
List<? extends com.google.cloud.security.privateca.v1.ObjectIdOrBuilder> |
getDefaultInstanceForType()
public CertificateExtensionConstraints getDefaultInstanceForType()
Returns | |
---|---|
Type | Description |
CertificateExtensionConstraints |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns | |
---|---|
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];
Parameter | |
---|---|
Name | Description |
index |
int The index of the element to return. |
Returns | |
---|---|
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];
Returns | |
---|---|
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];
Returns | |
---|---|
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];
Parameter | |
---|---|
Name | Description |
index |
int The index of the value to return. |
Returns | |
---|---|
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];
Returns | |
---|---|
Type | Description |
List<Integer> |
A list containing the enum numeric values on the wire for knownExtensions. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns | |
---|---|
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
Returns | |
---|---|
Type | Description |
boolean |
mergeFrom(CertificateExtensionConstraints other)
public CertificateExtensionConstraints.Builder mergeFrom(CertificateExtensionConstraints other)
Parameter | |
---|---|
Name | Description |
other |
CertificateExtensionConstraints |
Returns | |
---|---|
Type | Description |
CertificateExtensionConstraints.Builder |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public CertificateExtensionConstraints.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
CertificateExtensionConstraints.Builder |
Exceptions | |
---|---|
Type | Description |
IOException |
mergeFrom(Message other)
public CertificateExtensionConstraints.Builder mergeFrom(Message other)
Parameter | |
---|---|
Name | Description |
other |
Message |
Returns | |
---|---|
Type | Description |
CertificateExtensionConstraints.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final CertificateExtensionConstraints.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields |
UnknownFieldSet |
Returns | |
---|---|
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];
Parameter | |
---|---|
Name | Description |
index |
int |
Returns | |
---|---|
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];
Parameters | |
---|---|
Name | Description |
index |
int |
value |
ObjectId |
Returns | |
---|---|
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];
Parameters | |
---|---|
Name | Description |
index |
int |
builderForValue |
ObjectId.Builder |
Returns | |
---|---|
Type | Description |
CertificateExtensionConstraints.Builder |
setField(Descriptors.FieldDescriptor field, Object value)
public CertificateExtensionConstraints.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
value |
Object |
Returns | |
---|---|
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];
Parameters | |
---|---|
Name | Description |
index |
int The index to set the value at. |
value |
CertificateExtensionConstraints.KnownCertificateExtension The knownExtensions to set. |
Returns | |
---|---|
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];
Parameters | |
---|---|
Name | Description |
index |
int The index to set the value at. |
value |
int The enum numeric value on the wire for knownExtensions to set. |
Returns | |
---|---|
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)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
index |
int |
value |
Object |
Returns | |
---|---|
Type | Description |
CertificateExtensionConstraints.Builder |
setUnknownFields(UnknownFieldSet unknownFields)
public final CertificateExtensionConstraints.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields |
UnknownFieldSet |
Returns | |
---|---|
Type | Description |
CertificateExtensionConstraints.Builder |