public static final class CaPool.IssuancePolicy.AllowedKeyType.Builder extends GeneratedMessageV3.Builder<CaPool.IssuancePolicy.AllowedKeyType.Builder> implements CaPool.IssuancePolicy.AllowedKeyTypeOrBuilder
Describes a "type" of key that may be used in a Certificate issued
from a CaPool.
Note that a single AllowedKeyType may refer to either a
fully-qualified key algorithm, such as RSA 4096, or a family of key
algorithms, such as any RSA key.
Protobuf type
google.cloud.security.privateca.v1.CaPool.IssuancePolicy.AllowedKeyType
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
Static Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public CaPool.IssuancePolicy.AllowedKeyType.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
build()
public CaPool.IssuancePolicy.AllowedKeyType build()
Returns
buildPartial()
public CaPool.IssuancePolicy.AllowedKeyType buildPartial()
Returns
clear()
public CaPool.IssuancePolicy.AllowedKeyType.Builder clear()
Returns
Overrides
clearEllipticCurve()
public CaPool.IssuancePolicy.AllowedKeyType.Builder clearEllipticCurve()
Represents an allowed Elliptic Curve key type.
.google.cloud.security.privateca.v1.CaPool.IssuancePolicy.AllowedKeyType.EcKeyType elliptic_curve = 2;
Returns
clearField(Descriptors.FieldDescriptor field)
public CaPool.IssuancePolicy.AllowedKeyType.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Returns
Overrides
clearKeyType()
public CaPool.IssuancePolicy.AllowedKeyType.Builder clearKeyType()
Returns
clearOneof(Descriptors.OneofDescriptor oneof)
public CaPool.IssuancePolicy.AllowedKeyType.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Returns
Overrides
clearRsa()
public CaPool.IssuancePolicy.AllowedKeyType.Builder clearRsa()
Represents an allowed RSA key type.
.google.cloud.security.privateca.v1.CaPool.IssuancePolicy.AllowedKeyType.RsaKeyType rsa = 1;
Returns
clone()
public CaPool.IssuancePolicy.AllowedKeyType.Builder clone()
Returns
Overrides
getDefaultInstanceForType()
public CaPool.IssuancePolicy.AllowedKeyType getDefaultInstanceForType()
Returns
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns
Overrides
getEllipticCurve()
public CaPool.IssuancePolicy.AllowedKeyType.EcKeyType getEllipticCurve()
Represents an allowed Elliptic Curve key type.
.google.cloud.security.privateca.v1.CaPool.IssuancePolicy.AllowedKeyType.EcKeyType elliptic_curve = 2;
Returns
getEllipticCurveBuilder()
public CaPool.IssuancePolicy.AllowedKeyType.EcKeyType.Builder getEllipticCurveBuilder()
Represents an allowed Elliptic Curve key type.
.google.cloud.security.privateca.v1.CaPool.IssuancePolicy.AllowedKeyType.EcKeyType elliptic_curve = 2;
Returns
getEllipticCurveOrBuilder()
public CaPool.IssuancePolicy.AllowedKeyType.EcKeyTypeOrBuilder getEllipticCurveOrBuilder()
Represents an allowed Elliptic Curve key type.
.google.cloud.security.privateca.v1.CaPool.IssuancePolicy.AllowedKeyType.EcKeyType elliptic_curve = 2;
Returns
getKeyTypeCase()
public CaPool.IssuancePolicy.AllowedKeyType.KeyTypeCase getKeyTypeCase()
Returns
getRsa()
public CaPool.IssuancePolicy.AllowedKeyType.RsaKeyType getRsa()
Represents an allowed RSA key type.
.google.cloud.security.privateca.v1.CaPool.IssuancePolicy.AllowedKeyType.RsaKeyType rsa = 1;
Returns
getRsaBuilder()
public CaPool.IssuancePolicy.AllowedKeyType.RsaKeyType.Builder getRsaBuilder()
Represents an allowed RSA key type.
.google.cloud.security.privateca.v1.CaPool.IssuancePolicy.AllowedKeyType.RsaKeyType rsa = 1;
Returns
getRsaOrBuilder()
public CaPool.IssuancePolicy.AllowedKeyType.RsaKeyTypeOrBuilder getRsaOrBuilder()
Represents an allowed RSA key type.
.google.cloud.security.privateca.v1.CaPool.IssuancePolicy.AllowedKeyType.RsaKeyType rsa = 1;
Returns
hasEllipticCurve()
public boolean hasEllipticCurve()
Represents an allowed Elliptic Curve key type.
.google.cloud.security.privateca.v1.CaPool.IssuancePolicy.AllowedKeyType.EcKeyType elliptic_curve = 2;
Returns
Type | Description |
boolean | Whether the ellipticCurve field is set.
|
hasRsa()
Represents an allowed RSA key type.
.google.cloud.security.privateca.v1.CaPool.IssuancePolicy.AllowedKeyType.RsaKeyType rsa = 1;
Returns
Type | Description |
boolean | Whether the rsa field is set.
|
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
mergeEllipticCurve(CaPool.IssuancePolicy.AllowedKeyType.EcKeyType value)
public CaPool.IssuancePolicy.AllowedKeyType.Builder mergeEllipticCurve(CaPool.IssuancePolicy.AllowedKeyType.EcKeyType value)
Represents an allowed Elliptic Curve key type.
.google.cloud.security.privateca.v1.CaPool.IssuancePolicy.AllowedKeyType.EcKeyType elliptic_curve = 2;
Parameter
Returns
mergeFrom(CaPool.IssuancePolicy.AllowedKeyType other)
public CaPool.IssuancePolicy.AllowedKeyType.Builder mergeFrom(CaPool.IssuancePolicy.AllowedKeyType other)
Parameter
Returns
public CaPool.IssuancePolicy.AllowedKeyType.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Overrides
Exceptions
mergeFrom(Message other)
public CaPool.IssuancePolicy.AllowedKeyType.Builder mergeFrom(Message other)
Parameter
Returns
Overrides
mergeRsa(CaPool.IssuancePolicy.AllowedKeyType.RsaKeyType value)
public CaPool.IssuancePolicy.AllowedKeyType.Builder mergeRsa(CaPool.IssuancePolicy.AllowedKeyType.RsaKeyType value)
Represents an allowed RSA key type.
.google.cloud.security.privateca.v1.CaPool.IssuancePolicy.AllowedKeyType.RsaKeyType rsa = 1;
Parameter
Returns
mergeUnknownFields(UnknownFieldSet unknownFields)
public final CaPool.IssuancePolicy.AllowedKeyType.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides
setEllipticCurve(CaPool.IssuancePolicy.AllowedKeyType.EcKeyType value)
public CaPool.IssuancePolicy.AllowedKeyType.Builder setEllipticCurve(CaPool.IssuancePolicy.AllowedKeyType.EcKeyType value)
Represents an allowed Elliptic Curve key type.
.google.cloud.security.privateca.v1.CaPool.IssuancePolicy.AllowedKeyType.EcKeyType elliptic_curve = 2;
Parameter
Returns
setEllipticCurve(CaPool.IssuancePolicy.AllowedKeyType.EcKeyType.Builder builderForValue)
public CaPool.IssuancePolicy.AllowedKeyType.Builder setEllipticCurve(CaPool.IssuancePolicy.AllowedKeyType.EcKeyType.Builder builderForValue)
Represents an allowed Elliptic Curve key type.
.google.cloud.security.privateca.v1.CaPool.IssuancePolicy.AllowedKeyType.EcKeyType elliptic_curve = 2;
Parameter
Returns
setField(Descriptors.FieldDescriptor field, Object value)
public CaPool.IssuancePolicy.AllowedKeyType.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public CaPool.IssuancePolicy.AllowedKeyType.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Returns
Overrides
setRsa(CaPool.IssuancePolicy.AllowedKeyType.RsaKeyType value)
public CaPool.IssuancePolicy.AllowedKeyType.Builder setRsa(CaPool.IssuancePolicy.AllowedKeyType.RsaKeyType value)
Represents an allowed RSA key type.
.google.cloud.security.privateca.v1.CaPool.IssuancePolicy.AllowedKeyType.RsaKeyType rsa = 1;
Parameter
Returns
setRsa(CaPool.IssuancePolicy.AllowedKeyType.RsaKeyType.Builder builderForValue)
public CaPool.IssuancePolicy.AllowedKeyType.Builder setRsa(CaPool.IssuancePolicy.AllowedKeyType.RsaKeyType.Builder builderForValue)
Represents an allowed RSA key type.
.google.cloud.security.privateca.v1.CaPool.IssuancePolicy.AllowedKeyType.RsaKeyType rsa = 1;
Parameter
Returns
setUnknownFields(UnknownFieldSet unknownFields)
public final CaPool.IssuancePolicy.AllowedKeyType.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides